refactor(core): remove unnessecary style overrides for links

* Visited link styles are removed from MW already,
there are no need to use important to override those rules.
* Citizen should not override text-decoration setting if users
want to have underline links.
This commit is contained in:
alistair3149 2022-05-01 18:45:48 -04:00
parent d5397d4ea4
commit b39452d3b5
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 6 additions and 6 deletions

View file

@ -50,12 +50,12 @@
a {
display: inline-block;
padding: 7px 15px;
color: var( --color-base--subtle ) !important; // Override
color: var( --color-base--subtle );
transition: @transition-background-quick;
&:hover {
background-color: var( --color-primary--hover );
color: @base-100 !important;
color: #fff;
}
&.new:hover {

View file

@ -134,7 +134,7 @@ td {
a {
color: var( --color-link );
text-decoration: none !important;
text-decoration: none;
&:not( [ href ] ) {
cursor: pointer;
@ -150,14 +150,14 @@ a {
}
&.new {
color: var( --color-link-new ) !important; // Override visited
color: var( --color-link-new ); // Override visited
&:hover {
color: var( --color-link-new--hover ) !important;
color: var( --color-link-new--hover );
}
&:active {
color: var( --color-link-new--active ) !important;
color: var( --color-link-new--active );
}
}