@wordpress/edit-site 5.10.0 → 5.11.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.
Files changed (252) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/components/add-new-template/{add-custom-generic-template-modal.js → add-custom-generic-template-modal-content.js} +7 -22
  3. package/build/components/add-new-template/add-custom-generic-template-modal-content.js.map +1 -0
  4. package/build/components/add-new-template/{add-custom-template-modal.js → add-custom-template-modal-content.js} +11 -21
  5. package/build/components/add-new-template/add-custom-template-modal-content.js.map +1 -0
  6. package/build/components/add-new-template/new-template.js +98 -65
  7. package/build/components/add-new-template/new-template.js.map +1 -1
  8. package/build/components/block-editor/index.js +1 -3
  9. package/build/components/block-editor/index.js.map +1 -1
  10. package/build/components/create-template-part-modal/index.js +6 -7
  11. package/build/components/create-template-part-modal/index.js.map +1 -1
  12. package/build/components/editor/index.js +15 -40
  13. package/build/components/editor/index.js.map +1 -1
  14. package/build/components/editor-canvas-container/index.js +10 -3
  15. package/build/components/editor-canvas-container/index.js.map +1 -1
  16. package/build/components/global-styles/screen-block.js +80 -3
  17. package/build/components/global-styles/screen-block.js.map +1 -1
  18. package/build/components/global-styles/screen-revisions/index.js +3 -10
  19. package/build/components/global-styles/screen-revisions/index.js.map +1 -1
  20. package/build/components/global-styles/screen-revisions/revisions-buttons.js +16 -18
  21. package/build/components/global-styles/screen-revisions/revisions-buttons.js.map +1 -1
  22. package/build/components/global-styles/screen-revisions/use-global-styles-revisions.js +15 -24
  23. package/build/components/global-styles/screen-revisions/use-global-styles-revisions.js.map +1 -1
  24. package/build/components/global-styles/screen-root.js +4 -4
  25. package/build/components/global-styles/screen-root.js.map +1 -1
  26. package/build/components/global-styles/style-variations-container.js +6 -10
  27. package/build/components/global-styles/style-variations-container.js.map +1 -1
  28. package/build/components/global-styles/ui.js +9 -9
  29. package/build/components/global-styles/ui.js.map +1 -1
  30. package/build/components/header-edit-mode/document-actions/index.js +28 -103
  31. package/build/components/header-edit-mode/document-actions/index.js.map +1 -1
  32. package/build/components/header-edit-mode/index.js +14 -1
  33. package/build/components/header-edit-mode/index.js.map +1 -1
  34. package/build/components/layout/hooks.js +54 -0
  35. package/build/components/layout/hooks.js.map +1 -0
  36. package/build/components/layout/index.js +45 -98
  37. package/build/components/layout/index.js.map +1 -1
  38. package/build/components/list/actions/index.js +5 -2
  39. package/build/components/list/actions/index.js.map +1 -1
  40. package/build/components/resizable-frame/index.js +242 -0
  41. package/build/components/resizable-frame/index.js.map +1 -0
  42. package/build/components/revisions/index.js +2 -1
  43. package/build/components/revisions/index.js.map +1 -1
  44. package/build/components/secondary-sidebar/list-view-sidebar.js +4 -3
  45. package/build/components/secondary-sidebar/list-view-sidebar.js.map +1 -1
  46. package/build/components/sidebar/index.js +4 -4
  47. package/build/components/sidebar/index.js.map +1 -1
  48. package/build/components/sidebar-edit-mode/template-revisions/index.js +1 -1
  49. package/build/components/sidebar-edit-mode/template-revisions/index.js.map +1 -1
  50. package/build/components/sidebar-navigation-screen-global-styles/index.js +75 -11
  51. package/build/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
  52. package/build/components/sidebar-navigation-screen-main/index.js +24 -33
  53. package/build/components/sidebar-navigation-screen-main/index.js.map +1 -1
  54. package/build/components/sidebar-navigation-screen-navigation-menu/index.js +162 -0
  55. package/build/components/sidebar-navigation-screen-navigation-menu/index.js.map +1 -0
  56. package/build/components/sidebar-navigation-screen-navigation-menus/constants.js +17 -0
  57. package/build/components/sidebar-navigation-screen-navigation-menus/constants.js.map +1 -0
  58. package/build/components/sidebar-navigation-screen-navigation-menus/index.js +53 -103
  59. package/build/components/sidebar-navigation-screen-navigation-menus/index.js.map +1 -1
  60. package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +87 -0
  61. package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js.map +1 -0
  62. package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +14 -71
  63. package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js.map +1 -1
  64. package/build/components/sidebar-navigation-screen-navigation-menus/navigator-button.js +53 -0
  65. package/build/components/sidebar-navigation-screen-navigation-menus/navigator-button.js.map +1 -0
  66. package/build/components/sidebar-navigation-screen-templates/index.js +36 -11
  67. package/build/components/sidebar-navigation-screen-templates/index.js.map +1 -1
  68. package/build/components/site-hub/index.js +1 -3
  69. package/build/components/site-hub/index.js.map +1 -1
  70. package/build/components/style-book/index.js +93 -19
  71. package/build/components/style-book/index.js.map +1 -1
  72. package/build/components/use-edited-entity-record/index.js +8 -4
  73. package/build/components/use-edited-entity-record/index.js.map +1 -1
  74. package/build/hooks/commands/use-edit-mode-commands.js +105 -0
  75. package/build/hooks/commands/use-edit-mode-commands.js.map +1 -0
  76. package/build/store/actions.js +5 -3
  77. package/build/store/actions.js.map +1 -1
  78. package/build-module/components/add-new-template/{add-custom-generic-template-modal.js → add-custom-generic-template-modal-content.js} +8 -20
  79. package/build-module/components/add-new-template/add-custom-generic-template-modal-content.js.map +1 -0
  80. package/build-module/components/add-new-template/{add-custom-template-modal.js → add-custom-template-modal-content.js} +13 -22
  81. package/build-module/components/add-new-template/add-custom-template-modal-content.js.map +1 -0
  82. package/build-module/components/add-new-template/new-template.js +98 -67
  83. package/build-module/components/add-new-template/new-template.js.map +1 -1
  84. package/build-module/components/block-editor/index.js +1 -3
  85. package/build-module/components/block-editor/index.js.map +1 -1
  86. package/build-module/components/create-template-part-modal/index.js +7 -8
  87. package/build-module/components/create-template-part-modal/index.js.map +1 -1
  88. package/build-module/components/editor/index.js +16 -43
  89. package/build-module/components/editor/index.js.map +1 -1
  90. package/build-module/components/editor-canvas-container/index.js +7 -3
  91. package/build-module/components/editor-canvas-container/index.js.map +1 -1
  92. package/build-module/components/global-styles/screen-block.js +82 -4
  93. package/build-module/components/global-styles/screen-block.js.map +1 -1
  94. package/build-module/components/global-styles/screen-revisions/index.js +3 -10
  95. package/build-module/components/global-styles/screen-revisions/index.js.map +1 -1
  96. package/build-module/components/global-styles/screen-revisions/revisions-buttons.js +16 -19
  97. package/build-module/components/global-styles/screen-revisions/revisions-buttons.js.map +1 -1
  98. package/build-module/components/global-styles/screen-revisions/use-global-styles-revisions.js +15 -24
  99. package/build-module/components/global-styles/screen-revisions/use-global-styles-revisions.js.map +1 -1
  100. package/build-module/components/global-styles/screen-root.js +4 -4
  101. package/build-module/components/global-styles/screen-root.js.map +1 -1
  102. package/build-module/components/global-styles/style-variations-container.js +7 -11
  103. package/build-module/components/global-styles/style-variations-container.js.map +1 -1
  104. package/build-module/components/global-styles/ui.js +10 -10
  105. package/build-module/components/global-styles/ui.js.map +1 -1
  106. package/build-module/components/header-edit-mode/document-actions/index.js +31 -107
  107. package/build-module/components/header-edit-mode/document-actions/index.js.map +1 -1
  108. package/build-module/components/header-edit-mode/index.js +14 -2
  109. package/build-module/components/header-edit-mode/index.js.map +1 -1
  110. package/build-module/components/layout/hooks.js +41 -0
  111. package/build-module/components/layout/hooks.js.map +1 -0
  112. package/build-module/components/layout/index.js +46 -101
  113. package/build-module/components/layout/index.js.map +1 -1
  114. package/build-module/components/list/actions/index.js +6 -3
  115. package/build-module/components/list/actions/index.js.map +1 -1
  116. package/build-module/components/resizable-frame/index.js +228 -0
  117. package/build-module/components/resizable-frame/index.js.map +1 -0
  118. package/build-module/components/revisions/index.js +2 -1
  119. package/build-module/components/revisions/index.js.map +1 -1
  120. package/build-module/components/secondary-sidebar/list-view-sidebar.js +3 -3
  121. package/build-module/components/secondary-sidebar/list-view-sidebar.js.map +1 -1
  122. package/build-module/components/sidebar/index.js +3 -3
  123. package/build-module/components/sidebar/index.js.map +1 -1
  124. package/build-module/components/sidebar-edit-mode/template-revisions/index.js +1 -1
  125. package/build-module/components/sidebar-edit-mode/template-revisions/index.js.map +1 -1
  126. package/build-module/components/sidebar-navigation-screen-global-styles/index.js +70 -14
  127. package/build-module/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
  128. package/build-module/components/sidebar-navigation-screen-main/index.js +21 -32
  129. package/build-module/components/sidebar-navigation-screen-main/index.js.map +1 -1
  130. package/build-module/components/sidebar-navigation-screen-navigation-menu/index.js +141 -0
  131. package/build-module/components/sidebar-navigation-screen-navigation-menu/index.js.map +1 -0
  132. package/build-module/components/sidebar-navigation-screen-navigation-menus/constants.js +10 -0
  133. package/build-module/components/sidebar-navigation-screen-navigation-menus/constants.js.map +1 -0
  134. package/build-module/components/sidebar-navigation-screen-navigation-menus/index.js +52 -103
  135. package/build-module/components/sidebar-navigation-screen-navigation-menus/index.js.map +1 -1
  136. package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +71 -0
  137. package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js.map +1 -0
  138. package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +12 -71
  139. package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js.map +1 -1
  140. package/build-module/components/sidebar-navigation-screen-navigation-menus/navigator-button.js +40 -0
  141. package/build-module/components/sidebar-navigation-screen-navigation-menus/navigator-button.js.map +1 -0
  142. package/build-module/components/sidebar-navigation-screen-templates/index.js +35 -11
  143. package/build-module/components/sidebar-navigation-screen-templates/index.js.map +1 -1
  144. package/build-module/components/site-hub/index.js +1 -3
  145. package/build-module/components/site-hub/index.js.map +1 -1
  146. package/build-module/components/style-book/index.js +93 -20
  147. package/build-module/components/style-book/index.js.map +1 -1
  148. package/build-module/components/use-edited-entity-record/index.js +8 -4
  149. package/build-module/components/use-edited-entity-record/index.js.map +1 -1
  150. package/build-module/hooks/commands/use-edit-mode-commands.js +86 -0
  151. package/build-module/hooks/commands/use-edit-mode-commands.js.map +1 -0
  152. package/build-module/store/actions.js +5 -3
  153. package/build-module/store/actions.js.map +1 -1
  154. package/build-style/style-rtl.css +233 -210
  155. package/build-style/style.css +234 -210
  156. package/package.json +37 -37
  157. package/src/components/add-new-template/add-custom-generic-template-modal-content.js +82 -0
  158. package/src/components/add-new-template/{add-custom-template-modal.js → add-custom-template-modal-content.js} +13 -26
  159. package/src/components/add-new-template/new-template.js +139 -153
  160. package/src/components/add-new-template/style.scss +79 -66
  161. package/src/components/block-editor/index.js +2 -3
  162. package/src/components/create-template-part-modal/index.js +19 -25
  163. package/src/components/editor/index.js +16 -45
  164. package/src/components/editor/style.scss +21 -6
  165. package/src/components/editor-canvas-container/index.js +28 -19
  166. package/src/components/global-styles/screen-block.js +74 -3
  167. package/src/components/global-styles/screen-revisions/index.js +3 -11
  168. package/src/components/global-styles/screen-revisions/revisions-buttons.js +33 -25
  169. package/src/components/global-styles/screen-revisions/style.scss +3 -2
  170. package/src/components/global-styles/screen-revisions/test/use-global-styles-revisions.js +16 -3
  171. package/src/components/global-styles/screen-revisions/use-global-styles-revisions.js +15 -19
  172. package/src/components/global-styles/screen-root.js +5 -3
  173. package/src/components/global-styles/style-variations-container.js +13 -18
  174. package/src/components/global-styles/style.scss +3 -0
  175. package/src/components/global-styles/ui.js +11 -9
  176. package/src/components/header-edit-mode/document-actions/index.js +26 -129
  177. package/src/components/header-edit-mode/document-actions/style.scss +28 -59
  178. package/src/components/header-edit-mode/index.js +18 -0
  179. package/src/components/header-edit-mode/style.scss +1 -0
  180. package/src/components/layout/hooks.js +46 -0
  181. package/src/components/layout/index.js +56 -125
  182. package/src/components/layout/style.scss +8 -2
  183. package/src/components/list/actions/index.js +12 -5
  184. package/src/components/list/style.scss +1 -0
  185. package/src/components/resizable-frame/index.js +253 -0
  186. package/src/components/resizable-frame/style.scss +69 -0
  187. package/src/components/revisions/index.js +1 -0
  188. package/src/components/secondary-sidebar/list-view-sidebar.js +2 -1
  189. package/src/components/sidebar/index.js +4 -4
  190. package/src/components/sidebar-edit-mode/template-revisions/index.js +1 -2
  191. package/src/components/sidebar-navigation-item/style.scss +9 -0
  192. package/src/components/sidebar-navigation-screen/style.scss +1 -2
  193. package/src/components/sidebar-navigation-screen-global-styles/index.js +106 -21
  194. package/src/components/sidebar-navigation-screen-main/index.js +35 -52
  195. package/src/components/sidebar-navigation-screen-navigation-menu/index.js +157 -0
  196. package/src/components/sidebar-navigation-screen-navigation-menus/constants.js +9 -0
  197. package/src/components/sidebar-navigation-screen-navigation-menus/index.js +63 -117
  198. package/src/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +83 -0
  199. package/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +6 -72
  200. package/src/components/sidebar-navigation-screen-navigation-menus/navigator-button.js +47 -0
  201. package/src/components/sidebar-navigation-screen-navigation-menus/style.scss +6 -20
  202. package/src/components/sidebar-navigation-screen-templates/index.js +53 -14
  203. package/src/components/site-hub/index.js +8 -9
  204. package/src/components/start-template-options/style.scss +20 -21
  205. package/src/components/style-book/index.js +132 -43
  206. package/src/components/style-book/style.scss +19 -0
  207. package/src/components/use-edited-entity-record/index.js +12 -3
  208. package/src/hooks/commands/use-edit-mode-commands.js +79 -0
  209. package/src/store/actions.js +4 -5
  210. package/src/store/test/utils.js +15 -5
  211. package/src/style.scss +1 -1
  212. package/build/components/add-new-template/add-custom-generic-template-modal.js.map +0 -1
  213. package/build/components/add-new-template/add-custom-template-modal.js.map +0 -1
  214. package/build/components/global-styles/border-panel.js +0 -135
  215. package/build/components/global-styles/border-panel.js.map +0 -1
  216. package/build/components/navigate-to-link/index.js +0 -51
  217. package/build/components/navigate-to-link/index.js.map +0 -1
  218. package/build/components/sidebar-navigation-screen-navigation-menus/loader.js +0 -19
  219. package/build/components/sidebar-navigation-screen-navigation-menus/loader.js.map +0 -1
  220. package/build/components/template-details/edit-template-title.js +0 -42
  221. package/build/components/template-details/edit-template-title.js.map +0 -1
  222. package/build/components/template-details/index.js +0 -103
  223. package/build/components/template-details/index.js.map +0 -1
  224. package/build/components/template-details/template-areas.js +0 -166
  225. package/build/components/template-details/template-areas.js.map +0 -1
  226. package/build/components/template-details/template-part-area-selector.js +0 -48
  227. package/build/components/template-details/template-part-area-selector.js.map +0 -1
  228. package/build-module/components/add-new-template/add-custom-generic-template-modal.js.map +0 -1
  229. package/build-module/components/add-new-template/add-custom-template-modal.js.map +0 -1
  230. package/build-module/components/global-styles/border-panel.js +0 -125
  231. package/build-module/components/global-styles/border-panel.js.map +0 -1
  232. package/build-module/components/navigate-to-link/index.js +0 -39
  233. package/build-module/components/navigate-to-link/index.js.map +0 -1
  234. package/build-module/components/sidebar-navigation-screen-navigation-menus/loader.js +0 -11
  235. package/build-module/components/sidebar-navigation-screen-navigation-menus/loader.js.map +0 -1
  236. package/build-module/components/template-details/edit-template-title.js +0 -33
  237. package/build-module/components/template-details/edit-template-title.js.map +0 -1
  238. package/build-module/components/template-details/index.js +0 -83
  239. package/build-module/components/template-details/index.js.map +0 -1
  240. package/build-module/components/template-details/template-areas.js +0 -145
  241. package/build-module/components/template-details/template-areas.js.map +0 -1
  242. package/build-module/components/template-details/template-part-area-selector.js +0 -36
  243. package/build-module/components/template-details/template-part-area-selector.js.map +0 -1
  244. package/src/components/add-new-template/add-custom-generic-template-modal.js +0 -101
  245. package/src/components/global-styles/border-panel.js +0 -114
  246. package/src/components/navigate-to-link/index.js +0 -46
  247. package/src/components/sidebar-navigation-screen-navigation-menus/loader.js +0 -9
  248. package/src/components/template-details/edit-template-title.js +0 -41
  249. package/src/components/template-details/index.js +0 -113
  250. package/src/components/template-details/style.scss +0 -72
  251. package/src/components/template-details/template-areas.js +0 -167
  252. package/src/components/template-details/template-part-area-selector.js +0 -39
@@ -97,7 +97,7 @@
97
97
  --wp-block-synced-color: #7a00df;
98
98
  --wp-block-synced-color--rgb: 122, 0, 223;
99
99
  }
100
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
100
+ @media (min-resolution: 192dpi) {
101
101
  :root {
102
102
  --wp-admin-border-width-focus: 1.5px;
103
103
  }
@@ -571,56 +571,21 @@ body.is-fullscreen-mode .interface-interface-skeleton {
571
571
  margin-left: 48px;
572
572
  }
573
573
 
574
- @media (min-width: 600px) {
575
- .edit-site-new-template-dropdown .edit-site-new-template-dropdown__menu-groups {
576
- min-width: 300px;
577
- }
574
+ .edit-site-custom-template-modal__contents-wrapper {
575
+ height: 100%;
576
+ justify-content: flex-start !important;
578
577
  }
579
- .edit-site-new-template-dropdown__menu-item-tooltip.components-tooltip .components-popover__content {
580
- max-width: 320px;
581
- padding: 8px 12px;
582
- border-radius: 2px;
583
- white-space: pre-wrap;
584
- min-width: 0;
585
- width: auto;
586
- text-align: left;
578
+ .edit-site-custom-template-modal__contents-wrapper > * {
579
+ width: 100%;
587
580
  }
588
-
589
- .edit-site-custom-template-modal__suggestions_list {
581
+ .edit-site-custom-template-modal__contents-wrapper__suggestions_list {
590
582
  margin-left: -12px;
591
583
  margin-right: -12px;
584
+ width: calc(100% + 24px);
592
585
  }
593
586
  .edit-site-custom-template-modal__contents > .components-button {
594
- padding: 24px;
595
- border-radius: 2px;
596
587
  height: auto;
597
- display: flex;
598
- flex-direction: column;
599
588
  justify-content: center;
600
- border: 1px solid #ddd;
601
- outline: 1px solid transparent;
602
- }
603
- .edit-site-custom-template-modal__contents > .components-button span:first-child {
604
- color: #1e1e1e;
605
- }
606
- .edit-site-custom-template-modal__contents > .components-button span {
607
- color: #757575;
608
- }
609
- .edit-site-custom-template-modal__contents > .components-button:hover {
610
- color: var(--wp-admin-theme-color-darker-10);
611
- background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
612
- border-color: transparent;
613
- }
614
- .edit-site-custom-template-modal__contents > .components-button:hover span {
615
- color: var(--wp-admin-theme-color);
616
- }
617
- .edit-site-custom-template-modal__contents > .components-button:focus {
618
- box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
619
- border-color: transparent;
620
- outline: 3px solid transparent;
621
- }
622
- .edit-site-custom-template-modal__contents > .components-button:focus span:first-child {
623
- color: var(--wp-admin-theme-color);
624
589
  }
625
590
  .edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input {
626
591
  background: #fff;
@@ -637,7 +602,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
637
602
  }
638
603
  @media (min-width: 600px) {
639
604
  .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list {
640
- height: 232px;
641
605
  overflow: scroll;
642
606
  }
643
607
  }
@@ -685,11 +649,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
685
649
  padding: 16px;
686
650
  }
687
651
 
688
- @media (min-width: 782px) {
689
- .edit-site-custom-generic-template__modal .components-base-control {
690
- width: 320px;
691
- }
692
- }
693
652
  .edit-site-custom-generic-template__modal .components-modal__header {
694
653
  border-bottom: none;
695
654
  }
@@ -713,6 +672,66 @@ body.is-fullscreen-mode .interface-interface-skeleton {
713
672
  align-items: center;
714
673
  justify-content: center;
715
674
  height: 100%;
675
+ position: absolute;
676
+ left: 50%;
677
+ transform: translateX(-50%);
678
+ }
679
+
680
+ .edit-site-add-new-template__modal {
681
+ max-width: 832px;
682
+ width: calc(100% - 64px);
683
+ margin-top: 64px;
684
+ max-height: calc(100% - 128px);
685
+ }
686
+ @media (min-width: 960px) {
687
+ .edit-site-add-new-template__modal {
688
+ width: calc(100% - 128px);
689
+ }
690
+ }
691
+
692
+ .edit-site-custom-template-modal__contents > .components-button,
693
+ .edit-site-add-new-template__template-list__contents > .components-button {
694
+ padding: 24px;
695
+ border-radius: 2px;
696
+ display: flex;
697
+ flex-direction: column;
698
+ border: 1px solid #ddd;
699
+ min-height: 192px;
700
+ outline: 1px solid transparent;
701
+ }
702
+ .edit-site-custom-template-modal__contents > .components-button span:first-child,
703
+ .edit-site-add-new-template__template-list__contents > .components-button span:first-child {
704
+ color: #1e1e1e;
705
+ }
706
+ .edit-site-custom-template-modal__contents > .components-button span,
707
+ .edit-site-add-new-template__template-list__contents > .components-button span {
708
+ color: #757575;
709
+ }
710
+ .edit-site-custom-template-modal__contents > .components-button:hover,
711
+ .edit-site-add-new-template__template-list__contents > .components-button:hover {
712
+ color: var(--wp-admin-theme-color-darker-10);
713
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
714
+ border-color: transparent;
715
+ }
716
+ .edit-site-custom-template-modal__contents > .components-button:hover span,
717
+ .edit-site-add-new-template__template-list__contents > .components-button:hover span {
718
+ color: var(--wp-admin-theme-color);
719
+ }
720
+ .edit-site-custom-template-modal__contents > .components-button:focus,
721
+ .edit-site-add-new-template__template-list__contents > .components-button:focus {
722
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
723
+ border-color: transparent;
724
+ outline: 3px solid transparent;
725
+ }
726
+ .edit-site-custom-template-modal__contents > .components-button:focus span:first-child,
727
+ .edit-site-add-new-template__template-list__contents > .components-button:focus span:first-child {
728
+ color: var(--wp-admin-theme-color);
729
+ }
730
+
731
+ .edit-site-add-new-template__template-list__contents > .components-button {
732
+ height: 100%;
733
+ text-align: start;
734
+ align-items: flex-start;
716
735
  }
717
736
 
718
737
  .edit-site-block-editor__editor-styles-wrapper .components-button {
@@ -1099,6 +1118,8 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1099
1118
  }
1100
1119
  .edit-site-global-styles-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input {
1101
1120
  flex: 1 1 auto;
1121
+ /*rtl:ignore*/
1122
+ direction: ltr;
1102
1123
  }
1103
1124
 
1104
1125
  .edit-site-global-styles-screen-css-help-link {
@@ -1164,7 +1185,7 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1164
1185
  left: 0;
1165
1186
  transform: translate(-50%, -50%);
1166
1187
  }
1167
- .edit-site-global-styles-screen-revisions__revision-item.is-current::before {
1188
+ .edit-site-global-styles-screen-revisions__revision-item.is-selected::before {
1168
1189
  background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));
1169
1190
  }
1170
1191
 
@@ -1181,12 +1202,12 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1181
1202
  color: var(--wp-admin-theme-color);
1182
1203
  }
1183
1204
 
1184
- .is-current .edit-site-global-styles-screen-revisions__revision-button {
1205
+ .is-selected .edit-site-global-styles-screen-revisions__revision-button {
1185
1206
  color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));
1186
1207
  opacity: 1;
1187
1208
  background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
1188
1209
  }
1189
- .is-current .edit-site-global-styles-screen-revisions__meta {
1210
+ .is-selected .edit-site-global-styles-screen-revisions__meta {
1190
1211
  color: var(--wp-admin-theme-color);
1191
1212
  }
1192
1213
 
@@ -1208,6 +1229,7 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1208
1229
  justify-content: space-between;
1209
1230
  width: 100%;
1210
1231
  align-items: center;
1232
+ text-align: left;
1211
1233
  }
1212
1234
  .edit-site-global-styles-screen-revisions__meta img {
1213
1235
  width: 16px;
@@ -1244,6 +1266,7 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1244
1266
  align-items: center;
1245
1267
  height: 100%;
1246
1268
  flex-grow: 1;
1269
+ margin: 0 8px;
1247
1270
  justify-content: center;
1248
1271
  min-width: 0;
1249
1272
  }
@@ -1388,69 +1411,45 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1388
1411
 
1389
1412
  .edit-site-document-actions {
1390
1413
  display: flex;
1391
- flex-direction: column;
1392
- justify-content: center;
1393
- padding: 0 8px;
1394
- height: 100%;
1395
- min-width: 0;
1396
- }
1397
- .edit-site-document-actions .edit-site-document-actions__title-wrapper {
1398
- display: flex;
1399
- flex-direction: row;
1400
- justify-content: center;
1401
1414
  align-items: center;
1415
+ gap: 8px;
1416
+ height: 36px;
1417
+ padding: 8px;
1418
+ justify-content: space-between;
1402
1419
  min-width: 0;
1420
+ background: #f0f0f0;
1421
+ border-radius: 4px;
1422
+ width: min(100%, 450px);
1403
1423
  }
1404
- .edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown {
1405
- display: inline-flex;
1406
- margin-left: 4px;
1407
- }
1408
- .edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button {
1409
- min-width: 0;
1410
- padding: 0;
1411
- }
1412
- .edit-site-document-actions .edit-site-document-actions__title-wrapper > h1 {
1413
- margin: 0;
1414
- min-width: 0;
1424
+ .edit-site-document-actions:hover {
1425
+ color: currentColor;
1426
+ background: #e0e0e0;
1415
1427
  }
1416
- .edit-site-document-actions .edit-site-document-actions__title {
1417
- white-space: nowrap;
1428
+
1429
+ .edit-site-document-actions__title {
1430
+ flex-grow: 1;
1431
+ color: var(--wp-block-synced-color);
1418
1432
  overflow: hidden;
1419
- text-overflow: ellipsis;
1420
- color: currentColor;
1421
1433
  }
1422
- .edit-site-document-actions .edit-site-document-actions__secondary-item {
1423
- display: flex;
1424
- align-items: center;
1434
+ .edit-site-document-actions__title h1 {
1435
+ color: var(--wp-block-synced-color);
1425
1436
  white-space: nowrap;
1426
1437
  overflow: hidden;
1427
1438
  text-overflow: ellipsis;
1428
- max-width: 0;
1429
- opacity: 0;
1430
- padding: 0;
1431
- transition: all ease 0.2s;
1432
- background: rgba(var(--wp-block-synced-color--rgb), 0.04);
1433
- border-radius: 2px;
1434
- }
1435
- @media (prefers-reduced-motion: reduce) {
1436
- .edit-site-document-actions .edit-site-document-actions__secondary-item {
1437
- transition-duration: 0s;
1438
- transition-delay: 0s;
1439
- }
1440
1439
  }
1441
- .edit-site-document-actions .edit-site-document-actions__secondary-item .block-editor-block-icon.has-colors {
1442
- color: var(--wp-block-synced-color);
1440
+
1441
+ .edit-site-document-actions__shortcut {
1442
+ flex-shrink: 0;
1443
+ color: #757575;
1444
+ width: 36px;
1443
1445
  }
1444
- .edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item {
1445
- opacity: 1;
1446
- padding: 0 4px;
1447
- max-width: 180px;
1448
- margin-left: 6px;
1446
+ .edit-site-document-actions__shortcut:hover {
1447
+ color: #757575;
1449
1448
  }
1450
1449
 
1451
- .edit-site-document-actions__info-dropdown > .components-popover__content {
1452
- padding: 0;
1453
- min-width: 240px;
1450
+ .edit-site-document-actions__left {
1451
+ min-width: 36px;
1452
+ flex-shrink: 0;
1454
1453
  }
1455
1454
 
1456
1455
  .edit-site-list-header {
@@ -1489,6 +1488,7 @@ body.is-fullscreen-mode .edit-site-list-header {
1489
1488
  }
1490
1489
 
1491
1490
  .edit-site .edit-site-list {
1491
+ flex-grow: 1;
1492
1492
  background: #fff;
1493
1493
  border-radius: 8px;
1494
1494
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
@@ -1608,8 +1608,7 @@ body.is-fullscreen-mode .edit-site-list-header {
1608
1608
  .edit-site-list-added-by__avatar img {
1609
1609
  width: 32px;
1610
1610
  height: 32px;
1611
- -o-object-fit: cover;
1612
- object-fit: cover;
1611
+ object-fit: cover;
1613
1612
  opacity: 0;
1614
1613
  transition: opacity 0.1s linear;
1615
1614
  }
@@ -1872,6 +1871,20 @@ h3.edit-site-template-card__template-areas-title {
1872
1871
  margin: 0 0 8px;
1873
1872
  }
1874
1873
 
1874
+ .edit-site-editor__interface-skeleton {
1875
+ opacity: 1;
1876
+ transition: opacity 0.1s ease-out;
1877
+ }
1878
+ @media (prefers-reduced-motion: reduce) {
1879
+ .edit-site-editor__interface-skeleton {
1880
+ transition-duration: 0s;
1881
+ transition-delay: 0s;
1882
+ }
1883
+ }
1884
+ .edit-site-editor__interface-skeleton.is-loading {
1885
+ opacity: 0;
1886
+ }
1887
+
1875
1888
  .edit-site-editor__toggle-save-panel {
1876
1889
  box-sizing: border-box;
1877
1890
  width: 280px;
@@ -1885,9 +1898,11 @@ h3.edit-site-template-card__template-areas-title {
1885
1898
  .edit-site .components-editor-notices__snackbar {
1886
1899
  position: fixed;
1887
1900
  right: 0;
1888
- bottom: 40px;
1889
- padding-left: 16px;
1890
- padding-right: 16px;
1901
+ bottom: 0;
1902
+ padding: 16px;
1903
+ }
1904
+ .edit-site .is-edit-mode .components-editor-notices__snackbar {
1905
+ bottom: 24px;
1891
1906
  }
1892
1907
 
1893
1908
  .edit-site .components-editor-notices__snackbar {
@@ -1928,62 +1943,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
1928
1943
  left: 0 !important;
1929
1944
  }
1930
1945
 
1931
- .edit-site-template-details .edit-site-template-details__group {
1932
- margin: 0;
1933
- padding: 16px;
1934
- }
1935
- .edit-site-template-details .edit-site-template-details__group + .edit-site-template-details__group {
1936
- border-top: 1px solid #ccc;
1937
- }
1938
- .edit-site-template-details .edit-site-template-details__description {
1939
- color: #757575;
1940
- }
1941
- .edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas {
1942
- padding: 8px;
1943
- }
1944
- .edit-site-template-details .edit-site-template-details__template-areas-item {
1945
- position: relative;
1946
- }
1947
- .edit-site-template-details .edit-site-template-details__template-areas-item .components-menu-items__item-icon {
1948
- color: var(--wp-block-synced-color);
1949
- }
1950
- .edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more {
1951
- position: absolute;
1952
- right: 0;
1953
- top: 0;
1954
- bottom: 0;
1955
- margin: auto 0;
1956
- }
1957
- .edit-site-template-details .edit-site-template-details__revert {
1958
- padding: 12px 8px;
1959
- }
1960
- .edit-site-template-details .edit-site-template-details__revert-button {
1961
- height: auto;
1962
- padding: 4px 8px;
1963
- text-align: left;
1964
- }
1965
- .edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled) {
1966
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
1967
- }
1968
- .edit-site-template-details .edit-site-template-details__show-all-button.components-button {
1969
- display: flex;
1970
- justify-content: center;
1971
- background: #1e1e1e;
1972
- color: #fff;
1973
- width: 100%;
1974
- height: 44px;
1975
- border-radius: 0;
1976
- }
1977
- .edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover {
1978
- color: #fff;
1979
- }
1980
- .edit-site-template-details .edit-site-template-details__show-all-button.components-button:active {
1981
- color: #ccc;
1982
- }
1983
- .edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled) {
1984
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
1985
- }
1986
-
1987
1946
  .edit-site-create-template-part-modal {
1988
1947
  z-index: 1000001;
1989
1948
  }
@@ -2130,8 +2089,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2130
2089
  .edit-site-welcome-guide__image > img {
2131
2090
  display: block;
2132
2091
  max-width: 100%;
2133
- -o-object-fit: cover;
2134
- object-fit: cover;
2092
+ object-fit: cover;
2135
2093
  }
2136
2094
  .edit-site-welcome-guide__heading {
2137
2095
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -2154,27 +2112,21 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2154
2112
  vertical-align: text-top;
2155
2113
  }
2156
2114
 
2157
- .edit-site-start-template-options__modal .components-modal__content {
2158
- padding-bottom: 0;
2159
- }
2160
- .edit-site-start-template-options__modal .components-modal__children-container {
2161
- display: flex;
2162
- height: 100%;
2163
- flex-direction: column;
2164
- }
2165
- .edit-site-start-template-options__modal .components-modal__children-container .edit-site-start-template-options__modal__actions {
2166
- margin-top: auto;
2167
- position: sticky;
2115
+ .edit-site-start-template-options__modal .edit-site-start-template-options__modal__actions {
2116
+ position: absolute;
2168
2117
  bottom: 0;
2118
+ width: 100%;
2119
+ height: 92px;
2169
2120
  background-color: #fff;
2170
2121
  margin-left: -32px;
2171
2122
  margin-right: -32px;
2172
- padding: 24px 32px 32px;
2123
+ padding-left: 32px;
2124
+ padding-right: 32px;
2173
2125
  border-top: 1px solid #ddd;
2174
2126
  z-index: 1;
2175
2127
  }
2176
2128
  .edit-site-start-template-options__modal .block-editor-block-patterns-list {
2177
- padding-bottom: 32px;
2129
+ padding-bottom: 92px;
2178
2130
  }
2179
2131
 
2180
2132
  .edit-site-start-template-options__modal-content .block-editor-block-patterns-list {
@@ -2349,7 +2301,12 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2349
2301
  left: 0;
2350
2302
  bottom: 0;
2351
2303
  width: 100%;
2352
- overflow: hidden;
2304
+ display: flex;
2305
+ justify-content: center;
2306
+ align-items: center;
2307
+ }
2308
+ .edit-site-layout__canvas:has(.edit-site-layout__resizable-frame-oversized) {
2309
+ justify-content: flex-end;
2353
2310
  }
2354
2311
  .edit-site-layout__canvas > div {
2355
2312
  color: #1e1e1e;
@@ -2570,6 +2527,13 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2570
2527
  .edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
2571
2528
  fill: #757575;
2572
2529
  }
2530
+ .edit-site-sidebar-navigation-item.components-item:is(a) {
2531
+ text-decoration: none;
2532
+ }
2533
+ .edit-site-sidebar-navigation-item.components-item:is(a):focus {
2534
+ box-shadow: none;
2535
+ outline: none;
2536
+ }
2573
2537
 
2574
2538
  .edit-site-sidebar-navigation-screen__content .block-editor-list-view-block-select-button {
2575
2539
  cursor: grab;
@@ -2584,7 +2548,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2584
2548
  }
2585
2549
 
2586
2550
  .edit-site-sidebar-navigation-screen__content {
2587
- margin: 0 16px 16px 36px;
2551
+ margin: 0 0 16px 0;
2588
2552
  color: #949494;
2589
2553
  }
2590
2554
 
@@ -2608,7 +2572,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2608
2572
  box-shadow: 0 8px 16px #1e1e1e;
2609
2573
  margin-bottom: 8px;
2610
2574
  padding-bottom: 8px;
2611
- padding-right: 16px;
2612
2575
  z-index: 1;
2613
2576
  }
2614
2577
 
@@ -2716,25 +2679,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2716
2679
  margin: 0 0 32px 16px;
2717
2680
  }
2718
2681
 
2719
- .edit-site-sidebar-navigation-screen-navigation-menus__placeholder {
2720
- padding: 8px;
2721
- margin: 8px;
2722
- background-color: #f0f0f0;
2723
- animation: loadingpulse 1s linear infinite;
2724
- animation-delay: 0.5s;
2725
- }
2726
-
2727
- @keyframes loadingpulse {
2728
- 0% {
2729
- opacity: 1;
2730
- }
2731
- 50% {
2732
- opacity: 0.5;
2733
- }
2734
- 100% {
2735
- opacity: 1;
2736
- }
2737
- }
2738
2682
  .edit-site-sidebar-navigation-screen-navigation-menus__content .offcanvas-editor-list-view-leaf {
2739
2683
  max-width: calc(100% - 4px);
2740
2684
  border-radius: 2px;
@@ -2798,6 +2742,12 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2798
2742
  display: none;
2799
2743
  }
2800
2744
 
2745
+ .edit-site-sidebar-navigation-screen-navigation-menus__loading.components-spinner {
2746
+ margin-left: auto;
2747
+ margin-right: auto;
2748
+ display: block;
2749
+ }
2750
+
2801
2751
  .edit-site-site-icon__icon {
2802
2752
  fill: currentColor;
2803
2753
  }
@@ -2806,14 +2756,28 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2806
2756
  width: 100%;
2807
2757
  height: auto;
2808
2758
  border-radius: 4px;
2809
- -o-object-fit: cover;
2810
- object-fit: cover;
2759
+ object-fit: cover;
2811
2760
  background: #333;
2812
2761
  }
2813
2762
  .edit-site-layout.is-full-canvas.is-edit-mode .edit-site-site-icon__image {
2814
2763
  border-radius: 0;
2815
2764
  }
2816
2765
 
2766
+ .edit-site-style-book {
2767
+ height: 100%;
2768
+ }
2769
+ .edit-site-style-book.is-button {
2770
+ border-radius: 8px;
2771
+ }
2772
+
2773
+ .edit-site-style-book__iframe.is-button {
2774
+ border-radius: 8px;
2775
+ }
2776
+ .edit-site-style-book__iframe.is-focused {
2777
+ outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
2778
+ outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
2779
+ }
2780
+
2817
2781
  .edit-site-style-book__tab-panel .components-tab-panel__tabs {
2818
2782
  background: #fff;
2819
2783
  color: #1e1e1e;
@@ -2848,6 +2812,66 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2848
2812
  background: #fff;
2849
2813
  }
2850
2814
 
2815
+ .edit-site-resizable-frame__inner {
2816
+ position: relative;
2817
+ }
2818
+ body:has(.edit-site-resizable-frame__inner.is-resizing) {
2819
+ cursor: col-resize;
2820
+ user-select: none;
2821
+ -webkit-user-select: none;
2822
+ }
2823
+
2824
+ .edit-site-resizable-frame__inner.is-resizing::before {
2825
+ position: absolute;
2826
+ z-index: 1;
2827
+ inset: 0;
2828
+ content: "";
2829
+ }
2830
+
2831
+ .edit-site-resizable-frame__inner-content {
2832
+ position: absolute;
2833
+ z-index: 0;
2834
+ inset: 0;
2835
+ }
2836
+
2837
+ .edit-site-resizable-frame__handle {
2838
+ position: absolute;
2839
+ width: 5px;
2840
+ height: 50px;
2841
+ background-color: rgba(255, 255, 255, 0.3);
2842
+ z-index: 100;
2843
+ border-radius: 5px;
2844
+ cursor: col-resize;
2845
+ display: flex;
2846
+ align-items: center;
2847
+ justify-content: flex-end;
2848
+ top: 50%;
2849
+ }
2850
+ .edit-site-resizable-frame__handle::before {
2851
+ position: absolute;
2852
+ left: 100%;
2853
+ height: 100%;
2854
+ width: 24px;
2855
+ content: "";
2856
+ }
2857
+ .edit-site-resizable-frame__handle::after {
2858
+ position: absolute;
2859
+ right: 100%;
2860
+ height: 100%;
2861
+ width: 24px;
2862
+ content: "";
2863
+ }
2864
+ .edit-site-resizable-frame__handle:hover {
2865
+ background-color: var(--wp-admin-theme-color);
2866
+ }
2867
+ .edit-site-resizable-frame__handle .edit-site-resizable-frame__handle-label {
2868
+ border-radius: 2px;
2869
+ background: var(--wp-admin-theme-color);
2870
+ padding: 4px 8px;
2871
+ color: #fff;
2872
+ margin-right: 8px;
2873
+ }
2874
+
2851
2875
  .edit-site-push-changes-to-global-styles-control .components-button {
2852
2876
  justify-content: center;
2853
2877
  width: 100%;
@@ -2961,7 +2985,7 @@ body.admin-color-light {
2961
2985
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
2962
2986
  --wp-admin-border-width-focus: 2px;
2963
2987
  }
2964
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
2988
+ @media (min-resolution: 192dpi) {
2965
2989
  body.admin-color-light {
2966
2990
  --wp-admin-border-width-focus: 1.5px;
2967
2991
  }
@@ -2976,7 +3000,7 @@ body.admin-color-modern {
2976
3000
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
2977
3001
  --wp-admin-border-width-focus: 2px;
2978
3002
  }
2979
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3003
+ @media (min-resolution: 192dpi) {
2980
3004
  body.admin-color-modern {
2981
3005
  --wp-admin-border-width-focus: 1.5px;
2982
3006
  }
@@ -2991,7 +3015,7 @@ body.admin-color-blue {
2991
3015
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
2992
3016
  --wp-admin-border-width-focus: 2px;
2993
3017
  }
2994
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3018
+ @media (min-resolution: 192dpi) {
2995
3019
  body.admin-color-blue {
2996
3020
  --wp-admin-border-width-focus: 1.5px;
2997
3021
  }
@@ -3006,7 +3030,7 @@ body.admin-color-coffee {
3006
3030
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
3007
3031
  --wp-admin-border-width-focus: 2px;
3008
3032
  }
3009
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3033
+ @media (min-resolution: 192dpi) {
3010
3034
  body.admin-color-coffee {
3011
3035
  --wp-admin-border-width-focus: 1.5px;
3012
3036
  }
@@ -3021,7 +3045,7 @@ body.admin-color-ectoplasm {
3021
3045
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
3022
3046
  --wp-admin-border-width-focus: 2px;
3023
3047
  }
3024
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3048
+ @media (min-resolution: 192dpi) {
3025
3049
  body.admin-color-ectoplasm {
3026
3050
  --wp-admin-border-width-focus: 1.5px;
3027
3051
  }
@@ -3036,7 +3060,7 @@ body.admin-color-midnight {
3036
3060
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
3037
3061
  --wp-admin-border-width-focus: 2px;
3038
3062
  }
3039
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3063
+ @media (min-resolution: 192dpi) {
3040
3064
  body.admin-color-midnight {
3041
3065
  --wp-admin-border-width-focus: 1.5px;
3042
3066
  }
@@ -3051,7 +3075,7 @@ body.admin-color-ocean {
3051
3075
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
3052
3076
  --wp-admin-border-width-focus: 2px;
3053
3077
  }
3054
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3078
+ @media (min-resolution: 192dpi) {
3055
3079
  body.admin-color-ocean {
3056
3080
  --wp-admin-border-width-focus: 1.5px;
3057
3081
  }
@@ -3066,7 +3090,7 @@ body.admin-color-sunrise {
3066
3090
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
3067
3091
  --wp-admin-border-width-focus: 2px;
3068
3092
  }
3069
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3093
+ @media (min-resolution: 192dpi) {
3070
3094
  body.admin-color-sunrise {
3071
3095
  --wp-admin-border-width-focus: 1.5px;
3072
3096
  }