Dotclear

Changeset 1378:329f01606608


Ignore:
Timestamp:
08/15/13 09:29:04 (10 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

And now, I'm waiting old people who will cry "Boohoo, it was better before!" Go ahead ;-)

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r1358 r1378  
    121121$__dashboard_items = new ArrayObject(array(new ArrayObject,new ArrayObject)); 
    122122 
    123 # Documentation links 
    124123$dashboardItem = 0; 
    125 if ($core->auth->user_prefs->dashboard->doclinks) { 
    126      if (!empty($__resources['doc'])) 
    127      { 
    128           $doc_links = '<h3>'.__('Documentation and support').'</h3><ul>'; 
    129       
    130           foreach ($__resources['doc'] as $k => $v) { 
    131                $doc_links .= '<li><a href="'.$v.'" title="'.$k.' '.__('(external link)').'">'.$k.'</a></li>'; 
    132           } 
    133       
    134           $doc_links .= '</ul>'; 
    135           $__dashboard_items[$dashboardItem][] = $doc_links; 
    136           $dashboardItem++; 
    137      } 
    138 } 
    139124 
    140125if ($core->auth->user_prefs->dashboard->dcnews) { 
     
    180165} 
    181166 
     167# Documentation links 
     168if ($core->auth->user_prefs->dashboard->doclinks) { 
     169     if (!empty($__resources['doc'])) 
     170     { 
     171          $doc_links = '<h3>'.__('Documentation and support').'</h3><ul>'; 
     172      
     173          foreach ($__resources['doc'] as $k => $v) { 
     174               $doc_links .= '<li><a href="'.$v.'" title="'.$k.' '.__('(external link)').'">'.$k.'</a></li>'; 
     175          } 
     176      
     177          $doc_links .= '</ul>'; 
     178          $__dashboard_items[$dashboardItem][] = $doc_links; 
     179          $dashboardItem++; 
     180     } 
     181} 
     182 
    182183$core->callBehavior('adminDashboardItems', $core, $__dashboard_items); 
    183184 
  • admin/style/default.css

    r1377 r1378  
    383383     color: #000; 
    384384     font-variant: small-caps; 
     385     padding-top: .6rem; 
    385386} 
    386387#favorites-menu a { 
     
    438439/* ------------------------------------------------------------------ dashboard */ 
    439440#dashboard-main { 
    440      float: left; 
    441      overflow: hidden; 
    442      padding: 1em 2% 1em 0; 
    443      width: 70%; 
    444 } 
    445 #dashboard-main.fullwidth { 
    446      width: 100%; 
    447441     padding: 1em 0; 
    448      float: none; 
    449442} 
    450443#icons { 
     
    456449     width: 210px; 
    457450     text-align: center; 
    458      margin: 2em 0; 
     451     margin: 1em 0; 
     452     padding: 1em 0; 
    459453     display:inline-block; 
     454     vertical-align: top; 
    460455} 
    461456#icons a, 
     
    470465     border-bottom: 1px dotted #f90; 
    471466} 
     467#icons a img { 
     468     padding: 2em; 
     469     background: #eee; 
     470     border-radius: 1.6rem; 
     471     box-shadow: 0 3px 3px 0 #ccc; 
     472} 
     473#icons a img:hover { 
     474     background-color: #BBDB58; 
     475} 
    472476#icons a:focus span, #icons a:hover span { 
    473477     text-decoration: underline; 
    474478} 
    475479#quick { 
    476      clear: left; 
    477480     margin-top: 2em; 
    478481} 
     
    489492} 
    490493#dashboard-items { 
    491      float: left; 
    492      width: 27%; 
    493      overflow: hidden; 
    494      padding-bottom: 1em; 
    495      padding-top: 3em; 
     494     margin: 2em auto; 
     495     display: table; 
     496     /*background: #eef;*/ 
     497     border-collapse: collapse; 
     498} 
     499#dashboard-items div { 
     500     display: table-cell; 
     501     padding: 1em 3em; 
     502     vertical-align: top; 
     503     border: 1px dashed #A2CBE9; 
    496504} 
    497505#dashboard-items img { 
     
    15401548     #help-button {width:20px; overflow: hidden;} 
    15411549     #info-box1 {margin-left: 1rem;} 
     1550     #dashboard-items div {display: block;margin-bottom: 1em} 
    15421551} 
    15431552@media screen and (max-width: 492px) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map