Dotclear

Changeset 503:a4f39cc10d7a for admin


Ignore:
Timestamp:
07/04/11 08:52:37 (14 years ago)
Author:
kozlika
Branch:
themes
Parents:
502:d002906f0b30 (diff), 501:ead05faef1e4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Je récupère la 2.4 à jour pour la branche themes

Location:
admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/blog_theme.php

    r500 r503  
    156156      
    157157     $radio_id = 'theme_'.html::escapeHTML($id); 
    158      if (preg_match('#^http(s)?://#',$core->blog->settings->system->themes_url)) { 
    159           $theme_url = http::concatURL($core->blog->settings->system->themes_url,'/'.$id); 
    160      } else { 
    161           $theme_url = http::concatURL($core->blog->url,$core->blog->settings->system->themes_url.'/'.$id); 
    162      } 
     158     $theme_url = http::concatURL($core->blog->url,$core->blog->settings->system->themes_url.'/'.$id); 
    163159     $has_conf = file_exists(path::real($core->blog->themes_path.'/'.$id).'/_config.php'); 
    164160     $has_css = file_exists(path::real($core->blog->themes_path.'/'.$id).'/style.css'); 
     
    216212{ 
    217213     echo 
    218      '<h2>'.html::escapeHTML($core->blog->name).' &rsaquo; <span class="page-title">'.__('Blog appearance').'</span></h2>'; 
     214     '<h2>'.html::escapeHTML($core->blog->name).' &rsaquo; '.__('Blog appearance').'</h2>'; 
    219215      
    220216     if (!empty($_GET['upd'])) { 
     
    333329     echo 
    334330     '<h2>'.html::escapeHTML($core->blog->name). 
    335      ' &rsaquo; <a href="blog_theme.php">'.__('Blog appearance').'</a> &rsaquo; <span class="page-title">'.__('Theme configuration').'<span class="page-title"></h2>'. 
     331     ' &rsaquo; <a href="blog_theme.php">'.__('Blog appearance').'</a> &rsaquo; '.__('Theme configuration').'</h2>'. 
    336332     '<p><a class="back" href="blog_theme.php">'.__('back').'</a></p>'; 
    337333      
    338334     try 
    339335     { 
    340           # Let theme configuration set their own form(s) if required 
    341           $standalone_config = (boolean) $core->themes->moduleInfo($core->blog->settings->system->theme,'standalone_config'); 
    342  
    343           if (!$standalone_config) 
     336          # Let theme configuration set their own form(s) 
     337          $managed = (boolean) $core->callBehavior('adminThemeConfigManaged'); 
     338           
     339          if (!$managed) 
    344340               echo '<form id="theme_config" action="blog_theme.php?conf=1" method="post" enctype="multipart/form-data">'; 
    345341 
    346342          include $theme_conf_file; 
    347343 
    348           if (!$standalone_config) 
     344          if (!$managed) 
    349345               echo 
    350346               '<p class="clear"><input type="submit" value="'.__('Save').'" />'. 
    351347               $core->formNonce().'</p>'. 
    352348               '</form>'; 
    353  
    354349     } 
    355350     catch (Exception $e) 
  • admin/style/default.css

    r500 r503  
    11791179p.field { 
    11801180     position: relative; 
    1181  
     1181      
    11821182} 
    11831183p.field label { 
  • admin/style/default.css

    r391 r503  
    1111# -- END LICENSE BLOCK ----------------------------------------- 
    1212*/ 
     13 
     14/* ------------------------------------------------------------------ html */ 
    1315body { 
    14      font: 76%/1.5em Helvetica,Arial,sans-serif; 
     16     font: 75%/1.5em Helvetica,Arial,sans-serif; 
    1517     color: #333; 
    1618     background: #f5f5f5; 
     
    2123     background: #fff; 
    2224} 
    23  
    24 a img,:link img,:visited img { border:none } 
    2525 
    2626a, a:link, a:visited { 
     
    3232     text-decoration: underline; 
    3333} 
     34a img, a:link img, a:visited img {  
     35     border:none; 
     36} 
    3437 
    3538h1, h2, h3, h4, h5, h6, p { 
     
    3740     margin-bottom: 0.6em; 
    3841} 
    39  
    4042h2 { 
    4143     color: #666; 
     
    4345     padding: 4px 0; 
    4446} 
    45  
     47.page-title { 
     48     color: #d30e60; 
     49} 
    4650h3 { 
    4751     color: #333; 
    4852     font-size: 1.2em; 
    4953} 
    50  
    5154p, div.p { 
    5255     margin: 0 0 1em 0; 
    5356} 
    54  
    5557hr { 
    5658     height: 1px; 
     
    5961     border-style: solid; 
    6062} 
    61  
    6263pre, code { 
    6364     font: 100% "Andale Mono","Courier New",monospace; 
     
    8081/* LAYOUT 
    8182-------------------------------------------------------- */ 
    82  
     83/* prelude */ 
     84#prelude { 
     85     background: #575859; 
     86     line-height: 1.8em; 
     87     margin: 0; 
     88     overflow: hidden; 
     89     } 
     90#prelude li { 
     91     list-style-type: none; 
     92     margin: 0 1em 0 0; 
     93     background:transparent; 
     94     } 
     95#prelude a { 
     96     color:#fff; 
     97     } 
     98/* header */ 
     99#header { 
     100     background: #575859; 
     101     height: 3em; 
     102     position: relative; 
     103} 
    83104#top { 
    84105     margin: 0; 
    85106     padding: 0; 
    86      background: #575859 url(dc_bg.png) repeat-x 0 3em; 
     107     width: 13em; 
     108     float: left; 
    87109} 
    88110#top h1 { 
     
    103125     color: #fff; 
    104126} 
    105  
    106 #info-box { 
     127#info-boxes { 
    107128     background: #575859; 
    108      position: absolute; 
    109      left: 13em; 
    110      top: 3px; 
    111      margin: 0; 
    112      padding: 3px 3px 4px 0; 
     129     font-size: .95em; 
     130     height: 3em; 
     131} 
     132#info-box1 { 
     133     margin: 0; 
     134     padding: .5em 3px 4px 0; 
    113135     color: #fff; 
     136     float: left; 
     137     background: #575859; 
    114138} 
    115139#info-box2 { 
     140     margin: .1em 0 0 0; 
     141     padding: .5em 1em 4px 0; 
     142     color: #fff; 
     143     float: right; 
     144     text-align: right; 
    116145     background: #575859; 
    117      position: absolute; 
    118      right: 1em; 
    119      top: 3px; 
    120      margin: 0; 
    121      padding: 3px 3px 4px 0; 
    122      color: #fff; 
    123 } 
    124 #info-box div, #info-box2 div { 
    125      margin: 0; padding: 0; 
    126 } 
    127 #info-box div div, #info-box2 div div { 
    128      display: inline; 
    129 } 
    130 #info-box>form>div, #info-box2>form>div { 
    131      line-height: 1.5; 
    132 } 
    133 #info-box select { 
    134      width: 20em; 
    135 } 
    136 #info-box a img, #info-box2 a img { 
     146     height: 2em; 
     147} 
     148#info-box1 select { 
     149     width: 15em; 
     150} 
     151#info-box1 a img, #info-box2 a img { 
    137152     vertical-align: middle; 
    138153     padding-left: .3em; 
    139154     } 
    140 #info-box a, #info-box2 a { 
     155#info-box1 a, #info-box2 a { 
    141156     background: #575859; 
    142157     font-weight: bold; 
    143158     color: #fff; 
    144159     border-bottom-color: #ccc; 
    145 } 
    146 #info-box a { 
    147      margin-left: 2em; 
    148 } 
    149  
     160     margin-left: .3em; 
     161     margin-right: .3em; 
     162     white-space: nowrap; 
     163     font-weight: normal; 
     164} 
     165#info-box1 a { 
     166     margin-left: 1.33em; 
     167} 
     168#info-box2 a.active { 
     169     border-bottom-color: #f5f5f5; 
     170     margin: 0; 
     171     padding: 1.2em .5em; 
     172     background-color: #f5f5f5; 
     173     color: #333; 
     174     font-weight: bold; 
     175} 
     176#info-box2 span { 
     177     color: #575859; 
     178} 
     179/* prelude */ 
    150180#wrapper { 
    151181     width: 100%; 
     
    169199     #content:before, #content:after {content:"";display:table;} 
    170200     #content:after {clear:both;} 
    171  
     201/* -------------------------------------------------- layout - multipart */ 
     202.three-cols { 
     203} 
     204.three-cols .col { 
     205     width: 32.3%; 
     206     float: left; 
     207     margin-left: 1%; 
     208} 
     209.three-cols .col:first-child { 
     210     width: 33.3%; 
     211     margin-left: 0; 
     212} 
     213.two-cols { 
     214     position: static; 
     215} 
     216.two-cols .col { 
     217     width: 49%; 
     218     margin-left: 2%; 
     219     float: left; 
     220} 
     221.two-cols .col:first-child { 
     222     width: 49%; 
     223     margin-left: 0; 
     224} 
     225.two-cols .col70{ 
     226     width: 69%; 
     227     margin-left: 0; 
     228     float: left; 
     229} 
     230.two-cols .col30 { 
     231     width: 28%; 
     232     margin-left: 2%; 
     233     float: left; 
     234} 
     235/* -------------------------------------------------------------- layout - onglets */ 
     236.part-tabs ul { 
     237     padding: .3em 0 1px 1em; 
     238     border-bottom: 1px solid #999; 
     239} 
     240.part-tabs li { 
     241     list-style: none; 
     242     margin: 0; 
     243     display: inline; 
     244} 
     245.part-tabs li a { 
     246     padding: .3em 0.5em; 
     247     margin-right: .5em; 
     248     border: 1px solid #999; 
     249     border-bottom: none; 
     250     background: #dfdfdf; 
     251     text-decoration: none; 
     252     -webkit-border-top-left-radius: .3em; 
     253     -webkit-border-top-right-radius: .3em; 
     254     -moz-border-radius-topleft: .3em; 
     255     -moz-border-radius-topright: .3em; 
     256     border-top-left-radius: .3em; 
     257     border-top-right-radius: .3em; 
     258     color: #000; 
     259} 
     260.part-tabs li.part-tabs-link a { 
     261     background: #ffe; 
     262} 
     263.part-tabs li a:hover, .part-tabs li a:focus { 
     264     color: #000; 
     265     background: #fff; 
     266     border-bottom-color: #fff; 
     267} 
     268.part-tabs li.part-tabs-active a { 
     269     background: #fff; 
     270     border-bottom: 1px solid #fff; 
     271     color: #000; 
     272     font-weight: bold; 
     273} 
     274/* ------------------------------------------------------------------ main-menu */ 
    172275#main-menu { 
    173276     width: 13em; 
    174277     float: left; 
    175      margin-top: 1em; 
     278     margin-top: 1.2em; 
    176279     margin-bottom: 1em; 
    177280} 
    178 #main-menu * { 
    179 } 
    180  
    181281#main-menu h3 { 
    182      margin: 0 0 0.5em 0; 
     282     margin: 0 0 0.5em; 
    183283     padding: .5em 0 0 .5em; 
    184284     text-transform: uppercase; 
     
    194294#main-menu li { 
    195295     display: block; 
    196      margin: 0.5em 0 0 0; 
     296     margin: 0.5em 0 0; 
    197297     padding: .2em 0 0 32px; 
    198298     background-repeat: no-repeat; 
     
    206306     color: #333; 
    207307} 
    208 #main-menu li.active { 
     308#main-menu .active { 
    209309     background-color: #fff; 
    210310     padding: .4em 0 .1em 32px; 
     
    214314     margin-right: -1px; 
    215315} 
    216 #main-menu #dashboard-menu li { 
    217      margin-left: 0; 
    218 } 
    219  
     316#favorites-menu { 
     317     margin: 0 0 2em; 
     318} 
     319#favorites-menu h3 { 
     320     color: #333; 
     321     text-transform: none; 
     322} 
     323#favorites-menu a { 
     324     color: #000; 
     325     font-weight: normal; 
     326} 
     327#favorites-menu .active { 
     328     background-color: transparent; 
     329     border: none; 
     330} 
     331#favorites-menu .active a { 
     332     font-weight: bold; 
     333} 
     334/* ------------------------------------------------------------------ footer */ 
    220335#footer { 
    221336     clear: both; 
     
    241356     font-weight: normal; 
    242357} 
    243  
    244 #debug { 
    245      position: absolute; 
    246      top: 0; 
     358/* ---------------------------------------------------------------------------- auth.php */ 
     359#login-screen { 
     360     display: block; 
     361     width: 18em; 
     362     margin: 1.5em auto 0; 
     363     font-size: 1.1em; 
     364} 
     365#login-screen h1 { 
     366     text-indent: -2000px; 
     367     background: transparent url(dotclear-logo2.png) no-repeat top left; 
     368     height: 50px; 
     369     margin-bottom: .5em; 
     370     margin-left: .5em; 
     371} 
     372#login-screen fieldset { 
     373     border: 1px solid #999; 
     374     padding: 1em 1em 0 1em; 
     375     -moz-border-radius: 4px; 
     376     -webkit-border-radius: 4px; 
     377     border-radius: 4px; 
     378} 
     379#login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { 
    247380     width: 100%; 
    248      height: 4px; 
    249      background: #d99; 
    250 } 
    251 #debug div { 
    252      display: none; 
    253      padding: 3px 0.5em 2px; 
    254 } 
    255 #debug p { 
    256      margin: 0.5em 0; 
    257 } 
    258 #debug:hover { 
    259      height: auto; 
    260 } 
    261 #debug:hover div { 
    262      display: block; 
    263 } 
    264  
    265 /* DASHBOARD */ 
     381} 
     382#login-screen #issue { 
     383     margin-left: 1em; 
     384     font-size: 1em; 
     385} 
     386#login-screen #issue strong {font-weight: normal;} 
     387 
     388 
     389/* ------------------------------------------------------------------ dashboard */ 
    266390#dashboard-main { 
    267391     float: left; 
     
    275399     float: none; 
    276400} 
    277 #dashboard-main #icons { 
     401#icons { 
    278402     overflow: hidden; 
    279403     padding-bottom: 1em; 
    280404     text-align: center; 
    281405} 
    282 #dashboard-main #icons p { 
     406#icons p { 
    283407     width: 210px; 
    284408     text-align: center; 
     
    286410     display:inline-block; 
    287411} 
    288 #dashboard-main #icons span { 
    289      display: block; 
    290 } 
    291 #dashboard-main #icons a { 
    292      border-bottom-width: 0; 
    293 } 
    294 #dashboard-main #icons span a { 
    295      border-bottom-width: 1px; 
    296 } 
    297  
    298 #dashboard-main #quick { 
     412#icons a, 
     413#icons a:link, 
     414#icons a:visited, 
     415#icons a:hover, 
     416#icons a:focus { 
     417     border-bottom-width: 0px; 
     418     text-decoration: none; 
     419} 
     420#icons a span { 
     421     border-bottom: 1px dotted #f90; 
     422} 
     423#icons a:focus span, #icons a:hover span { 
     424     text-decoration: underline; 
     425} 
     426#quick { 
    299427     clear: left; 
    300428     margin-top: 2em; 
    301429} 
    302 #dashboard-main #quick h3 { 
     430#quick h3 { 
    303431     margin-bottom: 0.2em; 
    304432     font-size: 1.2em; 
    305433} 
    306 #dashboard-main #quick p.qinfo { 
     434#quick p.qinfo { 
    307435     margin: -.7em -1em 1em; 
    308436     background: #eef url(info.png) no-repeat .2em .2em; 
     
    311439     color: #666; 
    312440} 
    313  
    314441#dashboard-items { 
    315442     float: left; 
     
    319446     padding-top: 3em; 
    320447} 
    321 #dashboard-items p img { 
     448#dashboard-items img { 
    322449     vertical-align: middle; 
    323450} 
     
    331458     color: #666; 
    332459} 
    333 #dashboard-items #news dt { 
     460#news dt { 
    334461     font-weight: bold; 
    335462     margin: 0 0 0.4em 0; 
    336463} 
    337 #dashboard-items #news dd { 
     464#news dd { 
    338465     margin: 0 0 1em 0; 
    339466} 
    340 #dashboard-items #news dd p { 
     467#news dd p { 
    341468     margin: 0.2em 0 0 0; 
    342469} 
     
    350477     color: #fff; 
    351478} 
    352  
    353 /* POST */ 
     479/* ------------------------------------------------------------------ post */ 
     480#entry-wrapper { 
     481     float: left; 
     482     width: 100%; 
     483     margin-right: -18em; 
     484} 
     485#entry-content { 
     486     margin-right: 18em; 
     487} 
    354488#entry-sidebar { 
    355489     width: 17em; 
    356490     float: right; 
    357491} 
    358 #entry-content { 
    359      margin-right: 18em; 
    360 } 
    361492#comments { 
    362493     clear: both; 
    363494} 
    364  
    365 /* CATEGORIES */ 
     495/* ------------------------------------------------------------------ categories */ 
    366496#categories { 
    367497     margin: 1em 0 2em; 
     
    372502     padding: 0; 
    373503} 
    374 #categories ul li { 
     504#categories li { 
    375505     margin: .5em 0; 
    376506     padding: .3em 1.5em; 
     
    381511     border-radius: .3em; 
    382512} 
    383 #categories ul li h4 { 
    384      margin: 0; 
    385 } 
    386 #categories ul li h4 span { 
     513#categories h4 { 
     514     margin: 0; 
     515} 
     516#categories h4 span { 
    387517     font-weight: normal; 
    388518} 
    389 #categories ul li p { 
     519#categories li p { 
    390520     margin: 0; 
    391521} 
     
    393523     width: 100%; 
    394524} 
    395  
    396 /* MEDIA */ 
     525/* ------------------------------------------------------------------ media */ 
    397526#media-icon { 
    398527     float: left; 
     
    417546     height: 500px; 
    418547} 
    419  
    420548#add-file-f { 
    421549     position: relative; 
     
    428556     border: none; 
    429557} 
    430  
    431 /* favorites */ 
     558.media-list { 
     559     position: static; 
     560} 
     561.media-col-0 { 
     562     clear: left; 
     563} 
     564.media-item { 
     565     position: relative; 
     566     border-top: 1px solid #ccc; 
     567     margin-bottom: 1em; 
     568     padding: 5px 0; 
     569} 
     570div.media-list .media-item { 
     571     width: 49%; 
     572     float: left; 
     573     margin-right: 1%; 
     574} 
     575a.media-icon { 
     576     display: block; 
     577     border-bottom: none; 
     578     float: left; 
     579} 
     580.media-icon img { 
     581     display: block; 
     582} 
     583.media-item ul { 
     584     display: block; 
     585     list-style: none; 
     586     margin: 0 0 0 60px; 
     587     padding: 0; 
     588} 
     589li.media-action { 
     590     display: block; 
     591     position: absolute; 
     592     top: 5px; 
     593     right: 5px; 
     594     height: 16px; 
     595} 
     596li.media-action a { 
     597     border: none; 
     598} 
     599li.media-action form { 
     600     display: inline; 
     601} 
     602li.media-action input { 
     603     border: none; 
     604} 
     605/* ------------------------------------------------------------------ preferences */ 
    432606#my-favs ul { 
    433607     list-style-type: none; 
     
    436610     line-height: 1.2; 
    437611} 
    438 #my-favs ul li { 
     612#my-favs li { 
    439613     display: block; 
    440614     float: left; 
     
    455629     display: inline; 
    456630} 
    457  
    458631#default-favs h3 { 
    459632     margin-top: 2em; 
    460633     margin-bottom: 1em; 
    461634} 
    462  
    463635.fav-list { 
    464636     list-style-type: none; 
     
    472644     position: relative; 
    473645} 
    474 .fav-list li img { 
     646.fav-list img { 
    475647     vertical-align: middle; 
    476648     margin-right: .2em; 
     
    491663     border-radius: .5em; 
    492664} 
    493  
    494 /* Help */ 
     665/* -------------------------------------------------------------------- Themes */ 
     666#themes { 
     667     border-bottom: 1px solid #ccc; 
     668     margin: 1em 0; 
     669} 
     670#themes div.theme-details { 
     671     clear: left; 
     672     border-top: 1px solid #ccc; 
     673     padding: 1em 0; 
     674} 
     675#themes div.theme-details:hover { 
     676     background: #eee; 
     677} 
     678#themes div.theme-details div.theme-shot { 
     679     float: left; 
     680} 
     681#themes div.theme-details div.theme-shot img { 
     682     display: block; 
     683     width: 57px; 
     684     height: 50px; 
     685     border: 1px solid #ccc; 
     686} 
     687#themes div.theme-details div.theme-info { 
     688     margin-left: 67px; 
     689} 
     690#themes div.theme-details div.theme-info span.theme-desc { 
     691     display: block; 
     692} 
     693#themes div.theme-details div.theme-info span.theme-version { 
     694     color: #666; 
     695} 
     696#themes div.theme-details div.theme-actions { 
     697     margin-left: 67px; 
     698} 
     699/* Themes list, JS version */ 
     700#themes-wrapper { 
     701} 
     702#theme-box { 
     703     border: 1px solid #999; 
     704     border-left: none; 
     705     padding: 5px; 
     706     float: right; 
     707     height: 420px; 
     708     width: 320px; 
     709     overflow: auto; 
     710} 
     711#theme-box div.theme-shot img { 
     712     display: block; 
     713     margin: 0 0 0 10px; 
     714     width: 280px; 
     715     height: 245px; 
     716     border: 1px solid #ccc; 
     717} 
     718#theme-box div.theme-info { 
     719     margin: 1em 0 0 10px; 
     720} 
     721#theme-box h3 { 
     722     margin: 0; 
     723} 
     724#theme-box div.theme-info span { 
     725     display: block; 
     726} 
     727#theme-box span.theme-version { 
     728     color: #666; 
     729} 
     730#theme-box span.theme-parent-ok { 
     731     color: #666; 
     732} 
     733#theme-box span.theme-parent-missing { 
     734     color: #c00; 
     735     font-weight:bold; 
     736} 
     737#theme-box div.theme-actions { 
     738     margin-left: 10px; 
     739} 
     740#themes-wrapper #themes { 
     741     border: 1px solid #999; 
     742     overflow: auto; 
     743     height: 420px; 
     744     padding: 5px; 
     745     margin: 0; 
     746} 
     747#themes div.theme-details-js { 
     748     float: left; 
     749     width: 120px; 
     750     height: 150px; 
     751     margin: 0 10px 20px; 
     752     padding: 10px 10px 0; 
     753     text-align: center; 
     754     background: #f3f3f3; 
     755     border: 1px solid #f3f3f3; 
     756     cursor: pointer; 
     757     -moz-border-radius: 4px; 
     758     -webkit-border-radius: 4px; 
     759     border-radius: 4px; 
     760} 
     761#themes div.theme-details-js label { 
     762     cursor: pointer; 
     763} 
     764#themes div.theme-details-js.theme-selected { 
     765     background: #E5E3DA; 
     766     border: 1px solid #999; 
     767} 
     768#themes div.theme-details-js div.theme-shot img { 
     769     width: 120px; 
     770     height: 105px; 
     771     border: 1px solid #fff; 
     772} 
     773#themes div.theme-details-js h3 { 
     774     font-family: inherit; 
     775     font-weight: normal; 
     776     margin: 0; 
     777     padding: 0; 
     778} 
     779/* ----------------------------------------------------------  Plugins list */ 
     780#plugins td.action { 
     781     vertical-align: middle; 
     782} 
     783 
     784select.l10n option { 
     785     padding-left: 16px; 
     786} 
     787option.avail10n { 
     788     background: transparent url(../images/check-on.png) no-repeat 0 50%; 
     789} 
     790/* ------------------------------------------------------------------ contextual help */ 
    495791#help { 
    496792     margin-top: 2em; 
     
    539835     padding: 0 5px 1em 5px; 
    540836} 
    541  
    542 /* POPUP */ 
     837.help-content dt { 
     838     font-weight: bold; 
     839     color: #626262; 
     840     margin: 0; 
     841} 
     842.help-content dd { 
     843     margin: 0.3em 0 1.5em 0; 
     844} 
     845/* ------------------------------------------------------------------ popups */ 
    543846body.popup #wrapper, body.popup #top { 
    544847     margin-top: -1.5em; 
     848     float: none; 
    545849} 
    546850body.popup #top h1 { 
     
    562866     border: none; 
    563867} 
    564  
    565 /* CLASSES 
    566 -------------------------------------------------------- */ 
    567  
    568 /* -------------- paragraphe pour bouton Nouveau bidule ----------- */ 
     868/* ------------------------------------------------------------------ messages */ 
     869div.error, p.error,  
     870div.message, p.message,  
     871div.static-msg, p.static-msg { 
     872     padding: 0.5em 0.5em 0.5em 40px; 
     873     margin-bottom: 1em; 
     874     -moz-border-radius: 8px; 
     875     -webkit-border-radius: 8px; 
     876     border-radius: 8px; 
     877} 
     878p.error, p.message, p.static-msg { 
     879     padding-top: 1em; 
     880     padding-bottom: 1em; 
     881} 
     882div.error, p.error { 
     883     background: #e5bfbf url(msg-error.png) no-repeat 5px 5px; 
     884     color: #600; 
     885} 
     886div.message, p.message,  
     887div.static-msg, p.static-msg { 
     888     background: #666 url(msg-std.png) no-repeat 5px 5px; 
     889     color: #fff; 
     890} 
     891div.message a, p.message a,  
     892div.static-msg a, p.static-msg a { 
     893     color: #fff; 
     894} 
     895/* ------------------------------------------------------------------ debug */ 
     896#debug { 
     897     position: absolute; 
     898     top: 0; 
     899     width: 100%; 
     900     height: 4px; 
     901     background: #d99; 
     902} 
     903#debug div { 
     904     display: none; 
     905     padding: 3px 0.5em 2px; 
     906} 
     907#debug p { 
     908     margin: 0.5em 0; 
     909} 
     910#debug:hover { 
     911     height: auto; 
     912} 
     913#debug:hover div { 
     914     display: block; 
     915} 
     916/* -------------------------------------------------------------------- CLASSES COMMUNES */ 
     917 
     918/* paragraphe pour bouton Nouveau bidule */ 
    569919p.top-add { 
    570920     text-align: right; 
     
    579929     vertical-align: middle; 
    580930} 
    581  
    582931/* Si quelque chose a besoin d'être caché sauf pour les revues d'écran */ 
    583932.hidden { 
     
    591940    overflow: hidden; 
    592941    } 
    593  
    594 /* -------------- aide ----------- */ 
    595 .help-content dt { 
    596      font-weight: bold; 
    597      color: #626262; 
    598      margin: 0; 
    599 } 
    600 .help-content dd { 
    601      margin: 0.3em 0 1.5em 0; 
    602 } 
    603  
    604942.clear { 
    605943     clear: both; 
     
    625963     overflow: auto; 
    626964} 
    627  
    628965.grid { 
    629966     background: transparent repeat url('grid.png') 0 0; 
    630967} 
    631  
    632968.line p { 
    633969     margin: 0; 
    634970} 
    635  
    636 div.error, p.error, div.message, p.message, div.static-msg, p.static-msg { 
    637      padding: 0.5em 0.5em 0.5em 40px; 
    638      margin-bottom: 1em; 
    639      -moz-border-radius: 8px; 
    640      -webkit-border-radius: 8px; 
    641      border-radius: 8px; 
    642 } 
    643 p.error, p.message, p.static-msg { 
    644      padding-top: 1em; 
    645      padding-bottom: 1em; 
    646 } 
    647 div.error, p.error { 
    648      background: #e5bfbf url(msg-error.png) no-repeat 5px 5px; 
    649      color: #600; 
    650 } 
    651 div.message, p.message, div.static-msg, p.static-msg { 
    652      background: #666 url(msg-std.png) no-repeat 5px 5px; 
    653      color: #fff; 
    654 } 
    655 div.message a, p.message a, div.static-msg a, p.static-msg a { 
    656      color: #fff; 
    657 } 
    658  
    659971.offline { 
    660972     color: #666; 
    661973} 
    662  
    663974ul.nice { 
    664975     margin: 1em 0; 
     
    670981     padding: 0; 
    671982} 
    672  
    673 .three-cols { 
    674 } 
    675 .three-cols .col { 
    676      width: 32.3%; 
    677      float: left; 
    678      margin-left: 1%; 
    679 } 
    680 .three-cols .col:first-child { 
    681      width: 33.3%; 
    682      margin-left: 0; 
    683 } 
    684 .two-cols { 
    685      position: static; 
    686 } 
    687 .two-cols .col { 
    688      width: 49%; 
    689      margin-left: 2%; 
    690      float: left; 
    691 } 
    692 .two-cols .col:first-child { 
    693      width: 49%; 
    694      margin-left: 0; 
    695 } 
    696 .two-cols .col70{ 
    697      width: 69%; 
    698      margin-left: 0; 
    699      float: left; 
    700 } 
    701 .two-cols .col30 { 
    702      width: 28%; 
    703      margin-left: 2%; 
    704      float: left; 
    705 } 
    706  
     983.zip-dl { 
     984     background: transparent url(package.png) no-repeat 0 50%; 
     985     padding: 5px 0 5px 20px; 
     986} 
     987/* pas trouvé dans le code */ 
    707988.comment { 
    708989     border-top: 2px solid #ccc; 
     
    717998     right: 0; 
    718999} 
    719  
    720 /* -------- onglets ------ */ 
    721 .part-tabs ul { 
    722      padding: .3em 0 1px 1em; 
    723      border-bottom: 1px solid #999; 
    724 } 
    725 .part-tabs li { 
    726      list-style: none; 
    727      margin: 0; 
    728      display: inline; 
    729 } 
    730 .part-tabs li a { 
    731      padding: .3em 0.5em; 
    732      margin-right: .5em; 
    733      border: 1px solid #999; 
    734      border-bottom: none; 
    735      background: #dfdfdf; 
    736      text-decoration: none; 
    737      -webkit-border-top-left-radius: .3em; 
    738      -webkit-border-top-right-radius: .3em; 
    739      -moz-border-radius-topleft: .3em; 
    740      -moz-border-radius-topright: .3em; 
    741      border-top-left-radius: .3em; 
    742      border-top-right-radius: .3em; 
    743      color: #000; 
    744 } 
    745 .part-tabs li.part-tabs-link a { 
    746      background: #ffe; 
    747 } 
    748 .part-tabs li a:hover, .part-tabs li a:focus { 
    749      color: #000; 
    750      background: #fff; 
    751      border-bottom-color: #fff; 
    752 } 
    753 .part-tabs li.part-tabs-active a { 
    754      background: #fff; 
    755      border-bottom: 1px solid #fff; 
    756      color: #000; 
    757      font-weight: bold; 
    758 } 
    759  
    760 /* Themes list */ 
    761 #themes { 
    762      border-bottom: 1px solid #ccc; 
    763      margin: 1em 0; 
    764 } 
    765 #themes div.theme-details { 
    766      clear: left; 
    767      border-top: 1px solid #ccc; 
    768      padding: 1em 0; 
    769 } 
    770 #themes div.theme-details:hover { 
    771      background: #eee; 
    772 } 
    773 #themes div.theme-details div.theme-shot { 
    774      float: left; 
    775 } 
    776 #themes div.theme-details div.theme-shot img { 
    777      display: block; 
    778      width: 57px; 
    779      height: 50px; 
    780      border: 1px solid #ccc; 
    781 } 
    782 #themes div.theme-details div.theme-info { 
    783      margin-left: 67px; 
    784 } 
    785 #themes div.theme-details div.theme-info span.theme-desc { 
    786      display: block; 
    787 } 
    788 #themes div.theme-details div.theme-info span.theme-version { 
    789      color: #666; 
    790 } 
    791 #themes div.theme-details div.theme-actions { 
    792      margin-left: 67px; 
    793 } 
    794 /* Themes list, JS version */ 
    795 #themes-wrapper { 
    796 } 
    797 #theme-box { 
    798      border: 1px solid #999; 
    799      border-left: none; 
    800      padding: 5px; 
    801      float: right; 
    802      height: 420px; 
    803      width: 320px; 
    804      overflow: auto; 
    805 } 
    806 #theme-box div.theme-shot img { 
    807      display: block; 
    808      margin: 0 0 0 10px; 
    809      width: 280px; 
    810      height: 245px; 
    811      border: 1px solid #ccc; 
    812 } 
    813 #theme-box div.theme-info { 
    814      margin: 1em 0 0 10px; 
    815 } 
    816 #theme-box h3 { 
    817      margin: 0; 
    818 } 
    819 #theme-box div.theme-info span { 
    820      display: block; 
    821 } 
    822 #theme-box span.theme-version { 
    823      color: #666; 
    824 } 
    825 #theme-box span.theme-parent-ok { 
    826      color: #666; 
    827 } 
    828 #theme-box span.theme-parent-missing { 
    829      color: #c00; 
    830      font-weight:bold; 
    831 } 
    832 #theme-box div.theme-actions { 
    833      margin-left: 10px; 
    834 } 
    835 #themes-wrapper #themes { 
    836      border: 1px solid #999; 
    837      overflow: auto; 
    838      height: 420px; 
    839      padding: 5px; 
    840      margin: 0; 
    841 } 
    842 #themes div.theme-details-js { 
    843      float: left; 
    844      width: 120px; 
    845      height: 150px; 
    846      margin: 0 10px 20px; 
    847      padding: 10px 10px 0; 
    848      text-align: center; 
    849      background: #f3f3f3; 
    850      border: 1px solid #f3f3f3; 
    851      cursor: pointer; 
    852      -moz-border-radius: 4px; 
    853      -webkit-border-radius: 4px; 
    854      border-radius: 4px; 
    855 } 
    856 #themes div.theme-details-js label { 
    857      cursor: pointer; 
    858 } 
    859 #themes div.theme-details-js.theme-selected { 
    860      background: #E5E3DA; 
    861      border: 1px solid #999; 
    862 } 
    863 #themes div.theme-details-js div.theme-shot img { 
    864      width: 120px; 
    865      height: 105px; 
    866      border: 1px solid #fff; 
    867 } 
    868 #themes div.theme-details-js h3 { 
    869      font-family: inherit; 
    870      font-weight: normal; 
    871      margin: 0; 
    872      padding: 0; 
    873 } 
    874  
    875 /* Plugins list */ 
    876 #plugins td.action { 
    877      vertical-align: middle; 
    878 } 
    879 .media-list { 
    880      position: static; 
    881 } 
    882 .media-col-0 { 
    883      clear: left; 
    884 } 
    885 .media-item { 
    886      position: relative; 
    887      border-top: 1px solid #ccc; 
    888      margin-bottom: 1em; 
    889      padding: 5px 0; 
    890 } 
    891 div.media-list .media-item { 
    892      width: 49%; 
    893      float: left; 
    894      margin-right: 1%; 
    895 } 
    896 a.media-icon { 
    897      display: block; 
    898      border-bottom: none; 
    899      float: left; 
    900 } 
    901 .media-icon img { 
    902      display: block; 
    903 } 
    904 .media-item ul { 
    905      display: block; 
    906      list-style: none; 
    907      margin: 0 0 0 60px; 
    908      padding: 0; 
    909 } 
    910 li.media-action { 
    911      display: block; 
    912      position: absolute; 
    913      top: 5px; 
    914      right: 5px; 
    915      height: 16px; 
    916 } 
    917 li.media-action a { 
    918      border: none; 
    919 } 
    920 li.media-action form { 
    921      display: inline; 
    922 } 
    923 li.media-action input { 
    924      border: none; 
    925 } 
    926  
    927 .zip-dl { 
    928      background: transparent url(package.png) no-repeat 0 50%; 
    929      padding: 5px 0 5px 20px; 
    930 } 
    931  
    932 select.l10n option { 
    933      padding-left: 16px; 
    934 } 
    935 option.avail10n { 
    936      background: transparent url(../images/check-on.png) no-repeat 0 50%; 
    937 } 
    938  
    9391000/* TABLES 
    9401001-------------------------------------------------------- */ 
     
    9581019     border-bottom-color: #666; 
    9591020} 
    960  
    9611021.noborder td, td.noborder, .noborder th, th.noborder { 
    9621022     border-width: 0; 
    9631023} 
    964  
    9651024table .maximal, table.maximal { 
    9661025     width: 100%; 
     
    9691028     width: 1px; 
    9701029} 
    971  
    9721030table .nowrap { 
    9731031     white-space: nowrap; 
    9741032     vertical-align: top; 
    9751033} 
    976  
    9771034td.status { 
    9781035     vertical-align: middle; 
     
    10141071} 
    10151072 
    1016 /* FORMS 
    1017 -------------------------------------------------------- */ 
     1073/* ----------------------------------------------------------------- FORMS */ 
    10181074form { 
    10191075     display: block; 
     
    10211077     padding: 0; 
    10221078} 
    1023  
    10241079fieldset { 
    10251080     display: block; 
     
    10471102     font-weight: normal; 
    10481103} 
    1049  
    10501104input, textarea, select { 
    10511105     background: #f9f9f9; 
     
    10741128     background: transparent; 
    10751129} 
    1076  
    10771130label { 
    10781131     display: block; 
     
    11141167     width: 100%; 
    11151168} 
    1116  
    11171169label.required { 
    11181170     font-weight: bold; 
     
    11391191     top: 0; 
    11401192} 
    1141  
    11421193label .maximal, textarea.maximal, input.maximal { 
    11431194     width: 100%; 
     
    11511202     padding-left: 20px; 
    11521203} 
    1153  
    11541204fieldset.constrained { 
    11551205     margin: 0; 
     
    11591209} 
    11601210 
    1161 #login-screen { 
    1162      display: block; 
    1163      width: 18em; 
    1164      margin: 1.5em auto 0; 
    1165      font-size: 1.1em; 
    1166 } 
    1167 #login-screen h1 { 
    1168      text-indent: -2000px; 
    1169      background: transparent url(dotclear-logo2.png) no-repeat top left; 
    1170      height: 50px; 
    1171      margin-bottom: .5em; 
    1172      margin-left: .5em; 
    1173 } 
    1174 #login-screen fieldset { 
    1175      border: 1px solid #999; 
    1176      padding: 1em 1em 0 1em; 
    1177      -moz-border-radius: 4px; 
    1178      -webkit-border-radius: 4px; 
    1179      border-radius: 4px; 
    1180 } 
    1181 #login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { 
    1182      width: 100%; 
    1183 } 
    1184 #login-screen #issue { 
    1185      margin-left: 1em; 
    1186      font-size: 1em; 
    1187 } 
    1188 #login-screen #issue strong {font-weight: normal;} 
    1189  
    1190  
    1191 /* ------------------  Tous les boutons -------------------- */ 
     1211/* --------------------------------------------------------------- buttons */ 
    11921212h2 a.button { 
    11931213     color: #333; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map