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 {
|
input, select, textarea, button {
|
||||||
font-family: $base_font_family;
|
font-family: $base_font_family;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a, a:active, a:visited {
|
.ui-widget-content a {
|
||||||
color: $link_color;
|
color: $link_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
.ui-widget-content a:hover {
|
||||||
color: $link_hover_color;
|
color: $link_hover_color;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.ui-dialog {
|
div.ui-dialog {
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
@import "../base/000_vars.scss";
|
@import "../base/000_vars.scss";
|
||||||
|
|
||||||
<% TagCategory.css_mapping.each do |category,cssmap| %>
|
<% 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"] %>;
|
color: <%= cssmap["color"] %>;
|
||||||
|
|
||||||
&:link, &:visited {
|
&:link, &:visited {
|
||||||
|
|||||||
Reference in New Issue
Block a user