view 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
line wrap: on
line source

/*******************************************************
 * This styles are used when javascript is not enabled *
 *******************************************************/


/*************
 * Constants *
 *************/

:root {
  --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 *
 *********/

.box__under {
    display: none;
}

/**********
 * Panels *
 **********/

/* drawer needs to be opened to have the content visible */
.panel-drawer {
    max-height: none;
    opacity: 1;
}

/*********
 * Menus *
 *********/

.menu__language button {
    display: initial;
}