blob: c5f6410c57f28f072e0afbcf6aee85a5debba865 [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
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%
Akronae8f31c2017-11-28 18:05:52 +010035 }
36 }
Akron7e5afce2020-08-25 15:50:19 +020037
38 p,
39 &::after {
40 display: none;
Akronae8f31c2017-11-28 18:05:52 +010041 }
42 }
Akron7e5afce2020-08-25 15:50:19 +020043
44 main div.intro {
45 margin-left: $base-padding !important;
Akronae8f31c2017-11-28 18:05:52 +010046 }
47}
48
Akrond1741ae2017-11-29 09:58:53 +010049#activate {
Akron7e5afce2020-08-25 15:50:19 +020050 text-align: right;
Akrond1741ae2017-11-29 09:58:53 +010051 background-color: $dark-orange;
Akron7e5afce2020-08-25 15:50:19 +020052 margin-top: 0;
53 padding: $base-padding;
54 padding-right: $standard-margin;
55 color: $nearly-white;
56 font-size: 80%;
Akronae8f31c2017-11-28 18:05:52 +010057}