Skip to content
Snippets Groups Projects

Fix selectors in arch_common.less

Merged Christian Heusel requested to merge github/fork/lahwaacz/mw-1.40 into master
1 file
+ 16
15
Compare changes
  • Side-by-side
  • Inline
@@ -105,21 +105,22 @@ header.mw-header li:not(.new), // Vector
#mw-panel li:not(.new), // Legacy Vector
#column-one li:not(.new), // MonoBook
#footer {
a:not(.new):not(:role=button) {
text-decoration: none;
color: @link-color-normal !important;
}
a:not(.new):not(:role=button):hover {
text-decoration: underline;
background-color: transparent;
color: @link-color-hover !important;
}
a:not([role=button]) {
&:not(.new) {
text-decoration: none;
color: @link-color-normal !important;
&:hover {
text-decoration: underline;
background-color: transparent;
color: @link-color-hover !important;
}
}
a:active:not(:role=button), a:not(:role=button):focus,
/* a:hover overrides a:active, which we don't want' */
a:not(:role=button):active:hover, a:not(:role=button):focus:hover {
color: @link-color-active !important;
&:active, &:focus,
/* a:hover overrides a:active, which we don't want' */
&:active:hover, &:focus:hover {
color: @link-color-active !important;
}
}
}
@@ -130,7 +131,7 @@ header.mw-header li:not(.new), // Vector
#p-navigation li:not(.new), // MonoBook
#p-tb li:not(.new) // MonoBook
{
a:not(.new):not(:role=button):visited {
a:not(.new):not([role=button]):visited {
color: @link-color-visited !important;
}
}
Loading