blob: 985ac48ae59769876bc2c96b67a9767f30d41ecc [file] [log] [blame]
Akrond1741ae2017-11-29 09:58:53 +01001@import "util";
2
Akron7e5afce2020-08-25 15:50:19 +02003/**
4 * Optimization for no-js behaviour
5 */
6body.no-js {
7
Akroncb5c1712021-01-26 18:01:04 +01008 #notifications {
9 display: block !important;
10 }
11
Akron7e5afce2020-08-25 15:50:19 +020012 // 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%
Akronae8f31c2017-11-28 18:05:52 +010039 }
40 }
Akron7e5afce2020-08-25 15:50:19 +020041
42 p,
43 &::after {
44 display: none;
Akronae8f31c2017-11-28 18:05:52 +010045 }
46 }
Akron7e5afce2020-08-25 15:50:19 +020047
48 main div.intro {
49 margin-left: $base-padding !important;
Akronae8f31c2017-11-28 18:05:52 +010050 }
51}
52
Akrond1741ae2017-11-29 09:58:53 +010053#activate {
Akron7e5afce2020-08-25 15:50:19 +020054 text-align: right;
Akrond1741ae2017-11-29 09:58:53 +010055 background-color: $dark-orange;
Akron7e5afce2020-08-25 15:50:19 +020056 margin-top: 0;
57 padding: $base-padding;
58 padding-right: $standard-margin;
59 color: $nearly-white;
60 font-size: 80%;
Akronae8f31c2017-11-28 18:05:52 +010061}