Fix incorrect border color for RC legend

This commit is contained in:
alistair3149 2020-06-30 16:29:19 -04:00
parent 49897d2315
commit 0d284eb7e2
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -19,6 +19,12 @@
legend {
padding: 0;
}
// Needed additional parent to override
.mw-changeslist-legend {
border-color: @base-80;
border-radius: @border-radius-small;
}
}
.mw-changeslist {
@ -30,11 +36,6 @@
font-family: @fonts !important;
}
&-legend {
border-color: @base-80;
border-radius: @border-radius-small;
}
.comment {
color: @base-30;
}
@ -49,6 +50,10 @@
@media ( prefers-color-scheme: dark ) {
.rcoptions {
color: @dark-text-90;
.mw-changeslist-legend {
border-color: @dark-bg-20;
}
}
.mw-changeslist {
@ -57,10 +62,6 @@
border-color: @dark-bg-20;
}
&-legend {
border-color: @dark-bg-20 !important;
}
.comment {
color: @dark-text-80;
}