source: spip-zone/_plugins_/responsivenav/trunk/css/responsive-nav.spip.css.html @ 96263

Last change on this file since 96263 was 96263, checked in by jeanmarie.listes@…, 5 years ago

Ajout d'un formulaire de configuration depuis l'espace privé (merci b_b)

File size: 1.2 KB
Line 
1a.nav-toggle {text-align:center;font-size:1.2em;}
2#nav {border-top:0;}
3#nav ul li {text-align:center;}
4
5/* Si ZDist V1 avec le plugin Menus */
6[(#PLUGIN{Z}|oui)
7        #nav .menu-conteneur ul.menu-liste li.menu-entree {box-sizing:border-box;margin:0;padding:0.5em;display:inline-block;}
8]
9
10@media screen and (min-width: #CONFIG{responsivenav/breakpoint,40em}) {
11        .nav-collapse ul li.nav-item {display:inline;} /* Pour SPIP 3.1 dist */
12        .nav-collapse ul.menu-items li.item {width:auto;} /* Pour ZDist V1 + V2 */
13}
14
15@media screen and (max-width: #CONFIG{responsivenav/breakpoint,40em}) {
16        a.nav-toggle {display:block;}
17        #nav ul li a {float:none;}  /* Pour SPIP 3.0 dist */
18        #nav ul.menu-items {float:none;overflow:hidden;}  /* Pour ZDist V2 */
19}
20
21
22[(#EVAL{_RESPONSIVENAV_MENUBURGER}|=={true}|oui)
23@media screen and (max-width: #CONFIG{responsivenav/breakpoint,40em}) {
24        a.nav-toggle:link, a.nav-toggle:focus {height:30px;color:transparent  !important;text-align:center;color:transparent;background:url('#CHEMIN{images/menu-burger.png}') transparent top center no-repeat !important;background-size:30px 60px  !important;}
25        a.nav-toggle.active, a.nav-toggle.active:focus {background-position: bottom center !important;}
26}
27]
Note: See TracBrowser for help on using the repository browser.