Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_form.scss 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .form-label {
  2. font-weight: $headings-font-weight;
  3. }
  4. .form-control {
  5. border-radius : 5px;
  6. height : 45px;
  7. border : 1px solid $border-color;
  8. padding : 0px 22px;
  9. font-size : 14px;
  10. // font-weight : 500;
  11. color : $dark;
  12. // transition : all 0.3s ease-in-out;
  13. background : $white;
  14. span {
  15. margin-top: 0;
  16. }
  17. &::-webkit-input-placeholder {
  18. color: $body-color;
  19. }
  20. &:-ms-input-placeholder {
  21. color: $body-color;
  22. }
  23. &::placeholder {
  24. color: $body-color;
  25. }
  26. &:hover {
  27. box-shadow : none !important;
  28. outline : none;
  29. border-color: $border-color;
  30. color : $dark;
  31. background : $white;
  32. }
  33. &:focus,
  34. &:active,
  35. &.active {
  36. box-shadow : none !important;
  37. outline : none;
  38. border-color: $primary;
  39. color : $dark;
  40. background : $white;
  41. }
  42. }
  43. .form-select {
  44. border-radius : 5px;
  45. height : 45px;
  46. border : 1px solid $border-color;
  47. padding : 0px 22px;
  48. font-size : 14px;
  49. // font-weight : 500;
  50. color : $dark;
  51. // transition : all 0.3s ease-in-out;
  52. &:hover {
  53. box-shadow : none !important;
  54. outline : none;
  55. border-color: $border-color;
  56. color : $dark;
  57. }
  58. &:focus,
  59. &:active,
  60. &.active {
  61. box-shadow : none !important;
  62. outline : none;
  63. border-color: $primary;
  64. color : $dark;
  65. }
  66. }
  67. textarea.form-control {
  68. min-height: 100px;
  69. }
  70. input:-internal-autofill-selected {
  71. background : lighten($body-bg, 2%) !important;
  72. background-image: none !important;
  73. color : -internal-light-dark-color(black, white) !important;
  74. }
  75. .input-group-text {
  76. padding : 11px 15px;
  77. background : $white;
  78. margin-bottom: 0px !important;
  79. color : $dark;
  80. border-color : $border-color;
  81. border-radius: 0px;
  82. }
  83. .input-group-append {
  84. .input-group-text {
  85. border-top-right-radius : 5px;
  86. border-bottom-right-radius: 5px;
  87. }
  88. }
  89. .input-group-prepend {
  90. .input-group-text {
  91. border-top-left-radius : 5px;
  92. border-bottom-left-radius: 5px;
  93. }
  94. }
  95. // Validation Error
  96. label.error {
  97. color : $danger;
  98. position : absolute;
  99. bottom : 0;
  100. margin-bottom: -22px;
  101. font-size : 12px;
  102. font-weight : 400;
  103. }