@wordpress/components
Version:
UI components for WordPress.
1,994 lines (1,819 loc) • 153 kB
CSS
@charset "UTF-8";
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
:root {
--wp-admin-border-width-focus: 1.5px;
}
}
.components-animate__appear {
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
animation-fill-mode: forwards;
}
@media (prefers-reduced-motion: reduce) {
.components-animate__appear {
animation-duration: 1ms;
animation-delay: 0s;
}
}
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
transform-origin: top left;
}
.components-animate__appear.is-from-top.is-from-right {
transform-origin: top right;
}
.components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left {
transform-origin: bottom left;
}
.components-animate__appear.is-from-bottom.is-from-right {
transform-origin: bottom right;
}
@keyframes components-animate__appear-animation {
from {
transform: translateY(-2em) scaleY(0) scaleX(0);
}
to {
transform: translateY(0%) scaleY(1) scaleX(1);
}
}
.components-animate__slide-in {
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
animation-fill-mode: forwards;
}
@media (prefers-reduced-motion: reduce) {
.components-animate__slide-in {
animation-duration: 1ms;
animation-delay: 0s;
}
}
.components-animate__slide-in.is-from-left {
transform: translateX(100%);
}
.components-animate__slide-in.is-from-right {
transform: translateX(-100%);
}
@keyframes components-animate__slide-in-animation {
100% {
transform: translateX(0%);
}
}
.components-animate__loading {
animation: components-animate__loading 1.6s ease-in-out infinite;
}
@keyframes components-animate__loading {
0% {
opacity: 0.5;
}
50% {
opacity: 1;
}
100% {
opacity: 0.5;
}
}
.components-autocomplete__popover .components-popover__content > div {
padding: 16px;
min-width: 220px;
}
.components-autocomplete__result.components-button {
display: flex;
height: auto;
min-height: 36px;
text-align: left;
width: 100%;
}
.components-autocomplete__result.components-button.is-selected {
box-shadow: 0 0 0 2px #007cba;
box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
}
.components-button-group {
display: inline-block;
}
.components-button-group .components-button {
border-radius: 0;
display: inline-flex;
color: #1e1e1e;
box-shadow: inset 0 0 0 1px #1e1e1e;
}
.components-button-group .components-button + .components-button {
margin-left: -1px;
}
.components-button-group .components-button:first-child {
border-radius: 2px 0 0 2px;
}
.components-button-group .components-button:last-child {
border-radius: 0 2px 2px 0;
}
.components-button-group .components-button:focus, .components-button-group .components-button.is-primary {
position: relative;
z-index: 1;
}
.components-button-group .components-button.is-primary {
box-shadow: inset 0 0 0 1px #1e1e1e;
}
.components-button {
display: inline-flex;
text-decoration: none;
font-weight: normal;
font-size: 13px;
margin: 0;
border: 0;
cursor: pointer;
-webkit-appearance: none;
background: none;
transition: box-shadow 0.1s linear;
height: 36px;
align-items: center;
box-sizing: border-box;
padding: 6px 12px;
border-radius: 2px;
color: #1e1e1e;
/**
* Primary button style.
*/
/**
* Secondary and tertiary buttons.
*/
/**
* Secondary button style.
*/
/**
* Tertiary buttons.
*/
/**
* Destructive buttons.
*/
/**
* Link buttons.
*/
}
@media (prefers-reduced-motion: reduce) {
.components-button {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-button[aria-expanded=true], .components-button:hover {
color: #007cba;
color: var(--wp-admin-theme-color);
}
.components-button[aria-disabled=true]:hover {
color: initial;
}
.components-button:focus:not(:disabled) {
box-shadow: 0 0 0 2px #007cba;
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
outline: 3px solid transparent;
}
.components-button.is-primary {
white-space: nowrap;
background: #007cba;
background: var(--wp-admin-theme-color);
color: #fff;
text-decoration: none;
text-shadow: none;
outline: 1px solid transparent;
}
.components-button.is-primary:hover:not(:disabled) {
background: #006ba1;
background: var(--wp-admin-theme-color-darker-10);
color: #fff;
}
.components-button.is-primary:active:not(:disabled) {
background: #005a87;
background: var(--wp-admin-theme-color-darker-20);
border-color: #005a87;
border-color: var(--wp-admin-theme-color-darker-20);
color: #fff;
}
.components-button.is-primary:focus:not(:disabled) {
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #007cba;
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
.components-button.is-primary:disabled, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary[aria-disabled=true], .components-button.is-primary[aria-disabled=true]:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled {
color: rgba(255, 255, 255, 0.4);
background: #007cba;
background: var(--wp-admin-theme-color);
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
opacity: 1;
outline: none;
}
.components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:focus:enabled, .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
}
.components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] {
color: #fff;
background-size: 100px 100%;
/* stylelint-disable */
background-image: linear-gradient(-45deg, #007cba 33%, #005a87 33%, #005a87 70%, #007cba 70%);
background-image: linear-gradient(-45deg, var(--wp-admin-theme-color) 33%, var(--wp-admin-theme-color-darker-20) 33%, var(--wp-admin-theme-color-darker-20) 70%, var(--wp-admin-theme-color) 70%);
/* stylelint-enable */
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
}
.components-button.is-secondary, .components-button.is-tertiary {
outline: 1px solid transparent;
}
.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {
background: #ddd;
color: #006ba1;
color: var(--wp-admin-theme-color-darker-10);
box-shadow: none;
}
.components-button.is-secondary:hover:not(:disabled), .components-button.is-tertiary:hover:not(:disabled) {
color: #006ba1;
color: var(--wp-admin-theme-color-darker-10);
box-shadow: inset 0 0 0 1px #006ba1;
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);
}
.components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled=true], .components-button.is-secondary[aria-disabled=true]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled=true], .components-button.is-tertiary[aria-disabled=true]:hover {
color: #828282;
background: #eaeaea;
transform: none;
opacity: 1;
box-shadow: none;
outline: none;
}
.components-button.is-secondary {
box-shadow: inset 0 0 0 1px #007cba;
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
outline: 1px solid transparent;
white-space: nowrap;
color: #007cba;
color: var(--wp-admin-theme-color);
background: transparent;
}
.components-button.is-tertiary {
white-space: nowrap;
color: #007cba;
color: var(--wp-admin-theme-color);
background: transparent;
padding: 6px;
}
.components-button.is-tertiary .dashicon {
display: inline-block;
flex: 0 0 auto;
}
.components-button.is-destructive {
color: #cc1818;
box-shadow: inset 0 0 0 1px #cc1818;
}
.components-button.is-destructive:hover:not(:disabled) {
color: #710d0d;
box-shadow: inset 0 0 0 1px #710d0d;
}
.components-button.is-destructive:focus:not(:disabled) {
color: #007cba;
color: var(--wp-admin-theme-color);
}
.components-button.is-destructive:active:not(:disabled) {
background: #ccc;
}
.components-button.is-destructive.is-primary {
color: #fff;
background: #cc1818;
box-shadow: inset 0 0 0 1px #cc1818;
}
.components-button.is-destructive.is-primary:hover:not(:disabled) {
color: #fff;
background: #710d0d;
box-shadow: inset 0 0 0 1px #710d0d;
}
.components-button.is-link {
margin: 0;
padding: 0;
box-shadow: none;
border: 0;
border-radius: 0;
background: none;
outline: none;
text-align: left;
color: #007cba;
color: var(--wp-admin-theme-color);
text-decoration: underline;
transition-property: border, background, color;
transition-duration: 0.05s;
transition-timing-function: ease-in-out;
height: auto;
}
@media (prefers-reduced-motion: reduce) {
.components-button.is-link {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-button.is-link:focus {
border-radius: 2px;
}
.components-button.is-link.is-destructive {
color: #cc1818;
}
.components-button.is-link.is-destructive:active:not(:disabled), .components-button.is-link.is-destructive:hover:not(:disabled) {
color: #710d0d;
background: none;
}
.components-button.is-link.is-destructive:focus:not(:disabled) {
color: #007cba;
color: var(--wp-admin-theme-color);
}
.components-button:not([aria-disabled=true]):active {
color: inherit;
}
.components-button:disabled, .components-button[aria-disabled=true] {
cursor: default;
opacity: 0.3;
}
.components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] {
animation: components-button__busy-animation 2500ms infinite linear;
opacity: 1;
background-size: 100px 100%;
/* stylelint-disable */
background-image: linear-gradient(-45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);
/* stylelint-enable */
}
.components-button.is-small {
height: 24px;
line-height: 22px;
padding: 0 8px;
font-size: 11px;
}
.components-button.is-small.has-icon:not(.has-text) {
padding: 0 8px;
width: 24px;
}
.components-button.has-icon {
padding: 6px;
min-width: 36px;
justify-content: center;
}
.components-button.has-icon .dashicon {
display: inline-block;
flex: 0 0 auto;
margin-left: 2px;
margin-right: 2px;
}
.components-button.has-icon.has-text {
justify-content: left;
}
.components-button.has-icon.has-text svg {
margin-right: 8px;
}
.components-button.has-icon.has-text .dashicon {
margin-right: 10px;
}
.components-button.is-pressed {
color: #fff;
background: #1e1e1e;
}
.components-button.is-pressed:focus:not(:disabled) {
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #007cba;
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.components-button.is-pressed:hover:not(:disabled) {
color: #fff;
background: #1e1e1e;
}
.components-button svg {
fill: currentColor;
outline: none;
}
.components-button .components-visually-hidden {
height: auto;
}
@keyframes components-button__busy-animation {
0% {
background-position: 200px 0;
}
}
.components-checkbox-control__input[type=checkbox] {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
padding: 6px 8px;
box-shadow: 0 0 0 transparent;
transition: box-shadow 0.1s linear;
border-radius: 2px;
border: 1px solid #757575;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px;
/* Override core line-height. To be reviewed. */
line-height: normal;
border: 1px solid #1e1e1e;
margin-right: 12px;
transition: none;
border-radius: 2px;
background: #fff;
color: #1e1e1e;
clear: none;
cursor: pointer;
display: inline-block;
line-height: 0;
margin: 0 4px 0 0;
outline: 0;
padding: 0 !important;
text-align: center;
vertical-align: top;
width: 24px;
height: 24px;
-webkit-appearance: none;
appearance: none;
transition: 0.1s border-color ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.components-checkbox-control__input[type=checkbox] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
.components-checkbox-control__input[type=checkbox] {
font-size: 13px;
/* Override core line-height. To be reviewed. */
line-height: normal;
}
}
.components-checkbox-control__input[type=checkbox]:focus {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 1px #007cba;
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder {
color: rgba(30, 30, 30, 0.62);
}
.components-checkbox-control__input[type=checkbox]::-moz-placeholder {
opacity: 1;
color: rgba(30, 30, 30, 0.62);
}
.components-checkbox-control__input[type=checkbox]:-ms-input-placeholder {
color: rgba(30, 30, 30, 0.62);
}
.is-dark-theme .components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.65);
}
.is-dark-theme .components-checkbox-control__input[type=checkbox]::-moz-placeholder {
opacity: 1;
color: rgba(255, 255, 255, 0.65);
}
.is-dark-theme .components-checkbox-control__input[type=checkbox]:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.65);
}
.components-checkbox-control__input[type=checkbox]:focus {
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007cba;
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.components-checkbox-control__input[type=checkbox]:checked {
background: #007cba;
background: var(--wp-admin-theme-color);
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
}
.components-checkbox-control__input[type=checkbox]:checked::-ms-check {
opacity: 0;
}
.components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
margin: -3px -5px;
color: #fff;
}
@media (min-width: 782px) {
.components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
margin: -4px 0 0 -5px;
}
}
.components-checkbox-control__input[type=checkbox][aria-checked=mixed] {
background: #007cba;
background: var(--wp-admin-theme-color);
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
}
.components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
content: "";
float: left;
display: inline-block;
vertical-align: middle;
width: 16px;
/* stylelint-disable */
font: normal 30px/1 dashicons;
/* stylelint-enable */
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (min-width: 782px) {
.components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
float: none;
font-size: 21px;
}
}
@media (min-width: 600px) {
.components-checkbox-control__input[type=checkbox] {
height: 20px;
width: 20px;
}
}
@media (prefers-reduced-motion: reduce) {
.components-checkbox-control__input[type=checkbox] {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-checkbox-control__input[type=checkbox]:focus {
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007cba;
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.components-checkbox-control__input[type=checkbox]:checked {
background: #007cba;
background: var(--wp-admin-theme-color);
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
}
.components-checkbox-control__input[type=checkbox]:checked::-ms-check {
opacity: 0;
}
.components-checkbox-control__input[type=checkbox]:checked::before {
content: none;
}
.components-checkbox-control__input-container {
position: relative;
display: inline-block;
margin-right: 12px;
vertical-align: middle;
width: 24px;
height: 24px;
}
@media (min-width: 600px) {
.components-checkbox-control__input-container {
width: 20px;
height: 20px;
}
}
svg.components-checkbox-control__checked {
fill: #fff;
cursor: pointer;
position: absolute;
left: 0;
top: 0;
width: 24px;
height: 24px;
-webkit-user-select: none;
user-select: none;
pointer-events: none;
}
@media (min-width: 600px) {
svg.components-checkbox-control__checked {
left: -2px;
top: -2px;
}
}
.components-circular-option-picker {
display: inline-block;
width: 100%;
min-width: 188px;
}
.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper {
display: flex;
justify-content: flex-end;
}
.components-circular-option-picker .components-circular-option-picker__swatches {
margin-right: -12px;
}
.components-circular-option-picker__option-wrapper {
display: inline-block;
height: 28px;
width: 28px;
margin-right: 12px;
margin-bottom: 12px;
vertical-align: top;
transform: scale(1);
transition: 100ms transform ease;
}
@media (prefers-reduced-motion: reduce) {
.components-circular-option-picker__option-wrapper {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-circular-option-picker__option-wrapper:hover {
transform: scale(1.2);
}
.components-circular-option-picker__option-wrapper > div {
height: 100%;
width: 100%;
}
.components-circular-option-picker__option-wrapper::before {
content: "";
position: absolute;
top: 1px;
left: 1px;
bottom: 1px;
right: 1px;
border-radius: 50%;
z-index: -1;
/* stylelint-disable-next-line function-url-quotes */
background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E');
}
.components-circular-option-picker__option {
display: inline-block;
vertical-align: top;
height: 100%;
width: 100%;
border: none;
border-radius: 50%;
background: transparent;
box-shadow: inset 0 0 0 14px;
transition: 100ms box-shadow ease;
cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
.components-circular-option-picker__option {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-circular-option-picker__option:hover {
box-shadow: inset 0 0 0 14px !important;
}
.components-circular-option-picker__option.is-pressed {
box-shadow: inset 0 0 0 4px;
position: relative;
z-index: 1;
overflow: visible;
}
.components-circular-option-picker__option.is-pressed + svg {
position: absolute;
left: 2px;
top: 2px;
border-radius: 50%;
z-index: 2;
pointer-events: none;
}
.components-circular-option-picker__option::after {
content: "";
position: absolute;
top: -1px;
left: -1px;
bottom: -1px;
right: -1px;
border-radius: 50%;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
border: 1px solid transparent;
}
.components-circular-option-picker__option:focus::after {
content: "";
border: 2px solid #757575;
width: 32px;
height: 32px;
position: absolute;
top: -2px;
left: -2px;
border-radius: 50%;
box-shadow: inset 0 0 0 2px #fff;
}
.components-circular-option-picker__option.components-button:focus {
background-color: transparent;
box-shadow: inset 0 0 0 14px;
outline: none;
}
.components-circular-option-picker__button-action .components-circular-option-picker__option {
color: #fff;
background: #fff;
}
.components-circular-option-picker__dropdown-link-action {
margin-right: 16px;
}
.components-circular-option-picker__dropdown-link-action .components-button {
line-height: 22px;
}
.components-color-edit__color-option-main-area {
display: flex;
align-items: center;
}
.components-color-edit__color-option-main-area div.components-circular-option-picker__option-wrapper {
display: block;
margin: 8px;
}
.components-color-edit__color-option.is-hover {
background: #e0e0e0;
}
.components-color-edit__cancel-button {
float: right;
}
.components-color-edit__color-option-color-name {
width: 100%;
}
.components-color-edit__label-and-insert-container {
display: flex;
align-items: center;
justify-content: space-between;
}
.components-color-edit__insert-button {
margin-top: -8px;
}
.components-color-edit__hidden-control {
position: relative;
left: -9999px;
}
.components-color-edit__color-option-color-name-input .components-base-control__field {
margin-bottom: 0;
margin-right: 8px;
}
.components-color-edit__slug-input {
margin-left: 8px;
}
.components-color-edit__reset-button {
float: right;
}
.component-color-indicator {
width: 25px;
height: 16px;
margin-left: 0.8rem;
border: 1px solid #dadada;
display: inline-block;
}
.component-color-indicator + .component-color-indicator {
margin-left: 0.5rem;
}
/**
* Parts of this source were derived and modified from react-color,
* released under the MIT license.
*
* https://github.com/casesandberg/react-color/
*
* Copyright (c) 2015 Case Sandberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
.components-color-picker {
width: 100%;
}
.components-color-picker * {
box-sizing: border-box;
}
.components-color-picker__saturation {
width: 100%;
padding-bottom: 55%;
position: relative;
}
.components-color-picker__body {
padding: 16px 16px 12px;
}
.components-color-picker__controls {
display: flex;
}
.components-color-picker__saturation-pointer,
.components-color-picker__hue-pointer,
.components-color-picker__alpha-pointer {
padding: 0;
position: absolute;
cursor: pointer;
box-shadow: none;
border: none;
}
/* CURRENT COLOR COMPONENT */
.components-color-picker__swatch {
margin-right: 8px;
width: 32px;
height: 32px;
border-radius: 50%;
position: relative;
overflow: hidden;
background-image: linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ddd 75%), linear-gradient(-45deg, transparent 75%, #ddd 75%);
background-size: 10px 10px;
background-position: 0 0, 0 5px, 5px -5px, -5px 0;
}
.is-alpha-disabled .components-color-picker__swatch {
width: 12px;
height: 12px;
margin-top: 0;
}
.components-color-picker__active {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 50%;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
z-index: 2;
}
/* SATURATION COMPONENT */
.components-color-picker__saturation-color,
.components-color-picker__saturation-white,
.components-color-picker__saturation-black {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.components-color-picker__saturation-color {
overflow: visible;
}
.components-color-picker__saturation-white {
/*rtl:ignore*/
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.components-color-picker__saturation-black {
background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
}
.components-button.components-color-picker__saturation-pointer {
width: 14px;
height: 14px;
padding: 0;
border-radius: 50%;
background-color: transparent;
transform: translate(-50%, -50%);
box-shadow: 0 0 0 1px #fff, inset 0 0 0 1px #000, 0 0 0 2px #000;
}
.components-button.components-color-picker__saturation-pointer:focus:not(:disabled) {
box-shadow: 0 0 0 2px #fff, inset 0 0 0 1px #000, 0 0 0 3px #000;
}
/* HUE & ALPHA BARS */
.components-color-picker__toggles {
flex: 1;
}
.components-color-picker__alpha {
background-image: linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ddd 75%), linear-gradient(-45deg, transparent 75%, #ddd 75%);
background-size: 10px 10px;
background-position: 0 0, 0 5px, 5px -5px, -5px 0;
}
.components-color-picker__hue-gradient,
.components-color-picker__alpha-gradient {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.components-color-picker__hue,
.components-color-picker__alpha {
height: 12px;
position: relative;
}
.is-alpha-enabled .components-color-picker__hue {
margin-bottom: 8px;
}
.components-color-picker__hue-bar,
.components-color-picker__alpha-bar {
position: relative;
margin: 0 3px;
height: 100%;
padding: 0 2px;
}
.components-color-picker__hue-gradient {
/*rtl:ignore*/
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
.components-color-picker__hue-pointer,
.components-color-picker__alpha-pointer {
/*rtl:ignore*/
left: 0;
width: 14px;
height: 14px;
border-radius: 50%;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
background: #fff;
transform: translate(-7px, -1px);
}
.components-color-picker__hue-pointer,
.components-color-picker__saturation-pointer {
transition: box-shadow 0.1s linear;
}
@media (prefers-reduced-motion: reduce) {
.components-color-picker__hue-pointer,
.components-color-picker__saturation-pointer {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-color-picker__saturation-pointer:focus {
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007cba, 0 0 5px 0 #007cba, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color), 0 0 5px 0 var(--wp-admin-theme-color), inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
}
.components-color-picker__hue-pointer:focus,
.components-color-picker__alpha-pointer:focus {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 2px #007cba, 0 0 3px 0 #007cba;
box-shadow: 0 0 0 2px var(--wp-admin-theme-color), 0 0 3px 0 var(--wp-admin-theme-color);
outline: 2px solid transparent;
outline-offset: -2px;
}
/* INPUTS COMPONENT */
.components-color-picker__inputs-wrapper {
margin: 0 -4px;
padding-top: 16px;
display: flex;
align-items: flex-end;
min-width: 255px;
}
.components-color-picker__inputs-wrapper fieldset {
flex: 1;
border: none;
margin: 0;
padding: 0;
}
.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number] {
padding: 6px 3px;
margin: 0;
}
.components-color-picker__inputs-field {
width: 100%;
}
.components-color-picker__inputs-fields {
display: flex;
/*rtl:ignore*/
direction: ltr;
flex-grow: 1;
margin-right: 4px;
}
.components-color-picker__inputs-fields .components-base-control + .components-base-control {
margin-top: 0;
}
.components-color-picker__inputs-fields .components-base-control__field {
margin: 0 2px;
}
.components-color-picker__inputs-toggle {
height: 30px;
padding: 0 5px;
}
.components-combobox-control {
width: 100%;
}
input.components-combobox-control__input[type=text] {
width: 100%;
border: none;
box-shadow: none;
font-size: 16px;
padding: 2px;
margin: 0;
line-height: inherit;
min-height: auto;
}
@media (min-width: 600px) {
input.components-combobox-control__input[type=text] {
font-size: 13px;
}
}
input.components-combobox-control__input[type=text]:focus {
outline: none;
box-shadow: none;
}
.components-combobox-control__suggestions-container {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
padding: 6px 8px;
box-shadow: 0 0 0 transparent;
transition: box-shadow 0.1s linear;
border-radius: 2px;
border: 1px solid #757575;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px;
/* Override core line-height. To be reviewed. */
line-height: normal;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
width: 100%;
margin: 0 0 8px 0;
padding: 4px;
}
@media (prefers-reduced-motion: reduce) {
.components-combobox-control__suggestions-container {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
.components-combobox-control__suggestions-container {
font-size: 13px;
/* Override core line-height. To be reviewed. */
line-height: normal;
}
}
.components-combobox-control__suggestions-container:focus {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 1px #007cba;
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.components-combobox-control__suggestions-container::-webkit-input-placeholder {
color: rgba(30, 30, 30, 0.62);
}
.components-combobox-control__suggestions-container::-moz-placeholder {
opacity: 1;
color: rgba(30, 30, 30, 0.62);
}
.components-combobox-control__suggestions-container:-ms-input-placeholder {
color: rgba(30, 30, 30, 0.62);
}
.is-dark-theme .components-combobox-control__suggestions-container::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.65);
}
.is-dark-theme .components-combobox-control__suggestions-container::-moz-placeholder {
opacity: 1;
color: rgba(255, 255, 255, 0.65);
}
.is-dark-theme .components-combobox-control__suggestions-container:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.65);
}
.components-combobox-control__suggestions-container:focus-within {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 1px #007cba;
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.components-combobox-control__reset.components-button {
display: flex;
height: 24px;
min-width: 24px;
padding: 0;
}
.components-color-list-picker,
.components-color-list-picker__swatch-button {
width: 100%;
}
.components-custom-gradient-picker__gradient-bar:not(.has-gradient) {
opacity: 0.4;
}
.components-custom-gradient-picker__gradient-bar {
margin-top: 12px;
width: 100%;
height: 36px;
border-radius: 36px;
margin-bottom: 12px;
padding-left: 6px;
padding-right: 30px;
}
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container {
position: relative;
}
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point {
border-radius: 50%;
background: #fff;
padding: 2px;
top: 6px;
min-width: 24px;
width: 24px;
height: 24px;
position: relative;
color: #1e1e1e;
}
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point svg {
height: 100%;
width: 100%;
}
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button {
border: 2px solid transparent;
box-shadow: inset 0 0 0 2px #fff;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff;
border-radius: 50%;
height: 24px;
width: 24px;
padding: 0;
position: absolute;
top: 6px;
}
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #1e1e1e;
}
.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point {
margin-left: auto;
margin-right: auto;
display: block;
margin-bottom: 8px;
}
.components-custom-gradient-picker__inserter {
width: 100%;
}
.components-custom-gradient-picker__liner-gradient-indicator {
display: inline-block;
flex: 0 auto;
width: 20px;
height: 20px;
}
.components-custom-gradient-picker .components-custom-gradient-picker__ui-line {
margin-bottom: 16px;
}
.components-custom-gradient-picker .components-custom-gradient-picker__ui-line .components-base-control.components-angle-picker,
.components-custom-gradient-picker .components-custom-gradient-picker__ui-line .components-base-control.components-custom-gradient-picker__type-picker {
margin-bottom: 0;
}
.components-custom-gradient-picker .components-custom-gradient-picker__toolbar {
border: none;
}
.components-custom-gradient-picker .components-custom-gradient-picker__toolbar > div + div {
margin-left: 1px;
}
.components-custom-gradient-picker .components-custom-gradient-picker__toolbar button.is-pressed > svg {
background: #fff;
border: 1px solid #949494;
border-radius: 2px;
}
.components-custom-select-control {
position: relative;
}
.components-custom-select-control__label {
display: block;
margin-bottom: 8px;
}
.components-custom-select-control__button {
border: 1px solid #757575;
border-radius: 2px;
min-height: 30px;
min-width: 130px;
position: relative;
text-align: left;
}
.components-custom-select-control__button.components-custom-select-control__button {
padding-right: 24px;
}
.components-custom-select-control__button:focus:not(:disabled) {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 1px #007cba;
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
}
.components-custom-select-control__button .components-custom-select-control__button-icon {
height: 100%;
padding: 0;
position: absolute;
right: 0;
top: 0;
}
.components-custom-select-control__menu {
border: 1px solid #1e1e1e;
background-color: #fff;
border-radius: 2px;
outline: none;
transition: none;
max-height: 400px;
min-width: 100%;
overflow: auto;
padding: 0;
position: absolute;
z-index: 1000000;
}
.components-custom-select-control__menu[aria-hidden=true] {
display: none;
}
.components-custom-select-control__item {
align-items: center;
display: flex;
list-style-type: none;
padding: 8px;
cursor: default;
line-height: 28px;
}
.components-custom-select-control__item.is-highlighted {
background: #ddd;
}
.components-custom-select-control__item .components-custom-select-control__item-icon {
margin-right: 0;
margin-left: auto;
}
.components-custom-select-control__item:last-child {
margin-bottom: 0;
}
/**
* Parts of this source were derived and modified from react-dates,
* released under the MIT license.
*
* https://github.com/airbnb/react-dates
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Airbnb
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/*rtl:begin:ignore*/
.PresetDateRangePicker_panel {
padding: 0 22px 11px;
}
.PresetDateRangePicker_button {
position: relative;
height: 100%;
text-align: center;
background: 0 0;
border: 2px solid #00a699;
color: #00a699;
padding: 4px 12px;
margin-right: 8px;
font: inherit;
font-weight: 700;
line-height: normal;
overflow: visible;
box-sizing: border-box;
cursor: pointer;
}
.PresetDateRangePicker_button:active {
outline: 0;
}
.PresetDateRangePicker_button__selected {
color: #fff;
background: #00a699;
}
.SingleDatePickerInput {
display: inline-block;
background-color: #fff;
}
.SingleDatePickerInput__withBorder {
border-radius: 2px;
border: 1px solid #dbdbdb;
}
.SingleDatePickerInput__rtl {
direction: rtl;
}
.SingleDatePickerInput__disabled {
background-color: #f2f2f2;
}
.SingleDatePickerInput__block {
display: block;
}
.SingleDatePickerInput__showClearDate {
padding-right: 30px;
}
.SingleDatePickerInput_clearDate {
background: 0 0;
border: 0;
color: inherit;
font: inherit;
line-height: normal;
overflow: visible;
cursor: pointer;
padding: 10px;
margin: 0 10px 0 5px;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.SingleDatePickerInput_clearDate__default:focus,
.SingleDatePickerInput_clearDate__default:hover {
background: #dbdbdb;
border-radius: 50%;
}
.SingleDatePickerInput_clearDate__small {
padding: 6px;
}
.SingleDatePickerInput_clearDate__hide {
visibility: hidden;
}
.SingleDatePickerInput_clearDate_svg {
fill: #82888a;
height: 12px;
width: 15px;
vertical-align: middle;
}
.SingleDatePickerInput_clearDate_svg__small {
height: 9px;
}
.SingleDatePickerInput_calendarIcon {
background: 0 0;
border: 0;
color: inherit;
font: inherit;
line-height: normal;
overflow: visible;
cursor: pointer;
display: inline-block;
vertical-align: middle;
padding: 10px;
margin: 0 5px 0 10px;
}
.SingleDatePickerInput_calendarIcon_svg {
fill: #82888a;
height: 15px;
width: 14px;
vertical-align: middle;
}
.SingleDatePicker {
position: relative;
display: inline-block;
}
.SingleDatePicker__block {
display: block;
}
.SingleDatePicker_picker {
z-index: 1;
background-color: #fff;
position: absolute;
}
.SingleDatePicker_picker__rtl {
direction: rtl;
}
.SingleDatePicker_picker__directionLeft {
left: 0;
}
.SingleDatePicker_picker__directionRight {
right: 0;
}
.SingleDatePicker_picker__portal {
background-color: rgba(0, 0, 0, 0.3);
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.SingleDatePicker_picker__fullScreenPortal {
background-color: #fff;
}
.SingleDatePicker_closeButton {
background: 0 0;
border: 0;
color: inherit;
font: inherit;
line-height: normal;
overflow: visible;
cursor: pointer;
position: absolute;
top: 0;
right: 0;
padding: 15px;
z-index: 2;
}
.SingleDatePicker_closeButton:focus,
.SingleDatePicker_closeButton:hover {
color: #b0b3b4;
text-decoration: none;
}
.SingleDatePicker_closeButton_svg {
height: 15px;
width: 15px;
fill: #cacccd;
}
.DayPickerKeyboardShortcuts_buttonReset {
background: 0 0;
border: 0;
border-radius: 0;
color: inherit;
font: inherit;
line-height: normal;
overflow: visible;
padding: 0;
cursor: pointer;
font-size: 14px;
}
.DayPickerKeyboardShortcuts_buttonReset:active {
outline: 0;
}
.DayPickerKeyboardShortcuts_show {
width: 22px;
position: absolute;
z-index: 2;
}
.DayPickerKeyboardShortcuts_show__bottomRight {
border-top: 26px solid transparent;
border-right: 33px solid #00a699;
bottom: 0;
right: 0;
}
.DayPickerKeyboardShortcuts_show__bottomRight:hover {
border-right: 33px solid #008489;
}
.DayPickerKeyboardShortcuts_show__topRight {
border-bottom: 26px solid transparent;
border-right: 33px solid #00a699;
top: 0;
right: 0;
}
.DayPickerKeyboardShortcuts_show__topRight:hover {
border-right: 33px solid #008489;
}
.DayPickerKeyboardShortcuts_show__topLeft {
border-bottom: 26px solid transparent;
border-left: 33px solid #00a699;
top: 0;
left: 0;
}
.DayPickerKeyboardShortcuts_show__topLeft:hover {
border-left: 33px solid #008489;
}
.DayPickerKeyboardShortcuts_showSpan {
color: #fff;
position: absolute;
}
.DayPickerKeyboardShortcuts_showSpan__bottomRight {
bottom: 0;
right: -28px;
}
.DayPickerKeyboardShortcuts_showSpan__topRight {
top: 1px;
right: -28px;
}
.DayPickerKeyboardShortcuts_showSpan__topLeft {
top: 1px;
left: -28px;
}
.DayPickerKeyboardShortcuts_panel {
overflow: auto;
background: #fff;
border: 1px solid #dbdbdb;
border-radius: 2px;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 2;
padding: 22px;
margin: 33px;
}
.DayPickerKeyboardShortcuts_title {
font-size: 16px;
font-weight: 700;
margin: 0;
}
.DayPickerKeyboardShortcuts_list {
list-style: none;
padding: 0;
font-size: 14px;
}
.DayPickerKeyboardShortcuts_close {
position: absolute;
right: 22px;
top: 22px;
z-index: 2;
}
.DayPickerKeyboardShortcuts_close:active {
outline: 0;
}
.DayPickerKeyboardShortcuts_closeSvg {
height: 15px;
width: 15px;
fill: #cacccd;
}
.DayPickerKeyboardShortcuts_closeSvg:focus,
.DayPickerKeyboardShortcuts_closeSvg:hover {
fill: #82888a;
}
.CalendarDay {
box-sizing: border-box;
cursor: pointer;
font-size: 14px;
text-align: center;
}
.CalendarDay:active {
outline: 0;
}
.CalendarDay__defaultCursor {
cursor: default;
}
.CalendarDay__default {
border: 1px solid #e4e7e7;
color: #484848;
background: #fff;
}
.CalendarDay__default:hover {
background: #e4e7e7;
border: 1px double #e4e7e7;
color: inherit;
}
.CalendarDay__hovered_offset {
background: #f4f5f5;
border: 1px double #e4e7e7;
color: inherit;
}
.CalendarDay__outside {
border: 0;
background: #fff;
color: #484848;
}
.CalendarDay__outside:hover {
border: 0;
}
.CalendarDay__blocked_minimum_nights {
background: #fff;
border: 1px solid #eceeee;
color: #cacccd;
}
.CalendarDay__blocked_minimum_nights:active,
.CalendarDay__blocked_minimum_nights:hover {
background: #fff;
color: #cacccd;
}
.CalendarDay__highlighted_calendar {
background: #ffe8bc;
color: #484848;
}
.CalendarDay__highlighted_calendar:active,
.CalendarDay__highlighted_calendar:hover {
background: #ffce71;
color: #484848;
}
.CalendarDay__selected_span {
background: #66e2da;
border: 1px solid #33dacd;
color: #fff;
}
.CalendarDay__selected_span:active,
.CalendarDay__selected_span:hover {
background: #33dacd;
border: 1px solid #33dacd;
color: #fff;
}
.CalendarDay__last_in_range {
border-right: #00a699;
}
.CalendarDay__selected,
.CalendarDay__selected:active,
.CalendarDay__selected:hover {
background: #00a699;
border: 1px solid #00a699;
color: #fff;
}
.CalendarDay__hovered_span,
.CalendarDay__hovered_span:hover {
background: #b2f1ec;
border: 1px solid #80e8e0;
color: #007a87;
}
.CalendarDay__hovered_span:active {
background: #80e8e0;
border: 1px solid #80e8e0;
color: #007a87;
}
.CalendarDay__blocked_calendar,
.CalendarDay__blocked_calendar:active,
.CalendarDay__blocked_calendar:hover {
background: #cacccd;
border: 1px solid #cacccd;
color: #82888a;
}
.CalendarDay__blocked_out_of_range,
.CalendarDay__blocked_out_of_range:active,
.CalendarDay__blocked_out_of_range:hover {
background: #fff;
border: 1px solid #e4e7e7;
color: #cacccd;
}
.CalendarMonth {
background: #fff;
text-align: center;
vertical-align: top;
-webkit-user-select: none;
user-select: none;
}
.CalendarMonth_table {
border-collapse: collapse;
border-spacing: 0;
}
.CalendarMonth_verticalSpacing {
border-collapse: separate;
}
.CalendarMonth_caption {
color: #484848;
font-size: 18px;
text-align: center;
padding-top: 22px;
padding-bottom: 37px;
caption-side: initial;
}
.CalendarMonth_caption__verticalScrollable {
padding-top: 12px;
padding-bottom: 7px;
}
.CalendarMonthGrid {
background: #fff;
text-align: left;
z-index: 0;
}
.CalendarMonthGrid__animating {
z-index: 1;
}
.CalendarMonthGrid__horizontal {
position: absolute;
left: 0;
}
.CalendarMonthGrid__vertical {
margin: 0 auto;
}
.CalendarMonthGrid__vertical_scrollable {
margin: 0 auto;
overflow-y: scroll;
}
.CalendarMonthGrid_month__horizontal {
display: inline-block;
vertical-align: top;
min-height: 100%;
}
.CalendarMonthGrid_month__hideForAnimation {
position: absolute;
z-index: -1;
opacity: 0;
pointer-events: none;
}
.CalendarMonthGrid_month__hidden {
visibility: hidden;
}
.DayPickerNavigation {
position: relative;
z-index: 2;
}
.DayPickerNavigation__horizontal {
height: 0;
}
.DayPickerNavigation__verticalDefault {
position: absolute;
width: 100%;
height: 52px;
bottom: 0;
left: 0;
}
.DayPickerNavigation__verticalScrollableDefault {
position: relative;
}
.DayPickerNavigation_button {
cursor: pointer;
-webkit-user-select: none;
user-select: none;
border: 0;
padding: 0;
margin: 0;
}
.DayPickerNavigation_button__default {
border: 1px solid #e4e7e7;
background-color: #fff;
color: #757575;
}
.DayPickerNavigation_button__default:focus,
.DayPickerNavigation_button__default:hover {
border: 1px solid #c4c4c4;
}
.DayPickerNavigation_button__default:active {
background: #f2f2f2;
}
.DayPickerNavigation_button__horizontalDefault {
position: absolute;
top: 18px;
line-height: 0.78;
border-radius: 3px;
padding: 6px 9px;
}
.DayPickerNavigation_leftButton__horizontalDefault {
left: 22px;
}
.DayPickerNavigation_rightButton__horizontalDefault {
right: 22px;
}
.DayPickerNavigation_button__verticalDefault {
padding: 5px;
background: #fff;
box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
position: relative;
display: inline-block;
height: 100%;
width: 50%;
}
.DayPickerNavigation_nextButton__verticalDefault {
border-left: 0;
}
.DayPickerNavigation_nextButton__verticalScrollableDefault {
width: 100%;
}
.DayPickerNavigation_svg__horizontal {
height: 19px;
width: 19px;
fill: #82888a;
display: block;
}
.DayPickerNavigation_svg__vertical {
height: 42px;
width: 42px;
fill: #484848;
display: block;
}
.DayPicker {
background: #fff;
position: relative;
text-align: left;
}
.DayPicker__horizontal {
background: #fff;
}
.DayPicker__verticalScrollable {
height: 100%;
}
.DayPicker__hidden {
visibility: hidden;
}
.DayPicker__withBorder {
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07);
border-radius: 3px;
}
.DayPicker_portal__horizontal {
box-shadow: none;
position: