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.

327 lines
5.6 KiB

  1. @import url(https://fonts.googleapis.com/css?family=Roboto:400,500,400italic);
  2. @import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,500);
  3. @import "font-awesome";
  4. /* http://meyerweb.com/eric/tools/css/reset/
  5. v2.0 | 20110126
  6. License: none (public domain)
  7. */
  8. html, body, div, span, applet, object, iframe,
  9. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  10. a, abbr, acronym, address, big, cite, code,
  11. del, dfn, em, img, ins, kbd, q, s, samp,
  12. small, strike, strong, sub, sup, tt, var,
  13. b, u, i, center,
  14. dl, dt, dd, ol, ul, li,
  15. fieldset, form, label, legend,
  16. table, caption, tbody, tfoot, thead, tr, th, td,
  17. article, aside, canvas, details, embed,
  18. figure, figcaption, footer, header, hgroup,
  19. menu, nav, output, ruby, section, summary,
  20. time, mark, audio, video {
  21. margin: 0;
  22. padding: 0;
  23. border: 0;
  24. font-size: 100%;
  25. font: inherit;
  26. vertical-align: baseline;
  27. }
  28. /* HTML5 display-role reset for older browsers */
  29. article, aside, details, figcaption, figure,
  30. footer, header, hgroup, menu, nav, section {
  31. display: block;
  32. }
  33. body {
  34. line-height: 1;
  35. }
  36. ol, ul {
  37. list-style: none;
  38. }
  39. blockquote, q {
  40. quotes: none;
  41. }
  42. blockquote:before, blockquote:after,
  43. q:before, q:after {
  44. content: '';
  45. content: none;
  46. }
  47. table {
  48. border-collapse: collapse;
  49. border-spacing: 0;
  50. }
  51. body {
  52. font-family: 'Roboto', sans-serif;
  53. background: #282c37 image-url('background-photo.jpeg');
  54. background-size: cover;
  55. background-attachment: fixed;
  56. font-size: 13px;
  57. line-height: 18px;
  58. font-weight: 400;
  59. color: #fff;
  60. padding-bottom: 140px;
  61. }
  62. .container {
  63. width: 700px;
  64. margin: 0 auto;
  65. margin-top: 40px;
  66. }
  67. .logo-container {
  68. width: 400px;
  69. margin: 100px auto;
  70. cursor: default;
  71. h1 {
  72. display: block;
  73. text-align: center;
  74. color: #fff;
  75. font-size: 48px;
  76. font-weight: 500;
  77. a {
  78. color: inherit;
  79. text-decoration: none;
  80. outline: 0;
  81. }
  82. small {
  83. display: block;
  84. font-size: 12px;
  85. font-weight: 400;
  86. font-family: 'Roboto Mono', monospace;
  87. }
  88. }
  89. }
  90. .form-container {
  91. width: 400px;
  92. margin: 0 auto;
  93. .field {
  94. margin-bottom: 15px;
  95. }
  96. input[type=text], input[type=email], input[type=password] {
  97. background: transparent;
  98. border: 0;
  99. border-bottom: 2px solid #9baec8;
  100. padding: 7px 0;
  101. font-size: 16px;
  102. color: #fff;
  103. display: block;
  104. width: 100%;
  105. outline: 0;
  106. &:invalid {
  107. box-shadow: none;
  108. }
  109. &:focus:invalid {
  110. border-bottom-color: #df405a;
  111. }
  112. &:required:valid {
  113. border-bottom-color: #79bd9a;
  114. }
  115. &:active, &:focus {
  116. border-bottom-color: #2b90d9;
  117. }
  118. }
  119. .field_with_error {
  120. input[type=text], input[type=email], input[type=password] {
  121. border-bottom-color: #df405a;
  122. }
  123. }
  124. .prompt {
  125. font-size: 16px;
  126. color: #9baec8;
  127. text-align: center;
  128. .prompt-highlight {
  129. font-weight: 500;
  130. color: #fff;
  131. }
  132. }
  133. code.copypasteable {
  134. display: block;
  135. font-family: 'Roboto Mono', monospace;
  136. font-weight: 400;
  137. font-size: 12px;
  138. margin-top: 20px;
  139. background: #282c37;
  140. border-radius: 4px;
  141. padding: 2px;
  142. word-wrap: break-word;
  143. }
  144. .actions {
  145. margin-top: 30px;
  146. button {
  147. display: block;
  148. width: 100%;
  149. border: 0;
  150. border-radius: 4px;
  151. background: #2b90d9;
  152. color: #fff;
  153. font-size: 18px;
  154. padding: 10px;
  155. text-transform: uppercase;
  156. cursor: pointer;
  157. font-weight: 500;
  158. outline: 0;
  159. margin-bottom: 10px;
  160. &:hover {
  161. background-color: lighten(#2b90d9, 5%);
  162. }
  163. &:active, &:focus {
  164. position: relative;
  165. top: 1px;
  166. background-color: darken(#2b90d9, 5%);
  167. }
  168. &.negative {
  169. background: #df405a;
  170. &:hover {
  171. background-color: lighten(#df405a, 5%);
  172. }
  173. &:active, &:focus {
  174. background-color: darken(#df405a, 5%);
  175. }
  176. }
  177. }
  178. }
  179. .form-footer {
  180. margin-top: 30px;
  181. text-align: center;
  182. a {
  183. color: #9baec8;
  184. text-decoration: none;
  185. &:hover {
  186. color: #d9e1e8;
  187. text-decoration: underline;
  188. }
  189. }
  190. }
  191. #error_explanation {
  192. background: #282c37;
  193. color: #9baec8;
  194. border-radius: 4px;
  195. padding: 15px 10px;
  196. margin-bottom: 30px;
  197. box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  198. h2 {
  199. font-weight: 500;
  200. margin-bottom: 5px;
  201. }
  202. li {
  203. margin-left: 15px;
  204. list-style: circle;
  205. }
  206. }
  207. }
  208. .no-list {
  209. list-style: none;
  210. li {
  211. display: inline-block;
  212. margin: 0 5px;
  213. }
  214. }
  215. .footer {
  216. text-align: center;
  217. margin-top: 30px;
  218. .domain {
  219. font-size: 12px;
  220. font-weight: 400;
  221. font-family: 'Roboto Mono', monospace;
  222. }
  223. }
  224. .mastodon {
  225. $head: #282c37;
  226. $tusk: #d9e1e8;
  227. $backdrop: #2b90d9;
  228. $highlight: 18%;
  229. .mastodon-backdrop {
  230. fill: $backdrop;
  231. }
  232. #mastodon-ear {
  233. fill: lighten($head, 5%);
  234. &:hover, &.highlight {
  235. fill: lighten($head, $highlight);
  236. }
  237. }
  238. #mastodon-head-backdrop {
  239. fill: darken($head, 5%);
  240. &:hover, &.highlight {
  241. fill: darken($head, 5%);
  242. }
  243. }
  244. #mastodon-nose, #mastodon-cheek, #mastodon-forehead, #mastodon-backhead {
  245. fill: $head;
  246. &:hover, &.highlight {
  247. fill: lighten($head, $highlight);
  248. }
  249. }
  250. #mastodon-tusk-front {
  251. fill: lighten($tusk, 5%);
  252. }
  253. #mastodon-tusk-back {
  254. fill: $tusk;
  255. &:hover, &.highlight {
  256. fill: lighten($tusk, $highlight);
  257. }
  258. }
  259. .mastodon-shape {
  260. transition: all 0.8s ease;
  261. stroke: transparent;
  262. stroke-width: 0px;
  263. &:hover, &.highlight {
  264. transition-duration: 0.2s;
  265. }
  266. }
  267. }
  268. @import 'home';
  269. @import 'accounts';
  270. @import 'stream_entries';
  271. @import 'dashboard'