diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-07 13:06:14 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-07 13:06:14 +0100 |
| commit | 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 (patch) | |
| tree | f7453d7dd5cbaaab246e23810b02d3edf1e451be /srcs/wordpress/wp-includes/css/dist/components/style-rtl.css | |
| parent | c59bdcf77c50cbe89b4a93782cdd6d9e7532080e (diff) | |
| download | ft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.tar.gz ft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.tar.bz2 ft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.zip | |
Added wordpress
Diffstat (limited to 'srcs/wordpress/wp-includes/css/dist/components/style-rtl.css')
| -rw-r--r-- | srcs/wordpress/wp-includes/css/dist/components/style-rtl.css | 3621 |
1 files changed, 3621 insertions, 0 deletions
diff --git a/srcs/wordpress/wp-includes/css/dist/components/style-rtl.css b/srcs/wordpress/wp-includes/css/dist/components/style-rtl.css new file mode 100644 index 0000000..865dc69 --- /dev/null +++ b/srcs/wordpress/wp-includes/css/dist/components/style-rtl.css @@ -0,0 +1,3621 @@ +/** + * Colors + */ +/** + * Breakpoints & Media Queries + */ +/** + * Often re-used variables + */ +/** + * Breakpoint mixins + */ +/** + * Long content fade mixin + * + * Creates a fading overlay to signify that the content is longer + * than the space allows. + */ +/** + * Button states and focus styles + */ +/** + * Applies editor left position to the selector passed as argument + */ +/** + * Applies editor right position to the selector passed as argument + */ +/** + * Styles that are reused verbatim in a few places + */ +/** + * Allows users to opt-out of animations via OS-level preferences. + */ +/** + * Reset default styles for JavaScript UI based pages. + * This is a WP-admin agnostic reset + */ +/** + * Reset the WP Admin page styles for Gutenberg-like pages. + */ +.components-animate__appear { + animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s; + animation-fill-mode: forwards; } + @media (prefers-reduced-motion: reduce) { + .components-animate__appear { + animation-duration: 1ms; } } + .components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left { + transform-origin: top right; } + .components-animate__appear.is-from-top.is-from-right { + transform-origin: top left; } + .components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left { + transform-origin: bottom right; } + .components-animate__appear.is-from-bottom.is-from-right { + transform-origin: bottom left; } + +@keyframes components-animate__appear-animation { + from { + transform: translateY(-2em) scaleY(0) scaleX(0); } + to { + transform: translateY(0%) scaleY(1) scaleX(1); } } + +.components-animate__slide-in { + animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1); + animation-fill-mode: forwards; } + @media (prefers-reduced-motion: reduce) { + .components-animate__slide-in { + animation-duration: 1ms; } } + .components-animate__slide-in.is-from-left { + transform: translateX(-100%); } + +@keyframes components-animate__slide-in-animation { + 100% { + transform: translateX(0%); } } + +.components-animate__loading { + animation: components-animate__loading 1.6s ease-in-out infinite; } + +@keyframes components-animate__loading { + 0% { + opacity: 0.5; } + 50% { + opacity: 1; } + 100% { + opacity: 0.5; } } + +.components-autocomplete__popover .components-popover__content { + min-width: 200px; } + +.components-autocomplete__popover .components-autocomplete__results { + padding: 3px; + display: flex; + flex-direction: column; + align-items: stretch; } + .components-autocomplete__popover .components-autocomplete__results:empty { + display: none; } + +.components-autocomplete__result.components-button { + margin-bottom: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 13px; + color: #555d66; + display: flex; + flex-direction: row; + flex-grow: 1; + flex-shrink: 0; + align-items: center; + padding: 6px 8px; + margin-right: -3px; + margin-left: -3px; + text-align: right; } + .components-autocomplete__result.components-button.is-selected { + color: #191e23; + border: none; + box-shadow: none; + outline-offset: -2px; + outline: 1px dotted #555d66; } + .components-autocomplete__result.components-button:hover { + color: #191e23; + border: none; + box-shadow: none; + background: #f3f4f5; } + +.components-base-control { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 13px; } + .components-base-control .components-base-control__field { + margin-bottom: 8px; } + .components-panel__row .components-base-control .components-base-control__field { + margin-bottom: inherit; } + .components-base-control .components-base-control__label { + display: inline-block; + margin-bottom: 4px; } + .components-base-control .components-base-control__help { + margin-top: -8px; + font-style: italic; } + +.components-base-control + .components-base-control { + margin-bottom: 16px; } + +.components-button-group { + display: inline-block; } + .components-button-group .components-button.is-button { + border-radius: 0; + display: inline-flex; } + .components-button-group .components-button.is-button + .components-button.is-button { + margin-right: -1px; } + .components-button-group .components-button.is-button:first-child { + border-radius: 0 3px 3px 0; } + .components-button-group .components-button.is-button:last-child { + border-radius: 3px 0 0 3px; } + .components-button-group .components-button.is-button:focus, .components-button-group .components-button.is-button.is-primary { + position: relative; + z-index: 1; } + .components-button-group .components-button.is-button.is-primary { + box-shadow: none; } + +.components-button { + display: inline-flex; + text-decoration: none; + font-size: 13px; + margin: 0; + border: 0; + cursor: pointer; + -webkit-appearance: none; + background: none; + transition: box-shadow 0.1s linear; + /* Buttons that look like links, for a cross of good semantics with the visual */ + /* Link buttons that are red to indicate destructive behavior. */ } + @media (prefers-reduced-motion: reduce) { + .components-button { + transition-duration: 0s; } } + .components-button.is-button { + padding: 0 10px; + line-height: 2; + height: 28px; + border-radius: 3px; + white-space: nowrap; + border-width: 1px; + border-style: solid; } + .components-button.is-default { + color: rgb(0, 117, 175); + border-color: rgb(0, 117, 175); + background: #f3f5f6; } + body.admin-color-sunrise .components-button.is-default { + color: rgb(196, 126, 70); + border-color: rgb(196, 126, 70); } + body.admin-color-ocean .components-button.is-default { + color: rgb(153, 174, 152); + border-color: rgb(153, 174, 152); } + body.admin-color-midnight .components-button.is-default { + color: rgb(212, 72, 63); + border-color: rgb(212, 72, 63); } + body.admin-color-ectoplasm .components-button.is-default { + color: rgb(157, 171, 81); + border-color: rgb(157, 171, 81); } + body.admin-color-coffee .components-button.is-default { + color: rgb(182, 156, 132); + border-color: rgb(182, 156, 132); } + body.admin-color-blue .components-button.is-default { + color: rgb(204, 161, 84); + border-color: rgb(204, 161, 84); } + body.admin-color-light .components-button.is-default { + color: rgb(0, 125, 175); + border-color: rgb(0, 125, 175); } + .components-button.is-default:hover { + background: #f1f1f1; + border-color: rgb(0, 93, 140); + color: rgb(0, 93, 140); + text-decoration: none; } + body.admin-color-sunrise .components-button.is-default:hover { + border-color: rgb(157, 101, 56); + color: rgb(157, 101, 56); } + body.admin-color-ocean .components-button.is-default:hover { + border-color: rgb(122, 139, 122); + color: rgb(122, 139, 122); } + body.admin-color-midnight .components-button.is-default:hover { + border-color: rgb(169, 58, 50); + color: rgb(169, 58, 50); } + body.admin-color-ectoplasm .components-button.is-default:hover { + border-color: rgb(125, 137, 65); + color: rgb(125, 137, 65); } + body.admin-color-coffee .components-button.is-default:hover { + border-color: rgb(146, 125, 105); + color: rgb(146, 125, 105); } + body.admin-color-blue .components-button.is-default:hover { + border-color: rgb(163, 128, 67); + color: rgb(163, 128, 67); } + body.admin-color-light .components-button.is-default:hover { + border-color: rgb(0, 100, 140); + color: rgb(0, 100, 140); } + .components-button.is-default:focus:enabled { + background: #f3f5f6; + color: rgb(0, 93, 140); + border-color: rgb(0, 118, 177); + box-shadow: 0 0 0 1px rgb(0, 118, 177); + text-decoration: none; } + body.admin-color-sunrise .components-button.is-default:focus:enabled { + color: rgb(157, 101, 56); + border-color: rgb(199, 127, 70); + box-shadow: 0 0 0 1px rgb(199, 127, 70); } + body.admin-color-ocean .components-button.is-default:focus:enabled { + color: rgb(122, 139, 122); + border-color: rgb(155, 176, 154); + box-shadow: 0 0 0 1px rgb(155, 176, 154); } + body.admin-color-midnight .components-button.is-default:focus:enabled { + color: rgb(169, 58, 50); + border-color: rgb(214, 73, 64); + box-shadow: 0 0 0 1px rgb(214, 73, 64); } + body.admin-color-ectoplasm .components-button.is-default:focus:enabled { + color: rgb(125, 137, 65); + border-color: rgb(159, 173, 82); + box-shadow: 0 0 0 1px rgb(159, 173, 82); } + body.admin-color-coffee .components-button.is-default:focus:enabled { + color: rgb(146, 125, 105); + border-color: rgb(184, 158, 133); + box-shadow: 0 0 0 1px rgb(184, 158, 133); } + body.admin-color-blue .components-button.is-default:focus:enabled { + color: rgb(163, 128, 67); + border-color: rgb(206, 162, 85); + box-shadow: 0 0 0 1px rgb(206, 162, 85); } + body.admin-color-light .components-button.is-default:focus:enabled { + color: rgb(0, 100, 140); + border-color: rgb(0, 126, 177); + box-shadow: 0 0 0 1px rgb(0, 126, 177); } + .components-button.is-default:active:enabled { + background: #f3f5f6; + color: rgb(0, 118, 177); + border-color: #7e8993; + box-shadow: none; } + body.admin-color-sunrise .components-button.is-default:active:enabled { + color: rgb(199, 127, 70); } + body.admin-color-ocean .components-button.is-default:active:enabled { + color: rgb(155, 176, 154); } + body.admin-color-midnight .components-button.is-default:active:enabled { + color: rgb(214, 73, 64); } + body.admin-color-ectoplasm .components-button.is-default:active:enabled { + color: rgb(159, 173, 82); } + body.admin-color-coffee .components-button.is-default:active:enabled { + color: rgb(184, 158, 133); } + body.admin-color-blue .components-button.is-default:active:enabled { + color: rgb(206, 162, 85); } + body.admin-color-light .components-button.is-default:active:enabled { + color: rgb(0, 126, 177); } + .components-button.is-default:disabled, .components-button.is-default[aria-disabled="true"] { + color: #a0a5aa; + border-color: #ddd; + background: #f7f7f7; + text-shadow: 0 1px 0 #fff; + transform: none; + opacity: 1; } + .components-button.is-primary { + background: rgb(0, 124, 186); + border-color: rgb(0, 124, 186); + color: #fff; + text-decoration: none; + text-shadow: none; } + body.admin-color-sunrise .components-button.is-primary { + background: rgb(209, 134, 74); + border-color: rgb(209, 134, 74); } + body.admin-color-ocean .components-button.is-primary { + background: rgb(163, 185, 162); + border-color: rgb(163, 185, 162); } + body.admin-color-midnight .components-button.is-primary { + background: rgb(225, 77, 67); + border-color: rgb(225, 77, 67); } + body.admin-color-ectoplasm .components-button.is-primary { + background: rgb(167, 182, 86); + border-color: rgb(167, 182, 86); } + body.admin-color-coffee .components-button.is-primary { + background: rgb(194, 166, 140); + border-color: rgb(194, 166, 140); } + body.admin-color-blue .components-button.is-primary { + background: rgb(217, 171, 89); + border-color: rgb(217, 171, 89); } + body.admin-color-light .components-button.is-primary { + background: rgb(0, 133, 186); + border-color: rgb(0, 133, 186); } + .components-button.is-primary:hover, .components-button.is-primary:focus:enabled { + background: rgb(0, 112, 167); + border-color: rgb(0, 112, 167); + color: #fff; } + body.admin-color-sunrise .components-button.is-primary:hover, body.admin-color-sunrise .components-button.is-primary:focus:enabled { + background: rgb(188, 121, 67); + border-color: rgb(188, 121, 67); } + body.admin-color-ocean .components-button.is-primary:hover, body.admin-color-ocean .components-button.is-primary:focus:enabled { + background: rgb(147, 167, 146); + border-color: rgb(147, 167, 146); } + body.admin-color-midnight .components-button.is-primary:hover, body.admin-color-midnight .components-button.is-primary:focus:enabled { + background: rgb(203, 69, 60); + border-color: rgb(203, 69, 60); } + body.admin-color-ectoplasm .components-button.is-primary:hover, body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { + background: rgb(150, 164, 77); + border-color: rgb(150, 164, 77); } + body.admin-color-coffee .components-button.is-primary:hover, body.admin-color-coffee .components-button.is-primary:focus:enabled { + background: rgb(175, 149, 126); + border-color: rgb(175, 149, 126); } + body.admin-color-blue .components-button.is-primary:hover, body.admin-color-blue .components-button.is-primary:focus:enabled { + background: rgb(195, 154, 80); + border-color: rgb(195, 154, 80); } + body.admin-color-light .components-button.is-primary:hover, body.admin-color-light .components-button.is-primary:focus:enabled { + background: rgb(0, 120, 167); + border-color: rgb(0, 120, 167); } + .components-button.is-primary:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 124, 186); } + body.admin-color-sunrise .components-button.is-primary:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(209, 134, 74); } + body.admin-color-ocean .components-button.is-primary:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(163, 185, 162); } + body.admin-color-midnight .components-button.is-primary:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(225, 77, 67); } + body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(167, 182, 86); } + body.admin-color-coffee .components-button.is-primary:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(194, 166, 140); } + body.admin-color-blue .components-button.is-primary:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(217, 171, 89); } + body.admin-color-light .components-button.is-primary:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 133, 186); } + .components-button.is-primary:active:enabled { + background: rgb(0, 99, 149); + border-color: rgb(0, 99, 149); + color: #fff; } + body.admin-color-sunrise .components-button.is-primary:active:enabled { + background: rgb(167, 107, 59); + border-color: rgb(167, 107, 59); } + body.admin-color-ocean .components-button.is-primary:active:enabled { + background: rgb(130, 148, 130); + border-color: rgb(130, 148, 130); } + body.admin-color-midnight .components-button.is-primary:active:enabled { + background: rgb(180, 62, 54); + border-color: rgb(180, 62, 54); } + body.admin-color-ectoplasm .components-button.is-primary:active:enabled { + background: rgb(134, 146, 69); + border-color: rgb(134, 146, 69); } + body.admin-color-coffee .components-button.is-primary:active:enabled { + background: rgb(155, 133, 112); + border-color: rgb(155, 133, 112); } + body.admin-color-blue .components-button.is-primary:active:enabled { + background: rgb(174, 137, 71); + border-color: rgb(174, 137, 71); } + body.admin-color-light .components-button.is-primary:active:enabled { + background: rgb(0, 106, 149); + border-color: rgb(0, 106, 149); } + .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: rgb(102, 176, 214); + background: rgb(25, 137, 193); + border-color: rgb(25, 137, 193); + opacity: 1; } + body.admin-color-sunrise .components-button.is-primary:disabled, body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"], body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(227, 182, 146); + background: rgb(214, 146, 92); + border-color: rgb(214, 146, 92); } + body.admin-color-ocean .components-button.is-primary:disabled, body.admin-color-ocean .components-button.is-primary:disabled:active:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"], body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(200, 213, 199); + background: rgb(172, 192, 171); + border-color: rgb(172, 192, 171); } + body.admin-color-midnight .components-button.is-primary:disabled, body.admin-color-midnight .components-button.is-primary:disabled:active:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"], body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(237, 148, 142); + background: rgb(228, 95, 86); + border-color: rgb(228, 95, 86); } + body.admin-color-ectoplasm .components-button.is-primary:disabled, body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"], body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(202, 211, 154); + background: rgb(176, 189, 103); + border-color: rgb(176, 189, 103); } + body.admin-color-coffee .components-button.is-primary:disabled, body.admin-color-coffee .components-button.is-primary:disabled:active:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"], body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(218, 202, 186); + background: rgb(200, 175, 152); + border-color: rgb(200, 175, 152); } + body.admin-color-blue .components-button.is-primary:disabled, body.admin-color-blue .components-button.is-primary:disabled:active:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"], body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(232, 205, 155); + background: rgb(221, 179, 106); + border-color: rgb(221, 179, 106); } + body.admin-color-light .components-button.is-primary:disabled, body.admin-color-light .components-button.is-primary:disabled:active:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"], body.admin-color-light .components-button.is-primary[aria-disabled="true"]:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(102, 182, 214); + background: rgb(25, 145, 193); + border-color: rgb(25, 145, 193); } + .components-button.is-primary:disabled.is-button, .components-button.is-primary:disabled.is-button:hover, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary:disabled:active:enabled.is-button, .components-button.is-primary:disabled:active:enabled.is-button:hover, .components-button.is-primary:disabled:active:enabled:active:enabled, .components-button.is-primary[aria-disabled="true"].is-button, .components-button.is-primary[aria-disabled="true"].is-button:hover, .components-button.is-primary[aria-disabled="true"]:active:enabled, .components-button.is-primary[aria-disabled="true"]:enabled.is-button, .components-button.is-primary[aria-disabled="true"]:enabled.is-button:hover, .components-button.is-primary[aria-disabled="true"]:enabled:active:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled.is-button, .components-button.is-primary[aria-disabled="true"]:active:enabled.is-button:hover, .components-button.is-primary[aria-disabled="true"]:active:enabled:active:enabled { + box-shadow: none; + text-shadow: 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 rgb(0, 124, 186); } + body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(209, 134, 74); } + body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled, body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(163, 185, 162); } + body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled, body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(225, 77, 67); } + body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(167, 182, 86); } + body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled, body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(194, 166, 140); } + body.admin-color-blue .components-button.is-primary:disabled:focus:enabled, body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(217, 171, 89); } + body.admin-color-light .components-button.is-primary:disabled:focus:enabled, body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 133, 186); } + .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 28%, rgb(0, 99, 149) 28%, rgb(0, 99, 149) 72%, #007cba 72%); + /* stylelint-enable */ + border-color: rgb(0, 124, 186); } + body.admin-color-sunrise .components-button.is-primary.is-busy, body.admin-color-sunrise .components-button.is-primary.is-busy:disabled, body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled="true"] { + background-image: linear-gradient(45deg, #d1864a 28%, rgb(167, 107, 59) 28%, rgb(167, 107, 59) 72%, #d1864a 72%); + border-color: rgb(209, 134, 74); } + body.admin-color-ocean .components-button.is-primary.is-busy, body.admin-color-ocean .components-button.is-primary.is-busy:disabled, body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled="true"] { + background-image: linear-gradient(45deg, #a3b9a2 28%, rgb(130, 148, 130) 28%, rgb(130, 148, 130) 72%, #a3b9a2 72%); + border-color: rgb(163, 185, 162); } + body.admin-color-midnight .components-button.is-primary.is-busy, body.admin-color-midnight .components-button.is-primary.is-busy:disabled, body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled="true"] { + background-image: linear-gradient(45deg, #e14d43 28%, rgb(180, 62, 54) 28%, rgb(180, 62, 54) 72%, #e14d43 72%); + border-color: rgb(225, 77, 67); } + body.admin-color-ectoplasm .components-button.is-primary.is-busy, body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled, body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled="true"] { + background-image: linear-gradient(45deg, #a7b656 28%, rgb(134, 146, 69) 28%, rgb(134, 146, 69) 72%, #a7b656 72%); + border-color: rgb(167, 182, 86); } + body.admin-color-coffee .components-button.is-primary.is-busy, body.admin-color-coffee .components-button.is-primary.is-busy:disabled, body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled="true"] { + background-image: linear-gradient(45deg, #c2a68c 28%, rgb(155, 133, 112) 28%, rgb(155, 133, 112) 72%, #c2a68c 72%); + border-color: rgb(194, 166, 140); } + body.admin-color-blue .components-button.is-primary.is-busy, body.admin-color-blue .components-button.is-primary.is-busy:disabled, body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled="true"] { + background-image: linear-gradient(45deg, #d9ab59 28%, rgb(174, 137, 71) 28%, rgb(174, 137, 71) 72%, #d9ab59 72%); + border-color: rgb(217, 171, 89); } + body.admin-color-light .components-button.is-primary.is-busy, body.admin-color-light .components-button.is-primary.is-busy:disabled, body.admin-color-light .components-button.is-primary.is-busy[aria-disabled="true"] { + background-image: linear-gradient(45deg, #0085ba 28%, rgb(0, 106, 149) 28%, rgb(0, 106, 149) 72%, #0085ba 72%); + border-color: rgb(0, 133, 186); } + .components-button.is-link { + margin: 0; + padding: 0; + box-shadow: none; + border: 0; + border-radius: 0; + background: none; + outline: none; + text-align: right; + /* 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; } + @media (prefers-reduced-motion: reduce) { + .components-button.is-link { + transition-duration: 0s; } } + .components-button.is-link:hover, .components-button.is-link:active { + color: #00a0d2; } + .components-button.is-link:focus { + color: #124964; + box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } + .components-button.is-link.is-destructive { + color: #d94f4f; } + .components-button:active { + color: inherit; } + .components-button:disabled, .components-button[aria-disabled="true"] { + cursor: default; + opacity: 0.3; } + .components-button:focus:not(:disabled) { + background-color: #fff; + color: #191e23; + box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff; + outline: 2px solid transparent; } + .components-button.is-busy, .components-button.is-default.is-busy, .components-button.is-default.is-busy:disabled, .components-button.is-default.is-busy[aria-disabled="true"] { + animation: components-button__busy-animation 2500ms infinite linear; + background-size: 100px 100%; + background-image: repeating-linear-gradient(45deg, #e2e4e7, #fff 11px, #fff 10px, #e2e4e7 20px); + opacity: 1; } + .components-button.is-large { + height: 30px; + line-height: 28px; + padding: 0 12px 2px; } + .components-button.is-small { + height: 24px; + line-height: 22px; + padding: 0 8px 1px; + font-size: 11px; } + .components-button.is-tertiary { + color: #007cba; + padding: 0 10px; + line-height: 26px; + height: 28px; } + body.admin-color-sunrise .components-button.is-tertiary { + color: #837425; } + body.admin-color-ocean .components-button.is-tertiary { + color: #5e7d5e; } + body.admin-color-midnight .components-button.is-tertiary { + color: #497b8d; } + body.admin-color-ectoplasm .components-button.is-tertiary { + color: #523f6d; } + body.admin-color-coffee .components-button.is-tertiary { + color: #59524c; } + body.admin-color-blue .components-button.is-tertiary { + color: #417e9B; } + body.admin-color-light .components-button.is-tertiary { + color: #007cba; } + .components-button.is-tertiary .dashicon { + display: inline-block; + flex: 0 0 auto; } + .components-button.is-tertiary svg { + fill: currentColor; + outline: none; } + .components-button.is-tertiary:active:focus:enabled { + box-shadow: none; } + .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + color: rgb(0, 93, 140); } + body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + color: rgb(98, 87, 28); } + body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + color: rgb(71, 94, 71); } + body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + color: rgb(55, 92, 106); } + body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + color: rgb(62, 47, 82); } + body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + color: rgb(67, 62, 57); } + body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + color: rgb(49, 95, 116); } + body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + color: rgb(0, 93, 140); } + .components-button .screen-reader-text { + height: auto; } + +@keyframes components-button__busy-animation { + 0% { + background-position: 200px 0; } } + +.components-checkbox-control__input[type="checkbox"] { + border: 1px solid #b4b9be; + background: #fff; + color: #555; + clear: none; + cursor: pointer; + display: inline-block; + line-height: 0; + margin: 0 0 0 4px; + outline: 0; + padding: 0 !important; + text-align: center; + vertical-align: top; + width: 25px; + height: 25px; + -webkit-appearance: none; + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + transition: 0.05s border-color ease-in-out; } + @media (min-width: 600px) { + .components-checkbox-control__input[type="checkbox"] { + height: 16px; + width: 16px; } } + .components-checkbox-control__input[type="checkbox"]:focus { + border-color: #5b9dd9; + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); + outline: 2px solid transparent; } + .components-checkbox-control__input[type="checkbox"]:checked { + background: #11a0d2; + border-color: #11a0d2; } + .components-checkbox-control__input[type="checkbox"]:checked::-ms-check { + opacity: 0; } + .components-checkbox-control__input[type="checkbox"]:focus:checked { + border: none; } + .components-checkbox-control__input[type="checkbox"]:checked::before { + content: none; } + +.components-checkbox-control__input-container { + position: relative; + display: inline-block; + margin-left: 12px; + vertical-align: middle; + width: 25px; + height: 25px; } + @media (min-width: 600px) { + .components-checkbox-control__input-container { + width: 16px; + height: 16px; } } + +svg.dashicon.components-checkbox-control__checked { + fill: #fff; + cursor: pointer; + position: absolute; + right: -4px; + top: -2px; + width: 31px; + height: 31px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; } + @media (min-width: 600px) { + svg.dashicon.components-checkbox-control__checked { + width: 21px; + height: 21px; + right: -3px; } } + +.component-color-indicator { + width: 25px; + height: 16px; + margin-right: 0.8rem; + border: 1px solid #dadada; + display: inline-block; } + .component-color-indicator + .component-color-indicator { + margin-right: 0.5rem; } + +.components-color-palette { + margin-left: -14px; + width: calc(100% + 14px); } + .components-color-palette .components-color-palette__custom-clear-wrapper { + width: calc(100% - 14px); + display: flex; + justify-content: flex-end; } + +.components-color-palette__item-wrapper { + display: inline-block; + height: 28px; + width: 28px; + margin-left: 14px; + margin-bottom: 14px; + vertical-align: top; + transform: scale(1); + transition: 100ms transform ease; } + @media (prefers-reduced-motion: reduce) { + .components-color-palette__item-wrapper { + transition-duration: 0s; } } + .components-color-palette__item-wrapper:hover { + transform: scale(1.2); } + .components-color-palette__item-wrapper > div { + height: 100%; + width: 100%; } + +.components-color-palette__item { + display: inline-block; + vertical-align: top; + height: 100%; + width: 100%; + border: none; + border-radius: 50%; + background: transparent; + box-shadow: inset 0 0 0 14px; + transition: 100ms box-shadow ease; + cursor: pointer; } + @media (prefers-reduced-motion: reduce) { + .components-color-palette__item { + transition-duration: 0s; } } + .components-color-palette__item.is-active { + box-shadow: inset 0 0 0 4px; + position: relative; + z-index: 1; } + .components-color-palette__item.is-active + .dashicons-saved { + position: absolute; + right: 4px; + top: 4px; } + .components-color-palette__item::after { + content: ""; + position: absolute; + top: -1px; + right: -1px; + bottom: -1px; + left: -1px; + border-radius: 50%; + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); + border: 1px solid transparent; } + .components-color-palette__item:focus { + outline: none; } + .components-color-palette__item:focus::after { + content: ""; + border: 2px solid #606a73; + width: 32px; + height: 32px; + position: absolute; + top: -2px; + right: -2px; + border-radius: 50%; + box-shadow: inset 0 0 0 2px #fff; } + +.components-color-palette__custom-color { + margin-left: 16px; } + .components-color-palette__custom-color .components-button { + line-height: 22px; } + +/** + * Parts of this source were derived and modified from react-color, + * released under the MIT license. + * + * https://github.com/casesandberg/react-color/ + * + * Copyright (c) 2015 Case Sandberg + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ +.components-color-picker { + width: 100%; + overflow: hidden; } + +.components-color-picker__saturation { + width: 100%; + padding-bottom: 55%; + position: relative; } + +.components-color-picker__body { + padding: 16px 16px 12px; } + +.components-color-picker__controls { + display: flex; } + +.components-color-picker__saturation-pointer, +.components-color-picker__hue-pointer, +.components-color-picker__alpha-pointer { + padding: 0; + position: absolute; + cursor: pointer; + box-shadow: none; + border: none; } + +/* CURRENT COLOR COMPONENT */ +.components-color-picker__swatch { + margin-left: 8px; + width: 32px; + height: 32px; + border-radius: 50%; + position: relative; + overflow: hidden; + background-image: linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, transparent 75%, #ddd 75%), linear-gradient(45deg, transparent 75%, #ddd 75%); + background-size: 10px 10px; + background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; } + .is-alpha-disabled .components-color-picker__swatch { + width: 12px; + height: 12px; + margin-top: 0; } + +.components-color-picker__active { + position: absolute; < |
