Akron | d1741ae | 2017-11-29 09:58:53 +0100 | [diff] [blame] | 1 | @import "util"; |
| 2 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 3 | /** |
| 4 | * Optimization for no-js behaviour |
| 5 | */ |
| 6 | body.no-js { |
| 7 | |
| 8 | // Aside in noscript mode |
| 9 | aside { |
| 10 | position: relative; |
| 11 | display: block; |
| 12 | transition: none; |
| 13 | margin-left: 0 !important; |
| 14 | padding-top: 0; |
| 15 | width: 100%; |
| 16 | top: 0; |
| 17 | |
| 18 | > * { |
| 19 | opacity: 1 !important; |
| 20 | transition: none; |
| 21 | } |
| 22 | |
| 23 | form.login { |
| 24 | > input, |
| 25 | > div { |
| 26 | width: auto; |
| 27 | margin-top: 0; |
| 28 | &:first-of-type { |
| 29 | float: left; |
| 30 | margin-right: 1em; |
| 31 | } |
| 32 | } |
| 33 | button { |
| 34 | height: 100% |
Akron | ae8f31c | 2017-11-28 18:05:52 +0100 | [diff] [blame] | 35 | } |
| 36 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 37 | |
| 38 | p, |
| 39 | &::after { |
| 40 | display: none; |
Akron | ae8f31c | 2017-11-28 18:05:52 +0100 | [diff] [blame] | 41 | } |
| 42 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 43 | |
| 44 | main div.intro { |
| 45 | margin-left: $base-padding !important; |
Akron | ae8f31c | 2017-11-28 18:05:52 +0100 | [diff] [blame] | 46 | } |
| 47 | } |
| 48 | |
Akron | d1741ae | 2017-11-29 09:58:53 +0100 | [diff] [blame] | 49 | #activate { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 50 | text-align: right; |
Akron | d1741ae | 2017-11-29 09:58:53 +0100 | [diff] [blame] | 51 | background-color: $dark-orange; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 52 | margin-top: 0; |
| 53 | padding: $base-padding; |
| 54 | padding-right: $standard-margin; |
| 55 | color: $nearly-white; |
| 56 | font-size: 80%; |
Akron | ae8f31c | 2017-11-28 18:05:52 +0100 | [diff] [blame] | 57 | } |