2020-05-31 23:14:13 +02:00
|
|
|
@import './variables.scss';
|
2020-06-01 03:05:51 +02:00
|
|
|
@import './resets.scss';
|
2020-05-31 23:14:13 +02:00
|
|
|
|
2020-06-03 05:07:19 +02:00
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
2020-06-03 04:02:26 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2020-05-31 21:56:44 +02:00
|
|
|
|
2020-06-03 04:02:26 +02:00
|
|
|
:focus {
|
2020-06-03 06:50:52 +02:00
|
|
|
outline: var(--outline-color) solid var(--outline-size);
|
|
|
|
outline-offset: calc(-1 * var(--outline-size)); // fix focus ring getting cropped
|
2020-06-03 04:02:26 +02:00
|
|
|
}
|
2020-05-31 21:56:44 +02:00
|
|
|
|
2020-06-03 06:50:52 +02:00
|
|
|
.picker {
|
2020-05-31 21:56:44 +02:00
|
|
|
contain: content;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-06-03 06:50:52 +02:00
|
|
|
background: var(--background-color);
|
|
|
|
border: 1px solid var(--border-color);
|
2020-06-01 04:58:07 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-05-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// via https://stackoverflow.com/a/19758620
|
2020-06-03 06:50:52 +02:00
|
|
|
.sr-only {
|
2020-05-31 21:56:44 +02:00
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
padding: 0;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2020-06-03 06:50:52 +02:00
|
|
|
.hidden {
|
2020-05-31 21:56:44 +02:00
|
|
|
opacity: 0;
|
2020-06-01 04:25:38 +02:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2020-06-03 06:50:52 +02:00
|
|
|
.abs-pos {
|
2020-05-31 21:56:44 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
2020-05-31 22:57:07 +02:00
|
|
|
|
2020-06-03 06:50:52 +02:00
|
|
|
.shown {
|
2020-05-31 21:56:44 +02:00
|
|
|
display: block;
|
|
|
|
}
|
2020-05-31 22:57:07 +02:00
|
|
|
|
2020-06-03 06:50:52 +02:00
|
|
|
.not-shown {
|
2020-05-31 21:56:44 +02:00
|
|
|
display: none;
|
2020-06-03 05:07:19 +02:00
|
|
|
}
|