2021-01-28 03:04:13 +01:00
|
|
|
@charset "UTF-8";
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-28 03:04:13 +01:00
|
|
|
/**
|
|
|
|
* 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.
|
2021-02-08 04:37:09 +01:00
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
2021-01-28 03:04:13 +01:00
|
|
|
*/
|
2020-01-22 23:06:21 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Fonts & basic variables.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Block & Editor UI.
|
2020-06-26 15:33:47 +02:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Block paddings.
|
2018-12-18 04:17:48 +01:00
|
|
|
*/
|
2020-10-13 15:10:30 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 15:10:30 +02:00
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* Breakpoint mixins
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Long content fade mixin
|
|
|
|
*
|
|
|
|
* Creates a fading overlay to signify that the content is longer
|
|
|
|
* than the space allows.
|
|
|
|
*/
|
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Focus styles.
|
2018-12-18 04:17:48 +01:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
2019-03-21 13:48:00 +01:00
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
2019-09-19 17:19:18 +02:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2021-01-28 03:04:13 +01:00
|
|
|
/**
|
|
|
|
* These are default block editor widths in case the theme doesn't provide them.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
2021-01-28 03:04:13 +01:00
|
|
|
--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;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
2019-03-07 10:09:59 +01:00
|
|
|
.components-animate__appear {
|
|
|
|
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-animate__appear {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
2019-03-07 10:09:59 +01:00
|
|
|
|
|
|
|
@keyframes components-animate__appear-animation {
|
|
|
|
from {
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: translateY(-2em) scaleY(0) scaleX(0);
|
|
|
|
}
|
2019-03-07 10:09:59 +01:00
|
|
|
to {
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: translateY(0%) scaleY(1) scaleX(1);
|
|
|
|
}
|
|
|
|
}
|
2019-03-07 10:09:59 +01:00
|
|
|
.components-animate__slide-in {
|
|
|
|
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
|
2021-01-28 03:04:13 +01:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-animate__slide-in {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-animate__slide-in.is-from-left {
|
|
|
|
transform: translateX(100%);
|
|
|
|
}
|
|
|
|
.components-animate__slide-in.is-from-right {
|
|
|
|
transform: translateX(-100%);
|
|
|
|
}
|
2019-03-07 10:09:59 +01:00
|
|
|
|
|
|
|
@keyframes components-animate__slide-in-animation {
|
|
|
|
100% {
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: translateX(0%);
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-animate__loading {
|
2021-01-28 03:04:13 +01:00
|
|
|
animation: components-animate__loading 1.6s ease-in-out infinite;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
@keyframes components-animate__loading {
|
|
|
|
0% {
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
50% {
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
100% {
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-autocomplete__popover .components-popover__content > div {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 16px;
|
|
|
|
min-width: 220px;
|
|
|
|
}
|
2018-12-17 04:22:13 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-autocomplete__result.components-button {
|
|
|
|
display: flex;
|
2020-06-26 15:33:47 +02:00
|
|
|
height: auto;
|
|
|
|
min-height: 36px;
|
|
|
|
text-align: left;
|
2021-01-28 03:04:13 +01:00
|
|
|
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);
|
|
|
|
}
|
2018-12-17 04:22:13 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-button-group {
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-button {
|
|
|
|
display: inline-flex;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 13px;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
background: none;
|
Block Editor: Update WordPress packages to include the latest bug fixes.
Updated packages:
@wordpress/annotations@1.7.1
@wordpress/api-fetch@3.6.1
@wordpress/babel-plugin-makepot@3.2.1
@wordpress/babel-preset-default@4.6.1
@wordpress/block-directory@1.0.1
@wordpress/block-editor@3.2.1
@wordpress/block-library@2.9.1
@wordpress/blocks@6.7.1
@wordpress/components@8.3.1
@wordpress/compose@3.7.1
@wordpress/core-data@2.7.1
@wordpress/data-controls@1.3.1
@wordpress/data@4.9.1
@wordpress/docgen@1.4.1
@wordpress/dom@2.5.1
@wordpress/e2e-test-utils@2.4.1
@wordpress/e2e-tests@1.7.1
@wordpress/edit-post@3.8.1
@wordpress/editor@9.7.1
@wordpress/element@2.8.1
@wordpress/format-library@1.9.1
@wordpress/i18n@3.6.1
@wordpress/jest-console@3.3.1
@wordpress/jest-preset-default@5.1.1
@wordpress/keycodes@2.6.1
@wordpress/library-export-default-webpack-plugin@1.4.1
@wordpress/list-reusable-blocks@1.8.1
@wordpress/media-utils@1.2.1
@wordpress/notices@1.8.1
@wordpress/nux@3.7.1
@wordpress/plugins@2.7.1
@wordpress/redux-routine@3.6.1
@wordpress/rich-text@3.7.1
@wordpress/scripts@5.0.1
@wordpress/server-side-render@1.3.1
@wordpress/shortcode@2.4.1
@wordpress/token-list@1.6.1
@wordpress/viewport@2.8.1
@wordpress/wordcount@2.6.1
Props epiqueras, youknowriad, donmhico, jorgefilipecosta, soean, mcsf, noisysocks, andraganescu, gziolo, talldanwp, iseulde, nrqsnchz, mapk, karmatosed, joen, afercia, kjellr, desrosj.
Fixes #48186.
Built from https://develop.svn.wordpress.org/trunk@46364
git-svn-id: http://core.svn.wordpress.org/trunk@46163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-30 22:07:06 +02:00
|
|
|
transition: box-shadow 0.1s linear;
|
2020-01-22 23:06:21 +01:00
|
|
|
height: 36px;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 6px 12px;
|
|
|
|
border-radius: 2px;
|
|
|
|
color: #1e1e1e;
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Primary button style.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Secondary and tertiary buttons.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Secondary button style.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Tertiary buttons.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Destructive buttons.
|
|
|
|
*/
|
2020-07-07 16:43:35 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Link buttons.
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-button {
|
|
|
|
transition-duration: 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;
|
|
|
|
/* Mimics the default link style in common.css */
|
|
|
|
color: #0073aa;
|
|
|
|
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) {
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-button.is-link {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-button.is-link:hover:not(:disabled), .components-button.is-link:active:not(:disabled) {
|
|
|
|
color: #00a0d2;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
.components-button.is-link:focus {
|
|
|
|
color: #124964;
|
|
|
|
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
|
|
|
|
box-shadow: 0 0 0 1px #5b9dd9, 0 0 var(--wp-admin-border-width-focus) 1px rgba(30, 140, 190, 0.8);
|
|
|
|
}
|
|
|
|
.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;
|
2021-02-02 06:17:13 +01:00
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 10px;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
.components-button.has-icon.has-text {
|
|
|
|
justify-content: left;
|
|
|
|
}
|
|
|
|
.components-button.has-icon.has-text svg {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
@keyframes components-button__busy-animation {
|
|
|
|
0% {
|
2021-01-28 03:04:13 +01:00
|
|
|
background-position: 200px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-checkbox-control__input[type=checkbox] {
|
2020-06-26 15:33:47 +02:00
|
|
|
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;
|
2020-07-07 16:43:35 +02:00
|
|
|
border: 1px solid #1e1e1e;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin-right: 12px;
|
|
|
|
transition: none;
|
|
|
|
border-radius: 2px;
|
2019-09-19 17:19:18 +02:00
|
|
|
background: #fff;
|
2020-06-26 15:33:47 +02:00
|
|
|
color: #1e1e1e;
|
2019-09-19 17:19:18 +02:00
|
|
|
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;
|
2020-06-26 15:33:47 +02:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2019-09-19 17:19:18 +02:00
|
|
|
-webkit-appearance: none;
|
2020-06-26 15:33:47 +02:00
|
|
|
appearance: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
transition: 0.1s border-color ease-in-out;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-checkbox-control__input[type=checkbox] {
|
|
|
|
transition-duration: 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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-checkbox-control__input-container {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 12px;
|
|
|
|
vertical-align: middle;
|
2020-06-26 15:33:47 +02:00
|
|
|
width: 24px;
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-checkbox-control__input-container {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2020-02-06 22:03:31 +01:00
|
|
|
svg.components-checkbox-control__checked {
|
2019-09-19 17:19:18 +02:00
|
|
|
fill: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
2020-06-26 15:33:47 +02:00
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2019-09-19 17:19:18 +02:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
svg.components-checkbox-control__checked {
|
|
|
|
left: -2px;
|
|
|
|
top: -2px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-circular-option-picker {
|
|
|
|
display: inline-block;
|
2020-10-13 15:10:30 +02:00
|
|
|
width: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-circular-option-picker__option-wrapper {
|
2018-12-18 04:17:48 +01:00
|
|
|
display: inline-block;
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: 12px;
|
2020-01-08 12:57:23 +01:00
|
|
|
margin-bottom: 12px;
|
2018-12-18 04:17:48 +01:00
|
|
|
vertical-align: top;
|
|
|
|
transform: scale(1);
|
2021-01-28 03:04:13 +01:00
|
|
|
transition: 100ms transform ease;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-circular-option-picker__option-wrapper {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-circular-option-picker__option-wrapper:hover {
|
|
|
|
transform: scale(1.2);
|
|
|
|
}
|
|
|
|
.components-circular-option-picker__option-wrapper > div {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.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 */
|
2021-01-28 03:04:13 +01:00
|
|
|
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');
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-circular-option-picker__option {
|
2018-12-18 04:17:48 +01:00
|
|
|
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;
|
2021-01-28 03:04:13 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-circular-option-picker__option {
|
|
|
|
transition-duration: 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;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-circular-option-picker__button-action .components-circular-option-picker__option {
|
|
|
|
color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
background: #fff;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-circular-option-picker__dropdown-link-action {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
.components-circular-option-picker__dropdown-link-action .components-button {
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-10-20 15:36:16 +02:00
|
|
|
.components-color-edit__color-option-main-area {
|
|
|
|
display: flex;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.components-color-edit__color-option-main-area div.components-circular-option-picker__option-wrapper {
|
|
|
|
display: block;
|
|
|
|
margin: 8px;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
|
|
|
.components-color-edit__color-option.is-hover {
|
2021-01-28 03:04:13 +01:00
|
|
|
background: #e0e0e0;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
|
|
|
.components-color-edit__cancel-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
float: right;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
|
|
|
.components-color-edit__color-option-color-name {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
|
|
|
.components-color-edit__label-and-insert-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-01-28 03:04:13 +01:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
|
|
|
.components-color-edit__insert-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: -8px;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
|
|
|
.components-color-edit__hidden-control {
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
left: -9999px;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
|
|
|
.components-color-edit__color-option-color-name-input .components-base-control__field {
|
|
|
|
margin-bottom: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
|
|
|
.components-color-edit__slug-input {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-color-edit__reset-button {
|
|
|
|
float: right;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.component-color-indicator {
|
|
|
|
width: 25px;
|
|
|
|
height: 16px;
|
|
|
|
margin-left: 0.8rem;
|
|
|
|
border: 1px solid #dadada;
|
2021-01-28 03:04:13 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.component-color-indicator + .component-color-indicator {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* 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 {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.components-color-picker * {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__saturation {
|
|
|
|
width: 100%;
|
|
|
|
padding-bottom: 55%;
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__body {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 16px 16px 12px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__controls {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: flex;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__saturation-pointer,
|
|
|
|
.components-color-picker__hue-pointer,
|
|
|
|
.components-color-picker__alpha-pointer {
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
|
|
|
box-shadow: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
border: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
/* 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;
|
2021-01-28 03:04:13 +01:00
|
|
|
background-position: 0 0, 0 5px, 5px -5px, -5px 0;
|
|
|
|
}
|
|
|
|
.is-alpha-disabled .components-color-picker__swatch {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.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);
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
/* 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;
|
2021-01-28 03:04:13 +01:00
|
|
|
bottom: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__saturation-color {
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow: visible;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__saturation-white {
|
2019-09-19 17:19:18 +02:00
|
|
|
/*rtl:ignore*/
|
2021-01-28 03:04:13 +01:00
|
|
|
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__saturation-black {
|
2021-01-28 03:04:13 +01:00
|
|
|
background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-button.components-color-picker__saturation-pointer {
|
2020-02-06 22:03:31 +01:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
padding: 0;
|
2018-12-18 04:17:48 +01:00
|
|
|
border-radius: 50%;
|
|
|
|
background-color: transparent;
|
2020-06-26 15:33:47 +02:00
|
|
|
transform: translate(-50%, -50%);
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
/* HUE & ALPHA BARS */
|
|
|
|
.components-color-picker__toggles {
|
2021-01-28 03:04:13 +01:00
|
|
|
flex: 1;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.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;
|
2021-01-28 03:04:13 +01:00
|
|
|
background-position: 0 0, 0 5px, 5px -5px, -5px 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__hue-gradient,
|
|
|
|
.components-color-picker__alpha-gradient {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
bottom: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__hue,
|
|
|
|
.components-color-picker__alpha {
|
|
|
|
height: 12px;
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.is-alpha-enabled .components-color-picker__hue {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__hue-bar,
|
|
|
|
.components-color-picker__alpha-bar {
|
|
|
|
position: relative;
|
|
|
|
margin: 0 3px;
|
|
|
|
height: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0 2px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__hue-gradient {
|
2019-09-19 17:19:18 +02:00
|
|
|
/*rtl:ignore*/
|
2021-01-28 03:04:13 +01:00
|
|
|
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__hue-pointer,
|
|
|
|
.components-color-picker__alpha-pointer {
|
2019-09-19 17:19:18 +02:00
|
|
|
/*rtl:ignore*/
|
2018-12-18 04:17:48 +01:00
|
|
|
left: 0;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
border-radius: 50%;
|
|
|
|
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
|
|
|
|
background: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: translate(-7px, -1px);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__hue-pointer,
|
|
|
|
.components-color-picker__saturation-pointer {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition: box-shadow 0.1s linear;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-color-picker__hue-pointer,
|
|
|
|
.components-color-picker__saturation-pointer {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__saturation-pointer:focus {
|
2020-07-07 16:43:35 +02:00
|
|
|
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);
|
2021-01-28 03:04:13 +01:00
|
|
|
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);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__hue-pointer:focus,
|
|
|
|
.components-color-picker__alpha-pointer:focus {
|
2020-07-07 16:43:35 +02:00
|
|
|
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);
|
2018-12-18 04:17:48 +01:00
|
|
|
outline: 2px solid transparent;
|
2021-01-28 03:04:13 +01:00
|
|
|
outline-offset: -2px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
/* INPUTS COMPONENT */
|
|
|
|
.components-color-picker__inputs-wrapper {
|
|
|
|
margin: 0 -4px;
|
|
|
|
padding-top: 16px;
|
|
|
|
display: flex;
|
2020-07-27 22:10:36 +02:00
|
|
|
align-items: flex-end;
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-color-picker__inputs-field {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-color-picker__inputs-fields {
|
2019-09-19 17:19:18 +02:00
|
|
|
display: flex;
|
|
|
|
/*rtl:ignore*/
|
2020-01-08 12:57:23 +01:00
|
|
|
direction: ltr;
|
2020-02-06 22:03:31 +01:00
|
|
|
flex-grow: 1;
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-02-06 22:03:31 +01:00
|
|
|
.components-color-picker__inputs-toggle {
|
|
|
|
height: 30px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0 5px;
|
|
|
|
}
|
2020-02-06 22:03:31 +01:00
|
|
|
|
2020-07-07 16:43:35 +02:00
|
|
|
.components-combobox-control {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2020-07-07 16:43:35 +02:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
input.components-combobox-control__input[type=text] {
|
2020-10-13 15:10:30 +02:00
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-size: 16px;
|
2020-10-13 15:10:30 +02:00
|
|
|
padding: 2px;
|
|
|
|
margin: 0;
|
|
|
|
line-height: inherit;
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2020-07-07 16:43:35 +02:00
|
|
|
|
2020-10-13 15:10:30 +02:00
|
|
|
.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;
|
2020-07-07 16:43:35 +02:00
|
|
|
display: flex;
|
2020-10-13 15:10:30 +02:00
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 0 8px 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-combobox-control__suggestions-container {
|
|
|
|
transition-duration: 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;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
2020-10-20 15:36:16 +02:00
|
|
|
.components-combobox-control__reset.components-button {
|
|
|
|
display: flex;
|
|
|
|
height: 24px;
|
|
|
|
min-width: 24px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
2020-10-20 15:36:16 +02:00
|
|
|
|
2020-02-10 23:33:27 +01:00
|
|
|
.components-custom-gradient-picker__gradient-bar:not(.has-gradient) {
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0.4;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2020-02-10 23:33:27 +01:00
|
|
|
.components-custom-gradient-picker__gradient-bar {
|
2020-10-13 15:10:30 +02:00
|
|
|
margin-top: 12px;
|
2020-01-08 12:57:23 +01:00
|
|
|
width: 100%;
|
2020-10-13 15:10:30 +02:00
|
|
|
height: 36px;
|
|
|
|
border-radius: 36px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
padding-left: 6px;
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: block;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-custom-gradient-picker__inserter {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2020-02-10 23:33:27 +01:00
|
|
|
.components-custom-gradient-picker__liner-gradient-indicator {
|
|
|
|
display: inline-block;
|
|
|
|
flex: 0 auto;
|
|
|
|
width: 20px;
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 20px;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
2020-10-13 15:10:30 +02:00
|
|
|
.components-custom-gradient-picker .components-custom-gradient-picker__ui-line {
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
|
|
|
.components-custom-gradient-picker .components-custom-gradient-picker__toolbar {
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-custom-select-control {
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-custom-select-control__label {
|
|
|
|
display: block;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-custom-select-control__button {
|
2020-06-26 15:33:47 +02:00
|
|
|
border: 1px solid #757575;
|
|
|
|
border-radius: 2px;
|
2020-01-08 12:57:23 +01:00
|
|
|
min-height: 30px;
|
|
|
|
min-width: 130px;
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-custom-select-control__menu {
|
2021-01-28 03:04:13 +01:00
|
|
|
border: 1px solid #1e1e1e;
|
2020-06-26 15:33:47 +02:00
|
|
|
background-color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 2px;
|
|
|
|
outline: none;
|
|
|
|
transition: none;
|
2020-02-06 22:03:31 +01:00
|
|
|
max-height: 400px;
|
2020-01-22 23:06:21 +01:00
|
|
|
min-width: 100%;
|
2020-02-06 22:03:31 +01:00
|
|
|
overflow: auto;
|
2020-01-08 12:57:23 +01:00
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 1000000;
|
|
|
|
}
|
|
|
|
.components-custom-select-control__menu[aria-hidden=true] {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-custom-select-control__item {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
list-style-type: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
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;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2019-01-04 20:38:57 +01:00
|
|
|
/*rtl:begin:ignore*/
|
2018-12-18 04:17:48 +01:00
|
|
|
.PresetDateRangePicker_panel {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0 22px 11px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.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;
|
2021-01-28 03:04:13 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.PresetDateRangePicker_button:active {
|
2021-01-28 03:04:13 +01:00
|
|
|
outline: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.PresetDateRangePicker_button__selected {
|
|
|
|
color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
background: #00a699;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput {
|
|
|
|
display: inline-block;
|
2021-01-28 03:04:13 +01:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput__withBorder {
|
|
|
|
border-radius: 2px;
|
2021-01-28 03:04:13 +01:00
|
|
|
border: 1px solid #dbdbdb;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput__rtl {
|
2021-01-28 03:04:13 +01:00
|
|
|
direction: rtl;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput__disabled {
|
2021-01-28 03:04:13 +01:00
|
|
|
background-color: #f2f2f2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput__block {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput__showClearDate {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 30px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.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%;
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput_clearDate__default:focus,
|
|
|
|
.SingleDatePickerInput_clearDate__default:hover {
|
|
|
|
background: #dbdbdb;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput_clearDate__small {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 6px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput_clearDate__hide {
|
2021-01-28 03:04:13 +01:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput_clearDate_svg {
|
|
|
|
fill: #82888a;
|
|
|
|
height: 12px;
|
|
|
|
width: 15px;
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput_clearDate_svg__small {
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 9px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.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;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0 5px 0 10px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePickerInput_calendarIcon_svg {
|
|
|
|
fill: #82888a;
|
|
|
|
height: 15px;
|
|
|
|
width: 14px;
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker {
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker__block {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker_picker {
|
|
|
|
z-index: 1;
|
|
|
|
background-color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
position: absolute;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker_picker__rtl {
|
2021-01-28 03:04:13 +01:00
|
|
|
direction: rtl;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker_picker__directionLeft {
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker_picker__directionRight {
|
2021-01-28 03:04:13 +01:00
|
|
|
right: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker_picker__portal {
|
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker_picker__fullScreenPortal {
|
2021-01-28 03:04:13 +01:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.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;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker_closeButton:focus,
|
|
|
|
.SingleDatePicker_closeButton:hover {
|
|
|
|
color: #b0b3b4;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.SingleDatePicker_closeButton_svg {
|
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
2021-01-28 03:04:13 +01:00
|
|
|
fill: #cacccd;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_buttonReset {
|
|
|
|
background: 0 0;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
color: inherit;
|
|
|
|
font: inherit;
|
|
|
|
line-height: normal;
|
|
|
|
overflow: visible;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_buttonReset:active {
|
2021-01-28 03:04:13 +01:00
|
|
|
outline: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_show {
|
|
|
|
width: 22px;
|
|
|
|
position: absolute;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_show__bottomRight {
|
|
|
|
border-top: 26px solid transparent;
|
|
|
|
border-right: 33px solid #00a699;
|
|
|
|
bottom: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
right: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_show__bottomRight:hover {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-right: 33px solid #008489;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_show__topRight {
|
|
|
|
border-bottom: 26px solid transparent;
|
|
|
|
border-right: 33px solid #00a699;
|
|
|
|
top: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
right: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_show__topRight:hover {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-right: 33px solid #008489;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_show__topLeft {
|
|
|
|
border-bottom: 26px solid transparent;
|
|
|
|
border-left: 33px solid #00a699;
|
|
|
|
top: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_show__topLeft:hover {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-left: 33px solid #008489;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_showSpan {
|
|
|
|
color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
position: absolute;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_showSpan__bottomRight {
|
|
|
|
bottom: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
right: -28px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_showSpan__topRight {
|
|
|
|
top: 1px;
|
2021-01-28 03:04:13 +01:00
|
|
|
right: -28px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_showSpan__topLeft {
|
|
|
|
top: 1px;
|
2021-01-28 03:04:13 +01:00
|
|
|
left: -28px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.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;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 33px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_title {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 700;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_close {
|
|
|
|
position: absolute;
|
|
|
|
right: 22px;
|
|
|
|
top: 22px;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_close:active {
|
2021-01-28 03:04:13 +01:00
|
|
|
outline: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_closeSvg {
|
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
2021-01-28 03:04:13 +01:00
|
|
|
fill: #cacccd;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerKeyboardShortcuts_closeSvg:focus,
|
|
|
|
.DayPickerKeyboardShortcuts_closeSvg:hover {
|
2021-01-28 03:04:13 +01:00
|
|
|
fill: #82888a;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay {
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 14px;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay:active {
|
2021-01-28 03:04:13 +01:00
|
|
|
outline: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__defaultCursor {
|
2021-01-28 03:04:13 +01:00
|
|
|
cursor: default;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__default {
|
|
|
|
border: 1px solid #e4e7e7;
|
|
|
|
color: #484848;
|
2021-01-28 03:04:13 +01:00
|
|
|
background: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__default:hover {
|
|
|
|
background: #e4e7e7;
|
|
|
|
border: 1px double #e4e7e7;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: inherit;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__hovered_offset {
|
|
|
|
background: #f4f5f5;
|
|
|
|
border: 1px double #e4e7e7;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: inherit;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__outside {
|
|
|
|
border: 0;
|
|
|
|
background: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #484848;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__outside:hover {
|
2021-01-28 03:04:13 +01:00
|
|
|
border: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__blocked_minimum_nights {
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #eceeee;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #cacccd;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__blocked_minimum_nights:active,
|
|
|
|
.CalendarDay__blocked_minimum_nights:hover {
|
|
|
|
background: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #cacccd;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__highlighted_calendar {
|
|
|
|
background: #ffe8bc;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #484848;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__highlighted_calendar:active,
|
|
|
|
.CalendarDay__highlighted_calendar:hover {
|
|
|
|
background: #ffce71;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #484848;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__selected_span {
|
|
|
|
background: #66e2da;
|
|
|
|
border: 1px solid #33dacd;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__selected_span:active,
|
|
|
|
.CalendarDay__selected_span:hover {
|
|
|
|
background: #33dacd;
|
|
|
|
border: 1px solid #33dacd;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__last_in_range {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-right: #00a699;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__selected,
|
|
|
|
.CalendarDay__selected:active,
|
|
|
|
.CalendarDay__selected:hover {
|
|
|
|
background: #00a699;
|
|
|
|
border: 1px solid #00a699;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__hovered_span,
|
|
|
|
.CalendarDay__hovered_span:hover {
|
|
|
|
background: #b2f1ec;
|
|
|
|
border: 1px solid #80e8e0;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #007a87;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__hovered_span:active {
|
|
|
|
background: #80e8e0;
|
|
|
|
border: 1px solid #80e8e0;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #007a87;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__blocked_calendar,
|
|
|
|
.CalendarDay__blocked_calendar:active,
|
|
|
|
.CalendarDay__blocked_calendar:hover {
|
|
|
|
background: #cacccd;
|
|
|
|
border: 1px solid #cacccd;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #82888a;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarDay__blocked_out_of_range,
|
|
|
|
.CalendarDay__blocked_out_of_range:active,
|
|
|
|
.CalendarDay__blocked_out_of_range:hover {
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #e4e7e7;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #cacccd;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonth {
|
|
|
|
background: #fff;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: top;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
user-select: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonth_table {
|
|
|
|
border-collapse: collapse;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-spacing: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonth_verticalSpacing {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-collapse: separate;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonth_caption {
|
|
|
|
color: #484848;
|
|
|
|
font-size: 18px;
|
|
|
|
text-align: center;
|
|
|
|
padding-top: 22px;
|
|
|
|
padding-bottom: 37px;
|
2021-01-28 03:04:13 +01:00
|
|
|
caption-side: initial;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonth_caption__verticalScrollable {
|
|
|
|
padding-top: 12px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-bottom: 7px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonthGrid {
|
|
|
|
background: #fff;
|
|
|
|
text-align: left;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonthGrid__animating {
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 1;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonthGrid__horizontal {
|
|
|
|
position: absolute;
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonthGrid__vertical {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonthGrid__vertical_scrollable {
|
|
|
|
margin: 0 auto;
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonthGrid_month__horizontal {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2021-01-28 03:04:13 +01:00
|
|
|
min-height: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonthGrid_month__hideForAnimation {
|
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
|
|
opacity: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.CalendarMonthGrid_month__hidden {
|
2021-01-28 03:04:13 +01:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation {
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation__horizontal {
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation__verticalDefault {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 52px;
|
|
|
|
bottom: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation__verticalScrollableDefault {
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_button {
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_button__default {
|
|
|
|
border: 1px solid #e4e7e7;
|
|
|
|
background-color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #757575;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_button__default:focus,
|
|
|
|
.DayPickerNavigation_button__default:hover {
|
2021-01-28 03:04:13 +01:00
|
|
|
border: 1px solid #c4c4c4;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_button__default:active {
|
2021-01-28 03:04:13 +01:00
|
|
|
background: #f2f2f2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_button__horizontalDefault {
|
|
|
|
position: absolute;
|
|
|
|
top: 18px;
|
2021-01-28 03:04:13 +01:00
|
|
|
line-height: 0.78;
|
2018-12-18 04:17:48 +01:00
|
|
|
border-radius: 3px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 6px 9px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_leftButton__horizontalDefault {
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 22px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_rightButton__horizontalDefault {
|
2021-01-28 03:04:13 +01:00
|
|
|
right: 22px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.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%;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 50%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_nextButton__verticalDefault {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-left: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_nextButton__verticalScrollableDefault {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_svg__horizontal {
|
|
|
|
height: 19px;
|
|
|
|
width: 19px;
|
|
|
|
fill: #82888a;
|
2021-01-28 03:04:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPickerNavigation_svg__vertical {
|
|
|
|
height: 42px;
|
|
|
|
width: 42px;
|
|
|
|
fill: #484848;
|
2021-01-28 03:04:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker {
|
|
|
|
background: #fff;
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: left;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker__horizontal {
|
2021-01-28 03:04:13 +01:00
|
|
|
background: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker__verticalScrollable {
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker__hidden {
|
2021-01-28 03:04:13 +01:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker__withBorder {
|
|
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07);
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_portal__horizontal {
|
|
|
|
box-shadow: none;
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
2021-01-28 03:04:13 +01:00
|
|
|
top: 50%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_portal__vertical {
|
2021-01-28 03:04:13 +01:00
|
|
|
position: initial;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_focusRegion {
|
2021-01-28 03:04:13 +01:00
|
|
|
outline: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_calendarInfo__horizontal,
|
|
|
|
.DayPicker_wrapper__horizontal {
|
|
|
|
display: inline-block;
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_weekHeaders {
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_weekHeaders__horizontal {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-left: 13px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_weekHeader {
|
|
|
|
color: #757575;
|
|
|
|
position: absolute;
|
|
|
|
top: 62px;
|
|
|
|
z-index: 2;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: left;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_weekHeader__vertical {
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 50%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_weekHeader__verticalScrollable {
|
|
|
|
top: 0;
|
|
|
|
display: table-row;
|
|
|
|
border-bottom: 1px solid #dbdbdb;
|
|
|
|
background: #fff;
|
|
|
|
margin-left: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_weekHeader_ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 1px 0;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_weekHeader_li {
|
|
|
|
display: inline-block;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
margin: 0 1px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_transitionContainer {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_transitionContainer__horizontal {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition: height 0.2s ease-in-out;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_transitionContainer__vertical {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DayPicker_transitionContainer__verticalScrollable {
|
|
|
|
padding-top: 20px;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: #fff;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 130px;
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput__small {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 97px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput__block {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput__disabled {
|
|
|
|
background: #f2f2f2;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #dbdbdb;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_input {
|
|
|
|
font-weight: 200;
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
|
|
|
color: #484848;
|
|
|
|
background-color: #fff;
|
|
|
|
width: 100%;
|
|
|
|
padding: 11px 11px 9px;
|
|
|
|
border: 0;
|
|
|
|
border-top: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
border-left: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_input__small {
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 18px;
|
2021-01-28 03:04:13 +01:00
|
|
|
letter-spacing: 0.2px;
|
|
|
|
padding: 7px 7px 5px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_input__regular {
|
2021-01-28 03:04:13 +01:00
|
|
|
font-weight: auto;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_input__readOnly {
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
user-select: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_input__focused {
|
|
|
|
outline: 0;
|
|
|
|
background: #fff;
|
|
|
|
border: 0;
|
|
|
|
border-top: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-bottom: 2px solid #008489;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-left: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_input__disabled {
|
|
|
|
background: #f2f2f2;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-style: italic;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_screenReaderMessage {
|
|
|
|
border: 0;
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 1px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_fang {
|
|
|
|
position: absolute;
|
|
|
|
width: 20px;
|
|
|
|
height: 10px;
|
|
|
|
left: 22px;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_fangShape {
|
2021-01-28 03:04:13 +01:00
|
|
|
fill: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateInput_fangStroke {
|
|
|
|
stroke: #dbdbdb;
|
2021-01-28 03:04:13 +01:00
|
|
|
fill: transparent;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput {
|
|
|
|
background-color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput__disabled {
|
2021-01-28 03:04:13 +01:00
|
|
|
background: #f2f2f2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput__withBorder {
|
|
|
|
border-radius: 2px;
|
2021-01-28 03:04:13 +01:00
|
|
|
border: 1px solid #dbdbdb;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput__rtl {
|
2021-01-28 03:04:13 +01:00
|
|
|
direction: rtl;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput__block {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput__showClearDates {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 30px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_arrow {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #484848;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_arrow_svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
fill: #484848;
|
|
|
|
height: 24px;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 24px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_clearDates {
|
|
|
|
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%;
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_clearDates__small {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 6px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_clearDates_default:focus,
|
|
|
|
.DateRangePickerInput_clearDates_default:hover {
|
|
|
|
background: #dbdbdb;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_clearDates__hide {
|
2021-01-28 03:04:13 +01:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_clearDates_svg {
|
|
|
|
fill: #82888a;
|
|
|
|
height: 12px;
|
|
|
|
width: 15px;
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_clearDates_svg__small {
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 9px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_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;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0 5px 0 10px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePickerInput_calendarIcon_svg {
|
|
|
|
fill: #82888a;
|
|
|
|
height: 15px;
|
|
|
|
width: 14px;
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker {
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker__block {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_picker {
|
|
|
|
z-index: 1;
|
|
|
|
background-color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
position: absolute;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_picker__rtl {
|
2021-01-28 03:04:13 +01:00
|
|
|
direction: rtl;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_picker__directionLeft {
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_picker__directionRight {
|
2021-01-28 03:04:13 +01:00
|
|
|
right: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_picker__portal {
|
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_picker__fullScreenPortal {
|
2021-01-28 03:04:13 +01:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_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;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_closeButton:focus,
|
|
|
|
.DateRangePicker_closeButton:hover {
|
|
|
|
color: #b0b3b4;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.DateRangePicker_closeButton_svg {
|
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
2021-01-28 03:04:13 +01:00
|
|
|
fill: #cacccd;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-01-04 20:38:57 +01:00
|
|
|
/*rtl:end:ignore*/
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-datetime {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.components-datetime .components-datetime__calendar-help {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
.components-datetime .components-datetime__calendar-help h4 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.components-datetime .components-datetime__buttons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
.components-datetime .components-datetime__date-help-toggle {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.components-datetime fieldset {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.components-datetime select,
|
|
|
|
.components-datetime input {
|
|
|
|
box-shadow: 0 0 0 transparent;
|
|
|
|
transition: box-shadow 0.1s linear;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid #757575;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-datetime select,
|
2021-01-28 03:04:13 +01:00
|
|
|
.components-datetime input {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-datetime select,
|
|
|
|
.components-datetime input[type=number],
|
|
|
|
.components-datetime .components-button {
|
|
|
|
height: 30px;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-datetime__date {
|
|
|
|
min-height: 236px;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault {
|
|
|
|
/*!rtl:begin:ignore*/
|
|
|
|
left: 13px;
|
|
|
|
/*!rtl:end:ignore*/
|
|
|
|
}
|
|
|
|
.components-datetime__date .CalendarMonth_caption {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
.components-datetime__date .CalendarMonth_table {
|
|
|
|
border-collapse: separate;
|
|
|
|
border-spacing: 2px;
|
|
|
|
}
|
|
|
|
.components-datetime__date .CalendarDay {
|
|
|
|
font-size: 13px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.components-datetime__date .CalendarDay:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba, inset 0 0 0 3px #fff;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.components-datetime__date .CalendarDay__selected {
|
|
|
|
background: #007cba;
|
|
|
|
background: var(--wp-admin-theme-color);
|
|
|
|
border: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.components-datetime__date .CalendarDay__selected:hover {
|
|
|
|
background: #005a87;
|
|
|
|
background: var(--wp-admin-theme-color-darker-20);
|
|
|
|
}
|
|
|
|
.components-datetime__date .CalendarDay__selected:focus {
|
|
|
|
box-shadow: inset 0 0 0 1px #fff;
|
|
|
|
}
|
|
|
|
.components-datetime__date .DayPickerNavigation_button__horizontalDefault {
|
|
|
|
padding: 2px 8px;
|
|
|
|
top: 20px;
|
|
|
|
}
|
|
|
|
.components-datetime__date .DayPickerNavigation_button__horizontalDefault: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-datetime__date .DayPicker_weekHeader {
|
|
|
|
top: 50px;
|
|
|
|
}
|
|
|
|
.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul {
|
|
|
|
margin: 1px;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.components-datetime__date.is-description-visible .DayPicker {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-datetime__time {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-bottom: 16px;
|
|
|
|
}
|
|
|
|
.components-datetime__time fieldset {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
.components-datetime__time fieldset + fieldset {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-field-am-pm fieldset {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-wrapper {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 3px 0 0;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time {
|
|
|
|
/*rtl:ignore*/
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number] {
|
|
|
|
padding: 2px;
|
|
|
|
margin-right: 4px;
|
|
|
|
text-align: center;
|
|
|
|
-moz-appearance: textfield;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.components-datetime__time.is-12-hour .components-datetime__time-field-day input {
|
|
|
|
margin: -4px 0 0 !important;
|
|
|
|
border-radius: 2px 0 0 2px !important;
|
|
|
|
}
|
|
|
|
.components-datetime__time.is-12-hour .components-datetime__time-field-year input {
|
|
|
|
border-radius: 0 2px 2px 0 !important;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-10-13 15:10:30 +02:00
|
|
|
.components-datetime__timezone {
|
|
|
|
line-height: 30px;
|
|
|
|
margin-left: 4px;
|
2020-10-20 15:36:16 +02:00
|
|
|
-webkit-text-decoration: underline dotted;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-decoration: underline dotted;
|
|
|
|
}
|
2020-10-13 15:10:30 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-datetime__time-legend {
|
|
|
|
font-weight: 600;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
.components-datetime__time-legend.invisible {
|
|
|
|
position: absolute;
|
|
|
|
top: -999em;
|
|
|
|
left: -999em;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-datetime__time-field-hours-input,
|
|
|
|
.components-datetime__time-field-minutes-input,
|
|
|
|
.components-datetime__time-field-day-input {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 35px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-datetime__time-field-year-input {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 55px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-datetime__time-field-month-select {
|
2021-01-28 03:04:13 +01:00
|
|
|
max-width: 145px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-popover .components-datetime__date {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-left: 4px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.block-editor-dimension-control .components-base-control__field {
|
|
|
|
display: flex;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.block-editor-dimension-control .components-base-control__label {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: 1em;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.block-editor-dimension-control .components-base-control__label .dashicon {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.block-editor-dimension-control.is-manual .components-base-control__label {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 10em;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
body.is-dragging-components-draggable {
|
|
|
|
cursor: move;
|
|
|
|
/* Fallback for IE/Edge < 14 */
|
2021-01-28 03:04:13 +01:00
|
|
|
cursor: grabbing !important;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-draggable__invisible-drag-image {
|
|
|
|
position: fixed;
|
|
|
|
left: -1000px;
|
|
|
|
height: 50px;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 50px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-draggable__clone {
|
|
|
|
position: fixed;
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 0;
|
2018-12-18 04:17:48 +01:00
|
|
|
background: transparent;
|
|
|
|
pointer-events: none;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 1000000000;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-drop-zone {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2019-09-19 17:19:18 +02:00
|
|
|
z-index: 40;
|
2018-12-18 04:17:48 +01:00
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
transition: 0.3s opacity, 0.3s background-color, 0s visibility 0.3s;
|
2020-07-07 16:43:35 +02:00
|
|
|
border: 2px solid #007cba;
|
|
|
|
border: 2px solid var(--wp-admin-theme-color);
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-drop-zone {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-drop-zone.is-active {
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
transition: 0.3s opacity, 0.3s background-color;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-drop-zone.is-active {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-drop-zone.is-dragging-over-element {
|
|
|
|
background-color: #007cba;
|
|
|
|
background-color: var(--wp-admin-theme-color);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-drop-zone__content {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2019-09-19 17:19:18 +02:00
|
|
|
z-index: 50;
|
2018-12-18 04:17:48 +01:00
|
|
|
transform: translateY(-50%);
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
color: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
transition: transform 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-drop-zone__content {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-drop-zone.is-dragging-over-element .components-drop-zone__content {
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: translateY(-50%) scale(1.05);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-drop-zone__content-icon,
|
|
|
|
.components-drop-zone__content-text {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-drop-zone__content-icon {
|
|
|
|
margin: 0 auto;
|
2020-02-10 23:33:27 +01:00
|
|
|
line-height: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
fill: currentColor;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-drop-zone__content-text {
|
2021-01-28 03:04:13 +01:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-drop-zone__provider {
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-dropdown {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-dropdown__content .components-popover__content > div {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 12px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-dropdown-menu__popover .components-popover__content {
|
2021-01-28 03:04:13 +01:00
|
|
|
min-width: 200px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-dropdown-menu__menu {
|
|
|
|
width: 100%;
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 13px;
|
2021-01-28 03:04:13 +01:00
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-dropdown-menu__menu-item,
|
|
|
|
.components-dropdown-menu__menu .components-menu-item {
|
|
|
|
width: 100%;
|
|
|
|
padding: 6px;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,
|
|
|
|
.components-dropdown-menu__menu .components-menu-item.has-separator {
|
|
|
|
margin-top: 6px;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator::before,
|
|
|
|
.components-dropdown-menu__menu .components-menu-item.has-separator::before {
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
box-sizing: content-box;
|
|
|
|
background-color: #ddd;
|
|
|
|
position: absolute;
|
|
|
|
top: -3px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,
|
|
|
|
.components-dropdown-menu__menu .components-menu-item.is-active svg {
|
|
|
|
color: #fff;
|
|
|
|
background: #1e1e1e;
|
|
|
|
box-shadow: 0 0 0 1px #1e1e1e;
|
|
|
|
border-radius: 1px;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg,
|
|
|
|
.components-dropdown-menu__menu .components-menu-item > svg {
|
|
|
|
border-radius: 2px;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-menu-item__button,
|
|
|
|
.components-dropdown-menu__menu .components-menu-item__button.components-button {
|
|
|
|
min-height: 36px;
|
|
|
|
height: auto;
|
|
|
|
text-align: left;
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-menu-group {
|
|
|
|
padding: 12px;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: -12px;
|
|
|
|
margin-right: -12px;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-menu-group:first-child {
|
|
|
|
margin-top: -12px;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-menu-group:last-child {
|
|
|
|
margin-bottom: -12px;
|
|
|
|
}
|
|
|
|
.components-dropdown-menu__menu .components-menu-group + .components-menu-group {
|
|
|
|
margin-top: 0;
|
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
.is-alternate .components-dropdown-menu__menu .components-menu-group + .components-menu-group {
|
|
|
|
border-color: #1e1e1e;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-font-size-picker__controls {
|
2019-03-07 10:09:59 +01:00
|
|
|
max-width: 248px;
|
2018-12-18 04:17:48 +01:00
|
|
|
display: flex;
|
2020-06-26 15:33:47 +02:00
|
|
|
flex-wrap: wrap;
|
2019-09-19 17:19:18 +02:00
|
|
|
align-items: center;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
.components-font-size-picker__controls .components-font-size-picker__number {
|
|
|
|
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: inline-block;
|
|
|
|
font-weight: 500;
|
|
|
|
height: 30px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-top: 8px;
|
|
|
|
width: 54px;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-font-size-picker__controls .components-font-size-picker__number {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-font-size-picker__controls .components-font-size-picker__number {
|
|
|
|
font-size: 13px;
|
2020-06-26 15:33:47 +02:00
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-font-size-picker__controls .components-font-size-picker__number: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-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.components-font-size-picker__controls .components-font-size-picker__number[value=""] + .components-button {
|
|
|
|
cursor: default;
|
|
|
|
opacity: 0.3;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.components-font-size-picker__controls .components-font-size-picker__number-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.components-font-size-picker__controls .components-font-size-picker__select {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
.components-font-size-picker__controls .components-color-palette__clear {
|
|
|
|
height: 30px;
|
|
|
|
margin-top: 26px;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-font-size-picker__custom-input .components-range-control__slider + .dashicon {
|
|
|
|
width: 30px;
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 30px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-font-size-picker {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-form-toggle {
|
2019-03-07 10:09:59 +01:00
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.components-form-toggle .components-form-toggle__track {
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
vertical-align: top;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
width: 36px;
|
|
|
|
height: 18px;
|
|
|
|
border-radius: 9px;
|
|
|
|
transition: 0.2s background ease;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-form-toggle .components-form-toggle__track {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-form-toggle .components-form-toggle__thumb {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
box-sizing: border-box;
|
|
|
|
top: 3px;
|
|
|
|
left: 3px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border-radius: 50%;
|
|
|
|
transition: 0.1s transform ease;
|
|
|
|
background-color: #1e1e1e;
|
|
|
|
border: 5px solid #1e1e1e;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-form-toggle .components-form-toggle__thumb {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-form-toggle.is-checked .components-form-toggle__track {
|
|
|
|
background-color: #007cba;
|
|
|
|
background-color: var(--wp-admin-theme-color);
|
|
|
|
border: 1px solid #007cba;
|
|
|
|
border: 1px solid var(--wp-admin-theme-color);
|
|
|
|
border: 9px solid transparent;
|
|
|
|
}
|
|
|
|
.components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track {
|
|
|
|
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;
|
|
|
|
outline-offset: 2px;
|
|
|
|
}
|
|
|
|
.components-form-toggle.is-checked .components-form-toggle__thumb {
|
|
|
|
background-color: #fff;
|
|
|
|
border-width: 0;
|
|
|
|
transform: translateX(18px);
|
|
|
|
}
|
2021-02-02 06:17:13 +01:00
|
|
|
.components-form-toggle.is-disabled, .components-disabled .components-form-toggle {
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-form-toggle input.components-form-toggle__input[type=checkbox] {
|
2018-12-18 04:17:48 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
z-index: 1;
|
2021-01-28 03:04:13 +01:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
.components-form-toggle input.components-form-toggle__input[type=checkbox]::before {
|
|
|
|
content: "";
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-form-token-field__input-container {
|
2020-06-26 15:33:47 +02:00
|
|
|
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;
|
2018-12-18 04:17:48 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
width: 100%;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin: 0 0 8px 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 2px 4px;
|
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-form-token-field__input-container {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-form-token-field__input-container {
|
|
|
|
font-size: 13px;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-form-token-field__input-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-form-token-field__input-container::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-form-token-field__input-container::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-form-token-field__input-container:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-form-token-field__input-container::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-form-token-field__input-container::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-form-token-field__input-container:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.components-form-token-field__input-container.is-disabled {
|
|
|
|
background: #ddd;
|
|
|
|
border-color: #ddd;
|
|
|
|
}
|
|
|
|
.components-form-token-field__input-container.is-active {
|
|
|
|
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-form-token-field__input-container input[type=text].components-form-token-field__input {
|
|
|
|
display: inline-block;
|
|
|
|
flex: 1;
|
|
|
|
font-size: 16px;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
margin-left: 4px;
|
|
|
|
padding: 0;
|
|
|
|
min-height: 24px;
|
|
|
|
min-width: 50px;
|
|
|
|
background: inherit;
|
|
|
|
border: 0;
|
|
|
|
color: #1e1e1e;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-form-token-field__input-container input[type=text].components-form-token-field__input {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus, .components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
.components-form-token-field__input-container .components-form-token-field__token + input[type=text].components-form-token-field__input {
|
|
|
|
width: auto;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-form-token-field__label {
|
|
|
|
display: inline-block;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-form-token-field__help {
|
2020-10-20 15:36:16 +02:00
|
|
|
font-size: 12px;
|
|
|
|
font-style: normal;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #757575;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-form-token-field__token {
|
|
|
|
font-size: 13px;
|
|
|
|
display: flex;
|
|
|
|
margin: 2px 4px 2px 0;
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #1e1e1e;
|
2021-01-28 03:04:13 +01:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-success .components-form-token-field__token-text,
|
|
|
|
.components-form-token-field__token.is-success .components-form-token-field__remove-token {
|
|
|
|
background: #4ab866;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-error .components-form-token-field__token-text,
|
|
|
|
.components-form-token-field__token.is-error .components-form-token-field__remove-token {
|
|
|
|
background: #cc1818;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-validating .components-form-token-field__token-text,
|
|
|
|
.components-form-token-field__token.is-validating .components-form-token-field__remove-token {
|
|
|
|
color: #757575;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-borderless {
|
|
|
|
position: relative;
|
|
|
|
padding: 0 16px 0 0;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-borderless .components-form-token-field__token-text {
|
|
|
|
background: transparent;
|
|
|
|
color: #007cba;
|
|
|
|
color: var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-borderless .components-form-token-field__remove-token {
|
|
|
|
background: transparent;
|
|
|
|
color: #757575;
|
|
|
|
position: absolute;
|
|
|
|
top: 1px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text {
|
|
|
|
color: #4ab866;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text {
|
|
|
|
color: #cc1818;
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
padding: 0 4px 0 6px;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text {
|
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
|
|
|
.components-form-token-field__token.is-disabled .components-form-token-field__remove-token {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-form-token-field__token-text,
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-form-token-field__remove-token.components-button {
|
2018-12-18 04:17:48 +01:00
|
|
|
display: inline-block;
|
|
|
|
line-height: 24px;
|
2020-02-06 22:03:31 +01:00
|
|
|
height: auto;
|
2020-07-07 16:43:35 +02:00
|
|
|
background: #ddd;
|
2021-01-28 03:04:13 +01:00
|
|
|
min-width: unset;
|
|
|
|
transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-form-token-field__token-text,
|
|
|
|
.components-form-token-field__remove-token.components-button {
|
|
|
|
transition-duration: 0s;
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-form-token-field__token-text {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 2px 0 0 2px;
|
|
|
|
padding: 0 0 0 8px;
|
2018-12-18 04:17:48 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-form-token-field__remove-token.components-button {
|
2018-12-18 04:17:48 +01:00
|
|
|
cursor: pointer;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 0 2px 2px 0;
|
2018-12-18 04:17:48 +01:00
|
|
|
padding: 0 2px;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #1e1e1e;
|
2018-12-18 04:17:48 +01:00
|
|
|
line-height: 10px;
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow: initial;
|
|
|
|
}
|
|
|
|
.components-form-token-field__remove-token.components-button:hover {
|
|
|
|
color: #1e1e1e;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-form-token-field__suggestions-list {
|
|
|
|
flex: 1 0 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
max-height: 9em;
|
2020-10-13 15:10:30 +02:00
|
|
|
overflow-y: auto;
|
2018-12-18 04:17:48 +01:00
|
|
|
transition: all 0.15s ease-in-out;
|
|
|
|
list-style: none;
|
2020-10-13 15:10:30 +02:00
|
|
|
border-top: 1px solid #757575;
|
2018-12-18 04:17:48 +01:00
|
|
|
margin: 4px -4px -4px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-form-token-field__suggestions-list {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-form-token-field__suggestion {
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #757575;
|
2018-12-18 04:17:48 +01:00
|
|
|
display: block;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 4px 8px;
|
2020-10-13 15:10:30 +02:00
|
|
|
margin: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.components-form-token-field__suggestion.is-selected {
|
|
|
|
background: #007cba;
|
|
|
|
background: var(--wp-admin-theme-color);
|
|
|
|
color: #fff;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-form-token-field__suggestion-match {
|
2021-01-28 03:04:13 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-guide {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 600px;
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-guide .components-modal__header {
|
|
|
|
background: none;
|
2020-06-26 15:33:47 +02:00
|
|
|
border-bottom: none;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.components-guide .components-modal__header .components-button {
|
|
|
|
align-self: flex-start;
|
|
|
|
margin: 8px 8px 0 0;
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
.components-guide .components-modal__header .components-button:hover svg {
|
|
|
|
fill: #fff;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-guide__container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-06-26 15:33:47 +02:00
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: -60px;
|
2021-01-28 03:04:13 +01:00
|
|
|
min-height: 100%;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-guide__page {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-guide__page {
|
|
|
|
min-height: 300px;
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-guide__footer {
|
|
|
|
align-content: center;
|
|
|
|
display: flex;
|
|
|
|
height: 30px;
|
|
|
|
justify-content: center;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin: 0 0 24px 0;
|
|
|
|
padding: 0 32px;
|
2020-01-08 12:57:23 +01:00
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.components-guide__footer {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-guide__page-control {
|
2020-06-26 15:33:47 +02:00
|
|
|
margin: 8px 0 8px 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.components-guide__page-control li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.components-guide__page-control .components-button {
|
|
|
|
height: 30px;
|
|
|
|
min-width: 20px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-guide .components-modal__content {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-modal__frame.components-guide {
|
|
|
|
border: none;
|
|
|
|
min-width: 312px;
|
|
|
|
height: 80vh;
|
2021-01-28 03:04:13 +01:00
|
|
|
max-height: 575px;
|
|
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.components-modal__frame.components-guide {
|
|
|
|
bottom: 5%;
|
|
|
|
left: 16px;
|
|
|
|
right: 16px;
|
|
|
|
top: 5%;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button {
|
|
|
|
height: 30px;
|
2021-01-28 03:04:13 +01:00
|
|
|
position: absolute;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-button.components-guide__back-button, .components-button.components-guide__forward-button {
|
2020-06-26 15:33:47 +02:00
|
|
|
font-size: 13px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 4px 2px;
|
|
|
|
}
|
|
|
|
.components-button.components-guide__back-button.has-text svg, .components-button.components-guide__forward-button.has-text svg {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.components-button.components-guide__back-button:hover, .components-button.components-guide__forward-button:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-button.components-guide__back-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 32px;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-button.components-guide__forward-button {
|
2020-06-26 15:33:47 +02:00
|
|
|
right: 32px;
|
|
|
|
color: #1386bf;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-button.components-guide__finish-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
right: 32px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-button.components-guide__inline-finish-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
[role=region] {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-focusing-regions [role=region]:focus::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
outline: 4px solid transparent;
|
|
|
|
box-shadow: inset 0 0 0 4px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 4px var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
@supports (outline-offset: 1px) {
|
|
|
|
.is-focusing-regions [role=region]:focus::after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.is-focusing-regions [role=region]:focus {
|
|
|
|
outline-style: solid;
|
|
|
|
outline-color: #007cba;
|
|
|
|
outline-color: var(--wp-admin-theme-color);
|
|
|
|
outline-width: 4px;
|
|
|
|
outline-offset: -4px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-menu-group + .components-menu-group {
|
|
|
|
margin-top: 8px;
|
|
|
|
padding-top: 8px;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-top: 1px solid #1e1e1e;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-menu-group__label {
|
2020-10-13 15:10:30 +02:00
|
|
|
padding: 0 8px;
|
|
|
|
margin-top: 4px;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin-bottom: 12px;
|
|
|
|
color: #757575;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 11px;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-menu-item__button,
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-menu-item__button.components-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.components-menu-item__button .components-menu-items__item-icon,
|
|
|
|
.components-menu-item__button.components-button .components-menu-items__item-icon {
|
|
|
|
margin-right: -2px;
|
|
|
|
margin-left: 24px;
|
|
|
|
display: inline-block;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
.components-menu-item__button .components-menu-item__shortcut + .components-menu-items__item-icon,
|
|
|
|
.components-menu-item__button.components-button .components-menu-item__shortcut + .components-menu-items__item-icon {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
.components-menu-item__button .block-editor-block-icon,
|
|
|
|
.components-menu-item__button.components-button .block-editor-block-icon {
|
|
|
|
margin-left: -2px;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-menu-item__info-wrapper {
|
|
|
|
display: flex;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-direction: column;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-menu-item__info {
|
|
|
|
margin-top: 4px;
|
|
|
|
font-size: 12px;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #757575;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-menu-item__item {
|
|
|
|
white-space: nowrap;
|
|
|
|
margin-right: auto;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-menu-item__shortcut {
|
2019-10-15 18:17:12 +02:00
|
|
|
-ms-grid-row-align: center;
|
|
|
|
align-self: center;
|
2018-12-18 04:17:48 +01:00
|
|
|
margin-right: 0;
|
|
|
|
margin-left: auto;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-left: 24px;
|
2020-06-26 15:33:47 +02:00
|
|
|
color: currentColor;
|
2021-01-28 03:04:13 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
|
|
.components-menu-item__shortcut {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-10-13 15:10:30 +02:00
|
|
|
.components-menu-items-choice svg,
|
|
|
|
.components-menu-items-choice.components-button svg {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: 12px;
|
|
|
|
}
|
2020-10-13 15:10:30 +02:00
|
|
|
.components-menu-items-choice.has-icon,
|
|
|
|
.components-menu-items-choice.components-button.has-icon {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-left: 12px;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-modal__screen-overlay {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
background-color: rgba(0, 0, 0, 0.35);
|
2018-12-18 04:17:48 +01:00
|
|
|
z-index: 100000;
|
|
|
|
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-modal__screen-overlay {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-modal__frame {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
2020-07-07 16:43:35 +02:00
|
|
|
border: 1px solid #ddd;
|
2018-12-18 04:17:48 +01:00
|
|
|
background: #fff;
|
2020-07-07 16:43:35 +02:00
|
|
|
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-modal__frame {
|
|
|
|
top: 50%;
|
|
|
|
right: auto;
|
|
|
|
bottom: auto;
|
|
|
|
left: 50%;
|
|
|
|
min-width: 360px;
|
|
|
|
max-width: calc(100% - 16px - 16px);
|
|
|
|
max-height: 90%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
animation: components-modal__appear-animation 0.1s ease-out;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
|
|
|
|
.components-modal__frame {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
@keyframes components-modal__appear-animation {
|
|
|
|
from {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 32px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
to {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-modal__header {
|
|
|
|
box-sizing: border-box;
|
2020-07-07 16:43:35 +02:00
|
|
|
border-bottom: 1px solid #ddd;
|
2019-09-19 17:19:18 +02:00
|
|
|
padding: 0 24px;
|
2018-12-18 04:17:48 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
background: #fff;
|
|
|
|
align-items: center;
|
2020-06-26 15:33:47 +02:00
|
|
|
height: 60px;
|
2020-01-22 23:06:21 +01:00
|
|
|
z-index: 10;
|
|
|
|
position: relative;
|
2018-12-18 04:17:48 +01:00
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0 -24px 24px;
|
|
|
|
}
|
|
|
|
@supports (-ms-ime-align: auto) {
|
|
|
|
.components-modal__header {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-modal__header .components-modal__header-heading {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
.components-modal__header h1 {
|
|
|
|
line-height: 1;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.components-modal__header .components-button {
|
|
|
|
position: relative;
|
|
|
|
left: 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-modal__header-heading-container {
|
|
|
|
align-items: center;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2021-01-28 03:04:13 +01:00
|
|
|
justify-content: left;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-modal__header-icon-container {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.components-modal__header-icon-container svg {
|
|
|
|
max-width: 36px;
|
|
|
|
max-height: 36px;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-modal__content {
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0 24px 24px;
|
|
|
|
}
|
|
|
|
@supports (-ms-ime-align: auto) {
|
|
|
|
.components-modal__content {
|
|
|
|
padding-top: 60px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-notice {
|
2019-09-19 17:19:18 +02:00
|
|
|
display: flex;
|
2019-03-07 10:09:59 +01:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 13px;
|
2020-07-07 16:43:35 +02:00
|
|
|
background-color: #fff;
|
|
|
|
border-left: 4px solid #007cba;
|
|
|
|
border-left: 4px solid var(--wp-admin-theme-color);
|
2018-12-18 04:17:48 +01:00
|
|
|
margin: 5px 15px 2px;
|
2019-09-19 17:19:18 +02:00
|
|
|
padding: 8px 12px;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.components-notice.is-dismissible {
|
|
|
|
padding-right: 36px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.components-notice.is-success {
|
|
|
|
border-left-color: #4ab866;
|
|
|
|
background-color: #eff9f1;
|
|
|
|
}
|
|
|
|
.components-notice.is-warning {
|
|
|
|
border-left-color: #f0b849;
|
|
|
|
background-color: #fef8ee;
|
|
|
|
}
|
|
|
|
.components-notice.is-error {
|
|
|
|
border-left-color: #cc1818;
|
|
|
|
background-color: #f4a2a2;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-notice__content {
|
2019-09-19 17:19:18 +02:00
|
|
|
flex-grow: 1;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 4px 25px 4px 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-notice__action.components-button, .components-notice__action.components-button.is-link {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-left: 12px;
|
|
|
|
}
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-notice__action.components-button.is-secondary {
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: initial;
|
|
|
|
}
|
2019-03-07 10:09:59 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-notice__dismiss {
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #757575;
|
2019-09-19 17:19:18 +02:00
|
|
|
align-self: flex-start;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus {
|
|
|
|
color: #1e1e1e;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-notice-list {
|
2019-09-19 17:19:18 +02:00
|
|
|
max-width: 100vw;
|
|
|
|
box-sizing: border-box;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 29;
|
|
|
|
}
|
|
|
|
.components-notice-list .components-notice__content {
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
line-height: 2;
|
|
|
|
}
|
|
|
|
.components-notice-list .components-notice__action.components-button {
|
|
|
|
display: block;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel {
|
|
|
|
background: #fff;
|
2021-01-28 03:04:13 +01:00
|
|
|
border: 1px solid #e0e0e0;
|
|
|
|
}
|
|
|
|
.components-panel > .components-panel__header:first-child,
|
|
|
|
.components-panel > .components-panel__body:first-child {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
.components-panel > .components-panel__header:last-child,
|
|
|
|
.components-panel > .components-panel__body:last-child {
|
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel + .components-panel {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: -1px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__body {
|
2020-10-13 15:10:30 +02:00
|
|
|
border-top: 1px solid #e0e0e0;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-bottom: 1px solid #e0e0e0;
|
|
|
|
}
|
|
|
|
.components-panel__body h3 {
|
|
|
|
margin: 0 0 0.5em;
|
|
|
|
}
|
|
|
|
.components-panel__body.is-opened {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 16px;
|
2020-06-26 15:33:47 +02:00
|
|
|
height: 48px;
|
2020-07-07 16:43:35 +02:00
|
|
|
border-top: 1px solid #ddd;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.components-panel__header h2 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__body + .components-panel__body,
|
|
|
|
.components-panel__body + .components-panel__header,
|
|
|
|
.components-panel__header + .components-panel__body,
|
|
|
|
.components-panel__header + .components-panel__header {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: -1px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__body > .components-panel__body-title {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
transition: 0.1s background ease-in-out;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-panel__body > .components-panel__body-title {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__body.is-opened > .components-panel__body-title {
|
|
|
|
margin: -16px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-panel__body > .components-panel__body-title:hover {
|
2020-07-07 16:43:35 +02:00
|
|
|
background: #f0f0f0;
|
2021-01-28 03:04:13 +01:00
|
|
|
border: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__body-toggle.components-button {
|
|
|
|
position: relative;
|
2020-06-26 15:33:47 +02:00
|
|
|
padding: 16px;
|
2018-12-18 04:17:48 +01:00
|
|
|
outline: none;
|
|
|
|
width: 100%;
|
2020-06-26 15:33:47 +02:00
|
|
|
font-weight: 500;
|
2018-12-18 04:17:48 +01:00
|
|
|
text-align: left;
|
2020-06-26 15:33:47 +02:00
|
|
|
color: #1e1e1e;
|
2018-12-18 04:17:48 +01:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
transition: 0.1s background ease-in-out;
|
2020-01-22 23:06:21 +01:00
|
|
|
height: auto;
|
2018-12-18 04:17:48 +01:00
|
|
|
/* rtl:begin:ignore */
|
2021-01-28 03:04:13 +01:00
|
|
|
/* rtl:end:ignore */
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-panel__body-toggle.components-button {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-panel__body-toggle.components-button:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
.components-panel__body-toggle.components-button .components-panel__arrow {
|
|
|
|
position: absolute;
|
|
|
|
right: 16px;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
color: #1e1e1e;
|
|
|
|
fill: currentColor;
|
|
|
|
transition: 0.1s color ease-in-out;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-panel__body-toggle.components-button .components-panel__arrow {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
-ms-filter: fliph;
|
|
|
|
filter: FlipH;
|
|
|
|
margin-top: -10px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__icon {
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #757575;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: -2px 0 -2px 6px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__body-toggle-icon {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: -5px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__color-title {
|
|
|
|
float: left;
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 19px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel__row {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-07-07 16:43:35 +02:00
|
|
|
margin-top: 8px;
|
2021-01-28 03:04:13 +01:00
|
|
|
min-height: 36px;
|
|
|
|
}
|
|
|
|
.components-panel__row select {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
.components-panel__row label {
|
|
|
|
margin-right: 12px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
max-width: 75%;
|
|
|
|
}
|
|
|
|
.components-panel__row:empty, .components-panel__row:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-panel .circle-picker {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-placeholder.components-placeholder {
|
2020-10-13 15:10:30 +02:00
|
|
|
box-sizing: border-box;
|
2020-01-22 23:06:21 +01:00
|
|
|
position: relative;
|
2018-12-18 04:17:48 +01:00
|
|
|
padding: 1em;
|
|
|
|
min-height: 200px;
|
|
|
|
width: 100%;
|
2020-01-22 23:06:21 +01:00
|
|
|
text-align: left;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin: 0;
|
|
|
|
color: #1e1e1e;
|
|
|
|
-moz-font-smoothing: subpixel-antialiased;
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: #fff;
|
|
|
|
box-shadow: inset 0 0 0 1px #1e1e1e;
|
2021-01-28 03:04:13 +01:00
|
|
|
outline: 1px solid transparent;
|
|
|
|
}
|
|
|
|
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
|
|
|
.components-placeholder.components-placeholder {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-placeholder.components-placeholder .components-base-control__label {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-02-06 22:03:31 +01:00
|
|
|
.components-placeholder__error,
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-placeholder__instructions,
|
|
|
|
.components-placeholder__label,
|
|
|
|
.components-placeholder__fieldset {
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-placeholder__label {
|
|
|
|
display: flex;
|
|
|
|
font-weight: 600;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin-bottom: 16px;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.components-placeholder__label > svg,
|
|
|
|
.components-placeholder__label .dashicon,
|
|
|
|
.components-placeholder__label .block-editor-block-icon {
|
|
|
|
fill: currentColor;
|
|
|
|
margin-right: 1ch;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-placeholder__fieldset,
|
|
|
|
.components-placeholder__fieldset form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
width: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
.components-placeholder__fieldset p,
|
|
|
|
.components-placeholder__fieldset form p {
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-placeholder__fieldset.is-column-layout,
|
|
|
|
.components-placeholder__fieldset.is-column-layout form {
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
.components-placeholder__input[type=url] {
|
2020-06-26 15:33:47 +02:00
|
|
|
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;
|
2020-02-06 22:03:31 +01:00
|
|
|
margin: 0 8px 0 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-placeholder__input[type=url] {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-placeholder__input[type=url] {
|
|
|
|
font-size: 13px;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-placeholder__input[type=url]: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-placeholder__input[type=url]::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-placeholder__input[type=url]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-placeholder__input[type=url]:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-placeholder__input[type=url]::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-placeholder__input[type=url]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-placeholder__input[type=url]:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-placeholder__instructions {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-02-06 22:03:31 +01:00
|
|
|
.components-placeholder__error {
|
|
|
|
margin-top: 1em;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2020-02-06 22:03:31 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-placeholder__preview img {
|
|
|
|
margin: 3%;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 50%;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-placeholder__fieldset .components-button {
|
2020-06-26 15:33:47 +02:00
|
|
|
margin-right: 12px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
.components-placeholder__fieldset .components-button:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link {
|
|
|
|
margin-left: 10px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-placeholder.is-large .components-placeholder__label {
|
|
|
|
font-size: 18pt;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-placeholder.is-medium .components-placeholder__instructions, .components-placeholder.is-small .components-placeholder__instructions {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-placeholder.is-medium .components-placeholder__fieldset,
|
|
|
|
.components-placeholder.is-medium .components-placeholder__fieldset form, .components-placeholder.is-small .components-placeholder__fieldset,
|
|
|
|
.components-placeholder.is-small .components-placeholder__fieldset form {
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-placeholder.is-medium .components-placeholder__fieldset .components-button, .components-placeholder.is-small .components-placeholder__fieldset .components-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: auto;
|
|
|
|
}
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-placeholder.is-small .components-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0 8px 2px;
|
|
|
|
}
|
2020-01-22 23:06:21 +01:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
/*!rtl:begin:ignore*/
|
|
|
|
.components-popover {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1000000;
|
2020-01-22 23:06:21 +01:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.components-popover.is-expanded, .components-popover[data-x-axis][data-y-axis] {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.components-popover.is-expanded {
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 1000000 !important;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow) {
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)::before {
|
|
|
|
border: 8px solid #ccc;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow).is-alternate::before {
|
|
|
|
border-color: #1e1e1e;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)::after {
|
|
|
|
border: 8px solid #fff;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)::before, .components-popover:not(.is-without-arrow)::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=top] {
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=top]::before {
|
|
|
|
bottom: -8px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=top]::after {
|
|
|
|
bottom: -6px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=top]::before, .components-popover:not(.is-without-arrow)[data-y-axis=top]::after {
|
|
|
|
border-bottom: none;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-right-color: transparent;
|
|
|
|
border-top-style: solid;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=bottom] {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=bottom]::before {
|
|
|
|
top: -8px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=bottom]::after {
|
|
|
|
top: -6px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=bottom]::before, .components-popover:not(.is-without-arrow)[data-y-axis=bottom]::after {
|
|
|
|
border-bottom-style: solid;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-right-color: transparent;
|
|
|
|
border-top: none;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left] {
|
|
|
|
margin-left: -8px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]::before {
|
|
|
|
right: -8px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]::after {
|
|
|
|
right: -6px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]::before, .components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]::after {
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
border-left-style: solid;
|
|
|
|
border-right: none;
|
|
|
|
border-top-color: transparent;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right] {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]::before {
|
|
|
|
left: -8px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]::after {
|
|
|
|
left: -6px;
|
|
|
|
}
|
|
|
|
.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]::before, .components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]::after {
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
border-left: none;
|
|
|
|
border-right-style: solid;
|
|
|
|
border-top-color: transparent;
|
|
|
|
}
|
|
|
|
.components-popover[data-y-axis=top] {
|
|
|
|
bottom: 100%;
|
|
|
|
}
|
|
|
|
.components-popover[data-y-axis=bottom] {
|
|
|
|
top: 100%;
|
|
|
|
}
|
|
|
|
.components-popover[data-y-axis=middle] {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.components-popover.is-from-top {
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
.components-popover.is-from-bottom {
|
|
|
|
margin-top: -12px;
|
|
|
|
}
|
|
|
|
.components-popover.is-from-left:not(.is-from-top):not(.is-from-bottom) {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
.components-popover.is-from-right:not(.is-from-top):not(.is-from-bottom) {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-popover__content {
|
2020-06-26 15:33:47 +02:00
|
|
|
height: 100%;
|
2018-12-18 04:17:48 +01:00
|
|
|
background: #fff;
|
2020-06-26 15:33:47 +02:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
.is-alternate .components-popover__content {
|
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
.components-popover .components-popover__content {
|
|
|
|
position: absolute;
|
|
|
|
height: auto;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
.components-popover.is-expanded .components-popover__content {
|
|
|
|
position: static;
|
|
|
|
height: calc(100% - 48px);
|
|
|
|
overflow-y: visible;
|
|
|
|
min-width: auto;
|
|
|
|
border: none;
|
|
|
|
border-top: 1px solid #1e1e1e;
|
|
|
|
}
|
|
|
|
.components-popover[data-y-axis=top] .components-popover__content {
|
|
|
|
bottom: 100%;
|
|
|
|
}
|
|
|
|
.components-popover[data-x-axis=center] .components-popover__content {
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
}
|
|
|
|
.components-popover[data-x-axis=right] .components-popover__content {
|
|
|
|
position: absolute;
|
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
.components-popover:not([data-y-axis=middle])[data-x-axis=right] .components-popover__content {
|
|
|
|
margin-left: -25px;
|
|
|
|
}
|
|
|
|
.components-popover[data-x-axis=left] .components-popover__content {
|
|
|
|
position: absolute;
|
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
.components-popover:not([data-y-axis=middle])[data-x-axis=left] .components-popover__content {
|
|
|
|
margin-right: -25px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-popover__header {
|
|
|
|
align-items: center;
|
|
|
|
background: #fff;
|
|
|
|
display: flex;
|
2020-06-26 15:33:47 +02:00
|
|
|
height: 48px;
|
2018-12-18 04:17:48 +01:00
|
|
|
justify-content: space-between;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0 8px 0 16px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-popover__header-title {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-01-22 23:06:21 +01:00
|
|
|
.components-popover__close.components-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 5;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
/*!rtl:end:ignore*/
|
|
|
|
.components-radio-control {
|
|
|
|
display: flex;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.components-radio-control .components-base-control__help {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.components-radio-control .components-base-control__field {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-radio-control__option:not(:last-child) {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
.components-radio-control__input[type=radio] {
|
2020-06-26 15:33:47 +02:00
|
|
|
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;
|
2020-07-07 16:43:35 +02:00
|
|
|
border: 1px solid #1e1e1e;
|
2020-06-26 15:33:47 +02:00
|
|
|
margin-right: 12px;
|
|
|
|
transition: none;
|
|
|
|
border-radius: 50%;
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2018-12-18 04:17:48 +01:00
|
|
|
margin-top: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-radio-control__input[type=radio] {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-radio-control__input[type=radio] {
|
|
|
|
font-size: 13px;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-radio-control__input[type=radio]: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-radio-control__input[type=radio]::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-radio-control__input[type=radio]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-radio-control__input[type=radio]:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-radio-control__input[type=radio]::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-radio-control__input[type=radio]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-radio-control__input[type=radio]:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-radio-control__input[type=radio] {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-radio-control__input[type=radio]:checked::before {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
transform: translate(7px, 7px);
|
|
|
|
margin: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 4px solid #fff;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-radio-control__input[type=radio]:checked::before {
|
|
|
|
transform: translate(5px, 5px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-radio-control__input[type=radio]: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-radio-control__input[type=radio]:checked {
|
|
|
|
background: #007cba;
|
|
|
|
background: var(--wp-admin-theme-color);
|
|
|
|
border-color: #007cba;
|
|
|
|
border-color: var(--wp-admin-theme-color);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-resizable-box__handle {
|
|
|
|
display: none;
|
2019-09-19 17:19:18 +02:00
|
|
|
width: 23px;
|
2020-10-20 15:36:16 +02:00
|
|
|
height: 23px;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
.components-resizable-box__container.has-show-handle .components-resizable-box__handle {
|
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-resizable-box__handle::after {
|
2018-12-18 04:17:48 +01:00
|
|
|
display: block;
|
|
|
|
content: "";
|
2019-09-19 17:19:18 +02:00
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
2018-12-18 04:17:48 +01:00
|
|
|
border: 2px solid #fff;
|
|
|
|
border-radius: 50%;
|
2020-06-26 15:33:47 +02:00
|
|
|
background: #007cba;
|
|
|
|
background: var(--wp-admin-theme-color);
|
2019-09-19 17:19:18 +02:00
|
|
|
cursor: inherit;
|
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 8px);
|
2021-01-28 03:04:13 +01:00
|
|
|
right: calc(50% - 8px);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-resizable-box__side-handle::before {
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
width: 7px;
|
|
|
|
height: 7px;
|
|
|
|
border: 2px solid #fff;
|
2020-06-26 15:33:47 +02:00
|
|
|
background: #007cba;
|
|
|
|
background: var(--wp-admin-theme-color);
|
2019-09-19 17:19:18 +02:00
|
|
|
cursor: inherit;
|
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 4px);
|
|
|
|
right: calc(50% - 4px);
|
|
|
|
transition: transform 0.1s ease-in;
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-resizable-box__side-handle::before {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.is-dark-theme .components-resizable-box__side-handle::before,
|
|
|
|
.is-dark-theme .components-resizable-box__handle::after {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-color: #ddd;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-resizable-box__side-handle {
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-resizable-box__corner-handle {
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-top,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-top::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom::before {
|
|
|
|
width: 100%;
|
|
|
|
left: 0;
|
|
|
|
border-left: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-right: 0;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-left,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-right,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-left::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-right::before {
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
border-top: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
|
|
|
|
animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
|
|
|
|
animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;
|
2021-01-28 03:04:13 +01:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2020-10-13 15:10:30 +02:00
|
|
|
/* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy.
|
|
|
|
See https://bugs.webkit.org/show_bug.cgi?id=187903. */
|
|
|
|
@media not all and (min-resolution: 0.001dpcm) {
|
|
|
|
@supports (-webkit-appearance: none) {
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
|
2021-01-28 03:04:13 +01:00
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
|
|
|
|
animation: none;
|
|
|
|
}
|
2020-10-13 15:10:30 +02:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
|
|
|
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
@keyframes components-resizable-box__top-bottom-animation {
|
|
|
|
from {
|
|
|
|
transform: scaleX(0);
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
to {
|
|
|
|
transform: scaleX(1);
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
@keyframes components-resizable-box__left-right-animation {
|
|
|
|
from {
|
|
|
|
transform: scaleY(0);
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
to {
|
|
|
|
transform: scaleY(1);
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
/*!rtl:begin:ignore*/
|
|
|
|
.components-resizable-box__handle-right {
|
2021-01-28 03:04:13 +01:00
|
|
|
right: calc(11.5px * -1);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-resizable-box__handle-left {
|
2021-01-28 03:04:13 +01:00
|
|
|
left: calc(11.5px * -1);
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-resizable-box__handle-top {
|
2021-01-28 03:04:13 +01:00
|
|
|
top: calc(11.5px * -1);
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-resizable-box__handle-bottom {
|
2021-01-28 03:04:13 +01:00
|
|
|
bottom: calc(11.5px * -1);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
/*!rtl:end:ignore*/
|
|
|
|
.components-responsive-wrapper {
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
.components-responsive-wrapper, .components-responsive-wrapper > span {
|
|
|
|
display: block;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-responsive-wrapper__content {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2020-03-16 23:07:16 +01:00
|
|
|
height: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: auto;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-sandbox {
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
iframe.components-sandbox {
|
2021-01-28 03:04:13 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
html.lockscroll,
|
|
|
|
body.lockscroll {
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-select-control__input {
|
|
|
|
background: #fff;
|
|
|
|
height: 36px;
|
|
|
|
line-height: 36px;
|
|
|
|
margin: 1px;
|
|
|
|
outline: 0;
|
|
|
|
width: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.components-select-control__input {
|
|
|
|
height: 28px;
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
@media (max-width: 782px) {
|
|
|
|
.components-base-control .components-base-control__field .components-select-control__input {
|
2021-01-28 03:04:13 +01:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-snackbar {
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 13px;
|
2020-07-07 16:43:35 +02:00
|
|
|
background-color: #1e1e1e;
|
|
|
|
border-radius: 2px;
|
2019-09-19 17:19:18 +02:00
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
|
|
color: #fff;
|
|
|
|
padding: 16px 24px;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 600px;
|
|
|
|
box-sizing: border-box;
|
2021-01-28 03:04:13 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-snackbar {
|
|
|
|
width: -webkit-fit-content;
|
|
|
|
width: -moz-fit-content;
|
|
|
|
width: fit-content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-snackbar:focus {
|
|
|
|
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-snackbar.components-snackbar-explicit-dismiss {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
.components-snackbar .components-snackbar__content-with-icon {
|
|
|
|
margin-left: 24px;
|
|
|
|
}
|
|
|
|
.components-snackbar .components-snackbar__icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 24px;
|
|
|
|
left: 28px;
|
|
|
|
}
|
|
|
|
.components-snackbar .components-snackbar__dismiss-button {
|
|
|
|
margin-left: 32px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-snackbar__action.components-button {
|
|
|
|
margin-left: 32px;
|
|
|
|
color: #fff;
|
|
|
|
height: auto;
|
|
|
|
flex-shrink: 0;
|
2019-10-15 18:17:12 +02:00
|
|
|
line-height: 1.4;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary) {
|
|
|
|
text-decoration: underline;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus {
|
|
|
|
color: #fff;
|
|
|
|
box-shadow: none;
|
|
|
|
outline: 1px dotted #fff;
|
|
|
|
}
|
|
|
|
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
|
|
|
|
color: #007cba;
|
|
|
|
color: var(--wp-admin-theme-color);
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-snackbar__content {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
justify-content: space-between;
|
2021-01-28 03:04:13 +01:00
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-snackbar-list {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 100000;
|
|
|
|
width: 100%;
|
2021-01-28 03:04:13 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.components-snackbar-list__notice-container {
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-top: 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-tab-panel__tabs {
|
|
|
|
display: flex;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-items: stretch;
|
2021-02-02 06:17:13 +01:00
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
.components-tab-panel__tabs[aria-orientation=vertical] {
|
|
|
|
flex-direction: column;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
.components-tab-panel__tabs-item {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 48px;
|
|
|
|
padding: 3px 16px;
|
|
|
|
margin-left: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
transition: box-shadow 0.1s linear;
|
2021-01-28 03:04:13 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.components-tab-panel__tabs-item::after {
|
|
|
|
content: attr(data-label);
|
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
speak: none;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.components-tab-panel__tabs-item:focus:not(:disabled) {
|
|
|
|
box-shadow: inset 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.components-tab-panel__tabs-item.is-active {
|
|
|
|
box-shadow: inset 0 0 0 2px transparent, inset 0 -4px 0 0 #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -4px 0 0 var(--wp-admin-theme-color);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.components-tab-panel__tabs-item.is-active::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 1px;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
border-bottom: 4px solid transparent;
|
|
|
|
}
|
|
|
|
.components-tab-panel__tabs-item:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
.components-tab-panel__tabs-item.is-active:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba, inset 0 -4px 0 0 #007cba;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color);
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
.components-text-control__input,
|
2021-01-28 03:04:13 +01:00
|
|
|
.components-text-control__input[type=text],
|
|
|
|
.components-text-control__input[type=tel],
|
|
|
|
.components-text-control__input[type=time],
|
|
|
|
.components-text-control__input[type=url],
|
|
|
|
.components-text-control__input[type=week],
|
|
|
|
.components-text-control__input[type=password],
|
|
|
|
.components-text-control__input[type=color],
|
|
|
|
.components-text-control__input[type=date],
|
|
|
|
.components-text-control__input[type=datetime],
|
|
|
|
.components-text-control__input[type=datetime-local],
|
|
|
|
.components-text-control__input[type=email],
|
|
|
|
.components-text-control__input[type=month],
|
|
|
|
.components-text-control__input[type=number] {
|
2018-12-18 04:17:48 +01:00
|
|
|
width: 100%;
|
2020-06-26 15:33:47 +02:00
|
|
|
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. */
|
2021-01-28 03:04:13 +01:00
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.components-text-control__input,
|
|
|
|
.components-text-control__input[type=text],
|
|
|
|
.components-text-control__input[type=tel],
|
|
|
|
.components-text-control__input[type=time],
|
|
|
|
.components-text-control__input[type=url],
|
|
|
|
.components-text-control__input[type=week],
|
|
|
|
.components-text-control__input[type=password],
|
|
|
|
.components-text-control__input[type=color],
|
|
|
|
.components-text-control__input[type=date],
|
|
|
|
.components-text-control__input[type=datetime],
|
|
|
|
.components-text-control__input[type=datetime-local],
|
|
|
|
.components-text-control__input[type=email],
|
|
|
|
.components-text-control__input[type=month],
|
|
|
|
.components-text-control__input[type=number] {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.components-text-control__input,
|
|
|
|
.components-text-control__input[type=text],
|
|
|
|
.components-text-control__input[type=tel],
|
|
|
|
.components-text-control__input[type=time],
|
|
|
|
.components-text-control__input[type=url],
|
|
|
|
.components-text-control__input[type=week],
|
|
|
|
.components-text-control__input[type=password],
|
|
|
|
.components-text-control__input[type=color],
|
|
|
|
.components-text-control__input[type=date],
|
|
|
|
.components-text-control__input[type=datetime],
|
|
|
|
.components-text-control__input[type=datetime-local],
|
|
|
|
.components-text-control__input[type=email],
|
|
|
|
.components-text-control__input[type=month],
|
|
|
|
.components-text-control__input[type=number] {
|
|
|
|
font-size: 13px;
|
|
|
|
/* Override core line-height. To be reviewed. */
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-text-control__input:focus,
|
|
|
|
.components-text-control__input[type=text]:focus,
|
|
|
|
.components-text-control__input[type=tel]:focus,
|
|
|
|
.components-text-control__input[type=time]:focus,
|
|
|
|
.components-text-control__input[type=url]:focus,
|
|
|
|
.components-text-control__input[type=week]:focus,
|
|
|
|
.components-text-control__input[type=password]:focus,
|
|
|
|
.components-text-control__input[type=color]:focus,
|
|
|
|
.components-text-control__input[type=date]:focus,
|
|
|
|
.components-text-control__input[type=datetime]:focus,
|
|
|
|
.components-text-control__input[type=datetime-local]:focus,
|
|
|
|
.components-text-control__input[type=email]:focus,
|
|
|
|
.components-text-control__input[type=month]:focus,
|
|
|
|
.components-text-control__input[type=number]: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-text-control__input::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=text]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=tel]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=time]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=url]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=week]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=password]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=color]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=date]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=datetime]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=datetime-local]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=email]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=month]::-webkit-input-placeholder,
|
|
|
|
.components-text-control__input[type=number]::-webkit-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-text-control__input::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=text]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=tel]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=time]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=url]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=week]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=password]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=color]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=date]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=datetime]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=datetime-local]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=email]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=month]::-moz-placeholder,
|
|
|
|
.components-text-control__input[type=number]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.components-text-control__input:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=text]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=tel]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=time]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=url]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=week]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=password]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=color]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=date]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=datetime]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=datetime-local]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=email]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=month]:-ms-input-placeholder,
|
|
|
|
.components-text-control__input[type=number]:-ms-input-placeholder {
|
|
|
|
color: rgba(30, 30, 30, 0.62);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-text-control__input::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=text]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=tel]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=time]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=url]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=week]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=password]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=color]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=date]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=datetime]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=datetime-local]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=email]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=month]::-webkit-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=number]::-webkit-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-text-control__input::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=text]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=tel]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=time]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=url]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=week]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=password]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=color]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=date]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=datetime]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=datetime-local]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=email]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=month]::-moz-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=number]::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
|
|
|
.is-dark-theme .components-text-control__input:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=text]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=tel]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=time]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=url]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=week]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=password]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=color]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=date]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=datetime]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=datetime-local]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=email]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=month]:-ms-input-placeholder,
|
|
|
|
.is-dark-theme .components-text-control__input[type=number]:-ms-input-placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.components-tip {
|
|
|
|
display: flex;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #757575;
|
|
|
|
}
|
|
|
|
.components-tip svg {
|
|
|
|
-ms-grid-row-align: center;
|
|
|
|
align-self: center;
|
|
|
|
fill: #f0b849;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
.components-tip p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.components-toggle-control .components-base-control__field {
|
|
|
|
display: flex;
|
2020-01-08 12:57:23 +01:00
|
|
|
margin-bottom: 12px;
|
|
|
|
line-height: initial;
|
2021-01-28 03:04:13 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.components-toggle-control .components-base-control__field .components-form-toggle {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
.components-toggle-control .components-base-control__field .components-toggle-control__label {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-accessible-toolbar {
|
|
|
|
display: inline-flex;
|
2020-06-26 15:33:47 +02:00
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
border-radius: 2px;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar > .components-toolbar-group:last-child {
|
|
|
|
border-right: none;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-accessible-toolbar .components-button,
|
|
|
|
.components-toolbar .components-button {
|
|
|
|
position: relative;
|
|
|
|
height: 48px;
|
|
|
|
z-index: 1;
|
|
|
|
padding-left: 16px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 16px;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button:focus:enabled,
|
|
|
|
.components-toolbar .components-button:focus:enabled {
|
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button::before,
|
|
|
|
.components-toolbar .components-button::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
border-radius: 2px;
|
|
|
|
height: 32px;
|
|
|
|
left: 8px;
|
|
|
|
right: 8px;
|
|
|
|
z-index: -1;
|
|
|
|
animation: components-button__appear-animation 0.1s ease;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-accessible-toolbar .components-button::before,
|
2021-01-28 03:04:13 +01:00
|
|
|
.components-toolbar .components-button::before {
|
|
|
|
animation-duration: 1ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button svg,
|
|
|
|
.components-toolbar .components-button svg {
|
|
|
|
position: relative;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button.is-pressed,
|
|
|
|
.components-toolbar .components-button.is-pressed {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button.is-pressed:hover,
|
|
|
|
.components-toolbar .components-button.is-pressed:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button.is-pressed::before,
|
|
|
|
.components-toolbar .components-button.is-pressed::before {
|
|
|
|
background: #1e1e1e;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button:focus::before,
|
|
|
|
.components-toolbar .components-button:focus::before {
|
|
|
|
box-shadow: inset 0 0 0 2px #007cba, inset 0 0 0 4px #fff;
|
|
|
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button.has-icon,
|
|
|
|
.components-toolbar .components-button.has-icon {
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
|
|
|
min-width: 48px;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button.components-tab-button,
|
|
|
|
.components-toolbar .components-button.components-tab-button {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-button.components-tab-button span,
|
|
|
|
.components-toolbar .components-button.components-tab-button span {
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
@keyframes components-button__appear-animation {
|
|
|
|
from {
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: scaleY(0);
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
to {
|
2021-01-28 03:04:13 +01:00
|
|
|
transform: scaleY(1);
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-toolbar__control.components-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.components-toolbar__control.components-button[data-subscript] svg {
|
|
|
|
padding: 5px 10px 5px 0;
|
|
|
|
}
|
|
|
|
.components-toolbar__control.components-button[data-subscript]::after {
|
|
|
|
content: attr(data-subscript);
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 12px;
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
bottom: 10px;
|
|
|
|
}
|
|
|
|
.components-toolbar__control.components-button:active::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-toolbar-group {
|
2020-06-26 15:33:47 +02:00
|
|
|
min-height: 48px;
|
|
|
|
border-right: 1px solid #1e1e1e;
|
2020-01-08 12:57:23 +01:00
|
|
|
background-color: #fff;
|
2020-06-26 15:33:47 +02:00
|
|
|
display: inline-flex;
|
2020-01-08 12:57:23 +01:00
|
|
|
flex-shrink: 0;
|
2020-06-26 15:33:47 +02:00
|
|
|
flex-wrap: wrap;
|
2021-01-28 03:04:13 +01:00
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
.components-toolbar-group .components-toolbar-group.components-toolbar-group {
|
|
|
|
border-width: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-toolbar {
|
2020-06-26 15:33:47 +02:00
|
|
|
min-height: 48px;
|
2018-12-18 04:17:48 +01:00
|
|
|
margin: 0;
|
2020-06-26 15:33:47 +02:00
|
|
|
border: 1px solid #1e1e1e;
|
2018-12-18 04:17:48 +01:00
|
|
|
background-color: #fff;
|
2020-06-26 15:33:47 +02:00
|
|
|
display: inline-flex;
|
|
|
|
flex-shrink: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
.components-toolbar .components-toolbar.components-toolbar {
|
|
|
|
border-width: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
div.components-toolbar > div {
|
|
|
|
display: block;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
|
|
|
div.components-toolbar > div {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
div.components-toolbar > div + div.has-left-divider {
|
|
|
|
margin-left: 6px;
|
|
|
|
position: relative;
|
2021-01-28 03:04:13 +01:00
|
|
|
overflow: visible;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
div.components-toolbar > div + div.has-left-divider::before {
|
|
|
|
display: inline-block;
|
|
|
|
content: "";
|
|
|
|
box-sizing: content-box;
|
2020-07-07 16:43:35 +02:00
|
|
|
background-color: #ddd;
|
2020-06-26 15:33:47 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
left: -3px;
|
|
|
|
width: 1px;
|
2021-01-28 03:04:13 +01:00
|
|
|
height: 20px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon,
|
|
|
|
.components-toolbar div > .components-button.components-button.has-icon {
|
|
|
|
min-width: 36px;
|
|
|
|
padding-left: 6px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 6px;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon svg,
|
|
|
|
.components-toolbar div > .components-button.components-button.has-icon svg {
|
|
|
|
min-width: 24px;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon::before,
|
|
|
|
.components-toolbar div > .components-button.components-button.has-icon::before {
|
|
|
|
left: 2px;
|
|
|
|
right: 2px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button:first-child.has-icon,
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > div:first-child > .components-button.has-icon,
|
|
|
|
.components-toolbar div:first-child .components-button.has-icon {
|
|
|
|
min-width: 42px;
|
|
|
|
padding-left: 11px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 6px;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button:first-child.has-icon::before,
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > div:first-child > .components-button.has-icon::before,
|
|
|
|
.components-toolbar div:first-child .components-button.has-icon::before {
|
|
|
|
left: 8px;
|
|
|
|
right: 2px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
2020-08-10 16:18:33 +02:00
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button:last-of-type.has-icon,
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-accessible-toolbar .components-toolbar-group > div:last-child > .components-button.has-icon,
|
|
|
|
.components-toolbar div:last-child .components-button.has-icon {
|
|
|
|
min-width: 42px;
|
|
|
|
padding-left: 6px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 11px;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button:last-of-type.has-icon::before,
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > div:last-child > .components-button.has-icon::before,
|
|
|
|
.components-toolbar div:last-child .components-button.has-icon::before {
|
|
|
|
left: 2px;
|
|
|
|
right: 8px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button:first-of-type:last-of-type.has-icon,
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon,
|
|
|
|
.components-toolbar div:first-child:last-child > .components-button.has-icon {
|
|
|
|
min-width: 48px;
|
|
|
|
padding-left: 12px;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > .components-button:first-of-type:last-of-type.has-icon::before,
|
|
|
|
.components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon::before,
|
|
|
|
.components-toolbar div:first-child:last-child > .components-button.has-icon::before {
|
|
|
|
left: 8px;
|
|
|
|
right: 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-tooltip.components-popover {
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 1000002;
|
|
|
|
}
|
|
|
|
.components-tooltip.components-popover .components-popover__content {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-tooltip .components-popover__content {
|
2020-06-26 15:33:47 +02:00
|
|
|
background: #1e1e1e;
|
|
|
|
border-radius: 2px;
|
2018-12-18 04:17:48 +01:00
|
|
|
border-width: 0;
|
|
|
|
color: #fff;
|
2019-03-21 13:48:00 +01:00
|
|
|
white-space: nowrap;
|
2020-06-26 15:33:47 +02:00
|
|
|
text-align: center;
|
2020-07-07 16:43:35 +02:00
|
|
|
line-height: 1.4;
|
|
|
|
font-size: 12px;
|
2021-01-28 03:04:13 +01:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
.components-tooltip .components-popover__content > div {
|
|
|
|
padding: 4px 8px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.components-tooltip__shortcut {
|
2020-06-26 15:33:47 +02:00
|
|
|
display: inline-block;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
2021-02-02 06:17:13 +01:00
|
|
|
.disabled-element-wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.disabled-element-wrapper .event-catcher {
|
|
|
|
z-index: 100002;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2020-01-08 12:57:23 +01:00
|
|
|
.components-visually-hidden {
|
|
|
|
border: 0;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
-webkit-clip-path: inset(50%);
|
|
|
|
clip-path: inset(50%);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
2021-01-28 03:04:13 +01:00
|
|
|
word-wrap: normal !important;
|
|
|
|
}
|
2020-01-08 12:57:23 +01:00
|
|
|
|
|
|
|
.components-visually-hidden:focus {
|
2020-07-07 16:43:35 +02:00
|
|
|
background-color: #ddd;
|
2020-01-08 12:57:23 +01:00
|
|
|
clip: auto !important;
|
|
|
|
-webkit-clip-path: none;
|
|
|
|
clip-path: none;
|
|
|
|
color: #444;
|
|
|
|
display: block;
|
|
|
|
font-size: 1em;
|
|
|
|
height: auto;
|
|
|
|
left: 5px;
|
|
|
|
line-height: normal;
|
|
|
|
padding: 15px 23px 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
top: 5px;
|
|
|
|
width: auto;
|
2021-01-28 03:04:13 +01:00
|
|
|
z-index: 100000;
|
|
|
|
}
|