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