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.

357 lines
6.1 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. text-rendering: optimizelegibility;
  62. font-feature-settings: "kern";
  63. &.app-body {
  64. position: fixed;
  65. width: 100%;
  66. height: 100%;
  67. padding: 0;
  68. }
  69. @media screen and (max-width: 360px) {
  70. padding-bottom: 0;
  71. }
  72. }
  73. .app-holder {
  74. display: flex;
  75. width: 100%;
  76. height: 100%;
  77. align-items: center;
  78. justify-content: center;
  79. }
  80. .container {
  81. width: 700px;
  82. margin: 0 auto;
  83. margin-top: 40px;
  84. @media screen and (max-width: 700px) {
  85. width: 100%;
  86. margin: 0;
  87. }
  88. }
  89. .logo-container {
  90. max-width: 400px;
  91. margin: 100px auto;
  92. cursor: default;
  93. @media screen and (max-width: 360px) {
  94. margin: 30px auto;
  95. }
  96. h1 {
  97. display: block;
  98. text-align: center;
  99. color: #fff;
  100. font-size: 48px;
  101. font-weight: 500;
  102. img {
  103. display: block;
  104. margin: 20px auto;
  105. width: 180px;
  106. height: 180px;
  107. }
  108. a {
  109. color: inherit;
  110. text-decoration: none;
  111. outline: 0;
  112. img {
  113. opacity: 0.8;
  114. transition: all 0.8s ease;
  115. }
  116. &:hover {
  117. img {
  118. opacity: 1;
  119. transition-duration: 0.2s;
  120. }
  121. }
  122. }
  123. small {
  124. display: block;
  125. font-size: 12px;
  126. font-weight: 400;
  127. font-family: 'Roboto Mono', monospace;
  128. }
  129. }
  130. }
  131. .form-container {
  132. max-width: 400px;
  133. margin: 0 auto;
  134. padding: 20px;
  135. .field {
  136. margin-bottom: 15px;
  137. }
  138. .file-field {
  139. padding: 15px 0;
  140. label {
  141. font-family: 'Roboto';
  142. font-size: 16px;
  143. color: #fff;
  144. width: 100px;
  145. display: inline-block;
  146. }
  147. input[type=file] {
  148. width: 280px;
  149. }
  150. }
  151. input[type=text], input[type=email], input[type=password], textarea {
  152. background: transparent;
  153. border: 0;
  154. border-bottom: 2px solid #9baec8;
  155. padding: 7px 0;
  156. font-size: 16px;
  157. color: #fff;
  158. display: block;
  159. width: 100%;
  160. outline: 0;
  161. font-family: 'Roboto';
  162. &:invalid {
  163. box-shadow: none;
  164. }
  165. &:focus:invalid {
  166. border-bottom-color: #df405a;
  167. }
  168. &:required:valid {
  169. border-bottom-color: #79bd9a;
  170. }
  171. &:active, &:focus {
  172. border-bottom-color: #2b90d9;
  173. }
  174. }
  175. .field_with_error {
  176. input[type=text], input[type=email], input[type=password] {
  177. border-bottom-color: #df405a;
  178. }
  179. }
  180. .prompt {
  181. font-size: 16px;
  182. color: #9baec8;
  183. text-align: center;
  184. .prompt-highlight {
  185. font-weight: 500;
  186. color: #fff;
  187. }
  188. }
  189. code.copypasteable {
  190. display: block;
  191. font-family: 'Roboto Mono', monospace;
  192. font-weight: 400;
  193. font-size: 12px;
  194. margin-top: 20px;
  195. background: #282c37;
  196. border-radius: 4px;
  197. padding: 2px;
  198. word-wrap: break-word;
  199. }
  200. .actions {
  201. margin-top: 30px;
  202. button {
  203. display: block;
  204. width: 100%;
  205. border: 0;
  206. border-radius: 4px;
  207. background: #2b90d9;
  208. color: #fff;
  209. font-size: 18px;
  210. padding: 10px;
  211. text-transform: uppercase;
  212. cursor: pointer;
  213. font-weight: 500;
  214. outline: 0;
  215. margin-bottom: 10px;
  216. &:hover {
  217. background-color: lighten(#2b90d9, 5%);
  218. }
  219. &:active, &:focus {
  220. position: relative;
  221. top: 1px;
  222. background-color: darken(#2b90d9, 5%);
  223. }
  224. &.negative {
  225. background: #df405a;
  226. &:hover {
  227. background-color: lighten(#df405a, 5%);
  228. }
  229. &:active, &:focus {
  230. background-color: darken(#df405a, 5%);
  231. }
  232. }
  233. }
  234. }
  235. .form-footer {
  236. margin-top: 30px;
  237. text-align: center;
  238. a {
  239. color: #9baec8;
  240. text-decoration: none;
  241. &:hover {
  242. color: #d9e1e8;
  243. text-decoration: underline;
  244. }
  245. }
  246. }
  247. #error_explanation {
  248. background: #282c37;
  249. color: #9baec8;
  250. border-radius: 4px;
  251. padding: 15px 10px;
  252. margin-bottom: 30px;
  253. box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  254. h2 {
  255. font-weight: 500;
  256. margin-bottom: 5px;
  257. }
  258. li {
  259. margin-left: 15px;
  260. list-style: circle;
  261. }
  262. }
  263. }
  264. .no-list {
  265. list-style: none;
  266. li {
  267. display: inline-block;
  268. margin: 0 5px;
  269. }
  270. }
  271. .footer {
  272. text-align: center;
  273. margin-top: 30px;
  274. .domain {
  275. font-size: 12px;
  276. font-weight: 400;
  277. font-family: 'Roboto Mono', monospace;
  278. a {
  279. color: inherit;
  280. text-decoration: none;
  281. }
  282. }
  283. .powered-by {
  284. font-size: 12px;
  285. font-weight: 400;
  286. color: darken(#d9e1e8, 25%);
  287. a {
  288. color: inherit;
  289. text-decoration: underline;
  290. &:hover {
  291. text-decoration: none;
  292. }
  293. }
  294. }
  295. }
  296. @import 'accounts';
  297. @import 'stream_entries';
  298. @import 'components';
  299. @import 'about';