mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-27 15:40:15 +00:00
Merge "Scope codex link styles to footer and content body, remove cached CSS"
This commit is contained in:
commit
bf1e3a2d08
|
@ -10,10 +10,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0.75em 0.875em;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.toggle-list-item__label {
|
||||
|
|
|
@ -7,34 +7,15 @@
|
|||
padding-bottom: 6px;
|
||||
display: inline-block;
|
||||
|
||||
// TODO: 'a' selector after caching
|
||||
a,
|
||||
.minerva__tab-text {
|
||||
font-size: @font-size-tag-line;
|
||||
font-weight: bold;
|
||||
color: @color-subtle;
|
||||
text-decoration: none;
|
||||
|
||||
&.new {
|
||||
color: @color-link-red;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Remove entire selector after caching
|
||||
// Currently needed to override default link styles
|
||||
a:not( [ role='button' ] ) {
|
||||
&:link,
|
||||
&:visited,
|
||||
&:hover,
|
||||
&:active {
|
||||
color: @color-subtle;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Remove entire selector after caching
|
||||
&.new a:not( [ role='button' ] ) {
|
||||
.cdx-mixin-link-red();
|
||||
&.new .minerva__tab-text {
|
||||
color: @color-link-red;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
|
|
|
@ -18,13 +18,16 @@ a:not( [ href ] ) {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* This not does apply to links with role button per discussion on T373989 */
|
||||
a:not( [ role='button' ] ):not( .minerva__tab-text ) {
|
||||
.cdx-mixin-link-base();
|
||||
}
|
||||
footer,
|
||||
.mw-body-content {
|
||||
/* This not does apply to links with role button per discussion on T373989 */
|
||||
a:not( [ role='button' ] ):not( .mw-selflink ):not( .cdx-card ) {
|
||||
.cdx-mixin-link-base();
|
||||
|
||||
a:not( [ role='button' ] ):not( .minerva__tab-text ).new {
|
||||
.cdx-mixin-link-red();
|
||||
&.new {
|
||||
.cdx-mixin-link-red();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// External links
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
.toggle-list-item__anchor:hover {
|
||||
box-shadow: inset 4px 0 0 0 @box-shadow-color-progressive--focus;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.client-nojs & .skin-minerva-list-item-jsonly {
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
.notifications-overlay {
|
||||
visibility: visible;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
// needs to be more specific than .overlay rules
|
||||
|
|
Loading…
Reference in a new issue