scss: underline links on hover by default (#40406)

This commit is contained in:
Frédéric Péters 2020-02-29 12:18:13 +01:00
parent fa00190350
commit 62144b72a1
7 changed files with 17 additions and 0 deletions

View File

@ -37,6 +37,11 @@ paramètre, la deuxième sa description et la troisième la valeur par défaut.
<td><p>Couleur des liens</p></td>
<td><p><var>#028</var></p></td>
</tr>
<tr>
<td><p><code>$link-hover-decoration</code></p></td>
<td><p>Décoration au survol des liens</p></td>
<td><p><var>underline</var></p></td>
</tr>
<tr>
<td><p><code>$font-family</code></p></td>
<td><p>Famille de police du texte</p></td>

View File

@ -128,6 +128,7 @@ div.carrousel-content {
display: none;
}
position: absolute;
text-decoration: none;
top: calc(50% - 3rem);
color: white;
height: 6rem;

View File

@ -170,6 +170,7 @@ div.wcscurrentformscell ul {
position: relative;
&:hover {
text-decoration: none;
color: $cell-entry-hover-color;
@if $cell-entry-hover-effect != none {
&:after {
@ -751,6 +752,7 @@ div.cell {
color: text-color($footer-background);
padding: 0.5rem 1rem;
&:hover {
text-decoration: $link-hover-decoration;
background: none;
&::after {
content: none;

View File

@ -109,6 +109,7 @@ div.buttons div {
box-shadow: 0px 0px 5px #777;
background: $button-hover-background;
color: $button-hover-color;
text-decoration: none;
}
&:disabled {

View File

@ -3,6 +3,7 @@ $font-color: #333 !default;
$font-family: sans-serif !default;
$font-size: 100% !default;
$link-color: #028 !default;
$link-hover-decoration: underline !default;
$body-background: white !default;
html {
@ -19,6 +20,9 @@ body {
a {
color: $link-color;
text-decoration: none;
&:hover {
text-decoration: $link-hover-decoration;
}
}
a > img {

View File

@ -391,6 +391,7 @@ div.menucell {
color: $nav-mobile-bottom-bar-item-selected-color;
}
a {
text-decoration: none;
transition: background 0.5s, color 0.5s;
background: transparent 50% 10px no-repeat;
color: $nav-mobile-bottom-bar-color;

View File

@ -147,6 +147,9 @@ a.tile-link {
outline: 2px solid $red;
outline-offset: 1px;
}
&:hover {
text-decoration: none;
}
}
.dashboard-cell-icons {