More Py3 compatibility fixes.
[wolnelektury.git] / src / wolnelektury / static / scss / book_text / settings.scss
1 @mixin switch-on {
2     background: #aaa;
3     border-top-color: #888;
4     border-left-color: #888;
5     border-bottom-color: #ddd;
6     border-right-color: #ddd;
7
8     border-width: 2px;
9     border-style: solid;
10
11 }
12 @mixin switch-off {
13     background: none;
14     border-color: #aaa;
15 }
16 .settings-switch {
17     display: block;
18     padding: .5em;
19     margin: .5em;
20     //border: 1px solid #aaa;
21     border-radius: 1em;
22     color: black;
23     border-width: 2px;
24     border-style: solid;
25 }
26
27 nav #menu-settings {
28     display: none;
29 }
30
31 #settings-annotations {@include switch-on;}
32 .no-annotations {
33     #settings-annotations {@include switch-off;}
34     .annotation {display: none;}
35 }
36
37 #settings-themes {@include switch-on;}
38 .always-hide-themes {
39     #settings-themes {@include switch-off;}
40 }
41
42 #settings-line-numbers {@include switch-on;}
43 .always-hide-line-numbers {
44     #settings-line-numbers {@include switch-off;}
45 }
46
47