_forms.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. #conversejs {
  2. .btn--small {
  3. font-size: 80%;
  4. font-weight: normal;
  5. }
  6. form {
  7. .form-check-label {
  8. margin-top: $form-check-input-margin-y;
  9. }
  10. .form-control {
  11. &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  12. color: $subdued-color;
  13. }
  14. &::-moz-placeholder { /* Firefox 19+ */
  15. color: $subdued-color;
  16. }
  17. &:-ms-input-placeholder { /* IE 10+ */
  18. color: $subdued-color;
  19. }
  20. &:-moz-placeholder { /* Firefox 18- */
  21. color: $subdued-color;
  22. }
  23. &::placeholder {
  24. color: $subdued-color;
  25. }
  26. }
  27. .clear-input {
  28. position: absolute;
  29. right: 0.2em;
  30. cursor: pointer;
  31. font-size: 0.75rem;
  32. }
  33. &#converse-register,
  34. &#converse-login {
  35. legend {
  36. width: 100%;
  37. text-align: center;
  38. margin: 0 auto 0.5em auto;
  39. }
  40. fieldset.buttons {
  41. text-align: center;
  42. }
  43. .login-anon {
  44. height: auto;
  45. white-space: normal;
  46. }
  47. .save-submit {
  48. color: $save-button-color;
  49. }
  50. .form-url {
  51. display: block;
  52. font-weight: normal;
  53. margin: 1em 0;
  54. }
  55. }
  56. &.converse-form {
  57. background: white;
  58. padding: 1.5em;
  59. legend {
  60. color: $text-color;
  61. font-size: 125%;
  62. margin-bottom: 1.5em;
  63. }
  64. select,
  65. input[type=password],
  66. input[type=number],
  67. input[type=text] {
  68. min-width: 50%;
  69. }
  70. input[type=text],
  71. input[type=password],
  72. input[type=number],
  73. input[type=button],
  74. input[type=submit] {
  75. padding: 0.5em;
  76. }
  77. input[type=button],
  78. input[type=submit] {
  79. padding-left: 1em;
  80. padding-right: 1em;
  81. margin: 0.5em 0;
  82. border: none;
  83. }
  84. input.error {
  85. border: 1px solid $error-color;
  86. color: $text-color;
  87. }
  88. .text-muted {
  89. color: $subdued-color !important;
  90. font-size: 85%;
  91. padding-top: 0.5em;
  92. a {
  93. color: lighten($link-color, 10%);
  94. }
  95. &.error {
  96. color: $error-color;
  97. }
  98. }
  99. }
  100. &.converse-form--modal {
  101. padding-bottom: 0;
  102. }
  103. &.converse-centered-form {
  104. text-align: center;
  105. }
  106. }
  107. }