2
0

_forms.scss 2.8 KB

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