New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.

git-svn-id: https://develop.svn.wordpress.org/trunk@6542 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2008-01-03 01:34:11 +00:00
parent d3502c9b82
commit 30224a0b3d
10 changed files with 500 additions and 25 deletions
+72 -15
View File
@@ -90,7 +90,7 @@ a:hover {
body {
background: #fff;
color: #000;
color: #333;
margin: 0;
padding: 0;
}
@@ -137,11 +137,6 @@ img {
border: 0;
}
input:focus, textarea:focus, label:focus {
background: #fff;
border: 1px solid #686868;
}
.form-invalid {
background-color: #FF9999 !important;
}
@@ -159,9 +154,6 @@ p, li, dl, dd, dt {
}
textarea, input, select {
background: #f4f4f4;
border: 1px solid #b2b2b2;
color: #000;
font: 13px Verdana, Arial, Helvetica, sans-serif;
margin: 1px;
padding: 3px;
@@ -296,10 +288,8 @@ form#upload #post_content {
}
.submit input, .submit input:focus, .button, .button:focus {
background: url(images/fade-butt.png);
color: #246;
padding: 0.3em;
-moz-border-radius: 4px;
padding: 2px;
}
.submit, .editform th, #postcustomsubmit {
@@ -387,7 +377,7 @@ input.disabled, textarea.disabled {
border: none;
}
#postdiv, #titlediv, #guiddiv, #tagdiv {
#postdiv, #titlediv, #guiddiv {
margin: 0 8px 0 0;
padding: 0;
}
@@ -407,7 +397,7 @@ input.disabled, textarea.disabled {
line-height: 140%;
}
#titlediv input, #guiddiv input, #tagdiv input {
#titlediv input, #guiddiv input {
margin: 0;
width: 100%;
}
@@ -1395,4 +1385,71 @@ a.view-comment-post-link {
color: #448abd;
font-weight: bold;
border-bottom: 1px solid #448abd;
}
}
/* Post Screen */
#tagchecklist {
margin-left: 5px;
font-size: 12px;
}
#tagchecklist span {
margin-right: 15px;
display: block;
float: left;
font-size: 11px;
}
#tagchecklist span a {
margin-top: 5px;
cursor: pointer;
width: 10px;
height: 10px;
background: url(images/xit.gif) no-repeat;
display: block;
float: left;
text-indent: -9999px;
overflow: hidden;
}
#tagchecklist span a:hover {
background: url(images/xit.gif) no-repeat -10px 0;
}
#newtag {
color: #999;
}
.howto {
font-style: italic;
display: block;
color: #999;
}
.ac_results {
border: 1px solid gray;
background-color: white;
padding: 0;
margin: 0;
list-style: none;
position: absolute;
z-index: 10000;
display: none;
}
.ac_results li {
padding: 2px 5px;
white-space: nowrap;
color: #101010;
text-align: left;
}
.ac_over {
cursor: pointer;
background-color: #F0F0B8;
}
.ac_match {
text-decoration: underline;
color: black;
}