parent
b2e42c051b
commit
ba78e9d195
@ -0,0 +1,144 @@
|
||||
@use "../util" as *;
|
||||
@use "../globals" as *;
|
||||
|
||||
|
||||
.picker-container {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
max-width: 85%;
|
||||
width: 85%;
|
||||
padding: 1rem;
|
||||
z-index: $dropdown-zindex;
|
||||
background-color: var(--bg-core-primary-light);
|
||||
border-radius: calc($border-radius-lg *2 );
|
||||
box-shadow: $base-box-shadow, 0 0 0 100vw rgba(0,0,0,.5);
|
||||
}
|
||||
|
||||
|
||||
@include breakpoint(sm) {
|
||||
.picker-container {
|
||||
position: absolute;
|
||||
top: auto;
|
||||
left: auto;
|
||||
transform: none;
|
||||
margin-top: .5rem;
|
||||
max-width: 350px;
|
||||
width: 100%;
|
||||
box-shadow: $base-box-shadow;
|
||||
}
|
||||
}
|
||||
|
||||
#picker-header {
|
||||
padding: .5rem 1rem;
|
||||
}
|
||||
|
||||
#picker-body {
|
||||
padding: 0 0.5rem 0.75rem;;
|
||||
}
|
||||
|
||||
|
||||
.picker-header-label {
|
||||
font-size: $font-size-sm;
|
||||
color: var(--text-core-lc);
|
||||
|
||||
}
|
||||
|
||||
.picker-header-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.picker-divider {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
margin: 0 0 .5rem 0;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid var(--text-core-vc);
|
||||
}
|
||||
|
||||
.picker-menu {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin: 0.5rem -0.75rem 0.75rem;
|
||||
|
||||
}
|
||||
|
||||
.picker-grid-col-3 {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.picker-grid-col-7 {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
}
|
||||
|
||||
|
||||
.days{
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
color: var(--text-core);
|
||||
text-transform: uppercase;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color:transparent;
|
||||
font-size: .85rem;
|
||||
font-weight: 500;
|
||||
border-radius: 50%;
|
||||
// &:hover {
|
||||
// background-color:var(--bg-core-primary);
|
||||
// color: var(--text-core-hc);
|
||||
// }
|
||||
&:focus-visible,
|
||||
&.focus {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.15rem var(--bg-core-primary-lighten);
|
||||
}
|
||||
&:active,
|
||||
&.active {
|
||||
background-color:var(--bg-core-primary-dark);
|
||||
color: #fafafa;
|
||||
}
|
||||
&.current {
|
||||
background-color:transparent;
|
||||
color: var(--bg-core-primary-dark);
|
||||
border: 1px solid var(--bg-core-primary-dark);
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
min-width: 2rem;
|
||||
height: 2rem;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
color: var(--text-core);
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
user-select: none;
|
||||
background-color:transparent;
|
||||
border: 1px solid transparent;
|
||||
//padding: 0.3rem 1rem;
|
||||
font-size: .85rem;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
border-radius: 100vw;
|
||||
transition: all .15s ease-in-out;
|
||||
&:hover {
|
||||
background-color: var(--bg-core-primary);
|
||||
}
|
||||
&:focus-visible,
|
||||
&.focus {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.15rem var(--bg-core-primary-lighten);
|
||||
}
|
||||
&:active,
|
||||
&.active {
|
||||
background-color: var(--bg-core-primary-dark);
|
||||
color: #fafafa;
|
||||
}
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-LightItalic'), local('Open Sans Light Italic');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-LightItalic.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-LightItalic.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-LightItalic.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-LightItalic.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-LightItalic.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-LightItalic.svg#OpenSans-LightItalic') format('svg');
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-ExtraBoldItalic'), local('Open Sans Extra Bold Italic');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-ExtraBoldItalic.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-ExtraBoldItalic.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-ExtraBoldItalic.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-ExtraBoldItalic.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-ExtraBoldItalic.svg#OpenSans-ExtraBoldItalic') format('svg');
|
||||
font-weight: 800;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-Light'), local('Open Sans Light');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-Light.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-Light.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-Light.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-Light.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-Light.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-Light.svg#OpenSans-Light') format('svg');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-SemiBold'), local('Open Sans Semi Bold');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-SemiBold.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-SemiBold.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-SemiBold.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-SemiBold.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-SemiBold.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-SemiBold.svg#OpenSans-SemiBold') format('svg');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-Regular'), local('Open Sans Regular');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-Regular.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-Regular.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-Regular.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-Regular.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-Regular.svg#OpenSans-Regular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-BoldItalic'), local('Open Sans Bold Italic');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-BoldItalic.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-BoldItalic.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-BoldItalic.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-BoldItalic.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-BoldItalic.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-BoldItalic.svg#OpenSans-BoldItalic') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-SemiBoldItalic'), local('Open Sans Semi Bold Italic');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-SemiBoldItalic.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-SemiBoldItalic.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-SemiBoldItalic.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-SemiBoldItalic.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-SemiBoldItalic.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-SemiBoldItalic.svg#OpenSans-SemiBoldItalic') format('svg');
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-Italic'), local('Open Sans Italic');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-Italic.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-Italic.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-Italic.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-Italic.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-Italic.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-Italic.svg#OpenSans-Italic') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-ExtraBold'), local('Open Sans Extra Bold');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-ExtraBold.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-ExtraBold.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-ExtraBold.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-ExtraBold.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-ExtraBold.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-ExtraBold.svg#OpenSans-ExtraBold') format('svg');
|
||||
font-weight: 800;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src:local('OpenSans-Bold'), local('Open Sans Bold');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-Bold.eot');
|
||||
src: url('_content/Connected.Components/Fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'), url('_content/Connected.Components/Fonts/OpenSans-Bold.woff2') format('woff2'), url('_content/Connected.Components/Fonts/OpenSans-Bold.woff') format('woff'), url('_content/Connected.Components/Fonts/OpenSans-Bold.ttf') format('truetype'), url('_content/Connected.Components/Fonts/OpenSans-Bold.svg#OpenSans-Bold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue