mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
Better styling for Press this Categories. Props duck_. See #12809
git-svn-id: http://svn.automattic.com/wordpress/trunk@14149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
810775c865
commit
32cfe19193
File diff suppressed because one or more lines are too long
@ -490,9 +490,7 @@ a,
|
||||
}
|
||||
|
||||
/* Because we don't want visited on these links */
|
||||
body.press-this .tabs a,
|
||||
body.press-this .tabs a:hover {
|
||||
background-color: #fff;
|
||||
border-color: #c6d9e9;
|
||||
border-bottom-color: #fff;
|
||||
color: #d54e21;
|
||||
|
File diff suppressed because one or more lines are too long
@ -114,7 +114,7 @@ div.zerosize {
|
||||
}
|
||||
|
||||
#tagsdiv-post_tag h3,
|
||||
.categorydiv h3 {
|
||||
#categorydiv h3 {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@ -145,6 +145,7 @@ h3.tb {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.postbox:hover .handlediv,
|
||||
.stuffbox:hover .handlediv {
|
||||
background: transparent url(../images/menu-bits-vs.gif) no-repeat scroll left -111px;
|
||||
}
|
||||
@ -307,28 +308,22 @@ h3.tb {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.category-adder {
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.category-adder h4 {
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
/* Categories */
|
||||
|
||||
.category-add input {
|
||||
width: 94%;
|
||||
font-family: Verdana,Arial,Helvetica,sans-serif;
|
||||
font-size: 13px;
|
||||
font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
|
||||
font-size: 12px;
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
|
||||
.category-add select {
|
||||
width: 70%;
|
||||
width: 100%;
|
||||
-x-system-font: none;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
font-family: "Lucida Grande","Bitstream Vera Sans",Verdana,Arial,sans-serif;
|
||||
font-size: 12px;
|
||||
font-size: 11px;
|
||||
height: 2em;
|
||||
line-height: 20px;
|
||||
padding: 2px;
|
||||
@ -336,12 +331,28 @@ h3.tb {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.category-add input,
|
||||
.category-add-sumbit {
|
||||
.category-add input.category-add-sumbit {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Categories */
|
||||
.categorydiv div.tabs-panel,
|
||||
#linkcategorydiv div.tabs-panel {
|
||||
height: 100px;
|
||||
overflow: auto;
|
||||
padding: 0.5em 0.9em;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.category-tabs li {
|
||||
display: inline;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.category-tabs a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.categorydiv ul,
|
||||
#linkcategorydiv ul {
|
||||
list-style: none;
|
||||
@ -349,24 +360,44 @@ h3.tb {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.categorydiv ul.categorychecklist ul {
|
||||
.inline-editor ul.cat-checklist ul,
|
||||
.categorydiv ul.categorychecklist ul,
|
||||
#linkcategorydiv ul.categorychecklist ul {
|
||||
margin-left: 18px;
|
||||
}
|
||||
|
||||
.categorydiv div.tabs-panel {
|
||||
height: 140px;
|
||||
overflow: auto;
|
||||
}
|
||||
#taxonomy-category #category-tabs .tabs {
|
||||
background: none;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
ul.categorychecklist li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 19px;
|
||||
}
|
||||
|
||||
.categorydiv .tabs-panel {
|
||||
border-width: 3px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
ul.category-tabs {
|
||||
margin-top: 12px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
ul.category-tabs li.tabs {
|
||||
border-style: solid solid none;
|
||||
border-width: 1px 1px 0;
|
||||
}
|
||||
|
||||
ul.category-tabs li {
|
||||
padding: 5px 8px;
|
||||
-moz-border-radius: 3px 3px 0 0;
|
||||
-webkit-border-top-left-radius: 3px;
|
||||
-webkit-border-top-right-radius: 3px;
|
||||
-khtml-border-top-left-radius: 3px;
|
||||
-khtml-border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* Tags */
|
||||
.screen-reader-text {
|
||||
display: none;
|
||||
|
@ -488,7 +488,8 @@ var photostorage = false;
|
||||
<div id="taxonomy-category" class="categorydiv">
|
||||
|
||||
<ul id="category-tabs" class="category-tabs">
|
||||
<li class="tabs"><a href="#category-all" tabindex="3"><?php printf( __( 'All %s' ), $tax->label ); ?></a><span class="hide-if-no-js"> | </span><a class="hide-if-no-js" href="#category-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
|
||||
<li class="tabs"><a href="#category-all" tabindex="3"><?php printf( __( 'All %s' ), $tax->label ); ?></a></li>
|
||||
<li class="hide-if-no-js"><a href="#category-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
|
||||
</ul>
|
||||
|
||||
<div id="category-pop" class="tabs-panel" style="display: none;">
|
||||
|
@ -441,7 +441,7 @@ function wp_default_styles( &$styles ) {
|
||||
$no_suffix = array( 'farbtastic' );
|
||||
|
||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||
$colors_version = '20100416';
|
||||
$colors_version = '20100418';
|
||||
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100411' );
|
||||
|
||||
@ -464,7 +464,7 @@ function wp_default_styles( &$styles ) {
|
||||
$styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20100301' );
|
||||
$styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20100313' ); // Readme as well
|
||||
$styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20090625' );
|
||||
$styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20100411' );
|
||||
$styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20100418' );
|
||||
$styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' );
|
||||
$styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20100403' );
|
||||
$styles->add( 'plugin-install', "/wp-admin/css/plugin-install$suffix.css", array(), '20100402' );
|
||||
|
Loading…
Reference in New Issue
Block a user