scss: introduce $link-decoration (#67883)
This commit is contained in:
parent
be42ec7c32
commit
8fe1f022ba
|
@ -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-decoration</code></p></td>
|
||||
<td><p>Décoration des liens</p></td>
|
||||
<td><p><var>none</var></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><code>$link-hover-decoration</code></p></td>
|
||||
<td><p>Décoration au survol des liens</p></td>
|
||||
|
|
|
@ -178,9 +178,9 @@ div.links-list p {
|
|||
color: $cell-entry-color;
|
||||
font-weight: $cell-entry-font-weight;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
color: $cell-entry-hover-color;
|
||||
@if $cell-entry-hover-effect == none {
|
||||
background-color: $cell-entry-hover-background;
|
||||
|
@ -787,6 +787,7 @@ div.cell {
|
|||
border: none;
|
||||
color: text-color($footer-background);
|
||||
padding: 0.5rem 1rem;
|
||||
text-decoration: $link-decoration;
|
||||
&:hover {
|
||||
text-decoration: $link-hover-decoration;
|
||||
background: none;
|
||||
|
|
|
@ -196,12 +196,12 @@ div.buttons div {
|
|||
margin-right: 1.5em;
|
||||
vertical-align: middle;
|
||||
box-shadow: 1px 0px 5px rgba(0, 0, 0, 0.21);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0px 0px 5px #777;
|
||||
background: $button-hover-background;
|
||||
color: $button-hover-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
|
|
|
@ -3,6 +3,7 @@ $font-color: #333 !default;
|
|||
$font-family: sans-serif !default;
|
||||
$font-size: 100% !default;
|
||||
$link-color: #028 !default;
|
||||
$link-decoration: none !default;
|
||||
$link-hover-decoration: underline !default;
|
||||
$body-background: white !default;
|
||||
|
||||
|
@ -16,7 +17,7 @@ html {
|
|||
|
||||
a {
|
||||
color: $link-color;
|
||||
text-decoration: none;
|
||||
text-decoration: $link-decoration;
|
||||
&:hover {
|
||||
text-decoration: $link-hover-decoration;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue