Dotclear


Ignore:
Timestamp:
09/18/13 19:12:08 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Placement du collapser en pure css. Position absolute -> Déplacement du footer hors #wrapper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r1934 r1946  
    2525     } 
    2626#wrapper { 
     27     position: relative; 
    2728     width: 100%; 
    2829     padding-top: 1em; 
     
    5960/* to hide main-menu */ 
    6061#collapser { 
     62     position: absolute; 
     63     top: 0; 
     64     left: 14.5em; 
     65     width: 1em; 
     66     height: 100%; 
     67     overflow: hidden; 
    6168     display: block; 
    62      float: left; 
    63      width: 1em; 
    6469     background: #f3f3f3 url(../images/collapser-hide.png) no-repeat center bottom; 
    65      margin-left: 14.5em; 
    66      border: none; 
    67      text-align: left; 
    68      overflow: hidden; 
    69      border-right: double #ddd; 
     70     border-right: double #dfdfdf; 
     71     z-index: 1; 
    7072     } 
    7173.expand-mm { 
     
    8688     } 
    8789.hide-mm #collapser { 
    88      margin-left: 0; 
    89      text-align: right; 
     90     left: 0; 
    9091     background: #e3e3e3 url(../images/collapser-show.png) no-repeat center bottom; 
    9192     } 
     
    9697     display: block; 
    9798     } 
    98 /* if no js activated */ 
    99 .no-js #content { 
    100      margin-left: 14.5em; 
    101      } 
    102  
    10399/* -------------------------------------------------------------- layout: two-cols */ 
    104100.two-cols { 
     
    10731069          display: block; 
    10741070          position: absolute; 
    1075           top: 36px; /* ie < 9 sucks */ 
    1076           top: 3.6rem; 
     1071          top: 0; 
    10771072          right: 0; 
    10781073          width: 280px; /* ie < 9 sucks */ 
     
    10871082     background: transparent url(../images/page_help.png) no-repeat 6px center; 
    10881083     position: absolute; 
    1089      top: 36px; /* ie < 9 sucks */ 
    1090      top: 3.6rem; 
    1091      right: 0px; 
     1084     top: 0; 
     1085     right: 0; 
    10921086     padding: 0 1.5em 0 30px; 
    10931087     cursor: pointer; 
     
    11051099          background-color: #f5f5f5; 
    11061100          position: fixed; 
     1101          top: 40px; 
    11071102          border-top: 2px solid #FFD478; 
    11081103          border-left: 2px solid #FFD478; 
     
    13521347               } 
    13531348          #icons a img { 
    1354                padding: 2em; 
    1355                -moz-box-shadow: 0px 1px 0px 0px #ffffff; 
    1356                -webkit-box-shadow: 0px 1px 0px 0px #ffffff; 
    1357                box-shadow: 0px 1px 0px 0px #ffffff; 
    1358                background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) ); 
    1359                background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% ); 
    1360                filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9'); 
     1349               padding: 1.5em; 
    13611350               background-color:#f9f9f9; 
    1362                -moz-border-radius:1em; 
    1363                -webkit-border-radius:1em; 
    1364                border-radius:1em; 
     1351               -moz-border-radius:8px; 
     1352               -webkit-border-radius:8px; 
     1353               border-radius:8px; 
    13651354               border:1px solid #dcdcdc; 
    13661355               display:inline-block; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map