|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- @import url(https://fonts.googleapis.com/css?family=Roboto:400,500,400italic);
- @import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,500);
- @import "font-awesome";
-
- /* http://meyerweb.com/eric/tools/css/reset/
- v2.0 | 20110126
- License: none (public domain)
- */
-
- html, body, div, span, applet, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, big, cite, code,
- del, dfn, em, img, ins, kbd, q, s, samp,
- small, strike, strong, sub, sup, tt, var,
- b, u, i, center,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td,
- article, aside, canvas, details, embed,
- figure, figcaption, footer, header, hgroup,
- menu, nav, output, ruby, section, summary,
- time, mark, audio, video {
- margin: 0;
- padding: 0;
- border: 0;
- font-size: 100%;
- font: inherit;
- vertical-align: baseline;
- }
-
- /* HTML5 display-role reset for older browsers */
- article, aside, details, figcaption, figure,
- footer, header, hgroup, menu, nav, section {
- display: block;
- }
-
- body {
- line-height: 1;
- }
-
- ol, ul {
- list-style: none;
- }
-
- blockquote, q {
- quotes: none;
- }
-
- blockquote:before, blockquote:after,
- q:before, q:after {
- content: '';
- content: none;
- }
-
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
-
- body {
- font-family: 'Roboto', sans-serif;
- background: #282c37 image-url('background-photo.jpeg');
- background-size: cover;
- background-attachment: fixed;
- font-size: 13px;
- line-height: 18px;
- font-weight: 400;
- color: #fff;
- padding-bottom: 140px;
- text-rendering: optimizelegibility;
- font-feature-settings: "kern";
-
- &.app-body {
- position: fixed;
- width: 100%;
- height: 100%;
- padding: 0;
- }
- }
-
- .app-holder {
- display: flex;
- width: 100%;
- height: 100%;
- align-items: center;
- justify-content: center;
- }
-
- .container {
- width: 700px;
- margin: 0 auto;
- margin-top: 40px;
- }
-
- .logo-container {
- width: 400px;
- margin: 100px auto;
- cursor: default;
-
- h1 {
- display: block;
- text-align: center;
- color: #fff;
- font-size: 48px;
- font-weight: 500;
-
- a {
- color: inherit;
- text-decoration: none;
- outline: 0;
- }
-
- small {
- display: block;
- font-size: 12px;
- font-weight: 400;
- font-family: 'Roboto Mono', monospace;
- }
- }
- }
-
- .form-container {
- width: 400px;
- margin: 0 auto;
-
- .field {
- margin-bottom: 15px;
- }
-
- input[type=text], input[type=email], input[type=password] {
- background: transparent;
- border: 0;
- border-bottom: 2px solid #9baec8;
- padding: 7px 0;
- font-size: 16px;
- color: #fff;
- display: block;
- width: 100%;
- outline: 0;
-
- &:invalid {
- box-shadow: none;
- }
-
- &:focus:invalid {
- border-bottom-color: #df405a;
- }
-
- &:required:valid {
- border-bottom-color: #79bd9a;
- }
-
- &:active, &:focus {
- border-bottom-color: #2b90d9;
- }
- }
-
- .field_with_error {
- input[type=text], input[type=email], input[type=password] {
- border-bottom-color: #df405a;
- }
- }
-
- .prompt {
- font-size: 16px;
- color: #9baec8;
- text-align: center;
-
- .prompt-highlight {
- font-weight: 500;
- color: #fff;
- }
- }
-
- code.copypasteable {
- display: block;
- font-family: 'Roboto Mono', monospace;
- font-weight: 400;
- font-size: 12px;
- margin-top: 20px;
- background: #282c37;
- border-radius: 4px;
- padding: 2px;
- word-wrap: break-word;
- }
-
- .actions {
- margin-top: 30px;
-
- button {
- display: block;
- width: 100%;
- border: 0;
- border-radius: 4px;
- background: #2b90d9;
- color: #fff;
- font-size: 18px;
- padding: 10px;
- text-transform: uppercase;
- cursor: pointer;
- font-weight: 500;
- outline: 0;
- margin-bottom: 10px;
-
- &:hover {
- background-color: lighten(#2b90d9, 5%);
- }
-
- &:active, &:focus {
- position: relative;
- top: 1px;
- background-color: darken(#2b90d9, 5%);
- }
-
- &.negative {
- background: #df405a;
-
- &:hover {
- background-color: lighten(#df405a, 5%);
- }
-
- &:active, &:focus {
- background-color: darken(#df405a, 5%);
- }
- }
- }
- }
-
- .form-footer {
- margin-top: 30px;
- text-align: center;
-
- a {
- color: #9baec8;
- text-decoration: none;
-
- &:hover {
- color: #d9e1e8;
- text-decoration: underline;
- }
- }
- }
-
- #error_explanation {
- background: #282c37;
- color: #9baec8;
- border-radius: 4px;
- padding: 15px 10px;
- margin-bottom: 30px;
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
-
- h2 {
- font-weight: 500;
- margin-bottom: 5px;
- }
-
- li {
- margin-left: 15px;
- list-style: circle;
- }
- }
- }
-
- .no-list {
- list-style: none;
-
- li {
- display: inline-block;
- margin: 0 5px;
- }
- }
-
- .footer {
- text-align: center;
- margin-top: 30px;
-
- .domain {
- font-size: 12px;
- font-weight: 400;
- font-family: 'Roboto Mono', monospace;
- }
-
- .powered-by {
- font-size: 12px;
- font-weight: 400;
- color: darken(#d9e1e8, 25%);
-
- a {
- color: inherit;
- text-decoration: underline;
-
- &:hover {
- text-decoration: none;
- }
- }
- }
- }
-
- .turbolinks-progress-bar {
- background-color: #2b90d9;
- }
-
- .mastodon {
- $head: #282c37;
- $tusk: #d9e1e8;
- $backdrop: #2b90d9;
- $highlight: 18%;
-
- .mastodon-backdrop {
- fill: $backdrop;
- }
-
- #mastodon-ear {
- fill: lighten($head, 5%);
-
- &:hover, &.highlight {
- fill: lighten($head, $highlight);
- }
- }
-
- #mastodon-head-backdrop {
- fill: darken($head, 5%);
-
- &:hover, &.highlight {
- fill: darken($head, 5%);
- }
- }
-
- #mastodon-nose, #mastodon-cheek, #mastodon-forehead, #mastodon-backhead {
- fill: $head;
-
- &:hover, &.highlight {
- fill: lighten($head, $highlight);
- }
- }
-
- #mastodon-tusk-front {
- fill: lighten($tusk, 5%);
- }
-
- #mastodon-tusk-back {
- fill: $tusk;
-
- &:hover, &.highlight {
- fill: lighten($tusk, $highlight);
- }
- }
-
- .mastodon-shape {
- transition: all 0.8s ease;
- stroke: transparent;
- stroke-width: 0px;
-
- &:hover, &.highlight {
- transition-duration: 0.2s;
- }
- }
- }
-
- @import 'home';
- @import 'accounts';
- @import 'stream_entries';
- @import 'dashboard'
|