@wordpress/components 29.1.0 → 29.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -6
- package/CONTRIBUTING.md +4 -4
- package/README.md +1 -1
- package/build/badge/index.js +26 -22
- package/build/badge/index.js.map +1 -1
- package/build/circular-option-picker/circular-option-picker-option.js +9 -7
- package/build/circular-option-picker/circular-option-picker-option.js.map +1 -1
- package/build/circular-option-picker/circular-option-picker.js +0 -1
- package/build/circular-option-picker/circular-option-picker.js.map +1 -1
- package/build/color-palette/index.js +1 -6
- package/build/color-palette/index.js.map +1 -1
- package/build/font-size-picker/index.native.js +1 -1
- package/build/font-size-picker/index.native.js.map +1 -1
- package/build/higher-order/with-focus-return/index.js +1 -1
- package/build/higher-order/with-focus-return/index.js.map +1 -1
- package/build/input-control/styles/input-control-styles.js +22 -22
- package/build/input-control/styles/input-control-styles.js.map +1 -1
- package/build/menu/checkbox-item.js +6 -6
- package/build/menu/checkbox-item.js.map +1 -1
- package/build/menu/context.js +2 -2
- package/build/menu/context.js.map +1 -1
- package/build/menu/group-label.js +4 -4
- package/build/menu/group-label.js.map +1 -1
- package/build/menu/group.js +4 -4
- package/build/menu/group.js.map +1 -1
- package/build/menu/index.js +87 -14
- package/build/menu/index.js.map +1 -1
- package/build/menu/item-help-text.js +4 -4
- package/build/menu/item-help-text.js.map +1 -1
- package/build/menu/item-label.js +4 -4
- package/build/menu/item-label.js.map +1 -1
- package/build/menu/item.js +6 -6
- package/build/menu/item.js.map +1 -1
- package/build/menu/popover.js +5 -5
- package/build/menu/popover.js.map +1 -1
- package/build/menu/radio-item.js +6 -6
- package/build/menu/radio-item.js.map +1 -1
- package/build/menu/separator.js +4 -4
- package/build/menu/separator.js.map +1 -1
- package/build/menu/styles.js +41 -41
- package/build/menu/styles.js.map +1 -1
- package/build/menu/submenu-trigger-item.js +5 -5
- package/build/menu/submenu-trigger-item.js.map +1 -1
- package/build/menu/trigger-button.js +3 -3
- package/build/menu/trigger-button.js.map +1 -1
- package/build/menu/types.js.map +1 -1
- package/build/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/build/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
- package/build/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/build/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
- package/build/notice/types.js.map +1 -1
- package/build/search-control/index.js +1 -1
- package/build/search-control/index.js.map +1 -1
- package/build/text/hook.js +8 -6
- package/build/text/hook.js.map +1 -1
- package/build/text/utils.js +1 -1
- package/build/text/utils.js.map +1 -1
- package/build-module/badge/index.js +28 -22
- package/build-module/badge/index.js.map +1 -1
- package/build-module/circular-option-picker/circular-option-picker-option.js +9 -7
- package/build-module/circular-option-picker/circular-option-picker-option.js.map +1 -1
- package/build-module/circular-option-picker/circular-option-picker.js +0 -1
- package/build-module/circular-option-picker/circular-option-picker.js.map +1 -1
- package/build-module/color-palette/index.js +1 -6
- package/build-module/color-palette/index.js.map +1 -1
- package/build-module/font-size-picker/index.native.js +1 -1
- package/build-module/font-size-picker/index.native.js.map +1 -1
- package/build-module/higher-order/with-focus-return/index.js +1 -1
- package/build-module/higher-order/with-focus-return/index.js.map +1 -1
- package/build-module/input-control/styles/input-control-styles.js +22 -22
- package/build-module/input-control/styles/input-control-styles.js.map +1 -1
- package/build-module/menu/checkbox-item.js +6 -6
- package/build-module/menu/checkbox-item.js.map +1 -1
- package/build-module/menu/context.js +1 -1
- package/build-module/menu/context.js.map +1 -1
- package/build-module/menu/group-label.js +4 -4
- package/build-module/menu/group-label.js.map +1 -1
- package/build-module/menu/group.js +4 -4
- package/build-module/menu/group.js.map +1 -1
- package/build-module/menu/index.js +99 -26
- package/build-module/menu/index.js.map +1 -1
- package/build-module/menu/item-help-text.js +4 -4
- package/build-module/menu/item-help-text.js.map +1 -1
- package/build-module/menu/item-label.js +4 -4
- package/build-module/menu/item-label.js.map +1 -1
- package/build-module/menu/item.js +6 -6
- package/build-module/menu/item.js.map +1 -1
- package/build-module/menu/popover.js +5 -5
- package/build-module/menu/popover.js.map +1 -1
- package/build-module/menu/radio-item.js +6 -6
- package/build-module/menu/radio-item.js.map +1 -1
- package/build-module/menu/separator.js +4 -4
- package/build-module/menu/separator.js.map +1 -1
- package/build-module/menu/styles.js +40 -40
- package/build-module/menu/styles.js.map +1 -1
- package/build-module/menu/submenu-trigger-item.js +6 -6
- package/build-module/menu/submenu-trigger-item.js.map +1 -1
- package/build-module/menu/trigger-button.js +3 -3
- package/build-module/menu/trigger-button.js.map +1 -1
- package/build-module/menu/types.js.map +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
- package/build-module/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/build-module/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
- package/build-module/notice/types.js.map +1 -1
- package/build-module/search-control/index.js +1 -1
- package/build-module/search-control/index.js.map +1 -1
- package/build-module/text/hook.js +8 -6
- package/build-module/text/hook.js.map +1 -1
- package/build-module/text/utils.js +1 -1
- package/build-module/text/utils.js.map +1 -1
- package/build-style/style-rtl.css +89 -170
- package/build-style/style.css +89 -170
- package/build-types/badge/index.d.ts.map +1 -1
- package/build-types/circular-option-picker/circular-option-picker-option.d.ts.map +1 -1
- package/build-types/circular-option-picker/circular-option-picker.d.ts.map +1 -1
- package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/color-palette/index.d.ts.map +1 -1
- package/build-types/higher-order/with-focus-return/index.d.ts +1 -1
- package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
- package/build-types/menu/checkbox-item.d.ts +2 -2
- package/build-types/menu/checkbox-item.d.ts.map +1 -1
- package/build-types/menu/context.d.ts +2 -2
- package/build-types/menu/context.d.ts.map +1 -1
- package/build-types/menu/group-label.d.ts +2 -2
- package/build-types/menu/group-label.d.ts.map +1 -1
- package/build-types/menu/group.d.ts +2 -2
- package/build-types/menu/group.d.ts.map +1 -1
- package/build-types/menu/index.d.ts +84 -12
- package/build-types/menu/index.d.ts.map +1 -1
- package/build-types/menu/item-help-text.d.ts +1 -1
- package/build-types/menu/item-help-text.d.ts.map +1 -1
- package/build-types/menu/item-label.d.ts +1 -1
- package/build-types/menu/item-label.d.ts.map +1 -1
- package/build-types/menu/item.d.ts +2 -2
- package/build-types/menu/item.d.ts.map +1 -1
- package/build-types/menu/popover.d.ts +2 -2
- package/build-types/menu/popover.d.ts.map +1 -1
- package/build-types/menu/radio-item.d.ts +2 -2
- package/build-types/menu/radio-item.d.ts.map +1 -1
- package/build-types/menu/separator.d.ts +2 -2
- package/build-types/menu/separator.d.ts.map +1 -1
- package/build-types/menu/styles.d.ts +15 -15
- package/build-types/menu/styles.d.ts.map +1 -1
- package/build-types/menu/submenu-trigger-item.d.ts +2 -2
- package/build-types/menu/submenu-trigger-item.d.ts.map +1 -1
- package/build-types/menu/trigger-button.d.ts +2 -2
- package/build-types/menu/trigger-button.d.ts.map +1 -1
- package/build-types/menu/types.d.ts +10 -10
- package/build-types/menu/types.d.ts.map +1 -1
- package/build-types/menu-group/stories/index.story.d.ts +1 -1
- package/build-types/notice/types.d.ts +1 -1
- package/build-types/progress-bar/stories/index.story.d.ts +1 -1
- package/build-types/tabs/stories/index.story.d.ts +0 -3
- package/build-types/tabs/stories/index.story.d.ts.map +1 -1
- package/build-types/text/hook.d.ts.map +1 -1
- package/build-types/text/utils.d.ts +1 -1
- package/package.json +19 -19
- package/src/animate/style.scss +16 -12
- package/src/badge/index.tsx +28 -27
- package/src/border-control/test/index.js +12 -4
- package/src/button/style.scss +15 -12
- package/src/checkbox-control/style.scss +4 -2
- package/src/circular-option-picker/README.md +1 -2
- package/src/circular-option-picker/circular-option-picker-option.tsx +17 -10
- package/src/circular-option-picker/circular-option-picker.tsx +0 -1
- package/src/circular-option-picker/stories/index.story.tsx +0 -1
- package/src/circular-option-picker/style.scss +10 -5
- package/src/color-palette/index.tsx +0 -7
- package/src/color-palette/test/index.tsx +2 -8
- package/src/combobox-control/test/index.tsx +1 -1
- package/src/drop-zone/style.scss +6 -9
- package/src/font-size-picker/index.native.js +1 -1
- package/src/form-toggle/style.scss +17 -10
- package/src/form-token-field/style.scss +9 -4
- package/src/higher-order/navigate-regions/style.scss +2 -2
- package/src/higher-order/with-focus-return/index.tsx +1 -1
- package/src/input-control/styles/input-control-styles.tsx +6 -0
- package/src/menu/README.md +421 -174
- package/src/menu/checkbox-item.tsx +12 -12
- package/src/menu/context.tsx +2 -4
- package/src/menu/docs-manifest.json +62 -0
- package/src/menu/group-label.tsx +7 -7
- package/src/menu/group.tsx +7 -11
- package/src/menu/index.tsx +101 -31
- package/src/menu/item-help-text.tsx +5 -7
- package/src/menu/item-label.tsx +5 -7
- package/src/menu/item.tsx +12 -12
- package/src/menu/popover.tsx +9 -9
- package/src/menu/radio-item.tsx +12 -12
- package/src/menu/separator.tsx +7 -7
- package/src/menu/stories/best-practices.mdx +38 -0
- package/src/menu/stories/index.story.tsx +8 -8
- package/src/menu/styles.ts +24 -24
- package/src/menu/submenu-trigger-item.tsx +9 -9
- package/src/menu/trigger-button.tsx +6 -6
- package/src/menu/types.ts +10 -10
- package/src/menu-group/stories/index.story.tsx +2 -2
- package/src/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/src/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/src/modal/style.scss +4 -2
- package/src/modal/test/index.tsx +5 -4
- package/src/notice/README.md +3 -3
- package/src/notice/types.ts +1 -1
- package/src/palette-edit/test/index.tsx +1 -1
- package/src/panel/style.scss +14 -6
- package/src/placeholder/style.scss +5 -3
- package/src/progress-bar/stories/index.story.tsx +1 -1
- package/src/resizable-box/style.scss +14 -9
- package/src/search-control/index.tsx +1 -1
- package/src/tab-panel/style.scss +6 -4
- package/src/tabs/stories/index.story.tsx +0 -131
- package/src/text/README.md +1 -1
- package/src/text/hook.ts +3 -2
- package/src/text/stories/index.story.tsx +2 -2
- package/src/text/test/index.tsx +1 -1
- package/src/text/utils.ts +1 -1
- package/src/text-highlight/test/index.tsx +3 -3
- package/src/toolbar/toolbar/style.scss +4 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -114,14 +114,10 @@
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
|
|
119
|
-
animation-fill-mode: forwards;
|
|
120
|
-
}
|
|
121
|
-
@media (prefers-reduced-motion: reduce) {
|
|
117
|
+
@media not (prefers-reduced-motion) {
|
|
122
118
|
.components-animate__appear {
|
|
123
|
-
animation
|
|
124
|
-
animation-
|
|
119
|
+
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
|
|
120
|
+
animation-fill-mode: forwards;
|
|
125
121
|
}
|
|
126
122
|
}
|
|
127
123
|
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
|
|
@@ -145,21 +141,17 @@
|
|
|
145
141
|
transform: translateY(0%) scaleY(1) scaleX(1);
|
|
146
142
|
}
|
|
147
143
|
}
|
|
148
|
-
|
|
149
|
-
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
|
|
150
|
-
animation-fill-mode: forwards;
|
|
151
|
-
}
|
|
152
|
-
@media (prefers-reduced-motion: reduce) {
|
|
144
|
+
@media not (prefers-reduced-motion) {
|
|
153
145
|
.components-animate__slide-in {
|
|
154
|
-
animation
|
|
155
|
-
animation-
|
|
146
|
+
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
|
|
147
|
+
animation-fill-mode: forwards;
|
|
148
|
+
}
|
|
149
|
+
.components-animate__slide-in.is-from-left {
|
|
150
|
+
transform: translateX(-100%);
|
|
151
|
+
}
|
|
152
|
+
.components-animate__slide-in.is-from-right {
|
|
153
|
+
transform: translateX(100%);
|
|
156
154
|
}
|
|
157
|
-
}
|
|
158
|
-
.components-animate__slide-in.is-from-left {
|
|
159
|
-
transform: translateX(-100%);
|
|
160
|
-
}
|
|
161
|
-
.components-animate__slide-in.is-from-right {
|
|
162
|
-
transform: translateX(100%);
|
|
163
155
|
}
|
|
164
156
|
|
|
165
157
|
@keyframes components-animate__slide-in-animation {
|
|
@@ -167,8 +159,10 @@
|
|
|
167
159
|
transform: translateX(0%);
|
|
168
160
|
}
|
|
169
161
|
}
|
|
170
|
-
|
|
171
|
-
|
|
162
|
+
@media not (prefers-reduced-motion) {
|
|
163
|
+
.components-animate__loading {
|
|
164
|
+
animation: components-animate__loading 1.6s ease-in-out infinite;
|
|
165
|
+
}
|
|
172
166
|
}
|
|
173
167
|
|
|
174
168
|
@keyframes components-animate__loading {
|
|
@@ -291,7 +285,6 @@
|
|
|
291
285
|
cursor: pointer;
|
|
292
286
|
-webkit-appearance: none;
|
|
293
287
|
background: none;
|
|
294
|
-
transition: box-shadow 0.1s linear;
|
|
295
288
|
height: 36px;
|
|
296
289
|
align-items: center;
|
|
297
290
|
box-sizing: border-box;
|
|
@@ -317,10 +310,9 @@
|
|
|
317
310
|
* Link buttons.
|
|
318
311
|
*/
|
|
319
312
|
}
|
|
320
|
-
@media (prefers-reduced-motion
|
|
313
|
+
@media not (prefers-reduced-motion) {
|
|
321
314
|
.components-button {
|
|
322
|
-
transition
|
|
323
|
-
transition-delay: 0s;
|
|
315
|
+
transition: box-shadow 0.1s linear;
|
|
324
316
|
}
|
|
325
317
|
}
|
|
326
318
|
.components-button.is-next-40px-default-size {
|
|
@@ -455,15 +447,13 @@ p + .components-button.is-tertiary {
|
|
|
455
447
|
text-align: right;
|
|
456
448
|
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
457
449
|
text-decoration: underline;
|
|
458
|
-
transition-property: border, background, color;
|
|
459
|
-
transition-duration: 0.05s;
|
|
460
|
-
transition-timing-function: ease-in-out;
|
|
461
450
|
height: auto;
|
|
462
451
|
}
|
|
463
|
-
@media (prefers-reduced-motion
|
|
452
|
+
@media not (prefers-reduced-motion) {
|
|
464
453
|
.components-button.is-link {
|
|
465
|
-
transition-
|
|
466
|
-
transition-
|
|
454
|
+
transition-property: border, background, color;
|
|
455
|
+
transition-duration: 0.05s;
|
|
456
|
+
transition-timing-function: ease-in-out;
|
|
467
457
|
}
|
|
468
458
|
}
|
|
469
459
|
.components-button.is-link:focus {
|
|
@@ -480,15 +470,14 @@ p + .components-button.is-tertiary {
|
|
|
480
470
|
color: #949494;
|
|
481
471
|
}
|
|
482
472
|
.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] {
|
|
483
|
-
animation: components-button__busy-animation 2500ms infinite linear;
|
|
484
473
|
background-size: 100px 100%;
|
|
485
474
|
/* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */
|
|
486
475
|
background-image: linear-gradient(45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);
|
|
487
476
|
/* stylelint-enable */
|
|
488
477
|
}
|
|
489
|
-
@media (prefers-reduced-motion
|
|
478
|
+
@media not (prefers-reduced-motion) {
|
|
490
479
|
.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] {
|
|
491
|
-
animation
|
|
480
|
+
animation: components-button__busy-animation 2500ms infinite linear;
|
|
492
481
|
}
|
|
493
482
|
}
|
|
494
483
|
.components-button.is-compact {
|
|
@@ -585,7 +574,6 @@ p + .components-button.is-tertiary {
|
|
|
585
574
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
586
575
|
padding: 6px 8px;
|
|
587
576
|
box-shadow: 0 0 0 transparent;
|
|
588
|
-
transition: box-shadow 0.1s linear;
|
|
589
577
|
border-radius: 2px;
|
|
590
578
|
border: 1px solid #949494;
|
|
591
579
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -610,12 +598,10 @@ p + .components-button.is-tertiary {
|
|
|
610
598
|
width: var(--checkbox-input-size);
|
|
611
599
|
height: var(--checkbox-input-size);
|
|
612
600
|
appearance: none;
|
|
613
|
-
transition: 0.1s border-color ease-in-out;
|
|
614
601
|
}
|
|
615
|
-
@media (prefers-reduced-motion
|
|
602
|
+
@media not (prefers-reduced-motion) {
|
|
616
603
|
.components-checkbox-control__input[type=checkbox] {
|
|
617
|
-
transition
|
|
618
|
-
transition-delay: 0s;
|
|
604
|
+
transition: box-shadow 0.1s linear;
|
|
619
605
|
}
|
|
620
606
|
}
|
|
621
607
|
@media (min-width: 600px) {
|
|
@@ -688,10 +674,9 @@ p + .components-button.is-tertiary {
|
|
|
688
674
|
cursor: default;
|
|
689
675
|
opacity: 1;
|
|
690
676
|
}
|
|
691
|
-
@media (prefers-reduced-motion
|
|
677
|
+
@media not (prefers-reduced-motion) {
|
|
692
678
|
.components-checkbox-control__input[type=checkbox] {
|
|
693
|
-
transition
|
|
694
|
-
transition-delay: 0s;
|
|
679
|
+
transition: 0.1s border-color ease-in-out;
|
|
695
680
|
}
|
|
696
681
|
}
|
|
697
682
|
.components-checkbox-control__input[type=checkbox]:focus {
|
|
@@ -776,13 +761,11 @@ svg.components-checkbox-control__indeterminate {
|
|
|
776
761
|
width: 28px;
|
|
777
762
|
vertical-align: top;
|
|
778
763
|
transform: scale(1);
|
|
779
|
-
transition: 100ms transform ease;
|
|
780
|
-
will-change: transform;
|
|
781
764
|
}
|
|
782
|
-
@media (prefers-reduced-motion
|
|
765
|
+
@media not (prefers-reduced-motion) {
|
|
783
766
|
.components-circular-option-picker__option-wrapper {
|
|
784
|
-
transition
|
|
785
|
-
|
|
767
|
+
transition: 100ms transform ease;
|
|
768
|
+
will-change: transform;
|
|
786
769
|
}
|
|
787
770
|
}
|
|
788
771
|
.components-circular-option-picker__option-wrapper:hover {
|
|
@@ -815,13 +798,11 @@ svg.components-checkbox-control__indeterminate {
|
|
|
815
798
|
border-radius: 50%;
|
|
816
799
|
background: transparent;
|
|
817
800
|
box-shadow: inset 0 0 0 14px;
|
|
818
|
-
transition: 100ms box-shadow ease;
|
|
819
801
|
cursor: pointer;
|
|
820
802
|
}
|
|
821
|
-
@media (prefers-reduced-motion
|
|
803
|
+
@media not (prefers-reduced-motion) {
|
|
822
804
|
.components-circular-option-picker__option {
|
|
823
|
-
transition
|
|
824
|
-
transition-delay: 0s;
|
|
805
|
+
transition: 100ms box-shadow ease;
|
|
825
806
|
}
|
|
826
807
|
}
|
|
827
808
|
.components-circular-option-picker__option:hover {
|
|
@@ -931,7 +912,6 @@ input.components-combobox-control__input[type=text]:focus {
|
|
|
931
912
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
932
913
|
padding: 6px 8px;
|
|
933
914
|
box-shadow: 0 0 0 transparent;
|
|
934
|
-
transition: box-shadow 0.1s linear;
|
|
935
915
|
border-radius: 2px;
|
|
936
916
|
border: 1px solid #949494;
|
|
937
917
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -944,10 +924,9 @@ input.components-combobox-control__input[type=text]:focus {
|
|
|
944
924
|
width: 100%;
|
|
945
925
|
padding: 0;
|
|
946
926
|
}
|
|
947
|
-
@media (prefers-reduced-motion
|
|
927
|
+
@media not (prefers-reduced-motion) {
|
|
948
928
|
.components-combobox-control__suggestions-container {
|
|
949
|
-
transition
|
|
950
|
-
transition-delay: 0s;
|
|
929
|
+
transition: box-shadow 0.1s linear;
|
|
951
930
|
}
|
|
952
931
|
}
|
|
953
932
|
@media (min-width: 600px) {
|
|
@@ -1186,21 +1165,19 @@ body.is-dragging-components-draggable {
|
|
|
1186
1165
|
}
|
|
1187
1166
|
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content {
|
|
1188
1167
|
opacity: 1;
|
|
1189
|
-
transition: opacity 0.2s ease-in-out;
|
|
1190
1168
|
}
|
|
1191
|
-
@media (prefers-reduced-motion) {
|
|
1169
|
+
@media not (prefers-reduced-motion) {
|
|
1192
1170
|
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content {
|
|
1193
|
-
transition:
|
|
1171
|
+
transition: opacity 0.2s ease-in-out;
|
|
1194
1172
|
}
|
|
1195
1173
|
}
|
|
1196
1174
|
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner {
|
|
1197
1175
|
opacity: 1;
|
|
1198
1176
|
transform: scale(1);
|
|
1199
|
-
transition: opacity 0.1s ease-in-out 0.1s, transform 0.1s ease-in-out 0.1s;
|
|
1200
1177
|
}
|
|
1201
|
-
@media (prefers-reduced-motion) {
|
|
1178
|
+
@media not (prefers-reduced-motion) {
|
|
1202
1179
|
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner {
|
|
1203
|
-
transition:
|
|
1180
|
+
transition: opacity 0.1s ease-in-out 0.1s, transform 0.1s ease-in-out 0.1s;
|
|
1204
1181
|
}
|
|
1205
1182
|
}
|
|
1206
1183
|
|
|
@@ -1366,13 +1343,11 @@ body.is-dragging-components-draggable {
|
|
|
1366
1343
|
width: 32px;
|
|
1367
1344
|
height: 16px;
|
|
1368
1345
|
border-radius: 8px;
|
|
1369
|
-
transition: 0.2s background-color ease, 0.2s border-color ease;
|
|
1370
1346
|
overflow: hidden;
|
|
1371
1347
|
}
|
|
1372
|
-
@media (prefers-reduced-motion
|
|
1348
|
+
@media not (prefers-reduced-motion) {
|
|
1373
1349
|
.components-form-toggle .components-form-toggle__track {
|
|
1374
|
-
transition
|
|
1375
|
-
transition-delay: 0s;
|
|
1350
|
+
transition: 0.2s background-color ease, 0.2s border-color ease;
|
|
1376
1351
|
}
|
|
1377
1352
|
}
|
|
1378
1353
|
.components-form-toggle .components-form-toggle__track::after {
|
|
@@ -1381,13 +1356,11 @@ body.is-dragging-components-draggable {
|
|
|
1381
1356
|
inset: 0;
|
|
1382
1357
|
box-sizing: border-box;
|
|
1383
1358
|
border-top: 16px solid transparent;
|
|
1384
|
-
transition: 0.2s opacity ease;
|
|
1385
1359
|
opacity: 0;
|
|
1386
1360
|
}
|
|
1387
|
-
@media (prefers-reduced-motion
|
|
1361
|
+
@media not (prefers-reduced-motion) {
|
|
1388
1362
|
.components-form-toggle .components-form-toggle__track::after {
|
|
1389
|
-
transition
|
|
1390
|
-
transition-delay: 0s;
|
|
1363
|
+
transition: 0.2s opacity ease;
|
|
1391
1364
|
}
|
|
1392
1365
|
}
|
|
1393
1366
|
.components-form-toggle .components-form-toggle__thumb {
|
|
@@ -1399,15 +1372,13 @@ body.is-dragging-components-draggable {
|
|
|
1399
1372
|
width: 12px;
|
|
1400
1373
|
height: 12px;
|
|
1401
1374
|
border-radius: 50%;
|
|
1402
|
-
transition: 0.2s transform ease, 0.2s background-color ease-out;
|
|
1403
1375
|
background-color: #1e1e1e;
|
|
1404
1376
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01);
|
|
1405
1377
|
border: 6px solid transparent;
|
|
1406
1378
|
}
|
|
1407
|
-
@media (prefers-reduced-motion
|
|
1379
|
+
@media not (prefers-reduced-motion) {
|
|
1408
1380
|
.components-form-toggle .components-form-toggle__thumb {
|
|
1409
|
-
transition
|
|
1410
|
-
transition-delay: 0s;
|
|
1381
|
+
transition: 0.2s transform ease, 0.2s background-color ease-out;
|
|
1411
1382
|
}
|
|
1412
1383
|
}
|
|
1413
1384
|
.components-form-toggle.is-checked .components-form-toggle__track {
|
|
@@ -1457,7 +1428,6 @@ body.is-dragging-components-draggable {
|
|
|
1457
1428
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
1458
1429
|
padding: 6px 8px;
|
|
1459
1430
|
box-shadow: 0 0 0 transparent;
|
|
1460
|
-
transition: box-shadow 0.1s linear;
|
|
1461
1431
|
border-radius: 2px;
|
|
1462
1432
|
border: 1px solid #949494;
|
|
1463
1433
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -1468,10 +1438,9 @@ body.is-dragging-components-draggable {
|
|
|
1468
1438
|
padding: 0;
|
|
1469
1439
|
cursor: text;
|
|
1470
1440
|
}
|
|
1471
|
-
@media (prefers-reduced-motion
|
|
1441
|
+
@media not (prefers-reduced-motion) {
|
|
1472
1442
|
.components-form-token-field__input-container {
|
|
1473
|
-
transition
|
|
1474
|
-
transition-delay: 0s;
|
|
1443
|
+
transition: box-shadow 0.1s linear;
|
|
1475
1444
|
}
|
|
1476
1445
|
}
|
|
1477
1446
|
@media (min-width: 600px) {
|
|
@@ -1586,15 +1555,11 @@ body.is-dragging-components-draggable {
|
|
|
1586
1555
|
height: auto;
|
|
1587
1556
|
background: #ddd;
|
|
1588
1557
|
min-width: unset;
|
|
1589
|
-
transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);
|
|
1590
1558
|
}
|
|
1591
|
-
@media (prefers-reduced-motion
|
|
1559
|
+
@media not (prefers-reduced-motion) {
|
|
1592
1560
|
.components-form-token-field__token-text,
|
|
1593
1561
|
.components-form-token-field__remove-token.components-button {
|
|
1594
|
-
transition
|
|
1595
|
-
transition-delay: 0s;
|
|
1596
|
-
animation-duration: 1ms;
|
|
1597
|
-
animation-delay: 0s;
|
|
1562
|
+
transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);
|
|
1598
1563
|
}
|
|
1599
1564
|
}
|
|
1600
1565
|
|
|
@@ -1622,16 +1587,14 @@ body.is-dragging-components-draggable {
|
|
|
1622
1587
|
min-width: 100%;
|
|
1623
1588
|
max-height: 128px;
|
|
1624
1589
|
overflow-y: auto;
|
|
1625
|
-
transition: all 0.15s ease-in-out;
|
|
1626
1590
|
list-style: none;
|
|
1627
1591
|
box-shadow: inset 0 1px 0 0 #949494;
|
|
1628
1592
|
margin: 0;
|
|
1629
1593
|
padding: 0;
|
|
1630
1594
|
}
|
|
1631
|
-
@media (prefers-reduced-motion
|
|
1595
|
+
@media not (prefers-reduced-motion) {
|
|
1632
1596
|
.components-form-token-field__suggestions-list {
|
|
1633
|
-
transition
|
|
1634
|
-
transition-delay: 0s;
|
|
1597
|
+
transition: all 0.15s ease-in-out;
|
|
1635
1598
|
}
|
|
1636
1599
|
}
|
|
1637
1600
|
|
|
@@ -1922,8 +1885,6 @@ body.is-dragging-components-draggable {
|
|
|
1922
1885
|
background-color: rgba(0, 0, 0, 0.35);
|
|
1923
1886
|
z-index: 100000;
|
|
1924
1887
|
display: flex;
|
|
1925
|
-
animation: __wp-base-styles-fade-in 0.08s linear 0s;
|
|
1926
|
-
animation-fill-mode: forwards;
|
|
1927
1888
|
}
|
|
1928
1889
|
@keyframes __wp-base-styles-fade-in {
|
|
1929
1890
|
from {
|
|
@@ -1933,16 +1894,12 @@ body.is-dragging-components-draggable {
|
|
|
1933
1894
|
opacity: 1;
|
|
1934
1895
|
}
|
|
1935
1896
|
}
|
|
1936
|
-
@media (prefers-reduced-motion
|
|
1897
|
+
@media not (prefers-reduced-motion) {
|
|
1937
1898
|
.components-modal__screen-overlay {
|
|
1938
|
-
animation
|
|
1939
|
-
animation-
|
|
1899
|
+
animation: __wp-base-styles-fade-in 0.08s linear 0s;
|
|
1900
|
+
animation-fill-mode: forwards;
|
|
1940
1901
|
}
|
|
1941
1902
|
}
|
|
1942
|
-
.components-modal__screen-overlay.is-animating-out {
|
|
1943
|
-
animation: __wp-base-styles-fade-out 0.08s linear 80ms;
|
|
1944
|
-
animation-fill-mode: forwards;
|
|
1945
|
-
}
|
|
1946
1903
|
@keyframes __wp-base-styles-fade-out {
|
|
1947
1904
|
from {
|
|
1948
1905
|
opacity: 1;
|
|
@@ -1951,10 +1908,10 @@ body.is-dragging-components-draggable {
|
|
|
1951
1908
|
opacity: 0;
|
|
1952
1909
|
}
|
|
1953
1910
|
}
|
|
1954
|
-
@media (prefers-reduced-motion
|
|
1911
|
+
@media not (prefers-reduced-motion) {
|
|
1955
1912
|
.components-modal__screen-overlay.is-animating-out {
|
|
1956
|
-
animation
|
|
1957
|
-
animation-
|
|
1913
|
+
animation: __wp-base-styles-fade-out 0.08s linear 80ms;
|
|
1914
|
+
animation-fill-mode: forwards;
|
|
1958
1915
|
}
|
|
1959
1916
|
}
|
|
1960
1917
|
|
|
@@ -1968,7 +1925,6 @@ body.is-dragging-components-draggable {
|
|
|
1968
1925
|
overflow: hidden;
|
|
1969
1926
|
display: flex;
|
|
1970
1927
|
animation-name: components-modal__appear-animation;
|
|
1971
|
-
animation-duration: var(--modal-frame-animation-duration);
|
|
1972
1928
|
animation-fill-mode: forwards;
|
|
1973
1929
|
animation-timing-function: cubic-bezier(0.29, 0, 0, 1);
|
|
1974
1930
|
}
|
|
@@ -1977,10 +1933,9 @@ body.is-dragging-components-draggable {
|
|
|
1977
1933
|
.components-modal__frame *::after {
|
|
1978
1934
|
box-sizing: inherit;
|
|
1979
1935
|
}
|
|
1980
|
-
@media (prefers-reduced-motion
|
|
1936
|
+
@media not (prefers-reduced-motion) {
|
|
1981
1937
|
.components-modal__frame {
|
|
1982
|
-
animation-duration:
|
|
1983
|
-
animation-delay: 0s;
|
|
1938
|
+
animation-duration: var(--modal-frame-animation-duration);
|
|
1984
1939
|
}
|
|
1985
1940
|
}
|
|
1986
1941
|
.components-modal__screen-overlay.is-animating-out .components-modal__frame {
|
|
@@ -2250,12 +2205,10 @@ body.is-dragging-components-draggable {
|
|
|
2250
2205
|
font-size: inherit;
|
|
2251
2206
|
margin-top: 0;
|
|
2252
2207
|
margin-bottom: 0;
|
|
2253
|
-
transition: 0.1s background ease-in-out;
|
|
2254
2208
|
}
|
|
2255
|
-
@media (prefers-reduced-motion
|
|
2209
|
+
@media not (prefers-reduced-motion) {
|
|
2256
2210
|
.components-panel__body > .components-panel__body-title {
|
|
2257
|
-
transition
|
|
2258
|
-
transition-delay: 0s;
|
|
2211
|
+
transition: 0.1s background ease-in-out;
|
|
2259
2212
|
}
|
|
2260
2213
|
}
|
|
2261
2214
|
|
|
@@ -2279,13 +2232,11 @@ body.is-dragging-components-draggable {
|
|
|
2279
2232
|
color: #1e1e1e;
|
|
2280
2233
|
border: none;
|
|
2281
2234
|
box-shadow: none;
|
|
2282
|
-
transition: 0.1s background ease-in-out;
|
|
2283
2235
|
height: auto;
|
|
2284
2236
|
}
|
|
2285
|
-
@media (prefers-reduced-motion
|
|
2237
|
+
@media not (prefers-reduced-motion) {
|
|
2286
2238
|
.components-panel__body-toggle.components-button {
|
|
2287
|
-
transition
|
|
2288
|
-
transition-delay: 0s;
|
|
2239
|
+
transition: 0.1s background ease-in-out;
|
|
2289
2240
|
}
|
|
2290
2241
|
}
|
|
2291
2242
|
.components-panel__body-toggle.components-button:focus {
|
|
@@ -2299,12 +2250,10 @@ body.is-dragging-components-draggable {
|
|
|
2299
2250
|
transform: translateY(-50%);
|
|
2300
2251
|
color: #1e1e1e;
|
|
2301
2252
|
fill: currentColor;
|
|
2302
|
-
transition: 0.1s color ease-in-out;
|
|
2303
2253
|
}
|
|
2304
|
-
@media (prefers-reduced-motion
|
|
2254
|
+
@media not (prefers-reduced-motion) {
|
|
2305
2255
|
.components-panel__body-toggle.components-button .components-panel__arrow {
|
|
2306
|
-
transition
|
|
2307
|
-
transition-delay: 0s;
|
|
2256
|
+
transition: 0.1s color ease-in-out;
|
|
2308
2257
|
}
|
|
2309
2258
|
}
|
|
2310
2259
|
body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {
|
|
@@ -2430,7 +2379,6 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2430
2379
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2431
2380
|
padding: 6px 8px;
|
|
2432
2381
|
box-shadow: 0 0 0 transparent;
|
|
2433
|
-
transition: box-shadow 0.1s linear;
|
|
2434
2382
|
border-radius: 2px;
|
|
2435
2383
|
border: 1px solid #949494;
|
|
2436
2384
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -2439,10 +2387,9 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2439
2387
|
line-height: normal;
|
|
2440
2388
|
flex: 1 1 auto;
|
|
2441
2389
|
}
|
|
2442
|
-
@media (prefers-reduced-motion
|
|
2390
|
+
@media not (prefers-reduced-motion) {
|
|
2443
2391
|
.components-placeholder__input[type=url] {
|
|
2444
|
-
transition
|
|
2445
|
-
transition-delay: 0s;
|
|
2392
|
+
transition: box-shadow 0.1s linear;
|
|
2446
2393
|
}
|
|
2447
2394
|
}
|
|
2448
2395
|
@media (min-width: 600px) {
|
|
@@ -2525,14 +2472,12 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2525
2472
|
.components-placeholder.has-illustration .components-button {
|
|
2526
2473
|
opacity: 0;
|
|
2527
2474
|
pointer-events: none;
|
|
2528
|
-
transition: opacity 0.1s linear;
|
|
2529
2475
|
}
|
|
2530
|
-
@media (prefers-reduced-motion
|
|
2476
|
+
@media not (prefers-reduced-motion) {
|
|
2531
2477
|
.components-placeholder.has-illustration .components-placeholder__label,
|
|
2532
2478
|
.components-placeholder.has-illustration .components-placeholder__instructions,
|
|
2533
2479
|
.components-placeholder.has-illustration .components-button {
|
|
2534
|
-
transition
|
|
2535
|
-
transition-delay: 0s;
|
|
2480
|
+
transition: opacity 0.1s linear;
|
|
2536
2481
|
}
|
|
2537
2482
|
}
|
|
2538
2483
|
.is-selected > .components-placeholder.has-illustration .components-placeholder__label,
|
|
@@ -2717,7 +2662,6 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2717
2662
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2718
2663
|
padding: 6px 8px;
|
|
2719
2664
|
box-shadow: 0 0 0 transparent;
|
|
2720
|
-
transition: box-shadow 0.1s linear;
|
|
2721
2665
|
border-radius: 2px;
|
|
2722
2666
|
border: 1px solid #949494;
|
|
2723
2667
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -2739,10 +2683,9 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2739
2683
|
appearance: none;
|
|
2740
2684
|
cursor: pointer;
|
|
2741
2685
|
}
|
|
2742
|
-
@media (prefers-reduced-motion
|
|
2686
|
+
@media not (prefers-reduced-motion) {
|
|
2743
2687
|
.components-radio-control__input[type=radio] {
|
|
2744
|
-
transition
|
|
2745
|
-
transition-delay: 0s;
|
|
2688
|
+
transition: box-shadow 0.1s linear;
|
|
2746
2689
|
}
|
|
2747
2690
|
}
|
|
2748
2691
|
@media (min-width: 600px) {
|
|
@@ -2883,14 +2826,12 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2883
2826
|
position: absolute;
|
|
2884
2827
|
top: calc(50% - 1px);
|
|
2885
2828
|
left: calc(50% - 1px);
|
|
2886
|
-
transition: transform 0.1s ease-in;
|
|
2887
|
-
will-change: transform;
|
|
2888
2829
|
opacity: 0;
|
|
2889
2830
|
}
|
|
2890
|
-
@media (prefers-reduced-motion
|
|
2831
|
+
@media not (prefers-reduced-motion) {
|
|
2891
2832
|
.components-resizable-box__side-handle::before {
|
|
2892
|
-
transition
|
|
2893
|
-
|
|
2833
|
+
transition: transform 0.1s ease-in;
|
|
2834
|
+
will-change: transform;
|
|
2894
2835
|
}
|
|
2895
2836
|
}
|
|
2896
2837
|
|
|
@@ -2922,37 +2863,23 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
|
|
2922
2863
|
border-bottom: 0;
|
|
2923
2864
|
}
|
|
2924
2865
|
|
|
2925
|
-
|
|
2926
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
|
2927
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
|
|
2928
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
|
|
2929
|
-
animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;
|
|
2930
|
-
animation-fill-mode: forwards;
|
|
2931
|
-
}
|
|
2932
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2866
|
+
@media not (prefers-reduced-motion) {
|
|
2933
2867
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
|
|
2934
2868
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
|
2935
2869
|
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
|
|
2936
2870
|
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
|
|
2937
|
-
animation
|
|
2938
|
-
animation-
|
|
2871
|
+
animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;
|
|
2872
|
+
animation-fill-mode: forwards;
|
|
2939
2873
|
}
|
|
2940
2874
|
}
|
|
2941
2875
|
|
|
2942
|
-
|
|
2943
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
|
|
2944
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
|
|
2945
|
-
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
|
|
2946
|
-
animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;
|
|
2947
|
-
animation-fill-mode: forwards;
|
|
2948
|
-
}
|
|
2949
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2876
|
+
@media not (prefers-reduced-motion) {
|
|
2950
2877
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,
|
|
2951
2878
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,
|
|
2952
2879
|
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
|
|
2953
2880
|
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
|
|
2954
|
-
animation
|
|
2955
|
-
animation-
|
|
2881
|
+
animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;
|
|
2882
|
+
animation-fill-mode: forwards;
|
|
2956
2883
|
}
|
|
2957
2884
|
}
|
|
2958
2885
|
|
|
@@ -3157,12 +3084,10 @@ body.lockscroll {
|
|
|
3157
3084
|
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
3158
3085
|
height: calc(0 * var(--wp-admin-border-width-focus));
|
|
3159
3086
|
border-radius: 0;
|
|
3160
|
-
transition: all 0.1s linear;
|
|
3161
3087
|
}
|
|
3162
|
-
@media (prefers-reduced-motion
|
|
3088
|
+
@media not (prefers-reduced-motion) {
|
|
3163
3089
|
.components-tab-panel__tabs-item::after {
|
|
3164
|
-
transition
|
|
3165
|
-
transition-delay: 0s;
|
|
3090
|
+
transition: all 0.1s linear;
|
|
3166
3091
|
}
|
|
3167
3092
|
}
|
|
3168
3093
|
.components-tab-panel__tabs-item.is-active::after {
|
|
@@ -3180,12 +3105,10 @@ body.lockscroll {
|
|
|
3180
3105
|
pointer-events: none;
|
|
3181
3106
|
box-shadow: 0 0 0 0 transparent;
|
|
3182
3107
|
border-radius: 2px;
|
|
3183
|
-
transition: all 0.1s linear;
|
|
3184
3108
|
}
|
|
3185
|
-
@media (prefers-reduced-motion
|
|
3109
|
+
@media not (prefers-reduced-motion) {
|
|
3186
3110
|
.components-tab-panel__tabs-item::before {
|
|
3187
|
-
transition
|
|
3188
|
-
transition-delay: 0s;
|
|
3111
|
+
transition: all 0.1s linear;
|
|
3189
3112
|
}
|
|
3190
3113
|
}
|
|
3191
3114
|
.components-tab-panel__tabs-item:focus-visible::before {
|
|
@@ -3223,7 +3146,6 @@ body.lockscroll {
|
|
|
3223
3146
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
3224
3147
|
padding: 6px 8px;
|
|
3225
3148
|
box-shadow: 0 0 0 transparent;
|
|
3226
|
-
transition: box-shadow 0.1s linear;
|
|
3227
3149
|
border-radius: 2px;
|
|
3228
3150
|
border: 1px solid #949494;
|
|
3229
3151
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -3231,7 +3153,7 @@ body.lockscroll {
|
|
|
3231
3153
|
/* Override core line-height. To be reviewed. */
|
|
3232
3154
|
line-height: normal;
|
|
3233
3155
|
}
|
|
3234
|
-
@media (prefers-reduced-motion
|
|
3156
|
+
@media not (prefers-reduced-motion) {
|
|
3235
3157
|
.components-text-control__input,
|
|
3236
3158
|
.components-text-control__input[type=text],
|
|
3237
3159
|
.components-text-control__input[type=tel],
|
|
@@ -3246,8 +3168,7 @@ body.lockscroll {
|
|
|
3246
3168
|
.components-text-control__input[type=email],
|
|
3247
3169
|
.components-text-control__input[type=month],
|
|
3248
3170
|
.components-text-control__input[type=number] {
|
|
3249
|
-
transition
|
|
3250
|
-
transition-delay: 0s;
|
|
3171
|
+
transition: box-shadow 0.1s linear;
|
|
3251
3172
|
}
|
|
3252
3173
|
}
|
|
3253
3174
|
@media (min-width: 600px) {
|
|
@@ -3427,14 +3348,12 @@ body.lockscroll {
|
|
|
3427
3348
|
right: 8px;
|
|
3428
3349
|
left: 8px;
|
|
3429
3350
|
z-index: -1;
|
|
3430
|
-
animation: components-button__appear-animation 0.1s ease;
|
|
3431
|
-
animation-fill-mode: forwards;
|
|
3432
3351
|
}
|
|
3433
|
-
@media (prefers-reduced-motion
|
|
3352
|
+
@media not (prefers-reduced-motion) {
|
|
3434
3353
|
.components-accessible-toolbar .components-button::before,
|
|
3435
3354
|
.components-toolbar .components-button::before {
|
|
3436
|
-
animation
|
|
3437
|
-
animation-
|
|
3355
|
+
animation: components-button__appear-animation 0.1s ease;
|
|
3356
|
+
animation-fill-mode: forwards;
|
|
3438
3357
|
}
|
|
3439
3358
|
}
|
|
3440
3359
|
.components-accessible-toolbar .components-button svg,
|