mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Coding for new icons for List/Excerpt view switch
git-svn-id: http://svn.automattic.com/wordpress/trunk@10004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2845a70b28
commit
74a0e7cab9
@ -1418,14 +1418,6 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.view-switch img {
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.view-switch img.current {
|
||||
border-color: #999;
|
||||
}
|
||||
|
||||
#wp_editimgbtn,
|
||||
#wp_delimgbtn,
|
||||
#wp_editgallery,
|
||||
@ -1546,3 +1538,19 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
#icon-options-general {
|
||||
background: transparent url(../images/icons32-vs.png) no-repeat -492px -5px;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-list {
|
||||
background: transparent url(../images/list-vs.png) no-repeat 0 0;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-list.current {
|
||||
background: transparent url(../images/list-vs.png) no-repeat -40px 0;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-excerpt {
|
||||
background: transparent url(../images/list-vs.png) no-repeat -20px 0;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-excerpt.current {
|
||||
background: transparent url(../images/list-vs.png) no-repeat -60px 0;
|
||||
}
|
||||
|
@ -143,15 +143,6 @@ strong .post-com-count span {
|
||||
background-color: #21759b;
|
||||
}
|
||||
|
||||
#login form .submit input,
|
||||
.search-box .button {
|
||||
background-color: #cee1ef !important;
|
||||
}
|
||||
|
||||
#favorite-actions .favorite-action {
|
||||
border-top-color: #cee1ef;
|
||||
}
|
||||
|
||||
ul#widget-list li.widget-list-item h4.widget-title {
|
||||
background-color: #f0f0f0;
|
||||
color: #000;
|
||||
@ -1427,14 +1418,6 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.view-switch img {
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.view-switch img.current {
|
||||
border-color: #999;
|
||||
}
|
||||
|
||||
#wp_editimgbtn,
|
||||
#wp_delimgbtn,
|
||||
#wp_editgallery,
|
||||
@ -1555,3 +1538,19 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
#icon-options-general {
|
||||
background: transparent url(../images/icons32.png) no-repeat -492px -5px;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-list {
|
||||
background: transparent url(../images/list.png) no-repeat 0 0;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-list.current {
|
||||
background: transparent url(../images/list.png) no-repeat -40px 0;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-excerpt {
|
||||
background: transparent url(../images/list.png) no-repeat -20px 0;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-excerpt.current {
|
||||
background: transparent url(../images/list.png) no-repeat -60px 0;
|
||||
}
|
||||
|
@ -248,8 +248,8 @@ do_action('restrict_manage_posts');
|
||||
<?php } ?>
|
||||
|
||||
<div class="view-switch">
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
@ -128,7 +128,7 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' );
|
||||
?>
|
||||
{
|
||||
"betaManifestVersion" : 1,
|
||||
"version" : "<?php echo $man_version; ?>_20081130",
|
||||
"version" : "<?php echo $man_version; ?>_20081201",
|
||||
"entries" : [
|
||||
<?php echo $defaults; ?>
|
||||
|
||||
@ -146,7 +146,6 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' );
|
||||
{ "url" : "images/comment-grey-bubble.png" },
|
||||
{ "url" : "images/date-button.gif" },
|
||||
{ "url" : "images/ed-bg.gif" },
|
||||
{ "url" : "images/exc.gif" },
|
||||
{ "url" : "images/fade-butt.png" },
|
||||
{ "url" : "images/fav.png" },
|
||||
{ "url" : "images/fav-arrow.png" },
|
||||
@ -157,7 +156,8 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' );
|
||||
{ "url" : "images/gray-grad.png" },
|
||||
{ "url" : "images/icons32.png" },
|
||||
{ "url" : "images/icons32-vs.png" },
|
||||
{ "url" : "images/list.gif" },
|
||||
{ "url" : "images/list.png" },
|
||||
{ "url" : "images/list-vs.png" },
|
||||
{ "url" : "images/loading.gif" },
|
||||
{ "url" : "images/loading-publish.gif" },
|
||||
{ "url" : "images/logo.gif" },
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 73 B |
BIN
wp-admin/images/list-vs.png
Normal file
BIN
wp-admin/images/list-vs.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 424 B |
Binary file not shown.
Before Width: | Height: | Size: 82 B |
BIN
wp-admin/images/list.png
Normal file
BIN
wp-admin/images/list.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 424 B |
@ -1924,13 +1924,11 @@ body.wp-admin {
|
||||
|
||||
.view-switch {
|
||||
float: right;
|
||||
margin: 5px 8px 0;
|
||||
margin: 6px 8px 0;
|
||||
}
|
||||
|
||||
.view-switch img {
|
||||
margin: 0;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
.view-switch a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.filter {
|
||||
|
Loading…
Reference in New Issue
Block a user