style.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .has-float-label{
  2. display:block;
  3. position:relative;
  4. width:100%;
  5. }
  6. .has-float-label label,.has-float-label>span{
  7. position:absolute;
  8. cursor:text;
  9. font-size:75%;
  10. opacity:1;
  11. -webkit-transition:all .2s;
  12. transition:all .2s;
  13. top:-.5em;
  14. left:.75rem;
  15. z-index:3;
  16. line-height:1;
  17. padding:0 3px;
  18. background:#fff;
  19. font-weight:normal;
  20. }
  21. .has-float-label>span{/*For select2-bootstrap dropdown set top,left margin 0*/
  22. top:0;
  23. left:0;
  24. }
  25. .has-float-label label::after,.has-float-label>span::after{
  26. content:" ";
  27. display:block;
  28. position:absolute;
  29. /*background:#fff;*/
  30. height:2px;
  31. top:50%;
  32. left:-.2em;
  33. right:-.2em;
  34. z-index:-1;
  35. }
  36. .has-float-label .form-control::-webkit-input-placeholder{
  37. opacity:1;
  38. -webkit-transition:all .2s;
  39. transition:all .2s;
  40. }
  41. .has-float-label .form-control::-moz-placeholder{
  42. opacity:1;
  43. transition:all .2s;
  44. }
  45. .has-float-label .form-control:-ms-input-placeholder{
  46. opacity:1;
  47. transition:all .2s;
  48. }
  49. .has-float-label .form-control::placeholder{
  50. opacity:1;
  51. -webkit-transition:all .2s;
  52. transition:a.has-float-labelll .2s;
  53. }
  54. .form-control:placeholder-shown:not(:focus)+*{
  55. font-size:100%;
  56. color: #6c757d;
  57. opacity: 0;
  58. top:.3em;
  59. }
  60. .input-group .has-float-label{
  61. -webkit-box-flex:1;
  62. -webkit-flex-grow:1;
  63. -ms-flex-positive:1;
  64. flex-grow:1;
  65. margin-bottom:0;
  66. display:-webkit-box;
  67. display:-webkit-flex;
  68. display:-ms-flexbox;
  69. display:flex;
  70. -webkit-box-orient:vertical;
  71. -webkit-box-direction:normal;
  72. -webkit-flex-direction:column;
  73. -ms-flex-direction:column;
  74. flex-direction:column;
  75. -webkit-box-pack:center;
  76. -webkit-justify-content:center;
  77. -ms-flex-pack:center;
  78. justify-content:center;
  79. }
  80. /*pass_show*/
  81. .ptxt {
  82. user-select: none;
  83. color:#6c757d;
  84. float: right !important;
  85. font-size: 20px !important;
  86. left: auto !important;
  87. background: transparent !important;
  88. position: absolute;
  89. cursor: pointer !important;
  90. top: 30% !important;
  91. right: 10px;
  92. opacity: 0;
  93. }
  94. .has-float-label:not(:hover) > .ptxt {
  95. opacity: 0;
  96. }
  97. .ptxt:pressed > .form-control {
  98. background-color: #25272a;
  99. box-shadow: none;
  100. color: #fff;
  101. border-color: #4f63e7
  102. }
  103. .errmsg {
  104. color: #E78587;
  105. }
  106. .gradient-custom {
  107. /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  108. background: linear-gradient(140deg, rgba(0, 33, 58, 1), rgba(66, 108, 121, 1))
  109. }
  110. .form-control {
  111. background-color: #25272a !important;
  112. color:#d6d9db;
  113. }
  114. .form-control:focus {
  115. box-shadow: none;
  116. color: #fff;
  117. border-color: #4f63e7;
  118. }
  119. .btn-dark {
  120. background-color: #25272a;
  121. color: #fff;
  122. }
  123. .btn-dark:hover {
  124. background-color: #25272a;
  125. border-color: "pink";
  126. }