Changeset 108338 in spip-zone


Ignore:
Timestamp:
Jan 3, 2018, 8:11:36 PM (18 months ago)
Author:
brunobergot@…
Message:

indentation & lisibilité

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _galaxie_/boussole.spip.net/squelettes/boussole_topnav.css

    r108337 r108338  
    3434#hidden_menu_collapser { display: none; }
    3535#hidden_menu_collapser:checked+ul { height: auto; min-height: 40px; max-height: 2999px; }
    36 @mediaonlyscreenand(max-width:940px)and(min-width:640px) { .menu_container>ul>li>a { padding: 12px 15px; font-size: 14px; }
    37  .menu_container>ul>li:hover>a { padding-left: 16px; }
    38  }
    39 @mediaonlyscreenand(max-width:760px) { .mobile_collapser { background: "none no-repeat #353535"; display: block; height: 40px; }
    40  .menu_container { padding: 0px; height: auto; }
    41  .menu_container>ul { position: relative; transition: all 100ms linear 0s; height: 0px; background: inherit; overflow: hidden; }
    42  .menu_container>ul>li { position: relative; float: none; background: inherit; }
    43  .menu_container>ul>li:hover { margin-left: 0px; }
    44  .menu_container>ul>li>a { box-shadow: none; border-right: 0px none; }
    45  .menu_container>ul>li>.menu_dropdown_block { visibility: visible; position: relative; transition: all 100ms linear 0s; height: 0px; width: 100%; }
    46  .menu_container>ul>li:hover>.menu_dropdown_block { height: auto; min-height: 40px; max-height: 3000px; }
    47  .menu_container>ul>li .right { float: none; }
    48  .menu_container>ul>li>.menu_dropdown_block [class^="span"],
    49  .menu_container>ul>li>.menu_dropdown_block [class*=" span"] { float: none; width: auto!important; }
     36@media only screen and (max-width:940px) and (min-width:640px) {
     37        .menu_container>ul>li>a { padding: 12px 15px; font-size: 14px; }
     38        .menu_container>ul>li:hover>a { padding-left: 16px; }
     39}
     40@media only screen and (max-width:760px) {
     41        .mobile_collapser { background: "none no-repeat #353535"; display: block; height: 40px; }
     42        .menu_container { padding: 0px; height: auto; }
     43        .menu_container>ul { position: relative; transition: all 100ms linear 0s; height: 0px; background: inherit; overflow: hidden; }
     44        .menu_container>ul>li { position: relative; float: none; background: inherit; }
     45        .menu_container>ul>li:hover { margin-left: 0px; }
     46        .menu_container>ul>li>a { box-shadow: none; border-right: 0px none; }
     47        .menu_container>ul>li>.menu_dropdown_block { visibility: visible; position: relative; transition: all 100ms linear 0s; height: 0px; width: 100%; }
     48        .menu_container>ul>li:hover>.menu_dropdown_block { height: auto; min-height: 40px; max-height: 3000px; }
     49        .menu_container>ul>li .right { float: none; }
     50        .menu_container>ul>li>.menu_dropdown_block [class^="span"],
     51        .menu_container>ul>li>.menu_dropdown_block [class*=" span"] { float: none; width: auto!important; }
    5052 }
    5153html.ie7 .menu_container>ul { zoom: 1; white-space: nowrap; z-index: 1; }
    5254html.ie7 .menu_container>ul>li>.menu_dropdown_block { top: 0; position: relative; }
    53 @mediaprint { .menu_container { display: none; }
    54  }
     55@media print {
     56        .menu_container { display: none; }
     57}
Note: See TracChangeset for help on using the changeset viewer.