mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 03:49:07 +00:00
* On every route change, update local variables from query params * ResultSection is keyed to query to force re-render * Resolved lint warnings * replace webpack w/ vite * update all imports with alias @ and scss * vite environment variables, also typed * upgraded eslint, defined new rules & added ignore comments * resolved linting issues * moved index.html to project root * updated dockerfile w/ build stage before runtime image definition * sign drone config
44 lines
779 B
SCSS
44 lines
779 B
SCSS
@import "scss/variables";
|
|
@import "scss/media-queries";
|
|
|
|
.filter {
|
|
margin: 1rem;
|
|
padding: 0;
|
|
overflow: auto;
|
|
list-style: none;
|
|
border: 1px solid;
|
|
border-radius: 2px;
|
|
display: flex;
|
|
transition: color 0.2s ease;
|
|
|
|
&-item {
|
|
padding: 6px 15px;
|
|
background-color: $background-color-secondary;
|
|
transition: color 0.2s ease;
|
|
font-size: 13px;
|
|
font-weight: 200;
|
|
text-transform: capitalize;
|
|
text-align: center;
|
|
width: 100%;
|
|
white-space: nowrap;
|
|
|
|
&:nth-child(n + 2) {
|
|
border-left: solid 1px;
|
|
}
|
|
&.active,
|
|
&:hover {
|
|
border-color: transparent;
|
|
background-color: $teal;
|
|
color: $green;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@include tablet-min {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// TODO
|
|
// - add buttons
|