2018-05-23 23:15:52 +00:00
|
|
|
/** @format */
|
|
|
|
|
2018-06-01 14:35:18 +00:00
|
|
|
.woocommerce-date-picker {
|
2018-06-29 00:34:17 +00:00
|
|
|
width: 33.3%;
|
|
|
|
|
|
|
|
@include breakpoint( '<1100px' ) {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-05-28 10:55:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-date-picker__content {
|
|
|
|
.components-popover__content {
|
2018-06-29 00:34:17 +00:00
|
|
|
width: 320px;
|
2018-05-28 10:55:19 +00:00
|
|
|
padding: 1em 0;
|
|
|
|
border: 1px solid $gray;
|
|
|
|
background-color: $white;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin: 0 0 1em 0;
|
2018-05-23 23:15:52 +00:00
|
|
|
|
2018-05-28 10:55:19 +00:00
|
|
|
&:last-child {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-mobile {
|
|
|
|
.components-popover__content {
|
|
|
|
width: 100%;
|
2018-05-28 10:55:19 +00:00
|
|
|
height: 100%;
|
2018-05-28 10:55:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.components-popover__header {
|
|
|
|
border: none;
|
|
|
|
height: 0;
|
|
|
|
}
|
2018-05-23 23:15:52 +00:00
|
|
|
|
2018-05-28 10:55:19 +00:00
|
|
|
.components-popover__close {
|
|
|
|
transform: translateY(22px);
|
2018-05-23 23:15:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-28 10:55:19 +00:00
|
|
|
.woocommerce-date-picker__date-inputs {
|
|
|
|
max-width: 320px;
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
margin: 0 1em 1em 1em;
|
|
|
|
grid-template-columns: 45% 10% 45%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-06-01 14:35:18 +00:00
|
|
|
.woocommerce-date-picker__tabs {
|
2018-05-23 23:15:52 +00:00
|
|
|
.components-tab-panel__tabs {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin: 0 1em 1em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-tab-panel__tab-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-05-28 10:55:19 +00:00
|
|
|
align-items: center;
|
2018-05-23 23:15:52 +00:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-01 14:35:18 +00:00
|
|
|
.woocommerce-date-picker__tab {
|
2018-05-23 23:15:52 +00:00
|
|
|
outline: none;
|
2018-06-29 00:34:17 +00:00
|
|
|
border: 1px solid $woocommerce;
|
2018-05-23 23:15:52 +00:00
|
|
|
padding: 10px;
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 5px 0 0 5px;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-radius: 0 5px 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
2018-06-29 00:34:17 +00:00
|
|
|
background-color: $woocommerce;
|
2018-05-23 23:15:52 +00:00
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 2px solid lightseagreen;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-01 14:35:18 +00:00
|
|
|
.woocommerce-date-picker__update-btn {
|
2018-05-23 23:15:52 +00:00
|
|
|
border: 1px solid $gray;
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0.5em;
|
|
|
|
width: 50%;
|
2018-05-28 10:55:19 +00:00
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
2018-05-28 10:55:19 +00:00
|
|
|
justify-content: center;
|
|
|
|
line-height: inherit;
|
2018-05-23 23:15:52 +00:00
|
|
|
}
|
|
|
|
|
2018-06-01 14:35:18 +00:00
|
|
|
.woocommerce-date-picker__text {
|
2018-06-29 00:34:17 +00:00
|
|
|
@include font-size( 12 );
|
|
|
|
font-weight: 100;
|
2018-05-23 23:15:52 +00:00
|
|
|
text-transform: uppercase;
|
|
|
|
text-align: center;
|
2018-06-29 00:34:17 +00:00
|
|
|
color: $core-grey-dark-500;
|
2018-05-28 10:55:19 +00:00
|
|
|
}
|