@wordpress/editor 14.33.3 → 14.34.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 (301) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/components/collab-sidebar/comment-author-info.js +26 -14
  3. package/build/components/collab-sidebar/comment-author-info.js.map +2 -2
  4. package/build/components/document-bar/index.js +16 -3
  5. package/build/components/document-bar/index.js.map +2 -2
  6. package/build/components/editor/index.js +23 -4
  7. package/build/components/editor/index.js.map +3 -3
  8. package/build/components/editor-interface/index.js +15 -10
  9. package/build/components/editor-interface/index.js.map +3 -3
  10. package/build/components/entities-saved-states/entity-type-list.js +19 -15
  11. package/build/components/entities-saved-states/entity-type-list.js.map +3 -3
  12. package/build/components/global-styles/block-link.js +70 -0
  13. package/build/components/global-styles/block-link.js.map +7 -0
  14. package/build/components/global-styles/header.js +54 -0
  15. package/build/components/global-styles/header.js.map +7 -0
  16. package/build/components/global-styles/hooks.js +176 -0
  17. package/build/components/global-styles/hooks.js.map +7 -0
  18. package/build/components/global-styles/index.js +138 -0
  19. package/build/components/global-styles/index.js.map +7 -0
  20. package/build/components/global-styles/menu.js +95 -0
  21. package/build/components/global-styles/menu.js.map +7 -0
  22. package/build/components/global-styles-provider/index.js +3 -49
  23. package/build/components/global-styles-provider/index.js.map +3 -3
  24. package/build/components/global-styles-renderer/index.js +55 -0
  25. package/build/components/global-styles-renderer/index.js.map +7 -0
  26. package/build/components/global-styles-sidebar/default-sidebar.js +66 -0
  27. package/build/components/global-styles-sidebar/default-sidebar.js.map +7 -0
  28. package/build/components/global-styles-sidebar/index.js +182 -0
  29. package/build/components/global-styles-sidebar/index.js.map +7 -0
  30. package/build/components/global-styles-sidebar/welcome-guide-image.js +37 -0
  31. package/build/components/global-styles-sidebar/welcome-guide-image.js.map +7 -0
  32. package/build/components/global-styles-sidebar/welcome-guide.js +143 -0
  33. package/build/components/global-styles-sidebar/welcome-guide.js.map +7 -0
  34. package/build/components/header/index.js +12 -9
  35. package/build/components/header/index.js.map +2 -2
  36. package/build/components/post-featured-image/index.js +32 -1
  37. package/build/components/post-featured-image/index.js.map +3 -3
  38. package/build/components/provider/index.js +0 -2
  39. package/build/components/provider/index.js.map +3 -3
  40. package/build/components/style-book/categories.js +86 -0
  41. package/build/components/style-book/categories.js.map +7 -0
  42. package/build/components/style-book/color-examples.js +64 -0
  43. package/build/components/style-book/color-examples.js.map +7 -0
  44. package/build/components/style-book/constants.js +319 -0
  45. package/build/components/style-book/constants.js.map +7 -0
  46. package/build/components/style-book/duotone-examples.js +68 -0
  47. package/build/components/style-book/duotone-examples.js.map +7 -0
  48. package/build/components/style-book/examples.js +237 -0
  49. package/build/components/style-book/examples.js.map +7 -0
  50. package/build/components/style-book/index.js +627 -0
  51. package/build/components/style-book/index.js.map +7 -0
  52. package/build/components/style-book/types.js +17 -0
  53. package/build/components/style-book/types.js.map +7 -0
  54. package/build/components/styles-canvas/index.js +138 -0
  55. package/build/components/styles-canvas/index.js.map +7 -0
  56. package/build/components/styles-canvas/revisions.js +121 -0
  57. package/build/components/styles-canvas/revisions.js.map +7 -0
  58. package/build/components/styles-canvas/style-book.js +68 -0
  59. package/build/components/styles-canvas/style-book.js.map +7 -0
  60. package/build/components/visual-editor/index.js +4 -3
  61. package/build/components/visual-editor/index.js.map +2 -2
  62. package/build/dataviews/fields/content-preview/content-preview-view.js.map +2 -2
  63. package/build/hooks/index.js +1 -0
  64. package/build/hooks/index.js.map +2 -2
  65. package/build/hooks/media-upload.js +15 -4
  66. package/build/hooks/media-upload.js.map +3 -3
  67. package/build/hooks/push-changes-to-global-styles/index.js +322 -0
  68. package/build/hooks/push-changes-to-global-styles/index.js.map +7 -0
  69. package/build/hooks/use-global-styles-output.js +74 -0
  70. package/build/hooks/use-global-styles-output.js.map +7 -0
  71. package/build/private-apis.js +10 -5
  72. package/build/private-apis.js.map +3 -3
  73. package/build/store/private-actions.js +23 -0
  74. package/build/store/private-actions.js.map +2 -2
  75. package/build/store/private-selectors.js +10 -0
  76. package/build/store/private-selectors.js.map +2 -2
  77. package/build/store/reducer.js +24 -0
  78. package/build/store/reducer.js.map +2 -2
  79. package/build/{components/editor-interface/content-slot-fill.js → utils/set-nested-value.js} +24 -10
  80. package/build/utils/set-nested-value.js.map +7 -0
  81. package/build-module/components/collab-sidebar/comment-author-info.js +26 -14
  82. package/build-module/components/collab-sidebar/comment-author-info.js.map +2 -2
  83. package/build-module/components/document-bar/index.js +16 -3
  84. package/build-module/components/document-bar/index.js.map +2 -2
  85. package/build-module/components/editor/index.js +23 -4
  86. package/build-module/components/editor/index.js.map +2 -2
  87. package/build-module/components/editor-interface/index.js +15 -10
  88. package/build-module/components/editor-interface/index.js.map +2 -2
  89. package/build-module/components/entities-saved-states/entity-type-list.js +18 -14
  90. package/build-module/components/entities-saved-states/entity-type-list.js.map +2 -2
  91. package/build-module/components/global-styles/block-link.js +46 -0
  92. package/build-module/components/global-styles/block-link.js.map +7 -0
  93. package/build-module/components/global-styles/header.js +41 -0
  94. package/build-module/components/global-styles/header.js.map +7 -0
  95. package/build-module/components/global-styles/hooks.js +154 -0
  96. package/build-module/components/global-styles/hooks.js.map +7 -0
  97. package/build-module/components/global-styles/index.js +112 -0
  98. package/build-module/components/global-styles/index.js.map +7 -0
  99. package/build-module/components/global-styles/menu.js +71 -0
  100. package/build-module/components/global-styles/menu.js.map +7 -0
  101. package/build-module/components/global-styles-provider/index.js +3 -37
  102. package/build-module/components/global-styles-provider/index.js.map +2 -2
  103. package/build-module/components/global-styles-renderer/index.js +31 -0
  104. package/build-module/components/global-styles-renderer/index.js.map +7 -0
  105. package/build-module/components/global-styles-sidebar/default-sidebar.js +49 -0
  106. package/build-module/components/global-styles-sidebar/default-sidebar.js.map +7 -0
  107. package/build-module/components/global-styles-sidebar/index.js +152 -0
  108. package/build-module/components/global-styles-sidebar/index.js.map +7 -0
  109. package/build-module/components/global-styles-sidebar/welcome-guide-image.js +17 -0
  110. package/build-module/components/global-styles-sidebar/welcome-guide-image.js.map +7 -0
  111. package/build-module/components/global-styles-sidebar/welcome-guide.js +113 -0
  112. package/build-module/components/global-styles-sidebar/welcome-guide.js.map +7 -0
  113. package/build-module/components/header/index.js +12 -9
  114. package/build-module/components/header/index.js.map +2 -2
  115. package/build-module/components/post-featured-image/index.js +35 -3
  116. package/build-module/components/post-featured-image/index.js.map +2 -2
  117. package/build-module/components/provider/index.js +0 -2
  118. package/build-module/components/provider/index.js.map +2 -2
  119. package/build-module/components/style-book/categories.js +64 -0
  120. package/build-module/components/style-book/categories.js.map +7 -0
  121. package/build-module/components/style-book/color-examples.js +37 -0
  122. package/build-module/components/style-book/color-examples.js.map +7 -0
  123. package/build-module/components/style-book/constants.js +290 -0
  124. package/build-module/components/style-book/constants.js.map +7 -0
  125. package/build-module/components/style-book/duotone-examples.js +48 -0
  126. package/build-module/components/style-book/duotone-examples.js.map +7 -0
  127. package/build-module/components/style-book/examples.js +208 -0
  128. package/build-module/components/style-book/examples.js.map +7 -0
  129. package/build-module/components/style-book/index.js +618 -0
  130. package/build-module/components/style-book/index.js.map +7 -0
  131. package/build-module/components/style-book/types.js +1 -0
  132. package/build-module/components/style-book/types.js.map +7 -0
  133. package/build-module/components/styles-canvas/index.js +104 -0
  134. package/build-module/components/styles-canvas/index.js.map +7 -0
  135. package/build-module/components/styles-canvas/revisions.js +107 -0
  136. package/build-module/components/styles-canvas/revisions.js.map +7 -0
  137. package/build-module/components/styles-canvas/style-book.js +38 -0
  138. package/build-module/components/styles-canvas/style-book.js.map +7 -0
  139. package/build-module/components/visual-editor/index.js +4 -3
  140. package/build-module/components/visual-editor/index.js.map +2 -2
  141. package/build-module/dataviews/fields/content-preview/content-preview-view.js.map +2 -2
  142. package/build-module/hooks/index.js +1 -0
  143. package/build-module/hooks/index.js.map +2 -2
  144. package/build-module/hooks/media-upload.js +19 -5
  145. package/build-module/hooks/media-upload.js.map +2 -2
  146. package/build-module/hooks/push-changes-to-global-styles/index.js +309 -0
  147. package/build-module/hooks/push-changes-to-global-styles/index.js.map +7 -0
  148. package/build-module/hooks/use-global-styles-output.js +49 -0
  149. package/build-module/hooks/use-global-styles-output.js.map +7 -0
  150. package/build-module/private-apis.js +10 -8
  151. package/build-module/private-apis.js.map +2 -2
  152. package/build-module/store/private-actions.js +20 -0
  153. package/build-module/store/private-actions.js.map +2 -2
  154. package/build-module/store/private-selectors.js +8 -0
  155. package/build-module/store/private-selectors.js.map +2 -2
  156. package/build-module/store/reducer.js +22 -0
  157. package/build-module/store/reducer.js.map +2 -2
  158. package/build-module/utils/set-nested-value.js +23 -0
  159. package/build-module/utils/set-nested-value.js.map +7 -0
  160. package/build-style/style-rtl.css +3017 -11
  161. package/build-style/style.css +3018 -11
  162. package/build-types/components/collab-sidebar/comment-author-info.d.ts +5 -16
  163. package/build-types/components/collab-sidebar/comment-author-info.d.ts.map +1 -1
  164. package/build-types/components/document-bar/index.d.ts +2 -2
  165. package/build-types/components/document-bar/index.d.ts.map +1 -1
  166. package/build-types/components/editor/index.d.ts.map +1 -1
  167. package/build-types/components/editor-interface/index.d.ts +1 -3
  168. package/build-types/components/editor-interface/index.d.ts.map +1 -1
  169. package/build-types/components/entities-saved-states/entity-type-list.d.ts.map +1 -1
  170. package/build-types/components/global-styles/block-link.d.ts +12 -0
  171. package/build-types/components/global-styles/block-link.d.ts.map +1 -0
  172. package/build-types/components/global-styles/header.d.ts +7 -0
  173. package/build-types/components/global-styles/header.d.ts.map +1 -0
  174. package/build-types/components/global-styles/hooks.d.ts +24 -0
  175. package/build-types/components/global-styles/hooks.d.ts.map +1 -0
  176. package/build-types/components/global-styles/index.d.ts +6 -0
  177. package/build-types/components/global-styles/index.d.ts.map +1 -0
  178. package/build-types/components/global-styles/menu.d.ts +13 -0
  179. package/build-types/components/global-styles/menu.d.ts.map +1 -0
  180. package/build-types/components/global-styles-provider/index.d.ts +1 -5
  181. package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
  182. package/build-types/components/global-styles-renderer/index.d.ts +4 -0
  183. package/build-types/components/global-styles-renderer/index.d.ts.map +1 -0
  184. package/build-types/components/global-styles-sidebar/default-sidebar.d.ts +13 -0
  185. package/build-types/components/global-styles-sidebar/default-sidebar.d.ts.map +1 -0
  186. package/build-types/components/global-styles-sidebar/index.d.ts +2 -0
  187. package/build-types/components/global-styles-sidebar/index.d.ts.map +1 -0
  188. package/build-types/components/global-styles-sidebar/welcome-guide-image.d.ts +5 -0
  189. package/build-types/components/global-styles-sidebar/welcome-guide-image.d.ts.map +1 -0
  190. package/build-types/components/global-styles-sidebar/welcome-guide.d.ts +2 -0
  191. package/build-types/components/global-styles-sidebar/welcome-guide.d.ts.map +1 -0
  192. package/build-types/components/header/index.d.ts +1 -3
  193. package/build-types/components/header/index.d.ts.map +1 -1
  194. package/build-types/components/provider/index.d.ts.map +1 -1
  195. package/build-types/components/style-book/categories.d.ts +18 -0
  196. package/build-types/components/style-book/categories.d.ts.map +1 -0
  197. package/build-types/components/style-book/color-examples.d.ts +7 -0
  198. package/build-types/components/style-book/color-examples.d.ts.map +1 -0
  199. package/build-types/components/style-book/constants.d.ts +11 -0
  200. package/build-types/components/style-book/constants.d.ts.map +1 -0
  201. package/build-types/components/style-book/duotone-examples.d.ts +9 -0
  202. package/build-types/components/style-book/duotone-examples.d.ts.map +1 -0
  203. package/build-types/components/style-book/examples.d.ts +12 -0
  204. package/build-types/components/style-book/examples.d.ts.map +1 -0
  205. package/build-types/components/style-book/index.d.ts +31 -0
  206. package/build-types/components/style-book/index.d.ts.map +1 -0
  207. package/build-types/components/style-book/types.d.ts +72 -0
  208. package/build-types/components/style-book/types.d.ts.map +1 -0
  209. package/build-types/components/styles-canvas/index.d.ts +16 -0
  210. package/build-types/components/styles-canvas/index.d.ts.map +1 -0
  211. package/build-types/components/styles-canvas/revisions.d.ts +5 -0
  212. package/build-types/components/styles-canvas/revisions.d.ts.map +1 -0
  213. package/build-types/components/styles-canvas/style-book.d.ts +6 -0
  214. package/build-types/components/styles-canvas/style-book.d.ts.map +1 -0
  215. package/build-types/components/visual-editor/index.d.ts +1 -2
  216. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  217. package/build-types/dataviews/fields/content-preview/content-preview-view.d.ts.map +1 -1
  218. package/build-types/hooks/push-changes-to-global-styles/index.d.ts +2 -0
  219. package/build-types/hooks/push-changes-to-global-styles/index.d.ts.map +1 -0
  220. package/build-types/hooks/use-global-styles-output.d.ts +18 -0
  221. package/build-types/hooks/use-global-styles-output.d.ts.map +1 -0
  222. package/build-types/private-apis.d.ts.map +1 -1
  223. package/build-types/store/private-actions.d.ts +20 -0
  224. package/build-types/store/private-actions.d.ts.map +1 -1
  225. package/build-types/store/private-selectors.d.ts +14 -0
  226. package/build-types/store/private-selectors.d.ts.map +1 -1
  227. package/build-types/store/reducer.d.ts +20 -0
  228. package/build-types/store/reducer.d.ts.map +1 -1
  229. package/build-types/utils/set-nested-value.d.ts +20 -0
  230. package/build-types/utils/set-nested-value.d.ts.map +1 -0
  231. package/package.json +40 -40
  232. package/src/components/collab-sidebar/comment-author-info.js +32 -25
  233. package/src/components/collab-sidebar/style.scss +1 -1
  234. package/src/components/document-bar/index.js +18 -3
  235. package/src/components/editor/index.js +25 -1
  236. package/src/components/editor-help/style.scss +1 -1
  237. package/src/components/editor-interface/index.js +40 -39
  238. package/src/components/entities-saved-states/entity-type-list.js +19 -17
  239. package/src/components/global-styles/block-link.js +65 -0
  240. package/src/components/global-styles/header.js +48 -0
  241. package/src/components/global-styles/hooks.js +216 -0
  242. package/src/components/global-styles/index.js +125 -0
  243. package/src/components/global-styles/menu.js +101 -0
  244. package/src/components/global-styles/style.scss +11 -0
  245. package/src/components/global-styles-provider/index.js +3 -45
  246. package/src/components/global-styles-renderer/index.js +39 -0
  247. package/src/components/global-styles-sidebar/default-sidebar.js +46 -0
  248. package/src/components/global-styles-sidebar/index.js +177 -0
  249. package/src/components/global-styles-sidebar/style.scss +119 -0
  250. package/src/components/global-styles-sidebar/welcome-guide-image.js +11 -0
  251. package/src/components/global-styles-sidebar/welcome-guide.js +136 -0
  252. package/src/components/header/index.js +11 -6
  253. package/src/components/post-featured-image/index.js +44 -1
  254. package/src/components/post-last-revision/style.scss +1 -1
  255. package/src/components/post-panel-row/style.scss +1 -0
  256. package/src/components/post-publish-panel/style.scss +1 -1
  257. package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +2 -2
  258. package/src/components/provider/index.js +0 -2
  259. package/src/components/style-book/categories.ts +97 -0
  260. package/src/components/style-book/color-examples.tsx +56 -0
  261. package/src/components/style-book/constants.ts +308 -0
  262. package/src/components/style-book/duotone-examples.tsx +56 -0
  263. package/src/components/style-book/examples.tsx +273 -0
  264. package/src/components/style-book/index.js +794 -0
  265. package/src/components/style-book/style.scss +44 -0
  266. package/src/components/style-book/test/categories.js +166 -0
  267. package/src/components/style-book/types.ts +80 -0
  268. package/src/components/styles-canvas/index.js +126 -0
  269. package/src/components/styles-canvas/revisions.js +144 -0
  270. package/src/components/styles-canvas/style-book.js +57 -0
  271. package/src/components/styles-canvas/style.scss +40 -0
  272. package/src/components/visual-editor/index.js +2 -1
  273. package/src/dataviews/fields/content-preview/content-preview-view.tsx +2 -0
  274. package/src/hooks/index.js +1 -0
  275. package/src/hooks/media-upload.js +25 -5
  276. package/src/hooks/push-changes-to-global-styles/index.js +391 -0
  277. package/src/hooks/push-changes-to-global-styles/style.scss +4 -0
  278. package/src/hooks/use-global-styles-output.js +76 -0
  279. package/src/private-apis.js +10 -8
  280. package/src/store/private-actions.js +37 -0
  281. package/src/store/private-selectors.js +20 -0
  282. package/src/store/reducer.js +36 -0
  283. package/src/style.scss +7 -1
  284. package/src/utils/set-nested-value.js +39 -0
  285. package/tsconfig.json +3 -0
  286. package/tsconfig.tsbuildinfo +1 -1
  287. package/build/components/block-settings-menu/content-only-settings-menu.js +0 -186
  288. package/build/components/block-settings-menu/content-only-settings-menu.js.map +0 -7
  289. package/build/components/editor-interface/content-slot-fill.js.map +0 -7
  290. package/build-module/components/block-settings-menu/content-only-settings-menu.js +0 -161
  291. package/build-module/components/block-settings-menu/content-only-settings-menu.js.map +0 -7
  292. package/build-module/components/editor-interface/content-slot-fill.js +0 -9
  293. package/build-module/components/editor-interface/content-slot-fill.js.map +0 -7
  294. package/build-types/components/block-settings-menu/content-only-settings-menu.d.ts +0 -2
  295. package/build-types/components/block-settings-menu/content-only-settings-menu.d.ts.map +0 -1
  296. package/build-types/components/editor-interface/content-slot-fill.d.ts +0 -14
  297. package/build-types/components/editor-interface/content-slot-fill.d.ts.map +0 -1
  298. package/src/components/block-settings-menu/content-only-settings-menu.js +0 -185
  299. package/src/components/block-settings-menu/content-only-settings-menu.native.js +0 -4
  300. package/src/components/block-settings-menu/style.scss +0 -6
  301. package/src/components/editor-interface/content-slot-fill.js +0 -10
@@ -391,7 +391,7 @@
391
391
 
392
392
  .interface-complementary-area h2 {
393
393
  font-size: 13px;
394
- font-weight: 500;
394
+ font-weight: 499;
395
395
  color: #1e1e1e;
396
396
  margin-bottom: 1.5em;
397
397
  }
@@ -399,7 +399,7 @@
399
399
  .interface-complementary-area h3 {
400
400
  font-size: 11px;
401
401
  text-transform: uppercase;
402
- font-weight: 500;
402
+ font-weight: 499;
403
403
  color: #1e1e1e;
404
404
  margin-bottom: 1.5em;
405
405
  }
@@ -686,6 +686,2829 @@ body.is-fullscreen-mode .interface-interface-skeleton {
686
686
  gap: 8px;
687
687
  }
688
688
 
689
+ /**
690
+ * SCSS Variables.
691
+ *
692
+ * Please use variables from this sheet to ensure consistency across the UI.
693
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
694
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
695
+ */
696
+ /**
697
+ * Colors
698
+ */
699
+ /**
700
+ * Fonts & basic variables.
701
+ */
702
+ /**
703
+ * Typography
704
+ */
705
+ /**
706
+ * Grid System.
707
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
708
+ */
709
+ /**
710
+ * Radius scale.
711
+ */
712
+ /**
713
+ * Elevation scale.
714
+ */
715
+ /**
716
+ * Dimensions.
717
+ */
718
+ /**
719
+ * Mobile specific styles
720
+ */
721
+ /**
722
+ * Editor styles.
723
+ */
724
+ /**
725
+ * Block & Editor UI.
726
+ */
727
+ /**
728
+ * Block paddings.
729
+ */
730
+ /**
731
+ * React Native specific.
732
+ * These variables do not appear to be used anywhere else.
733
+ */
734
+ /**
735
+ * Typography
736
+ */
737
+ /**
738
+ * Breakpoints & Media Queries
739
+ */
740
+ /**
741
+ * Converts a hex value into the rgb equivalent.
742
+ *
743
+ * @param {string} hex - the hexadecimal value to convert
744
+ * @return {string} comma separated rgb values
745
+ */
746
+ /**
747
+ * Long content fade mixin
748
+ *
749
+ * Creates a fading overlay to signify that the content is longer
750
+ * than the space allows.
751
+ */
752
+ /**
753
+ * Breakpoint mixins
754
+ */
755
+ /**
756
+ * Focus styles.
757
+ */
758
+ /**
759
+ * Applies editor left position to the selector passed as argument
760
+ */
761
+ /**
762
+ * Styles that are reused verbatim in a few places
763
+ */
764
+ /**
765
+ * Allows users to opt-out of animations via OS-level preferences.
766
+ */
767
+ /**
768
+ * Reset default styles for JavaScript UI based pages.
769
+ * This is a WP-admin agnostic reset
770
+ */
771
+ /**
772
+ * Reset the WP Admin page styles for Gutenberg-like pages.
773
+ */
774
+ @media (min-width: 782px) {
775
+ .font-library-modal.font-library-modal {
776
+ width: 65vw;
777
+ }
778
+ }
779
+ .font-library-modal .components-modal__header {
780
+ border-bottom: none;
781
+ }
782
+
783
+ .font-library-modal .components-modal__content {
784
+ padding-top: 0;
785
+ margin-bottom: 70px;
786
+ }
787
+
788
+ .font-library-modal .font-library-modal__subtitle {
789
+ text-transform: uppercase;
790
+ font-weight: 499;
791
+ font-size: 11px;
792
+ }
793
+
794
+ .font-library-modal .components-navigator-screen {
795
+ padding: 3px;
796
+ }
797
+
798
+ .font-library-modal__tabpanel-layout {
799
+ margin-top: 32px;
800
+ }
801
+
802
+ .font-library-modal__tabpanel-layout .font-library-modal__loading {
803
+ width: 100%;
804
+ height: 100%;
805
+ display: flex;
806
+ position: absolute;
807
+ right: 0;
808
+ top: 0;
809
+ align-items: center;
810
+ justify-content: center;
811
+ padding-top: 124px;
812
+ }
813
+
814
+ .font-library-modal__footer {
815
+ border-top: 1px solid #ddd;
816
+ margin: 0 -32px -32px;
817
+ padding: 16px 32px;
818
+ position: absolute;
819
+ bottom: 32px;
820
+ width: 100%;
821
+ height: 70px;
822
+ background-color: #fff;
823
+ }
824
+
825
+ .font-library-modal__category-select {
826
+ min-width: 40%;
827
+ }
828
+
829
+ .font-library-modal__page-selection {
830
+ font-size: 11px;
831
+ font-weight: 499;
832
+ text-transform: uppercase;
833
+ }
834
+
835
+ @media (min-width: 600px) {
836
+ .font-library-modal__page-selection .font-library-modal__page-selection-trigger {
837
+ font-size: 11px !important;
838
+ font-weight: 499;
839
+ }
840
+ }
841
+ .font-library-modal__fonts-title {
842
+ text-transform: uppercase;
843
+ font-size: 11px;
844
+ font-weight: 600;
845
+ margin-top: 0;
846
+ margin-bottom: 0;
847
+ }
848
+
849
+ .font-library-modal__fonts-list {
850
+ list-style: none;
851
+ padding: 0;
852
+ margin-top: 0;
853
+ margin-bottom: 0;
854
+ }
855
+
856
+ .font-library-modal__fonts-list-item {
857
+ margin-bottom: 0;
858
+ }
859
+
860
+ .font-library-modal__font-card {
861
+ border: 1px solid #ddd;
862
+ width: 100%;
863
+ height: auto !important;
864
+ padding: 16px;
865
+ margin-top: -1px; /* To collapse the margin with the previous element */
866
+ background-color: #f0f0f0;
867
+ }
868
+
869
+ .font-library-modal__font-card:hover {
870
+ background-color: #f0f0f0;
871
+ }
872
+
873
+ .font-library-modal__font-card .font-library-modal__font-card__name {
874
+ font-weight: bold;
875
+ }
876
+
877
+ .font-library-modal__font-card .font-library-modal__font-card__count {
878
+ color: #757575;
879
+ }
880
+
881
+ .font-library-modal__font-card .font-library-modal__font-variant_demo-image {
882
+ display: block;
883
+ height: 24px;
884
+ width: auto;
885
+ }
886
+
887
+ .font-library-modal__font-card .font-library-modal__font-variant_demo-text {
888
+ white-space: nowrap;
889
+ flex-shrink: 0;
890
+ }
891
+
892
+ @media not (prefers-reduced-motion) {
893
+ .font-library-modal__font-card .font-library-modal__font-variant_demo-text {
894
+ transition: opacity 0.3s ease-in-out;
895
+ }
896
+ }
897
+ .font-library-modal__tablist-container {
898
+ position: sticky;
899
+ top: 0;
900
+ border-bottom: 1px solid #ddd;
901
+ background: #fff;
902
+ margin: 0 -32px;
903
+ padding: 0 16px;
904
+ z-index: 1;
905
+ }
906
+
907
+ .font-library-modal__tablist-container [role=tablist] {
908
+ margin-bottom: -1px;
909
+ }
910
+
911
+ .font-library-modal__upload-area {
912
+ align-items: center;
913
+ display: flex;
914
+ justify-content: center;
915
+ height: 256px !important;
916
+ width: 100%;
917
+ }
918
+
919
+ button.font-library-modal__upload-area {
920
+ background-color: #f0f0f0;
921
+ }
922
+
923
+ .font-library-modal__local-fonts {
924
+ margin: 0 auto;
925
+ width: 80%;
926
+ }
927
+
928
+ .font-library-modal__local-fonts .font-library-modal__upload-area__text {
929
+ color: #757575;
930
+ }
931
+
932
+ .font-library__google-fonts-confirm {
933
+ display: flex;
934
+ justify-content: center;
935
+ align-items: center;
936
+ margin-top: 64px;
937
+ }
938
+
939
+ .font-library__google-fonts-confirm p {
940
+ line-height: 1.4;
941
+ }
942
+
943
+ .font-library__google-fonts-confirm h2 {
944
+ font-size: 1.2rem;
945
+ font-weight: 400;
946
+ }
947
+
948
+ .font-library__google-fonts-confirm .components-card {
949
+ padding: 16px;
950
+ width: 400px;
951
+ }
952
+
953
+ .font-library__google-fonts-confirm .components-button {
954
+ width: 100%;
955
+ justify-content: center;
956
+ }
957
+
958
+ .font-library-modal__select-all {
959
+ padding: 16px 17px 16px 16px;
960
+ }
961
+
962
+ .font-library-modal__select-all .components-checkbox-control__label {
963
+ padding-right: 16px;
964
+ }
965
+
966
+ .global-styles-ui-pagination .components-button.is-tertiary {
967
+ width: 32px;
968
+ height: 32px;
969
+ justify-content: center;
970
+ }
971
+
972
+ .global-styles-ui-screen-revisions__revisions-list {
973
+ list-style: none;
974
+ margin: 0 16px 16px 16px;
975
+ flex-grow: 1;
976
+ }
977
+
978
+ .global-styles-ui-screen-revisions__revisions-list li {
979
+ margin-bottom: 0;
980
+ }
981
+
982
+ .global-styles-ui-screen-revisions__revision-item {
983
+ position: relative;
984
+ cursor: pointer;
985
+ display: flex;
986
+ flex-direction: column;
987
+ }
988
+
989
+ .global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
990
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
991
+ outline: 2px solid transparent;
992
+ }
993
+
994
+ .global-styles-ui-screen-revisions__revision-item:hover {
995
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
996
+ }
997
+
998
+ .global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
999
+ color: var(--wp-admin-theme-color);
1000
+ }
1001
+
1002
+ .global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
1003
+ position: absolute;
1004
+ content: "\a";
1005
+ display: block;
1006
+ }
1007
+
1008
+ .global-styles-ui-screen-revisions__revision-item::before {
1009
+ background: #ddd;
1010
+ border-radius: 50%;
1011
+ height: 8px;
1012
+ width: 8px;
1013
+ top: 18px;
1014
+ right: 17px;
1015
+ transform: translate(50%, -50%);
1016
+ z-index: 1;
1017
+ border: 4px solid transparent;
1018
+ }
1019
+
1020
+ .global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
1021
+ border-radius: 2px;
1022
+ outline: 3px solid transparent;
1023
+ outline-offset: -2px;
1024
+ color: var(--wp-admin-theme-color);
1025
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
1026
+ }
1027
+
1028
+ .global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
1029
+ color: var(--wp-admin-theme-color);
1030
+ }
1031
+
1032
+ .global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
1033
+ background: var(--wp-admin-theme-color);
1034
+ }
1035
+
1036
+ .global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
1037
+ .global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta,
1038
+ .global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__applied-text {
1039
+ color: #1e1e1e;
1040
+ }
1041
+
1042
+ .global-styles-ui-screen-revisions__revision-item::after {
1043
+ height: 100%;
1044
+ right: 16px;
1045
+ top: 0;
1046
+ width: 0;
1047
+ border: 0.5px solid #ddd;
1048
+ }
1049
+
1050
+ .global-styles-ui-screen-revisions__revision-item:first-child::after {
1051
+ top: 18px;
1052
+ }
1053
+
1054
+ .global-styles-ui-screen-revisions__revision-item:last-child::after {
1055
+ height: 18px;
1056
+ }
1057
+
1058
+ .global-styles-ui-screen-revisions__revision-item-wrapper {
1059
+ display: block;
1060
+ padding: 12px 40px 4px 12px;
1061
+ }
1062
+
1063
+ .global-styles-ui-screen-revisions__apply-button.is-primary,
1064
+ .global-styles-ui-screen-revisions__applied-text {
1065
+ align-self: flex-start;
1066
+ margin: 4px 40px 12px 12px;
1067
+ }
1068
+
1069
+ .global-styles-ui-screen-revisions__changes,
1070
+ .global-styles-ui-screen-revisions__meta,
1071
+ .global-styles-ui-screen-revisions__applied-text {
1072
+ color: #757575;
1073
+ font-size: 12px;
1074
+ }
1075
+
1076
+ .global-styles-ui-screen-revisions__description {
1077
+ display: flex;
1078
+ flex-direction: column;
1079
+ align-items: flex-start;
1080
+ gap: 8px;
1081
+ }
1082
+
1083
+ .global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
1084
+ text-transform: uppercase;
1085
+ font-weight: 600;
1086
+ font-size: 12px;
1087
+ }
1088
+
1089
+ .global-styles-ui-screen-revisions__meta {
1090
+ display: flex;
1091
+ justify-content: start;
1092
+ width: 100%;
1093
+ align-items: flex-start;
1094
+ text-align: right;
1095
+ margin-bottom: 4px;
1096
+ }
1097
+
1098
+ .global-styles-ui-screen-revisions__meta img {
1099
+ width: 16px;
1100
+ height: 16px;
1101
+ border-radius: 100%;
1102
+ margin-left: 8px;
1103
+ }
1104
+
1105
+ .global-styles-ui-screen-revisions__loading {
1106
+ margin: 24px auto !important;
1107
+ }
1108
+
1109
+ .global-styles-ui-screen-revisions__changes {
1110
+ text-align: right;
1111
+ line-height: 1.4;
1112
+ margin-right: 12px;
1113
+ list-style: disc;
1114
+ }
1115
+
1116
+ .global-styles-ui-screen-revisions__changes li {
1117
+ margin-bottom: 4px;
1118
+ }
1119
+
1120
+ .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
1121
+ justify-content: space-between;
1122
+ gap: 2px;
1123
+ }
1124
+
1125
+ .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
1126
+ position: absolute;
1127
+ right: -1000px;
1128
+ height: 1px;
1129
+ margin: -1px;
1130
+ overflow: hidden;
1131
+ }
1132
+
1133
+ .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
1134
+ font-size: 12px;
1135
+ will-change: opacity;
1136
+ }
1137
+
1138
+ .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
1139
+ color: #1e1e1e;
1140
+ }
1141
+
1142
+ .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
1143
+ .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
1144
+ color: #949494;
1145
+ }
1146
+
1147
+ .global-styles-ui-screen-revisions__footer {
1148
+ height: 56px;
1149
+ z-index: 1;
1150
+ position: sticky;
1151
+ min-width: 100%;
1152
+ bottom: 0;
1153
+ background: #fff;
1154
+ padding: 12px;
1155
+ border-top: 1px solid #ddd;
1156
+ }
1157
+
1158
+ .global-styles-ui-variations_item {
1159
+ box-sizing: border-box;
1160
+ cursor: pointer;
1161
+ }
1162
+
1163
+ .global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
1164
+ border-radius: 2px;
1165
+ outline: 1px solid rgba(0, 0, 0, 0.1);
1166
+ outline-offset: -1px;
1167
+ overflow: hidden;
1168
+ position: relative;
1169
+ }
1170
+
1171
+ @media not (prefers-reduced-motion) {
1172
+ .global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
1173
+ transition: outline 0.1s linear;
1174
+ }
1175
+ }
1176
+ .global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill {
1177
+ height: 32px;
1178
+ }
1179
+
1180
+ .global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill .block-editor-iframe__scale-container {
1181
+ overflow: hidden;
1182
+ }
1183
+
1184
+ .global-styles-ui-variations_item:not(.is-active):hover .global-styles-ui-variations_item-preview {
1185
+ outline-color: rgba(0, 0, 0, 0.3);
1186
+ }
1187
+
1188
+ .global-styles-ui-variations_item.is-active .global-styles-ui-variations_item-preview, .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
1189
+ outline-color: #1e1e1e;
1190
+ outline-offset: 1px;
1191
+ outline-width: var(--wp-admin-border-width-focus);
1192
+ }
1193
+
1194
+ .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
1195
+ outline-color: var(--wp-admin-theme-color);
1196
+ }
1197
+
1198
+ .global-styles-ui-preview {
1199
+ display: flex;
1200
+ align-items: center;
1201
+ justify-content: center;
1202
+ line-height: 1;
1203
+ cursor: pointer;
1204
+ }
1205
+
1206
+ .global-styles-ui-preview__wrapper {
1207
+ max-width: 100%;
1208
+ display: block;
1209
+ width: 100%;
1210
+ }
1211
+
1212
+ .global-styles-ui-typography-preview {
1213
+ display: flex;
1214
+ align-items: center;
1215
+ justify-content: center;
1216
+ min-height: 100px;
1217
+ margin-bottom: 20px;
1218
+ background: #f0f0f0;
1219
+ border-radius: 2px;
1220
+ overflow: hidden;
1221
+ }
1222
+
1223
+ .global-styles-ui-font-size__item {
1224
+ white-space: nowrap;
1225
+ text-overflow: ellipsis;
1226
+ overflow: hidden;
1227
+ line-break: anywhere;
1228
+ }
1229
+
1230
+ .global-styles-ui-font-size__item-value {
1231
+ color: #757575;
1232
+ }
1233
+
1234
+ .global-styles-ui-screen {
1235
+ margin: 12px 16px 16px;
1236
+ }
1237
+
1238
+ .global-styles-ui-screen-typography__indicator {
1239
+ height: 24px;
1240
+ width: 24px;
1241
+ font-size: 14px;
1242
+ display: flex !important;
1243
+ align-items: center;
1244
+ justify-content: center;
1245
+ border-radius: 2px;
1246
+ }
1247
+
1248
+ .global-styles-ui-block-types-search {
1249
+ margin-bottom: 10px;
1250
+ padding: 0 20px;
1251
+ }
1252
+
1253
+ .global-styles-ui-screen-typography__font-variants-count {
1254
+ color: #757575;
1255
+ }
1256
+
1257
+ .global-styles-ui-font-families__manage-fonts {
1258
+ justify-content: center;
1259
+ }
1260
+
1261
+ .global-styles-ui-screen .color-block-support-panel {
1262
+ padding-right: 0;
1263
+ padding-left: 0;
1264
+ padding-top: 0;
1265
+ border-top: none;
1266
+ row-gap: 12px;
1267
+ }
1268
+
1269
+ .global-styles-ui-header__description {
1270
+ padding: 0 16px;
1271
+ }
1272
+
1273
+ .global-styles-ui-header {
1274
+ margin-bottom: 0 !important;
1275
+ }
1276
+
1277
+ .global-styles-ui-subtitle {
1278
+ margin-bottom: 0 !important;
1279
+ text-transform: uppercase;
1280
+ font-weight: 499 !important;
1281
+ font-size: 11px !important;
1282
+ }
1283
+
1284
+ .global-styles-ui-section-title {
1285
+ color: #2f2f2f;
1286
+ font-weight: 600;
1287
+ line-height: 1.2;
1288
+ padding: 16px 16px 0;
1289
+ margin: 0;
1290
+ }
1291
+
1292
+ .global-styles-ui-icon-with-current-color {
1293
+ fill: currentColor;
1294
+ }
1295
+
1296
+ .global-styles-ui__color-indicator-wrapper {
1297
+ height: 24px;
1298
+ flex-shrink: 0;
1299
+ }
1300
+
1301
+ .global-styles-ui__shadows-panel__options-container,
1302
+ .global-styles-ui__typography-panel__options-container {
1303
+ height: 24px;
1304
+ }
1305
+
1306
+ .global-styles-ui__block-preview-panel {
1307
+ position: relative;
1308
+ width: 100%;
1309
+ border: #ddd 1px solid;
1310
+ border-radius: 2px;
1311
+ overflow: hidden;
1312
+ }
1313
+
1314
+ .global-styles-ui__shadow-preview-panel {
1315
+ height: 144px;
1316
+ border: #ddd 1px solid;
1317
+ border-radius: 2px;
1318
+ overflow: auto;
1319
+ background-image: repeating-linear-gradient(-45deg, #f5f5f5 25%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 75%, #f5f5f5 0, #f5f5f5), repeating-linear-gradient(-45deg, #f5f5f5 25%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 75%, #f5f5f5 0, #f5f5f5);
1320
+ background-position: 100% 0, right 8px top 8px;
1321
+ background-size: 16px 16px;
1322
+ }
1323
+
1324
+ .global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
1325
+ border: #ddd 1px solid;
1326
+ border-radius: 2px;
1327
+ background-color: #fff;
1328
+ width: 60%;
1329
+ height: 60px;
1330
+ }
1331
+
1332
+ .global-styles-ui__shadow-editor__dropdown-content {
1333
+ width: 280px;
1334
+ }
1335
+
1336
+ .global-styles-ui__shadow-editor-panel {
1337
+ margin-bottom: 4px;
1338
+ }
1339
+
1340
+ .global-styles-ui__shadow-editor__dropdown {
1341
+ width: 100%;
1342
+ position: relative;
1343
+ }
1344
+
1345
+ .global-styles-ui__shadow-editor__dropdown-toggle {
1346
+ width: 100%;
1347
+ height: auto;
1348
+ padding-top: 8px;
1349
+ padding-bottom: 8px;
1350
+ text-align: right;
1351
+ border-radius: inherit;
1352
+ }
1353
+
1354
+ .global-styles-ui__shadow-editor__dropdown-toggle.is-open {
1355
+ background: #f0f0f0;
1356
+ color: var(--wp-admin-theme-color);
1357
+ }
1358
+
1359
+ .global-styles-ui__shadow-editor__remove-button {
1360
+ position: absolute;
1361
+ left: 8px;
1362
+ top: 8px;
1363
+ opacity: 0;
1364
+ }
1365
+
1366
+ .global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
1367
+ border: none;
1368
+ }
1369
+
1370
+ .global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
1371
+ opacity: 1;
1372
+ }
1373
+
1374
+ @media (hover: none) {
1375
+ .global-styles-ui__shadow-editor__remove-button {
1376
+ opacity: 1;
1377
+ }
1378
+ }
1379
+ .global-styles-ui-screen-css {
1380
+ flex: 1 1 auto;
1381
+ display: flex;
1382
+ flex-direction: column;
1383
+ margin: 16px;
1384
+ }
1385
+
1386
+ .global-styles-ui-screen-css .components-v-stack {
1387
+ flex: 1 1 auto;
1388
+ }
1389
+
1390
+ .global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
1391
+ flex: 1 1 auto;
1392
+ display: flex;
1393
+ flex-direction: column;
1394
+ }
1395
+
1396
+ .global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1397
+ flex: 1 1 auto;
1398
+ display: flex;
1399
+ flex-direction: column;
1400
+ }
1401
+
1402
+ .global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input {
1403
+ flex: 1 1 auto;
1404
+ direction: ltr;
1405
+ }
1406
+
1407
+ .global-styles-ui-screen-css-help-link {
1408
+ display: inline-block;
1409
+ margin-top: 8px;
1410
+ }
1411
+
1412
+ .global-styles-ui-screen-variations {
1413
+ margin-top: 16px;
1414
+ border-top: 1px solid #ddd;
1415
+ }
1416
+
1417
+ .global-styles-ui-screen-variations > * {
1418
+ margin: 24px 16px;
1419
+ }
1420
+
1421
+ .global-styles-ui-sidebar__navigator-provider {
1422
+ height: 100%;
1423
+ }
1424
+
1425
+ .global-styles-ui-sidebar__navigator-screen {
1426
+ display: flex;
1427
+ flex-direction: column;
1428
+ height: 100%;
1429
+ }
1430
+
1431
+ .global-styles-ui-sidebar__navigator-screen .single-column {
1432
+ grid-column: span 1;
1433
+ }
1434
+
1435
+ .global-styles-ui-screen-root.global-styles-ui-screen-root,
1436
+ .global-styles-ui-screen-style-variations.global-styles-ui-screen-style-variations {
1437
+ background: unset;
1438
+ color: inherit;
1439
+ }
1440
+
1441
+ .global-styles-ui-sidebar__panel .block-editor-block-icon svg {
1442
+ fill: currentColor;
1443
+ }
1444
+
1445
+ .global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile, .global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile .global-styles-ui-screen-root__active-style-tile-preview {
1446
+ border-radius: 2px;
1447
+ }
1448
+
1449
+ .global-styles-ui-color-palette-panel,
1450
+ .global-styles-ui-gradient-palette-panel {
1451
+ padding: 16px;
1452
+ }
1453
+
1454
+ .components-navigator-screen {
1455
+ padding: 12px;
1456
+ }
1457
+
1458
+ /**
1459
+ * Colors
1460
+ */
1461
+ /**
1462
+ * SCSS Variables.
1463
+ *
1464
+ * Please use variables from this sheet to ensure consistency across the UI.
1465
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
1466
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
1467
+ */
1468
+ /**
1469
+ * Fonts & basic variables.
1470
+ */
1471
+ /**
1472
+ * Typography
1473
+ */
1474
+ /**
1475
+ * Grid System.
1476
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
1477
+ */
1478
+ /**
1479
+ * Radius scale.
1480
+ */
1481
+ /**
1482
+ * Elevation scale.
1483
+ */
1484
+ /**
1485
+ * Dimensions.
1486
+ */
1487
+ /**
1488
+ * Mobile specific styles
1489
+ */
1490
+ /**
1491
+ * Editor styles.
1492
+ */
1493
+ /**
1494
+ * Block & Editor UI.
1495
+ */
1496
+ /**
1497
+ * Block paddings.
1498
+ */
1499
+ /**
1500
+ * React Native specific.
1501
+ * These variables do not appear to be used anywhere else.
1502
+ */
1503
+ /**
1504
+ * Typography
1505
+ */
1506
+ /**
1507
+ * Breakpoints & Media Queries
1508
+ */
1509
+ /**
1510
+ * Converts a hex value into the rgb equivalent.
1511
+ *
1512
+ * @param {string} hex - the hexadecimal value to convert
1513
+ * @return {string} comma separated rgb values
1514
+ */
1515
+ /**
1516
+ * Long content fade mixin
1517
+ *
1518
+ * Creates a fading overlay to signify that the content is longer
1519
+ * than the space allows.
1520
+ */
1521
+ /**
1522
+ * Breakpoint mixins
1523
+ */
1524
+ /**
1525
+ * Focus styles.
1526
+ */
1527
+ /**
1528
+ * Applies editor left position to the selector passed as argument
1529
+ */
1530
+ /**
1531
+ * Styles that are reused verbatim in a few places
1532
+ */
1533
+ /**
1534
+ * Allows users to opt-out of animations via OS-level preferences.
1535
+ */
1536
+ /**
1537
+ * Reset default styles for JavaScript UI based pages.
1538
+ * This is a WP-admin agnostic reset
1539
+ */
1540
+ /**
1541
+ * Reset the WP Admin page styles for Gutenberg-like pages.
1542
+ */
1543
+ .dataviews-wrapper,
1544
+ .dataviews-picker-wrapper {
1545
+ height: 100%;
1546
+ overflow: auto;
1547
+ box-sizing: border-box;
1548
+ scroll-padding-bottom: 64px;
1549
+ /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
1550
+ container: dataviews-wrapper/inline-size;
1551
+ display: flex;
1552
+ flex-direction: column;
1553
+ font-size: 13px;
1554
+ line-height: 1.4;
1555
+ }
1556
+
1557
+ .dataviews__view-actions,
1558
+ .dataviews-filters__container {
1559
+ box-sizing: border-box;
1560
+ padding: 16px 48px;
1561
+ flex-shrink: 0;
1562
+ position: sticky;
1563
+ right: 0;
1564
+ }
1565
+
1566
+ @media not (prefers-reduced-motion) {
1567
+ .dataviews__view-actions,
1568
+ .dataviews-filters__container {
1569
+ transition: padding ease-out 0.1s;
1570
+ }
1571
+ }
1572
+ .dataviews-no-results,
1573
+ .dataviews-loading {
1574
+ padding: 0 48px;
1575
+ flex-grow: 1;
1576
+ display: flex;
1577
+ align-items: center;
1578
+ justify-content: center;
1579
+ }
1580
+
1581
+ @media not (prefers-reduced-motion) {
1582
+ .dataviews-no-results,
1583
+ .dataviews-loading {
1584
+ transition: padding ease-out 0.1s;
1585
+ }
1586
+ }
1587
+ .dataviews-loading-more {
1588
+ text-align: center;
1589
+ }
1590
+
1591
+ @container (max-width: 430px) {
1592
+ .dataviews__view-actions,
1593
+ .dataviews-filters__container {
1594
+ padding: 12px 24px;
1595
+ }
1596
+ .dataviews-no-results,
1597
+ .dataviews-loading {
1598
+ padding-right: 24px;
1599
+ padding-left: 24px;
1600
+ }
1601
+ }
1602
+ .dataviews-title-field {
1603
+ font-size: 13px;
1604
+ font-weight: 499;
1605
+ color: #2f2f2f;
1606
+ text-overflow: ellipsis;
1607
+ white-space: nowrap;
1608
+ width: 100%;
1609
+ }
1610
+
1611
+ .dataviews-title-field a {
1612
+ text-decoration: none;
1613
+ text-overflow: ellipsis;
1614
+ white-space: nowrap;
1615
+ overflow: hidden;
1616
+ display: block;
1617
+ flex-grow: 0;
1618
+ color: #2f2f2f;
1619
+ }
1620
+
1621
+ .dataviews-title-field a:hover {
1622
+ color: var(--wp-admin-theme-color);
1623
+ }
1624
+
1625
+ .dataviews-title-field a:focus {
1626
+ color: var(--wp-admin-theme-color--rgb);
1627
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
1628
+ border-radius: 2px;
1629
+ }
1630
+
1631
+ .dataviews-title-field button.components-button.is-link {
1632
+ text-decoration: none;
1633
+ font-weight: inherit;
1634
+ text-overflow: ellipsis;
1635
+ white-space: nowrap;
1636
+ overflow: hidden;
1637
+ display: block;
1638
+ width: 100%;
1639
+ color: #1e1e1e;
1640
+ }
1641
+
1642
+ .dataviews-title-field button.components-button.is-link:hover {
1643
+ color: var(--wp-admin-theme-color);
1644
+ }
1645
+
1646
+ .dataviews-title-field--clickable {
1647
+ cursor: pointer;
1648
+ color: #2f2f2f;
1649
+ }
1650
+
1651
+ .dataviews-title-field--clickable:hover {
1652
+ color: var(--wp-admin-theme-color);
1653
+ }
1654
+
1655
+ .dataviews-title-field--clickable:focus {
1656
+ color: var(--wp-admin-theme-color--rgb);
1657
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
1658
+ border-radius: 2px;
1659
+ }
1660
+
1661
+ /**
1662
+ * Applying a consistent 24px padding when DataViews are placed within cards.
1663
+ */
1664
+ .components-card__body:has(> .dataviews-wrapper),
1665
+ .components-card__body:has(> .dataviews-picker-wrapper) {
1666
+ padding: 8px 0 0;
1667
+ overflow: hidden;
1668
+ }
1669
+
1670
+ .components-card__body:has(> .dataviews-wrapper) .dataviews__view-actions,
1671
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-filters__container,
1672
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-footer,
1673
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-view-grid,
1674
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-loading,
1675
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-no-results,
1676
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews__view-actions,
1677
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-filters__container,
1678
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-footer,
1679
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-grid,
1680
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-loading,
1681
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-no-results {
1682
+ padding-inline: 24px;
1683
+ }
1684
+
1685
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr td:first-child,
1686
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr th:first-child,
1687
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr td:first-child,
1688
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr th:first-child {
1689
+ padding-inline-start: 24px;
1690
+ }
1691
+
1692
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr td:last-child,
1693
+ .components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr th:last-child,
1694
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr td:last-child,
1695
+ .components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr th:last-child {
1696
+ padding-inline-end: 24px;
1697
+ }
1698
+
1699
+ .dataviews-bulk-actions-footer__item-count {
1700
+ color: #1e1e1e;
1701
+ font-weight: 499;
1702
+ font-size: 11px;
1703
+ text-transform: uppercase;
1704
+ }
1705
+
1706
+ .dataviews-bulk-actions-footer__container {
1707
+ margin-left: auto;
1708
+ min-height: 32px;
1709
+ }
1710
+
1711
+ .dataviews-filters__button {
1712
+ position: relative;
1713
+ }
1714
+
1715
+ .dataviews-filters__container {
1716
+ padding-top: 0;
1717
+ }
1718
+
1719
+ .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true], .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:hover {
1720
+ opacity: 0;
1721
+ }
1722
+
1723
+ .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:focus {
1724
+ opacity: 1;
1725
+ }
1726
+
1727
+ .dataviews-filters__summary-popover {
1728
+ font-size: 13px;
1729
+ line-height: 1.4;
1730
+ }
1731
+
1732
+ .dataviews-filters__summary-popover .components-popover__content {
1733
+ width: 100%;
1734
+ min-width: 230px;
1735
+ max-width: 250px;
1736
+ border-radius: 4px;
1737
+ }
1738
+
1739
+ .dataviews-filters__summary-popover.components-dropdown__content .components-popover__content {
1740
+ padding: 0;
1741
+ }
1742
+
1743
+ .dataviews-filters__summary-operators-container {
1744
+ padding: 8px 16px;
1745
+ }
1746
+
1747
+ .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-listbox), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-no-elements), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__user-input-widget) {
1748
+ border-bottom: 1px solid #e0e0e0;
1749
+ }
1750
+
1751
+ .dataviews-filters__summary-operators-container:empty {
1752
+ display: none;
1753
+ }
1754
+
1755
+ .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
1756
+ color: #757575;
1757
+ white-space: nowrap;
1758
+ overflow: hidden;
1759
+ text-overflow: ellipsis;
1760
+ flex-shrink: 0; /* Prevents this element from shrinking */
1761
+ max-width: calc(100% - 55px);
1762
+ }
1763
+
1764
+ .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
1765
+ width: 100%;
1766
+ white-space: nowrap;
1767
+ overflow: hidden;
1768
+ }
1769
+
1770
+ .dataviews-filters__summary-chip-container {
1771
+ position: relative;
1772
+ white-space: pre-wrap;
1773
+ }
1774
+
1775
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
1776
+ border-radius: 16px;
1777
+ border: 1px solid transparent;
1778
+ cursor: pointer;
1779
+ padding: 4px 12px;
1780
+ min-height: 32px;
1781
+ background: #f0f0f0;
1782
+ color: #2f2f2f;
1783
+ position: relative;
1784
+ display: flex;
1785
+ align-items: center;
1786
+ box-sizing: border-box;
1787
+ }
1788
+
1789
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable {
1790
+ cursor: default;
1791
+ }
1792
+
1793
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
1794
+ padding-inline-end: 28px;
1795
+ }
1796
+
1797
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
1798
+ background: #e0e0e0;
1799
+ color: #1e1e1e;
1800
+ }
1801
+
1802
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
1803
+ color: var(--wp-admin-theme-color);
1804
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
1805
+ }
1806
+
1807
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
1808
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
1809
+ }
1810
+
1811
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
1812
+ outline: none;
1813
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1814
+ }
1815
+
1816
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
1817
+ font-weight: 499;
1818
+ }
1819
+
1820
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
1821
+ width: 24px;
1822
+ height: 24px;
1823
+ border-radius: 50%;
1824
+ border: 0;
1825
+ padding: 0;
1826
+ position: absolute;
1827
+ left: 4px;
1828
+ top: 50%;
1829
+ transform: translateY(-50%);
1830
+ display: flex;
1831
+ align-items: center;
1832
+ justify-content: center;
1833
+ background: transparent;
1834
+ cursor: pointer;
1835
+ }
1836
+
1837
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
1838
+ fill: #757575;
1839
+ }
1840
+
1841
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
1842
+ background: #e0e0e0;
1843
+ }
1844
+
1845
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
1846
+ fill: #1e1e1e;
1847
+ }
1848
+
1849
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
1850
+ fill: var(--wp-admin-theme-color);
1851
+ }
1852
+
1853
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
1854
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
1855
+ }
1856
+
1857
+ .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
1858
+ outline: none;
1859
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1860
+ }
1861
+
1862
+ .dataviews-filters__search-widget-filter-combobox-list {
1863
+ max-height: 184px;
1864
+ padding: 4px;
1865
+ overflow: auto;
1866
+ border-top: 1px solid #e0e0e0;
1867
+ }
1868
+
1869
+ .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
1870
+ font-weight: 600;
1871
+ }
1872
+
1873
+ .dataviews-filters__search-widget-listbox {
1874
+ padding: 4px;
1875
+ overflow: auto;
1876
+ }
1877
+
1878
+ .dataviews-filters__search-widget-listitem {
1879
+ display: flex;
1880
+ align-items: center;
1881
+ gap: 8px;
1882
+ border-radius: 2px;
1883
+ box-sizing: border-box;
1884
+ padding: 4px 12px;
1885
+ cursor: default;
1886
+ min-height: 32px;
1887
+ font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1888
+ font-weight: 400;
1889
+ font-size: 13px;
1890
+ line-height: 20px;
1891
+ }
1892
+
1893
+ .dataviews-filters__search-widget-listitem:last-child {
1894
+ margin-block-end: 0;
1895
+ }
1896
+
1897
+ .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
1898
+ background-color: var(--wp-admin-theme-color);
1899
+ color: #fff;
1900
+ }
1901
+
1902
+ .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
1903
+ color: #fff;
1904
+ }
1905
+
1906
+ .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
1907
+ border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1908
+ background: #fff;
1909
+ }
1910
+
1911
+ .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1912
+ border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1913
+ background: var(--wp-admin-theme-color-darker-20, #183ad6);
1914
+ }
1915
+
1916
+ .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection {
1917
+ border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1918
+ }
1919
+
1920
+ .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
1921
+ border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1922
+ background: var(--wp-admin-theme-color-darker-20, #183ad6);
1923
+ }
1924
+
1925
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
1926
+ display: block;
1927
+ overflow: hidden;
1928
+ text-overflow: ellipsis;
1929
+ font-size: 12px;
1930
+ line-height: 16px;
1931
+ color: #757575;
1932
+ }
1933
+
1934
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1935
+ border: 1px solid #1e1e1e;
1936
+ margin-left: 12px;
1937
+ transition: none;
1938
+ border-radius: 50%;
1939
+ width: 24px;
1940
+ height: 24px;
1941
+ min-width: 24px;
1942
+ max-width: 24px;
1943
+ position: relative;
1944
+ }
1945
+
1946
+ @media not (prefers-reduced-motion) {
1947
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1948
+ transition: box-shadow 0.1s linear;
1949
+ }
1950
+ }
1951
+ @media (min-width: 600px) {
1952
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1953
+ height: 16px;
1954
+ width: 16px;
1955
+ min-width: 16px;
1956
+ max-width: 16px;
1957
+ }
1958
+ }
1959
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked::before {
1960
+ box-sizing: inherit;
1961
+ width: 12px;
1962
+ height: 12px;
1963
+ position: absolute;
1964
+ top: 50%;
1965
+ right: 50%;
1966
+ transform: translate(50%, -50%);
1967
+ margin: 0;
1968
+ background-color: #fff;
1969
+ border: 4px solid #fff;
1970
+ }
1971
+
1972
+ @media (min-width: 600px) {
1973
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked::before {
1974
+ width: 8px;
1975
+ height: 8px;
1976
+ }
1977
+ }
1978
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:focus {
1979
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
1980
+ outline: 2px solid transparent;
1981
+ }
1982
+
1983
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked {
1984
+ background: var(--wp-admin-theme-color);
1985
+ border: none;
1986
+ }
1987
+
1988
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1989
+ margin: 0;
1990
+ padding: 0;
1991
+ }
1992
+
1993
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1994
+ background: var(--wp-admin-theme-color, #3858e9);
1995
+ border-color: var(--wp-admin-theme-color, #3858e9);
1996
+ }
1997
+
1998
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
1999
+ content: "";
2000
+ border-radius: 50%;
2001
+ box-sizing: inherit;
2002
+ width: 12px;
2003
+ height: 12px;
2004
+ position: absolute;
2005
+ top: 50%;
2006
+ right: 50%;
2007
+ transform: translate(50%, -50%);
2008
+ margin: 0;
2009
+ background-color: #fff;
2010
+ border: 4px solid #fff;
2011
+ }
2012
+
2013
+ @media (min-width: 600px) {
2014
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
2015
+ width: 8px;
2016
+ height: 8px;
2017
+ }
2018
+ }
2019
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2020
+ --checkbox-size: 24px;
2021
+ border: 1px solid #1e1e1e;
2022
+ margin-left: 12px;
2023
+ transition: none;
2024
+ border-radius: 2px;
2025
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2026
+ padding: 6px 8px;
2027
+ /* Fonts smaller than 16px causes mobile safari to zoom. */
2028
+ font-size: 16px;
2029
+ /* Override core line-height. To be reviewed. */
2030
+ line-height: normal;
2031
+ box-shadow: 0 0 0 transparent;
2032
+ border-radius: 2px;
2033
+ border: 1px solid #949494;
2034
+ }
2035
+
2036
+ @media not (prefers-reduced-motion) {
2037
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2038
+ transition: box-shadow 0.1s linear;
2039
+ }
2040
+ }
2041
+ @media (min-width: 600px) {
2042
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2043
+ font-size: 13px;
2044
+ /* Override core line-height. To be reviewed. */
2045
+ line-height: normal;
2046
+ }
2047
+ }
2048
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
2049
+ border-color: var(--wp-admin-theme-color);
2050
+ box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2051
+ outline: 2px solid transparent;
2052
+ }
2053
+
2054
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-webkit-input-placeholder {
2055
+ color: rgba(30, 30, 30, 0.62);
2056
+ }
2057
+
2058
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-moz-placeholder {
2059
+ color: rgba(30, 30, 30, 0.62);
2060
+ }
2061
+
2062
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:-ms-input-placeholder {
2063
+ color: rgba(30, 30, 30, 0.62);
2064
+ }
2065
+
2066
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
2067
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
2068
+ outline: 2px solid transparent;
2069
+ }
2070
+
2071
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:checked {
2072
+ background: var(--wp-admin-theme-color);
2073
+ border-color: var(--wp-admin-theme-color);
2074
+ }
2075
+
2076
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:checked::-ms-check {
2077
+ opacity: 0;
2078
+ }
2079
+
2080
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed]::before {
2081
+ margin: -3px -5px;
2082
+ color: #fff;
2083
+ }
2084
+
2085
+ @media (min-width: 782px) {
2086
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed]::before {
2087
+ margin: -4px -5px 0 0;
2088
+ }
2089
+ }
2090
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed] {
2091
+ background: var(--wp-admin-theme-color);
2092
+ border-color: var(--wp-admin-theme-color);
2093
+ }
2094
+
2095
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed]::before {
2096
+ content: "\f460";
2097
+ float: right;
2098
+ display: inline-block;
2099
+ vertical-align: middle;
2100
+ width: 16px;
2101
+ /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
2102
+ font: normal 30px/1 dashicons;
2103
+ speak: none;
2104
+ -webkit-font-smoothing: antialiased;
2105
+ -moz-osx-font-smoothing: grayscale;
2106
+ }
2107
+
2108
+ @media (min-width: 782px) {
2109
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed]::before {
2110
+ float: none;
2111
+ font-size: 21px;
2112
+ }
2113
+ }
2114
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true], .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled {
2115
+ background: #f0f0f0;
2116
+ border-color: #ddd;
2117
+ cursor: default;
2118
+ opacity: 1;
2119
+ }
2120
+
2121
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2122
+ position: relative;
2123
+ background: #fff;
2124
+ color: #1e1e1e;
2125
+ margin: 0;
2126
+ padding: 0;
2127
+ width: var(--checkbox-size);
2128
+ height: var(--checkbox-size);
2129
+ }
2130
+
2131
+ @media (min-width: 600px) {
2132
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2133
+ --checkbox-size: 16px;
2134
+ }
2135
+ }
2136
+ @media not (prefers-reduced-motion) {
2137
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2138
+ transition: 0.1s border-color ease-in-out;
2139
+ }
2140
+ }
2141
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
2142
+ background: var(--wp-admin-theme-color, #3858e9);
2143
+ border-color: var(--wp-admin-theme-color, #3858e9);
2144
+ }
2145
+
2146
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
2147
+ --checkmark-size: var(--checkbox-size);
2148
+ fill: #fff;
2149
+ position: absolute;
2150
+ right: 50%;
2151
+ top: 50%;
2152
+ transform: translate(50%, -50%);
2153
+ width: var(--checkmark-size);
2154
+ height: var(--checkmark-size);
2155
+ }
2156
+
2157
+ @media (min-width: 600px) {
2158
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
2159
+ --checkmark-size: calc(var(--checkbox-size) + 4px);
2160
+ }
2161
+ }
2162
+ .dataviews-filters__search-widget-filter-combobox__wrapper {
2163
+ position: relative;
2164
+ padding: 8px;
2165
+ }
2166
+
2167
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2168
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2169
+ padding: 6px 8px;
2170
+ /* Fonts smaller than 16px causes mobile safari to zoom. */
2171
+ font-size: 16px;
2172
+ /* Override core line-height. To be reviewed. */
2173
+ line-height: normal;
2174
+ box-shadow: 0 0 0 transparent;
2175
+ border-radius: 2px;
2176
+ border: 1px solid #949494;
2177
+ }
2178
+
2179
+ @media not (prefers-reduced-motion) {
2180
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2181
+ transition: box-shadow 0.1s linear;
2182
+ }
2183
+ }
2184
+ @media (min-width: 600px) {
2185
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2186
+ font-size: 13px;
2187
+ /* Override core line-height. To be reviewed. */
2188
+ line-height: normal;
2189
+ }
2190
+ }
2191
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2192
+ border-color: var(--wp-admin-theme-color);
2193
+ box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2194
+ outline: 2px solid transparent;
2195
+ }
2196
+
2197
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-input-placeholder {
2198
+ color: rgba(30, 30, 30, 0.62);
2199
+ }
2200
+
2201
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
2202
+ color: rgba(30, 30, 30, 0.62);
2203
+ }
2204
+
2205
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:-ms-input-placeholder {
2206
+ color: rgba(30, 30, 30, 0.62);
2207
+ }
2208
+
2209
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2210
+ display: block;
2211
+ padding: 0 32px 0 8px;
2212
+ width: 100%;
2213
+ height: 32px;
2214
+ margin-right: 0;
2215
+ margin-left: 0;
2216
+ /* Fonts smaller than 16px causes mobile safari to zoom. */
2217
+ font-size: 16px;
2218
+ }
2219
+
2220
+ @media (min-width: 600px) {
2221
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2222
+ font-size: 13px;
2223
+ }
2224
+ }
2225
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2226
+ background: #fff;
2227
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2228
+ }
2229
+
2230
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2231
+ color: #757575;
2232
+ }
2233
+
2234
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-decoration {
2235
+ -webkit-appearance: none;
2236
+ }
2237
+
2238
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon {
2239
+ position: absolute;
2240
+ inset-inline-start: 12px;
2241
+ top: 0;
2242
+ bottom: 0;
2243
+ display: flex;
2244
+ align-items: center;
2245
+ justify-content: center;
2246
+ width: 24px;
2247
+ }
2248
+
2249
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon:dir(ltr) {
2250
+ transform: scaleX(-1);
2251
+ }
2252
+
2253
+ .dataviews-filters__container-visibility-toggle {
2254
+ position: relative;
2255
+ flex-shrink: 0;
2256
+ }
2257
+
2258
+ .dataviews-filters-toggle__count {
2259
+ position: absolute;
2260
+ top: 0;
2261
+ left: 0;
2262
+ transform: translate(-50%, -50%);
2263
+ background: var(--wp-admin-theme-color, #3858e9);
2264
+ height: 16px;
2265
+ min-width: 16px;
2266
+ line-height: 16px;
2267
+ padding: 0 4px;
2268
+ text-align: center;
2269
+ border-radius: 8px;
2270
+ font-size: 11px;
2271
+ outline: var(--wp-admin-border-width-focus) solid #fff;
2272
+ color: #fff;
2273
+ box-sizing: border-box;
2274
+ }
2275
+
2276
+ .dataviews-search {
2277
+ width: fit-content;
2278
+ }
2279
+
2280
+ .dataviews-filters__user-input-widget {
2281
+ padding: 16px;
2282
+ }
2283
+
2284
+ .dataviews-filters__user-input-widget .components-input-control__prefix {
2285
+ padding-right: 8px;
2286
+ }
2287
+
2288
+ .dataviews-filters__search-widget-no-elements {
2289
+ display: flex;
2290
+ align-items: center;
2291
+ justify-content: center;
2292
+ padding: 16px;
2293
+ }
2294
+
2295
+ .dataviews-footer {
2296
+ position: sticky;
2297
+ bottom: 0;
2298
+ right: 0;
2299
+ background-color: #fff;
2300
+ padding: 12px 48px;
2301
+ border-top: 1px solid #f0f0f0;
2302
+ flex-shrink: 0;
2303
+ }
2304
+
2305
+ @media not (prefers-reduced-motion) {
2306
+ .dataviews-footer {
2307
+ transition: padding ease-out 0.1s;
2308
+ }
2309
+ }
2310
+ .dataviews-footer {
2311
+ z-index: 2;
2312
+ }
2313
+
2314
+ @container (max-width: 430px) {
2315
+ .dataviews-footer {
2316
+ padding: 12px 24px;
2317
+ }
2318
+ }
2319
+ @container (max-width: 560px) {
2320
+ .dataviews-footer {
2321
+ flex-direction: column !important;
2322
+ }
2323
+ .dataviews-footer .dataviews-bulk-actions-footer__container {
2324
+ width: 100%;
2325
+ }
2326
+ .dataviews-footer .dataviews-bulk-actions-footer__item-count {
2327
+ flex-grow: 1;
2328
+ }
2329
+ .dataviews-footer .dataviews-pagination {
2330
+ width: 100%;
2331
+ justify-content: space-between;
2332
+ }
2333
+ }
2334
+ .dataviews-pagination__page-select {
2335
+ font-size: 11px;
2336
+ font-weight: 499;
2337
+ text-transform: uppercase;
2338
+ }
2339
+
2340
+ @media (min-width: 600px) {
2341
+ .dataviews-pagination__page-select .components-select-control__input {
2342
+ font-size: 11px !important;
2343
+ font-weight: 499;
2344
+ }
2345
+ }
2346
+ .dataviews-action-modal {
2347
+ z-index: 1000001;
2348
+ }
2349
+
2350
+ .dataviews-picker-footer__bulk-selection {
2351
+ align-self: flex-start;
2352
+ height: 32px;
2353
+ }
2354
+
2355
+ .dataviews-picker-footer__actions {
2356
+ align-self: flex-end;
2357
+ }
2358
+
2359
+ .dataviews-selection-checkbox {
2360
+ --checkbox-input-size: 24px;
2361
+ }
2362
+
2363
+ @media (min-width: 600px) {
2364
+ .dataviews-selection-checkbox {
2365
+ --checkbox-input-size: 16px;
2366
+ }
2367
+ }
2368
+ .dataviews-selection-checkbox {
2369
+ line-height: 0;
2370
+ flex-shrink: 0;
2371
+ }
2372
+
2373
+ .dataviews-selection-checkbox .components-checkbox-control__input-container {
2374
+ margin: 0;
2375
+ }
2376
+
2377
+ .dataviews-view-config {
2378
+ width: 320px;
2379
+ /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
2380
+ container-type: inline-size;
2381
+ font-size: 13px;
2382
+ line-height: 1.4;
2383
+ }
2384
+
2385
+ .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper {
2386
+ overflow-y: scroll;
2387
+ height: 100%;
2388
+ }
2389
+
2390
+ .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper .dataviews-view-config {
2391
+ width: auto;
2392
+ }
2393
+
2394
+ .dataviews-view-config__sort-direction .components-toggle-group-control-option-base {
2395
+ text-transform: uppercase;
2396
+ }
2397
+
2398
+ .dataviews-settings-section__title.dataviews-settings-section__title {
2399
+ line-height: 24px;
2400
+ font-size: 15px;
2401
+ }
2402
+
2403
+ .dataviews-settings-section__sidebar {
2404
+ grid-column: span 4;
2405
+ }
2406
+
2407
+ .dataviews-settings-section__content,
2408
+ .dataviews-settings-section__content > * {
2409
+ grid-column: span 8;
2410
+ }
2411
+
2412
+ .dataviews-settings-section__content .is-divided-in-two {
2413
+ display: contents;
2414
+ }
2415
+
2416
+ .dataviews-settings-section__content .is-divided-in-two > * {
2417
+ grid-column: span 4;
2418
+ }
2419
+
2420
+ .dataviews-settings-section:has(.dataviews-settings-section__content:empty) {
2421
+ display: none;
2422
+ }
2423
+
2424
+ @container (max-width: 500px) {
2425
+ .dataviews-settings-section.dataviews-settings-section {
2426
+ grid-template-columns: repeat(2, 1fr);
2427
+ }
2428
+ .dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__sidebar {
2429
+ grid-column: span 2;
2430
+ }
2431
+ .dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__content {
2432
+ grid-column: span 2;
2433
+ }
2434
+ }
2435
+ .dataviews-field-control__field {
2436
+ height: 32px;
2437
+ }
2438
+
2439
+ .dataviews-field-control__actions {
2440
+ position: absolute;
2441
+ top: -9999em;
2442
+ }
2443
+
2444
+ .dataviews-field-control__actions.dataviews-field-control__actions {
2445
+ gap: 4px;
2446
+ }
2447
+
2448
+ .dataviews-field-control__field:hover .dataviews-field-control__actions,
2449
+ .dataviews-field-control__field:focus-within .dataviews-field-control__actions,
2450
+ .dataviews-field-control__field.is-interacting .dataviews-field-control__actions {
2451
+ position: unset;
2452
+ top: unset;
2453
+ }
2454
+
2455
+ .dataviews-field-control__icon {
2456
+ display: flex;
2457
+ width: 24px;
2458
+ }
2459
+
2460
+ .dataviews-field-control__label-sub-label-container {
2461
+ flex-grow: 1;
2462
+ }
2463
+
2464
+ .dataviews-field-control__label {
2465
+ display: block;
2466
+ }
2467
+
2468
+ .dataviews-field-control__sub-label {
2469
+ margin-top: 8px;
2470
+ margin-bottom: 0;
2471
+ font-size: 11px;
2472
+ font-style: normal;
2473
+ color: #757575;
2474
+ }
2475
+
2476
+ .dataviews-view-grid-items {
2477
+ margin-bottom: auto;
2478
+ display: grid;
2479
+ gap: 32px;
2480
+ grid-template-rows: max-content;
2481
+ grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
2482
+ padding: 0 48px 24px;
2483
+ container-type: inline-size;
2484
+ /**
2485
+ * Breakpoints were adjusted from media queries breakpoints to account for
2486
+ * the sidebar width. This was done to match the existing styles we had.
2487
+ */
2488
+ }
2489
+
2490
+ @container (max-width: 430px) {
2491
+ .dataviews-view-grid-items {
2492
+ padding-right: 24px;
2493
+ padding-left: 24px;
2494
+ }
2495
+ }
2496
+ @media not (prefers-reduced-motion) {
2497
+ .dataviews-view-grid-items {
2498
+ transition: padding ease-out 0.1s;
2499
+ }
2500
+ }
2501
+ .dataviews-view-grid .dataviews-view-grid__card {
2502
+ height: 100%;
2503
+ justify-content: flex-start;
2504
+ position: relative;
2505
+ }
2506
+
2507
+ .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions {
2508
+ padding: 8px 0 4px;
2509
+ }
2510
+
2511
+ .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field {
2512
+ min-height: 24px;
2513
+ overflow: hidden;
2514
+ align-content: center;
2515
+ text-align: start;
2516
+ }
2517
+
2518
+ .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable {
2519
+ width: fit-content;
2520
+ }
2521
+
2522
+ .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
2523
+ color: #1e1e1e;
2524
+ }
2525
+
2526
+ .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2527
+ .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2528
+ background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2529
+ }
2530
+
2531
+ .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
2532
+ box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
2533
+ }
2534
+
2535
+ .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2536
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2537
+ }
2538
+
2539
+ .dataviews-view-grid .dataviews-view-grid__media {
2540
+ width: 100%;
2541
+ aspect-ratio: 1/1;
2542
+ background-color: #fff;
2543
+ border-radius: 4px;
2544
+ overflow: hidden;
2545
+ position: relative;
2546
+ }
2547
+
2548
+ .dataviews-view-grid .dataviews-view-grid__media img {
2549
+ object-fit: cover;
2550
+ width: 100%;
2551
+ height: 100%;
2552
+ }
2553
+
2554
+ .dataviews-view-grid .dataviews-view-grid__media::after {
2555
+ content: "";
2556
+ position: absolute;
2557
+ top: 0;
2558
+ right: 0;
2559
+ width: 100%;
2560
+ height: 100%;
2561
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2562
+ border-radius: 4px;
2563
+ pointer-events: none;
2564
+ }
2565
+
2566
+ .dataviews-view-grid .dataviews-view-grid__fields {
2567
+ position: relative;
2568
+ font-size: 12px;
2569
+ line-height: 16px;
2570
+ }
2571
+
2572
+ .dataviews-view-grid .dataviews-view-grid__fields:not(:empty) {
2573
+ padding: 0 0 12px;
2574
+ }
2575
+
2576
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
2577
+ min-height: 24px;
2578
+ line-height: 20px;
2579
+ padding-top: 2px;
2580
+ }
2581
+
2582
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field {
2583
+ min-height: 24px;
2584
+ align-items: center;
2585
+ }
2586
+
2587
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
2588
+ width: 35%;
2589
+ color: #757575;
2590
+ overflow: hidden;
2591
+ text-overflow: ellipsis;
2592
+ white-space: nowrap;
2593
+ }
2594
+
2595
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
2596
+ width: 65%;
2597
+ overflow: hidden;
2598
+ text-overflow: ellipsis;
2599
+ white-space: nowrap;
2600
+ }
2601
+
2602
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(:has(.dataviews-view-grid__field-value:not(:empty))) {
2603
+ display: none;
2604
+ }
2605
+
2606
+ .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty) {
2607
+ padding-bottom: 12px;
2608
+ }
2609
+
2610
+ .dataviews-view-grid__field-value:empty,
2611
+ .dataviews-view-grid__field:empty {
2612
+ display: none;
2613
+ }
2614
+
2615
+ .dataviews-view-grid__card .dataviews-selection-checkbox {
2616
+ position: absolute;
2617
+ top: -9999em;
2618
+ right: 8px;
2619
+ z-index: 1;
2620
+ opacity: 0;
2621
+ }
2622
+
2623
+ @media not (prefers-reduced-motion) {
2624
+ .dataviews-view-grid__card .dataviews-selection-checkbox {
2625
+ transition: opacity 0.1s linear;
2626
+ }
2627
+ }
2628
+ @media (hover: none) {
2629
+ .dataviews-view-grid__card .dataviews-selection-checkbox {
2630
+ opacity: 1;
2631
+ top: 8px;
2632
+ }
2633
+ }
2634
+ .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2635
+ .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
2636
+ .dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
2637
+ opacity: 1;
2638
+ top: 8px;
2639
+ }
2640
+
2641
+ .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2642
+ position: absolute;
2643
+ top: 4px;
2644
+ opacity: 0;
2645
+ left: 4px;
2646
+ }
2647
+
2648
+ .dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button {
2649
+ background-color: #fff;
2650
+ }
2651
+
2652
+ @media not (prefers-reduced-motion) {
2653
+ .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2654
+ transition: opacity 0.1s linear;
2655
+ }
2656
+ }
2657
+ @media (hover: none) {
2658
+ .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2659
+ opacity: 1;
2660
+ top: 4px;
2661
+ }
2662
+ }
2663
+ .dataviews-view-grid__card:hover .dataviews-view-grid__media-actions,
2664
+ .dataviews-view-grid__card:focus-within .dataviews-view-grid__media-actions,
2665
+ .dataviews-view-grid__card .dataviews-view-grid__media-actions:has(.dataviews-all-actions-button[aria-expanded=true]) {
2666
+ opacity: 1;
2667
+ }
2668
+
2669
+ .dataviews-view-grid__media--clickable {
2670
+ cursor: pointer;
2671
+ }
2672
+
2673
+ .dataviews-view-grid__group-header {
2674
+ font-size: 15px;
2675
+ font-weight: 499;
2676
+ color: #1e1e1e;
2677
+ margin: 0 0 8px 0;
2678
+ padding: 0 48px;
2679
+ container-type: inline-size;
2680
+ }
2681
+
2682
+ @container (max-width: 430px) {
2683
+ .dataviews-view-grid__group-header {
2684
+ padding-right: 24px;
2685
+ padding-left: 24px;
2686
+ }
2687
+ }
2688
+ div.dataviews-view-list {
2689
+ list-style-type: none;
2690
+ }
2691
+
2692
+ .dataviews-view-list {
2693
+ margin: 0 0 auto;
2694
+ }
2695
+
2696
+ .dataviews-view-list div[role=row],
2697
+ .dataviews-view-list div[role=article] {
2698
+ margin: 0;
2699
+ border-top: 1px solid #f0f0f0;
2700
+ }
2701
+
2702
+ .dataviews-view-list div[role=row] .dataviews-view-list__item-wrapper,
2703
+ .dataviews-view-list div[role=article] .dataviews-view-list__item-wrapper {
2704
+ position: relative;
2705
+ padding: 16px 24px;
2706
+ box-sizing: border-box;
2707
+ }
2708
+
2709
+ .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
2710
+ .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
2711
+ display: flex;
2712
+ width: max-content;
2713
+ flex: 0 0 auto;
2714
+ gap: 4px;
2715
+ }
2716
+
2717
+ .dataviews-view-list div[role=row] .dataviews-view-list__item-actions .components-button,
2718
+ .dataviews-view-list div[role=article] .dataviews-view-list__item-actions .components-button {
2719
+ position: relative;
2720
+ z-index: 1;
2721
+ }
2722
+
2723
+ .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > div,
2724
+ .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > div {
2725
+ height: 24px;
2726
+ }
2727
+
2728
+ .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
2729
+ .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
2730
+ flex: 0;
2731
+ overflow: hidden;
2732
+ width: 0;
2733
+ }
2734
+
2735
+ .dataviews-view-list div[role=row]:where(.is-selected, .is-hovered, :focus-within) .dataviews-view-list__item-actions > :not(:last-child),
2736
+ .dataviews-view-list div[role=article]:where(.is-selected, .is-hovered, :focus-within) .dataviews-view-list__item-actions > :not(:last-child) {
2737
+ flex-basis: min-content;
2738
+ width: auto;
2739
+ overflow: unset;
2740
+ }
2741
+
2742
+ @media (hover: none) {
2743
+ .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
2744
+ .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
2745
+ flex-basis: min-content;
2746
+ width: auto;
2747
+ overflow: unset;
2748
+ }
2749
+ }
2750
+ .dataviews-view-list div[role=row].is-selected.is-selected,
2751
+ .dataviews-view-list div[role=article].is-selected.is-selected {
2752
+ border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2753
+ }
2754
+
2755
+ .dataviews-view-list div[role=row].is-selected.is-selected + div[role=row], .dataviews-view-list div[role=row].is-selected.is-selected + div[role=article],
2756
+ .dataviews-view-list div[role=article].is-selected.is-selected + div[role=row],
2757
+ .dataviews-view-list div[role=article].is-selected.is-selected + div[role=article] {
2758
+ border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2759
+ }
2760
+
2761
+ .dataviews-view-list div[role=row]:not(.is-selected) .dataviews-view-list__title-field,
2762
+ .dataviews-view-list div[role=article]:not(.is-selected) .dataviews-view-list__title-field {
2763
+ color: #1e1e1e;
2764
+ }
2765
+
2766
+ .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within,
2767
+ .dataviews-view-list div[role=article]:not(.is-selected):hover,
2768
+ .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
2769
+ .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
2770
+ color: var(--wp-admin-theme-color);
2771
+ background-color: #f8f8f8;
2772
+ }
2773
+
2774
+ .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-view-list__title-field,
2775
+ .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-view-list__fields, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-view-list__title-field,
2776
+ .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-view-list__fields, .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-view-list__title-field,
2777
+ .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-view-list__fields,
2778
+ .dataviews-view-list div[role=article]:not(.is-selected):hover .dataviews-view-list__title-field,
2779
+ .dataviews-view-list div[role=article]:not(.is-selected):hover .dataviews-view-list__fields,
2780
+ .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__title-field,
2781
+ .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__fields,
2782
+ .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__title-field,
2783
+ .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__fields {
2784
+ color: var(--wp-admin-theme-color);
2785
+ }
2786
+
2787
+ .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2788
+ .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
2789
+ .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
2790
+ .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
2791
+ background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
2792
+ color: #1e1e1e;
2793
+ }
2794
+
2795
+ .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__title-field,
2796
+ .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__fields,
2797
+ .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__title-field,
2798
+ .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__fields,
2799
+ .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__title-field,
2800
+ .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__fields,
2801
+ .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__title-field,
2802
+ .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__fields {
2803
+ color: var(--wp-admin-theme-color);
2804
+ }
2805
+
2806
+ .dataviews-view-list .dataviews-view-list__item {
2807
+ position: absolute;
2808
+ z-index: 1;
2809
+ inset: 0;
2810
+ scroll-margin: 8px 0;
2811
+ appearance: none;
2812
+ border: none;
2813
+ background: none;
2814
+ padding: 0;
2815
+ cursor: pointer;
2816
+ }
2817
+
2818
+ .dataviews-view-list .dataviews-view-list__item:focus-visible {
2819
+ outline: none;
2820
+ }
2821
+
2822
+ .dataviews-view-list .dataviews-view-list__item:focus-visible::before {
2823
+ position: absolute;
2824
+ content: "";
2825
+ inset: var(--wp-admin-border-width-focus);
2826
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2827
+ border-radius: 2px;
2828
+ outline: 2px solid transparent;
2829
+ }
2830
+
2831
+ .dataviews-view-list .dataviews-view-list__title-field {
2832
+ flex: 1;
2833
+ min-height: 24px;
2834
+ line-height: 24px;
2835
+ overflow: hidden;
2836
+ }
2837
+
2838
+ .dataviews-view-list .dataviews-view-list__title-field:has(a, button) {
2839
+ z-index: 1;
2840
+ }
2841
+
2842
+ .dataviews-view-list .dataviews-view-list__media-wrapper {
2843
+ width: 52px;
2844
+ height: 52px;
2845
+ overflow: hidden;
2846
+ position: relative;
2847
+ flex-shrink: 0;
2848
+ background-color: #fff;
2849
+ border-radius: 4px;
2850
+ }
2851
+
2852
+ .dataviews-view-list .dataviews-view-list__media-wrapper img {
2853
+ width: 100%;
2854
+ height: 100%;
2855
+ object-fit: cover;
2856
+ }
2857
+
2858
+ .dataviews-view-list .dataviews-view-list__media-wrapper::after {
2859
+ content: "";
2860
+ position: absolute;
2861
+ top: 0;
2862
+ right: 0;
2863
+ width: 100%;
2864
+ height: 100%;
2865
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2866
+ border-radius: 4px;
2867
+ }
2868
+
2869
+ .dataviews-view-list .dataviews-view-list__field-wrapper {
2870
+ min-height: 52px;
2871
+ flex-grow: 1;
2872
+ }
2873
+
2874
+ .dataviews-view-list .dataviews-view-list__fields {
2875
+ color: #757575;
2876
+ display: flex;
2877
+ gap: 12px;
2878
+ row-gap: 4px;
2879
+ flex-wrap: wrap;
2880
+ font-size: 12px;
2881
+ }
2882
+
2883
+ .dataviews-view-list .dataviews-view-list__fields:empty {
2884
+ display: none;
2885
+ }
2886
+
2887
+ .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field:has(.dataviews-view-list__field-value:empty) {
2888
+ display: none;
2889
+ }
2890
+
2891
+ .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
2892
+ min-height: 24px;
2893
+ line-height: 20px;
2894
+ display: flex;
2895
+ align-items: center;
2896
+ }
2897
+
2898
+ .dataviews-view-list + .dataviews-pagination {
2899
+ justify-content: space-between;
2900
+ }
2901
+
2902
+ .dataviews-view-list__group-header {
2903
+ font-size: 15px;
2904
+ font-weight: 499;
2905
+ color: #1e1e1e;
2906
+ margin: 0 0 8px 0;
2907
+ padding: 0 24px;
2908
+ }
2909
+
2910
+ .dataviews-view-table {
2911
+ width: 100%;
2912
+ text-indent: 0;
2913
+ border-color: inherit;
2914
+ border-collapse: collapse;
2915
+ position: relative;
2916
+ color: #757575;
2917
+ margin-bottom: auto;
2918
+ }
2919
+
2920
+ .dataviews-view-table th {
2921
+ text-align: right;
2922
+ color: #1e1e1e;
2923
+ font-weight: normal;
2924
+ font-size: 13px;
2925
+ }
2926
+
2927
+ .dataviews-view-table td,
2928
+ .dataviews-view-table th {
2929
+ padding: 12px;
2930
+ }
2931
+
2932
+ .dataviews-view-table td.dataviews-view-table__actions-column,
2933
+ .dataviews-view-table th.dataviews-view-table__actions-column {
2934
+ text-align: left;
2935
+ }
2936
+
2937
+ .dataviews-view-table td.dataviews-view-table__actions-column--sticky,
2938
+ .dataviews-view-table th.dataviews-view-table__actions-column--sticky {
2939
+ position: sticky;
2940
+ left: 0;
2941
+ background-color: #fff;
2942
+ }
2943
+
2944
+ .dataviews-view-table td.dataviews-view-table__actions-column--stuck::after,
2945
+ .dataviews-view-table th.dataviews-view-table__actions-column--stuck::after {
2946
+ display: block;
2947
+ content: "";
2948
+ position: absolute;
2949
+ top: 0;
2950
+ bottom: 0;
2951
+ right: 0;
2952
+ width: 1px;
2953
+ background-color: #f0f0f0;
2954
+ }
2955
+
2956
+ .dataviews-view-table td.dataviews-view-table__checkbox-column,
2957
+ .dataviews-view-table th.dataviews-view-table__checkbox-column {
2958
+ padding-left: 0;
2959
+ width: 1%;
2960
+ }
2961
+
2962
+ .dataviews-view-table td.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper,
2963
+ .dataviews-view-table th.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper {
2964
+ max-width: auto;
2965
+ min-width: auto;
2966
+ }
2967
+
2968
+ .dataviews-view-table tr {
2969
+ border-top: 1px solid #f0f0f0;
2970
+ }
2971
+
2972
+ .dataviews-view-table tr .dataviews-view-table-header-button {
2973
+ gap: 4px;
2974
+ }
2975
+
2976
+ .dataviews-view-table tr td:first-child,
2977
+ .dataviews-view-table tr th:first-child {
2978
+ padding-right: 48px;
2979
+ }
2980
+
2981
+ .dataviews-view-table tr td:first-child .dataviews-view-table-header-button,
2982
+ .dataviews-view-table tr th:first-child .dataviews-view-table-header-button {
2983
+ margin-right: -8px;
2984
+ }
2985
+
2986
+ .dataviews-view-table tr td:last-child,
2987
+ .dataviews-view-table tr th:last-child {
2988
+ padding-left: 48px;
2989
+ }
2990
+
2991
+ .dataviews-view-table tr:last-child {
2992
+ border-bottom: 0;
2993
+ }
2994
+
2995
+ .dataviews-view-table tr.is-hovered, .dataviews-view-table tr.is-hovered .dataviews-view-table__actions-column--sticky {
2996
+ background-color: #f8f8f8;
2997
+ }
2998
+
2999
+ .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input {
3000
+ opacity: 0;
3001
+ }
3002
+
3003
+ .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:checked, .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:indeterminate, .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:focus {
3004
+ opacity: 1;
3005
+ }
3006
+
3007
+ .dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
3008
+ opacity: 0;
3009
+ }
3010
+
3011
+ .dataviews-view-table tr:focus-within .components-checkbox-control__input,
3012
+ .dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .components-checkbox-control__input,
3013
+ .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .components-checkbox-control__input,
3014
+ .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
3015
+ opacity: 1;
3016
+ }
3017
+
3018
+ @media (hover: none) {
3019
+ .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input,
3020
+ .dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
3021
+ opacity: 1;
3022
+ }
3023
+ }
3024
+ .dataviews-view-table tr.is-selected {
3025
+ background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3026
+ color: #757575;
3027
+ }
3028
+
3029
+ .dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
3030
+ border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
3031
+ }
3032
+
3033
+ .dataviews-view-table tr.is-selected:hover {
3034
+ background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3035
+ }
3036
+
3037
+ .dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
3038
+ background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
3039
+ }
3040
+
3041
+ .dataviews-view-table tr.is-selected:hover .dataviews-view-table__actions-column--sticky {
3042
+ background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 8%, #fff);
3043
+ }
3044
+
3045
+ .dataviews-view-table thead {
3046
+ position: sticky;
3047
+ inset-block-start: 0;
3048
+ z-index: 1;
3049
+ }
3050
+
3051
+ .dataviews-view-table thead tr {
3052
+ border: 0;
3053
+ }
3054
+
3055
+ .dataviews-view-table thead tr .components-checkbox-control__input.components-checkbox-control__input {
3056
+ opacity: 1;
3057
+ }
3058
+
3059
+ .dataviews-view-table thead th {
3060
+ background-color: #fff;
3061
+ padding-top: 8px;
3062
+ padding-bottom: 8px;
3063
+ padding-right: 12px;
3064
+ font-size: 11px;
3065
+ text-transform: uppercase;
3066
+ font-weight: 499;
3067
+ }
3068
+
3069
+ .dataviews-view-table thead th:has(.dataviews-view-table-header-button):not(:first-child) {
3070
+ padding-right: 4px;
3071
+ }
3072
+
3073
+ .dataviews-view-table tbody td {
3074
+ vertical-align: top;
3075
+ }
3076
+
3077
+ .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
3078
+ min-height: 32px;
3079
+ display: flex;
3080
+ align-items: center;
3081
+ }
3082
+
3083
+ .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-end {
3084
+ justify-content: flex-end;
3085
+ }
3086
+
3087
+ .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-center {
3088
+ justify-content: center;
3089
+ }
3090
+
3091
+ .dataviews-view-table tbody .components-v-stack > .dataviews-view-table__cell-content-wrapper:not(:first-child) {
3092
+ min-height: 0;
3093
+ }
3094
+
3095
+ .dataviews-view-table .dataviews-view-table-header-button {
3096
+ padding: 4px 8px;
3097
+ font-size: 11px;
3098
+ text-transform: uppercase;
3099
+ font-weight: 499;
3100
+ }
3101
+
3102
+ .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
3103
+ color: #1e1e1e;
3104
+ }
3105
+
3106
+ .dataviews-view-table .dataviews-view-table-header-button span {
3107
+ speak: none;
3108
+ }
3109
+
3110
+ .dataviews-view-table .dataviews-view-table-header-button span:empty {
3111
+ display: none;
3112
+ }
3113
+
3114
+ .dataviews-view-table .dataviews-view-table-header {
3115
+ padding-right: 4px;
3116
+ }
3117
+
3118
+ .dataviews-view-table .dataviews-view-table__actions-column {
3119
+ width: auto;
3120
+ white-space: nowrap;
3121
+ }
3122
+
3123
+ .dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
3124
+ opacity: 1;
3125
+ }
3126
+
3127
+ .dataviews-view-table.has-compact-density thead th:has(.dataviews-view-table-header-button):not(:first-child) {
3128
+ padding-right: 0;
3129
+ }
3130
+
3131
+ .dataviews-view-table.has-compact-density td,
3132
+ .dataviews-view-table.has-compact-density th {
3133
+ padding: 4px 8px;
3134
+ }
3135
+
3136
+ .dataviews-view-table.has-comfortable-density td,
3137
+ .dataviews-view-table.has-comfortable-density th {
3138
+ padding: 16px 12px;
3139
+ }
3140
+
3141
+ .dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column,
3142
+ .dataviews-view-table.has-compact-density th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-comfortable-density td.dataviews-view-table__checkbox-column,
3143
+ .dataviews-view-table.has-comfortable-density th.dataviews-view-table__checkbox-column {
3144
+ padding-left: 0;
3145
+ }
3146
+
3147
+ @container (max-width: 430px) {
3148
+ .dataviews-view-table tr td:first-child,
3149
+ .dataviews-view-table tr th:first-child {
3150
+ padding-right: 24px;
3151
+ }
3152
+ .dataviews-view-table tr td:last-child,
3153
+ .dataviews-view-table tr th:last-child {
3154
+ padding-left: 24px;
3155
+ }
3156
+ }
3157
+ .dataviews-view-table-selection-checkbox {
3158
+ --checkbox-input-size: 24px;
3159
+ }
3160
+
3161
+ @media (min-width: 600px) {
3162
+ .dataviews-view-table-selection-checkbox {
3163
+ --checkbox-input-size: 16px;
3164
+ }
3165
+ }
3166
+ .dataviews-column-primary__media {
3167
+ max-width: 60px;
3168
+ overflow: hidden;
3169
+ position: relative;
3170
+ flex-shrink: 0;
3171
+ background-color: #fff;
3172
+ border-radius: 4px;
3173
+ }
3174
+
3175
+ .dataviews-column-primary__media img {
3176
+ width: 100%;
3177
+ height: 100%;
3178
+ object-fit: cover;
3179
+ }
3180
+
3181
+ .dataviews-column-primary__media::after {
3182
+ content: "";
3183
+ position: absolute;
3184
+ top: 0;
3185
+ right: 0;
3186
+ width: 100%;
3187
+ height: 100%;
3188
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3189
+ border-radius: 4px;
3190
+ }
3191
+
3192
+ .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
3193
+ .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
3194
+ min-width: 15ch;
3195
+ max-width: 80ch;
3196
+ }
3197
+
3198
+ .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
3199
+ font-weight: 499;
3200
+ padding: 12px 48px;
3201
+ color: #1e1e1e;
3202
+ }
3203
+
3204
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3205
+ height: 100%;
3206
+ justify-content: flex-start;
3207
+ position: relative;
3208
+ }
3209
+
3210
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-actions {
3211
+ padding: 8px 0 4px;
3212
+ }
3213
+
3214
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field {
3215
+ min-height: 24px;
3216
+ overflow: hidden;
3217
+ align-content: center;
3218
+ text-align: start;
3219
+ }
3220
+
3221
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable {
3222
+ width: fit-content;
3223
+ }
3224
+
3225
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
3226
+ color: #1e1e1e;
3227
+ }
3228
+
3229
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after,
3230
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3231
+ background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3232
+ }
3233
+
3234
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after {
3235
+ box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
3236
+ }
3237
+
3238
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3239
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3240
+ }
3241
+
3242
+ .dataviews-view-picker-grid:focus-visible[aria-activedescendant] {
3243
+ outline: none;
3244
+ }
3245
+
3246
+ .dataviews-view-picker-grid:focus-visible [data-active-item=true] {
3247
+ outline: 2px solid var(--wp-admin-theme-color);
3248
+ }
3249
+
3250
+ .dataviews-view-picker-grid .dataviews-selection-checkbox {
3251
+ top: 8px !important;
3252
+ }
3253
+
3254
+ .dataviews-view-picker-grid .dataviews-selection-checkbox input {
3255
+ pointer-events: none;
3256
+ }
3257
+
3258
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__media {
3259
+ width: 100%;
3260
+ aspect-ratio: 1/1;
3261
+ background-color: #fff;
3262
+ border-radius: 4px;
3263
+ position: relative;
3264
+ }
3265
+
3266
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
3267
+ object-fit: cover;
3268
+ width: 100%;
3269
+ height: 100%;
3270
+ }
3271
+
3272
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__media::after {
3273
+ content: "";
3274
+ position: absolute;
3275
+ top: 0;
3276
+ right: 0;
3277
+ width: 100%;
3278
+ height: 100%;
3279
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3280
+ border-radius: 4px;
3281
+ pointer-events: none;
3282
+ }
3283
+
3284
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
3285
+ position: relative;
3286
+ font-size: 12px;
3287
+ line-height: 16px;
3288
+ }
3289
+
3290
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__fields:not(:empty) {
3291
+ padding: 0 0 12px;
3292
+ }
3293
+
3294
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
3295
+ min-height: 24px;
3296
+ line-height: 20px;
3297
+ padding-top: 2px;
3298
+ }
3299
+
3300
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
3301
+ min-height: 24px;
3302
+ align-items: center;
3303
+ }
3304
+
3305
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name {
3306
+ width: 35%;
3307
+ color: #757575;
3308
+ overflow: hidden;
3309
+ text-overflow: ellipsis;
3310
+ white-space: nowrap;
3311
+ }
3312
+
3313
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
3314
+ width: 65%;
3315
+ overflow: hidden;
3316
+ text-overflow: ellipsis;
3317
+ white-space: nowrap;
3318
+ }
3319
+
3320
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field:not(:has(.dataviews-view-picker-grid__field-value:not(:empty))) {
3321
+ display: none;
3322
+ }
3323
+
3324
+ .dataviews-view-picker-grid .dataviews-view-picker-grid__badge-fields:not(:empty) {
3325
+ padding-bottom: 12px;
3326
+ }
3327
+
3328
+ .dataviews-view-picker-grid__field-value:empty,
3329
+ .dataviews-view-picker-grid__field:empty {
3330
+ display: none;
3331
+ }
3332
+
3333
+ .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3334
+ position: absolute;
3335
+ top: -9999em;
3336
+ right: 8px;
3337
+ z-index: 1;
3338
+ }
3339
+
3340
+ @media (hover: none) {
3341
+ .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3342
+ top: 8px;
3343
+ }
3344
+ }
3345
+ .dataviews-view-picker-grid__card:hover .dataviews-selection-checkbox,
3346
+ .dataviews-view-picker-grid__card:focus-within .dataviews-selection-checkbox,
3347
+ .dataviews-view-picker-grid__card.is-selected .dataviews-selection-checkbox {
3348
+ top: 8px;
3349
+ }
3350
+
3351
+ .dataviews-view-picker-grid__media--clickable {
3352
+ cursor: pointer;
3353
+ }
3354
+
3355
+ .dataviews-view-picker-grid-group__header {
3356
+ font-size: 15px;
3357
+ font-weight: 499;
3358
+ color: #1e1e1e;
3359
+ margin: 0 0 8px 0;
3360
+ padding: 0 48px;
3361
+ }
3362
+
3363
+ .dataviews-controls__datetime {
3364
+ border: none;
3365
+ padding: 0;
3366
+ }
3367
+
3368
+ .dataviews-controls__relative-date-number,
3369
+ .dataviews-controls__relative-date-unit {
3370
+ flex: 1 1 50%;
3371
+ }
3372
+
3373
+ .dataviews-controls__date input[type=date]::-webkit-inner-spin-button,
3374
+ .dataviews-controls__date input[type=date]::-webkit-calendar-picker-indicator {
3375
+ display: none;
3376
+ -webkit-appearance: none;
3377
+ }
3378
+
3379
+ .dataviews-controls__date-preset {
3380
+ border: 1px solid #ddd;
3381
+ }
3382
+
3383
+ .dataviews-controls__date-preset:active {
3384
+ background-color: #000;
3385
+ }
3386
+
3387
+ .dataforms-layouts-panel__field {
3388
+ width: 100%;
3389
+ min-height: 32px;
3390
+ justify-content: flex-start !important;
3391
+ align-items: flex-start !important;
3392
+ }
3393
+
3394
+ .dataforms-layouts-panel__field-label {
3395
+ width: 38%;
3396
+ flex-shrink: 0;
3397
+ min-height: 32px;
3398
+ display: flex;
3399
+ align-items: center;
3400
+ line-height: 20px;
3401
+ hyphens: auto;
3402
+ }
3403
+
3404
+ .dataforms-layouts-panel__field-label--label-position-side {
3405
+ align-self: center;
3406
+ }
3407
+
3408
+ .dataforms-layouts-panel__field-control {
3409
+ flex-grow: 1;
3410
+ min-height: 32px;
3411
+ display: flex;
3412
+ align-items: center;
3413
+ }
3414
+
3415
+ .dataforms-layouts-panel__field-control .components-button {
3416
+ max-width: 100%;
3417
+ text-align: right;
3418
+ white-space: normal;
3419
+ text-wrap: balance;
3420
+ text-wrap: pretty;
3421
+ min-height: 32px;
3422
+ }
3423
+
3424
+ .dataforms-layouts-panel__field-control.components-button.is-link[aria-disabled=true] {
3425
+ text-decoration: none;
3426
+ }
3427
+
3428
+ .dataforms-layouts-panel__field-control .components-dropdown {
3429
+ max-width: 100%;
3430
+ }
3431
+
3432
+ .dataforms-layouts-panel__field-dropdown .components-popover__content {
3433
+ min-width: 320px;
3434
+ padding: 16px;
3435
+ }
3436
+
3437
+ .dataforms-layouts-panel__dropdown-header {
3438
+ margin-bottom: 16px;
3439
+ }
3440
+
3441
+ .dataforms-layouts-panel__modal-footer {
3442
+ margin-top: 16px;
3443
+ }
3444
+
3445
+ .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
3446
+ z-index: 159990;
3447
+ }
3448
+
3449
+ .dataforms-layouts-regular__field {
3450
+ width: 100%;
3451
+ min-height: 32px;
3452
+ justify-content: flex-start !important;
3453
+ align-items: flex-start !important;
3454
+ }
3455
+
3456
+ .dataforms-layouts-regular__field-label {
3457
+ width: 38%;
3458
+ flex-shrink: 0;
3459
+ min-height: 32px;
3460
+ display: flex;
3461
+ align-items: center;
3462
+ line-height: 20px;
3463
+ hyphens: auto;
3464
+ }
3465
+
3466
+ .dataforms-layouts-regular__field-label--label-position-side {
3467
+ align-self: center;
3468
+ }
3469
+
3470
+ .dataforms-layouts-regular__field-control {
3471
+ flex-grow: 1;
3472
+ min-height: 32px;
3473
+ display: flex;
3474
+ align-items: center;
3475
+ }
3476
+
3477
+ .dataforms-layouts-card__field-header-label {
3478
+ font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3479
+ font-weight: 499;
3480
+ font-size: 15px;
3481
+ line-height: 20px;
3482
+ }
3483
+
3484
+ .dataforms-layouts-card__field {
3485
+ width: 100%;
3486
+ }
3487
+
3488
+ .dataforms-layouts-card__field-description {
3489
+ color: #757575;
3490
+ display: block;
3491
+ font-size: 13px;
3492
+ margin-bottom: 16px;
3493
+ }
3494
+
3495
+ .dataforms-layouts-card__field-summary {
3496
+ display: flex;
3497
+ flex-direction: row;
3498
+ gap: 16px;
3499
+ }
3500
+
3501
+ .dataforms-layouts-row__field-control {
3502
+ width: 100%;
3503
+ }
3504
+
3505
+ .dataforms-layouts__wrapper {
3506
+ font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3507
+ font-weight: 400;
3508
+ font-size: 13px;
3509
+ line-height: 20px;
3510
+ }
3511
+
689
3512
  .editor-autocompleters__user .editor-autocompleters__no-avatar::before {
690
3513
  /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
691
3514
  font: normal 20px/1 dashicons;
@@ -819,7 +3642,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
819
3642
  }
820
3643
 
821
3644
  .editor-collab-sidebar-panel__more-reply-button {
822
- font-weight: 500;
3645
+ font-weight: 499;
823
3646
  }
824
3647
 
825
3648
  .editor-collab-sidebar-panel__resolution-text {
@@ -1006,11 +3829,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1006
3829
  display: none;
1007
3830
  }
1008
3831
 
1009
- .editor-content-only-settings-menu__description {
1010
- padding: 8px;
1011
- min-width: 235px;
1012
- }
1013
-
1014
3832
  .editor-block-visibility__disabled-blocks-count {
1015
3833
  border: 1px solid #ddd;
1016
3834
  border-width: 1px 0;
@@ -1405,6 +4223,115 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1405
4223
  background-color: #fff;
1406
4224
  }
1407
4225
 
4226
+ .editor-global-styles-header__description {
4227
+ padding: 0 16px;
4228
+ }
4229
+
4230
+ .editor-global-styles-header {
4231
+ margin-bottom: 0 !important;
4232
+ }
4233
+
4234
+ .editor-global-styles-sidebar {
4235
+ display: flex;
4236
+ flex-direction: column;
4237
+ min-height: 100%;
4238
+ }
4239
+ .editor-global-styles-sidebar__panel {
4240
+ flex: 1;
4241
+ }
4242
+ .editor-global-styles-sidebar .components-navigator-screen {
4243
+ padding: 0;
4244
+ }
4245
+
4246
+ .editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
4247
+ margin: 0;
4248
+ }
4249
+
4250
+ .editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
4251
+ flex: 1;
4252
+ }
4253
+
4254
+ .editor-global-styles-sidebar .components-navigation__menu-title-heading {
4255
+ font-size: 15.6px;
4256
+ font-weight: 499;
4257
+ }
4258
+
4259
+ .editor-global-styles-sidebar .components-navigation__item > button span {
4260
+ font-weight: 499;
4261
+ }
4262
+
4263
+ .editor-global-styles-sidebar .block-editor-panel-color-gradient-settings {
4264
+ border: 0;
4265
+ }
4266
+
4267
+ .editor-global-styles-sidebar .single-column {
4268
+ grid-column: span 1;
4269
+ }
4270
+
4271
+ .editor-global-styles-sidebar .components-tools-panel .span-columns {
4272
+ grid-column: 1/-1;
4273
+ }
4274
+
4275
+ .editor-global-styles-sidebar__blocks-group {
4276
+ padding-top: 24px;
4277
+ border-top: 1px solid #e0e0e0;
4278
+ }
4279
+
4280
+ .editor-global-styles-sidebar__blocks-group-help {
4281
+ padding: 0 16px;
4282
+ }
4283
+
4284
+ .global-styles-ui-color-palette-panel,
4285
+ .global-styles-ui-gradient-palette-panel {
4286
+ padding: 16px;
4287
+ }
4288
+
4289
+ .editor-global-styles-sidebar hr {
4290
+ margin: 0;
4291
+ }
4292
+
4293
+ .show-icon-labels .editor-global-styles-sidebar__header .components-button.has-icon {
4294
+ width: auto;
4295
+ }
4296
+ .show-icon-labels .editor-global-styles-sidebar__header .components-button.has-icon svg {
4297
+ display: none;
4298
+ }
4299
+ .show-icon-labels .editor-global-styles-sidebar__header .components-button.has-icon::after {
4300
+ content: attr(aria-label);
4301
+ font-size: 12px;
4302
+ }
4303
+
4304
+ .editor-welcome-guide {
4305
+ width: 312px;
4306
+ }
4307
+ .editor-welcome-guide.guide-styles .editor-welcome-guide__image {
4308
+ background: #00a0d2;
4309
+ }
4310
+ .editor-welcome-guide__image {
4311
+ margin: 0 0 16px;
4312
+ }
4313
+ .editor-welcome-guide__image > img {
4314
+ display: block;
4315
+ max-width: 100%;
4316
+ object-fit: cover;
4317
+ }
4318
+ .editor-welcome-guide__heading {
4319
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4320
+ font-size: 24px;
4321
+ line-height: 1.4;
4322
+ margin: 16px 0 16px 0;
4323
+ padding: 0 32px;
4324
+ }
4325
+ .editor-welcome-guide__text {
4326
+ font-size: 13px;
4327
+ line-height: 1.4;
4328
+ margin: 0 0 16px 0;
4329
+ padding: 0 32px;
4330
+ }
4331
+ .editor-welcome-guide__text img {
4332
+ vertical-align: bottom;
4333
+ }
4334
+
1408
4335
  .editor-header {
1409
4336
  box-sizing: border-box;
1410
4337
  }
@@ -1870,7 +4797,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1870
4797
  }
1871
4798
  .editor-post-card-panel__title.editor-post-card-panel__title {
1872
4799
  font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1873
- font-weight: 500;
4800
+ font-weight: 499;
1874
4801
  font-size: 13px;
1875
4802
  line-height: 20px;
1876
4803
  margin: 0;
@@ -2034,7 +4961,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
2034
4961
 
2035
4962
  .editor-post-last-revision__title {
2036
4963
  width: 100%;
2037
- font-weight: 500;
4964
+ font-weight: 499;
2038
4965
  }
2039
4966
 
2040
4967
  .editor-post-last-revision__title.components-button.has-icon {
@@ -2103,6 +5030,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
2103
5030
  text-wrap: pretty;
2104
5031
  height: auto;
2105
5032
  min-height: 32px;
5033
+ font-weight: 400;
2106
5034
  }
2107
5035
  .editor-post-panel__row-control .components-dropdown {
2108
5036
  max-width: 100%;
@@ -2275,7 +5203,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
2275
5203
  }
2276
5204
 
2277
5205
  .post-publish-panel__postpublish-header {
2278
- font-weight: 500;
5206
+ font-weight: 499;
2279
5207
  }
2280
5208
 
2281
5209
  .post-publish-panel__postpublish-subheader {
@@ -2818,6 +5746,79 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2818
5746
  padding: 16px;
2819
5747
  }
2820
5748
 
5749
+ .editor-style-book {
5750
+ height: 100%;
5751
+ }
5752
+ .editor-style-book.is-button {
5753
+ border-radius: 8px;
5754
+ }
5755
+ .editor-style-book {
5756
+ display: flex;
5757
+ flex-direction: column;
5758
+ align-items: stretch;
5759
+ }
5760
+
5761
+ .editor-style-book__iframe {
5762
+ display: block;
5763
+ height: 100%;
5764
+ width: 100%;
5765
+ }
5766
+ .editor-style-book__iframe.is-button {
5767
+ border-radius: 8px;
5768
+ }
5769
+ .editor-style-book__iframe.is-focused {
5770
+ outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
5771
+ outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
5772
+ }
5773
+
5774
+ .editor-style-book__tablist-container {
5775
+ flex: none;
5776
+ display: flex;
5777
+ width: 100%;
5778
+ padding-left: 56px;
5779
+ background: #fff;
5780
+ }
5781
+
5782
+ .editor-style-book__tabpanel {
5783
+ flex: 1 0 auto;
5784
+ overflow: auto;
5785
+ }
5786
+
5787
+ .editor-styles-canvas {
5788
+ height: 100%;
5789
+ padding: 16px;
5790
+ background-color: var(--wp-editor-canvas-background);
5791
+ }
5792
+ .editor-styles-canvas iframe {
5793
+ display: block;
5794
+ width: 100%;
5795
+ height: 100%;
5796
+ }
5797
+
5798
+ .editor-styles-canvas__section {
5799
+ background: #fff;
5800
+ border-radius: 8px;
5801
+ bottom: 0;
5802
+ right: 0;
5803
+ overflow: hidden;
5804
+ position: absolute;
5805
+ left: 0;
5806
+ top: 0;
5807
+ }
5808
+ @media not (prefers-reduced-motion) {
5809
+ .editor-styles-canvas__section {
5810
+ transition: all 0.3s;
5811
+ }
5812
+ }
5813
+
5814
+ .editor-styles-canvas__close-button {
5815
+ position: absolute;
5816
+ left: 8px;
5817
+ top: 8px;
5818
+ z-index: 2;
5819
+ background: #fff;
5820
+ }
5821
+
2821
5822
  .table-of-contents__popover.components-popover .components-popover__content {
2822
5823
  min-width: 380px;
2823
5824
  }
@@ -3011,4 +6012,9 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
3011
6012
 
3012
6013
  .editor-fields-content-preview__empty {
3013
6014
  text-align: center;
6015
+ }
6016
+
6017
+ .editor-push-changes-to-global-styles-control .components-button {
6018
+ justify-content: center;
6019
+ width: 100%;
3014
6020
  }