Dotclear

Changeset 1310:fd5d59362c7a


Ignore:
Timestamp:
08/07/13 07:21:17 (10 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Responsive enhancement.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/auth.php

    r1309 r1310  
    265265  <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 
    266266  <meta name="GOOGLEBOT" content="NOSNIPPET" /> 
    267   <meta name="viewport" content="initial-scale=1.0" /> 
     267  <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 
    268268  <title><?php echo html::escapeHTML(DC_VENDOR_NAME); ?></title> 
    269269   
  • admin/style/default.css

    r1309 r1310  
    5252.page-title { 
    5353     color: #d30e60; 
     54} 
     55#content > h2 { 
     56     padding: 0 1.8rem .6rem; 
     57     margin: 0 -1.8rem 1rem; 
     58     background: #fff url(dc_bg_title.png) repeat-x center bottom; 
    5459} 
    5560h3 { 
     
    209214     margin: 0 0 0 14.5em; 
    210215     padding: .9rem 1.8rem 1.8rem; 
    211      background: #fff url(dc_bg_title.png) repeat-x center top; 
     216     background: #fff; 
    212217} 
    213218     /* Micro clearfix thx to Nicolas Gallagher */ 
     
    787792/* ------------------------------------------------------------------ contextual help */ 
    788793#help { 
    789      margin-top: 2em; 
     794     margin-top: 4em; 
    790795     background: #f5f5f5; 
    791796     z-index: 100; 
     
    892897div.static-msg a, p.static-msg a { 
    893898     color: #fff; 
     899} 
     900#content > .message, #content > .error { 
     901     margin-right: 14em 
    894902} 
    895903/* ------------------------------------------------------------------ navigation */ 
     
    14321440     #info-box1 select {width: 14rem;} 
    14331441     #help-button {position: absolute; top: 8rem; right:0;} 
    1434      #main-menu, #main, #content, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { 
     1442     #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { 
    14351443     display:block; 
    14361444     width: 98%; 
     
    14501458} 
    14511459@media screen and (max-width: 492px) { 
    1452      #info-boxes {float:right;} 
    1453      #info-box1, #info-box2 {display: block;} 
    1454      #header {height:7.2rem;} 
    1455      #help-button {top: 11rem;} 
    1456      #info-boxes {display: inline-block; height: auto;} 
     1460     #header {min-height:3.6rem;} 
     1461     .page-title, #info-boxes {display: inline-block;} 
     1462     #help-button {top: 9rem;} 
    14571463     #top h1 a, #top {height: auto;} 
    1458 } 
     1464     #info-box1 p.nomobile, label.nomobile {display: none;} 
     1465} 
  • inc/admin/lib.dc.page.php

    r1309 r1310  
    7373               } 
    7474               $blog_box = 
    75                '<p><label for="switchblog" class="classic">'. 
     75               '<p><label for="switchblog" class="classic nomobile">'. 
    7676               __('Blogs:').'</label> '. 
    7777               $core->formNonce(). 
     
    9595          '  <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" />'."\n". 
    9696          '  <meta name="GOOGLEBOT" content="NOSNIPPET" />'."\n". 
    97           '  <meta name="viewport" content="initial-scale=1.0" />'."\n". 
     97          '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />'."\n". 
    9898          '  <title>'.$title.' - '.html::escapeHTML($core->blog->name).' - '.html::escapeHTML(DC_VENDOR_NAME).' - '.DC_VERSION.'</title>'."\n". 
    9999 
     
    134134          '<form action="index.php" method="post">'. 
    135135          $blog_box. 
    136           '<p><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site').' ('.__('new window').')'.'">'.__('Go to site').' <img src="images/outgoing.png" alt="" /></a>'. 
     136          '<p class="nomobile"><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site').' ('.__('new window').')'.'">'.__('Go to site').' <img src="images/outgoing.png" alt="" /></a>'. 
    137137          '</p></form>'. 
    138138          '</div>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map