blob: 4abedf9b9aacc2de45087a4dab80387182518c60 [file] [log] [blame]
Akron7636edf2025-11-04 12:44:53 +01001@use "util";
2@use "base/colors";
3@use "base/lengths";
Akrond1741ae2017-11-29 09:58:53 +01004
Akron7e5afce2020-08-25 15:50:19 +02005/**
6 * Optimization for no-js behaviour
7 */
8body.no-js {
9
Akroncb5c1712021-01-26 18:01:04 +010010 #notifications {
11 display: block !important;
12 }
13
Akron7e5afce2020-08-25 15:50:19 +020014 // Aside in noscript mode
15 aside {
16 position: relative;
17 display: block;
18 transition: none;
19 margin-left: 0 !important;
20 padding-top: 0;
21 width: 100%;
22 top: 0;
23
24 > * {
25 opacity: 1 !important;
26 transition: none;
27 }
28
29 form.login {
30 > input,
31 > div {
32 width: auto;
33 margin-top: 0;
34 &:first-of-type {
35 float: left;
36 margin-right: 1em;
37 }
38 }
39 button {
40 height: 100%
Akronae8f31c2017-11-28 18:05:52 +010041 }
42 }
Akron7e5afce2020-08-25 15:50:19 +020043
44 p,
45 &::after {
46 display: none;
Akronae8f31c2017-11-28 18:05:52 +010047 }
48 }
Akron7e5afce2020-08-25 15:50:19 +020049
50 main div.intro {
Akron7636edf2025-11-04 12:44:53 +010051 margin-left: lengths.$base-padding !important;
Akronae8f31c2017-11-28 18:05:52 +010052 }
53}
54
Akrond1741ae2017-11-29 09:58:53 +010055#activate {
Akron7e5afce2020-08-25 15:50:19 +020056 text-align: right;
Akron7636edf2025-11-04 12:44:53 +010057 background-color: colors.$dark-orange;
Akron7e5afce2020-08-25 15:50:19 +020058 margin-top: 0;
Akron7636edf2025-11-04 12:44:53 +010059 padding: lengths.$base-padding;
60 padding-right: lengths.$standard-margin;
61 color: colors.$nearly-white;
Akron7e5afce2020-08-25 15:50:19 +020062 font-size: 80%;
Akronae8f31c2017-11-28 18:05:52 +010063}