| @@ -1,8 +1,12 @@ | ||
| 1 | 1 | @import "tailwindcss" source(none) important; |
| 2 | 2 | @import "../tailwind.css" source(none); |
| 3 | 3 | @source "."; |
| 4 | 4 | |
| 5 | +:root { | |
| 6 | + color-scheme: only light; | |
| 7 | +} | |
| 8 | + | |
| 5 | 9 | /* no-prefix */ |
| 6 | 10 | .extendify-auto-launch { |
| 7 | 11 | -webkit-font-smoothing: antialiased; |
| 8 | 12 | } |
| @@ -13,59 +17,17 @@ | ||
| 13 | 17 | @apply text-base; |
| 14 | 18 | } |
| 15 | 19 | } |
| 16 | 20 | |
| 17 | -.button-focus { | |
| 18 | - @apply rounded-lg text-center text-base no-underline outline-hidden ring-design-main ring-offset-2 ring-offset-white focus:shadow-none focus:ring-wp; | |
| 19 | -} | |
| 20 | - | |
| 21 | -.input-focus { | |
| 22 | - @apply rounded-lg text-base outline-hidden ring-design-main ring-offset-2 ring-offset-white focus:shadow-none focus:ring-wp; | |
| 23 | -} | |
| 24 | - | |
| 25 | -.button-card { | |
| 26 | - @apply m-0 block flex-1 overflow-hidden border p-4; | |
| 27 | -} | |
| 28 | - | |
| 29 | -.block-editor-block-preview__container { | |
| 30 | - overflow: visible !important; | |
| 31 | -} | |
| 32 | - | |
| 33 | -.spin { | |
| 34 | - animation: extendify-loading-spinner 1s linear infinite; | |
| 35 | -} | |
| 36 | - | |
| 37 | -@keyframes extendify-loading-spinner { | |
| 38 | - to { | |
| 39 | - transform: rotate(1turn); | |
| 40 | - } | |
| 41 | -} | |
| 42 | -@keyframes extendify-loading-skeleton { | |
| 43 | - 0% { | |
| 44 | - background-position: 0 0; | |
| 45 | - } | |
| 46 | - 25% { | |
| 47 | - background-position: 100% 0; | |
| 48 | - } | |
| 49 | - 50% { | |
| 50 | - background-position: 100% 100%; | |
| 51 | - } | |
| 52 | - 75% { | |
| 53 | - background-position: 0 100%; | |
| 54 | - } | |
| 55 | - 100% { | |
| 56 | - background-position: 0 0; | |
| 57 | - } | |
| 58 | -} | |
| 59 | - | |
| 60 | 21 | .status-animation { |
| 22 | + /* Follows the ink token so the shimmer stays legible on a dark palette. */ | |
| 61 | 23 | background-image: linear-gradient( |
| 62 | 24 | to right, |
| 63 | - #1e1e1e 0%, | |
| 64 | - #1e1e1e 25%, | |
| 65 | - #999999 50%, | |
| 66 | - #1e1e1e 75%, | |
| 67 | - #1e1e1e 100% | |
| 25 | + var(--ext-ui-status-color, var(--color-ui-ink)) 0%, | |
| 26 | + var(--ext-ui-status-color, var(--color-ui-ink)) 25%, | |
| 27 | + var(--color-ui-ink-muted) 50%, | |
| 28 | + var(--ext-ui-status-color, var(--color-ui-ink)) 75%, | |
| 29 | + var(--ext-ui-status-color, var(--color-ui-ink)) 100% | |
| 68 | 30 | ); |
| 69 | 31 | background-size: 300% 100%; |
| 70 | 32 | color: transparent; |
| 71 | 33 | background-clip: text; |
| @@ -80,39 +42,8 @@ | ||
| 80 | 42 | background-position: 0% 50%; |
| 81 | 43 | } |
| 82 | 44 | } |
| 83 | 45 | |
| 84 | -/* Checkbox styles for page selection step. */ | |
| 85 | -input[type="checkbox"]:not(:checked) { | |
| 86 | - @apply border border-gray-900; | |
| 87 | -} | |
| 88 | -input[type="checkbox"]:focus { | |
| 89 | - @apply outline-hidden ring-wp ring-design-main ring-offset-2 ring-offset-white; | |
| 90 | -} | |
| 91 | -input[type="checkbox"]:checked { | |
| 92 | - @apply bg-design-main; | |
| 93 | -} | |
| 94 | -input[type="checkbox"]:checked::before { | |
| 95 | - content: ""; | |
| 96 | - width: 0 !important; | |
| 97 | - height: 0 !important; | |
| 98 | -} | |
| 99 | - | |
| 100 | -/* Goal checkbox */ | |
| 101 | -.goal-select .components-base-control__field { | |
| 102 | - @apply mb-0; | |
| 103 | -} | |
| 104 | -/* no-prefix */ | |
| 105 | -.block-editor-block-preview__content { | |
| 106 | - @apply left-0 top-0 m-0 overflow-visible; | |
| 107 | - transform-origin: top left; | |
| 108 | - text-align: initial; | |
| 109 | - min-height: auto; | |
| 110 | -} | |
| 111 | -/* no-prefix */ | |
| 112 | -html[dir="rtl"] .block-editor-block-preview__content { | |
| 113 | - transform-origin: top right; | |
| 114 | -} | |
| 115 | 46 | /* no-prefix */ |
| 116 | 47 | body.site-assistant_page_extendify-auto-launch, |
| 117 | 48 | body.site-launcher_page_extendify-auto-launch { |
| 118 | 49 | background: white; |