Skip to content
Snippets Groups Projects
Verified Commit e051b9c3 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3400806 follow-up by lauriii, rkoller: Text color changes on hover for...

Issue #3400806 follow-up by lauriii, rkoller: Text color changes on hover for <a> elements with .buttons
parent 5f533ca6
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
.button:hover { .button:hover {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
color: var(--button-fg-color);
background-color: var(--button--hover-bg-color); background-color: var(--button--hover-bg-color);
} }
...@@ -103,11 +104,6 @@ ...@@ -103,11 +104,6 @@
font-weight: 900; font-weight: 900;
} }
a.button:hover,
a.button:active {
color: var(--button-fg-color);
}
/* Primary button style.s */ /* Primary button style.s */
.button--primary { .button--primary {
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
&:hover { &:hover {
text-decoration: none; text-decoration: none;
color: var(--button-fg-color);
background-color: var(--button--hover-bg-color); background-color: var(--button--hover-bg-color);
} }
...@@ -90,11 +91,6 @@ ...@@ -90,11 +91,6 @@
} }
} }
a.button:hover,
a.button:active {
color: var(--button-fg-color);
}
/* Primary button style.s */ /* Primary button style.s */
.button--primary { .button--primary {
color: var(--button-fg-color--primary); color: var(--button-fg-color--primary);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment