css: remove dead autocomplete css.
Remove some rules intended to highlight the currently selected tag in the autocomplete menu. The selected tag was supposed to be shown with the tag hover color, but this didn't actually work because of CSS specificity issues, and it possibly never worked to begin with, so it's not worth fixing.
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
<% TagCategory.css_mapping.each do |category,cssmap| %>
|
||||
.tag-type-<%= category %> a,
|
||||
a.tag-type-<%= category %>,
|
||||
.ui-widget-content .tag-type-<%= category %> a,
|
||||
.ui-widget-content a.tag-type-<%= category %> {
|
||||
.tag-type-<%= category %> a, a.tag-type-<%= category %> {
|
||||
color: <%= cssmap["color"] %>;
|
||||
|
||||
&:link, &:visited {
|
||||
@@ -13,16 +10,4 @@
|
||||
color: <%= cssmap["hover"] %>;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-widget-content .ui-state-active a.tag-type-<%= category %> {
|
||||
color: <%= cssmap["hover"] %>;
|
||||
|
||||
&:link, &:visited {
|
||||
color: <%= cssmap["color"] %>;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: <%= cssmap["hover"] %>;
|
||||
}
|
||||
}
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user