Dotclear

Changeset 1291:0333b0c6d41f


Ignore:
Timestamp:
08/04/13 20:47:52 (10 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

New header and styles in order to prepare next enhancements.

Location:
admin/style
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r1235 r1291  
    4646     color: #666; 
    4747     font-size: 1.8rem; 
    48      padding: 0 0 .6rem; 
     48     padding: 0 0 2em; 
     49     font-weight: normal; 
     50} 
     51h2 a:link, h2 a:visited { 
     52     color: #666; 
     53     border-color: #000; 
    4954} 
    5055.page-title { 
     
    5257} 
    5358h3 { 
    54      color: #333; 
    55      font-size: 1.2rem; 
     59     color: #575859; 
     60     font-size: 1.4rem; 
    5661} 
    5762p, div.p { 
     
    8691#header { 
    8792     background: #575859; 
    88      height: 3.2rem; 
     93     height: 3.6rem; 
    8994     position: relative; 
     95     border-bottom: 4px solid #A2CBE9; 
    9096} 
    9197#prelude { 
    92      background: transparent; 
    9398     line-height: 2; 
    9499     margin: 0; 
    95      padding: 0 1rem 0; 
     100     padding: 0; 
    96101     overflow: hidden; 
    97102     position: absolute; 
    98      top: 3.2rem; 
     103     top: 3.6rem; 
    99104     left: 0; 
    100105     } 
    101106#prelude li { 
    102107     list-style-type: none; 
    103      margin: 0 1em 0 0; 
     108     margin: 0; 
    104109     background:transparent; 
    105      display: inline; 
    106      } 
     110} 
     111#prelude li a { 
     112     padding: .5rem 1rem .4rem 1.5rem; 
     113     background: #A2CBE9; 
     114     color: #000; 
     115     border-bottom-right-radius: .6rem; 
     116     border-bottom-color: #A2CBE9; 
     117} 
    107118#top { 
    108119     margin: 0; 
    109120     padding: 0; 
    110      width: 13em; 
     121     width: 14em; 
    111122     float: left; 
    112123} 
     
    114125     padding: 0; 
    115126     margin: 0; 
    116      height: 3.2rem; 
     127     height: 3.6rem; 
    117128     text-indent: -1000px; 
    118      background: transparent url(dc_logo.png) no-repeat 0 50%; 
     129     background: #575859 url(dc_logo.png) no-repeat 0 50%; 
    119130} 
    120131#top h1 a { 
     
    122133     top: 3px; 
    123134     left: 0; 
    124      width: 130px; 
    125      height: 60px; 
     135     width: 14rem; 
     136     height: 3.2rem; 
    126137     border: none; 
    127      outline: none; 
    128138     color: #fff; 
     139} 
     140#top h1 a:hover, #top h1 a:focus { 
     141     background: transparent url(dc_logo_hover.png) no-repeat 0 55%;   
    129142} 
    130143#info-boxes { 
     
    141154} 
    142155#info-box2 { 
    143      margin: .1em 0 0 0; 
     156     margin-top: .3rem; 
    144157     padding: .5em 1.3em 4px 0; 
    145158     color: #fff; 
     
    182195} 
    183196#info-box2 span { 
    184      color: #575859; 
     197     color: #999; 
    185198} 
    186199/* prelude */ 
     
    191204     width: 100%; 
    192205     float: right; 
    193      margin-left: -13em; 
     206     margin-left: -14em; 
    194207     margin-top: 0; 
    195208     background: #fff url(dc_bg.png); 
    196209} 
    197210#content { 
    198      margin: 0 0 0 13em; 
    199      padding: 1.8rem; 
    200      background: #fff; 
     211     margin: 0 0 0 14em; 
     212     padding: .9rem 1.8rem 1.8rem; 
     213     background: #fff url(dc_bg_title.png) repeat-x center top; 
    201214} 
    202215     /* Micro clearfix thx to Nicolas Gallagher */ 
     
    239252/* -------------------------------------------------------------- layout - onglets */ 
    240253.part-tabs ul { 
    241      padding: .3em 0 1px 1em; 
    242      border-bottom: 1px solid #999; 
     254     padding: .5em 0 .3em 1.2rem; 
     255     border-bottom: 1px solid #ccc; 
    243256} 
    244257.part-tabs li { 
     
    248261} 
    249262.part-tabs li a { 
    250      padding: .3em 0.5em; 
     263     padding: .5em 0.5em; 
    251264     margin-right: .5em; 
    252      border: 1px solid #999; 
     265     border: 1px solid #ccc; 
    253266     border-bottom: none; 
    254267     background: #dfdfdf; 
    255268     text-decoration: none; 
    256      border-top-left-radius: .3em; 
    257      border-top-right-radius: .3em; 
    258269     color: #000; 
     270     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #fafafa) ); 
     271     background:-moz-linear-gradient( center top, #dfdfdf 5%, #fafafa 100% ); 
     272     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#fafafa'); 
     273     background-color:#ededed; 
    259274} 
    260275.part-tabs li.part-tabs-link a { 
     
    268283.part-tabs li.part-tabs-active a { 
    269284     background: #fff; 
    270      border-bottom: 1px solid #fff; 
    271      color: #000; 
     285     border: 1px solid #d30e60; 
     286     color: #d30e60; 
    272287     font-weight: bold; 
     288     border-bottom-color: #fff; 
    273289} 
    274290/* ------------------------------------------------------------------ main-menu */ 
    275291#main-menu { 
    276      width: 13em; 
    277      float: left; 
    278      margin-top: 2rem; 
     292     width: 14em; 
     293     float: left; 
     294     margin-top: 4.2rem; 
    279295     padding-bottom: 1rem; 
    280296     background: #f7f7f7; 
     
    282298#main-menu h3 { 
    283299     margin: 0 0 1.2rem; 
    284      padding: 0 0 0 .5em; 
    285      text-transform: uppercase; 
     300     padding: 0 0 0 2.2rem; 
     301     text-indent: -1.6rem; 
    286302     color: #666; 
    287303     font-size: 1.4rem; 
     
    295311#main-menu li { 
    296312     display: block; 
    297      margin: 0.6rem 0 0; 
    298      padding: .2em 0 0 32px; 
     313     margin: 0.5em 0 0; 
     314     padding: .3rem 0 0 30px; 
    299315     background-repeat: no-repeat; 
    300      background-position: 12px .4em; 
     316     background-position: 8px .3em; 
    301317} 
    302318#main-menu a { 
     
    309325#main-menu .active { 
    310326     background-color: #fff; 
    311      padding: .4em 0 .1em 32px; 
    312      background-position: 12px .4em; 
     327     background-position: 12px .4rem; 
    313328     border-top: 1px solid #ddd; 
    314329     border-bottom: 1px solid #ddd; 
     
    402417     width: 210px; 
    403418     text-align: center; 
    404      margin: 2em 0 0 0; 
     419     margin: 2em 0; 
    405420     display:inline-block; 
    406421} 
     
    479494} 
    480495#entry-content { 
    481      margin-right: 18em; 
     496     margin-right: 19em; 
     497     margin-left: 1.2rem; 
    482498} 
    483499#entry-sidebar { 
     
    784800} 
    785801#help-button { 
    786      position: fixed; 
    787      top: 5.6rem; 
     802     background: transparent url(../images/page_help.png) no-repeat .6rem center; 
     803     position: absolute; 
     804     top: 3.6rem; 
    788805     right: 0px; 
     806     padding: 0 2rem 0 3rem; 
    789807     cursor: pointer; 
    790      background: #FFD478 url(../images/page_help.png) no-repeat .6rem center; 
    791      border: 1px solid #dde; 
    792      border-right: none; 
    793      padding: .3rem 1rem .3rem 3rem; 
    794      border-radius: 1rem 0 0 1rem; 
    795      color: #000; 
     808     color: #2373A8; 
     809     line-height: 4rem; 
     810} 
     811#help-button span { 
     812     padding: .6rem 0 .1rem 0; 
     813     border-bottom: 1px solid #2373A8; 
    796814} 
    797815.help-box { 
     
    803821} 
    804822#content.with-help #help-button { 
    805      right: 282px; 
     823     right: 28.2rem; 
     824     background-color: #f5f5f5; 
     825     position: fixed; 
     826     border-top: 2px solid #FFD478; 
     827     border-left: 2px solid #FFD478; 
     828     border-bottom: 2px solid #FFD478; 
     829     border-bottom-left-radius: 1rem; 
     830     border-top-left-radius: 1rem; 
    806831} 
    807832#content.with-help #help { 
    808833     display: block; 
    809834     position: absolute; 
    810      top: 4rem; 
     835     top: 3.6rem; 
    811836     right: 0; 
    812      width: 280px; 
     837     width: 28rem; 
    813838     border-left: 2px solid #FFD478; 
     839     border-top: 2px solid #FFD478; 
    814840     margin-top: 0; 
    815841     padding: 10px 0 0 0; 
     
    875901     color: #fff; 
    876902} 
     903/* ------------------------------------------------------------------ navigation */ 
     904.anchor-nav { 
     905     background: #575859; 
     906     color: #fff; 
     907     padding: .4rem 1.2rem; 
     908     float: right; 
     909} 
    877910/* ------------------------------------------------------------------ debug */ 
    878911#debug { 
     
    905938p.top-add { 
    906939     text-align: right; 
    907      margin: 0; 
     940     margin: 2rem 0 0; 
    908941     } 
    909942p.top-add a { 
     
    11361169     margin-right: .3em; 
    11371170} 
    1138 input[type=checkbox], input[type=radio] { 
    1139      border: none; 
    1140 } 
    11411171textarea { 
    11421172     padding: 2px 0; 
    11431173} 
    1144  
    1145 input[type=checkbox], input[type=radio] { 
     1174input[type=checkbox], input[type=radio], input[type=file] { 
     1175     border: none; 
    11461176     margin: 0; 
    11471177     padding: 0; 
     
    12571287     text-align: center; 
    12581288     text-decoration: none; 
    1259      padding: .1em .5em 0 .5em; 
     1289     padding: .1em .5em; 
    12601290     text-shadow: 0 1px 1px rgba(0,0,0,.3); 
    12611291     border-radius: .2em; 
     
    13391369     content: "\ab\a0"; 
    13401370} 
    1341 a.button.add { 
    1342      border-radius: .5em; 
    1343      margin-bottom: .1em;      
    1344      background: #AAce21 url(../images/add.png) no-repeat 6px center; 
    1345      padding: .4rem 16px .4rem 30px; 
    1346      border: 1px solid #ccc; 
     1371.button.add { 
     1372     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9dce2c), color-stop(1, #8cb82b) ); 
     1373     background:-moz-linear-gradient( center top, #9dce2c 5%, #8cb82b 100% ); 
     1374     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dce2c', endColorstr='#8cb82b'); 
     1375     background-color:#9dce2c; 
     1376     border:1px solid #83c41a; 
     1377     padding:.6rem 1.8rem; 
     1378     text-shadow:1px 1px 0 #689324; 
    13471379     color: #000; 
    1348 } 
    1349 a.button.add:hover, a.button.add:focus { 
    1350      background-color: #fff; 
     1380     text-shadow: 1px 1px 0 #BBDB58; 
     1381     font-weight: normal; 
     1382     font-size: 1.4rem; 
     1383} 
     1384.button.add:hover, .button.add:focus { 
     1385     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8cb82b), color-stop(1, #9dce2c) ); 
     1386     background:-moz-linear-gradient( center top, #8cb82b 5%, #9dce2c 100% ); 
     1387     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb82b', endColorstr='#9dce2c'); 
     1388     background-color:#8cb82b; 
     1389     border:1px solid #83c41a; 
     1390} 
     1391.button-add:focus { 
     1392     outline: dotted 1px; 
     1393} 
     1394.button.add:active { 
     1395     position:relative; 
     1396     top:1px; 
    13511397} 
    13521398 
Note: See TracChangeset for help on using the changeset viewer.

Sites map