website/assets/sass/button.scss

61 lines
1.2 KiB
SCSS
Raw Permalink Normal View History

2023-03-31 22:14:22 +00:00
.button {
display: inline-block;
cursor: pointer;
2023-03-31 22:14:22 +00:00
background-color: $accent;
color: white;
padding: 1rem 2.5rem;
text-transform: uppercase;
text-decoration: none;
user-select: none;
2023-03-31 22:14:22 +00:00
min-width: 10rem;
font-size: 1.2rem;
border: 0;
border-radius: 2px;
transition: all 0.2s ease-in-out;
border: 1px solid transparent;
&:hover {
opacity: 0.8;
background-color: lighten($accent, 14%);
color: black;
border: 1px solid rgba(0.5, 0.5, 0.5, 0.3);
border-style: inset;
}
2023-03-31 22:14:22 +00:00
}
.button.button-border {
2024-03-06 08:08:56 +00:00
border: 1px solid $accent-dark;
}
.button.button-transparent {
background-color: rgba(255, 255, 255, 0.1);
color: white;
border: 1px solid white;
&:hover {
background-color: transparent;
opacity: 0.5;
color: white;
}
}
2024-01-10 18:07:03 +00:00
.button.button-light {
background-color: transparent;
border-color: $accent;
border-width: 1px;
border-style: solid;
color: $accent;
&:hover {
background-color: transparent;
color: white;
background-color: $accent;
}
}
.button.button-sm {
font-size: 1rem;
font-weight: 500;
}