mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-30 09:37:55 +08:00
34 lines
622 B
SCSS
34 lines
622 B
SCSS
button{
|
|
border: none;
|
|
margin: 0;
|
|
padding: 6px;
|
|
width: 100%;
|
|
display: inline-block;
|
|
outline: none;
|
|
cursor: pointer;
|
|
font-size: inherit;
|
|
border-radius: 2px;
|
|
color: inherit;
|
|
background: inherit;
|
|
|
|
&.primary{
|
|
background: var(--primary);
|
|
color: white;
|
|
}
|
|
&.emphasis{
|
|
background: var(--emphasis);
|
|
color: white;
|
|
}
|
|
&.dark{
|
|
background: var(--dark);
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
.touch-no button {
|
|
&.dark:hover, &.emphasis:hover, &.primary:hover {
|
|
filter: brightness(95%);
|
|
transition: 0.2s ease all;
|
|
}
|
|
}
|