Make WordPress Core

Changeset 10004


Ignore:
Timestamp:
12/01/2008 09:32:51 PM (17 years ago)
Author:
azaozz
Message:

Coding for new icons for List/Excerpt view switch

Location:
trunk/wp-admin
Files:
2 added
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r9990 r10004  
    14191419}
    14201420
    1421 .view-switch img {
    1422     border-color: #fff;
    1423 }
    1424 
    1425 .view-switch img.current {
    1426     border-color: #999;
    1427 }
    1428 
    14291421#wp_editimgbtn,
    14301422#wp_delimgbtn,
     
    15471539    background: transparent url(../images/icons32-vs.png) no-repeat -492px -5px;
    15481540}
     1541
     1542.view-switch #view-switch-list {
     1543    background: transparent url(../images/list-vs.png) no-repeat 0 0;
     1544}
     1545
     1546.view-switch #view-switch-list.current {
     1547    background: transparent url(../images/list-vs.png) no-repeat -40px 0;
     1548}
     1549
     1550.view-switch #view-switch-excerpt {
     1551    background: transparent url(../images/list-vs.png) no-repeat -20px 0;
     1552}
     1553
     1554.view-switch #view-switch-excerpt.current {
     1555    background: transparent url(../images/list-vs.png) no-repeat -60px 0;
     1556}
  • trunk/wp-admin/css/colors-fresh.css

    r9990 r10004  
    142142strong .post-com-count span {
    143143    background-color: #21759b;
    144 }
    145 
    146 #login form .submit input,
    147 .search-box .button {
    148     background-color: #cee1ef !important;
    149 }
    150 
    151 #favorite-actions .favorite-action {
    152     border-top-color: #cee1ef;
    153144}
    154145
     
    14281419}
    14291420
    1430 .view-switch img {
    1431     border-color: #fff;
    1432 }
    1433 
    1434 .view-switch img.current {
    1435     border-color: #999;
    1436 }
    1437 
    14381421#wp_editimgbtn,
    14391422#wp_delimgbtn,
     
    15561539    background: transparent url(../images/icons32.png) no-repeat -492px -5px;
    15571540}
     1541
     1542.view-switch #view-switch-list {
     1543    background: transparent url(../images/list.png) no-repeat 0 0;
     1544}
     1545
     1546.view-switch #view-switch-list.current {
     1547    background: transparent url(../images/list.png) no-repeat -40px 0;
     1548}
     1549
     1550.view-switch #view-switch-excerpt {
     1551    background: transparent url(../images/list.png) no-repeat -20px 0;
     1552}
     1553
     1554.view-switch #view-switch-excerpt.current {
     1555    background: transparent url(../images/list.png) no-repeat -60px 0;
     1556}
  • trunk/wp-admin/edit.php

    r9998 r10004  
    249249
    250250<div class="view-switch">
    251     <a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'list' == $mode ) echo 'class="current"'; ?> src="images/list.gif" title="<?php _e('List View') ?>" alt="<?php _e('List View') ?>" /></a>
    252     <a href="<?php echo clean_url(add_query_arg('mode', 'excerpt', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'excerpt' == $mode ) echo 'class="current"'; ?> src="images/exc.gif" title="<?php _e('Excerpt View') ?>" alt="<?php _e('Excerpt View') ?>" /></a>
     251    <a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'list' == $mode ) echo 'class="current"'; ?> id="view-switch-list" src="../wp-includes/images/blank.gif" width="20" height="20" title="<?php _e('List View') ?>" alt="<?php _e('List View') ?>" /></a>
     252    <a href="<?php echo clean_url(add_query_arg('mode', 'excerpt', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'excerpt' == $mode ) echo 'class="current"'; ?> id="view-switch-excerpt" src="../wp-includes/images/blank.gif" width="20" height="20" title="<?php _e('Excerpt View') ?>" alt="<?php _e('Excerpt View') ?>" /></a>
    253253</div>
    254254
  • trunk/wp-admin/gears-manifest.php

    r9993 r10004  
    129129{
    130130"betaManifestVersion" : 1,
    131 "version" : "<?php echo $man_version; ?>_20081130",
     131"version" : "<?php echo $man_version; ?>_20081201",
    132132"entries" : [
    133133<?php echo $defaults; ?>
     
    147147{ "url" : "images/date-button.gif" },
    148148{ "url" : "images/ed-bg.gif" },
    149 { "url" : "images/exc.gif" },
    150149{ "url" : "images/fade-butt.png" },
    151150{ "url" : "images/fav.png" },
     
    158157{ "url" : "images/icons32.png" },
    159158{ "url" : "images/icons32-vs.png" },
    160 { "url" : "images/list.gif" },
     159{ "url" : "images/list.png" },
     160{ "url" : "images/list-vs.png" },
    161161{ "url" : "images/loading.gif" },
    162162{ "url" : "images/loading-publish.gif" },
  • trunk/wp-admin/wp-admin.css

    r10000 r10004  
    19251925.view-switch {
    19261926    float: right;
    1927     margin: 5px 8px 0;
    1928 }
    1929 
    1930 .view-switch img {
    1931     margin: 0;
    1932     border-width: 1px;
    1933     border-style: solid;
     1927    margin: 6px 8px 0;
     1928}
     1929
     1930.view-switch a {
     1931    text-decoration: none;
    19341932}
    19351933
Note: See TracChangeset for help on using the changeset viewer.