Changeset 12541
- Timestamp:
- 12/25/2009 03:16:25 AM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/theme-editor.css
r11857 r12541 1 #template textarea{font-family:Consolas,Monaco,Courier,monospace;font-size:12px;width:97%;}#template p{width:97%;}#templateside{float:right;width:190px;word-wrap:break-word;}#templateside h3,#postcustomstuff p.submit{margin:0;}#templateside h4{margin:1em 0 0;}#templateside ol,#templateside ul{margin:.5em;padding:0;}#templateside li{margin:4px 0;}.nonessential{font-size: small;}.highlight{padding:1px;}div.tablenav{margin-right:210px;}#documentation{margin-top:10px;}#documentation label{line-height:22px;vertical-align:top;font-weight:bold;}.fileedit-sub{padding:10px 0 8px;line-height:180%;}1 #template textarea{font-family:Consolas,Monaco,Courier,monospace;font-size:12px;width:97%;}#template p{width:97%;}#templateside{float:right;width:190px;word-wrap:break-word;}#templateside h3,#postcustomstuff p.submit{margin:0;}#templateside h4{margin:1em 0 0;}#templateside ol,#templateside ul{margin:.5em;padding:0;}#templateside li{margin:4px 0;}.nonessential{font-size:11px;font-style:italic;padding-left:12px;}.highlight{padding:3px 3px 3px 12px;margin-left:-12px;font-weight:bold;-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}div.tablenav{margin-right:210px;}#documentation{margin-top:10px;}#documentation label{line-height:22px;vertical-align:top;font-weight:bold;}.fileedit-sub{padding:10px 0 8px;line-height:180%;} -
trunk/wp-admin/css/theme-editor.dev.css
r11857 r12541 35 35 36 36 .nonessential { 37 font-size: small; 37 font-size: 11px; 38 font-style: italic; 39 padding-left: 12px; 38 40 } 39 41 40 42 .highlight { 41 padding: 1px; 43 padding: 3px 3px 3px 12px; 44 margin-left: -12px; 45 font-weight: bold; 46 -moz-border-radius: 8px; 47 -khtml-border-radius: 8px; 48 -webkit-border-radius: 8px; 49 border-radius: 8px; 42 50 } 43 51 -
trunk/wp-admin/theme-editor.php
r12513 r12541 143 143 <br class="clear" /> 144 144 <div id="templateside"> 145 <h3><?php _e("Theme Files"); ?></h3>146 145 147 146 <?php 148 147 if ($allowed_files) : 149 148 ?> 150 <h 4><?php _e('Templates'); ?></h4>149 <h3><?php _e('Templates'); ?></h3> 151 150 <ul> 152 151 <?php … … 156 155 $description = trim( get_file_description($template_file) ); 157 156 $template_show = basename($template_file); 158 $filedesc = ( $description != $template_file ) ? "$description <span class='nonessential'>($template_show)</span>" : $description;159 $filedesc = ( $template_file == $file ) ? "< span class='highlight'>$description <span class='nonessential'>($template_show)</span></span>" : $filedesc;157 $filedesc = ( $description != $template_file ) ? "$description<br /><span class='nonessential'>($template_show)</span>" : "$description"; 158 $filedesc = ( $template_file == $file ) ? "<div class='highlight'>$description<br /><span class='nonessential'>($template_show)</span></div>" : $filedesc; 160 159 161 160 // If we have two files of the same name prefer the one in the Template Directory … … 175 174 <?php endwhile; ?> 176 175 </ul> 177 <h 4><?php /* translators: Theme stylesheets in theme editor */ echo _x('Styles', 'Theme stylesheets in theme editor'); ?></h4>176 <h3><?php /* translators: Theme stylesheets in theme editor */ echo _x('Styles', 'Theme stylesheets in theme editor'); ?></h3> 178 177 <ul> 179 178 <?php … … 183 182 $description = trim( get_file_description($style_file) ); 184 183 $style_show = basename($style_file); 185 $filedesc = ( $description != $style_file ) ? "$description 186 $filedesc = ( $style_file == $file ) ? "< span class='highlight'>$description <span class='nonessential'>($style_show)</span></span>" : $filedesc;184 $filedesc = ( $description != $style_file ) ? "$description<br /><span class='nonessential'>($style_show)</span>" : "$description"; 185 $filedesc = ( $style_file == $file ) ? "<div class='highlight'>$description<br /><span class='nonessential'>($style_show)</span></div>" : $filedesc; 187 186 $template_mapping[ $description ] = array( _get_template_edit_filename($style_file, $stylesheet_dir), $filedesc ); 188 187 }
Note: See TracChangeset
for help on using the changeset viewer.