Dotclear

Changeset 1311:b57043a88153


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

Responsive enhancement + je sais plus quoi.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r1215 r1311  
    383383if ($can_edit_post) 
    384384{ 
    385      echo '<div class="multi-part" title="'.__('Edit entry').'" id="edit-entry">'; 
     385     echo '<div class="multi-part" title="'.($post_id ? __('Edit entry') : __('New entry')).'" id="edit-entry">'; 
    386386     echo '<form action="post.php" method="post" id="entry-form">'; 
    387387     echo '<div id="entry-wrapper">'; 
     
    389389      
    390390     echo 
    391      '<p class="col"><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:'). 
     391     '<p class="col"><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 
    392392     form::field('post_title',20,255,html::escapeHTML($post_title),'maximal'). 
    393      '</label></p>'. 
     393     '</p>'. 
    394394      
    395395     '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').'</label> '. 
     
    402402     '</p>'. 
    403403      
    404      '<p class="area" id="notes-area"><label for="post_notes">'.__('Notes:').'</label>'. 
     404     '<p class="area" id="notes-area"><label for="post_notes">'.__('Personal notes:').'</label>'. 
    405405     form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). 
    406406     '</p>'; 
  • admin/style/default.css

    r1310 r1311  
    296296     float: left; 
    297297     margin:0; 
    298      padding-top: 4em; 
     298     padding-top: .5em; 
    299299     padding-bottom: 1em; 
    300300     background: #f7f7f7; 
     
    332332#main-menu .active { 
    333333     font-weight: bolder; 
     334} 
     335#search-menu { 
     336     padding: .3rem .4rem 0; 
     337} 
     338#search-menu p { 
     339     display: inline-block; 
     340} 
     341#search-menu #q { 
     342     width: 12rem; 
     343     border-bottom-left-radius: .6em; 
     344     border-top-left-radius: .6em; 
     345     border-color: #999; 
     346     background: transparent url(search.png) no-repeat 4px center; 
     347     text-indent: 18px; 
     348     height: 2rem; 
     349     padding: 0 2px;  
     350} 
     351#search-menu input[type="submit"] { 
     352     padding: .1rem .3rem; 
     353     background: #dfdfdf; 
     354     border-color: #999; 
     355     color: #666; 
     356     border-bottom-right-radius: .6em; 
     357     border-top-right-radius: .6em; 
     358     text-shadow: none; 
     359     height: 2.2rem; 
     360     font-size: 1rem; 
     361     margin-left: -.5em; 
     362} 
     363#search-menu input[type="submit"]:hover, 
     364#search-menu input[type="submit"]:focus { 
     365     background: #575859; 
     366     color: #fff; 
    334367} 
    335368#favorites-menu, #blog-menu, #system-menu, #plugins-menu { 
     
    354387     padding: 0 1em; 
    355388     text-align: center; 
    356      font-size: 1.1em; 
     389     font-size: 1em; 
    357390} 
    358391#footer a { 
    359392} 
    360393#footer p span.credit { 
    361      font-size: .85em; 
     394     font-size: 1rem; 
    362395     font-weight: normal; 
    363396} 
     
    852885/* ------------------------------------------------------------------ popups */ 
    853886body.popup #wrapper, body.popup #top { 
    854      margin-top: -1.5em; 
     887     width: 100%; 
     888     padding: 0; 
     889} 
     890body.popup #wrapper { 
    855891     float: none; 
    856 } 
    857 body.popup #top h1 { 
    858      background: transparent; 
     892     margin:0; 
     893     display: block; 
     894} 
     895body.popup h1, body.popup #top { 
     896     margin: 0; 
     897     border-bottom: 1px solid; 
     898     font-weight: normal; 
     899     color: #fff; 
     900     background: #575859; 
     901     font-size: 1.5em; 
     902     text-indent: .6rem; 
     903     line-height: 1.3em; 
    859904} 
    860905body.popup #main { 
    861      margin-left: -35px; 
    862      margin-bottom: 1em; 
     906     margin-bottom: 1em 0; 
    863907} 
    864908body.popup #content { 
    865      margin-left: 35px; 
    866      margin-left: 2em;  /* 3.2 */ 
    867 } 
    868 body.popup #footer { 
    869      display: none; /* 3.2 */ 
     909     margin: 0; 
     910     padding: .6rem 0 !important; 
     911} 
     912body.popup #content h2 { 
     913     margin: 0 0 1em; 
    870914} 
    871915body.popup #footer p { 
    872      margin-left: 35px; 
    873916     border: none; 
    874917} 
     
    14391482     } 
    14401483     #info-box1 select {width: 14rem;} 
    1441      #help-button {position: absolute; top: 8rem; right:0;} 
    14421484     #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { 
    14431485     display:block; 
     
    14561498@media screen and (max-width: 720px) { 
    14571499     .smallscreen {display: none;} 
     1500     #help-button {width:20px; overflow: hidden;} 
    14581501} 
    14591502@media screen and (max-width: 492px) { 
    14601503     #header {min-height:3.6rem;} 
    1461      .page-title, #info-boxes {display: inline-block;} 
    1462      #help-button {top: 9rem;} 
     1504     #wrapper {font-size: 1.6rem;} 
     1505     .page-title, #info-boxes, .media-item {display: inline-block;} 
     1506     div.media-list .media-item {width: 90%; float: none} 
    14631507     #top h1 a, #top {height: auto;} 
    14641508     #info-box1 p.nomobile, label.nomobile {display: none;} 
    1465 } 
     1509     #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size: 1rem;line-height: 68px} 
     1510} 
  • inc/admin/lib.dc.page.php

    r1310 r1311  
    177177          "</div>\n".         // End of #main 
    178178 
    179           '<div id="main-menu">'."\n"; 
     179          '<div id="main-menu">'."\n". 
     180 
     181          '<form id="search-menu" action="search.php" method="get">'. 
     182          '<p><label for="q" class="hidden">'.__('Search:').' </label>'.form::field('q',30,255,''). 
     183          '<input type="submit" value="'.__('OK').'" /></p>'. 
     184          '</form>'; 
    180185 
    181186          foreach ($menu as $k => $v) { 
     
    217222          'xml:lang="'.$core->auth->getInfo('user_lang').'" '. 
    218223          'lang="'.$core->auth->getInfo('user_lang').'">'."\n". 
     224          '<meta name="viewport" content="width=device-width, initial-scale=1.0" />'."\n". 
    219225          "<head>\n". 
    220226          '  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />'."\n". 
     
    242248          '<body id="dotclear-admin" class="popup">'."\n". 
    243249 
    244           '<div id="top"><h1>'.DC_VENDOR_NAME.'</h1></div>'."\n"; 
     250          '<div id="top hidden"><h1>'.DC_VENDOR_NAME.'</h1></div>'."\n"; 
    245251 
    246252          echo 
Note: See TracChangeset for help on using the changeset viewer.

Sites map