Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122

git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-01-22 19:30:05 +00:00
parent 8f1e29abd1
commit e5a67cebd5
17 changed files with 268 additions and 194 deletions
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -110,11 +110,11 @@ div.dashboard-widget-submit {
}
div.tabs-panel,
ul#category-tabs li.tabs {
ul.category-tabs li.tabs {
border-color: #dfdfdf;
}
ul#category-tabs li.tabs {
ul.category-tabs li.tabs {
background-color: #f1f1f1;
}
@@ -384,7 +384,7 @@ div.dashboard-widget-submit input:hover,
background: #faf9f7 !important;
}
#side-sortables #category-tabs .tabs a {
#side-sortables .category-tabs .tabs a {
color: #333;
}
@@ -1463,7 +1463,7 @@ fieldset.inline-edit-col-right .inline-edit-col {
background-color: #f5f5f5;
}
#post-body ul#category-tabs li.tabs a {
#post-body ul.category-tabs li.tabs a {
color: #333;
}
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -110,11 +110,11 @@ div.dashboard-widget-submit {
}
div.tabs-panel,
ul#category-tabs li.tabs {
ul.category-tabs li.tabs {
border-color: #dfdfdf;
}
ul#category-tabs li.tabs {
ul.category-tabs li.tabs {
background-color: #f1f1f1;
}
@@ -380,7 +380,7 @@ div.dashboard-widget-submit input:hover,
border-color: #dfdfdf;
}
#side-sortables #category-tabs .tabs a {
#side-sortables .category-tabs .tabs a {
color: #333;
}
@@ -1458,7 +1458,7 @@ fieldset.inline-edit-col-right .inline-edit-col {
background-color: #f5f5f5;
}
#post-body ul#category-tabs li.tabs a {
#post-body ul.category-tabs li.tabs a {
color: #333;
}
File diff suppressed because one or more lines are too long
+10 -10
View File
@@ -115,7 +115,7 @@ div.zerosize {
}
#tagsdiv-post_tag h3,
#categorydiv h3 {
.categorydiv h3 {
cursor: pointer;
}
@@ -308,15 +308,15 @@ h3.tb {
display: none;
}
#category-adder {
.category-adder {
padding: 4px 0;
}
#category-adder h4 {
.category-adder h4 {
margin: 0 0 8px;
}
#category-add input {
.category-add input {
width: 94%;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 13px;
@@ -324,7 +324,7 @@ h3.tb {
padding: 3px;
}
#category-add select {
.category-add select {
width: 70%;
-x-system-font: none;
border-style: solid;
@@ -338,24 +338,24 @@ h3.tb {
vertical-align: top;
}
#category-add input,
#category-add-sumbit {
.category-add input,
.category-add-sumbit {
width: auto;
}
/* Categories */
#categorydiv ul,
.categorydiv ul,
#linkcategorydiv ul {
list-style: none;
padding: 0;
margin: 0;
}
#categorydiv ul.categorychecklist ul {
.categorydiv ul.categorychecklist ul {
margin-left: 18px;
}
#categorydiv div.tabs-panel {
.categorydiv div.tabs-panel {
height: 140px;
overflow: auto;
}
+6 -6
View File
@@ -294,11 +294,11 @@ td.available-theme {
margin-left: 4px;
}
/* Categories */
#category-adder {
.category-adder {
margin-left: 0;
margin-right: 120px;
}
#post-body ul#category-tabs li.tabs {
#post-body ul.category-tabs li.tabs {
-moz-border-radius: 0 3px 3px 0;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 3px;
@@ -309,22 +309,22 @@ td.available-theme {
border-bottom-left-radius: 0;
border-bottom-right-radius: 3px;
}
#post-body ul#category-tabs {
#post-body ul.category-tabs {
float: right;
text-align: left;
margin: 0 0 0 -120px;
}
#post-body #categorydiv div.tabs-panel,
#post-body .categorydiv div.tabs-panel,
#post-body #linkcategorydiv div.tabs-panel {
margin: 0 120px 0 5px;
}
/* 1800 - 2000
=================================== */
#side-sortables #category-tabs li {
#side-sortables .category-tabs li {
padding-right: 0;
padding-left: 8px;
}
#categorydiv ul.categorychecklist ul,
.categorydiv ul.categorychecklist ul,
#linkcategorydiv ul.categorychecklist ul {
margin-left: 0;
margin-right: 18px;
File diff suppressed because one or more lines are too long
+24 -24
View File
@@ -1928,36 +1928,36 @@ input#link_url {
/* Categories */
#category-adder {
.category-adder {
margin-left: 120px;
padding: 4px 0;
}
#category-adder h4 {
.category-adder h4 {
margin: 0 0 8px;
}
#side-sortables #category-adder {
#side-sortables .category-adder {
margin: 0;
}
#post-body #category-add input, #category-add select {
#post-body .category-add input, .category-add select {
width: 30%;
}
#side-sortables #category-add input {
#side-sortables .category-add input {
width: 94%;
}
#side-sortables #category-add select {
#side-sortables .category-add select {
width: 100%;
}
#category-add input#category-add-sumbit {
#side-sortables .category-add input.category-add-sumbit, #post-body .category-add input.category-add input.category-add-sumbit {
width: auto;
}
#post-body ul#category-tabs {
#post-body ul.category-tabs {
float: left;
width: 120px;
text-align: right;
@@ -1966,11 +1966,11 @@ input#link_url {
padding: 0;
}
#post-body ul#category-tabs li {
#post-body ul.category-tabs li {
padding: 8px;
}
#post-body ul#category-tabs li.tabs {
#post-body ul.category-tabs li.tabs {
-moz-border-radius: 3px 0 0 3px;
-webkit-border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
@@ -1980,12 +1980,12 @@ input#link_url {
border-bottom-left-radius: 3px;
}
#post-body ul#category-tabs li.tabs a {
#post-body ul.category-tabs li.tabs a {
font-weight: bold;
text-decoration: none;
}
#categorydiv div.tabs-panel,
.categorydiv div.tabs-panel,
#linkcategorydiv div.tabs-panel {
height: 200px;
overflow: auto;
@@ -1994,32 +1994,32 @@ input#link_url {
border-width: 1px;
}
#post-body #categorydiv div.tabs-panel,
#post-body .categorydiv div.tabs-panel,
#post-body #linkcategorydiv div.tabs-panel {
margin: 0 5px 0 125px;
}
#side-sortables #category-tabs li {
#side-sortables .category-tabs li {
display: inline;
padding-right: 8px;
}
#side-sortables #category-tabs a {
#side-sortables .category-tabs a {
text-decoration: none;
}
#side-sortables #category-tabs {
#side-sortables .category-tabs {
margin-bottom: 3px;
}
#categorydiv ul,
.categorydiv ul,
#linkcategorydiv ul {
list-style: none;
padding: 0;
margin: 0;
}
#categorydiv ul.categorychecklist ul,
.categorydiv ul.categorychecklist ul,
#linkcategorydiv ul.categorychecklist ul {
margin-left: 18px;
}
@@ -2030,32 +2030,32 @@ ul.categorychecklist li {
line-height: 19px;
}
#category-adder h4 {
.category-adder h4 {
margin-top: 4px;
margin-bottom: 0px;
}
#categorydiv .tabs-panel {
.categorydiv .tabs-panel {
border-width: 3px;
border-style: solid;
}
ul#category-tabs {
ul.category-tabs {
margin-top: 12px;
}
ul#category-tabs li.tabs {
ul.category-tabs li.tabs {
border-style: solid solid none;
border-width: 1px 1px 0;
}
#post-body #category-tabs li.tabs {
#post-body .category-tabs li.tabs {
border-style: solid none solid solid;
border-width: 1px 0 1px 1px;
margin-right: -1px;
}
ul#category-tabs li {
ul.category-tabs li {
padding: 5px 8px;
-moz-border-radius: 3px 3px 0 0;
-webkit-border-top-left-radius: 3px;