Dotclear

Changeset 1574:6bbf5140c89a


Ignore:
Timestamp:
08/25/13 11:19:36 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Children:
1575:77a3bf7f8957, 1576:5638c7934641
Message:

CSS: add px to the rem values. Fixes #1563.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r1571 r1574  
    2626     padding: 0; 
    2727} 
    28  
    2928a, a:link, a:visited { 
    3029     color: #2373A8; 
     
    3837     border:none; 
    3938} 
    40  
    4139h1, h2, h3, .as_h3, h4, h5, h6, p { 
    4240     margin-top: 0; 
     
    116114     cursor: help; 
    117115} 
    118  
    119116/* LAYOUT 
    120117-------------------------------------------------------- */ 
     
    191188#info-box2 { 
    192189     margin: 0; 
    193      padding: 0 16px 0 0; 
     190     padding: 0 18px 0 0; 
    194191     color: #fff; 
    195192     float: right; 
     
    217214     font-weight: normal; 
    218215} 
     216#info-boxes .logout { 
     217     margin-right: 0; 
     218} 
    219219#info-box1 a { 
    220220     margin-left: 1.33em; 
     
    319319     font-weight: bold; 
    320320     border-bottom-color: #fff; 
     321     padding-bottom: 7px; /* ie < 9 sucks */ 
    321322     padding-bottom: .7rem; 
    322323} 
     
    334335     padding: 10px 0 10px 8px; 
    335336     color: #666; 
     337     font-size: 14px; /* ie < 9 sucks */ 
    336338     font-size: 1.4rem; 
    337339} 
     
    369371} 
    370372#search-menu { 
    371      padding: .3rem .4rem 0; 
     373     padding: 4px 5px 0; 
    372374     font-size: 100% 
     375} 
     376#search-menu * { 
     377     height: 20px; /* ie < 9 sucks */ 
     378     height: 2rem;   
    373379} 
    374380#search-menu p { 
     
    377383     border-radius: .3em; 
    378384     position: relative; 
    379      height: 2rem; 
    380385     overflow: hidden; 
    381386} 
    382387#search-menu #q { 
     388     width: 120px; /* ie < 9 sucks */ 
    383389     width: 12rem; 
    384390     border-bottom-left-radius: .3em; 
     
    386392     background: transparent url(search.png) no-repeat 4px center; 
    387393     text-indent: 18px; 
    388      height: 2rem; 
    389394     padding: 0 2px;  
    390395     border: none; 
    391396} 
    392 #search-menu input[type="submit"] { 
    393      padding: 0 0.3rem; 
     397#search-menu input[type="submit"] {  
     398     padding: 0 3px; 
     399     padding: 0 .3rem; 
    394400     background: #dfdfdf; 
    395401     border-color: #999; 
     
    400406     border-bottom-left-radius: 0; 
    401407     text-shadow: none; 
    402      height: 2rem; 
    403408     border: none; 
    404409     border-left: 1px solid #aaa; 
     410     font-size: 10px; /* ie < 9 sucks */ 
    405411     font-size: 1rem; 
    406412} 
     
    416422     color: #000; 
    417423     font-variant: small-caps; 
    418      padding-top: .6rem; 
     424     padding-top: .2em; 
    419425} 
    420426/* ------------------------------------------------------------------ footer */ 
    421427#footer { 
    422428     clear: both; 
    423      padding: .6rem 1.2rem .6rem 0; 
     429     padding: .5em 1em .5em 0; 
    424430     text-align: right; 
    425      border-top: .1rem solid #ccc; 
     431     border-top: 1px solid #ccc; 
    426432} 
    427433#footer p { 
     
    431437} 
    432438#footer p span.credit { 
    433      font-size: 1rem; 
     439     font-size: 1em; 
    434440     font-weight: normal; 
    435441} 
     
    439445     width: 20em; 
    440446     margin: 1.5em auto 0; 
     447     font-size: 14px; /* ie < 9 sucks */ 
    441448     font-size: 1.4rem; 
    442449} 
     
    451458     border: 1px solid #A8DC26; 
    452459     padding: 1em 1em 0 1em; 
    453      border-radius: 4px; 
     460     border-radius: 3px; 
    454461     background: #fff; 
    455462} 
     
    463470} 
    464471#login-screen #issue { 
    465      margin-left: 1.5rem; 
     472     margin-left: 1.33em; 
     473     font-size: 12px; /* ie < 9 sucks */ 
    466474     font-size: 1.2rem; 
    467475} 
    468 #login-screen #issue strong {font-weight: normal;} 
    469  
     476#login-screen #issue strong { 
     477     font-weight: normal; 
     478} 
    470479/* ------------------------------------------------------------------ dashboard */ 
    471480#dashboard-main { 
     
    583592} 
    584593#upg-notify ul { 
    585      padding-left: 15px; 
     594     padding-left: 1.5em; 
    586595} 
    587596#upg-notify li { 
     
    599608} 
    600609.multi-part { 
    601      padding-left: 1.2rem; 
     610     padding-left: 1em; 
    602611} 
    603612#entry-content label { 
     
    867876     display: block; 
    868877} 
    869  
    870878/* Themes list, JS version */ 
    871879#themes-wrapper { 
     
    943951     vertical-align: middle; 
    944952} 
    945  
    946953select.l10n option { 
    947954     padding-left: 16px; 
     
    961968     background: transparent url(../images/page_help.png) no-repeat 6px center; 
    962969     position: absolute; 
     970     top: 36px; /* ie < 9 sucks */ 
    963971     top: 3.6rem; 
    964972     right: 0px; 
    965      padding: 0 2rem 0 3rem; 
     973     padding: 0 1.5em 0 30px; 
    966974     cursor: pointer; 
    967975     color: #2373A8; 
     976     line-height: 42px; /* ie < 9 sucks */ 
    968977     line-height: 4.2rem; 
    969978} 
    970979#help-button span { 
    971      padding: .6rem 0 .1rem 0; 
     980     padding: .5em 0 .1em 0; 
    972981     border-bottom: 1px solid #2373A8; 
    973982} 
     
    980989} 
    981990#content.with-help #help-button { 
     991     right: 282px; /* ie < 9 sucks */ 
    982992     right: 28.2rem; 
    983993     background-color: #f5f5f5; 
     
    986996     border-left: 2px solid #FFD478; 
    987997     border-bottom: 2px solid #FFD478; 
    988      border-bottom-left-radius: 1rem; 
    989      border-top-left-radius: 1rem; 
     998     border-bottom-left-radius: 1em; 
     999     border-top-left-radius: 1em; 
    9901000} 
    9911001#content.with-help #help { 
    9921002     display: block; 
    9931003     position: absolute; 
     1004     top: 36px; /* ie < 9 sucks */ 
    9941005     top: 3.6rem; 
    9951006     right: 0; 
     1007     width: 280px; /* ie < 9 sucks */ 
    9961008     width: 28rem; 
    9971009     border-left: 2px solid #FFD478; 
    9981010     border-top: 2px solid #FFD478; 
    9991011     margin-top: 0; 
    1000      padding: 10px 0 0 0; 
     1012     padding: .5em 0 0 0; 
    10011013     overflow: auto; 
    10021014} 
    10031015#content.with-help .help-content { 
    1004      padding: 0 5px 1em 5px; 
     1016     padding: 0 .5em 1em; 
    10051017} 
    10061018.help-content dt { 
     
    10291041     background: #575859; 
    10301042     font-size: 1.5em; 
    1031      text-indent: .6rem; 
     1043     text-indent: .5em; 
    10321044     line-height: 1.3em; 
    10331045} 
     
    10371049body.popup #content { 
    10381050     margin: 0; 
    1039      padding: .6rem 0 !important; 
     1051     padding: .5em 0; 
    10401052} 
    10411053body.popup #content h2 { 
     
    10731085     color: #666; 
    10741086} 
    1075  
    10761087/* ------------------------------------------------------------------ navigation */ 
    10771088.anchor-nav { 
    10781089     background: #575859; 
    10791090     color: #fff; 
    1080      padding: .4rem 1.2rem; 
     1091     padding: 4px 1em; 
    10811092     float: right; 
    10821093} 
     
    10871098.nav_prevnext a, a.back { 
    10881099     border: 1px solid #ddd; 
    1089      padding: .2rem 2rem; 
    1090      border-radius: 1rem; 
     1100     padding: 2px 1.5em; 
     1101     border-radius: .75em; 
    10911102     background-color: #f0f0f0; 
    10921103} 
     
    10981109     float: right; 
    10991110     border: 1px solid #eee; 
    1100      padding: .2rem 2rem; 
    1101      border-radius: 1rem; 
     1111     padding: 2px 1.5em; 
     1112     border-radius: .75em; 
    11021113     background-color: #ffe; 
    11031114} 
     
    11241135} 
    11251136/* -------------------------------------------------------------------- CLASSES COMMUNES */ 
    1126  
    11271137.no-margin, #entry-content label.no-margin { 
    11281138     margin: 0; 
     
    11491159     display: table-cell; 
    11501160} 
    1151  
    11521161/* paragraphe pour bouton Nouveau bidule */ 
    11531162p.top-add { 
     
    12191228     padding: 5px 0 5px 20px; 
    12201229} 
    1221 /* pas trouvé dans le code */ 
    1222 .comment { 
    1223      border-top: 2px solid #ccc; 
    1224      margin-bottom: 1em; 
    1225      padding: 2em 0 1em 0; 
    1226      position: relative; 
    1227 } 
    1228 .comment form p { 
    1229      margin: 0; 
    1230      position: absolute; 
    1231      top: 2px; 
    1232      right: 0; 
    1233 } 
    1234 .distrib img { 
    1235      display: block; 
    1236      float: right; 
    1237      margin-top: -1em; 
    1238 } 
    12391230/* TABLES 
    12401231-------------------------------------------------------- */ 
    12411232table { 
     1233     font-size: 12px; /* ie < 9 sucks */ 
    12421234     font-size: 1.2rem; 
    12431235     border-collapse: collapse; 
     
    12791271     border-width: 0 0 1px 0; 
    12801272     border-color: #ddd; 
    1281      line-height: 2.4rem; 
     1273     line-height: 2em; 
    12821274     padding-bottom: 0; 
    12831275} 
     
    15011493a.form-control { 
    15021494     display: none; 
    1503      background: url(../images/expand.png) no-repeat .4rem center; 
     1495     background: url(../images/expand.png) no-repeat 4px center; 
    15041496     padding-left: 20px; 
    15051497     color: #000; 
     
    15261518     border-radius: .2em; 
    15271519     margin-bottom: .1em; 
     1520     font-size: 12px; /* ie < 9 sucks */ 
    15281521     font-size: 1.2rem; 
    15291522 } 
     
    15841577input[type=submit].delete { 
    15851578     color: #c00; 
    1586      padding-bottom: .2rem; 
     1579     padding-bottom: 2px; 
    15871580} 
    15881581#entry-content .delete { 
     
    16111604     background-color:#9dce2c; 
    16121605     border:1px solid #83c41a; 
    1613      padding:.6rem 1.8rem; 
     1606     padding:.5em 1.5em; 
    16141607     color: #000; 
    16151608     text-shadow: 1px 1px 0 #BBDB58; 
    16161609     font-weight: normal; 
     1610     font-size: 14px; /* ie < 9 sucks */ 
    16171611     font-size: 1.4rem; 
    16181612} 
     
    16641658#filters-form { 
    16651659     border: 1px dashed #999; 
    1666      border-radius: .6rem; 
     1660     border-radius: .5em; 
    16671661     margin-bottom: 2em; 
    16681662     padding: .5em 1em 0; 
     
    17081702     margin-top: 1em; 
    17091703     line-height: 22px; 
    1710      padding: 0 1rem;  
     1704     padding: 0 .75em;  
    17111705     border: 1px solid #ddd; 
    17121706     overflow: hidden;  
     
    17931787          margin:0; 
    17941788          padding:0; 
     1789          line-height: 32px; /* ie < 9 sucks */ 
    17951790          line-height: 3.2rem; 
    17961791     } 
    1797      #info-box1 {margin-left: 1rem;} 
    1798      #info-box1 select {width: 14rem;} 
     1792     #info-box1 {margin-left: .75em;} 
     1793     #info-box1 select {width: 140px; width: 14rem;} 
    17991794     #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { 
    18001795     display:block; 
     
    18161811     #info-box2 {float:none;} 
    18171812     #dashboard-items div {display: block;margin-bottom: 1em; padding: 0 1em;} 
    1818      #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size: 1rem;line-height: 68px} 
     1813     #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size:10px; font-size: 1rem;line-height: 68px} 
    18191814} 
    18201815@media screen and (max-width: 492px) { 
    1821      #header {height:3.6rem;} 
    1822      #wrapper {font-size: 1.6rem;} 
     1816     #header {height: 36px; height: 3.6rem;} 
     1817     #wrapper {font-size: 16px; font-size: 1.6rem;} 
    18231818     .page-title, #info-boxes, .media-item {display: inline-block;} 
    18241819     div.media-list .media-item {width: 90%; float: none} 
    1825      #info-box1 select {width: 12rem; margin-right: .6rem;} 
     1820     #info-box1 select {width: 120px; width: 12rem; margin-right: .6rem;} 
    18261821     #info-box1 p.nomobile, label.nomobile {display: none;} 
    18271822} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map