Revise cats/tags quick view styles

(Apparently, I totally misread the comment by @garvinhicking.
Oops.)

References #239
This commit is contained in:
Matthias Mees 2015-01-19 11:18:39 +01:00
parent 5b640b575c
commit 3d2b77e1b5
2 changed files with 16 additions and 15 deletions

View File

@ -636,7 +636,7 @@
if ($selected.length > 0) {
$selected.each(function() {
var catText = $(this).next('label').text();
$('<li class="cats_selected"><span>'+ catText +'</span></li>').appendTo($target);
$('<li class="selected">'+ catText +'</li>').appendTo($target);
});
} else {
$('<li>{$CONST.NO_CATEGORIES}</li>').appendTo($target);
@ -654,7 +654,7 @@
$('<li>{$CONST.EDITOR_NO_TAGS}</li>').appendTo($target);
} else {
$.each(tagged, function(key, tag) {
$('<li class="tags_selected"><span>'+ tag +'</span></li>').appendTo($target);
$('<li class="selected">'+ tag +'</li>').appendTo($target);
});
}
}

View File

@ -1783,17 +1783,6 @@ form > .button_link:first-of-type,
padding-bottom: .583335em;
}
.taxonomy {
background: #f6f6f6;
border: 1px solid #c1c1c1;
border-radius: 2px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0 0 .375em;
padding: 0 .5em;
}
.taxonomy h3:hover,
.taxonomy li:hover {
cursor: pointer;
@ -1807,7 +1796,7 @@ form > .button_link:first-of-type,
.taxonomy ul {
clear: left;
margin: .375em 0;
margin: .25em 0 0;
line-height: 1.5em;
padding: 0;
text-align: left;
@ -1816,7 +1805,19 @@ form > .button_link:first-of-type,
.taxonomy li {
display: inline-block;
margin: 0 1em 0 0;
font-size: .875em;
margin: 0 1.14285em .28571em 0;
}
.taxonomy .selected {
background: #f6f6f6;
border: 1px solid #c1c1c1;
border-radius: 2px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 .5em;
text-align: center;
}
#template_select article,