Fix #3961: Tags in dialog boxes sometimes colored incorrectly
Fix rules so that the `.ui-widget-content .category-0 a` rule for tags overrides the `.ui-widget-content a` rule for normal links.
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
input, select, textarea, button {
|
||||
font-family: $base_font_family;
|
||||
}
|
||||
}
|
||||
|
||||
a, a:active, a:visited {
|
||||
color: $link_color;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
color: $link_color;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: $link_hover_color;
|
||||
}
|
||||
.ui-widget-content a:hover {
|
||||
color: $link_hover_color;
|
||||
}
|
||||
|
||||
div.ui-dialog {
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
@import "../base/000_vars.scss";
|
||||
|
||||
<% TagCategory.css_mapping.each do |category,cssmap| %>
|
||||
.category-<%= category %> a, a.tag-type-<%= category %>, .ui-widget-content a.tag-type-<%= category %> {
|
||||
.category-<%= category %> a,
|
||||
a.tag-type-<%= category %>,
|
||||
.ui-widget-content .category-<%= category %> a,
|
||||
.ui-widget-content a.tag-type-<%= category %> {
|
||||
color: <%= cssmap["color"] %>;
|
||||
|
||||
&:link, &:visited {
|
||||
|
||||
Reference in New Issue
Block a user