You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

179 lines
2.8 KiB

  1. code {
  2. font-family: 'Roboto Mono', monospace;
  3. font-weight: 400;
  4. }
  5. .form-container {
  6. max-width: 400px;
  7. padding: 20px;
  8. margin: 0 auto;
  9. }
  10. .simple_form {
  11. .input {
  12. margin-bottom: 15px;
  13. }
  14. .input.file {
  15. padding: 15px 0;
  16. margin-bottom: 0;
  17. label {
  18. font-family: 'Roboto';
  19. font-size: 16px;
  20. color: #fff;
  21. width: 100px;
  22. display: inline-block;
  23. }
  24. input[type=file] {
  25. width: 280px;
  26. }
  27. }
  28. .fields-group {
  29. margin-bottom: 25px;
  30. }
  31. .input.boolean {
  32. margin-bottom: 5px;
  33. label {
  34. font-family: 'Roboto';
  35. font-size: 14px;
  36. color: #9baec8;
  37. }
  38. input[type=checkbox] {
  39. display: inline-block;
  40. margin-bottom: -13px;
  41. }
  42. }
  43. input[type=text], input[type=email], input[type=password], textarea {
  44. background: transparent;
  45. border: 0;
  46. border-bottom: 2px solid #9baec8;
  47. padding: 7px 0;
  48. font-size: 16px;
  49. color: #fff;
  50. display: block;
  51. width: 100%;
  52. outline: 0;
  53. font-family: 'Roboto';
  54. &:invalid {
  55. box-shadow: none;
  56. }
  57. &:focus:invalid {
  58. border-bottom-color: #df405a;
  59. }
  60. &:required:valid {
  61. border-bottom-color: #79bd9a;
  62. }
  63. &:active, &:focus {
  64. border-bottom-color: #2b90d9;
  65. }
  66. }
  67. .input.field_with_errors {
  68. input[type=text], input[type=email], input[type=password] {
  69. border-bottom-color: #df405a;
  70. }
  71. .error {
  72. font-weight: 500;
  73. color: #df405a;
  74. }
  75. }
  76. .actions {
  77. margin-top: 30px;
  78. }
  79. button {
  80. display: block;
  81. width: 100%;
  82. border: 0;
  83. border-radius: 4px;
  84. background: #2b90d9;
  85. color: #fff;
  86. font-size: 18px;
  87. padding: 10px;
  88. text-transform: uppercase;
  89. cursor: pointer;
  90. font-weight: 500;
  91. outline: 0;
  92. margin-bottom: 10px;
  93. &:hover {
  94. background-color: lighten(#2b90d9, 5%);
  95. }
  96. &:active, &:focus {
  97. position: relative;
  98. top: 1px;
  99. background-color: darken(#2b90d9, 5%);
  100. }
  101. &.negative {
  102. background: #df405a;
  103. &:hover {
  104. background-color: lighten(#df405a, 5%);
  105. }
  106. &:active, &:focus {
  107. background-color: darken(#df405a, 5%);
  108. }
  109. }
  110. }
  111. }
  112. .flash-message {
  113. background: #282c37;
  114. color: #9baec8;
  115. border-radius: 4px;
  116. padding: 15px 10px;
  117. margin-bottom: 30px;
  118. box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  119. text-align: center;
  120. strong {
  121. font-weight: 500;
  122. }
  123. }
  124. .form-footer {
  125. margin-top: 30px;
  126. text-align: center;
  127. a {
  128. color: #9baec8;
  129. text-decoration: none;
  130. &:hover {
  131. color: #d9e1e8;
  132. text-decoration: underline;
  133. }
  134. }
  135. }
  136. .oauth-prompt {
  137. margin-bottom: 30px;
  138. text-align: center;
  139. color: #9baec8;
  140. h2 {
  141. font-size: 16px;
  142. margin-bottom: 30px;
  143. }
  144. strong {
  145. color: #d9e1e8;
  146. font-weight: 500;
  147. }
  148. }