-webkit-appearance: none;
transition: 0.1s border-color ease-in-out;
@media (prefers-reduced-motion: reduce) {
.components-checkbox-control__input[type=checkbox] {
@media (min-width: 600px) {
.components-checkbox-control__input[type=checkbox] {
/* Override core line-height. To be reviewed. */
.components-checkbox-control__input[type=checkbox]:focus {
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 {
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 {
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: var(--wp-admin-theme-color);
border-color: var(--wp-admin-theme-color);
.components-checkbox-control__input[type=checkbox]:checked::-ms-check {
.components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
@media (min-width: 782px) {
.components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
.components-checkbox-control__input[type=checkbox][aria-checked=mixed] {
background: var(--wp-admin-theme-color);
border-color: var(--wp-admin-theme-color);
.components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
font: normal 30px/1 dashicons;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@media (min-width: 782px) {
.components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {
@media (min-width: 600px) {
.components-checkbox-control__input[type=checkbox] {
@media (prefers-reduced-motion: reduce) {
.components-checkbox-control__input[type=checkbox] {
.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: var(--wp-admin-theme-color);
border-color: var(--wp-admin-theme-color);
.components-checkbox-control__input[type=checkbox]:checked::-ms-check {
.components-checkbox-control__input[type=checkbox]:checked::before {
.components-checkbox-control__input-container {
@media (min-width: 600px) {
.components-checkbox-control__input-container {
svg.components-checkbox-control__checked {
-webkit-user-select: none;
@media (min-width: 600px) {
svg.components-checkbox-control__checked {
.components-circular-option-picker {
.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper {
justify-content: flex-end;
.components-circular-option-picker .components-circular-option-picker__swatches {
.components-circular-option-picker__option-wrapper {
transition: 100ms transform ease;
@media (prefers-reduced-motion: reduce) {
.components-circular-option-picker__option-wrapper {
.components-circular-option-picker__option-wrapper:hover {
.components-circular-option-picker__option-wrapper > div {
.components-circular-option-picker__option-wrapper::before {
/* stylelint-disable-next-line function-url-quotes */
background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E');
.components-circular-option-picker__option {
box-shadow: inset 0 0 0 14px;
transition: 100ms box-shadow ease;
@media (prefers-reduced-motion: reduce) {
.components-circular-option-picker__option {
.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;
.components-circular-option-picker__option.is-pressed + svg {
.components-circular-option-picker__option::after {
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
border: 1px solid transparent;
.components-circular-option-picker__option:focus::after {
border: 2px solid #757575;
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;
.components-circular-option-picker__button-action .components-circular-option-picker__option {
.components-circular-option-picker__dropdown-link-action {
.components-circular-option-picker__dropdown-link-action .components-button {
.components-color-edit__color-option-main-area {
.components-color-edit__color-option-main-area div.components-circular-option-picker__option-wrapper {
.components-color-edit__color-option.is-hover {
.components-color-edit__cancel-button {
.components-color-edit__color-option-color-name {
.components-color-edit__label-and-insert-container {
justify-content: space-between;
.components-color-edit__insert-button {
.components-color-edit__hidden-control {
.components-color-edit__color-option-color-name-input .components-base-control__field {
.components-color-edit__slug-input {
.components-color-edit__reset-button {
.component-color-indicator {
border: 1px solid #dadada;
.component-color-indicator + .component-color-indicator {
* 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
.components-color-picker {
.components-color-picker * {
.components-color-picker__saturation {
.components-color-picker__body {
.components-color-picker__controls {
.components-color-picker__saturation-pointer,
.components-color-picker__hue-pointer,
.components-color-picker__alpha-pointer {
/* CURRENT COLOR COMPONENT */
.components-color-picker__swatch {
background-image: linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ddd 75%), linear-gradient(-45deg, transparent 75%, #ddd 75%);
background-size: 10px 10px;
background-position: 0 0, 0 5px, 5px -5px, -5px 0;
.is-alpha-disabled .components-color-picker__swatch {
.components-color-picker__active {
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
/* SATURATION COMPONENT */
.components-color-picker__saturation-color,
.components-color-picker__saturation-white,
.components-color-picker__saturation-black {
.components-color-picker__saturation-color {
.components-color-picker__saturation-white {
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
.components-color-picker__saturation-black {
background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
.components-button.components-color-picker__saturation-pointer {
background-color: transparent;
transform: translate(-50%, -50%);
box-shadow: 0 0 0 1px #fff, inset 0 0 0 1px #000, 0 0 0 2px #000;
.components-button.components-color-picker__saturation-pointer:focus:not(:disabled) {
box-shadow: 0 0 0 2px #fff, inset 0 0 0 1px #000, 0 0 0 3px #000;
.components-color-picker__toggles {
.components-color-picker__alpha {
background-image: linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ddd 75%), linear-gradient(-45deg, transparent 75%, #ddd 75%);
background-size: 10px 10px;
background-position: 0 0, 0 5px, 5px -5px, -5px 0;
.components-color-picker__hue-gradient,
.components-color-picker__alpha-gradient {
.components-color-picker__hue,
.components-color-picker__alpha {
.is-alpha-enabled .components-color-picker__hue {
.components-color-picker__hue-bar,
.components-color-picker__alpha-bar {