Dotclear

Changeset 1621:ee70ba4550a7 for admin


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

Page: add New comment button and new comment form in "Comments" tab.
CSS: inputs borders

Location:
admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r1620 r1621  
    641641      
    642642     if ($has_action) { 
    643           echo '<form action="comments_actions.php" id="form-comments" method="post" class="clear">'; 
    644      } 
    645       
    646      echo '<h3 class="clear">'.__('Trackbacks').'</h3>'; 
     643          echo '<form action="comments_actions.php" id="form-comments" method="post">'; 
     644     } 
     645      
     646     echo '<h3>'.__('Trackbacks').'</h3>'; 
    647647      
    648648     if (!$trackbacks->isEmpty()) { 
  • admin/style/default.css

    r1619 r1621  
    2626     padding: 0; 
    2727} 
     28 
    2829a, a:link, a:visited { 
    2930     color: #2373A8; 
     
    378379} 
    379380#search-menu * { 
    380      height: 20px; /* ie < 9 sucks */ 
    381      height: 2rem; 
     381     height: 22px; /* ie < 9 sucks */ 
     382     height: 2.2rem; 
     383     display: inline-block; 
     384     vertical-align: top; 
     385     line-height: 22px; 
    382386} 
    383387#search-menu p { 
    384      display: inline-block; 
    385388     border: 1px solid #999; 
    386389     border-radius: .3em; 
     
    388391     overflow: hidden; 
    389392} 
    390 #search-menu #qx { 
    391      width: 120px; /* ie < 9 sucks */ 
    392      width: 12rem; 
     393#qx { 
     394     width: 124px; /* ie < 9 sucks */ 
     395     width: 12.4rem; 
    393396     border-bottom-left-radius: .3em; 
    394397     border-top-left-radius: .3em; 
    395398     background: transparent url(search.png) no-repeat 4px center; 
    396399     text-indent: 18px; 
    397      padding: 0 2px; 
     400     padding: 0; 
    398401     border: none; 
     402     height: 22px; 
     403     height: 2.2rem; 
     404} 
     405#qx:focus { 
     406     border: 2px solid #BBDB58; 
    399407} 
    400408#search-menu input[type="submit"] { 
    401409     padding: 0 3px; 
    402410     padding: 0 .3rem; 
     411     margin-left: -4px; 
    403412     background: #dfdfdf; 
    404413     border-color: #999; 
     
    621630     float: right; 
    622631} 
    623 #entry-sidebar input[type="text"], 
    624632#entry-sidebar select { 
    625      width: 14em; /* to prevent inline with label */ 
     633     width: 100%; 
    626634} 
    627635#entry-sidebar input#post_position { 
     
    11811189     margin-top: 2em; 
    11821190} 
     1191p.clear.vertical-separator { 
     1192     padding-top: 2em; 
     1193} 
    11831194.border-top { 
    11841195     border-top: 1px solid #999; 
     
    14181429     background: #f9f9f9; 
    14191430     color: #000; 
    1420      border-width: 1px; 
     1431     border-width: 2px; 
    14211432     border-style: solid; 
    1422      border-color: #666 #ccc #ccc #999; 
     1433     border-color: #ccc #ddd #ddd #ccc;  
     1434} 
     1435select { 
     1436     border-right: none; 
    14231437} 
    14241438input.invalid, textarea.invalid, select.invalid { 
     
    15471561     -webkit-box-sizing: border-box; 
    15481562     -moz-box-sizing: border-box; 
    1549      box-sizing: border-box;   
     1563     box-sizing: border-box; 
    15501564     border: 2px solid #BBDB58; 
    15511565} 
  • admin/style/jsToolBar/jsToolBar.css

    r1618 r1621  
    66} 
    77.jstEditor textarea, .jstEditor iframe { 
    8   margin: 0; 
    9   border: 0; 
    10   padding: 0; 
    11 } 
    12 .jstEditor textarea { 
    138     -webkit-box-sizing: border-box; 
    149     -moz-box-sizing: border-box; 
    1510     box-sizing: border-box;   
     11     margin: 0; 
     12     border: 2px solid #f9f9f9; 
    1613     width: 100%; 
    1714     padding: .5em 0 0 0; 
     
    2623     border-style: solid; 
    2724} 
    28 .jstEditor textarea:focus { 
     25.jstEditor textarea:focus, .jstEditor iframe:focus { 
    2926     border: 2px solid #BBDB58; 
    3027} 
  • admin/user.php

    r1620 r1621  
    206206 
    207207echo 
    208 '<form action="user.php" method="post" id="user-form" class="fieldset">'. 
     208'<form action="user.php" method="post" id="user-form">'. 
    209209'<div class="two-cols">'. 
    210210 
     
    224224 
    225225echo 
    226 '<form action="user.php" method="post" id="user-form">'. 
    227 '<fieldset><legend>'.__('User information').'</legend>'. 
    228 '<div class="two-cols">'. 
    229 '<div class="col">'. 
    230 '<p><label for="user_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').' '. 
    231 form::field('user_id',20,255,html::escapeHTML($user_id)). 
    232 '</label></p>'. 
    233 '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p>'. 
    234  
    235226'<div class="pw-table">'. 
    236227     '<p class="pw-cell">'. 
     
    319310 
    320311echo 
    321 '<p class="clear border-top"><label for="your_pwd" class="required">'. 
     312'<p class="clear vertical-separator"><label for="your_pwd" class="required">'. 
    322313'<abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label>'. 
    323314form::password('your_pwd',20,255).'</p>'. 
     
    387378     }  
    388379     else { 
    389           echo '<p>'.sprintf(__('User %s is super admin.'),$user_id).'</p>'; 
     380          echo '<p>'.sprintf(__('%s is super admin (all rights on all blogs).'),'<strong>'.$user_id.'</strong>').'</p>'; 
    390381     }     
    391382     echo '</div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map