Better styling for Press this Categories. Props duck_. See #12809
git-svn-id: https://develop.svn.wordpress.org/trunk@14149 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
64340690f9
commit
5bfc2f5463
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 */
|
/* Because we don't want visited on these links */
|
||||||
body.press-this .tabs a,
|
|
||||||
body.press-this .tabs a:hover {
|
body.press-this .tabs a:hover {
|
||||||
background-color: #fff;
|
|
||||||
border-color: #c6d9e9;
|
border-color: #c6d9e9;
|
||||||
border-bottom-color: #fff;
|
border-bottom-color: #fff;
|
||||||
color: #d54e21;
|
color: #d54e21;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -114,7 +114,7 @@ div.zerosize {
|
||||||
}
|
}
|
||||||
|
|
||||||
#tagsdiv-post_tag h3,
|
#tagsdiv-post_tag h3,
|
||||||
.categorydiv h3 {
|
#categorydiv h3 {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,6 +145,7 @@ h3.tb {
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postbox:hover .handlediv,
|
||||||
.stuffbox:hover .handlediv {
|
.stuffbox:hover .handlediv {
|
||||||
background: transparent url(../images/menu-bits-vs.gif) no-repeat scroll left -111px;
|
background: transparent url(../images/menu-bits-vs.gif) no-repeat scroll left -111px;
|
||||||
}
|
}
|
||||||
|
@ -307,28 +308,22 @@ h3.tb {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-adder {
|
/* Categories */
|
||||||
padding: 4px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.category-adder h4 {
|
|
||||||
margin: 0 0 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.category-add input {
|
.category-add input {
|
||||||
width: 94%;
|
width: 94%;
|
||||||
font-family: Verdana,Arial,Helvetica,sans-serif;
|
font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
|
||||||
font-size: 13px;
|
font-size: 12px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-add select {
|
.category-add select {
|
||||||
width: 70%;
|
width: 100%;
|
||||||
-x-system-font: none;
|
-x-system-font: none;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
font-family: "Lucida Grande","Bitstream Vera Sans",Verdana,Arial,sans-serif;
|
font-family: "Lucida Grande","Bitstream Vera Sans",Verdana,Arial,sans-serif;
|
||||||
font-size: 12px;
|
font-size: 11px;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
@ -336,12 +331,28 @@ h3.tb {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-add input,
|
.category-add input.category-add-sumbit {
|
||||||
.category-add-sumbit {
|
|
||||||
width: auto;
|
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,
|
.categorydiv ul,
|
||||||
#linkcategorydiv ul {
|
#linkcategorydiv ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
@ -349,24 +360,44 @@ h3.tb {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.categorydiv ul.categorychecklist ul {
|
.inline-editor ul.cat-checklist ul,
|
||||||
|
.categorydiv ul.categorychecklist ul,
|
||||||
|
#linkcategorydiv ul.categorychecklist ul {
|
||||||
margin-left: 18px;
|
margin-left: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.categorydiv div.tabs-panel {
|
|
||||||
height: 140px;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
#taxonomy-category #category-tabs .tabs {
|
|
||||||
background: none;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
ul.categorychecklist li {
|
ul.categorychecklist li {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
line-height: 19px;
|
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 */
|
/* Tags */
|
||||||
.screen-reader-text {
|
.screen-reader-text {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -488,7 +488,8 @@ var photostorage = false;
|
||||||
<div id="taxonomy-category" class="categorydiv">
|
<div id="taxonomy-category" class="categorydiv">
|
||||||
|
|
||||||
<ul id="category-tabs" class="category-tabs">
|
<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>
|
</ul>
|
||||||
|
|
||||||
<div id="category-pop" class="tabs-panel" style="display: none;">
|
<div id="category-pop" class="tabs-panel" style="display: none;">
|
||||||
|
|
|
@ -441,7 +441,7 @@ function wp_default_styles( &$styles ) {
|
||||||
$no_suffix = array( 'farbtastic' );
|
$no_suffix = array( 'farbtastic' );
|
||||||
|
|
||||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
// 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' );
|
$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( '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( '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( '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( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' );
|
||||||
$styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20100403' );
|
$styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20100403' );
|
||||||
$styles->add( 'plugin-install', "/wp-admin/css/plugin-install$suffix.css", array(), '20100402' );
|
$styles->add( 'plugin-install', "/wp-admin/css/plugin-install$suffix.css", array(), '20100402' );
|
||||||
|
|
Loading…
Reference in New Issue