You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.3 KiB
SCSS
73 lines
1.3 KiB
SCSS
@use '../utilities/main_utilities' as *;
|
|
|
|
/* Buttons/Inputs */
|
|
.button,
|
|
button,
|
|
input[type="submit"]
|
|
{
|
|
background: #FEFEFE;
|
|
border: 2px solid $color-link;
|
|
border-radius: $border-radius;
|
|
display: inline-block;
|
|
font-size: .9rem;
|
|
font-weight: bold;
|
|
line-height: $line-height;
|
|
margin-top: 0.5rem;
|
|
padding: .6rem 1.2rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.button + .button,
|
|
button + button{
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.button--small,
|
|
button.button--small,
|
|
input[type="submit"].button--small{
|
|
padding: .2rem 1.6rem;
|
|
}
|
|
|
|
.button,
|
|
button,
|
|
input[type="submit"]
|
|
{
|
|
font-family: $font-family;
|
|
}
|
|
|
|
.button:hover,
|
|
button:hover,
|
|
input[type="submit"]:hover
|
|
{
|
|
cursor: pointer;
|
|
filter: brightness($hover-brightness);
|
|
}
|
|
|
|
.button:active,
|
|
button:active,
|
|
input[type="submit"]:active
|
|
{
|
|
filter: brightness($active-brightness);
|
|
}
|
|
|
|
.button--blue,
|
|
button.button--blue,
|
|
input[type="submit"].button--blue
|
|
{
|
|
background-color: $color-link;
|
|
color: $color-bg;
|
|
}
|
|
|
|
.button--disabled,
|
|
button:disabled,
|
|
input:disabled {
|
|
background: $color-bg-secondary;
|
|
border-color: $color-bg-secondary;
|
|
color: $color-text-secondary;
|
|
cursor: not-allowed;
|
|
}
|
|
.button--disabled:hover,
|
|
button[disabled]:hover,
|
|
input[type="submit"][disabled]:hover {
|
|
filter: none;
|
|
} |