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.

226 lines
4.0 KiB

  1. $primary-color: #ff7473;
  2. $secondary-color: #ffc952;
  3. $tertiary-color: #47b8e0;
  4. $quaternary-color: #34314c;
  5. $background-color: #fff;
  6. $darker-background-color: #e3dede;
  7. $text-color: #333030;
  8. $lighter-text-color: #8b8687;
  9. @import url(https://fonts.googleapis.com/css?family=Roboto:400,500,400italic);
  10. @import url(https://fonts.googleapis.com/css?family=Roboto+Mono);
  11. @import "font-awesome-sprockets";
  12. @import "font-awesome";
  13. /* http://meyerweb.com/eric/tools/css/reset/
  14. v2.0 | 20110126
  15. License: none (public domain)
  16. */
  17. html, body, div, span, applet, object, iframe,
  18. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  19. a, abbr, acronym, address, big, cite, code,
  20. del, dfn, em, img, ins, kbd, q, s, samp,
  21. small, strike, strong, sub, sup, tt, var,
  22. b, u, i, center,
  23. dl, dt, dd, ol, ul, li,
  24. fieldset, form, label, legend,
  25. table, caption, tbody, tfoot, thead, tr, th, td,
  26. article, aside, canvas, details, embed,
  27. figure, figcaption, footer, header, hgroup,
  28. menu, nav, output, ruby, section, summary,
  29. time, mark, audio, video {
  30. margin: 0;
  31. padding: 0;
  32. border: 0;
  33. font-size: 100%;
  34. font: inherit;
  35. vertical-align: baseline;
  36. }
  37. /* HTML5 display-role reset for older browsers */
  38. article, aside, details, figcaption, figure,
  39. footer, header, hgroup, menu, nav, section {
  40. display: block;
  41. }
  42. body {
  43. line-height: 1;
  44. }
  45. ol, ul {
  46. list-style: none;
  47. }
  48. blockquote, q {
  49. quotes: none;
  50. }
  51. blockquote:before, blockquote:after,
  52. q:before, q:after {
  53. content: '';
  54. content: none;
  55. }
  56. table {
  57. border-collapse: collapse;
  58. border-spacing: 0;
  59. }
  60. body {
  61. font-family: 'Roboto', sans-serif;
  62. background: $background-color image-url('background-photo.jpeg');
  63. background-size: cover;
  64. font-size: 13px;
  65. line-height: 18px;
  66. font-weight: 400;
  67. color: $text-color;
  68. }
  69. .container {
  70. width: 700px;
  71. margin: 0 auto;
  72. margin-top: 40px;
  73. }
  74. .logo-container {
  75. width: 400px;
  76. margin: 100px auto;
  77. cursor: default;
  78. h1 {
  79. display: block;
  80. text-align: center;
  81. color: #fff;
  82. font-size: 48px;
  83. line-height: 48px;
  84. font-weight: 500;
  85. small {
  86. display: block;
  87. font-size: 12px;
  88. font-weight: 400;
  89. font-family: 'Roboto Mono', monospace;
  90. }
  91. }
  92. }
  93. .form-container {
  94. width: 400px;
  95. margin: 0 auto;
  96. .field {
  97. margin-bottom: 15px;
  98. }
  99. input[type=text], input[type=email], input[type=password] {
  100. background: transparent;
  101. border: 0;
  102. border-bottom: 2px solid #9baec8;
  103. padding: 7px 0;
  104. font-size: 16px;
  105. color: #fff;
  106. display: block;
  107. width: 100%;
  108. outline: 0;
  109. &:invalid {
  110. box-shadow: none;
  111. }
  112. &:focus:invalid {
  113. border-bottom-color: #df405a;
  114. }
  115. &:required:valid {
  116. border-bottom-color: #79bd9a;
  117. }
  118. &:active, &:focus {
  119. border-bottom-color: #2b90d9;
  120. }
  121. }
  122. .field_with_error {
  123. input[type=text], input[type=email], input[type=password] {
  124. border-bottom-color: #df405a;
  125. }
  126. }
  127. .actions {
  128. margin-top: 30px;
  129. button {
  130. display: block;
  131. width: 100%;
  132. border: 0;
  133. border-radius: 4px;
  134. background: #2b90d9;
  135. color: #fff;
  136. font-size: 18px;
  137. padding: 10px;
  138. text-transform: uppercase;
  139. cursor: pointer;
  140. font-weight: 500;
  141. outline: 0;
  142. &:hover {
  143. background-color: lighten(#2b90d9, 5%);
  144. }
  145. &:active, &:focus {
  146. position: relative;
  147. top: 1px;
  148. background-color: darken(#2b90d9, 5%);
  149. }
  150. }
  151. }
  152. .form-footer {
  153. margin-top: 30px;
  154. text-align: center;
  155. a {
  156. color: #9baec8;
  157. text-decoration: none;
  158. &:hover {
  159. color: #d9e1e8;
  160. text-decoration: underline;
  161. }
  162. }
  163. }
  164. #error_explanation {
  165. background: #282c37;
  166. color: #9baec8;
  167. border-radius: 4px;
  168. padding: 15px 10px;
  169. margin-bottom: 30px;
  170. box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  171. h2 {
  172. font-weight: 500;
  173. margin-bottom: 5px;
  174. }
  175. li {
  176. margin-left: 15px;
  177. list-style: circle;
  178. }
  179. }
  180. }
  181. .no-list {
  182. list-style: none;
  183. li {
  184. display: inline-block;
  185. margin: 0 5px;
  186. }
  187. }
  188. @import 'home';
  189. @import 'accounts';
  190. @import 'stream_entries';