# HG changeset patch # User Goffi # Date 1562702331 -7200 # Node ID 255faa03379a2d9542731f2f6b9492589cf4fc3b # Parent bf33342902ed6d5cab03549cdfaf299f3347106f 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 diff -r bf33342902ed -r 255faa03379a sat_templates/templates/default/static/styles_noscript.css --- a/sat_templates/templates/default/static/styles_noscript.css Fri Jun 28 17:38:43 2019 +0200 +++ b/sat_templates/templates/default/static/styles_noscript.css Tue Jul 09 21:58:51 2019 +0200 @@ -11,6 +11,23 @@ --box--expand_limit: none; } + +/********** + * States * + **********/ + +/* no click without JS, so we display blogs in other languages directly */ +.other_lang.state_init>* { + display: block; +} + +/* initial state is made to display something until click, + * better to disable without JS */ +.state_init>.show_if_parent_init { + display: none; +} + + /********* * boxes * *********/ @@ -19,11 +36,12 @@ display: none; } -/************ - * Comments * - ************/ +/********** + * Panels * + **********/ -.comments_panel { +/* drawer needs to be opened to have the content visible */ +.panel-drawer { max-height: none; opacity: 1; }