2020-04-14 20:05:22 +00:00
|
|
|
/* Center section */
|
2020-06-09 20:32:54 +00:00
|
|
|
$icon-dimension: 2rem;
|
2020-06-22 19:07:51 +00:00
|
|
|
$searchbar-height: calc(2rem + 1em);
|
2020-06-09 20:32:54 +00:00
|
|
|
|
|
|
|
#search {
|
2020-04-14 20:05:22 +00:00
|
|
|
background-color: var(--secondary-background);
|
2020-06-09 20:32:54 +00:00
|
|
|
width: 100%;
|
|
|
|
padding: 0 1em;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
margin-right: 32px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
transition: border 200ms ease-in-out;
|
|
|
|
|
|
|
|
.search__icon {
|
|
|
|
width: $icon-dimension;
|
|
|
|
height: $icon-dimension;
|
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: $icon-dimension;
|
2020-06-16 19:57:18 +00:00
|
|
|
color: var(--foreground);
|
2020-06-09 20:32:54 +00:00
|
|
|
|
2020-06-22 19:07:51 +00:00
|
|
|
@include remove-selection-background;
|
2020-06-09 20:32:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within {
|
2020-06-16 19:57:18 +00:00
|
|
|
border: 1px solid var(--foreground);
|
2020-06-09 20:32:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#searchbar {
|
|
|
|
height: $searchbar-height;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
border: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
background-color: var(--secondary-background);
|
2020-06-17 11:21:12 +00:00
|
|
|
color: var(--foreground);
|
2020-06-09 20:32:54 +00:00
|
|
|
font-size: 2rem;
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-weight: 300;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Removing Chrome autofill color
|
|
|
|
&:-webkit-autofill,
|
|
|
|
&:-webkit-autofill:hover,
|
|
|
|
&:-webkit-autofill:focus,
|
|
|
|
&:-webkit-autofill:active {
|
|
|
|
-webkit-box-shadow: 0 0 0 $searchbar-height var(--secondary-background) inset !important;
|
|
|
|
box-shadow: 0 0 0 $searchbar-height var(--secondary-background) inset !important;
|
|
|
|
}
|
|
|
|
}
|
2020-04-14 20:05:22 +00:00
|
|
|
}
|
|
|
|
|
2020-06-22 19:07:51 +00:00
|
|
|
#container {
|
|
|
|
--container-width: 95%;
|
|
|
|
|
|
|
|
@media only screen and (min-width: $small) {
|
|
|
|
--container-width: 85%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: $medium) {
|
|
|
|
--container-width: 70%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-16 11:38:59 +00:00
|
|
|
/* Modal Content */
|
|
|
|
.smallmodal-content {
|
2020-06-22 19:07:51 +00:00
|
|
|
--modal-content-width: 95%;
|
2020-06-07 19:42:20 +00:00
|
|
|
|
2020-06-22 19:07:51 +00:00
|
|
|
@media only screen and (min-width: $small) {
|
|
|
|
--modal-content-width: 85%;
|
2020-06-07 19:42:20 +00:00
|
|
|
}
|
2020-04-16 11:38:59 +00:00
|
|
|
|
2020-06-22 19:07:51 +00:00
|
|
|
@media only screen and (min-width: $medium) {
|
|
|
|
--modal-content-width: 70%;
|
2020-04-14 20:05:22 +00:00
|
|
|
}
|
|
|
|
}
|