comparison sat_templates/templates/default/static/styles_noscript.css @ 212:255faa03379a

css (noscript): fixed blog not visible without javascript: blogs in languages other than the one selected are initially hidden with a clickable banner with javascript, but this was making them impossible to read without it. Furthermore, comments were not visible either, due to a change in class name. fix 302
author Goffi <goffi@goffi.org>
date Tue, 09 Jul 2019 21:58:51 +0200
parents 240bbac435f4
children
comparison
equal deleted inserted replaced
211:bf33342902ed 212:255faa03379a
9 9
10 :root { 10 :root {
11 --box--expand_limit: none; 11 --box--expand_limit: none;
12 } 12 }
13 13
14
15 /**********
16 * States *
17 **********/
18
19 /* no click without JS, so we display blogs in other languages directly */
20 .other_lang.state_init>* {
21 display: block;
22 }
23
24 /* initial state is made to display something until click,
25 * better to disable without JS */
26 .state_init>.show_if_parent_init {
27 display: none;
28 }
29
30
14 /********* 31 /*********
15 * boxes * 32 * boxes *
16 *********/ 33 *********/
17 34
18 .box__under { 35 .box__under {
19 display: none; 36 display: none;
20 } 37 }
21 38
22 /************ 39 /**********
23 * Comments * 40 * Panels *
24 ************/ 41 **********/
25 42
26 .comments_panel { 43 /* drawer needs to be opened to have the content visible */
44 .panel-drawer {
27 max-height: none; 45 max-height: none;
28 opacity: 1; 46 opacity: 1;
29 } 47 }
30 48
31 /********* 49 /*********