This commit is contained in:
parent
a510899ff1
commit
ff2a3a25e5
21 changed files with 473 additions and 210 deletions
|
|
@ -52,4 +52,29 @@ button {
|
|||
transform: translateX(2px) translateY(2px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Bouton sous forme de lien. */
|
||||
&.button-link {
|
||||
--button-border-color: transparent;
|
||||
padding-block: var(--s-5);
|
||||
padding-inline: var(--s-4);
|
||||
box-shadow: initial;
|
||||
line-height: var(--line-height-comfortable);
|
||||
outline-offset: initial;
|
||||
|
||||
&:hover {
|
||||
--button-border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
outline-offset: initial;
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: initial;
|
||||
border: 1px solid var(--color-primary);
|
||||
outline: 1px solid var(--color-secondary);
|
||||
outline-offset: -0.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue