Changeset 1571:b0ddb761f440
- Timestamp:
- 08/25/13 09:45:43 (10 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r1566 r1571 170 170 sprintf(($rs->nb_post > 1 ? __('%d entries') : __('%d entry') ),$rs->nb_post).'</a>'. 171 171 ', '.__('total:').' '.$rs->nb_total.') '. 172 __('URL:').' <code>'.html::escapeHTML($rs->cat_url).'</code></p>';172 '<span class="cat-url">'.__('URL:').' <code>'.html::escapeHTML($rs->cat_url).'</code></span></p>'; 173 173 174 174 $level = $rs->level; -
admin/category.php
r1553 r1571 191 191 '<p><label for="new_cat_parent">'.__('Parent:').' '. 192 192 '<select id="new_cat_parent" name="new_cat_parent" >'. 193 '<option value="0">'.__(' Top level').'</option>';193 '<option value="0">'.__('(none)').'</option>'; 194 194 while ($rs->fetch()) { 195 195 echo '<option value="'.$rs->cat_id.'" '.(!empty($_POST['new_cat_parent']) && $_POST['new_cat_parent'] == $rs->cat_id ? 'selected="selected"' : '').'>'. 196 str_repeat(' ',$rs->level ).html::escapeHTML($rs->cat_title).'</option>';196 str_repeat(' ',$rs->level-1).($rs->level-1 == 0 ? '' : '• ').html::escapeHTML($rs->cat_title).'</option>'; 197 197 } 198 198 echo -
admin/style/default.css
r1569 r1571 17 17 } 18 18 body { 19 font-size: 12px; /* ie < 9 sucks */ 19 20 font-size: 1.2rem; 20 21 line-height: 1.5; … … 40 41 h1, h2, h3, .as_h3, h4, h5, h6, p { 41 42 margin-top: 0; 42 margin-bottom: 1 rem;43 margin-bottom: 1em; 43 44 } 44 45 h2 { 45 46 color: #666; 47 font-size: 18px; /* ie < 9 sucks */ 46 48 font-size: 1.8rem; 47 padding: 0 0 1. 8rem;49 padding: 0 0 1.5em; 48 50 font-weight: normal; 49 51 } … … 56 58 } 57 59 .page-title img { 58 padding-left: . 6rem;60 padding-left: .5em; 59 61 vertical-align: middle; 60 62 } 61 63 #content > h2 { 64 padding: 0 18px 6px; /* ie < 9 sucks */ 62 65 padding: 0 1.8rem .6rem; 66 margin: 0 -18px .5em; /* ie < 9 sucks */ 63 67 margin: 0 -1.8rem 1rem; 64 68 background: #fff url(bg_h2.png) repeat-x center bottom; … … 66 70 h3, .as_h3 { 67 71 color: #575859; 72 font-size: 16px; /* ie < 9 sucks */ 73 font-size: 1.6rem; 74 } 75 h4 { 76 font-size: 14px; /* ie < 9 sucks */ 68 77 font-size: 1.4rem; 69 }70 h4 {71 font-size: 1.1em;72 78 color: #575859; 73 79 } 74 80 h5 { 75 font-size: 1em; 81 font-size: 12px; /* ie < 9 sucks */ 82 font-size: 1.3rem; 76 83 color: #575859; 77 84 } … … 81 88 } 82 89 .entry-status label img { 83 padding-left: .4rem;90 padding-left: 4px; 84 91 vertical-align: text-top; 85 92 } … … 136 143 } 137 144 #prelude li a { 145 padding-left: 16px; /* ie < 9 sucks */ 138 146 padding-left: 1.6rem; 139 147 background: #A2CBE9; … … 150 158 padding: 0; 151 159 margin: 0; 152 height: 3 .6rem;160 height: 36px; 153 161 text-indent: -1000px; 154 162 } … … 157 165 top: 0; 158 166 left: 0; 167 width: 174px; /* ie < 9 sucks */ 159 168 width: 17.4rem; 169 height: 36px; /* ie < 9 sucks */ 160 170 height: 3.6rem; 161 171 border: none; … … 169 179 } 170 180 #info-boxes { 171 font-size: 1em; 181 font-size: 12px; /* ie < 9 sucks */ 182 font-size: 1.2rem; 172 183 line-height: 3em; 173 184 } 174 185 #info-box1 { 175 186 margin: 0; 176 padding: 0 3px 0 1 .8rem;187 padding: 0 3px 0 18px; 177 188 color: #fff; 178 189 display: inline-block; … … 180 191 #info-box2 { 181 192 margin: 0; 182 padding: 0 1 .3em0 0;193 padding: 0 16px 0 0; 183 194 color: #fff; 184 195 float: right; … … 190 201 } 191 202 #info-box1 select { 203 width: 145px; /* ie < 9 sucks */ 192 204 width: 14.5em; 193 205 } … … 232 244 #content { 233 245 margin: 0 0 0 14.5em; 246 padding: 9px 18px 18px; /* ie < 9 sucks */ 234 247 padding: .9rem 1.8rem 1.8rem; 235 248 background: #fff; … … 280 293 /* -------------------------------------------------------------- layout - onglets */ 281 294 .part-tabs ul { 282 padding: .5em 0 .3em 1 .2rem;295 padding: .5em 0 .3em 1em; 283 296 border-bottom: 1px solid #ddd; 284 297 } … … 319 332 #main-menu h3 { 320 333 margin: 0; 321 padding: 1.2rem 0 1rem 2.2rem; 322 text-indent: -1.6rem; 334 padding: 10px 0 10px 8px; 323 335 color: #666; 324 336 font-size: 1.4rem; … … 328 340 } 329 341 #main-menu ul { 330 margin: 0 0 1. 8rem 0;342 margin: 0 0 1.5em 0; 331 343 padding: 0; 332 344 list-style: none; … … 335 347 display: block; 336 348 margin: 0.5em 0 0; 337 padding: .3rem0 0 30px;349 padding: 3px 0 0 30px; 338 350 background-repeat: no-repeat; 339 351 background-position: 8px .3em; 352 } 353 #main-menu ul li:first-child { 354 margin-top: 0; 340 355 } 341 356 #main-menu li.active { … … 360 375 display: inline-block; 361 376 border: 1px solid #999; 362 border-radius: . 6em;377 border-radius: .3em; 363 378 position: relative; 364 379 height: 2rem; … … 367 382 #search-menu #q { 368 383 width: 12rem; 369 border-bottom-left-radius: . 6em;370 border-top-left-radius: . 6em;384 border-bottom-left-radius: .3em; 385 border-top-left-radius: .3em; 371 386 background: transparent url(search.png) no-repeat 4px center; 372 387 text-indent: 18px; … … 380 395 border-color: #999; 381 396 color: #444; 382 border-bottom-right-radius: . 6em;383 border-top-right-radius: . 6em;397 border-bottom-right-radius: .3em; 398 border-top-right-radius: .3em; 384 399 border-top-left-radius: 0; 385 400 border-bottom-left-radius: 0; … … 608 623 /* ------------------------------------------------------------------ categories */ 609 624 #categories { 610 margin: 1em 0 2em;625 margin: 1em 0; 611 626 } 612 627 #categories ul { … … 636 651 #categories li p { 637 652 margin: 0; 653 display: inline-block; 654 } 655 .cat-url { 656 padding-left: 1em; 638 657 } 639 658 .cat-actions { … … 1123 1142 .fieldset h3 { 1124 1143 color: #333; 1144 } 1145 .table { 1146 display: table; 1147 } 1148 .cell { 1149 display: table-cell; 1125 1150 } 1126 1151
Note: See TracChangeset
for help on using the changeset viewer.