From 11d4f1b3bf0885d6e31e90bcdfa77181849f7680 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 9 Mar 2023 00:05:24 +0000 Subject: [PATCH] Build/Test Tools: Fix cleaning of old CSS files in `wp-includes/blocks/*`. Have to be cleaned earlier, before Webpack runs. Not together with the rest of the CSS files. Props: ironprogrammer, petitphp, hellofromTonya, azaozz. Fixes: #57891. Built from https://develop.svn.wordpress.org/trunk@55494 git-svn-id: http://core.svn.wordpress.org/trunk@55027 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks/archives/editor-rtl.css | 3 + .../blocks/archives/editor-rtl.min.css | 1 + wp-includes/blocks/archives/editor.css | 3 + wp-includes/blocks/archives/editor.min.css | 1 + wp-includes/blocks/archives/style-rtl.css | 7 + wp-includes/blocks/archives/style-rtl.min.css | 1 + wp-includes/blocks/archives/style.css | 7 + wp-includes/blocks/archives/style.min.css | 1 + wp-includes/blocks/audio/editor-rtl.css | 15 + wp-includes/blocks/audio/editor-rtl.min.css | 1 + wp-includes/blocks/audio/editor.css | 15 + wp-includes/blocks/audio/editor.min.css | 1 + wp-includes/blocks/audio/style-rtl.css | 11 + wp-includes/blocks/audio/style-rtl.min.css | 1 + wp-includes/blocks/audio/style.css | 11 + wp-includes/blocks/audio/style.min.css | 1 + wp-includes/blocks/audio/theme-rtl.css | 12 + wp-includes/blocks/audio/theme-rtl.min.css | 1 + wp-includes/blocks/audio/theme.css | 12 + wp-includes/blocks/audio/theme.min.css | 1 + wp-includes/blocks/avatar/editor-rtl.css | 7 + wp-includes/blocks/avatar/editor-rtl.min.css | 1 + wp-includes/blocks/avatar/editor.css | 7 + wp-includes/blocks/avatar/editor.min.css | 1 + wp-includes/blocks/avatar/style-rtl.css | 6 + wp-includes/blocks/avatar/style-rtl.min.css | 1 + wp-includes/blocks/avatar/style.css | 6 + wp-includes/blocks/avatar/style.min.css | 1 + wp-includes/blocks/block/editor-rtl.css | 20 + wp-includes/blocks/block/editor-rtl.min.css | 1 + wp-includes/blocks/block/editor.css | 20 + wp-includes/blocks/block/editor.min.css | 1 + wp-includes/blocks/button/editor-rtl.css | 61 +++ wp-includes/blocks/button/editor-rtl.min.css | 1 + wp-includes/blocks/button/editor.css | 61 +++ wp-includes/blocks/button/editor.min.css | 2 + wp-includes/blocks/button/style-rtl.css | 79 +++ wp-includes/blocks/button/style-rtl.min.css | 1 + wp-includes/blocks/button/style.css | 79 +++ wp-includes/blocks/button/style.min.css | 1 + wp-includes/blocks/buttons/editor-rtl.css | 34 ++ wp-includes/blocks/buttons/editor-rtl.min.css | 1 + wp-includes/blocks/buttons/editor.css | 34 ++ wp-includes/blocks/buttons/editor.min.css | 1 + wp-includes/blocks/buttons/style-rtl.css | 49 ++ wp-includes/blocks/buttons/style-rtl.min.css | 1 + wp-includes/blocks/buttons/style.css | 49 ++ wp-includes/blocks/buttons/style.min.css | 1 + wp-includes/blocks/calendar/style-rtl.css | 33 ++ wp-includes/blocks/calendar/style-rtl.min.css | 1 + wp-includes/blocks/calendar/style.css | 33 ++ wp-includes/blocks/calendar/style.min.css | 1 + wp-includes/blocks/categories/editor-rtl.css | 6 + .../blocks/categories/editor-rtl.min.css | 1 + wp-includes/blocks/categories/editor.css | 6 + wp-includes/blocks/categories/editor.min.css | 1 + wp-includes/blocks/categories/style-rtl.css | 9 + .../blocks/categories/style-rtl.min.css | 1 + wp-includes/blocks/categories/style.css | 9 + wp-includes/blocks/categories/style.min.css | 1 + wp-includes/blocks/code/editor-rtl.css | 3 + wp-includes/blocks/code/editor-rtl.min.css | 1 + wp-includes/blocks/code/editor.css | 3 + wp-includes/blocks/code/editor.min.css | 1 + wp-includes/blocks/code/style-rtl.css | 9 + wp-includes/blocks/code/style-rtl.min.css | 1 + wp-includes/blocks/code/style.css | 9 + wp-includes/blocks/code/style.min.css | 1 + wp-includes/blocks/code/theme-rtl.css | 6 + wp-includes/blocks/code/theme-rtl.min.css | 1 + wp-includes/blocks/code/theme.css | 6 + wp-includes/blocks/code/theme.min.css | 1 + wp-includes/blocks/columns/editor-rtl.css | 10 + wp-includes/blocks/columns/editor-rtl.min.css | 1 + wp-includes/blocks/columns/editor.css | 10 + wp-includes/blocks/columns/editor.min.css | 1 + wp-includes/blocks/columns/style-rtl.css | 68 +++ wp-includes/blocks/columns/style-rtl.min.css | 1 + wp-includes/blocks/columns/style.css | 68 +++ wp-includes/blocks/columns/style.min.css | 1 + .../blocks/comment-content/style-rtl.css | 5 + .../blocks/comment-content/style-rtl.min.css | 1 + wp-includes/blocks/comment-content/style.css | 5 + .../blocks/comment-content/style.min.css | 1 + .../blocks/comment-template/style-rtl.css | 28 ++ .../blocks/comment-template/style-rtl.min.css | 1 + wp-includes/blocks/comment-template/style.css | 28 ++ .../blocks/comment-template/style.min.css | 1 + .../editor-rtl.css | 9 + .../editor-rtl.min.css | 1 + .../comments-pagination-numbers/editor.css | 9 + .../editor.min.css | 1 + .../blocks/comments-pagination/editor-rtl.css | 19 + .../comments-pagination/editor-rtl.min.css | 1 + .../blocks/comments-pagination/editor.css | 17 + .../blocks/comments-pagination/editor.min.css | 1 + .../blocks/comments-pagination/style-rtl.css | 24 + .../comments-pagination/style-rtl.min.css | 1 + .../blocks/comments-pagination/style.css | 24 + .../blocks/comments-pagination/style.min.css | 1 + .../blocks/comments-title/editor-rtl.css | 3 + .../blocks/comments-title/editor-rtl.min.css | 1 + wp-includes/blocks/comments-title/editor.css | 3 + .../blocks/comments-title/editor.min.css | 1 + wp-includes/blocks/comments/editor-rtl.css | 111 +++++ .../blocks/comments/editor-rtl.min.css | 1 + wp-includes/blocks/comments/editor.css | 111 +++++ wp-includes/blocks/comments/editor.min.css | 1 + wp-includes/blocks/comments/style-rtl.css | 103 ++++ wp-includes/blocks/comments/style-rtl.min.css | 1 + wp-includes/blocks/comments/style.css | 103 ++++ wp-includes/blocks/comments/style.min.css | 1 + wp-includes/blocks/cover/editor-rtl.css | 87 ++++ wp-includes/blocks/cover/editor-rtl.min.css | 1 + wp-includes/blocks/cover/editor.css | 87 ++++ wp-includes/blocks/cover/editor.min.css | 1 + wp-includes/blocks/cover/style-rtl.css | 233 +++++++++ wp-includes/blocks/cover/style-rtl.min.css | 1 + wp-includes/blocks/cover/style.css | 233 +++++++++ wp-includes/blocks/cover/style.min.css | 1 + wp-includes/blocks/embed/editor-rtl.css | 32 ++ wp-includes/blocks/embed/editor-rtl.min.css | 1 + wp-includes/blocks/embed/editor.css | 32 ++ wp-includes/blocks/embed/editor.min.css | 1 + wp-includes/blocks/embed/style-rtl.css | 64 +++ wp-includes/blocks/embed/style-rtl.min.css | 1 + wp-includes/blocks/embed/style.css | 64 +++ wp-includes/blocks/embed/style.min.css | 1 + wp-includes/blocks/embed/theme-rtl.css | 12 + wp-includes/blocks/embed/theme-rtl.min.css | 1 + wp-includes/blocks/embed/theme.css | 12 + wp-includes/blocks/embed/theme.min.css | 1 + wp-includes/blocks/file/editor-rtl.css | 35 ++ wp-includes/blocks/file/editor-rtl.min.css | 1 + wp-includes/blocks/file/editor.css | 35 ++ wp-includes/blocks/file/editor.min.css | 1 + wp-includes/blocks/file/style-rtl.css | 30 ++ wp-includes/blocks/file/style-rtl.min.css | 1 + wp-includes/blocks/file/style.css | 30 ++ wp-includes/blocks/file/style.min.css | 1 + wp-includes/blocks/freeform/editor-rtl.css | 302 ++++++++++++ .../blocks/freeform/editor-rtl.min.css | 1 + wp-includes/blocks/freeform/editor.css | 302 ++++++++++++ wp-includes/blocks/freeform/editor.min.css | 1 + wp-includes/blocks/gallery/editor-rtl.css | 151 ++++++ wp-includes/blocks/gallery/editor-rtl.min.css | 1 + wp-includes/blocks/gallery/editor.css | 151 ++++++ wp-includes/blocks/gallery/editor.min.css | 1 + wp-includes/blocks/gallery/style-rtl.css | 232 +++++++++ wp-includes/blocks/gallery/style-rtl.min.css | 1 + wp-includes/blocks/gallery/style.css | 232 +++++++++ wp-includes/blocks/gallery/style.min.css | 1 + wp-includes/blocks/gallery/theme-rtl.css | 8 + wp-includes/blocks/gallery/theme-rtl.min.css | 1 + wp-includes/blocks/gallery/theme.css | 8 + wp-includes/blocks/gallery/theme.min.css | 1 + wp-includes/blocks/group/editor-rtl.css | 90 ++++ wp-includes/blocks/group/editor-rtl.min.css | 1 + wp-includes/blocks/group/editor.css | 90 ++++ wp-includes/blocks/group/editor.min.css | 1 + wp-includes/blocks/group/style-rtl.css | 3 + wp-includes/blocks/group/style-rtl.min.css | 1 + wp-includes/blocks/group/style.css | 3 + wp-includes/blocks/group/style.min.css | 1 + wp-includes/blocks/group/theme-rtl.css | 3 + wp-includes/blocks/group/theme-rtl.min.css | 1 + wp-includes/blocks/group/theme.css | 3 + wp-includes/blocks/group/theme.min.css | 1 + wp-includes/blocks/heading/style-rtl.css | 3 + wp-includes/blocks/heading/style-rtl.min.css | 1 + wp-includes/blocks/heading/style.css | 3 + wp-includes/blocks/heading/style.min.css | 1 + wp-includes/blocks/html/editor-rtl.css | 28 ++ wp-includes/blocks/html/editor-rtl.min.css | 1 + wp-includes/blocks/html/editor.css | 28 ++ wp-includes/blocks/html/editor.min.css | 1 + wp-includes/blocks/image/editor-rtl.css | 126 +++++ wp-includes/blocks/image/editor-rtl.min.css | 1 + wp-includes/blocks/image/editor.css | 126 +++++ wp-includes/blocks/image/editor.min.css | 1 + wp-includes/blocks/image/style-rtl.css | 93 ++++ wp-includes/blocks/image/style-rtl.min.css | 1 + wp-includes/blocks/image/style.css | 89 ++++ wp-includes/blocks/image/style.min.css | 1 + wp-includes/blocks/image/theme-rtl.css | 12 + wp-includes/blocks/image/theme-rtl.min.css | 1 + wp-includes/blocks/image/theme.css | 12 + wp-includes/blocks/image/theme.min.css | 1 + .../blocks/latest-comments/style-rtl.css | 44 ++ .../blocks/latest-comments/style-rtl.min.css | 1 + wp-includes/blocks/latest-comments/style.css | 44 ++ .../blocks/latest-comments/style.min.css | 1 + .../blocks/latest-posts/editor-rtl.css | 24 + .../blocks/latest-posts/editor-rtl.min.css | 1 + wp-includes/blocks/latest-posts/editor.css | 24 + .../blocks/latest-posts/editor.min.css | 1 + wp-includes/blocks/latest-posts/style-rtl.css | 88 ++++ .../blocks/latest-posts/style-rtl.min.css | 1 + wp-includes/blocks/latest-posts/style.css | 88 ++++ wp-includes/blocks/latest-posts/style.min.css | 1 + wp-includes/blocks/list/style-rtl.css | 6 + wp-includes/blocks/list/style-rtl.min.css | 1 + wp-includes/blocks/list/style.css | 6 + wp-includes/blocks/list/style.min.css | 1 + wp-includes/blocks/media-text/editor-rtl.css | 30 ++ .../blocks/media-text/editor-rtl.min.css | 1 + wp-includes/blocks/media-text/editor.css | 30 ++ wp-includes/blocks/media-text/editor.min.css | 1 + wp-includes/blocks/media-text/style-rtl.css | 88 ++++ .../blocks/media-text/style-rtl.min.css | 1 + wp-includes/blocks/media-text/style.css | 88 ++++ wp-includes/blocks/media-text/style.min.css | 11 + wp-includes/blocks/more/editor-rtl.css | 41 ++ wp-includes/blocks/more/editor-rtl.min.css | 1 + wp-includes/blocks/more/editor.css | 41 ++ wp-includes/blocks/more/editor.min.css | 1 + .../blocks/navigation-link/editor-rtl.css | 86 ++++ .../blocks/navigation-link/editor-rtl.min.css | 1 + wp-includes/blocks/navigation-link/editor.css | 86 ++++ .../blocks/navigation-link/editor.min.css | 1 + .../blocks/navigation-link/style-rtl.css | 7 + .../blocks/navigation-link/style-rtl.min.css | 1 + wp-includes/blocks/navigation-link/style.css | 7 + .../blocks/navigation-link/style.min.css | 1 + .../blocks/navigation-submenu/editor-rtl.css | 31 ++ .../navigation-submenu/editor-rtl.min.css | 1 + .../blocks/navigation-submenu/editor.css | 31 ++ .../blocks/navigation-submenu/editor.min.css | 1 + wp-includes/blocks/navigation/editor-rtl.css | 452 ++++++++++++++++++ .../blocks/navigation/editor-rtl.min.css | 1 + wp-includes/blocks/navigation/editor.css | 452 ++++++++++++++++++ wp-includes/blocks/navigation/editor.min.css | 1 + wp-includes/blocks/navigation/style-rtl.css | 452 ++++++++++++++++++ .../blocks/navigation/style-rtl.min.css | 1 + wp-includes/blocks/navigation/style.css | 452 ++++++++++++++++++ wp-includes/blocks/navigation/style.min.css | 1 + wp-includes/blocks/nextpage/editor-rtl.css | 32 ++ .../blocks/nextpage/editor-rtl.min.css | 1 + wp-includes/blocks/nextpage/editor.css | 32 ++ wp-includes/blocks/nextpage/editor.min.css | 1 + wp-includes/blocks/page-list/editor-rtl.css | 46 ++ .../blocks/page-list/editor-rtl.min.css | 1 + wp-includes/blocks/page-list/editor.css | 46 ++ wp-includes/blocks/page-list/editor.min.css | 1 + wp-includes/blocks/page-list/style-rtl.css | 11 + .../blocks/page-list/style-rtl.min.css | 1 + wp-includes/blocks/page-list/style.css | 11 + wp-includes/blocks/page-list/style.min.css | 1 + wp-includes/blocks/paragraph/editor-rtl.css | 11 + .../blocks/paragraph/editor-rtl.min.css | 1 + wp-includes/blocks/paragraph/editor.css | 11 + wp-includes/blocks/paragraph/editor.min.css | 1 + wp-includes/blocks/paragraph/style-rtl.css | 42 ++ .../blocks/paragraph/style-rtl.min.css | 1 + wp-includes/blocks/paragraph/style.css | 42 ++ wp-includes/blocks/paragraph/style.min.css | 1 + wp-includes/blocks/post-author/style-rtl.css | 24 + .../blocks/post-author/style-rtl.min.css | 1 + wp-includes/blocks/post-author/style.css | 24 + wp-includes/blocks/post-author/style.min.css | 1 + .../blocks/post-comments-form/editor-rtl.css | 6 + .../post-comments-form/editor-rtl.min.css | 1 + .../blocks/post-comments-form/editor.css | 6 + .../blocks/post-comments-form/editor.min.css | 1 + .../blocks/post-comments-form/style-rtl.css | 59 +++ .../post-comments-form/style-rtl.min.css | 1 + .../blocks/post-comments-form/style.css | 59 +++ .../blocks/post-comments-form/style.min.css | 1 + wp-includes/blocks/post-date/style-rtl.css | 3 + .../blocks/post-date/style-rtl.min.css | 1 + wp-includes/blocks/post-date/style.css | 3 + wp-includes/blocks/post-date/style.min.css | 1 + .../blocks/post-excerpt/editor-rtl.css | 3 + .../blocks/post-excerpt/editor-rtl.min.css | 1 + wp-includes/blocks/post-excerpt/editor.css | 3 + .../blocks/post-excerpt/editor.min.css | 1 + wp-includes/blocks/post-excerpt/style-rtl.css | 18 + .../blocks/post-excerpt/style-rtl.min.css | 1 + wp-includes/blocks/post-excerpt/style.css | 18 + wp-includes/blocks/post-excerpt/style.min.css | 1 + .../blocks/post-featured-image/editor-rtl.css | 73 +++ .../post-featured-image/editor-rtl.min.css | 1 + .../blocks/post-featured-image/editor.css | 73 +++ .../blocks/post-featured-image/editor.min.css | 1 + .../blocks/post-featured-image/style-rtl.css | 62 +++ .../post-featured-image/style-rtl.min.css | 1 + .../blocks/post-featured-image/style.css | 62 +++ .../blocks/post-featured-image/style.min.css | 1 + .../blocks/post-navigation-link/style-rtl.css | 14 + .../post-navigation-link/style-rtl.min.css | 1 + .../blocks/post-navigation-link/style.css | 14 + .../blocks/post-navigation-link/style.min.css | 1 + .../blocks/post-template/editor-rtl.css | 5 + .../blocks/post-template/editor-rtl.min.css | 1 + wp-includes/blocks/post-template/editor.css | 5 + .../blocks/post-template/editor.min.css | 1 + .../blocks/post-template/style-rtl.css | 37 ++ .../blocks/post-template/style-rtl.min.css | 1 + wp-includes/blocks/post-template/style.css | 37 ++ .../blocks/post-template/style.min.css | 1 + wp-includes/blocks/post-terms/style-rtl.css | 6 + .../blocks/post-terms/style-rtl.min.css | 1 + wp-includes/blocks/post-terms/style.css | 6 + wp-includes/blocks/post-terms/style.min.css | 1 + wp-includes/blocks/post-title/style-rtl.css | 7 + .../blocks/post-title/style-rtl.min.css | 1 + wp-includes/blocks/post-title/style.css | 7 + wp-includes/blocks/post-title/style.min.css | 1 + wp-includes/blocks/preformatted/style-rtl.css | 7 + .../blocks/preformatted/style-rtl.min.css | 1 + wp-includes/blocks/preformatted/style.css | 7 + wp-includes/blocks/preformatted/style.min.css | 1 + wp-includes/blocks/pullquote/editor-rtl.css | 11 + .../blocks/pullquote/editor-rtl.min.css | 1 + wp-includes/blocks/pullquote/editor.css | 11 + wp-includes/blocks/pullquote/editor.min.css | 1 + wp-includes/blocks/pullquote/style-rtl.css | 49 ++ .../blocks/pullquote/style-rtl.min.css | 1 + wp-includes/blocks/pullquote/style.css | 49 ++ wp-includes/blocks/pullquote/style.min.css | 1 + wp-includes/blocks/pullquote/theme-rtl.css | 12 + .../blocks/pullquote/theme-rtl.min.css | 1 + wp-includes/blocks/pullquote/theme.css | 12 + wp-includes/blocks/pullquote/theme.min.css | 1 + .../query-pagination-numbers/editor-rtl.css | 9 + .../editor-rtl.min.css | 1 + .../query-pagination-numbers/editor.css | 9 + .../query-pagination-numbers/editor.min.css | 1 + .../blocks/query-pagination/editor-rtl.css | 19 + .../query-pagination/editor-rtl.min.css | 1 + .../blocks/query-pagination/editor.css | 17 + .../blocks/query-pagination/editor.min.css | 1 + .../blocks/query-pagination/style-rtl.css | 30 ++ .../blocks/query-pagination/style-rtl.min.css | 1 + wp-includes/blocks/query-pagination/style.css | 30 ++ .../blocks/query-pagination/style.min.css | 1 + wp-includes/blocks/query-title/style-rtl.css | 3 + .../blocks/query-title/style-rtl.min.css | 1 + wp-includes/blocks/query-title/style.css | 3 + wp-includes/blocks/query-title/style.min.css | 1 + wp-includes/blocks/query/editor-rtl.css | 51 ++ wp-includes/blocks/query/editor-rtl.min.css | 1 + wp-includes/blocks/query/editor.css | 51 ++ wp-includes/blocks/query/editor.min.css | 1 + wp-includes/blocks/quote/style-rtl.css | 17 + wp-includes/blocks/quote/style-rtl.min.css | 1 + wp-includes/blocks/quote/style.css | 17 + wp-includes/blocks/quote/style.min.css | 1 + wp-includes/blocks/quote/theme-rtl.css | 24 + wp-includes/blocks/quote/theme-rtl.min.css | 1 + wp-includes/blocks/quote/theme.css | 24 + wp-includes/blocks/quote/theme.min.css | 1 + wp-includes/blocks/read-more/style-rtl.css | 8 + .../blocks/read-more/style-rtl.min.css | 1 + wp-includes/blocks/read-more/style.css | 8 + wp-includes/blocks/read-more/style.min.css | 1 + wp-includes/blocks/rss/editor-rtl.css | 16 + wp-includes/blocks/rss/editor-rtl.min.css | 1 + wp-includes/blocks/rss/editor.css | 16 + wp-includes/blocks/rss/editor.min.css | 1 + wp-includes/blocks/rss/style-rtl.css | 45 ++ wp-includes/blocks/rss/style-rtl.min.css | 1 + wp-includes/blocks/rss/style.css | 45 ++ wp-includes/blocks/rss/style.min.css | 1 + wp-includes/blocks/search/editor-rtl.css | 13 + wp-includes/blocks/search/editor-rtl.min.css | 1 + wp-includes/blocks/search/editor.css | 13 + wp-includes/blocks/search/editor.min.css | 1 + wp-includes/blocks/search/style-rtl.css | 63 +++ wp-includes/blocks/search/style-rtl.min.css | 1 + wp-includes/blocks/search/style.css | 63 +++ wp-includes/blocks/search/style.min.css | 1 + wp-includes/blocks/search/theme-rtl.css | 8 + wp-includes/blocks/search/theme-rtl.min.css | 1 + wp-includes/blocks/search/theme.css | 8 + wp-includes/blocks/search/theme.min.css | 1 + wp-includes/blocks/separator/editor-rtl.css | 8 + .../blocks/separator/editor-rtl.min.css | 1 + wp-includes/blocks/separator/editor.css | 8 + wp-includes/blocks/separator/editor.min.css | 1 + wp-includes/blocks/separator/style-rtl.css | 21 + .../blocks/separator/style-rtl.min.css | 1 + wp-includes/blocks/separator/style.css | 21 + wp-includes/blocks/separator/style.min.css | 1 + wp-includes/blocks/separator/theme-rtl.css | 23 + .../blocks/separator/theme-rtl.min.css | 1 + wp-includes/blocks/separator/theme.css | 23 + wp-includes/blocks/separator/theme.min.css | 1 + wp-includes/blocks/shortcode/editor-rtl.css | 44 ++ .../blocks/shortcode/editor-rtl.min.css | 1 + wp-includes/blocks/shortcode/editor.css | 44 ++ wp-includes/blocks/shortcode/editor.min.css | 1 + wp-includes/blocks/site-logo/editor-rtl.css | 62 +++ .../blocks/site-logo/editor-rtl.min.css | 1 + wp-includes/blocks/site-logo/editor.css | 62 +++ wp-includes/blocks/site-logo/editor.min.css | 1 + wp-includes/blocks/site-logo/style-rtl.css | 26 + .../blocks/site-logo/style-rtl.min.css | 1 + wp-includes/blocks/site-logo/style.css | 26 + wp-includes/blocks/site-logo/style.min.css | 1 + .../blocks/site-tagline/editor-rtl.css | 4 + .../blocks/site-tagline/editor-rtl.min.css | 1 + wp-includes/blocks/site-tagline/editor.css | 4 + .../blocks/site-tagline/editor.min.css | 1 + wp-includes/blocks/site-title/editor-rtl.css | 8 + .../blocks/site-title/editor-rtl.min.css | 1 + wp-includes/blocks/site-title/editor.css | 8 + wp-includes/blocks/site-title/editor.min.css | 1 + wp-includes/blocks/site-title/style-rtl.css | 3 + .../blocks/site-title/style-rtl.min.css | 1 + wp-includes/blocks/site-title/style.css | 3 + wp-includes/blocks/site-title/style.min.css | 1 + wp-includes/blocks/social-link/editor-rtl.css | 20 + .../blocks/social-link/editor-rtl.min.css | 1 + wp-includes/blocks/social-link/editor.css | 20 + wp-includes/blocks/social-link/editor.min.css | 1 + .../blocks/social-links/editor-rtl.css | 87 ++++ .../blocks/social-links/editor-rtl.min.css | 1 + wp-includes/blocks/social-links/editor.css | 87 ++++ .../blocks/social-links/editor.min.css | 1 + wp-includes/blocks/social-links/style-rtl.css | 377 +++++++++++++++ .../blocks/social-links/style-rtl.min.css | 1 + wp-includes/blocks/social-links/style.css | 377 +++++++++++++++ wp-includes/blocks/social-links/style.min.css | 1 + wp-includes/blocks/spacer/editor-rtl.css | 31 ++ wp-includes/blocks/spacer/editor-rtl.min.css | 1 + wp-includes/blocks/spacer/editor.css | 31 ++ wp-includes/blocks/spacer/editor.min.css | 1 + wp-includes/blocks/spacer/style-rtl.css | 3 + wp-includes/blocks/spacer/style-rtl.min.css | 1 + wp-includes/blocks/spacer/style.css | 3 + wp-includes/blocks/spacer/style.min.css | 1 + wp-includes/blocks/table/editor-rtl.css | 57 +++ wp-includes/blocks/table/editor-rtl.min.css | 1 + wp-includes/blocks/table/editor.css | 57 +++ wp-includes/blocks/table/editor.min.css | 1 + wp-includes/blocks/table/style-rtl.css | 95 ++++ wp-includes/blocks/table/style-rtl.min.css | 1 + wp-includes/blocks/table/style.css | 95 ++++ wp-includes/blocks/table/style.min.css | 1 + wp-includes/blocks/table/theme-rtl.css | 14 + wp-includes/blocks/table/theme-rtl.min.css | 1 + wp-includes/blocks/table/theme.css | 14 + wp-includes/blocks/table/theme.min.css | 1 + wp-includes/blocks/tag-cloud/style-rtl.css | 32 ++ .../blocks/tag-cloud/style-rtl.min.css | 1 + wp-includes/blocks/tag-cloud/style.css | 32 ++ wp-includes/blocks/tag-cloud/style.min.css | 1 + .../blocks/template-part/editor-rtl.css | 37 ++ .../blocks/template-part/editor-rtl.min.css | 1 + wp-includes/blocks/template-part/editor.css | 37 ++ .../blocks/template-part/editor.min.css | 1 + .../blocks/template-part/theme-rtl.css | 5 + .../blocks/template-part/theme-rtl.min.css | 1 + wp-includes/blocks/template-part/theme.css | 5 + .../blocks/template-part/theme.min.css | 1 + .../blocks/text-columns/editor-rtl.css | 3 + .../blocks/text-columns/editor-rtl.min.css | 1 + wp-includes/blocks/text-columns/editor.css | 3 + .../blocks/text-columns/editor.min.css | 1 + wp-includes/blocks/text-columns/style-rtl.css | 22 + .../blocks/text-columns/style-rtl.min.css | 1 + wp-includes/blocks/text-columns/style.css | 22 + wp-includes/blocks/text-columns/style.min.css | 1 + wp-includes/blocks/verse/style-rtl.css | 8 + wp-includes/blocks/verse/style-rtl.min.css | 1 + wp-includes/blocks/verse/style.css | 8 + wp-includes/blocks/verse/style.min.css | 1 + wp-includes/blocks/video/editor-rtl.css | 78 +++ wp-includes/blocks/video/editor-rtl.min.css | 1 + wp-includes/blocks/video/editor.css | 78 +++ wp-includes/blocks/video/editor.min.css | 1 + wp-includes/blocks/video/style-rtl.css | 19 + wp-includes/blocks/video/style-rtl.min.css | 1 + wp-includes/blocks/video/style.css | 19 + wp-includes/blocks/video/style.min.css | 1 + wp-includes/blocks/video/theme-rtl.css | 12 + wp-includes/blocks/video/theme-rtl.min.css | 1 + wp-includes/blocks/video/theme.css | 12 + wp-includes/blocks/video/theme.min.css | 1 + wp-includes/version.php | 2 +- 481 files changed, 11416 insertions(+), 1 deletion(-) create mode 100644 wp-includes/blocks/archives/editor-rtl.css create mode 100644 wp-includes/blocks/archives/editor-rtl.min.css create mode 100644 wp-includes/blocks/archives/editor.css create mode 100644 wp-includes/blocks/archives/editor.min.css create mode 100644 wp-includes/blocks/archives/style-rtl.css create mode 100644 wp-includes/blocks/archives/style-rtl.min.css create mode 100644 wp-includes/blocks/archives/style.css create mode 100644 wp-includes/blocks/archives/style.min.css create mode 100644 wp-includes/blocks/audio/editor-rtl.css create mode 100644 wp-includes/blocks/audio/editor-rtl.min.css create mode 100644 wp-includes/blocks/audio/editor.css create mode 100644 wp-includes/blocks/audio/editor.min.css create mode 100644 wp-includes/blocks/audio/style-rtl.css create mode 100644 wp-includes/blocks/audio/style-rtl.min.css create mode 100644 wp-includes/blocks/audio/style.css create mode 100644 wp-includes/blocks/audio/style.min.css create mode 100644 wp-includes/blocks/audio/theme-rtl.css create mode 100644 wp-includes/blocks/audio/theme-rtl.min.css create mode 100644 wp-includes/blocks/audio/theme.css create mode 100644 wp-includes/blocks/audio/theme.min.css create mode 100644 wp-includes/blocks/avatar/editor-rtl.css create mode 100644 wp-includes/blocks/avatar/editor-rtl.min.css create mode 100644 wp-includes/blocks/avatar/editor.css create mode 100644 wp-includes/blocks/avatar/editor.min.css create mode 100644 wp-includes/blocks/avatar/style-rtl.css create mode 100644 wp-includes/blocks/avatar/style-rtl.min.css create mode 100644 wp-includes/blocks/avatar/style.css create mode 100644 wp-includes/blocks/avatar/style.min.css create mode 100644 wp-includes/blocks/block/editor-rtl.css create mode 100644 wp-includes/blocks/block/editor-rtl.min.css create mode 100644 wp-includes/blocks/block/editor.css create mode 100644 wp-includes/blocks/block/editor.min.css create mode 100644 wp-includes/blocks/button/editor-rtl.css create mode 100644 wp-includes/blocks/button/editor-rtl.min.css create mode 100644 wp-includes/blocks/button/editor.css create mode 100644 wp-includes/blocks/button/editor.min.css create mode 100644 wp-includes/blocks/button/style-rtl.css create mode 100644 wp-includes/blocks/button/style-rtl.min.css create mode 100644 wp-includes/blocks/button/style.css create mode 100644 wp-includes/blocks/button/style.min.css create mode 100644 wp-includes/blocks/buttons/editor-rtl.css create mode 100644 wp-includes/blocks/buttons/editor-rtl.min.css create mode 100644 wp-includes/blocks/buttons/editor.css create mode 100644 wp-includes/blocks/buttons/editor.min.css create mode 100644 wp-includes/blocks/buttons/style-rtl.css create mode 100644 wp-includes/blocks/buttons/style-rtl.min.css create mode 100644 wp-includes/blocks/buttons/style.css create mode 100644 wp-includes/blocks/buttons/style.min.css create mode 100644 wp-includes/blocks/calendar/style-rtl.css create mode 100644 wp-includes/blocks/calendar/style-rtl.min.css create mode 100644 wp-includes/blocks/calendar/style.css create mode 100644 wp-includes/blocks/calendar/style.min.css create mode 100644 wp-includes/blocks/categories/editor-rtl.css create mode 100644 wp-includes/blocks/categories/editor-rtl.min.css create mode 100644 wp-includes/blocks/categories/editor.css create mode 100644 wp-includes/blocks/categories/editor.min.css create mode 100644 wp-includes/blocks/categories/style-rtl.css create mode 100644 wp-includes/blocks/categories/style-rtl.min.css create mode 100644 wp-includes/blocks/categories/style.css create mode 100644 wp-includes/blocks/categories/style.min.css create mode 100644 wp-includes/blocks/code/editor-rtl.css create mode 100644 wp-includes/blocks/code/editor-rtl.min.css create mode 100644 wp-includes/blocks/code/editor.css create mode 100644 wp-includes/blocks/code/editor.min.css create mode 100644 wp-includes/blocks/code/style-rtl.css create mode 100644 wp-includes/blocks/code/style-rtl.min.css create mode 100644 wp-includes/blocks/code/style.css create mode 100644 wp-includes/blocks/code/style.min.css create mode 100644 wp-includes/blocks/code/theme-rtl.css create mode 100644 wp-includes/blocks/code/theme-rtl.min.css create mode 100644 wp-includes/blocks/code/theme.css create mode 100644 wp-includes/blocks/code/theme.min.css create mode 100644 wp-includes/blocks/columns/editor-rtl.css create mode 100644 wp-includes/blocks/columns/editor-rtl.min.css create mode 100644 wp-includes/blocks/columns/editor.css create mode 100644 wp-includes/blocks/columns/editor.min.css create mode 100644 wp-includes/blocks/columns/style-rtl.css create mode 100644 wp-includes/blocks/columns/style-rtl.min.css create mode 100644 wp-includes/blocks/columns/style.css create mode 100644 wp-includes/blocks/columns/style.min.css create mode 100644 wp-includes/blocks/comment-content/style-rtl.css create mode 100644 wp-includes/blocks/comment-content/style-rtl.min.css create mode 100644 wp-includes/blocks/comment-content/style.css create mode 100644 wp-includes/blocks/comment-content/style.min.css create mode 100644 wp-includes/blocks/comment-template/style-rtl.css create mode 100644 wp-includes/blocks/comment-template/style-rtl.min.css create mode 100644 wp-includes/blocks/comment-template/style.css create mode 100644 wp-includes/blocks/comment-template/style.min.css create mode 100644 wp-includes/blocks/comments-pagination-numbers/editor-rtl.css create mode 100644 wp-includes/blocks/comments-pagination-numbers/editor-rtl.min.css create mode 100644 wp-includes/blocks/comments-pagination-numbers/editor.css create mode 100644 wp-includes/blocks/comments-pagination-numbers/editor.min.css create mode 100644 wp-includes/blocks/comments-pagination/editor-rtl.css create mode 100644 wp-includes/blocks/comments-pagination/editor-rtl.min.css create mode 100644 wp-includes/blocks/comments-pagination/editor.css create mode 100644 wp-includes/blocks/comments-pagination/editor.min.css create mode 100644 wp-includes/blocks/comments-pagination/style-rtl.css create mode 100644 wp-includes/blocks/comments-pagination/style-rtl.min.css create mode 100644 wp-includes/blocks/comments-pagination/style.css create mode 100644 wp-includes/blocks/comments-pagination/style.min.css create mode 100644 wp-includes/blocks/comments-title/editor-rtl.css create mode 100644 wp-includes/blocks/comments-title/editor-rtl.min.css create mode 100644 wp-includes/blocks/comments-title/editor.css create mode 100644 wp-includes/blocks/comments-title/editor.min.css create mode 100644 wp-includes/blocks/comments/editor-rtl.css create mode 100644 wp-includes/blocks/comments/editor-rtl.min.css create mode 100644 wp-includes/blocks/comments/editor.css create mode 100644 wp-includes/blocks/comments/editor.min.css create mode 100644 wp-includes/blocks/comments/style-rtl.css create mode 100644 wp-includes/blocks/comments/style-rtl.min.css create mode 100644 wp-includes/blocks/comments/style.css create mode 100644 wp-includes/blocks/comments/style.min.css create mode 100644 wp-includes/blocks/cover/editor-rtl.css create mode 100644 wp-includes/blocks/cover/editor-rtl.min.css create mode 100644 wp-includes/blocks/cover/editor.css create mode 100644 wp-includes/blocks/cover/editor.min.css create mode 100644 wp-includes/blocks/cover/style-rtl.css create mode 100644 wp-includes/blocks/cover/style-rtl.min.css create mode 100644 wp-includes/blocks/cover/style.css create mode 100644 wp-includes/blocks/cover/style.min.css create mode 100644 wp-includes/blocks/embed/editor-rtl.css create mode 100644 wp-includes/blocks/embed/editor-rtl.min.css create mode 100644 wp-includes/blocks/embed/editor.css create mode 100644 wp-includes/blocks/embed/editor.min.css create mode 100644 wp-includes/blocks/embed/style-rtl.css create mode 100644 wp-includes/blocks/embed/style-rtl.min.css create mode 100644 wp-includes/blocks/embed/style.css create mode 100644 wp-includes/blocks/embed/style.min.css create mode 100644 wp-includes/blocks/embed/theme-rtl.css create mode 100644 wp-includes/blocks/embed/theme-rtl.min.css create mode 100644 wp-includes/blocks/embed/theme.css create mode 100644 wp-includes/blocks/embed/theme.min.css create mode 100644 wp-includes/blocks/file/editor-rtl.css create mode 100644 wp-includes/blocks/file/editor-rtl.min.css create mode 100644 wp-includes/blocks/file/editor.css create mode 100644 wp-includes/blocks/file/editor.min.css create mode 100644 wp-includes/blocks/file/style-rtl.css create mode 100644 wp-includes/blocks/file/style-rtl.min.css create mode 100644 wp-includes/blocks/file/style.css create mode 100644 wp-includes/blocks/file/style.min.css create mode 100644 wp-includes/blocks/freeform/editor-rtl.css create mode 100644 wp-includes/blocks/freeform/editor-rtl.min.css create mode 100644 wp-includes/blocks/freeform/editor.css create mode 100644 wp-includes/blocks/freeform/editor.min.css create mode 100644 wp-includes/blocks/gallery/editor-rtl.css create mode 100644 wp-includes/blocks/gallery/editor-rtl.min.css create mode 100644 wp-includes/blocks/gallery/editor.css create mode 100644 wp-includes/blocks/gallery/editor.min.css create mode 100644 wp-includes/blocks/gallery/style-rtl.css create mode 100644 wp-includes/blocks/gallery/style-rtl.min.css create mode 100644 wp-includes/blocks/gallery/style.css create mode 100644 wp-includes/blocks/gallery/style.min.css create mode 100644 wp-includes/blocks/gallery/theme-rtl.css create mode 100644 wp-includes/blocks/gallery/theme-rtl.min.css create mode 100644 wp-includes/blocks/gallery/theme.css create mode 100644 wp-includes/blocks/gallery/theme.min.css create mode 100644 wp-includes/blocks/group/editor-rtl.css create mode 100644 wp-includes/blocks/group/editor-rtl.min.css create mode 100644 wp-includes/blocks/group/editor.css create mode 100644 wp-includes/blocks/group/editor.min.css create mode 100644 wp-includes/blocks/group/style-rtl.css create mode 100644 wp-includes/blocks/group/style-rtl.min.css create mode 100644 wp-includes/blocks/group/style.css create mode 100644 wp-includes/blocks/group/style.min.css create mode 100644 wp-includes/blocks/group/theme-rtl.css create mode 100644 wp-includes/blocks/group/theme-rtl.min.css create mode 100644 wp-includes/blocks/group/theme.css create mode 100644 wp-includes/blocks/group/theme.min.css create mode 100644 wp-includes/blocks/heading/style-rtl.css create mode 100644 wp-includes/blocks/heading/style-rtl.min.css create mode 100644 wp-includes/blocks/heading/style.css create mode 100644 wp-includes/blocks/heading/style.min.css create mode 100644 wp-includes/blocks/html/editor-rtl.css create mode 100644 wp-includes/blocks/html/editor-rtl.min.css create mode 100644 wp-includes/blocks/html/editor.css create mode 100644 wp-includes/blocks/html/editor.min.css create mode 100644 wp-includes/blocks/image/editor-rtl.css create mode 100644 wp-includes/blocks/image/editor-rtl.min.css create mode 100644 wp-includes/blocks/image/editor.css create mode 100644 wp-includes/blocks/image/editor.min.css create mode 100644 wp-includes/blocks/image/style-rtl.css create mode 100644 wp-includes/blocks/image/style-rtl.min.css create mode 100644 wp-includes/blocks/image/style.css create mode 100644 wp-includes/blocks/image/style.min.css create mode 100644 wp-includes/blocks/image/theme-rtl.css create mode 100644 wp-includes/blocks/image/theme-rtl.min.css create mode 100644 wp-includes/blocks/image/theme.css create mode 100644 wp-includes/blocks/image/theme.min.css create mode 100644 wp-includes/blocks/latest-comments/style-rtl.css create mode 100644 wp-includes/blocks/latest-comments/style-rtl.min.css create mode 100644 wp-includes/blocks/latest-comments/style.css create mode 100644 wp-includes/blocks/latest-comments/style.min.css create mode 100644 wp-includes/blocks/latest-posts/editor-rtl.css create mode 100644 wp-includes/blocks/latest-posts/editor-rtl.min.css create mode 100644 wp-includes/blocks/latest-posts/editor.css create mode 100644 wp-includes/blocks/latest-posts/editor.min.css create mode 100644 wp-includes/blocks/latest-posts/style-rtl.css create mode 100644 wp-includes/blocks/latest-posts/style-rtl.min.css create mode 100644 wp-includes/blocks/latest-posts/style.css create mode 100644 wp-includes/blocks/latest-posts/style.min.css create mode 100644 wp-includes/blocks/list/style-rtl.css create mode 100644 wp-includes/blocks/list/style-rtl.min.css create mode 100644 wp-includes/blocks/list/style.css create mode 100644 wp-includes/blocks/list/style.min.css create mode 100644 wp-includes/blocks/media-text/editor-rtl.css create mode 100644 wp-includes/blocks/media-text/editor-rtl.min.css create mode 100644 wp-includes/blocks/media-text/editor.css create mode 100644 wp-includes/blocks/media-text/editor.min.css create mode 100644 wp-includes/blocks/media-text/style-rtl.css create mode 100644 wp-includes/blocks/media-text/style-rtl.min.css create mode 100644 wp-includes/blocks/media-text/style.css create mode 100644 wp-includes/blocks/media-text/style.min.css create mode 100644 wp-includes/blocks/more/editor-rtl.css create mode 100644 wp-includes/blocks/more/editor-rtl.min.css create mode 100644 wp-includes/blocks/more/editor.css create mode 100644 wp-includes/blocks/more/editor.min.css create mode 100644 wp-includes/blocks/navigation-link/editor-rtl.css create mode 100644 wp-includes/blocks/navigation-link/editor-rtl.min.css create mode 100644 wp-includes/blocks/navigation-link/editor.css create mode 100644 wp-includes/blocks/navigation-link/editor.min.css create mode 100644 wp-includes/blocks/navigation-link/style-rtl.css create mode 100644 wp-includes/blocks/navigation-link/style-rtl.min.css create mode 100644 wp-includes/blocks/navigation-link/style.css create mode 100644 wp-includes/blocks/navigation-link/style.min.css create mode 100644 wp-includes/blocks/navigation-submenu/editor-rtl.css create mode 100644 wp-includes/blocks/navigation-submenu/editor-rtl.min.css create mode 100644 wp-includes/blocks/navigation-submenu/editor.css create mode 100644 wp-includes/blocks/navigation-submenu/editor.min.css create mode 100644 wp-includes/blocks/navigation/editor-rtl.css create mode 100644 wp-includes/blocks/navigation/editor-rtl.min.css create mode 100644 wp-includes/blocks/navigation/editor.css create mode 100644 wp-includes/blocks/navigation/editor.min.css create mode 100644 wp-includes/blocks/navigation/style-rtl.css create mode 100644 wp-includes/blocks/navigation/style-rtl.min.css create mode 100644 wp-includes/blocks/navigation/style.css create mode 100644 wp-includes/blocks/navigation/style.min.css create mode 100644 wp-includes/blocks/nextpage/editor-rtl.css create mode 100644 wp-includes/blocks/nextpage/editor-rtl.min.css create mode 100644 wp-includes/blocks/nextpage/editor.css create mode 100644 wp-includes/blocks/nextpage/editor.min.css create mode 100644 wp-includes/blocks/page-list/editor-rtl.css create mode 100644 wp-includes/blocks/page-list/editor-rtl.min.css create mode 100644 wp-includes/blocks/page-list/editor.css create mode 100644 wp-includes/blocks/page-list/editor.min.css create mode 100644 wp-includes/blocks/page-list/style-rtl.css create mode 100644 wp-includes/blocks/page-list/style-rtl.min.css create mode 100644 wp-includes/blocks/page-list/style.css create mode 100644 wp-includes/blocks/page-list/style.min.css create mode 100644 wp-includes/blocks/paragraph/editor-rtl.css create mode 100644 wp-includes/blocks/paragraph/editor-rtl.min.css create mode 100644 wp-includes/blocks/paragraph/editor.css create mode 100644 wp-includes/blocks/paragraph/editor.min.css create mode 100644 wp-includes/blocks/paragraph/style-rtl.css create mode 100644 wp-includes/blocks/paragraph/style-rtl.min.css create mode 100644 wp-includes/blocks/paragraph/style.css create mode 100644 wp-includes/blocks/paragraph/style.min.css create mode 100644 wp-includes/blocks/post-author/style-rtl.css create mode 100644 wp-includes/blocks/post-author/style-rtl.min.css create mode 100644 wp-includes/blocks/post-author/style.css create mode 100644 wp-includes/blocks/post-author/style.min.css create mode 100644 wp-includes/blocks/post-comments-form/editor-rtl.css create mode 100644 wp-includes/blocks/post-comments-form/editor-rtl.min.css create mode 100644 wp-includes/blocks/post-comments-form/editor.css create mode 100644 wp-includes/blocks/post-comments-form/editor.min.css create mode 100644 wp-includes/blocks/post-comments-form/style-rtl.css create mode 100644 wp-includes/blocks/post-comments-form/style-rtl.min.css create mode 100644 wp-includes/blocks/post-comments-form/style.css create mode 100644 wp-includes/blocks/post-comments-form/style.min.css create mode 100644 wp-includes/blocks/post-date/style-rtl.css create mode 100644 wp-includes/blocks/post-date/style-rtl.min.css create mode 100644 wp-includes/blocks/post-date/style.css create mode 100644 wp-includes/blocks/post-date/style.min.css create mode 100644 wp-includes/blocks/post-excerpt/editor-rtl.css create mode 100644 wp-includes/blocks/post-excerpt/editor-rtl.min.css create mode 100644 wp-includes/blocks/post-excerpt/editor.css create mode 100644 wp-includes/blocks/post-excerpt/editor.min.css create mode 100644 wp-includes/blocks/post-excerpt/style-rtl.css create mode 100644 wp-includes/blocks/post-excerpt/style-rtl.min.css create mode 100644 wp-includes/blocks/post-excerpt/style.css create mode 100644 wp-includes/blocks/post-excerpt/style.min.css create mode 100644 wp-includes/blocks/post-featured-image/editor-rtl.css create mode 100644 wp-includes/blocks/post-featured-image/editor-rtl.min.css create mode 100644 wp-includes/blocks/post-featured-image/editor.css create mode 100644 wp-includes/blocks/post-featured-image/editor.min.css create mode 100644 wp-includes/blocks/post-featured-image/style-rtl.css create mode 100644 wp-includes/blocks/post-featured-image/style-rtl.min.css create mode 100644 wp-includes/blocks/post-featured-image/style.css create mode 100644 wp-includes/blocks/post-featured-image/style.min.css create mode 100644 wp-includes/blocks/post-navigation-link/style-rtl.css create mode 100644 wp-includes/blocks/post-navigation-link/style-rtl.min.css create mode 100644 wp-includes/blocks/post-navigation-link/style.css create mode 100644 wp-includes/blocks/post-navigation-link/style.min.css create mode 100644 wp-includes/blocks/post-template/editor-rtl.css create mode 100644 wp-includes/blocks/post-template/editor-rtl.min.css create mode 100644 wp-includes/blocks/post-template/editor.css create mode 100644 wp-includes/blocks/post-template/editor.min.css create mode 100644 wp-includes/blocks/post-template/style-rtl.css create mode 100644 wp-includes/blocks/post-template/style-rtl.min.css create mode 100644 wp-includes/blocks/post-template/style.css create mode 100644 wp-includes/blocks/post-template/style.min.css create mode 100644 wp-includes/blocks/post-terms/style-rtl.css create mode 100644 wp-includes/blocks/post-terms/style-rtl.min.css create mode 100644 wp-includes/blocks/post-terms/style.css create mode 100644 wp-includes/blocks/post-terms/style.min.css create mode 100644 wp-includes/blocks/post-title/style-rtl.css create mode 100644 wp-includes/blocks/post-title/style-rtl.min.css create mode 100644 wp-includes/blocks/post-title/style.css create mode 100644 wp-includes/blocks/post-title/style.min.css create mode 100644 wp-includes/blocks/preformatted/style-rtl.css create mode 100644 wp-includes/blocks/preformatted/style-rtl.min.css create mode 100644 wp-includes/blocks/preformatted/style.css create mode 100644 wp-includes/blocks/preformatted/style.min.css create mode 100644 wp-includes/blocks/pullquote/editor-rtl.css create mode 100644 wp-includes/blocks/pullquote/editor-rtl.min.css create mode 100644 wp-includes/blocks/pullquote/editor.css create mode 100644 wp-includes/blocks/pullquote/editor.min.css create mode 100644 wp-includes/blocks/pullquote/style-rtl.css create mode 100644 wp-includes/blocks/pullquote/style-rtl.min.css create mode 100644 wp-includes/blocks/pullquote/style.css create mode 100644 wp-includes/blocks/pullquote/style.min.css create mode 100644 wp-includes/blocks/pullquote/theme-rtl.css create mode 100644 wp-includes/blocks/pullquote/theme-rtl.min.css create mode 100644 wp-includes/blocks/pullquote/theme.css create mode 100644 wp-includes/blocks/pullquote/theme.min.css create mode 100644 wp-includes/blocks/query-pagination-numbers/editor-rtl.css create mode 100644 wp-includes/blocks/query-pagination-numbers/editor-rtl.min.css create mode 100644 wp-includes/blocks/query-pagination-numbers/editor.css create mode 100644 wp-includes/blocks/query-pagination-numbers/editor.min.css create mode 100644 wp-includes/blocks/query-pagination/editor-rtl.css create mode 100644 wp-includes/blocks/query-pagination/editor-rtl.min.css create mode 100644 wp-includes/blocks/query-pagination/editor.css create mode 100644 wp-includes/blocks/query-pagination/editor.min.css create mode 100644 wp-includes/blocks/query-pagination/style-rtl.css create mode 100644 wp-includes/blocks/query-pagination/style-rtl.min.css create mode 100644 wp-includes/blocks/query-pagination/style.css create mode 100644 wp-includes/blocks/query-pagination/style.min.css create mode 100644 wp-includes/blocks/query-title/style-rtl.css create mode 100644 wp-includes/blocks/query-title/style-rtl.min.css create mode 100644 wp-includes/blocks/query-title/style.css create mode 100644 wp-includes/blocks/query-title/style.min.css create mode 100644 wp-includes/blocks/query/editor-rtl.css create mode 100644 wp-includes/blocks/query/editor-rtl.min.css create mode 100644 wp-includes/blocks/query/editor.css create mode 100644 wp-includes/blocks/query/editor.min.css create mode 100644 wp-includes/blocks/quote/style-rtl.css create mode 100644 wp-includes/blocks/quote/style-rtl.min.css create mode 100644 wp-includes/blocks/quote/style.css create mode 100644 wp-includes/blocks/quote/style.min.css create mode 100644 wp-includes/blocks/quote/theme-rtl.css create mode 100644 wp-includes/blocks/quote/theme-rtl.min.css create mode 100644 wp-includes/blocks/quote/theme.css create mode 100644 wp-includes/blocks/quote/theme.min.css create mode 100644 wp-includes/blocks/read-more/style-rtl.css create mode 100644 wp-includes/blocks/read-more/style-rtl.min.css create mode 100644 wp-includes/blocks/read-more/style.css create mode 100644 wp-includes/blocks/read-more/style.min.css create mode 100644 wp-includes/blocks/rss/editor-rtl.css create mode 100644 wp-includes/blocks/rss/editor-rtl.min.css create mode 100644 wp-includes/blocks/rss/editor.css create mode 100644 wp-includes/blocks/rss/editor.min.css create mode 100644 wp-includes/blocks/rss/style-rtl.css create mode 100644 wp-includes/blocks/rss/style-rtl.min.css create mode 100644 wp-includes/blocks/rss/style.css create mode 100644 wp-includes/blocks/rss/style.min.css create mode 100644 wp-includes/blocks/search/editor-rtl.css create mode 100644 wp-includes/blocks/search/editor-rtl.min.css create mode 100644 wp-includes/blocks/search/editor.css create mode 100644 wp-includes/blocks/search/editor.min.css create mode 100644 wp-includes/blocks/search/style-rtl.css create mode 100644 wp-includes/blocks/search/style-rtl.min.css create mode 100644 wp-includes/blocks/search/style.css create mode 100644 wp-includes/blocks/search/style.min.css create mode 100644 wp-includes/blocks/search/theme-rtl.css create mode 100644 wp-includes/blocks/search/theme-rtl.min.css create mode 100644 wp-includes/blocks/search/theme.css create mode 100644 wp-includes/blocks/search/theme.min.css create mode 100644 wp-includes/blocks/separator/editor-rtl.css create mode 100644 wp-includes/blocks/separator/editor-rtl.min.css create mode 100644 wp-includes/blocks/separator/editor.css create mode 100644 wp-includes/blocks/separator/editor.min.css create mode 100644 wp-includes/blocks/separator/style-rtl.css create mode 100644 wp-includes/blocks/separator/style-rtl.min.css create mode 100644 wp-includes/blocks/separator/style.css create mode 100644 wp-includes/blocks/separator/style.min.css create mode 100644 wp-includes/blocks/separator/theme-rtl.css create mode 100644 wp-includes/blocks/separator/theme-rtl.min.css create mode 100644 wp-includes/blocks/separator/theme.css create mode 100644 wp-includes/blocks/separator/theme.min.css create mode 100644 wp-includes/blocks/shortcode/editor-rtl.css create mode 100644 wp-includes/blocks/shortcode/editor-rtl.min.css create mode 100644 wp-includes/blocks/shortcode/editor.css create mode 100644 wp-includes/blocks/shortcode/editor.min.css create mode 100644 wp-includes/blocks/site-logo/editor-rtl.css create mode 100644 wp-includes/blocks/site-logo/editor-rtl.min.css create mode 100644 wp-includes/blocks/site-logo/editor.css create mode 100644 wp-includes/blocks/site-logo/editor.min.css create mode 100644 wp-includes/blocks/site-logo/style-rtl.css create mode 100644 wp-includes/blocks/site-logo/style-rtl.min.css create mode 100644 wp-includes/blocks/site-logo/style.css create mode 100644 wp-includes/blocks/site-logo/style.min.css create mode 100644 wp-includes/blocks/site-tagline/editor-rtl.css create mode 100644 wp-includes/blocks/site-tagline/editor-rtl.min.css create mode 100644 wp-includes/blocks/site-tagline/editor.css create mode 100644 wp-includes/blocks/site-tagline/editor.min.css create mode 100644 wp-includes/blocks/site-title/editor-rtl.css create mode 100644 wp-includes/blocks/site-title/editor-rtl.min.css create mode 100644 wp-includes/blocks/site-title/editor.css create mode 100644 wp-includes/blocks/site-title/editor.min.css create mode 100644 wp-includes/blocks/site-title/style-rtl.css create mode 100644 wp-includes/blocks/site-title/style-rtl.min.css create mode 100644 wp-includes/blocks/site-title/style.css create mode 100644 wp-includes/blocks/site-title/style.min.css create mode 100644 wp-includes/blocks/social-link/editor-rtl.css create mode 100644 wp-includes/blocks/social-link/editor-rtl.min.css create mode 100644 wp-includes/blocks/social-link/editor.css create mode 100644 wp-includes/blocks/social-link/editor.min.css create mode 100644 wp-includes/blocks/social-links/editor-rtl.css create mode 100644 wp-includes/blocks/social-links/editor-rtl.min.css create mode 100644 wp-includes/blocks/social-links/editor.css create mode 100644 wp-includes/blocks/social-links/editor.min.css create mode 100644 wp-includes/blocks/social-links/style-rtl.css create mode 100644 wp-includes/blocks/social-links/style-rtl.min.css create mode 100644 wp-includes/blocks/social-links/style.css create mode 100644 wp-includes/blocks/social-links/style.min.css create mode 100644 wp-includes/blocks/spacer/editor-rtl.css create mode 100644 wp-includes/blocks/spacer/editor-rtl.min.css create mode 100644 wp-includes/blocks/spacer/editor.css create mode 100644 wp-includes/blocks/spacer/editor.min.css create mode 100644 wp-includes/blocks/spacer/style-rtl.css create mode 100644 wp-includes/blocks/spacer/style-rtl.min.css create mode 100644 wp-includes/blocks/spacer/style.css create mode 100644 wp-includes/blocks/spacer/style.min.css create mode 100644 wp-includes/blocks/table/editor-rtl.css create mode 100644 wp-includes/blocks/table/editor-rtl.min.css create mode 100644 wp-includes/blocks/table/editor.css create mode 100644 wp-includes/blocks/table/editor.min.css create mode 100644 wp-includes/blocks/table/style-rtl.css create mode 100644 wp-includes/blocks/table/style-rtl.min.css create mode 100644 wp-includes/blocks/table/style.css create mode 100644 wp-includes/blocks/table/style.min.css create mode 100644 wp-includes/blocks/table/theme-rtl.css create mode 100644 wp-includes/blocks/table/theme-rtl.min.css create mode 100644 wp-includes/blocks/table/theme.css create mode 100644 wp-includes/blocks/table/theme.min.css create mode 100644 wp-includes/blocks/tag-cloud/style-rtl.css create mode 100644 wp-includes/blocks/tag-cloud/style-rtl.min.css create mode 100644 wp-includes/blocks/tag-cloud/style.css create mode 100644 wp-includes/blocks/tag-cloud/style.min.css create mode 100644 wp-includes/blocks/template-part/editor-rtl.css create mode 100644 wp-includes/blocks/template-part/editor-rtl.min.css create mode 100644 wp-includes/blocks/template-part/editor.css create mode 100644 wp-includes/blocks/template-part/editor.min.css create mode 100644 wp-includes/blocks/template-part/theme-rtl.css create mode 100644 wp-includes/blocks/template-part/theme-rtl.min.css create mode 100644 wp-includes/blocks/template-part/theme.css create mode 100644 wp-includes/blocks/template-part/theme.min.css create mode 100644 wp-includes/blocks/text-columns/editor-rtl.css create mode 100644 wp-includes/blocks/text-columns/editor-rtl.min.css create mode 100644 wp-includes/blocks/text-columns/editor.css create mode 100644 wp-includes/blocks/text-columns/editor.min.css create mode 100644 wp-includes/blocks/text-columns/style-rtl.css create mode 100644 wp-includes/blocks/text-columns/style-rtl.min.css create mode 100644 wp-includes/blocks/text-columns/style.css create mode 100644 wp-includes/blocks/text-columns/style.min.css create mode 100644 wp-includes/blocks/verse/style-rtl.css create mode 100644 wp-includes/blocks/verse/style-rtl.min.css create mode 100644 wp-includes/blocks/verse/style.css create mode 100644 wp-includes/blocks/verse/style.min.css create mode 100644 wp-includes/blocks/video/editor-rtl.css create mode 100644 wp-includes/blocks/video/editor-rtl.min.css create mode 100644 wp-includes/blocks/video/editor.css create mode 100644 wp-includes/blocks/video/editor.min.css create mode 100644 wp-includes/blocks/video/style-rtl.css create mode 100644 wp-includes/blocks/video/style-rtl.min.css create mode 100644 wp-includes/blocks/video/style.css create mode 100644 wp-includes/blocks/video/style.min.css create mode 100644 wp-includes/blocks/video/theme-rtl.css create mode 100644 wp-includes/blocks/video/theme-rtl.min.css create mode 100644 wp-includes/blocks/video/theme.css create mode 100644 wp-includes/blocks/video/theme.min.css diff --git a/wp-includes/blocks/archives/editor-rtl.css b/wp-includes/blocks/archives/editor-rtl.css new file mode 100644 index 0000000000..172d7871db --- /dev/null +++ b/wp-includes/blocks/archives/editor-rtl.css @@ -0,0 +1,3 @@ +ul.wp-block-archives{ + padding-right:2.5em; +} \ No newline at end of file diff --git a/wp-includes/blocks/archives/editor-rtl.min.css b/wp-includes/blocks/archives/editor-rtl.min.css new file mode 100644 index 0000000000..acf5f4d3fa --- /dev/null +++ b/wp-includes/blocks/archives/editor-rtl.min.css @@ -0,0 +1 @@ +ul.wp-block-archives{padding-right:2.5em} \ No newline at end of file diff --git a/wp-includes/blocks/archives/editor.css b/wp-includes/blocks/archives/editor.css new file mode 100644 index 0000000000..434d6cdd86 --- /dev/null +++ b/wp-includes/blocks/archives/editor.css @@ -0,0 +1,3 @@ +ul.wp-block-archives{ + padding-left:2.5em; +} \ No newline at end of file diff --git a/wp-includes/blocks/archives/editor.min.css b/wp-includes/blocks/archives/editor.min.css new file mode 100644 index 0000000000..aa6ba10d5d --- /dev/null +++ b/wp-includes/blocks/archives/editor.min.css @@ -0,0 +1 @@ +ul.wp-block-archives{padding-left:2.5em} \ No newline at end of file diff --git a/wp-includes/blocks/archives/style-rtl.css b/wp-includes/blocks/archives/style-rtl.css new file mode 100644 index 0000000000..703c91c9d7 --- /dev/null +++ b/wp-includes/blocks/archives/style-rtl.css @@ -0,0 +1,7 @@ +.wp-block-archives{ + box-sizing:border-box; +} + +.wp-block-archives-dropdown label{ + display:block; +} \ No newline at end of file diff --git a/wp-includes/blocks/archives/style-rtl.min.css b/wp-includes/blocks/archives/style-rtl.min.css new file mode 100644 index 0000000000..2c498f0f19 --- /dev/null +++ b/wp-includes/blocks/archives/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-archives{box-sizing:border-box}.wp-block-archives-dropdown label{display:block} \ No newline at end of file diff --git a/wp-includes/blocks/archives/style.css b/wp-includes/blocks/archives/style.css new file mode 100644 index 0000000000..703c91c9d7 --- /dev/null +++ b/wp-includes/blocks/archives/style.css @@ -0,0 +1,7 @@ +.wp-block-archives{ + box-sizing:border-box; +} + +.wp-block-archives-dropdown label{ + display:block; +} \ No newline at end of file diff --git a/wp-includes/blocks/archives/style.min.css b/wp-includes/blocks/archives/style.min.css new file mode 100644 index 0000000000..2c498f0f19 --- /dev/null +++ b/wp-includes/blocks/archives/style.min.css @@ -0,0 +1 @@ +.wp-block-archives{box-sizing:border-box}.wp-block-archives-dropdown label{display:block} \ No newline at end of file diff --git a/wp-includes/blocks/audio/editor-rtl.css b/wp-includes/blocks/audio/editor-rtl.css new file mode 100644 index 0000000000..cf0ba576c5 --- /dev/null +++ b/wp-includes/blocks/audio/editor-rtl.css @@ -0,0 +1,15 @@ +.wp-block-audio{ + margin-left:0; + margin-right:0; + position:relative; +} +.wp-block-audio.is-transient audio{ + opacity:.3; +} +.wp-block-audio .components-spinner{ + margin-right:-9px; + margin-top:-9px; + position:absolute; + right:50%; + top:50%; +} \ No newline at end of file diff --git a/wp-includes/blocks/audio/editor-rtl.min.css b/wp-includes/blocks/audio/editor-rtl.min.css new file mode 100644 index 0000000000..175a65f9e3 --- /dev/null +++ b/wp-includes/blocks/audio/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-audio{margin-left:0;margin-right:0;position:relative}.wp-block-audio.is-transient audio{opacity:.3}.wp-block-audio .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%} \ No newline at end of file diff --git a/wp-includes/blocks/audio/editor.css b/wp-includes/blocks/audio/editor.css new file mode 100644 index 0000000000..435b3ca8c3 --- /dev/null +++ b/wp-includes/blocks/audio/editor.css @@ -0,0 +1,15 @@ +.wp-block-audio{ + margin-left:0; + margin-right:0; + position:relative; +} +.wp-block-audio.is-transient audio{ + opacity:.3; +} +.wp-block-audio .components-spinner{ + left:50%; + margin-left:-9px; + margin-top:-9px; + position:absolute; + top:50%; +} \ No newline at end of file diff --git a/wp-includes/blocks/audio/editor.min.css b/wp-includes/blocks/audio/editor.min.css new file mode 100644 index 0000000000..05557ca3f6 --- /dev/null +++ b/wp-includes/blocks/audio/editor.min.css @@ -0,0 +1 @@ +.wp-block-audio{margin-left:0;margin-right:0;position:relative}.wp-block-audio.is-transient audio{opacity:.3}.wp-block-audio .components-spinner{left:50%;margin-left:-9px;margin-top:-9px;position:absolute;top:50%} \ No newline at end of file diff --git a/wp-includes/blocks/audio/style-rtl.css b/wp-includes/blocks/audio/style-rtl.css new file mode 100644 index 0000000000..015fc6990b --- /dev/null +++ b/wp-includes/blocks/audio/style-rtl.css @@ -0,0 +1,11 @@ +.wp-block-audio{ + box-sizing:border-box; +} +.wp-block-audio figcaption{ + margin-bottom:1em; + margin-top:.5em; +} +.wp-block-audio audio{ + min-width:300px; + width:100%; +} \ No newline at end of file diff --git a/wp-includes/blocks/audio/style-rtl.min.css b/wp-includes/blocks/audio/style-rtl.min.css new file mode 100644 index 0000000000..1d186165a3 --- /dev/null +++ b/wp-includes/blocks/audio/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-audio{box-sizing:border-box}.wp-block-audio figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-audio audio{min-width:300px;width:100%} \ No newline at end of file diff --git a/wp-includes/blocks/audio/style.css b/wp-includes/blocks/audio/style.css new file mode 100644 index 0000000000..015fc6990b --- /dev/null +++ b/wp-includes/blocks/audio/style.css @@ -0,0 +1,11 @@ +.wp-block-audio{ + box-sizing:border-box; +} +.wp-block-audio figcaption{ + margin-bottom:1em; + margin-top:.5em; +} +.wp-block-audio audio{ + min-width:300px; + width:100%; +} \ No newline at end of file diff --git a/wp-includes/blocks/audio/style.min.css b/wp-includes/blocks/audio/style.min.css new file mode 100644 index 0000000000..1d186165a3 --- /dev/null +++ b/wp-includes/blocks/audio/style.min.css @@ -0,0 +1 @@ +.wp-block-audio{box-sizing:border-box}.wp-block-audio figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-audio audio{min-width:300px;width:100%} \ No newline at end of file diff --git a/wp-includes/blocks/audio/theme-rtl.css b/wp-includes/blocks/audio/theme-rtl.css new file mode 100644 index 0000000000..f1ec35b6b1 --- /dev/null +++ b/wp-includes/blocks/audio/theme-rtl.css @@ -0,0 +1,12 @@ +.wp-block-audio figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-audio figcaption{ + color:hsla(0,0%,100%,.65); +} + +.wp-block-audio{ + margin:0 0 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/audio/theme-rtl.min.css b/wp-includes/blocks/audio/theme-rtl.min.css new file mode 100644 index 0000000000..632556a5e3 --- /dev/null +++ b/wp-includes/blocks/audio/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-audio{margin:0 0 1em} \ No newline at end of file diff --git a/wp-includes/blocks/audio/theme.css b/wp-includes/blocks/audio/theme.css new file mode 100644 index 0000000000..f1ec35b6b1 --- /dev/null +++ b/wp-includes/blocks/audio/theme.css @@ -0,0 +1,12 @@ +.wp-block-audio figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-audio figcaption{ + color:hsla(0,0%,100%,.65); +} + +.wp-block-audio{ + margin:0 0 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/audio/theme.min.css b/wp-includes/blocks/audio/theme.min.css new file mode 100644 index 0000000000..632556a5e3 --- /dev/null +++ b/wp-includes/blocks/audio/theme.min.css @@ -0,0 +1 @@ +.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-audio{margin:0 0 1em} \ No newline at end of file diff --git a/wp-includes/blocks/avatar/editor-rtl.css b/wp-includes/blocks/avatar/editor-rtl.css new file mode 100644 index 0000000000..5e3ddc5883 --- /dev/null +++ b/wp-includes/blocks/avatar/editor-rtl.css @@ -0,0 +1,7 @@ +.wp-block-avatar__image img{ + width:100%; +} + +.wp-block-avatar.aligncenter .components-resizable-box__container{ + margin:0 auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/avatar/editor-rtl.min.css b/wp-includes/blocks/avatar/editor-rtl.min.css new file mode 100644 index 0000000000..88706a04fb --- /dev/null +++ b/wp-includes/blocks/avatar/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-avatar__image img{width:100%}.wp-block-avatar.aligncenter .components-resizable-box__container{margin:0 auto} \ No newline at end of file diff --git a/wp-includes/blocks/avatar/editor.css b/wp-includes/blocks/avatar/editor.css new file mode 100644 index 0000000000..5e3ddc5883 --- /dev/null +++ b/wp-includes/blocks/avatar/editor.css @@ -0,0 +1,7 @@ +.wp-block-avatar__image img{ + width:100%; +} + +.wp-block-avatar.aligncenter .components-resizable-box__container{ + margin:0 auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/avatar/editor.min.css b/wp-includes/blocks/avatar/editor.min.css new file mode 100644 index 0000000000..88706a04fb --- /dev/null +++ b/wp-includes/blocks/avatar/editor.min.css @@ -0,0 +1 @@ +.wp-block-avatar__image img{width:100%}.wp-block-avatar.aligncenter .components-resizable-box__container{margin:0 auto} \ No newline at end of file diff --git a/wp-includes/blocks/avatar/style-rtl.css b/wp-includes/blocks/avatar/style-rtl.css new file mode 100644 index 0000000000..c0b491a734 --- /dev/null +++ b/wp-includes/blocks/avatar/style-rtl.css @@ -0,0 +1,6 @@ +.wp-block-avatar{ + box-sizing:border-box; +} +.wp-block-avatar.aligncenter{ + text-align:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/avatar/style-rtl.min.css b/wp-includes/blocks/avatar/style-rtl.min.css new file mode 100644 index 0000000000..f93ce23b40 --- /dev/null +++ b/wp-includes/blocks/avatar/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-avatar{box-sizing:border-box}.wp-block-avatar.aligncenter{text-align:center} \ No newline at end of file diff --git a/wp-includes/blocks/avatar/style.css b/wp-includes/blocks/avatar/style.css new file mode 100644 index 0000000000..c0b491a734 --- /dev/null +++ b/wp-includes/blocks/avatar/style.css @@ -0,0 +1,6 @@ +.wp-block-avatar{ + box-sizing:border-box; +} +.wp-block-avatar.aligncenter{ + text-align:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/avatar/style.min.css b/wp-includes/blocks/avatar/style.min.css new file mode 100644 index 0000000000..f93ce23b40 --- /dev/null +++ b/wp-includes/blocks/avatar/style.min.css @@ -0,0 +1 @@ +.wp-block-avatar{box-sizing:border-box}.wp-block-avatar.aligncenter{text-align:center} \ No newline at end of file diff --git a/wp-includes/blocks/block/editor-rtl.css b/wp-includes/blocks/block/editor-rtl.css new file mode 100644 index 0000000000..da6bc3641d --- /dev/null +++ b/wp-includes/blocks/block/editor-rtl.css @@ -0,0 +1,20 @@ +.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{ + padding-left:0; + padding-right:0; +} +.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{ + display:block; +} +.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{ + display:none; +} + +.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{ + box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color); +} +.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{ + box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color); +} +.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{ + box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff; +} \ No newline at end of file diff --git a/wp-includes/blocks/block/editor-rtl.min.css b/wp-includes/blocks/block/editor-rtl.min.css new file mode 100644 index 0000000000..cd6495b52e --- /dev/null +++ b/wp-includes/blocks/block/editor-rtl.min.css @@ -0,0 +1 @@ +.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff} \ No newline at end of file diff --git a/wp-includes/blocks/block/editor.css b/wp-includes/blocks/block/editor.css new file mode 100644 index 0000000000..da6bc3641d --- /dev/null +++ b/wp-includes/blocks/block/editor.css @@ -0,0 +1,20 @@ +.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{ + padding-left:0; + padding-right:0; +} +.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{ + display:block; +} +.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{ + display:none; +} + +.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{ + box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color); +} +.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{ + box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color); +} +.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{ + box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff; +} \ No newline at end of file diff --git a/wp-includes/blocks/block/editor.min.css b/wp-includes/blocks/block/editor.min.css new file mode 100644 index 0000000000..cd6495b52e --- /dev/null +++ b/wp-includes/blocks/block/editor.min.css @@ -0,0 +1 @@ +.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff} \ No newline at end of file diff --git a/wp-includes/blocks/button/editor-rtl.css b/wp-includes/blocks/button/editor-rtl.css new file mode 100644 index 0000000000..251ed75ac4 --- /dev/null +++ b/wp-includes/blocks/button/editor-rtl.css @@ -0,0 +1,61 @@ +.wp-block[data-align=center]>.wp-block-button{ + margin-left:auto; + margin-right:auto; + text-align:center; +} + +.wp-block[data-align=right]>.wp-block-button{ + text-align:right; +} + +.wp-block-button{ + cursor:text; + position:relative; +} +.wp-block-button:focus{ + box-shadow:0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color); + outline:2px solid transparent; + outline-offset:-2px; +} +.wp-block-button[data-rich-text-placeholder]:after{ + opacity:.8; +} + +.wp-block-button__inline-link{ + color:#757575; + height:0; + max-width:290px; + overflow:hidden; +} +.wp-block-button__inline-link-input__suggestions{ + max-width:290px; +} +@media (min-width:782px){ + .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{ + max-width:260px; + } +} +@media (min-width:960px){ + .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{ + max-width:290px; + } +} +.is-selected .wp-block-button__inline-link{ + height:auto; + overflow:visible; +} + +.wp-button-label__width .components-button-group{ + display:block; +} +.wp-button-label__width .components-base-control__field{ + margin-bottom:12px; +} + +div[data-type="core/button"]{ + display:table; +} + +.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{ + text-decoration:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/button/editor-rtl.min.css b/wp-includes/blocks/button/editor-rtl.min.css new file mode 100644 index 0000000000..ba086433ec --- /dev/null +++ b/wp-includes/blocks/button/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block[data-align=center]>.wp-block-button{margin-left:auto;margin-right:auto;text-align:center}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{cursor:text;position:relative}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;max-width:290px;overflow:hidden}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/button/editor.css b/wp-includes/blocks/button/editor.css new file mode 100644 index 0000000000..251ed75ac4 --- /dev/null +++ b/wp-includes/blocks/button/editor.css @@ -0,0 +1,61 @@ +.wp-block[data-align=center]>.wp-block-button{ + margin-left:auto; + margin-right:auto; + text-align:center; +} + +.wp-block[data-align=right]>.wp-block-button{ + text-align:right; +} + +.wp-block-button{ + cursor:text; + position:relative; +} +.wp-block-button:focus{ + box-shadow:0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color); + outline:2px solid transparent; + outline-offset:-2px; +} +.wp-block-button[data-rich-text-placeholder]:after{ + opacity:.8; +} + +.wp-block-button__inline-link{ + color:#757575; + height:0; + max-width:290px; + overflow:hidden; +} +.wp-block-button__inline-link-input__suggestions{ + max-width:290px; +} +@media (min-width:782px){ + .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{ + max-width:260px; + } +} +@media (min-width:960px){ + .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{ + max-width:290px; + } +} +.is-selected .wp-block-button__inline-link{ + height:auto; + overflow:visible; +} + +.wp-button-label__width .components-button-group{ + display:block; +} +.wp-button-label__width .components-base-control__field{ + margin-bottom:12px; +} + +div[data-type="core/button"]{ + display:table; +} + +.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{ + text-decoration:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/button/editor.min.css b/wp-includes/blocks/button/editor.min.css new file mode 100644 index 0000000000..f3a7867b56 --- /dev/null +++ b/wp-includes/blocks/button/editor.min.css @@ -0,0 +1,2 @@ +.wp-block[data-align=center]>.wp-block-button{margin-left:auto;margin-right:auto;text-align:center}.wp-block[data-align=right]>.wp-block-button{ + /*!rtl:ignore*/text-align:right}.wp-block-button{cursor:text;position:relative}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;max-width:290px;overflow:hidden}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/button/style-rtl.css b/wp-includes/blocks/button/style-rtl.css new file mode 100644 index 0000000000..1140448dda --- /dev/null +++ b/wp-includes/blocks/button/style-rtl.css @@ -0,0 +1,79 @@ +.wp-block-button__link{ + box-sizing:border-box; + cursor:pointer; + display:inline-block; + text-align:center; + word-break:break-word; +} +.wp-block-button__link.aligncenter{ + text-align:center; +} +.wp-block-button__link.alignright{ + text-align:right; +} + +:where(.wp-block-button__link){ + border-radius:9999px; + box-shadow:none; + padding:calc(.667em + 2px) calc(1.333em + 2px); + text-decoration:none; +} + +.wp-block-button[style*=text-decoration] .wp-block-button__link{ + text-decoration:inherit; +} + +.wp-block-buttons>.wp-block-button.has-custom-width{ + max-width:none; +} +.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{ + width:100%; +} +.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{ + font-size:inherit; +} +.wp-block-buttons>.wp-block-button.wp-block-button__width-25{ + width:calc(25% - var(--wp--style--block-gap, .5em)*.75); +} +.wp-block-buttons>.wp-block-button.wp-block-button__width-50{ + width:calc(50% - var(--wp--style--block-gap, .5em)*.5); +} +.wp-block-buttons>.wp-block-button.wp-block-button__width-75{ + width:calc(75% - var(--wp--style--block-gap, .5em)*.25); +} +.wp-block-buttons>.wp-block-button.wp-block-button__width-100{ + flex-basis:100%; + width:100%; +} + +.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{ + width:25%; +} +.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{ + width:50%; +} +.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{ + width:75%; +} + +.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{ + border-radius:0; +} + +.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{ + border-radius:0 !important; +} + +.wp-block-button .wp-block-button__link.is-style-outline,.wp-block-button.is-style-outline>.wp-block-button__link{ + border:2px solid; + padding:.667em 1.333em; +} + +.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color),.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color){ + color:currentColor; +} + +.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background),.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background){ + background-color:initial; + background-image:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/button/style-rtl.min.css b/wp-includes/blocks/button/style-rtl.min.css new file mode 100644 index 0000000000..e8e456cae0 --- /dev/null +++ b/wp-includes/blocks/button/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-button__link{box-sizing:border-box;cursor:pointer;display:inline-block;text-align:center;word-break:break-word}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){border-radius:9999px;box-shadow:none;padding:calc(.667em + 2px) calc(1.333em + 2px);text-decoration:none}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.wp-block-button .wp-block-button__link.is-style-outline,.wp-block-button.is-style-outline>.wp-block-button__link{border:2px solid;padding:.667em 1.333em}.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color),.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color){color:currentColor}.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background),.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background){background-color:initial;background-image:none} \ No newline at end of file diff --git a/wp-includes/blocks/button/style.css b/wp-includes/blocks/button/style.css new file mode 100644 index 0000000000..1140448dda --- /dev/null +++ b/wp-includes/blocks/button/style.css @@ -0,0 +1,79 @@ +.wp-block-button__link{ + box-sizing:border-box; + cursor:pointer; + display:inline-block; + text-align:center; + word-break:break-word; +} +.wp-block-button__link.aligncenter{ + text-align:center; +} +.wp-block-button__link.alignright{ + text-align:right; +} + +:where(.wp-block-button__link){ + border-radius:9999px; + box-shadow:none; + padding:calc(.667em + 2px) calc(1.333em + 2px); + text-decoration:none; +} + +.wp-block-button[style*=text-decoration] .wp-block-button__link{ + text-decoration:inherit; +} + +.wp-block-buttons>.wp-block-button.has-custom-width{ + max-width:none; +} +.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{ + width:100%; +} +.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{ + font-size:inherit; +} +.wp-block-buttons>.wp-block-button.wp-block-button__width-25{ + width:calc(25% - var(--wp--style--block-gap, .5em)*.75); +} +.wp-block-buttons>.wp-block-button.wp-block-button__width-50{ + width:calc(50% - var(--wp--style--block-gap, .5em)*.5); +} +.wp-block-buttons>.wp-block-button.wp-block-button__width-75{ + width:calc(75% - var(--wp--style--block-gap, .5em)*.25); +} +.wp-block-buttons>.wp-block-button.wp-block-button__width-100{ + flex-basis:100%; + width:100%; +} + +.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{ + width:25%; +} +.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{ + width:50%; +} +.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{ + width:75%; +} + +.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{ + border-radius:0; +} + +.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{ + border-radius:0 !important; +} + +.wp-block-button .wp-block-button__link.is-style-outline,.wp-block-button.is-style-outline>.wp-block-button__link{ + border:2px solid; + padding:.667em 1.333em; +} + +.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color),.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color){ + color:currentColor; +} + +.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background),.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background){ + background-color:initial; + background-image:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/button/style.min.css b/wp-includes/blocks/button/style.min.css new file mode 100644 index 0000000000..e8e456cae0 --- /dev/null +++ b/wp-includes/blocks/button/style.min.css @@ -0,0 +1 @@ +.wp-block-button__link{box-sizing:border-box;cursor:pointer;display:inline-block;text-align:center;word-break:break-word}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){border-radius:9999px;box-shadow:none;padding:calc(.667em + 2px) calc(1.333em + 2px);text-decoration:none}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.wp-block-button .wp-block-button__link.is-style-outline,.wp-block-button.is-style-outline>.wp-block-button__link{border:2px solid;padding:.667em 1.333em}.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color),.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color){color:currentColor}.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background),.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background){background-color:initial;background-image:none} \ No newline at end of file diff --git a/wp-includes/blocks/buttons/editor-rtl.css b/wp-includes/blocks/buttons/editor-rtl.css new file mode 100644 index 0000000000..af2ce7bc09 --- /dev/null +++ b/wp-includes/blocks/buttons/editor-rtl.css @@ -0,0 +1,34 @@ +.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{ + margin:0; +} +.wp-block-buttons>.block-list-appender{ + align-items:center; + display:inline-flex; +} +.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{ + justify-content:flex-start; +} +.wp-block-buttons>.wp-block-button:focus{ + box-shadow:none; +} +.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{ + margin-left:auto; + margin-right:auto; + margin-top:0; + width:100%; +} +.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{ + margin-bottom:0; +} +.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link{ + font-size:inherit; +} + +.wp-block[data-align=center]>.wp-block-buttons{ + align-items:center; + justify-content:center; +} + +.wp-block[data-align=right]>.wp-block-buttons{ + justify-content:flex-end; +} \ No newline at end of file diff --git a/wp-includes/blocks/buttons/editor-rtl.min.css b/wp-includes/blocks/buttons/editor-rtl.min.css new file mode 100644 index 0000000000..65396cdb0c --- /dev/null +++ b/wp-includes/blocks/buttons/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{align-items:center;display:inline-flex}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end} \ No newline at end of file diff --git a/wp-includes/blocks/buttons/editor.css b/wp-includes/blocks/buttons/editor.css new file mode 100644 index 0000000000..af2ce7bc09 --- /dev/null +++ b/wp-includes/blocks/buttons/editor.css @@ -0,0 +1,34 @@ +.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{ + margin:0; +} +.wp-block-buttons>.block-list-appender{ + align-items:center; + display:inline-flex; +} +.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{ + justify-content:flex-start; +} +.wp-block-buttons>.wp-block-button:focus{ + box-shadow:none; +} +.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{ + margin-left:auto; + margin-right:auto; + margin-top:0; + width:100%; +} +.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{ + margin-bottom:0; +} +.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link{ + font-size:inherit; +} + +.wp-block[data-align=center]>.wp-block-buttons{ + align-items:center; + justify-content:center; +} + +.wp-block[data-align=right]>.wp-block-buttons{ + justify-content:flex-end; +} \ No newline at end of file diff --git a/wp-includes/blocks/buttons/editor.min.css b/wp-includes/blocks/buttons/editor.min.css new file mode 100644 index 0000000000..65396cdb0c --- /dev/null +++ b/wp-includes/blocks/buttons/editor.min.css @@ -0,0 +1 @@ +.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{align-items:center;display:inline-flex}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end} \ No newline at end of file diff --git a/wp-includes/blocks/buttons/style-rtl.css b/wp-includes/blocks/buttons/style-rtl.css new file mode 100644 index 0000000000..8ece3079a6 --- /dev/null +++ b/wp-includes/blocks/buttons/style-rtl.css @@ -0,0 +1,49 @@ +.wp-block-buttons.is-vertical{ + flex-direction:column; +} +.wp-block-buttons.is-vertical>.wp-block-button:last-child{ + margin-bottom:0; +} +.wp-block-buttons>.wp-block-button{ + display:inline-block; + margin:0; +} +.wp-block-buttons.is-content-justification-left{ + justify-content:flex-start; +} +.wp-block-buttons.is-content-justification-left.is-vertical{ + align-items:flex-start; +} +.wp-block-buttons.is-content-justification-center{ + justify-content:center; +} +.wp-block-buttons.is-content-justification-center.is-vertical{ + align-items:center; +} +.wp-block-buttons.is-content-justification-right{ + justify-content:flex-end; +} +.wp-block-buttons.is-content-justification-right.is-vertical{ + align-items:flex-end; +} +.wp-block-buttons.is-content-justification-space-between{ + justify-content:space-between; +} +.wp-block-buttons.aligncenter{ + text-align:center; +} +.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{ + margin-left:auto; + margin-right:auto; + width:100%; +} +.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{ + text-decoration:inherit; +} +.wp-block-buttons.has-custom-font-size .wp-block-button__link{ + font-size:inherit; +} + +.wp-block-button.aligncenter{ + text-align:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/buttons/style-rtl.min.css b/wp-includes/blocks/buttons/style-rtl.min.css new file mode 100644 index 0000000000..6816481773 --- /dev/null +++ b/wp-includes/blocks/buttons/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-button.aligncenter{text-align:center} \ No newline at end of file diff --git a/wp-includes/blocks/buttons/style.css b/wp-includes/blocks/buttons/style.css new file mode 100644 index 0000000000..8ece3079a6 --- /dev/null +++ b/wp-includes/blocks/buttons/style.css @@ -0,0 +1,49 @@ +.wp-block-buttons.is-vertical{ + flex-direction:column; +} +.wp-block-buttons.is-vertical>.wp-block-button:last-child{ + margin-bottom:0; +} +.wp-block-buttons>.wp-block-button{ + display:inline-block; + margin:0; +} +.wp-block-buttons.is-content-justification-left{ + justify-content:flex-start; +} +.wp-block-buttons.is-content-justification-left.is-vertical{ + align-items:flex-start; +} +.wp-block-buttons.is-content-justification-center{ + justify-content:center; +} +.wp-block-buttons.is-content-justification-center.is-vertical{ + align-items:center; +} +.wp-block-buttons.is-content-justification-right{ + justify-content:flex-end; +} +.wp-block-buttons.is-content-justification-right.is-vertical{ + align-items:flex-end; +} +.wp-block-buttons.is-content-justification-space-between{ + justify-content:space-between; +} +.wp-block-buttons.aligncenter{ + text-align:center; +} +.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{ + margin-left:auto; + margin-right:auto; + width:100%; +} +.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{ + text-decoration:inherit; +} +.wp-block-buttons.has-custom-font-size .wp-block-button__link{ + font-size:inherit; +} + +.wp-block-button.aligncenter{ + text-align:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/buttons/style.min.css b/wp-includes/blocks/buttons/style.min.css new file mode 100644 index 0000000000..6816481773 --- /dev/null +++ b/wp-includes/blocks/buttons/style.min.css @@ -0,0 +1 @@ +.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-button.aligncenter{text-align:center} \ No newline at end of file diff --git a/wp-includes/blocks/calendar/style-rtl.css b/wp-includes/blocks/calendar/style-rtl.css new file mode 100644 index 0000000000..1f43997362 --- /dev/null +++ b/wp-includes/blocks/calendar/style-rtl.css @@ -0,0 +1,33 @@ +.wp-block-calendar{ + text-align:center; +} +.wp-block-calendar td,.wp-block-calendar th{ + border:1px solid; + padding:.25em; +} +.wp-block-calendar th{ + font-weight:400; +} +.wp-block-calendar caption{ + background-color:inherit; +} +.wp-block-calendar table{ + border-collapse:collapse; + width:100%; +} +.wp-block-calendar table:where(:not(.has-text-color)){ + color:#40464d; +} +.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{ + border-color:#ddd; +} +.wp-block-calendar table.has-background th{ + background-color:inherit; +} +.wp-block-calendar table.has-text-color th{ + color:inherit; +} + +:where(.wp-block-calendar table:not(.has-background) th){ + background:#ddd; +} \ No newline at end of file diff --git a/wp-includes/blocks/calendar/style-rtl.min.css b/wp-includes/blocks/calendar/style-rtl.min.css new file mode 100644 index 0000000000..d41b1537af --- /dev/null +++ b/wp-includes/blocks/calendar/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-calendar{text-align:center}.wp-block-calendar td,.wp-block-calendar th{border:1px solid;padding:.25em}.wp-block-calendar th{font-weight:400}.wp-block-calendar caption{background-color:inherit}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table:where(:not(.has-text-color)){color:#40464d}.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{border-color:#ddd}.wp-block-calendar table.has-background th{background-color:inherit}.wp-block-calendar table.has-text-color th{color:inherit}:where(.wp-block-calendar table:not(.has-background) th){background:#ddd} \ No newline at end of file diff --git a/wp-includes/blocks/calendar/style.css b/wp-includes/blocks/calendar/style.css new file mode 100644 index 0000000000..1f43997362 --- /dev/null +++ b/wp-includes/blocks/calendar/style.css @@ -0,0 +1,33 @@ +.wp-block-calendar{ + text-align:center; +} +.wp-block-calendar td,.wp-block-calendar th{ + border:1px solid; + padding:.25em; +} +.wp-block-calendar th{ + font-weight:400; +} +.wp-block-calendar caption{ + background-color:inherit; +} +.wp-block-calendar table{ + border-collapse:collapse; + width:100%; +} +.wp-block-calendar table:where(:not(.has-text-color)){ + color:#40464d; +} +.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{ + border-color:#ddd; +} +.wp-block-calendar table.has-background th{ + background-color:inherit; +} +.wp-block-calendar table.has-text-color th{ + color:inherit; +} + +:where(.wp-block-calendar table:not(.has-background) th){ + background:#ddd; +} \ No newline at end of file diff --git a/wp-includes/blocks/calendar/style.min.css b/wp-includes/blocks/calendar/style.min.css new file mode 100644 index 0000000000..d41b1537af --- /dev/null +++ b/wp-includes/blocks/calendar/style.min.css @@ -0,0 +1 @@ +.wp-block-calendar{text-align:center}.wp-block-calendar td,.wp-block-calendar th{border:1px solid;padding:.25em}.wp-block-calendar th{font-weight:400}.wp-block-calendar caption{background-color:inherit}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table:where(:not(.has-text-color)){color:#40464d}.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{border-color:#ddd}.wp-block-calendar table.has-background th{background-color:inherit}.wp-block-calendar table.has-text-color th{color:inherit}:where(.wp-block-calendar table:not(.has-background) th){background:#ddd} \ No newline at end of file diff --git a/wp-includes/blocks/categories/editor-rtl.css b/wp-includes/blocks/categories/editor-rtl.css new file mode 100644 index 0000000000..dfdbac0fd2 --- /dev/null +++ b/wp-includes/blocks/categories/editor-rtl.css @@ -0,0 +1,6 @@ +.wp-block-categories ul{ + padding-right:2.5em; +} +.wp-block-categories ul ul{ + margin-top:6px; +} \ No newline at end of file diff --git a/wp-includes/blocks/categories/editor-rtl.min.css b/wp-includes/blocks/categories/editor-rtl.min.css new file mode 100644 index 0000000000..c20be5a4e5 --- /dev/null +++ b/wp-includes/blocks/categories/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px} \ No newline at end of file diff --git a/wp-includes/blocks/categories/editor.css b/wp-includes/blocks/categories/editor.css new file mode 100644 index 0000000000..544bd1adeb --- /dev/null +++ b/wp-includes/blocks/categories/editor.css @@ -0,0 +1,6 @@ +.wp-block-categories ul{ + padding-left:2.5em; +} +.wp-block-categories ul ul{ + margin-top:6px; +} \ No newline at end of file diff --git a/wp-includes/blocks/categories/editor.min.css b/wp-includes/blocks/categories/editor.min.css new file mode 100644 index 0000000000..705e5e7f90 --- /dev/null +++ b/wp-includes/blocks/categories/editor.min.css @@ -0,0 +1 @@ +.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px} \ No newline at end of file diff --git a/wp-includes/blocks/categories/style-rtl.css b/wp-includes/blocks/categories/style-rtl.css new file mode 100644 index 0000000000..7a30461876 --- /dev/null +++ b/wp-includes/blocks/categories/style-rtl.css @@ -0,0 +1,9 @@ +.wp-block-categories{ + box-sizing:border-box; +} +.wp-block-categories.alignleft{ + margin-right:2em; +} +.wp-block-categories.alignright{ + margin-left:2em; +} \ No newline at end of file diff --git a/wp-includes/blocks/categories/style-rtl.min.css b/wp-includes/blocks/categories/style-rtl.min.css new file mode 100644 index 0000000000..11a1e48cd7 --- /dev/null +++ b/wp-includes/blocks/categories/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-categories{box-sizing:border-box}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em} \ No newline at end of file diff --git a/wp-includes/blocks/categories/style.css b/wp-includes/blocks/categories/style.css new file mode 100644 index 0000000000..7a30461876 --- /dev/null +++ b/wp-includes/blocks/categories/style.css @@ -0,0 +1,9 @@ +.wp-block-categories{ + box-sizing:border-box; +} +.wp-block-categories.alignleft{ + margin-right:2em; +} +.wp-block-categories.alignright{ + margin-left:2em; +} \ No newline at end of file diff --git a/wp-includes/blocks/categories/style.min.css b/wp-includes/blocks/categories/style.min.css new file mode 100644 index 0000000000..11a1e48cd7 --- /dev/null +++ b/wp-includes/blocks/categories/style.min.css @@ -0,0 +1 @@ +.wp-block-categories{box-sizing:border-box}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em} \ No newline at end of file diff --git a/wp-includes/blocks/code/editor-rtl.css b/wp-includes/blocks/code/editor-rtl.css new file mode 100644 index 0000000000..4f771c6783 --- /dev/null +++ b/wp-includes/blocks/code/editor-rtl.css @@ -0,0 +1,3 @@ +.wp-block-code code{ + background:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/code/editor-rtl.min.css b/wp-includes/blocks/code/editor-rtl.min.css new file mode 100644 index 0000000000..83ce9e156b --- /dev/null +++ b/wp-includes/blocks/code/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-code code{background:none} \ No newline at end of file diff --git a/wp-includes/blocks/code/editor.css b/wp-includes/blocks/code/editor.css new file mode 100644 index 0000000000..4f771c6783 --- /dev/null +++ b/wp-includes/blocks/code/editor.css @@ -0,0 +1,3 @@ +.wp-block-code code{ + background:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/code/editor.min.css b/wp-includes/blocks/code/editor.min.css new file mode 100644 index 0000000000..83ce9e156b --- /dev/null +++ b/wp-includes/blocks/code/editor.min.css @@ -0,0 +1 @@ +.wp-block-code code{background:none} \ No newline at end of file diff --git a/wp-includes/blocks/code/style-rtl.css b/wp-includes/blocks/code/style-rtl.css new file mode 100644 index 0000000000..bfb5909d9d --- /dev/null +++ b/wp-includes/blocks/code/style-rtl.css @@ -0,0 +1,9 @@ +.wp-block-code{ + box-sizing:border-box; +} +.wp-block-code code{ + display:block; + font-family:inherit; + overflow-wrap:break-word; + white-space:pre-wrap; +} \ No newline at end of file diff --git a/wp-includes/blocks/code/style-rtl.min.css b/wp-includes/blocks/code/style-rtl.min.css new file mode 100644 index 0000000000..3ef3f33ba2 --- /dev/null +++ b/wp-includes/blocks/code/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-code{box-sizing:border-box}.wp-block-code code{display:block;font-family:inherit;overflow-wrap:break-word;white-space:pre-wrap} \ No newline at end of file diff --git a/wp-includes/blocks/code/style.css b/wp-includes/blocks/code/style.css new file mode 100644 index 0000000000..bfb5909d9d --- /dev/null +++ b/wp-includes/blocks/code/style.css @@ -0,0 +1,9 @@ +.wp-block-code{ + box-sizing:border-box; +} +.wp-block-code code{ + display:block; + font-family:inherit; + overflow-wrap:break-word; + white-space:pre-wrap; +} \ No newline at end of file diff --git a/wp-includes/blocks/code/style.min.css b/wp-includes/blocks/code/style.min.css new file mode 100644 index 0000000000..3ef3f33ba2 --- /dev/null +++ b/wp-includes/blocks/code/style.min.css @@ -0,0 +1 @@ +.wp-block-code{box-sizing:border-box}.wp-block-code code{display:block;font-family:inherit;overflow-wrap:break-word;white-space:pre-wrap} \ No newline at end of file diff --git a/wp-includes/blocks/code/theme-rtl.css b/wp-includes/blocks/code/theme-rtl.css new file mode 100644 index 0000000000..623f424d30 --- /dev/null +++ b/wp-includes/blocks/code/theme-rtl.css @@ -0,0 +1,6 @@ +.wp-block-code{ + border:1px solid #ccc; + border-radius:4px; + font-family:Menlo,Consolas,monaco,monospace; + padding:.8em 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/code/theme-rtl.min.css b/wp-includes/blocks/code/theme-rtl.min.css new file mode 100644 index 0000000000..4d73f7012a --- /dev/null +++ b/wp-includes/blocks/code/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-code{border:1px solid #ccc;border-radius:4px;font-family:Menlo,Consolas,monaco,monospace;padding:.8em 1em} \ No newline at end of file diff --git a/wp-includes/blocks/code/theme.css b/wp-includes/blocks/code/theme.css new file mode 100644 index 0000000000..623f424d30 --- /dev/null +++ b/wp-includes/blocks/code/theme.css @@ -0,0 +1,6 @@ +.wp-block-code{ + border:1px solid #ccc; + border-radius:4px; + font-family:Menlo,Consolas,monaco,monospace; + padding:.8em 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/code/theme.min.css b/wp-includes/blocks/code/theme.min.css new file mode 100644 index 0000000000..4d73f7012a --- /dev/null +++ b/wp-includes/blocks/code/theme.min.css @@ -0,0 +1 @@ +.wp-block-code{border:1px solid #ccc;border-radius:4px;font-family:Menlo,Consolas,monaco,monospace;padding:.8em 1em} \ No newline at end of file diff --git a/wp-includes/blocks/columns/editor-rtl.css b/wp-includes/blocks/columns/editor-rtl.css new file mode 100644 index 0000000000..567ad482ac --- /dev/null +++ b/wp-includes/blocks/columns/editor-rtl.css @@ -0,0 +1,10 @@ +.wp-block-columns :where(.wp-block){ + margin-left:0; + margin-right:0; + max-width:none; +} + +html :where(.wp-block-column){ + margin-bottom:0; + margin-top:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/columns/editor-rtl.min.css b/wp-includes/blocks/columns/editor-rtl.min.css new file mode 100644 index 0000000000..d9081741a1 --- /dev/null +++ b/wp-includes/blocks/columns/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-columns :where(.wp-block){margin-left:0;margin-right:0;max-width:none}html :where(.wp-block-column){margin-bottom:0;margin-top:0} \ No newline at end of file diff --git a/wp-includes/blocks/columns/editor.css b/wp-includes/blocks/columns/editor.css new file mode 100644 index 0000000000..567ad482ac --- /dev/null +++ b/wp-includes/blocks/columns/editor.css @@ -0,0 +1,10 @@ +.wp-block-columns :where(.wp-block){ + margin-left:0; + margin-right:0; + max-width:none; +} + +html :where(.wp-block-column){ + margin-bottom:0; + margin-top:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/columns/editor.min.css b/wp-includes/blocks/columns/editor.min.css new file mode 100644 index 0000000000..d9081741a1 --- /dev/null +++ b/wp-includes/blocks/columns/editor.min.css @@ -0,0 +1 @@ +.wp-block-columns :where(.wp-block){margin-left:0;margin-right:0;max-width:none}html :where(.wp-block-column){margin-bottom:0;margin-top:0} \ No newline at end of file diff --git a/wp-includes/blocks/columns/style-rtl.css b/wp-includes/blocks/columns/style-rtl.css new file mode 100644 index 0000000000..28876a13ec --- /dev/null +++ b/wp-includes/blocks/columns/style-rtl.css @@ -0,0 +1,68 @@ +.wp-block-columns{ + align-items:normal !important; + box-sizing:border-box; + display:flex; + flex-wrap:wrap !important; + margin-bottom:1.75em; +} +@media (min-width:782px){ + .wp-block-columns{ + flex-wrap:nowrap !important; + } +} +.wp-block-columns.are-vertically-aligned-top{ + align-items:flex-start; +} +.wp-block-columns.are-vertically-aligned-center{ + align-items:center; +} +.wp-block-columns.are-vertically-aligned-bottom{ + align-items:flex-end; +} +@media (max-width:781px){ + .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{ + flex-basis:100% !important; + } +} +@media (min-width:782px){ + .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{ + flex-basis:0; + flex-grow:1; + } + .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{ + flex-grow:0; + } +} +.wp-block-columns.is-not-stacked-on-mobile{ + flex-wrap:nowrap !important; +} +.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{ + flex-basis:0; + flex-grow:1; +} +.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{ + flex-grow:0; +} + +:where(.wp-block-columns.has-background){ + padding:1.25em 2.375em; +} + +.wp-block-column{ + flex-grow:1; + min-width:0; + overflow-wrap:break-word; + word-break:break-word; +} +.wp-block-column.is-vertically-aligned-top{ + align-self:flex-start; +} +.wp-block-column.is-vertically-aligned-center{ + align-self:center; +} +.wp-block-column.is-vertically-aligned-bottom{ + align-self:flex-end; +} +.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{ + width:100%; +} \ No newline at end of file diff --git a/wp-includes/blocks/columns/style-rtl.min.css b/wp-includes/blocks/columns/style-rtl.min.css new file mode 100644 index 0000000000..aa258bbe13 --- /dev/null +++ b/wp-includes/blocks/columns/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-columns{align-items:normal!important;box-sizing:border-box;display:flex;flex-wrap:wrap!important;margin-bottom:1.75em}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap!important}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap!important}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}:where(.wp-block-columns.has-background){padding:1.25em 2.375em}.wp-block-column{flex-grow:1;min-width:0;overflow-wrap:break-word;word-break:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%} \ No newline at end of file diff --git a/wp-includes/blocks/columns/style.css b/wp-includes/blocks/columns/style.css new file mode 100644 index 0000000000..28876a13ec --- /dev/null +++ b/wp-includes/blocks/columns/style.css @@ -0,0 +1,68 @@ +.wp-block-columns{ + align-items:normal !important; + box-sizing:border-box; + display:flex; + flex-wrap:wrap !important; + margin-bottom:1.75em; +} +@media (min-width:782px){ + .wp-block-columns{ + flex-wrap:nowrap !important; + } +} +.wp-block-columns.are-vertically-aligned-top{ + align-items:flex-start; +} +.wp-block-columns.are-vertically-aligned-center{ + align-items:center; +} +.wp-block-columns.are-vertically-aligned-bottom{ + align-items:flex-end; +} +@media (max-width:781px){ + .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{ + flex-basis:100% !important; + } +} +@media (min-width:782px){ + .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{ + flex-basis:0; + flex-grow:1; + } + .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{ + flex-grow:0; + } +} +.wp-block-columns.is-not-stacked-on-mobile{ + flex-wrap:nowrap !important; +} +.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{ + flex-basis:0; + flex-grow:1; +} +.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{ + flex-grow:0; +} + +:where(.wp-block-columns.has-background){ + padding:1.25em 2.375em; +} + +.wp-block-column{ + flex-grow:1; + min-width:0; + overflow-wrap:break-word; + word-break:break-word; +} +.wp-block-column.is-vertically-aligned-top{ + align-self:flex-start; +} +.wp-block-column.is-vertically-aligned-center{ + align-self:center; +} +.wp-block-column.is-vertically-aligned-bottom{ + align-self:flex-end; +} +.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{ + width:100%; +} \ No newline at end of file diff --git a/wp-includes/blocks/columns/style.min.css b/wp-includes/blocks/columns/style.min.css new file mode 100644 index 0000000000..aa258bbe13 --- /dev/null +++ b/wp-includes/blocks/columns/style.min.css @@ -0,0 +1 @@ +.wp-block-columns{align-items:normal!important;box-sizing:border-box;display:flex;flex-wrap:wrap!important;margin-bottom:1.75em}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap!important}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap!important}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}:where(.wp-block-columns.has-background){padding:1.25em 2.375em}.wp-block-column{flex-grow:1;min-width:0;overflow-wrap:break-word;word-break:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%} \ No newline at end of file diff --git a/wp-includes/blocks/comment-content/style-rtl.css b/wp-includes/blocks/comment-content/style-rtl.css new file mode 100644 index 0000000000..f0b0adbd56 --- /dev/null +++ b/wp-includes/blocks/comment-content/style-rtl.css @@ -0,0 +1,5 @@ +.comment-awaiting-moderation{ + display:block; + font-size:.875em; + line-height:1.5; +} \ No newline at end of file diff --git a/wp-includes/blocks/comment-content/style-rtl.min.css b/wp-includes/blocks/comment-content/style-rtl.min.css new file mode 100644 index 0000000000..421e6eb187 --- /dev/null +++ b/wp-includes/blocks/comment-content/style-rtl.min.css @@ -0,0 +1 @@ +.comment-awaiting-moderation{display:block;font-size:.875em;line-height:1.5} \ No newline at end of file diff --git a/wp-includes/blocks/comment-content/style.css b/wp-includes/blocks/comment-content/style.css new file mode 100644 index 0000000000..f0b0adbd56 --- /dev/null +++ b/wp-includes/blocks/comment-content/style.css @@ -0,0 +1,5 @@ +.comment-awaiting-moderation{ + display:block; + font-size:.875em; + line-height:1.5; +} \ No newline at end of file diff --git a/wp-includes/blocks/comment-content/style.min.css b/wp-includes/blocks/comment-content/style.min.css new file mode 100644 index 0000000000..421e6eb187 --- /dev/null +++ b/wp-includes/blocks/comment-content/style.min.css @@ -0,0 +1 @@ +.comment-awaiting-moderation{display:block;font-size:.875em;line-height:1.5} \ No newline at end of file diff --git a/wp-includes/blocks/comment-template/style-rtl.css b/wp-includes/blocks/comment-template/style-rtl.css new file mode 100644 index 0000000000..51e5b89939 --- /dev/null +++ b/wp-includes/blocks/comment-template/style-rtl.css @@ -0,0 +1,28 @@ +.wp-block-comment-template{ + box-sizing:border-box; + list-style:none; + margin-bottom:0; + max-width:100%; + padding:0; +} +.wp-block-comment-template li{ + clear:both; +} +.wp-block-comment-template ol{ + list-style:none; + margin-bottom:0; + max-width:100%; + padding-right:2rem; +} +.wp-block-comment-template.alignleft{ + float:right; +} +.wp-block-comment-template.aligncenter{ + margin-left:auto; + margin-right:auto; + width:-moz-fit-content; + width:fit-content; +} +.wp-block-comment-template.alignright{ + float:left; +} \ No newline at end of file diff --git a/wp-includes/blocks/comment-template/style-rtl.min.css b/wp-includes/blocks/comment-template/style-rtl.min.css new file mode 100644 index 0000000000..d15f281c49 --- /dev/null +++ b/wp-includes/blocks/comment-template/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-comment-template{box-sizing:border-box;list-style:none;margin-bottom:0;max-width:100%;padding:0}.wp-block-comment-template li{clear:both}.wp-block-comment-template ol{list-style:none;margin-bottom:0;max-width:100%;padding-right:2rem}.wp-block-comment-template.alignleft{float:right}.wp-block-comment-template.aligncenter{margin-left:auto;margin-right:auto;width:-moz-fit-content;width:fit-content}.wp-block-comment-template.alignright{float:left} \ No newline at end of file diff --git a/wp-includes/blocks/comment-template/style.css b/wp-includes/blocks/comment-template/style.css new file mode 100644 index 0000000000..bfec572824 --- /dev/null +++ b/wp-includes/blocks/comment-template/style.css @@ -0,0 +1,28 @@ +.wp-block-comment-template{ + box-sizing:border-box; + list-style:none; + margin-bottom:0; + max-width:100%; + padding:0; +} +.wp-block-comment-template li{ + clear:both; +} +.wp-block-comment-template ol{ + list-style:none; + margin-bottom:0; + max-width:100%; + padding-left:2rem; +} +.wp-block-comment-template.alignleft{ + float:left; +} +.wp-block-comment-template.aligncenter{ + margin-left:auto; + margin-right:auto; + width:-moz-fit-content; + width:fit-content; +} +.wp-block-comment-template.alignright{ + float:right; +} \ No newline at end of file diff --git a/wp-includes/blocks/comment-template/style.min.css b/wp-includes/blocks/comment-template/style.min.css new file mode 100644 index 0000000000..631ba4f759 --- /dev/null +++ b/wp-includes/blocks/comment-template/style.min.css @@ -0,0 +1 @@ +.wp-block-comment-template{box-sizing:border-box;list-style:none;margin-bottom:0;max-width:100%;padding:0}.wp-block-comment-template li{clear:both}.wp-block-comment-template ol{list-style:none;margin-bottom:0;max-width:100%;padding-left:2rem}.wp-block-comment-template.alignleft{float:left}.wp-block-comment-template.aligncenter{margin-left:auto;margin-right:auto;width:-moz-fit-content;width:fit-content}.wp-block-comment-template.alignright{float:right} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination-numbers/editor-rtl.css b/wp-includes/blocks/comments-pagination-numbers/editor-rtl.css new file mode 100644 index 0000000000..11a0357b6e --- /dev/null +++ b/wp-includes/blocks/comments-pagination-numbers/editor-rtl.css @@ -0,0 +1,9 @@ +.wp-block-comments-pagination-numbers a{ + text-decoration:underline; +} +.wp-block-comments-pagination-numbers .page-numbers{ + margin-left:2px; +} +.wp-block-comments-pagination-numbers .page-numbers:last-child{ + margin-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination-numbers/editor-rtl.min.css b/wp-includes/blocks/comments-pagination-numbers/editor-rtl.min.css new file mode 100644 index 0000000000..24ac42491a --- /dev/null +++ b/wp-includes/blocks/comments-pagination-numbers/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-comments-pagination-numbers a{text-decoration:underline}.wp-block-comments-pagination-numbers .page-numbers{margin-left:2px}.wp-block-comments-pagination-numbers .page-numbers:last-child{margin-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination-numbers/editor.css b/wp-includes/blocks/comments-pagination-numbers/editor.css new file mode 100644 index 0000000000..a8711edfbc --- /dev/null +++ b/wp-includes/blocks/comments-pagination-numbers/editor.css @@ -0,0 +1,9 @@ +.wp-block-comments-pagination-numbers a{ + text-decoration:underline; +} +.wp-block-comments-pagination-numbers .page-numbers{ + margin-right:2px; +} +.wp-block-comments-pagination-numbers .page-numbers:last-child{ + margin-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination-numbers/editor.min.css b/wp-includes/blocks/comments-pagination-numbers/editor.min.css new file mode 100644 index 0000000000..b825f636eb --- /dev/null +++ b/wp-includes/blocks/comments-pagination-numbers/editor.min.css @@ -0,0 +1 @@ +.wp-block-comments-pagination-numbers a{text-decoration:underline}.wp-block-comments-pagination-numbers .page-numbers{margin-right:2px}.wp-block-comments-pagination-numbers .page-numbers:last-child{margin-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination/editor-rtl.css b/wp-includes/blocks/comments-pagination/editor-rtl.css new file mode 100644 index 0000000000..357836e36a --- /dev/null +++ b/wp-includes/blocks/comments-pagination/editor-rtl.css @@ -0,0 +1,19 @@ +.wp-block[data-align=center]>.wp-block-comments-pagination{ + justify-content:center; +} + +.editor-styles-wrapper .wp-block-comments-pagination{ + max-width:100%; +} +.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout{ + margin:0; +} + +.wp-block-comments-pagination>.wp-block-comments-pagination-next,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,.wp-block-comments-pagination>.wp-block-comments-pagination-previous{ + margin-bottom:.5em; + margin-right:.5em; + margin-top:.5em; +} +.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child{ + margin-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination/editor-rtl.min.css b/wp-includes/blocks/comments-pagination/editor-rtl.min.css new file mode 100644 index 0000000000..88f3633d80 --- /dev/null +++ b/wp-includes/blocks/comments-pagination/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block[data-align=center]>.wp-block-comments-pagination{justify-content:center}.editor-styles-wrapper .wp-block-comments-pagination{max-width:100%}.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout{margin:0}.wp-block-comments-pagination>.wp-block-comments-pagination-next,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,.wp-block-comments-pagination>.wp-block-comments-pagination-previous{margin-bottom:.5em;margin-right:.5em;margin-top:.5em}.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child{margin-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination/editor.css b/wp-includes/blocks/comments-pagination/editor.css new file mode 100644 index 0000000000..adb220a08c --- /dev/null +++ b/wp-includes/blocks/comments-pagination/editor.css @@ -0,0 +1,17 @@ +.wp-block[data-align=center]>.wp-block-comments-pagination{ + justify-content:center; +} + +.editor-styles-wrapper .wp-block-comments-pagination{ + max-width:100%; +} +.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout{ + margin:0; +} + +.wp-block-comments-pagination>.wp-block-comments-pagination-next,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,.wp-block-comments-pagination>.wp-block-comments-pagination-previous{ + margin:.5em .5em .5em 0; +} +.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child{ + margin-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination/editor.min.css b/wp-includes/blocks/comments-pagination/editor.min.css new file mode 100644 index 0000000000..79860b1a3e --- /dev/null +++ b/wp-includes/blocks/comments-pagination/editor.min.css @@ -0,0 +1 @@ +.wp-block[data-align=center]>.wp-block-comments-pagination{justify-content:center}.editor-styles-wrapper .wp-block-comments-pagination{max-width:100%}.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout{margin:0}.wp-block-comments-pagination>.wp-block-comments-pagination-next,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,.wp-block-comments-pagination>.wp-block-comments-pagination-previous{margin:.5em .5em .5em 0}.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child{margin-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination/style-rtl.css b/wp-includes/blocks/comments-pagination/style-rtl.css new file mode 100644 index 0000000000..8922daf09a --- /dev/null +++ b/wp-includes/blocks/comments-pagination/style-rtl.css @@ -0,0 +1,24 @@ +.wp-block-comments-pagination>.wp-block-comments-pagination-next,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,.wp-block-comments-pagination>.wp-block-comments-pagination-previous{ + margin-bottom:.5em; + margin-right:.5em; +} +.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child{ + margin-right:0; +} +.wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow{ + display:inline-block; + margin-left:1ch; +} +.wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow:not(.is-arrow-chevron){ + transform:scaleX(-1);; +} +.wp-block-comments-pagination .wp-block-comments-pagination-next-arrow{ + display:inline-block; + margin-right:1ch; +} +.wp-block-comments-pagination .wp-block-comments-pagination-next-arrow:not(.is-arrow-chevron){ + transform:scaleX(-1);; +} +.wp-block-comments-pagination.aligncenter{ + justify-content:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination/style-rtl.min.css b/wp-includes/blocks/comments-pagination/style-rtl.min.css new file mode 100644 index 0000000000..b470c0bd8e --- /dev/null +++ b/wp-includes/blocks/comments-pagination/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-comments-pagination>.wp-block-comments-pagination-next,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,.wp-block-comments-pagination>.wp-block-comments-pagination-previous{margin-bottom:.5em;margin-right:.5em}.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child{margin-right:0}.wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow{display:inline-block;margin-left:1ch}.wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-comments-pagination .wp-block-comments-pagination-next-arrow{display:inline-block;margin-right:1ch}.wp-block-comments-pagination .wp-block-comments-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-comments-pagination.aligncenter{justify-content:center} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination/style.css b/wp-includes/blocks/comments-pagination/style.css new file mode 100644 index 0000000000..4c3b883d63 --- /dev/null +++ b/wp-includes/blocks/comments-pagination/style.css @@ -0,0 +1,24 @@ +.wp-block-comments-pagination>.wp-block-comments-pagination-next,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,.wp-block-comments-pagination>.wp-block-comments-pagination-previous{ + margin-bottom:.5em; + margin-right:.5em; +} +.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child{ + margin-right:0; +} +.wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow{ + display:inline-block; + margin-right:1ch; +} +.wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow:not(.is-arrow-chevron){ + transform:scaleX(1); +} +.wp-block-comments-pagination .wp-block-comments-pagination-next-arrow{ + display:inline-block; + margin-left:1ch; +} +.wp-block-comments-pagination .wp-block-comments-pagination-next-arrow:not(.is-arrow-chevron){ + transform:scaleX(1); +} +.wp-block-comments-pagination.aligncenter{ + justify-content:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments-pagination/style.min.css b/wp-includes/blocks/comments-pagination/style.min.css new file mode 100644 index 0000000000..7e7fb33678 --- /dev/null +++ b/wp-includes/blocks/comments-pagination/style.min.css @@ -0,0 +1 @@ +.wp-block-comments-pagination>.wp-block-comments-pagination-next,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,.wp-block-comments-pagination>.wp-block-comments-pagination-previous{margin-bottom:.5em;margin-right:.5em}.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child{margin-right:0}.wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow{display:inline-block;margin-right:1ch}.wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-comments-pagination .wp-block-comments-pagination-next-arrow{display:inline-block;margin-left:1ch}.wp-block-comments-pagination .wp-block-comments-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-comments-pagination.aligncenter{justify-content:center} \ No newline at end of file diff --git a/wp-includes/blocks/comments-title/editor-rtl.css b/wp-includes/blocks/comments-title/editor-rtl.css new file mode 100644 index 0000000000..08eeb57872 --- /dev/null +++ b/wp-includes/blocks/comments-title/editor-rtl.css @@ -0,0 +1,3 @@ +.wp-block-comments-title.has-background{ + padding:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments-title/editor-rtl.min.css b/wp-includes/blocks/comments-title/editor-rtl.min.css new file mode 100644 index 0000000000..502f0da44b --- /dev/null +++ b/wp-includes/blocks/comments-title/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-comments-title.has-background{padding:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/comments-title/editor.css b/wp-includes/blocks/comments-title/editor.css new file mode 100644 index 0000000000..08eeb57872 --- /dev/null +++ b/wp-includes/blocks/comments-title/editor.css @@ -0,0 +1,3 @@ +.wp-block-comments-title.has-background{ + padding:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments-title/editor.min.css b/wp-includes/blocks/comments-title/editor.min.css new file mode 100644 index 0000000000..502f0da44b --- /dev/null +++ b/wp-includes/blocks/comments-title/editor.min.css @@ -0,0 +1 @@ +.wp-block-comments-title.has-background{padding:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/comments/editor-rtl.css b/wp-includes/blocks/comments/editor-rtl.css new file mode 100644 index 0000000000..1957e9e362 --- /dev/null +++ b/wp-includes/blocks/comments/editor-rtl.css @@ -0,0 +1,111 @@ +.wp-block-comments__legacy-placeholder,.wp-block-post-comments{ + box-sizing:border-box; +} +.wp-block-comments__legacy-placeholder .alignleft,.wp-block-post-comments .alignleft{ + float:right; +} +.wp-block-comments__legacy-placeholder .alignright,.wp-block-post-comments .alignright{ + float:left; +} +.wp-block-comments__legacy-placeholder .navigation:after,.wp-block-post-comments .navigation:after{ + clear:both; + content:""; + display:table; +} +.wp-block-comments__legacy-placeholder .commentlist,.wp-block-post-comments .commentlist{ + clear:both; + list-style:none; + margin:0; + padding:0; +} +.wp-block-comments__legacy-placeholder .commentlist .comment,.wp-block-post-comments .commentlist .comment{ + min-height:2.25em; + padding-right:3.25em; +} +.wp-block-comments__legacy-placeholder .commentlist .comment p,.wp-block-post-comments .commentlist .comment p{ + font-size:1em; + line-height:1.8; + margin:1em 0; +} +.wp-block-comments__legacy-placeholder .commentlist .children,.wp-block-post-comments .commentlist .children{ + list-style:none; + margin:0; + padding:0; +} +.wp-block-comments__legacy-placeholder .comment-author,.wp-block-post-comments .comment-author{ + line-height:1.5; +} +.wp-block-comments__legacy-placeholder .comment-author .avatar,.wp-block-post-comments .comment-author .avatar{ + border-radius:1.5em; + display:block; + float:right; + height:2.5em; + margin-left:.75em; + margin-top:.5em; + width:2.5em; +} +.wp-block-comments__legacy-placeholder .comment-author cite,.wp-block-post-comments .comment-author cite{ + font-style:normal; +} +.wp-block-comments__legacy-placeholder .comment-meta,.wp-block-post-comments .comment-meta{ + font-size:.875em; + line-height:1.5; +} +.wp-block-comments__legacy-placeholder .comment-meta b,.wp-block-post-comments .comment-meta b{ + font-weight:400; +} +.wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation,.wp-block-post-comments .comment-meta .comment-awaiting-moderation{ + display:block; + margin-bottom:1em; + margin-top:1em; +} +.wp-block-comments__legacy-placeholder .comment-body .commentmetadata,.wp-block-post-comments .comment-body .commentmetadata{ + font-size:.875em; +} +.wp-block-comments__legacy-placeholder .comment-form-author label,.wp-block-comments__legacy-placeholder .comment-form-comment label,.wp-block-comments__legacy-placeholder .comment-form-email label,.wp-block-comments__legacy-placeholder .comment-form-url label,.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{ + display:block; + margin-bottom:.25em; +} +.wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-comments__legacy-placeholder .comment-form textarea,.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments .comment-form textarea{ + box-sizing:border-box; + display:block; + width:100%; +} +.wp-block-comments__legacy-placeholder .comment-form-cookies-consent,.wp-block-post-comments .comment-form-cookies-consent{ + display:flex; + gap:.25em; +} +.wp-block-comments__legacy-placeholder .comment-form-cookies-consent #wp-comment-cookies-consent,.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{ + margin-top:.35em; +} +.wp-block-comments__legacy-placeholder .comment-reply-title,.wp-block-post-comments .comment-reply-title{ + margin-bottom:0; +} +.wp-block-comments__legacy-placeholder .comment-reply-title :where(small),.wp-block-post-comments .comment-reply-title :where(small){ + font-size:var(--wp--preset--font-size--medium, smaller); + margin-right:.5em; +} +.wp-block-comments__legacy-placeholder .reply,.wp-block-post-comments .reply{ + font-size:.875em; + margin-bottom:1.4em; +} +.wp-block-comments__legacy-placeholder input:not([type=submit]),.wp-block-comments__legacy-placeholder textarea,.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{ + border:1px solid #949494; + font-family:inherit; + font-size:1em; +} +.wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]),.wp-block-comments__legacy-placeholder textarea,.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{ + padding:calc(.667em + 2px); +} + +:where(.wp-block-post-comments input[type=submit]){ + border:none; +} + +.block-library-comments-toolbar__popover .components-popover__content{ + min-width:230px; +} + +.wp-block-comments__legacy-placeholder *{ + pointer-events:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments/editor-rtl.min.css b/wp-includes/blocks/comments/editor-rtl.min.css new file mode 100644 index 0000000000..37af71b036 --- /dev/null +++ b/wp-includes/blocks/comments/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-comments__legacy-placeholder,.wp-block-post-comments{box-sizing:border-box}.wp-block-comments__legacy-placeholder .alignleft,.wp-block-post-comments .alignleft{float:right}.wp-block-comments__legacy-placeholder .alignright,.wp-block-post-comments .alignright{float:left}.wp-block-comments__legacy-placeholder .navigation:after,.wp-block-post-comments .navigation:after{clear:both;content:"";display:table}.wp-block-comments__legacy-placeholder .commentlist,.wp-block-post-comments .commentlist{clear:both;list-style:none;margin:0;padding:0}.wp-block-comments__legacy-placeholder .commentlist .comment,.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-right:3.25em}.wp-block-comments__legacy-placeholder .commentlist .comment p,.wp-block-post-comments .commentlist .comment p{font-size:1em;line-height:1.8;margin:1em 0}.wp-block-comments__legacy-placeholder .commentlist .children,.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-comments__legacy-placeholder .comment-author,.wp-block-post-comments .comment-author{line-height:1.5}.wp-block-comments__legacy-placeholder .comment-author .avatar,.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;margin-top:.5em;width:2.5em}.wp-block-comments__legacy-placeholder .comment-author cite,.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-comments__legacy-placeholder .comment-meta,.wp-block-post-comments .comment-meta{font-size:.875em;line-height:1.5}.wp-block-comments__legacy-placeholder .comment-meta b,.wp-block-post-comments .comment-meta b{font-weight:400}.wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation,.wp-block-post-comments .comment-meta .comment-awaiting-moderation{display:block;margin-bottom:1em;margin-top:1em}.wp-block-comments__legacy-placeholder .comment-body .commentmetadata,.wp-block-post-comments .comment-body .commentmetadata{font-size:.875em}.wp-block-comments__legacy-placeholder .comment-form-author label,.wp-block-comments__legacy-placeholder .comment-form-comment label,.wp-block-comments__legacy-placeholder .comment-form-email label,.wp-block-comments__legacy-placeholder .comment-form-url label,.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-comments__legacy-placeholder .comment-form textarea,.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments .comment-form textarea{box-sizing:border-box;display:block;width:100%}.wp-block-comments__legacy-placeholder .comment-form-cookies-consent,.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-comments__legacy-placeholder .comment-form-cookies-consent #wp-comment-cookies-consent,.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-comments__legacy-placeholder .comment-reply-title,.wp-block-post-comments .comment-reply-title{margin-bottom:0}.wp-block-comments__legacy-placeholder .comment-reply-title :where(small),.wp-block-post-comments .comment-reply-title :where(small){font-size:var(--wp--preset--font-size--medium,smaller);margin-right:.5em}.wp-block-comments__legacy-placeholder .reply,.wp-block-post-comments .reply{font-size:.875em;margin-bottom:1.4em}.wp-block-comments__legacy-placeholder input:not([type=submit]),.wp-block-comments__legacy-placeholder textarea,.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]),.wp-block-comments__legacy-placeholder textarea,.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}:where(.wp-block-post-comments input[type=submit]){border:none}.block-library-comments-toolbar__popover .components-popover__content{min-width:230px}.wp-block-comments__legacy-placeholder *{pointer-events:none} \ No newline at end of file diff --git a/wp-includes/blocks/comments/editor.css b/wp-includes/blocks/comments/editor.css new file mode 100644 index 0000000000..e1b3136d9d --- /dev/null +++ b/wp-includes/blocks/comments/editor.css @@ -0,0 +1,111 @@ +.wp-block-comments__legacy-placeholder,.wp-block-post-comments{ + box-sizing:border-box; +} +.wp-block-comments__legacy-placeholder .alignleft,.wp-block-post-comments .alignleft{ + float:left; +} +.wp-block-comments__legacy-placeholder .alignright,.wp-block-post-comments .alignright{ + float:right; +} +.wp-block-comments__legacy-placeholder .navigation:after,.wp-block-post-comments .navigation:after{ + clear:both; + content:""; + display:table; +} +.wp-block-comments__legacy-placeholder .commentlist,.wp-block-post-comments .commentlist{ + clear:both; + list-style:none; + margin:0; + padding:0; +} +.wp-block-comments__legacy-placeholder .commentlist .comment,.wp-block-post-comments .commentlist .comment{ + min-height:2.25em; + padding-left:3.25em; +} +.wp-block-comments__legacy-placeholder .commentlist .comment p,.wp-block-post-comments .commentlist .comment p{ + font-size:1em; + line-height:1.8; + margin:1em 0; +} +.wp-block-comments__legacy-placeholder .commentlist .children,.wp-block-post-comments .commentlist .children{ + list-style:none; + margin:0; + padding:0; +} +.wp-block-comments__legacy-placeholder .comment-author,.wp-block-post-comments .comment-author{ + line-height:1.5; +} +.wp-block-comments__legacy-placeholder .comment-author .avatar,.wp-block-post-comments .comment-author .avatar{ + border-radius:1.5em; + display:block; + float:left; + height:2.5em; + margin-right:.75em; + margin-top:.5em; + width:2.5em; +} +.wp-block-comments__legacy-placeholder .comment-author cite,.wp-block-post-comments .comment-author cite{ + font-style:normal; +} +.wp-block-comments__legacy-placeholder .comment-meta,.wp-block-post-comments .comment-meta{ + font-size:.875em; + line-height:1.5; +} +.wp-block-comments__legacy-placeholder .comment-meta b,.wp-block-post-comments .comment-meta b{ + font-weight:400; +} +.wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation,.wp-block-post-comments .comment-meta .comment-awaiting-moderation{ + display:block; + margin-bottom:1em; + margin-top:1em; +} +.wp-block-comments__legacy-placeholder .comment-body .commentmetadata,.wp-block-post-comments .comment-body .commentmetadata{ + font-size:.875em; +} +.wp-block-comments__legacy-placeholder .comment-form-author label,.wp-block-comments__legacy-placeholder .comment-form-comment label,.wp-block-comments__legacy-placeholder .comment-form-email label,.wp-block-comments__legacy-placeholder .comment-form-url label,.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{ + display:block; + margin-bottom:.25em; +} +.wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-comments__legacy-placeholder .comment-form textarea,.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments .comment-form textarea{ + box-sizing:border-box; + display:block; + width:100%; +} +.wp-block-comments__legacy-placeholder .comment-form-cookies-consent,.wp-block-post-comments .comment-form-cookies-consent{ + display:flex; + gap:.25em; +} +.wp-block-comments__legacy-placeholder .comment-form-cookies-consent #wp-comment-cookies-consent,.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{ + margin-top:.35em; +} +.wp-block-comments__legacy-placeholder .comment-reply-title,.wp-block-post-comments .comment-reply-title{ + margin-bottom:0; +} +.wp-block-comments__legacy-placeholder .comment-reply-title :where(small),.wp-block-post-comments .comment-reply-title :where(small){ + font-size:var(--wp--preset--font-size--medium, smaller); + margin-left:.5em; +} +.wp-block-comments__legacy-placeholder .reply,.wp-block-post-comments .reply{ + font-size:.875em; + margin-bottom:1.4em; +} +.wp-block-comments__legacy-placeholder input:not([type=submit]),.wp-block-comments__legacy-placeholder textarea,.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{ + border:1px solid #949494; + font-family:inherit; + font-size:1em; +} +.wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]),.wp-block-comments__legacy-placeholder textarea,.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{ + padding:calc(.667em + 2px); +} + +:where(.wp-block-post-comments input[type=submit]){ + border:none; +} + +.block-library-comments-toolbar__popover .components-popover__content{ + min-width:230px; +} + +.wp-block-comments__legacy-placeholder *{ + pointer-events:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments/editor.min.css b/wp-includes/blocks/comments/editor.min.css new file mode 100644 index 0000000000..995153d4c0 --- /dev/null +++ b/wp-includes/blocks/comments/editor.min.css @@ -0,0 +1 @@ +.wp-block-comments__legacy-placeholder,.wp-block-post-comments{box-sizing:border-box}.wp-block-comments__legacy-placeholder .alignleft,.wp-block-post-comments .alignleft{float:left}.wp-block-comments__legacy-placeholder .alignright,.wp-block-post-comments .alignright{float:right}.wp-block-comments__legacy-placeholder .navigation:after,.wp-block-post-comments .navigation:after{clear:both;content:"";display:table}.wp-block-comments__legacy-placeholder .commentlist,.wp-block-post-comments .commentlist{clear:both;list-style:none;margin:0;padding:0}.wp-block-comments__legacy-placeholder .commentlist .comment,.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-left:3.25em}.wp-block-comments__legacy-placeholder .commentlist .comment p,.wp-block-post-comments .commentlist .comment p{font-size:1em;line-height:1.8;margin:1em 0}.wp-block-comments__legacy-placeholder .commentlist .children,.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-comments__legacy-placeholder .comment-author,.wp-block-post-comments .comment-author{line-height:1.5}.wp-block-comments__legacy-placeholder .comment-author .avatar,.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;margin-top:.5em;width:2.5em}.wp-block-comments__legacy-placeholder .comment-author cite,.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-comments__legacy-placeholder .comment-meta,.wp-block-post-comments .comment-meta{font-size:.875em;line-height:1.5}.wp-block-comments__legacy-placeholder .comment-meta b,.wp-block-post-comments .comment-meta b{font-weight:400}.wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation,.wp-block-post-comments .comment-meta .comment-awaiting-moderation{display:block;margin-bottom:1em;margin-top:1em}.wp-block-comments__legacy-placeholder .comment-body .commentmetadata,.wp-block-post-comments .comment-body .commentmetadata{font-size:.875em}.wp-block-comments__legacy-placeholder .comment-form-author label,.wp-block-comments__legacy-placeholder .comment-form-comment label,.wp-block-comments__legacy-placeholder .comment-form-email label,.wp-block-comments__legacy-placeholder .comment-form-url label,.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-comments__legacy-placeholder .comment-form textarea,.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments .comment-form textarea{box-sizing:border-box;display:block;width:100%}.wp-block-comments__legacy-placeholder .comment-form-cookies-consent,.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-comments__legacy-placeholder .comment-form-cookies-consent #wp-comment-cookies-consent,.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-comments__legacy-placeholder .comment-reply-title,.wp-block-post-comments .comment-reply-title{margin-bottom:0}.wp-block-comments__legacy-placeholder .comment-reply-title :where(small),.wp-block-post-comments .comment-reply-title :where(small){font-size:var(--wp--preset--font-size--medium,smaller);margin-left:.5em}.wp-block-comments__legacy-placeholder .reply,.wp-block-post-comments .reply{font-size:.875em;margin-bottom:1.4em}.wp-block-comments__legacy-placeholder input:not([type=submit]),.wp-block-comments__legacy-placeholder textarea,.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]),.wp-block-comments__legacy-placeholder textarea,.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}:where(.wp-block-post-comments input[type=submit]){border:none}.block-library-comments-toolbar__popover .components-popover__content{min-width:230px}.wp-block-comments__legacy-placeholder *{pointer-events:none} \ No newline at end of file diff --git a/wp-includes/blocks/comments/style-rtl.css b/wp-includes/blocks/comments/style-rtl.css new file mode 100644 index 0000000000..636a8a187f --- /dev/null +++ b/wp-includes/blocks/comments/style-rtl.css @@ -0,0 +1,103 @@ +.wp-block-post-comments{ + box-sizing:border-box; +} +.wp-block-post-comments .alignleft{ + float:right; +} +.wp-block-post-comments .alignright{ + float:left; +} +.wp-block-post-comments .navigation:after{ + clear:both; + content:""; + display:table; +} +.wp-block-post-comments .commentlist{ + clear:both; + list-style:none; + margin:0; + padding:0; +} +.wp-block-post-comments .commentlist .comment{ + min-height:2.25em; + padding-right:3.25em; +} +.wp-block-post-comments .commentlist .comment p{ + font-size:1em; + line-height:1.8; + margin:1em 0; +} +.wp-block-post-comments .commentlist .children{ + list-style:none; + margin:0; + padding:0; +} +.wp-block-post-comments .comment-author{ + line-height:1.5; +} +.wp-block-post-comments .comment-author .avatar{ + border-radius:1.5em; + display:block; + float:right; + height:2.5em; + margin-left:.75em; + margin-top:.5em; + width:2.5em; +} +.wp-block-post-comments .comment-author cite{ + font-style:normal; +} +.wp-block-post-comments .comment-meta{ + font-size:.875em; + line-height:1.5; +} +.wp-block-post-comments .comment-meta b{ + font-weight:400; +} +.wp-block-post-comments .comment-meta .comment-awaiting-moderation{ + display:block; + margin-bottom:1em; + margin-top:1em; +} +.wp-block-post-comments .comment-body .commentmetadata{ + font-size:.875em; +} +.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{ + display:block; + margin-bottom:.25em; +} +.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments .comment-form textarea{ + box-sizing:border-box; + display:block; + width:100%; +} +.wp-block-post-comments .comment-form-cookies-consent{ + display:flex; + gap:.25em; +} +.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{ + margin-top:.35em; +} +.wp-block-post-comments .comment-reply-title{ + margin-bottom:0; +} +.wp-block-post-comments .comment-reply-title :where(small){ + font-size:var(--wp--preset--font-size--medium, smaller); + margin-right:.5em; +} +.wp-block-post-comments .reply{ + font-size:.875em; + margin-bottom:1.4em; +} +.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{ + border:1px solid #949494; + font-family:inherit; + font-size:1em; +} +.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{ + padding:calc(.667em + 2px); +} + +:where(.wp-block-post-comments input[type=submit]){ + border:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments/style-rtl.min.css b/wp-includes/blocks/comments/style-rtl.min.css new file mode 100644 index 0000000000..8a27a2703e --- /dev/null +++ b/wp-includes/blocks/comments/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-comments{box-sizing:border-box}.wp-block-post-comments .alignleft{float:right}.wp-block-post-comments .alignright{float:left}.wp-block-post-comments .navigation:after{clear:both;content:"";display:table}.wp-block-post-comments .commentlist{clear:both;list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-right:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:1em;line-height:1.8;margin:1em 0}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;margin-top:.5em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{font-size:.875em;line-height:1.5}.wp-block-post-comments .comment-meta b{font-weight:400}.wp-block-post-comments .comment-meta .comment-awaiting-moderation{display:block;margin-bottom:1em;margin-top:1em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.875em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments .comment-form textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .comment-reply-title{margin-bottom:0}.wp-block-post-comments .comment-reply-title :where(small){font-size:var(--wp--preset--font-size--medium,smaller);margin-right:.5em}.wp-block-post-comments .reply{font-size:.875em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}:where(.wp-block-post-comments input[type=submit]){border:none} \ No newline at end of file diff --git a/wp-includes/blocks/comments/style.css b/wp-includes/blocks/comments/style.css new file mode 100644 index 0000000000..c34c2db28c --- /dev/null +++ b/wp-includes/blocks/comments/style.css @@ -0,0 +1,103 @@ +.wp-block-post-comments{ + box-sizing:border-box; +} +.wp-block-post-comments .alignleft{ + float:left; +} +.wp-block-post-comments .alignright{ + float:right; +} +.wp-block-post-comments .navigation:after{ + clear:both; + content:""; + display:table; +} +.wp-block-post-comments .commentlist{ + clear:both; + list-style:none; + margin:0; + padding:0; +} +.wp-block-post-comments .commentlist .comment{ + min-height:2.25em; + padding-left:3.25em; +} +.wp-block-post-comments .commentlist .comment p{ + font-size:1em; + line-height:1.8; + margin:1em 0; +} +.wp-block-post-comments .commentlist .children{ + list-style:none; + margin:0; + padding:0; +} +.wp-block-post-comments .comment-author{ + line-height:1.5; +} +.wp-block-post-comments .comment-author .avatar{ + border-radius:1.5em; + display:block; + float:left; + height:2.5em; + margin-right:.75em; + margin-top:.5em; + width:2.5em; +} +.wp-block-post-comments .comment-author cite{ + font-style:normal; +} +.wp-block-post-comments .comment-meta{ + font-size:.875em; + line-height:1.5; +} +.wp-block-post-comments .comment-meta b{ + font-weight:400; +} +.wp-block-post-comments .comment-meta .comment-awaiting-moderation{ + display:block; + margin-bottom:1em; + margin-top:1em; +} +.wp-block-post-comments .comment-body .commentmetadata{ + font-size:.875em; +} +.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{ + display:block; + margin-bottom:.25em; +} +.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments .comment-form textarea{ + box-sizing:border-box; + display:block; + width:100%; +} +.wp-block-post-comments .comment-form-cookies-consent{ + display:flex; + gap:.25em; +} +.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{ + margin-top:.35em; +} +.wp-block-post-comments .comment-reply-title{ + margin-bottom:0; +} +.wp-block-post-comments .comment-reply-title :where(small){ + font-size:var(--wp--preset--font-size--medium, smaller); + margin-left:.5em; +} +.wp-block-post-comments .reply{ + font-size:.875em; + margin-bottom:1.4em; +} +.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{ + border:1px solid #949494; + font-family:inherit; + font-size:1em; +} +.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{ + padding:calc(.667em + 2px); +} + +:where(.wp-block-post-comments input[type=submit]){ + border:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/comments/style.min.css b/wp-includes/blocks/comments/style.min.css new file mode 100644 index 0000000000..e359e5da26 --- /dev/null +++ b/wp-includes/blocks/comments/style.min.css @@ -0,0 +1 @@ +.wp-block-post-comments{box-sizing:border-box}.wp-block-post-comments .alignleft{float:left}.wp-block-post-comments .alignright{float:right}.wp-block-post-comments .navigation:after{clear:both;content:"";display:table}.wp-block-post-comments .commentlist{clear:both;list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-left:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:1em;line-height:1.8;margin:1em 0}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;margin-top:.5em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{font-size:.875em;line-height:1.5}.wp-block-post-comments .comment-meta b{font-weight:400}.wp-block-post-comments .comment-meta .comment-awaiting-moderation{display:block;margin-bottom:1em;margin-top:1em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.875em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments .comment-form textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .comment-reply-title{margin-bottom:0}.wp-block-post-comments .comment-reply-title :where(small){font-size:var(--wp--preset--font-size--medium,smaller);margin-left:.5em}.wp-block-post-comments .reply{font-size:.875em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}:where(.wp-block-post-comments input[type=submit]){border:none} \ No newline at end of file diff --git a/wp-includes/blocks/cover/editor-rtl.css b/wp-includes/blocks/cover/editor-rtl.css new file mode 100644 index 0000000000..b33101f33b --- /dev/null +++ b/wp-includes/blocks/cover/editor-rtl.css @@ -0,0 +1,87 @@ +.editor-styles-wrapper .wp-block-cover{ + box-sizing:border-box; +} +.wp-block-cover.is-placeholder{ + min-height:auto !important; + padding:0 !important; +} +.wp-block-cover.is-placeholder .block-library-cover__resize-container{ + display:none; +} +.wp-block-cover.is-placeholder .components-placeholder.is-large{ + justify-content:flex-start; + min-height:240px; + z-index:1; +} +.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{ + display:block; + min-height:240px; +} +.wp-block-cover.components-placeholder h2{ + color:inherit; +} +.wp-block-cover.is-transient:before{ + background-color:#fff; + opacity:.3; +} +.wp-block-cover .components-spinner{ + margin:0; + position:absolute; + right:50%; + top:50%; + transform:translate(50%, -50%); + z-index:1; +} +.wp-block-cover .wp-block-cover__inner-container{ + margin-left:0; + margin-right:0; + text-align:right; +} +.wp-block-cover .wp-block-cover__placeholder-background-options{ + width:100%; +} +.wp-block-cover .wp-block-cover__image--placeholder-image{ + bottom:0; + left:0; + position:absolute; + right:0; + top:0; +} + +[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{ + max-width:420px; + width:100%; +} + +.block-library-cover__reset-button{ + margin-right:auto; +} + +.block-library-cover__resize-container{ + bottom:0; + left:0; + min-height:50px; + position:absolute !important; + right:0; + top:0; +} + +.block-library-cover__resize-container:not(.is-resizing){ + height:auto !important; +} + +.wp-block-cover>.components-drop-zone .components-drop-zone__content{ + opacity:.8 !important; +} + +.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{ + background-attachment:scroll; +} + +.color-block-support-panel__inner-wrapper>:not(.block-editor-tools-panel-color-gradient-settings__item){ + margin-top:24px; +} + +.wp-block-cover:after{ + min-height:auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/cover/editor-rtl.min.css b/wp-includes/blocks/cover/editor-rtl.min.css new file mode 100644 index 0000000000..4aa60b4589 --- /dev/null +++ b/wp-includes/blocks/cover/editor-rtl.min.css @@ -0,0 +1 @@ +.editor-styles-wrapper .wp-block-cover{box-sizing:border-box}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.is-placeholder .block-library-cover__resize-container{display:none}.wp-block-cover.is-placeholder .components-placeholder.is-large{justify-content:flex-start;min-height:240px;z-index:1}.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{display:block;min-height:240px}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{margin:0;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);z-index:1}.wp-block-cover .wp-block-cover__inner-container{margin-left:0;margin-right:0;text-align:right}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}.wp-block-cover .wp-block-cover__image--placeholder-image{bottom:0;left:0;position:absolute;right:0;top:0}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{bottom:0;left:0;min-height:50px;position:absolute!important;right:0;top:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone .components-drop-zone__content{opacity:.8!important}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.color-block-support-panel__inner-wrapper>:not(.block-editor-tools-panel-color-gradient-settings__item){margin-top:24px}.wp-block-cover:after{min-height:auto} \ No newline at end of file diff --git a/wp-includes/blocks/cover/editor.css b/wp-includes/blocks/cover/editor.css new file mode 100644 index 0000000000..a0e315ee14 --- /dev/null +++ b/wp-includes/blocks/cover/editor.css @@ -0,0 +1,87 @@ +.editor-styles-wrapper .wp-block-cover{ + box-sizing:border-box; +} +.wp-block-cover.is-placeholder{ + min-height:auto !important; + padding:0 !important; +} +.wp-block-cover.is-placeholder .block-library-cover__resize-container{ + display:none; +} +.wp-block-cover.is-placeholder .components-placeholder.is-large{ + justify-content:flex-start; + min-height:240px; + z-index:1; +} +.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{ + display:block; + min-height:240px; +} +.wp-block-cover.components-placeholder h2{ + color:inherit; +} +.wp-block-cover.is-transient:before{ + background-color:#fff; + opacity:.3; +} +.wp-block-cover .components-spinner{ + left:50%; + margin:0; + position:absolute; + top:50%; + transform:translate(-50%, -50%); + z-index:1; +} +.wp-block-cover .wp-block-cover__inner-container{ + margin-left:0; + margin-right:0; + text-align:left; +} +.wp-block-cover .wp-block-cover__placeholder-background-options{ + width:100%; +} +.wp-block-cover .wp-block-cover__image--placeholder-image{ + bottom:0; + left:0; + position:absolute; + right:0; + top:0; +} + +[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{ + max-width:420px; + width:100%; +} + +.block-library-cover__reset-button{ + margin-left:auto; +} + +.block-library-cover__resize-container{ + bottom:0; + left:0; + min-height:50px; + position:absolute !important; + right:0; + top:0; +} + +.block-library-cover__resize-container:not(.is-resizing){ + height:auto !important; +} + +.wp-block-cover>.components-drop-zone .components-drop-zone__content{ + opacity:.8 !important; +} + +.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{ + background-attachment:scroll; +} + +.color-block-support-panel__inner-wrapper>:not(.block-editor-tools-panel-color-gradient-settings__item){ + margin-top:24px; +} + +.wp-block-cover:after{ + min-height:auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/cover/editor.min.css b/wp-includes/blocks/cover/editor.min.css new file mode 100644 index 0000000000..d856bc26cd --- /dev/null +++ b/wp-includes/blocks/cover/editor.min.css @@ -0,0 +1 @@ +.editor-styles-wrapper .wp-block-cover{box-sizing:border-box}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.is-placeholder .block-library-cover__resize-container{display:none}.wp-block-cover.is-placeholder .components-placeholder.is-large{justify-content:flex-start;min-height:240px;z-index:1}.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{display:block;min-height:240px}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.wp-block-cover .wp-block-cover__inner-container{margin-left:0;margin-right:0;text-align:left}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}.wp-block-cover .wp-block-cover__image--placeholder-image{bottom:0;left:0;position:absolute;right:0;top:0}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{bottom:0;left:0;min-height:50px;position:absolute!important;right:0;top:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone .components-drop-zone__content{opacity:.8!important}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.color-block-support-panel__inner-wrapper>:not(.block-editor-tools-panel-color-gradient-settings__item){margin-top:24px}.wp-block-cover:after{min-height:auto} \ No newline at end of file diff --git a/wp-includes/blocks/cover/style-rtl.css b/wp-includes/blocks/cover/style-rtl.css new file mode 100644 index 0000000000..2c0f77379e --- /dev/null +++ b/wp-includes/blocks/cover/style-rtl.css @@ -0,0 +1,233 @@ +.wp-block-cover,.wp-block-cover-image{ + align-items:center; + background-position:50%; + box-sizing:border-box; direction:ltr; + display:flex; + justify-content:center; + min-height:430px; + padding:1em; + position:relative; +} +.wp-block-cover .has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){ + background-color:#000; +} +.wp-block-cover .has-background-dim.has-background-gradient,.wp-block-cover-image .has-background-dim.has-background-gradient{ + background-color:initial; +} +.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{ + background-color:inherit; + content:""; +} +.wp-block-cover .wp-block-cover__background,.wp-block-cover .wp-block-cover__gradient-background,.wp-block-cover-image .wp-block-cover__background,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover.has-background-dim:not(.has-background-gradient):before{ + bottom:0; + left:0; + opacity:.5; + position:absolute; + right:0; + top:0; + z-index:1; +} +.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{ + opacity:.1; +} +.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{ + opacity:.2; +} +.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{ + opacity:.3; +} +.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{ + opacity:.4; +} +.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{ + opacity:.5; +} +.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{ + opacity:.6; +} +.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{ + opacity:.7; +} +.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{ + opacity:.8; +} +.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{ + opacity:.9; +} +.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{ + opacity:1; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{ + opacity:0; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{ + opacity:.1; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{ + opacity:.2; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{ + opacity:.3; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{ + opacity:.4; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{ + opacity:.5; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{ + opacity:.6; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{ + opacity:.7; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{ + opacity:.8; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{ + opacity:.9; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{ + opacity:1; +} +.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{ + max-width:420px; + width:100%; +} +.wp-block-cover-image:after,.wp-block-cover:after{ + content:""; + display:block; + font-size:0; + min-height:inherit; +} +@supports (position:sticky){ + .wp-block-cover-image:after,.wp-block-cover:after{ + content:none; + } +} +.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{ + display:flex; +} +.wp-block-cover .wp-block-cover__inner-container,.wp-block-cover-image .wp-block-cover__inner-container{ + color:#fff; direction:rtl; + width:100%; + z-index:1; +} +.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{ + color:#000; +} +.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color){ + color:inherit; +} +.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{ + align-items:flex-start; + justify-content:flex-start; +} +.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{ + align-items:flex-start; + justify-content:center; +} +.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{ + align-items:flex-start; + justify-content:flex-end; +} +.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{ + align-items:center; + justify-content:flex-start; +} +.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{ + align-items:center; + justify-content:center; +} +.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{ + align-items:center; + justify-content:flex-end; +} +.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{ + align-items:flex-end; + justify-content:flex-start; +} +.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{ + align-items:flex-end; + justify-content:center; +} +.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{ + align-items:flex-end; + justify-content:flex-end; +} +.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{ + margin:0; + width:auto; +} +.wp-block-cover .wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background,.wp-block-cover-image .wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background{ + border:none; + bottom:0; + box-shadow:none; + height:100%; + left:0; + margin:0; + max-height:none; + max-width:none; + -o-object-fit:cover; + object-fit:cover; + outline:none; + padding:0; + position:absolute; + right:0; + top:0; + width:100%; +} + +.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{ + background-attachment:fixed; + background-repeat:no-repeat; + background-size:cover; +} +@supports (-webkit-overflow-scrolling:touch){ + .wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{ + background-attachment:scroll; + } +} +@media (prefers-reduced-motion:reduce){ + .wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{ + background-attachment:scroll; + } +} +.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated,.wp-block-cover__image-background.is-repeated,video.wp-block-cover__video-background.is-repeated{ + background-repeat:repeat; + background-size:auto; +} + +.wp-block-cover__image-background,.wp-block-cover__video-background{ + z-index:0; +} +.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{ + color:#fff; +} + +.wp-block-cover-image .wp-block-cover.has-left-content{ + justify-content:flex-start; +} +.wp-block-cover-image .wp-block-cover.has-right-content{ + justify-content:flex-end; +} + +.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{ + margin-right:0; + text-align:right; +} + +.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{ + margin-left:0; + text-align:left; +} + +.wp-block-cover .wp-block-cover-text,.wp-block-cover-image .wp-block-cover-image-text,section.wp-block-cover-image>h2{ + font-size:2em; + line-height:1.25; + margin-bottom:0; + max-width:840px; + padding:.44em; + text-align:center; + z-index:1; +} \ No newline at end of file diff --git a/wp-includes/blocks/cover/style-rtl.min.css b/wp-includes/blocks/cover/style-rtl.min.css new file mode 100644 index 0000000000..952f6c249b --- /dev/null +++ b/wp-includes/blocks/cover/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;box-sizing:border-box;direction:ltr;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative}.wp-block-cover .has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover .has-background-dim.has-background-gradient,.wp-block-cover-image .has-background-dim.has-background-gradient{background-color:initial}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{background-color:inherit;content:""}.wp-block-cover .wp-block-cover__background,.wp-block-cover .wp-block-cover__gradient-background,.wp-block-cover-image .wp-block-cover__background,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover.has-background-dim:not(.has-background-gradient):before{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover .wp-block-cover__inner-container,.wp-block-cover-image .wp-block-cover__inner-container{color:#fff;direction:rtl;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover .wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background,.wp-block-cover-image .wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:fixed;background-repeat:no-repeat;background-size:cover}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated,.wp-block-cover__image-background.is-repeated,video.wp-block-cover__video-background.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover .wp-block-cover-text,.wp-block-cover-image .wp-block-cover-image-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1} \ No newline at end of file diff --git a/wp-includes/blocks/cover/style.css b/wp-includes/blocks/cover/style.css new file mode 100644 index 0000000000..25af1c250a --- /dev/null +++ b/wp-includes/blocks/cover/style.css @@ -0,0 +1,233 @@ +.wp-block-cover,.wp-block-cover-image{ + align-items:center; + background-position:50%; + box-sizing:border-box; + display:flex; + justify-content:center; + min-height:430px; + padding:1em; + position:relative; +} +.wp-block-cover .has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){ + background-color:#000; +} +.wp-block-cover .has-background-dim.has-background-gradient,.wp-block-cover-image .has-background-dim.has-background-gradient{ + background-color:initial; +} +.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{ + background-color:inherit; + content:""; +} +.wp-block-cover .wp-block-cover__background,.wp-block-cover .wp-block-cover__gradient-background,.wp-block-cover-image .wp-block-cover__background,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover.has-background-dim:not(.has-background-gradient):before{ + bottom:0; + left:0; + opacity:.5; + position:absolute; + right:0; + top:0; + z-index:1; +} +.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{ + opacity:.1; +} +.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{ + opacity:.2; +} +.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{ + opacity:.3; +} +.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{ + opacity:.4; +} +.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{ + opacity:.5; +} +.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{ + opacity:.6; +} +.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{ + opacity:.7; +} +.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{ + opacity:.8; +} +.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{ + opacity:.9; +} +.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{ + opacity:1; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{ + opacity:0; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{ + opacity:.1; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{ + opacity:.2; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{ + opacity:.3; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{ + opacity:.4; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{ + opacity:.5; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{ + opacity:.6; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{ + opacity:.7; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{ + opacity:.8; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{ + opacity:.9; +} +.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{ + opacity:1; +} +.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{ + max-width:420px; + width:100%; +} +.wp-block-cover-image:after,.wp-block-cover:after{ + content:""; + display:block; + font-size:0; + min-height:inherit; +} +@supports (position:sticky){ + .wp-block-cover-image:after,.wp-block-cover:after{ + content:none; + } +} +.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{ + display:flex; +} +.wp-block-cover .wp-block-cover__inner-container,.wp-block-cover-image .wp-block-cover__inner-container{ + color:#fff; + width:100%; + z-index:1; +} +.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{ + color:#000; +} +.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color){ + color:inherit; +} +.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{ + align-items:flex-start; + justify-content:flex-start; +} +.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{ + align-items:flex-start; + justify-content:center; +} +.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{ + align-items:flex-start; + justify-content:flex-end; +} +.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{ + align-items:center; + justify-content:flex-start; +} +.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{ + align-items:center; + justify-content:center; +} +.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{ + align-items:center; + justify-content:flex-end; +} +.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{ + align-items:flex-end; + justify-content:flex-start; +} +.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{ + align-items:flex-end; + justify-content:center; +} +.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{ + align-items:flex-end; + justify-content:flex-end; +} +.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{ + margin:0; + width:auto; +} +.wp-block-cover .wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background,.wp-block-cover-image .wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background{ + border:none; + bottom:0; + box-shadow:none; + height:100%; + left:0; + margin:0; + max-height:none; + max-width:none; + -o-object-fit:cover; + object-fit:cover; + outline:none; + padding:0; + position:absolute; + right:0; + top:0; + width:100%; +} + +.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{ + background-attachment:fixed; + background-repeat:no-repeat; + background-size:cover; +} +@supports (-webkit-overflow-scrolling:touch){ + .wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{ + background-attachment:scroll; + } +} +@media (prefers-reduced-motion:reduce){ + .wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{ + background-attachment:scroll; + } +} +.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated,.wp-block-cover__image-background.is-repeated,video.wp-block-cover__video-background.is-repeated{ + background-repeat:repeat; + background-size:auto; +} + +.wp-block-cover__image-background,.wp-block-cover__video-background{ + z-index:0; +} +.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{ + color:#fff; +} + +.wp-block-cover-image .wp-block-cover.has-left-content{ + justify-content:flex-start; +} +.wp-block-cover-image .wp-block-cover.has-right-content{ + justify-content:flex-end; +} + +.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{ + margin-left:0; + text-align:left; +} + +.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{ + margin-right:0; + text-align:right; +} + +.wp-block-cover .wp-block-cover-text,.wp-block-cover-image .wp-block-cover-image-text,section.wp-block-cover-image>h2{ + font-size:2em; + line-height:1.25; + margin-bottom:0; + max-width:840px; + padding:.44em; + text-align:center; + z-index:1; +} \ No newline at end of file diff --git a/wp-includes/blocks/cover/style.min.css b/wp-includes/blocks/cover/style.min.css new file mode 100644 index 0000000000..927ffabcef --- /dev/null +++ b/wp-includes/blocks/cover/style.min.css @@ -0,0 +1 @@ +.wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative}.wp-block-cover .has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover .has-background-dim.has-background-gradient,.wp-block-cover-image .has-background-dim.has-background-gradient{background-color:initial}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{background-color:inherit;content:""}.wp-block-cover .wp-block-cover__background,.wp-block-cover .wp-block-cover__gradient-background,.wp-block-cover-image .wp-block-cover__background,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover.has-background-dim:not(.has-background-gradient):before{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover .wp-block-cover__inner-container,.wp-block-cover-image .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover .wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background,.wp-block-cover-image .wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:fixed;background-repeat:no-repeat;background-size:cover}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated,.wp-block-cover__image-background.is-repeated,video.wp-block-cover__video-background.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover .wp-block-cover-text,.wp-block-cover-image .wp-block-cover-image-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1} \ No newline at end of file diff --git a/wp-includes/blocks/embed/editor-rtl.css b/wp-includes/blocks/embed/editor-rtl.css new file mode 100644 index 0000000000..60a774d8c3 --- /dev/null +++ b/wp-includes/blocks/embed/editor-rtl.css @@ -0,0 +1,32 @@ +.wp-block-embed{ + clear:both; + margin-left:0; + margin-right:0; +} +.wp-block-embed.is-loading{ + display:flex; + justify-content:center; +} +.wp-block-embed .components-placeholder__error{ + word-break:break-word; +} +.wp-block-embed .components-placeholder__learn-more{ + margin-top:1em; +} + +.block-library-embed__interactive-overlay{ + bottom:0; + left:0; + opacity:0; + position:absolute; + right:0; + top:0; +} + +.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{ + max-width:360px; + width:100%; +} +.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{ + min-width:280px; +} \ No newline at end of file diff --git a/wp-includes/blocks/embed/editor-rtl.min.css b/wp-includes/blocks/embed/editor-rtl.min.css new file mode 100644 index 0000000000..684be7d1d2 --- /dev/null +++ b/wp-includes/blocks/embed/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-embed{clear:both;margin-left:0;margin-right:0}.wp-block-embed.is-loading{display:flex;justify-content:center}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px} \ No newline at end of file diff --git a/wp-includes/blocks/embed/editor.css b/wp-includes/blocks/embed/editor.css new file mode 100644 index 0000000000..60a774d8c3 --- /dev/null +++ b/wp-includes/blocks/embed/editor.css @@ -0,0 +1,32 @@ +.wp-block-embed{ + clear:both; + margin-left:0; + margin-right:0; +} +.wp-block-embed.is-loading{ + display:flex; + justify-content:center; +} +.wp-block-embed .components-placeholder__error{ + word-break:break-word; +} +.wp-block-embed .components-placeholder__learn-more{ + margin-top:1em; +} + +.block-library-embed__interactive-overlay{ + bottom:0; + left:0; + opacity:0; + position:absolute; + right:0; + top:0; +} + +.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{ + max-width:360px; + width:100%; +} +.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{ + min-width:280px; +} \ No newline at end of file diff --git a/wp-includes/blocks/embed/editor.min.css b/wp-includes/blocks/embed/editor.min.css new file mode 100644 index 0000000000..684be7d1d2 --- /dev/null +++ b/wp-includes/blocks/embed/editor.min.css @@ -0,0 +1 @@ +.wp-block-embed{clear:both;margin-left:0;margin-right:0}.wp-block-embed.is-loading{display:flex;justify-content:center}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px} \ No newline at end of file diff --git a/wp-includes/blocks/embed/style-rtl.css b/wp-includes/blocks/embed/style-rtl.css new file mode 100644 index 0000000000..65a1112caa --- /dev/null +++ b/wp-includes/blocks/embed/style-rtl.css @@ -0,0 +1,64 @@ +.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{ + max-width:360px; + width:100%; +} +.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{ + min-width:280px; +} + +.wp-block-cover .wp-block-embed{ + min-height:240px; + min-width:320px; +} + +.wp-block-embed{ + overflow-wrap:break-word; +} +.wp-block-embed figcaption{ + margin-bottom:1em; + margin-top:.5em; +} +.wp-block-embed iframe{ + max-width:100%; +} + +.wp-block-embed__wrapper{ + position:relative; +} + +.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{ + content:""; + display:block; + padding-top:50%; +} +.wp-embed-responsive .wp-has-aspect-ratio iframe{ + bottom:0; + height:100%; + left:0; + position:absolute; + right:0; + top:0; + width:100%; +} + +.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{ + padding-top:42.85%; +} +.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{ + padding-top:50%; +} +.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{ + padding-top:56.25%; +} +.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{ + padding-top:75%; +} +.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{ + padding-top:100%; +} +.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{ + padding-top:177.77%; +} +.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{ + padding-top:200%; +} \ No newline at end of file diff --git a/wp-includes/blocks/embed/style-rtl.min.css b/wp-includes/blocks/embed/style-rtl.min.css new file mode 100644 index 0000000000..e3dea7fd6f --- /dev/null +++ b/wp-includes/blocks/embed/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-height:240px;min-width:320px}.wp-block-embed{overflow-wrap:break-word}.wp-block-embed figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%} \ No newline at end of file diff --git a/wp-includes/blocks/embed/style.css b/wp-includes/blocks/embed/style.css new file mode 100644 index 0000000000..65a1112caa --- /dev/null +++ b/wp-includes/blocks/embed/style.css @@ -0,0 +1,64 @@ +.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{ + max-width:360px; + width:100%; +} +.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{ + min-width:280px; +} + +.wp-block-cover .wp-block-embed{ + min-height:240px; + min-width:320px; +} + +.wp-block-embed{ + overflow-wrap:break-word; +} +.wp-block-embed figcaption{ + margin-bottom:1em; + margin-top:.5em; +} +.wp-block-embed iframe{ + max-width:100%; +} + +.wp-block-embed__wrapper{ + position:relative; +} + +.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{ + content:""; + display:block; + padding-top:50%; +} +.wp-embed-responsive .wp-has-aspect-ratio iframe{ + bottom:0; + height:100%; + left:0; + position:absolute; + right:0; + top:0; + width:100%; +} + +.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{ + padding-top:42.85%; +} +.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{ + padding-top:50%; +} +.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{ + padding-top:56.25%; +} +.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{ + padding-top:75%; +} +.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{ + padding-top:100%; +} +.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{ + padding-top:177.77%; +} +.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{ + padding-top:200%; +} \ No newline at end of file diff --git a/wp-includes/blocks/embed/style.min.css b/wp-includes/blocks/embed/style.min.css new file mode 100644 index 0000000000..e3dea7fd6f --- /dev/null +++ b/wp-includes/blocks/embed/style.min.css @@ -0,0 +1 @@ +.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-height:240px;min-width:320px}.wp-block-embed{overflow-wrap:break-word}.wp-block-embed figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%} \ No newline at end of file diff --git a/wp-includes/blocks/embed/theme-rtl.css b/wp-includes/blocks/embed/theme-rtl.css new file mode 100644 index 0000000000..a297d33832 --- /dev/null +++ b/wp-includes/blocks/embed/theme-rtl.css @@ -0,0 +1,12 @@ +.wp-block-embed figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-embed figcaption{ + color:hsla(0,0%,100%,.65); +} + +.wp-block-embed{ + margin:0 0 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/embed/theme-rtl.min.css b/wp-includes/blocks/embed/theme-rtl.min.css new file mode 100644 index 0000000000..d1e9572e97 --- /dev/null +++ b/wp-includes/blocks/embed/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.wp-block-embed{margin:0 0 1em} \ No newline at end of file diff --git a/wp-includes/blocks/embed/theme.css b/wp-includes/blocks/embed/theme.css new file mode 100644 index 0000000000..a297d33832 --- /dev/null +++ b/wp-includes/blocks/embed/theme.css @@ -0,0 +1,12 @@ +.wp-block-embed figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-embed figcaption{ + color:hsla(0,0%,100%,.65); +} + +.wp-block-embed{ + margin:0 0 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/embed/theme.min.css b/wp-includes/blocks/embed/theme.min.css new file mode 100644 index 0000000000..d1e9572e97 --- /dev/null +++ b/wp-includes/blocks/embed/theme.min.css @@ -0,0 +1 @@ +.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.wp-block-embed{margin:0 0 1em} \ No newline at end of file diff --git a/wp-includes/blocks/file/editor-rtl.css b/wp-includes/blocks/file/editor-rtl.css new file mode 100644 index 0000000000..cb7aca12a2 --- /dev/null +++ b/wp-includes/blocks/file/editor-rtl.css @@ -0,0 +1,35 @@ +.wp-block-file{ + align-items:center; + display:flex; + flex-wrap:wrap; + justify-content:space-between; + margin-bottom:0; +} +.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{ + height:auto; +} +.wp-block-file .components-resizable-box__container{ + margin-bottom:1em; +} +.wp-block-file .wp-block-file__preview{ + height:100%; + margin-bottom:1em; + width:100%; +} +.wp-block-file .wp-block-file__preview-overlay{ + bottom:0; + left:0; + position:absolute; + right:0; + top:0; +} +.wp-block-file .wp-block-file__content-wrapper{ + flex-grow:1; +} +.wp-block-file a{ + min-width:1em; +} +.wp-block-file .wp-block-file__button-richtext-wrapper{ + display:inline-block; + margin-right:.75em; +} \ No newline at end of file diff --git a/wp-includes/blocks/file/editor-rtl.min.css b/wp-includes/blocks/file/editor-rtl.min.css new file mode 100644 index 0000000000..63b318cc15 --- /dev/null +++ b/wp-includes/blocks/file/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-file{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{height:100%;margin-bottom:1em;width:100%}.wp-block-file .wp-block-file__preview-overlay{bottom:0;left:0;position:absolute;right:0;top:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em} \ No newline at end of file diff --git a/wp-includes/blocks/file/editor.css b/wp-includes/blocks/file/editor.css new file mode 100644 index 0000000000..21338a86db --- /dev/null +++ b/wp-includes/blocks/file/editor.css @@ -0,0 +1,35 @@ +.wp-block-file{ + align-items:center; + display:flex; + flex-wrap:wrap; + justify-content:space-between; + margin-bottom:0; +} +.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{ + height:auto; +} +.wp-block-file .components-resizable-box__container{ + margin-bottom:1em; +} +.wp-block-file .wp-block-file__preview{ + height:100%; + margin-bottom:1em; + width:100%; +} +.wp-block-file .wp-block-file__preview-overlay{ + bottom:0; + left:0; + position:absolute; + right:0; + top:0; +} +.wp-block-file .wp-block-file__content-wrapper{ + flex-grow:1; +} +.wp-block-file a{ + min-width:1em; +} +.wp-block-file .wp-block-file__button-richtext-wrapper{ + display:inline-block; + margin-left:.75em; +} \ No newline at end of file diff --git a/wp-includes/blocks/file/editor.min.css b/wp-includes/blocks/file/editor.min.css new file mode 100644 index 0000000000..1b0d63145b --- /dev/null +++ b/wp-includes/blocks/file/editor.min.css @@ -0,0 +1 @@ +.wp-block-file{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{height:100%;margin-bottom:1em;width:100%}.wp-block-file .wp-block-file__preview-overlay{bottom:0;left:0;position:absolute;right:0;top:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em} \ No newline at end of file diff --git a/wp-includes/blocks/file/style-rtl.css b/wp-includes/blocks/file/style-rtl.css new file mode 100644 index 0000000000..3dc76dc1e7 --- /dev/null +++ b/wp-includes/blocks/file/style-rtl.css @@ -0,0 +1,30 @@ +.wp-block-file{ + margin-bottom:1.5em; +} +.wp-block-file:not(.wp-element-button){ + font-size:.8em; +} +.wp-block-file.aligncenter{ + text-align:center; +} +.wp-block-file.alignright{ + text-align:right; +} +.wp-block-file *+.wp-block-file__button{ + margin-right:.75em; +} + +.wp-block-file__embed{ + margin-bottom:1em; +} + +:where(.wp-block-file__button){ + border-radius:2em; + padding:.5em 1em; +} +:where(.wp-block-file__button):is(a):active,:where(.wp-block-file__button):is(a):focus,:where(.wp-block-file__button):is(a):hover,:where(.wp-block-file__button):is(a):visited{ + box-shadow:none; + color:#fff; + opacity:.85; + text-decoration:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/file/style-rtl.min.css b/wp-includes/blocks/file/style-rtl.min.css new file mode 100644 index 0000000000..38a279baee --- /dev/null +++ b/wp-includes/blocks/file/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-file{margin-bottom:1.5em}.wp-block-file:not(.wp-element-button){font-size:.8em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.wp-block-file__embed{margin-bottom:1em}:where(.wp-block-file__button){border-radius:2em;padding:.5em 1em}:where(.wp-block-file__button):is(a):active,:where(.wp-block-file__button):is(a):focus,:where(.wp-block-file__button):is(a):hover,:where(.wp-block-file__button):is(a):visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none} \ No newline at end of file diff --git a/wp-includes/blocks/file/style.css b/wp-includes/blocks/file/style.css new file mode 100644 index 0000000000..eeef9f770f --- /dev/null +++ b/wp-includes/blocks/file/style.css @@ -0,0 +1,30 @@ +.wp-block-file{ + margin-bottom:1.5em; +} +.wp-block-file:not(.wp-element-button){ + font-size:.8em; +} +.wp-block-file.aligncenter{ + text-align:center; +} +.wp-block-file.alignright{ + text-align:right; +} +.wp-block-file *+.wp-block-file__button{ + margin-left:.75em; +} + +.wp-block-file__embed{ + margin-bottom:1em; +} + +:where(.wp-block-file__button){ + border-radius:2em; + padding:.5em 1em; +} +:where(.wp-block-file__button):is(a):active,:where(.wp-block-file__button):is(a):focus,:where(.wp-block-file__button):is(a):hover,:where(.wp-block-file__button):is(a):visited{ + box-shadow:none; + color:#fff; + opacity:.85; + text-decoration:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/file/style.min.css b/wp-includes/blocks/file/style.min.css new file mode 100644 index 0000000000..8c19e4fc14 --- /dev/null +++ b/wp-includes/blocks/file/style.min.css @@ -0,0 +1 @@ +.wp-block-file{margin-bottom:1.5em}.wp-block-file:not(.wp-element-button){font-size:.8em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.wp-block-file__embed{margin-bottom:1em}:where(.wp-block-file__button){border-radius:2em;padding:.5em 1em}:where(.wp-block-file__button):is(a):active,:where(.wp-block-file__button):is(a):focus,:where(.wp-block-file__button):is(a):hover,:where(.wp-block-file__button):is(a):visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none} \ No newline at end of file diff --git a/wp-includes/blocks/freeform/editor-rtl.css b/wp-includes/blocks/freeform/editor-rtl.css new file mode 100644 index 0000000000..da5b0f6c58 --- /dev/null +++ b/wp-includes/blocks/freeform/editor-rtl.css @@ -0,0 +1,302 @@ +.wp-block-freeform.block-library-rich-text__tinymce{ + height:auto; +} +.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{ + line-height:1.8; +} +.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{ + margin-right:0; + padding-right:2.5em; +} +.wp-block-freeform.block-library-rich-text__tinymce blockquote{ + border-right:4px solid #000; + box-shadow:inset 0 0 0 0 #ddd; + margin:0; + padding-right:1em; +} +.wp-block-freeform.block-library-rich-text__tinymce pre{ + color:#1e1e1e; + font-family:Menlo,Consolas,monaco,monospace; + font-size:15px; + white-space:pre-wrap; +} +.wp-block-freeform.block-library-rich-text__tinymce>:first-child{ + margin-top:0; +} +.wp-block-freeform.block-library-rich-text__tinymce>:last-child{ + margin-bottom:0; +} +.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{ + outline:none; +} +.wp-block-freeform.block-library-rich-text__tinymce a{ + color:var(--wp-admin-theme-color); +} +.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{ + background:#e5f5fa; + border-radius:2px; + box-shadow:0 0 0 1px #e5f5fa; + margin:0 -2px; + padding:0 2px; +} +.wp-block-freeform.block-library-rich-text__tinymce code{ + background:#f0f0f0; + border-radius:2px; + color:#1e1e1e; + font-family:Menlo,Consolas,monaco,monospace; + font-size:14px; + padding:2px; +} +.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{ + background:#ddd; +} +.wp-block-freeform.block-library-rich-text__tinymce .alignright{ + float:right; + margin:.5em 0 .5em 1em; +} +.wp-block-freeform.block-library-rich-text__tinymce .alignleft{ + float:left; + margin:.5em 1em .5em 0; +} +.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{ + display:block; + margin-left:auto; + margin-right:auto; +} +.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{ + background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC); + background-position:50%; + background-repeat:no-repeat; + background-size:1900px 20px; + cursor:default; + display:block; + height:20px; + margin:15px auto; + outline:0; + width:96%; +} +.wp-block-freeform.block-library-rich-text__tinymce img::selection{ + background-color:initial; +} +.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{ + -ms-user-select:element; +} +.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{ + margin:0; + max-width:100%; +} +.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{ + display:block; +} +.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{ + -webkit-user-drag:none; +} +.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{ + margin:0; + padding-top:.5em; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview{ + border:1px solid transparent; + clear:both; + margin-bottom:16px; + position:relative; + width:99.99%; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{ + background:transparent; + display:block; + max-width:100%; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{ + bottom:0; + left:0; + position:absolute; + right:0; + top:0; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{ + display:none; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{ + border:1px dashed #ddd; + padding:10px; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{ + word-wrap:break-word; + border:1px solid #ddd; + margin:0; + padding:1em 0; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{ + margin:0; + text-align:center; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{ + border-color:transparent; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{ + display:block; + font-size:32px; + height:32px; + margin:0 auto; + width:32px; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{ + clear:both; + content:""; + display:table; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{ + outline:none; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery a{ + cursor:default; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery{ + line-height:1; + margin:auto -6px; + overflow-x:hidden; + padding:6px 0; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{ + box-sizing:border-box; + float:right; + margin:0; + padding:6px; + text-align:center; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{ + margin:0; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{ + font-size:13px; + margin:4px 0; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{ + width:100%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{ + width:50%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{ + width:33.3333333333%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{ + width:25%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{ + width:20%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{ + width:16.6666666667%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{ + width:14.2857142857%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{ + width:12.5%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{ + width:11.1111111111%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery img{ + border:none; + height:auto; + max-width:100%; + padding:0; +} + +div[data-type="core/freeform"]:before{ + border:1px solid #ddd; + outline:1px solid transparent; + transition:border-color .1s linear,box-shadow .1s linear; +} +@media (prefers-reduced-motion:reduce){ + div[data-type="core/freeform"]:before{ + transition-delay:0s; + transition-duration:0s; + } +} +div[data-type="core/freeform"].is-selected:before{ + border-color:#1e1e1e; +} +div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{ + margin-top:0; + padding-top:0; +} +div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{ + clear:both; + content:""; + display:table; +} + +.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i,.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i{ + color:#1e1e1e; +} +.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{ + margin-left:0; + margin-right:8px; +} +.mce-toolbar-grp .mce-btn i{ + font-style:normal; +} + +.block-library-classic__toolbar{ + border:1px solid #ddd; + border-bottom:none; + border-radius:2px; + display:none; + margin:0 0 8px; + padding:0; + position:sticky; + top:0; + width:auto; + z-index:31; +} +div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{ + border-color:#1e1e1e; + display:block; +} +.block-library-classic__toolbar .mce-tinymce{ + box-shadow:none; +} +@media (min-width:600px){ + .block-library-classic__toolbar{ + padding:0; + } +} +.block-library-classic__toolbar:empty{ + background:#f5f5f5; + border-bottom:1px solid #e2e4e7; + display:block; +} +.block-library-classic__toolbar:empty:before{ + color:#555d66; + content:attr(data-placeholder); + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + line-height:37px; + padding:14px; +} +.block-library-classic__toolbar div.mce-toolbar-grp{ + border-bottom:1px solid #1e1e1e; +} +.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{ + height:auto !important; + width:100% !important; +} +.block-library-classic__toolbar .mce-container-body.mce-abs-layout{ + overflow:visible; +} +.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{ + position:static; +} +.block-library-classic__toolbar .mce-toolbar-grp>div{ + padding:1px 3px; +} +.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){ + display:none; +} +.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{ + display:block; +} \ No newline at end of file diff --git a/wp-includes/blocks/freeform/editor-rtl.min.css b/wp-includes/blocks/freeform/editor-rtl.min.css new file mode 100644 index 0000000000..c3b073a349 --- /dev/null +++ b/wp-includes/blocks/freeform/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{margin-right:0;padding-right:2.5em}.wp-block-freeform.block-library-rich-text__tinymce blockquote{border-right:4px solid #000;box-shadow:inset 0 0 0 0 #ddd;margin:0;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;white-space:pre-wrap}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{background:#e5f5fa;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;margin:0 -2px;padding:0 2px}.wp-block-freeform.block-library-rich-text__tinymce code{background:#f0f0f0;border-radius:2px;color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;padding:2px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-position:50%;background-repeat:no-repeat;background-size:1900px 20px;cursor:default;display:block;height:20px;margin:15px auto;outline:0;width:96%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{margin:0;padding-top:.5em}.wp-block-freeform.block-library-rich-text__tinymce .wpview{border:1px solid transparent;clear:both;margin-bottom:16px;position:relative;width:99.99%}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{background:transparent;display:block;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{bottom:0;left:0;position:absolute;right:0;top:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{word-wrap:break-word;border:1px solid #ddd;margin:0;padding:1em 0}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;font-size:32px;height:32px;margin:0 auto;width:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{clear:both;content:"";display:table}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{line-height:1;margin:auto -6px;overflow-x:hidden;padding:6px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{box-sizing:border-box;float:right;margin:0;padding:6px;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{border:none;height:auto;max-width:100%;padding:0}div[data-type="core/freeform"]:before{border:1px solid #ddd;outline:1px solid transparent;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-delay:0s;transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{clear:both;content:"";display:table}.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i,.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{border:1px solid #ddd;border-bottom:none;border-radius:2px;display:none;margin:0 0 8px;padding:0;position:sticky;top:0;width:auto;z-index:31}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{border-color:#1e1e1e;display:block}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{background:#f5f5f5;border-bottom:1px solid #e2e4e7;display:block}.block-library-classic__toolbar:empty:before{color:#555d66;content:attr(data-placeholder);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block} \ No newline at end of file diff --git a/wp-includes/blocks/freeform/editor.css b/wp-includes/blocks/freeform/editor.css new file mode 100644 index 0000000000..cf36952851 --- /dev/null +++ b/wp-includes/blocks/freeform/editor.css @@ -0,0 +1,302 @@ +.wp-block-freeform.block-library-rich-text__tinymce{ + height:auto; +} +.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{ + line-height:1.8; +} +.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{ + margin-left:0; + padding-left:2.5em; +} +.wp-block-freeform.block-library-rich-text__tinymce blockquote{ + border-left:4px solid #000; + box-shadow:inset 0 0 0 0 #ddd; + margin:0; + padding-left:1em; +} +.wp-block-freeform.block-library-rich-text__tinymce pre{ + color:#1e1e1e; + font-family:Menlo,Consolas,monaco,monospace; + font-size:15px; + white-space:pre-wrap; +} +.wp-block-freeform.block-library-rich-text__tinymce>:first-child{ + margin-top:0; +} +.wp-block-freeform.block-library-rich-text__tinymce>:last-child{ + margin-bottom:0; +} +.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{ + outline:none; +} +.wp-block-freeform.block-library-rich-text__tinymce a{ + color:var(--wp-admin-theme-color); +} +.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{ + background:#e5f5fa; + border-radius:2px; + box-shadow:0 0 0 1px #e5f5fa; + margin:0 -2px; + padding:0 2px; +} +.wp-block-freeform.block-library-rich-text__tinymce code{ + background:#f0f0f0; + border-radius:2px; + color:#1e1e1e; + font-family:Menlo,Consolas,monaco,monospace; + font-size:14px; + padding:2px; +} +.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{ + background:#ddd; +} +.wp-block-freeform.block-library-rich-text__tinymce .alignright{ + float:right; + margin:.5em 0 .5em 1em; +} +.wp-block-freeform.block-library-rich-text__tinymce .alignleft{ + float:left; + margin:.5em 1em .5em 0; +} +.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{ + display:block; + margin-left:auto; + margin-right:auto; +} +.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{ + background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC); + background-position:50%; + background-repeat:no-repeat; + background-size:1900px 20px; + cursor:default; + display:block; + height:20px; + margin:15px auto; + outline:0; + width:96%; +} +.wp-block-freeform.block-library-rich-text__tinymce img::selection{ + background-color:initial; +} +.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{ + -ms-user-select:element; +} +.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{ + margin:0; + max-width:100%; +} +.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{ + display:block; +} +.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{ + -webkit-user-drag:none; +} +.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{ + margin:0; + padding-top:.5em; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview{ + border:1px solid transparent; + clear:both; + margin-bottom:16px; + position:relative; + width:99.99%; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{ + background:transparent; + display:block; + max-width:100%; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{ + bottom:0; + left:0; + position:absolute; + right:0; + top:0; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{ + display:none; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{ + border:1px dashed #ddd; + padding:10px; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{ + word-wrap:break-word; + border:1px solid #ddd; + margin:0; + padding:1em 0; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{ + margin:0; + text-align:center; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{ + border-color:transparent; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{ + display:block; + font-size:32px; + height:32px; + margin:0 auto; + width:32px; +} +.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{ + clear:both; + content:""; + display:table; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{ + outline:none; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery a{ + cursor:default; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery{ + line-height:1; + margin:auto -6px; + overflow-x:hidden; + padding:6px 0; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{ + box-sizing:border-box; + float:left; + margin:0; + padding:6px; + text-align:center; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{ + margin:0; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{ + font-size:13px; + margin:4px 0; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{ + width:100%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{ + width:50%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{ + width:33.3333333333%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{ + width:25%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{ + width:20%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{ + width:16.6666666667%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{ + width:14.2857142857%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{ + width:12.5%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{ + width:11.1111111111%; +} +.wp-block-freeform.block-library-rich-text__tinymce .gallery img{ + border:none; + height:auto; + max-width:100%; + padding:0; +} + +div[data-type="core/freeform"]:before{ + border:1px solid #ddd; + outline:1px solid transparent; + transition:border-color .1s linear,box-shadow .1s linear; +} +@media (prefers-reduced-motion:reduce){ + div[data-type="core/freeform"]:before{ + transition-delay:0s; + transition-duration:0s; + } +} +div[data-type="core/freeform"].is-selected:before{ + border-color:#1e1e1e; +} +div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{ + margin-top:0; + padding-top:0; +} +div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{ + clear:both; + content:""; + display:table; +} + +.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i,.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i{ + color:#1e1e1e; +} +.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{ + margin-left:8px; + margin-right:0; +} +.mce-toolbar-grp .mce-btn i{ + font-style:normal; +} + +.block-library-classic__toolbar{ + border:1px solid #ddd; + border-bottom:none; + border-radius:2px; + display:none; + margin:0 0 8px; + padding:0; + position:sticky; + top:0; + width:auto; + z-index:31; +} +div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{ + border-color:#1e1e1e; + display:block; +} +.block-library-classic__toolbar .mce-tinymce{ + box-shadow:none; +} +@media (min-width:600px){ + .block-library-classic__toolbar{ + padding:0; + } +} +.block-library-classic__toolbar:empty{ + background:#f5f5f5; + border-bottom:1px solid #e2e4e7; + display:block; +} +.block-library-classic__toolbar:empty:before{ + color:#555d66; + content:attr(data-placeholder); + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + line-height:37px; + padding:14px; +} +.block-library-classic__toolbar div.mce-toolbar-grp{ + border-bottom:1px solid #1e1e1e; +} +.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{ + height:auto !important; + width:100% !important; +} +.block-library-classic__toolbar .mce-container-body.mce-abs-layout{ + overflow:visible; +} +.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{ + position:static; +} +.block-library-classic__toolbar .mce-toolbar-grp>div{ + padding:1px 3px; +} +.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){ + display:none; +} +.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{ + display:block; +} \ No newline at end of file diff --git a/wp-includes/blocks/freeform/editor.min.css b/wp-includes/blocks/freeform/editor.min.css new file mode 100644 index 0000000000..d89cc3998f --- /dev/null +++ b/wp-includes/blocks/freeform/editor.min.css @@ -0,0 +1 @@ +.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{margin-left:0;padding-left:2.5em}.wp-block-freeform.block-library-rich-text__tinymce blockquote{border-left:4px solid #000;box-shadow:inset 0 0 0 0 #ddd;margin:0;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;white-space:pre-wrap}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{background:#e5f5fa;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;margin:0 -2px;padding:0 2px}.wp-block-freeform.block-library-rich-text__tinymce code{background:#f0f0f0;border-radius:2px;color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;padding:2px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-position:50%;background-repeat:no-repeat;background-size:1900px 20px;cursor:default;display:block;height:20px;margin:15px auto;outline:0;width:96%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{margin:0;padding-top:.5em}.wp-block-freeform.block-library-rich-text__tinymce .wpview{border:1px solid transparent;clear:both;margin-bottom:16px;position:relative;width:99.99%}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{background:transparent;display:block;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{bottom:0;left:0;position:absolute;right:0;top:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{word-wrap:break-word;border:1px solid #ddd;margin:0;padding:1em 0}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;font-size:32px;height:32px;margin:0 auto;width:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{clear:both;content:"";display:table}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{line-height:1;margin:auto -6px;overflow-x:hidden;padding:6px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{box-sizing:border-box;float:left;margin:0;padding:6px;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{border:none;height:auto;max-width:100%;padding:0}div[data-type="core/freeform"]:before{border:1px solid #ddd;outline:1px solid transparent;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-delay:0s;transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{clear:both;content:"";display:table}.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i,.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:8px;margin-right:0}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{border:1px solid #ddd;border-bottom:none;border-radius:2px;display:none;margin:0 0 8px;padding:0;position:sticky;top:0;width:auto;z-index:31}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{border-color:#1e1e1e;display:block}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{background:#f5f5f5;border-bottom:1px solid #e2e4e7;display:block}.block-library-classic__toolbar:empty:before{color:#555d66;content:attr(data-placeholder);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/editor-rtl.css b/wp-includes/blocks/gallery/editor-rtl.css new file mode 100644 index 0000000000..e50d37bb28 --- /dev/null +++ b/wp-includes/blocks/gallery/editor-rtl.css @@ -0,0 +1,151 @@ +figure.wp-block-gallery{ + display:block; +} +figure.wp-block-gallery.has-nested-images .components-drop-zone{ + display:none; + pointer-events:none; +} +figure.wp-block-gallery>.blocks-gallery-caption{ + flex:0 0 100%; +} +figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{ + flex-basis:100%; +} +figure.wp-block-gallery .wp-block-image .components-notice.is-error{ + display:block; +} +figure.wp-block-gallery .wp-block-image .components-notice__content{ + margin:4px 0; +} +figure.wp-block-gallery .wp-block-image .components-notice__dismiss{ + left:5px; + position:absolute; + top:0; +} +figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{ + display:none; +} +figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{ + margin-bottom:0; +} +figure.wp-block-gallery .block-editor-media-placeholder{ + margin:0; +} +figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{ + display:flex; +} +figure.wp-block-gallery .block-editor-media-placeholder figcaption{ + z-index:2; +} +figure.wp-block-gallery .components-spinner{ + margin-right:-9px; + margin-top:-9px; + position:absolute; + right:50%; + top:50%; +} +.gallery-settings-buttons .components-button:first-child{ + margin-left:8px; +} + +.gallery-image-sizes .components-base-control__label{ + display:block; + margin-bottom:4px; +} +.gallery-image-sizes .gallery-image-sizes__loading{ + align-items:center; + color:#757575; + display:flex; + font-size:12px; +} +.gallery-image-sizes .components-spinner{ + margin:0 4px 0 8px; +} +.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{ + outline:none; +} +.blocks-gallery-item figure.is-selected:before{ + bottom:0; + box-shadow:0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset; + content:""; + left:0; + outline:2px solid transparent; + pointer-events:none; + position:absolute; + right:0; + top:0; + z-index:1; +} +.blocks-gallery-item figure.is-transient img{ + opacity:.3; +} +.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{ + display:inline-flex; +} +.blocks-gallery-item .block-editor-media-placeholder{ + height:100%; + margin:0; +} +.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{ + display:flex; +} + +.block-library-gallery-item__inline-menu{ + background:#fff; + border:1px solid #1e1e1e; + border-radius:2px; + display:none; + margin:8px; + position:absolute; + top:-2px; + transition:box-shadow .2s ease-out; + z-index:20; +} +@media (prefers-reduced-motion:reduce){ + .block-library-gallery-item__inline-menu{ + transition-delay:0s; + transition-duration:0s; + } +} +.block-library-gallery-item__inline-menu:hover{ + box-shadow:0 .7px 1px rgba(0,0,0,.1),0 1.2px 1.7px -.2px rgba(0,0,0,.1),0 2.3px 3.3px -.5px rgba(0,0,0,.1); +} +@media (min-width:600px){ + .columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{ + padding:2px; + } +} +.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){ + border:none; + box-shadow:none; +} +@media (min-width:600px){ + .columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{ + height:inherit; + padding:0; + width:inherit; + } +} +.block-library-gallery-item__inline-menu.is-left{ + right:-2px; +} +.block-library-gallery-item__inline-menu.is-right{ + left:-2px; +} + +.wp-block-gallery ul.blocks-gallery-grid{ + margin:0; + padding:0; +} + +@media (min-width:600px){ + .wp-block-update-gallery-modal{ + max-width:480px; + } +} + +.wp-block-update-gallery-modal-buttons{ + display:flex; + gap:12px; + justify-content:flex-end; +} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/editor-rtl.min.css b/wp-includes/blocks/gallery/editor-rtl.min.css new file mode 100644 index 0000000000..aff9c7be5f --- /dev/null +++ b/wp-includes/blocks/gallery/editor-rtl.min.css @@ -0,0 +1 @@ +figure.wp-block-gallery{display:block}figure.wp-block-gallery.has-nested-images .components-drop-zone{display:none;pointer-events:none}figure.wp-block-gallery>.blocks-gallery-caption{flex:0 0 100%}figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{flex-basis:100%}figure.wp-block-gallery .wp-block-image .components-notice.is-error{display:block}figure.wp-block-gallery .wp-block-image .components-notice__content{margin:4px 0}figure.wp-block-gallery .wp-block-image .components-notice__dismiss{left:5px;position:absolute;top:0}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery .block-editor-media-placeholder{margin:0}figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:flex}figure.wp-block-gallery .block-editor-media-placeholder figcaption{z-index:2}figure.wp-block-gallery .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.gallery-settings-buttons .components-button:first-child{margin-left:8px}.gallery-image-sizes .components-base-control__label{display:block;margin-bottom:4px}.gallery-image-sizes .gallery-image-sizes__loading{align-items:center;color:#757575;display:flex;font-size:12px}.gallery-image-sizes .components-spinner{margin:0 4px 0 8px}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{bottom:0;box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";left:0;outline:2px solid transparent;pointer-events:none;position:absolute;right:0;top:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{height:100%;margin:0}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{background:#fff;border:1px solid #1e1e1e;border-radius:2px;display:none;margin:8px;position:absolute;top:-2px;transition:box-shadow .2s ease-out;z-index:20}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-delay:0s;transition-duration:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 .7px 1px rgba(0,0,0,.1),0 1.2px 1.7px -.2px rgba(0,0,0,.1),0 2.3px 3.3px -.5px rgba(0,0,0,.1)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{height:inherit;padding:0;width:inherit}}.block-library-gallery-item__inline-menu.is-left{right:-2px}.block-library-gallery-item__inline-menu.is-right{left:-2px}.wp-block-gallery ul.blocks-gallery-grid{margin:0;padding:0}@media (min-width:600px){.wp-block-update-gallery-modal{max-width:480px}}.wp-block-update-gallery-modal-buttons{display:flex;gap:12px;justify-content:flex-end} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/editor.css b/wp-includes/blocks/gallery/editor.css new file mode 100644 index 0000000000..234d4b667b --- /dev/null +++ b/wp-includes/blocks/gallery/editor.css @@ -0,0 +1,151 @@ +figure.wp-block-gallery{ + display:block; +} +figure.wp-block-gallery.has-nested-images .components-drop-zone{ + display:none; + pointer-events:none; +} +figure.wp-block-gallery>.blocks-gallery-caption{ + flex:0 0 100%; +} +figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{ + flex-basis:100%; +} +figure.wp-block-gallery .wp-block-image .components-notice.is-error{ + display:block; +} +figure.wp-block-gallery .wp-block-image .components-notice__content{ + margin:4px 0; +} +figure.wp-block-gallery .wp-block-image .components-notice__dismiss{ + position:absolute; + right:5px; + top:0; +} +figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{ + display:none; +} +figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{ + margin-bottom:0; +} +figure.wp-block-gallery .block-editor-media-placeholder{ + margin:0; +} +figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{ + display:flex; +} +figure.wp-block-gallery .block-editor-media-placeholder figcaption{ + z-index:2; +} +figure.wp-block-gallery .components-spinner{ + left:50%; + margin-left:-9px; + margin-top:-9px; + position:absolute; + top:50%; +} +.gallery-settings-buttons .components-button:first-child{ + margin-right:8px; +} + +.gallery-image-sizes .components-base-control__label{ + display:block; + margin-bottom:4px; +} +.gallery-image-sizes .gallery-image-sizes__loading{ + align-items:center; + color:#757575; + display:flex; + font-size:12px; +} +.gallery-image-sizes .components-spinner{ + margin:0 8px 0 4px; +} +.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{ + outline:none; +} +.blocks-gallery-item figure.is-selected:before{ + bottom:0; + box-shadow:0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset; + content:""; + left:0; + outline:2px solid transparent; + pointer-events:none; + position:absolute; + right:0; + top:0; + z-index:1; +} +.blocks-gallery-item figure.is-transient img{ + opacity:.3; +} +.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{ + display:inline-flex; +} +.blocks-gallery-item .block-editor-media-placeholder{ + height:100%; + margin:0; +} +.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{ + display:flex; +} + +.block-library-gallery-item__inline-menu{ + background:#fff; + border:1px solid #1e1e1e; + border-radius:2px; + display:none; + margin:8px; + position:absolute; + top:-2px; + transition:box-shadow .2s ease-out; + z-index:20; +} +@media (prefers-reduced-motion:reduce){ + .block-library-gallery-item__inline-menu{ + transition-delay:0s; + transition-duration:0s; + } +} +.block-library-gallery-item__inline-menu:hover{ + box-shadow:0 .7px 1px rgba(0,0,0,.1),0 1.2px 1.7px -.2px rgba(0,0,0,.1),0 2.3px 3.3px -.5px rgba(0,0,0,.1); +} +@media (min-width:600px){ + .columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{ + padding:2px; + } +} +.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){ + border:none; + box-shadow:none; +} +@media (min-width:600px){ + .columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{ + height:inherit; + padding:0; + width:inherit; + } +} +.block-library-gallery-item__inline-menu.is-left{ + left:-2px; +} +.block-library-gallery-item__inline-menu.is-right{ + right:-2px; +} + +.wp-block-gallery ul.blocks-gallery-grid{ + margin:0; + padding:0; +} + +@media (min-width:600px){ + .wp-block-update-gallery-modal{ + max-width:480px; + } +} + +.wp-block-update-gallery-modal-buttons{ + display:flex; + gap:12px; + justify-content:flex-end; +} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/editor.min.css b/wp-includes/blocks/gallery/editor.min.css new file mode 100644 index 0000000000..de966e56e3 --- /dev/null +++ b/wp-includes/blocks/gallery/editor.min.css @@ -0,0 +1 @@ +figure.wp-block-gallery{display:block}figure.wp-block-gallery.has-nested-images .components-drop-zone{display:none;pointer-events:none}figure.wp-block-gallery>.blocks-gallery-caption{flex:0 0 100%}figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{flex-basis:100%}figure.wp-block-gallery .wp-block-image .components-notice.is-error{display:block}figure.wp-block-gallery .wp-block-image .components-notice__content{margin:4px 0}figure.wp-block-gallery .wp-block-image .components-notice__dismiss{position:absolute;right:5px;top:0}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery .block-editor-media-placeholder{margin:0}figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:flex}figure.wp-block-gallery .block-editor-media-placeholder figcaption{z-index:2}figure.wp-block-gallery .components-spinner{left:50%;margin-left:-9px;margin-top:-9px;position:absolute;top:50%}.gallery-settings-buttons .components-button:first-child{margin-right:8px}.gallery-image-sizes .components-base-control__label{display:block;margin-bottom:4px}.gallery-image-sizes .gallery-image-sizes__loading{align-items:center;color:#757575;display:flex;font-size:12px}.gallery-image-sizes .components-spinner{margin:0 8px 0 4px}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{bottom:0;box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";left:0;outline:2px solid transparent;pointer-events:none;position:absolute;right:0;top:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{height:100%;margin:0}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{background:#fff;border:1px solid #1e1e1e;border-radius:2px;display:none;margin:8px;position:absolute;top:-2px;transition:box-shadow .2s ease-out;z-index:20}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-delay:0s;transition-duration:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 .7px 1px rgba(0,0,0,.1),0 1.2px 1.7px -.2px rgba(0,0,0,.1),0 2.3px 3.3px -.5px rgba(0,0,0,.1)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{height:inherit;padding:0;width:inherit}}.block-library-gallery-item__inline-menu.is-left{left:-2px}.block-library-gallery-item__inline-menu.is-right{right:-2px}.wp-block-gallery ul.blocks-gallery-grid{margin:0;padding:0}@media (min-width:600px){.wp-block-update-gallery-modal{max-width:480px}}.wp-block-update-gallery-modal-buttons{display:flex;gap:12px;justify-content:flex-end} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/style-rtl.css b/wp-includes/blocks/gallery/style-rtl.css new file mode 100644 index 0000000000..160b97882c --- /dev/null +++ b/wp-includes/blocks/gallery/style-rtl.css @@ -0,0 +1,232 @@ +.blocks-gallery-grid:not(.has-nested-images),.wp-block-gallery:not(.has-nested-images){ + display:flex; + flex-wrap:wrap; + list-style-type:none; + margin:0; + padding:0; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item{ + display:flex; + flex-direction:column; + flex-grow:1; + justify-content:center; + margin:0 0 1em 1em; + position:relative; + width:calc(50% - 1em); +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n){ + margin-left:0; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure{ + align-items:flex-end; + display:flex; + height:100%; + justify-content:flex-start; + margin:0; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img{ + display:block; + height:auto; + max-width:100%; + width:auto; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption{ + background:linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.3) 70%, transparent); + bottom:0; + box-sizing:border-box; + color:#fff; + font-size:.8em; + margin:0; + max-height:100%; + overflow:auto; + padding:3em .77em .7em; + position:absolute; + text-align:center; + width:100%; + z-index:2; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img{ + display:inline; +} +.blocks-gallery-grid:not(.has-nested-images) figcaption,.wp-block-gallery:not(.has-nested-images) figcaption{ + flex-grow:1; +} +.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img{ + flex:1; + height:100%; + -o-object-fit:cover; + object-fit:cover; + width:100%; +} +.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item{ + margin-left:0; + width:100%; +} +@media (min-width:600px){ + .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item{ + margin-left:1em; + width:calc(33.33333% - .66667em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item{ + margin-left:1em; + width:calc(25% - .75em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item{ + margin-left:1em; + width:calc(20% - .8em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item{ + margin-left:1em; + width:calc(16.66667% - .83333em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item{ + margin-left:1em; + width:calc(14.28571% - .85714em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item{ + margin-left:1em; + width:calc(12.5% - .875em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n){ + margin-left:0; + } +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child{ + margin-left:0; +} +.blocks-gallery-grid:not(.has-nested-images).alignleft,.blocks-gallery-grid:not(.has-nested-images).alignright,.wp-block-gallery:not(.has-nested-images).alignleft,.wp-block-gallery:not(.has-nested-images).alignright{ + max-width:420px; + width:100%; +} +.blocks-gallery-grid:not(.has-nested-images).aligncenter .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images).aligncenter .blocks-gallery-item figure{ + justify-content:center; +} + +.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{ + align-self:flex-start; +} + +figure.wp-block-gallery.has-nested-images{ + align-items:normal; +} + +.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){ + margin:0; + width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2); +} +.wp-block-gallery.has-nested-images figure.wp-block-image{ + box-sizing:border-box; + display:flex; + flex-direction:column; + flex-grow:1; + justify-content:center; + max-width:100%; + position:relative; +} +.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{ + flex-direction:column; + flex-grow:1; + margin:0; +} +.wp-block-gallery.has-nested-images figure.wp-block-image img{ + display:block; + height:auto; + max-width:100% !important; + width:auto; +} +.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{ + background:linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.3) 70%, transparent); + bottom:0; + box-sizing:border-box; + color:#fff; + font-size:13px; + margin-bottom:0; + max-height:60%; + overflow:auto; + padding:0 8px 8px; + position:absolute; + right:0; + text-align:center; + width:100%; +} +.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{ + display:inline; +} +.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a{ + color:inherit; +} +.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border img{ + box-sizing:border-box; +} +.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>a,.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>div,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{ + flex:1 1 auto; +} +.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border figcaption,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{ + background:none; + color:inherit; + flex:initial; + margin:0; + padding:10px 10px 9px; + position:relative; +} +.wp-block-gallery.has-nested-images figcaption{ + flex-basis:100%; + flex-grow:1; + text-align:center; +} +.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){ + margin-bottom:auto; + margin-top:0; +} +.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){ + align-self:inherit; +} +.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){ + display:flex; +} +.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{ + flex:1 0 0%; + height:100%; + -o-object-fit:cover; + object-fit:cover; + width:100%; +} +.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){ + width:100%; +} +@media (min-width:600px){ + .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){ + width:calc(33.33333% - var(--wp--style--unstable-gallery-gap, 16px)*.66667); + } + .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){ + width:calc(25% - var(--wp--style--unstable-gallery-gap, 16px)*.75); + } + .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){ + width:calc(20% - var(--wp--style--unstable-gallery-gap, 16px)*.8); + } + .wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){ + width:calc(16.66667% - var(--wp--style--unstable-gallery-gap, 16px)*.83333); + } + .wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){ + width:calc(14.28571% - var(--wp--style--unstable-gallery-gap, 16px)*.85714); + } + .wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){ + width:calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px)*.875); + } + .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){ + width:calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*.66667); + } + .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){ + width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)*.5); + } + .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{ + width:100%; + } +} +.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{ + max-width:420px; + width:100%; +} +.wp-block-gallery.has-nested-images.aligncenter{ + justify-content:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/style-rtl.min.css b/wp-includes/blocks/gallery/style-rtl.min.css new file mode 100644 index 0000000000..ee8cbfda8c --- /dev/null +++ b/wp-includes/blocks/gallery/style-rtl.min.css @@ -0,0 +1 @@ +.blocks-gallery-grid:not(.has-nested-images),.wp-block-gallery:not(.has-nested-images){display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0 0 1em 1em;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure{align-items:flex-end;display:flex;height:100%;justify-content:flex-start;margin:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img{display:block;height:auto;max-width:100%;width:auto}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:.8em;margin:0;max-height:100%;overflow:auto;padding:3em .77em .7em;position:absolute;text-align:center;width:100%;z-index:2}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid:not(.has-nested-images) figcaption,.wp-block-gallery:not(.has-nested-images) figcaption{flex-grow:1}.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img{flex:1;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item{margin-left:0;width:100%}@media (min-width:600px){.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item{margin-left:1em;width:calc(33.33333% - .66667em)}.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item{margin-left:1em;width:calc(25% - .75em)}.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item{margin-left:1em;width:calc(20% - .8em)}.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item{margin-left:1em;width:calc(16.66667% - .83333em)}.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item{margin-left:1em;width:calc(14.28571% - .85714em)}.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item{margin-left:1em;width:calc(12.5% - .875em)}.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid:not(.has-nested-images).alignleft,.blocks-gallery-grid:not(.has-nested-images).alignright,.wp-block-gallery:not(.has-nested-images).alignleft,.wp-block-gallery:not(.has-nested-images).alignright{max-width:420px;width:100%}.blocks-gallery-grid:not(.has-nested-images).aligncenter .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images).aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}figure.wp-block-gallery.has-nested-images{align-items:normal}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0;width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image{box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;max-width:100%;position:relative}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{flex-direction:column;flex-grow:1;margin:0}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%!important;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:13px;margin-bottom:0;max-height:60%;overflow:auto;padding:0 8px 8px;position:absolute;right:0;text-align:center;width:100%}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a{color:inherit}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border img{box-sizing:border-box}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>a,.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>div,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border figcaption,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{background:none;color:inherit;flex:initial;margin:0;padding:10px 10px 9px;position:relative}.wp-block-gallery.has-nested-images figcaption{flex-basis:100%;flex-grow:1;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-bottom:auto;margin-top:0}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{flex:1 0 0%;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){width:calc(33.33333% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){width:calc(25% - var(--wp--style--unstable-gallery-gap, 16px)*.75)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){width:calc(20% - var(--wp--style--unstable-gallery-gap, 16px)*.8)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){width:calc(16.66667% - var(--wp--style--unstable-gallery-gap, 16px)*.83333)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){width:calc(14.28571% - var(--wp--style--unstable-gallery-gap, 16px)*.85714)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){width:calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px)*.875)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){width:calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)*.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/style.css b/wp-includes/blocks/gallery/style.css new file mode 100644 index 0000000000..2f69ac024b --- /dev/null +++ b/wp-includes/blocks/gallery/style.css @@ -0,0 +1,232 @@ +.blocks-gallery-grid:not(.has-nested-images),.wp-block-gallery:not(.has-nested-images){ + display:flex; + flex-wrap:wrap; + list-style-type:none; + margin:0; + padding:0; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item{ + display:flex; + flex-direction:column; + flex-grow:1; + justify-content:center; + margin:0 1em 1em 0; + position:relative; + width:calc(50% - 1em); +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n){ + margin-right:0; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure{ + align-items:flex-end; + display:flex; + height:100%; + justify-content:flex-start; + margin:0; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img{ + display:block; + height:auto; + max-width:100%; + width:auto; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption{ + background:linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.3) 70%, transparent); + bottom:0; + box-sizing:border-box; + color:#fff; + font-size:.8em; + margin:0; + max-height:100%; + overflow:auto; + padding:3em .77em .7em; + position:absolute; + text-align:center; + width:100%; + z-index:2; +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img{ + display:inline; +} +.blocks-gallery-grid:not(.has-nested-images) figcaption,.wp-block-gallery:not(.has-nested-images) figcaption{ + flex-grow:1; +} +.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img{ + flex:1; + height:100%; + -o-object-fit:cover; + object-fit:cover; + width:100%; +} +.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item{ + margin-right:0; + width:100%; +} +@media (min-width:600px){ + .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item{ + margin-right:1em; + width:calc(33.33333% - .66667em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item{ + margin-right:1em; + width:calc(25% - .75em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item{ + margin-right:1em; + width:calc(20% - .8em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item{ + margin-right:1em; + width:calc(16.66667% - .83333em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item{ + margin-right:1em; + width:calc(14.28571% - .85714em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item{ + margin-right:1em; + width:calc(12.5% - .875em); + } + .blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n){ + margin-right:0; + } +} +.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child{ + margin-right:0; +} +.blocks-gallery-grid:not(.has-nested-images).alignleft,.blocks-gallery-grid:not(.has-nested-images).alignright,.wp-block-gallery:not(.has-nested-images).alignleft,.wp-block-gallery:not(.has-nested-images).alignright{ + max-width:420px; + width:100%; +} +.blocks-gallery-grid:not(.has-nested-images).aligncenter .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images).aligncenter .blocks-gallery-item figure{ + justify-content:center; +} + +.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{ + align-self:flex-start; +} + +figure.wp-block-gallery.has-nested-images{ + align-items:normal; +} + +.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){ + margin:0; + width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2); +} +.wp-block-gallery.has-nested-images figure.wp-block-image{ + box-sizing:border-box; + display:flex; + flex-direction:column; + flex-grow:1; + justify-content:center; + max-width:100%; + position:relative; +} +.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{ + flex-direction:column; + flex-grow:1; + margin:0; +} +.wp-block-gallery.has-nested-images figure.wp-block-image img{ + display:block; + height:auto; + max-width:100% !important; + width:auto; +} +.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{ + background:linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.3) 70%, transparent); + bottom:0; + box-sizing:border-box; + color:#fff; + font-size:13px; + left:0; + margin-bottom:0; + max-height:60%; + overflow:auto; + padding:0 8px 8px; + position:absolute; + text-align:center; + width:100%; +} +.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{ + display:inline; +} +.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a{ + color:inherit; +} +.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border img{ + box-sizing:border-box; +} +.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>a,.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>div,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{ + flex:1 1 auto; +} +.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border figcaption,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{ + background:none; + color:inherit; + flex:initial; + margin:0; + padding:10px 10px 9px; + position:relative; +} +.wp-block-gallery.has-nested-images figcaption{ + flex-basis:100%; + flex-grow:1; + text-align:center; +} +.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){ + margin-bottom:auto; + margin-top:0; +} +.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){ + align-self:inherit; +} +.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){ + display:flex; +} +.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{ + flex:1 0 0%; + height:100%; + -o-object-fit:cover; + object-fit:cover; + width:100%; +} +.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){ + width:100%; +} +@media (min-width:600px){ + .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){ + width:calc(33.33333% - var(--wp--style--unstable-gallery-gap, 16px)*.66667); + } + .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){ + width:calc(25% - var(--wp--style--unstable-gallery-gap, 16px)*.75); + } + .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){ + width:calc(20% - var(--wp--style--unstable-gallery-gap, 16px)*.8); + } + .wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){ + width:calc(16.66667% - var(--wp--style--unstable-gallery-gap, 16px)*.83333); + } + .wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){ + width:calc(14.28571% - var(--wp--style--unstable-gallery-gap, 16px)*.85714); + } + .wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){ + width:calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px)*.875); + } + .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){ + width:calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*.66667); + } + .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){ + width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)*.5); + } + .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{ + width:100%; + } +} +.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{ + max-width:420px; + width:100%; +} +.wp-block-gallery.has-nested-images.aligncenter{ + justify-content:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/style.min.css b/wp-includes/blocks/gallery/style.min.css new file mode 100644 index 0000000000..1aa0a794fd --- /dev/null +++ b/wp-includes/blocks/gallery/style.min.css @@ -0,0 +1 @@ +.blocks-gallery-grid:not(.has-nested-images),.wp-block-gallery:not(.has-nested-images){display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0 1em 1em 0;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure{align-items:flex-end;display:flex;height:100%;justify-content:flex-start;margin:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img{display:block;height:auto;max-width:100%;width:auto}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:.8em;margin:0;max-height:100%;overflow:auto;padding:3em .77em .7em;position:absolute;text-align:center;width:100%;z-index:2}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid:not(.has-nested-images) figcaption,.wp-block-gallery:not(.has-nested-images) figcaption{flex-grow:1}.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img{flex:1;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item{margin-right:0;width:100%}@media (min-width:600px){.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item{margin-right:1em;width:calc(33.33333% - .66667em)}.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item{margin-right:1em;width:calc(25% - .75em)}.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item{margin-right:1em;width:calc(20% - .8em)}.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item{margin-right:1em;width:calc(16.66667% - .83333em)}.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item{margin-right:1em;width:calc(14.28571% - .85714em)}.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item{margin-right:1em;width:calc(12.5% - .875em)}.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid:not(.has-nested-images).alignleft,.blocks-gallery-grid:not(.has-nested-images).alignright,.wp-block-gallery:not(.has-nested-images).alignleft,.wp-block-gallery:not(.has-nested-images).alignright{max-width:420px;width:100%}.blocks-gallery-grid:not(.has-nested-images).aligncenter .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images).aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}figure.wp-block-gallery.has-nested-images{align-items:normal}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0;width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image{box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;max-width:100%;position:relative}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{flex-direction:column;flex-grow:1;margin:0}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%!important;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:13px;left:0;margin-bottom:0;max-height:60%;overflow:auto;padding:0 8px 8px;position:absolute;text-align:center;width:100%}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a{color:inherit}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border img{box-sizing:border-box}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>a,.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>div,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border figcaption,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{background:none;color:inherit;flex:initial;margin:0;padding:10px 10px 9px;position:relative}.wp-block-gallery.has-nested-images figcaption{flex-basis:100%;flex-grow:1;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-bottom:auto;margin-top:0}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{flex:1 0 0%;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){width:calc(33.33333% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){width:calc(25% - var(--wp--style--unstable-gallery-gap, 16px)*.75)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){width:calc(20% - var(--wp--style--unstable-gallery-gap, 16px)*.8)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){width:calc(16.66667% - var(--wp--style--unstable-gallery-gap, 16px)*.83333)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){width:calc(14.28571% - var(--wp--style--unstable-gallery-gap, 16px)*.85714)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){width:calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px)*.875)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){width:calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)*.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/theme-rtl.css b/wp-includes/blocks/gallery/theme-rtl.css new file mode 100644 index 0000000000..94a485afff --- /dev/null +++ b/wp-includes/blocks/gallery/theme-rtl.css @@ -0,0 +1,8 @@ +.blocks-gallery-caption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .blocks-gallery-caption{ + color:hsla(0,0%,100%,.65); +} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/theme-rtl.min.css b/wp-includes/blocks/gallery/theme-rtl.min.css new file mode 100644 index 0000000000..fe8cd6a504 --- /dev/null +++ b/wp-includes/blocks/gallery/theme-rtl.min.css @@ -0,0 +1 @@ +.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/theme.css b/wp-includes/blocks/gallery/theme.css new file mode 100644 index 0000000000..94a485afff --- /dev/null +++ b/wp-includes/blocks/gallery/theme.css @@ -0,0 +1,8 @@ +.blocks-gallery-caption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .blocks-gallery-caption{ + color:hsla(0,0%,100%,.65); +} \ No newline at end of file diff --git a/wp-includes/blocks/gallery/theme.min.css b/wp-includes/blocks/gallery/theme.min.css new file mode 100644 index 0000000000..fe8cd6a504 --- /dev/null +++ b/wp-includes/blocks/gallery/theme.min.css @@ -0,0 +1 @@ +.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)} \ No newline at end of file diff --git a/wp-includes/blocks/group/editor-rtl.css b/wp-includes/blocks/group/editor-rtl.css new file mode 100644 index 0000000000..78cb04eb4b --- /dev/null +++ b/wp-includes/blocks/group/editor-rtl.css @@ -0,0 +1,90 @@ +.wp-block-group .block-editor-block-list__insertion-point{ + left:0; + right:0; +} + +[data-type="core/group"].is-selected .block-list-appender{ + margin-left:0; + margin-right:0; +} +[data-type="core/group"].is-selected .has-background .block-list-appender{ + margin-bottom:18px; + margin-top:18px; +} + +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child{ + gap:inherit; + pointer-events:none; +} +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-default-block-appender__content,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{ + display:inherit; + flex:1; + flex-direction:inherit; + width:100%; +} +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after{ + border:1px dashed; + border-radius:2px; + content:""; + display:flex; + flex:1 0 48px; + min-height:46px; + pointer-events:none; +} +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after:before{ + background:currentColor; + bottom:0; + content:""; + left:0; + opacity:.1; + pointer-events:none; + position:absolute; + right:0; + top:0; +} +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{ + pointer-events:all; +} + +.wp-block-group__placeholder .wp-block-group-placeholder__variations{ + display:flex; + flex-direction:row; + flex-wrap:wrap; + justify-content:center; + list-style:none; + margin:0; + padding:0; + width:100%; +} +.wp-block-group__placeholder .components-placeholder__instructions{ + margin-bottom:18px; + text-align:center; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations svg{ + fill:#ccc !important; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover{ + fill:var(--wp-admin-theme-color) !important; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations>li{ + align-items:center; + display:flex; + flex-direction:column; + margin:0 12px 12px; + width:auto; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button{ + height:32px; + padding:0; + width:44px; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button:hover{ + box-shadow:none; +} +.wp-block-group__placeholder .components-placeholder{ + min-height:auto; + padding:24px; +} +.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations>li,.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations>li{ + margin:12px; +} \ No newline at end of file diff --git a/wp-includes/blocks/group/editor-rtl.min.css b/wp-includes/blocks/group/editor-rtl.min.css new file mode 100644 index 0000000000..ff863a8fcb --- /dev/null +++ b/wp-includes/blocks/group/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-bottom:18px;margin-top:18px}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child{gap:inherit;pointer-events:none}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-default-block-appender__content,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{display:inherit;flex:1;flex-direction:inherit;width:100%}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after{border:1px dashed;border-radius:2px;content:"";display:flex;flex:1 0 48px;min-height:46px;pointer-events:none}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after:before{background:currentColor;bottom:0;content:"";left:0;opacity:.1;pointer-events:none;position:absolute;right:0;top:0}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{pointer-events:all}.wp-block-group__placeholder .wp-block-group-placeholder__variations{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;list-style:none;margin:0;padding:0;width:100%}.wp-block-group__placeholder .components-placeholder__instructions{margin-bottom:18px;text-align:center}.wp-block-group__placeholder .wp-block-group-placeholder__variations svg{fill:#ccc!important}.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover{fill:var(--wp-admin-theme-color)!important}.wp-block-group__placeholder .wp-block-group-placeholder__variations>li{align-items:center;display:flex;flex-direction:column;margin:0 12px 12px;width:auto}.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button{height:32px;padding:0;width:44px}.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button:hover{box-shadow:none}.wp-block-group__placeholder .components-placeholder{min-height:auto;padding:24px}.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations>li,.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations>li{margin:12px} \ No newline at end of file diff --git a/wp-includes/blocks/group/editor.css b/wp-includes/blocks/group/editor.css new file mode 100644 index 0000000000..78cb04eb4b --- /dev/null +++ b/wp-includes/blocks/group/editor.css @@ -0,0 +1,90 @@ +.wp-block-group .block-editor-block-list__insertion-point{ + left:0; + right:0; +} + +[data-type="core/group"].is-selected .block-list-appender{ + margin-left:0; + margin-right:0; +} +[data-type="core/group"].is-selected .has-background .block-list-appender{ + margin-bottom:18px; + margin-top:18px; +} + +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child{ + gap:inherit; + pointer-events:none; +} +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-default-block-appender__content,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{ + display:inherit; + flex:1; + flex-direction:inherit; + width:100%; +} +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after{ + border:1px dashed; + border-radius:2px; + content:""; + display:flex; + flex:1 0 48px; + min-height:46px; + pointer-events:none; +} +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after:before{ + background:currentColor; + bottom:0; + content:""; + left:0; + opacity:.1; + pointer-events:none; + position:absolute; + right:0; + top:0; +} +.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{ + pointer-events:all; +} + +.wp-block-group__placeholder .wp-block-group-placeholder__variations{ + display:flex; + flex-direction:row; + flex-wrap:wrap; + justify-content:center; + list-style:none; + margin:0; + padding:0; + width:100%; +} +.wp-block-group__placeholder .components-placeholder__instructions{ + margin-bottom:18px; + text-align:center; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations svg{ + fill:#ccc !important; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover{ + fill:var(--wp-admin-theme-color) !important; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations>li{ + align-items:center; + display:flex; + flex-direction:column; + margin:0 12px 12px; + width:auto; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button{ + height:32px; + padding:0; + width:44px; +} +.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button:hover{ + box-shadow:none; +} +.wp-block-group__placeholder .components-placeholder{ + min-height:auto; + padding:24px; +} +.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations>li,.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations>li{ + margin:12px; +} \ No newline at end of file diff --git a/wp-includes/blocks/group/editor.min.css b/wp-includes/blocks/group/editor.min.css new file mode 100644 index 0000000000..ff863a8fcb --- /dev/null +++ b/wp-includes/blocks/group/editor.min.css @@ -0,0 +1 @@ +.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-bottom:18px;margin-top:18px}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child{gap:inherit;pointer-events:none}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-default-block-appender__content,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{display:inherit;flex:1;flex-direction:inherit;width:100%}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after{border:1px dashed;border-radius:2px;content:"";display:flex;flex:1 0 48px;min-height:46px;pointer-events:none}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after:before{background:currentColor;bottom:0;content:"";left:0;opacity:.1;pointer-events:none;position:absolute;right:0;top:0}.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{pointer-events:all}.wp-block-group__placeholder .wp-block-group-placeholder__variations{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;list-style:none;margin:0;padding:0;width:100%}.wp-block-group__placeholder .components-placeholder__instructions{margin-bottom:18px;text-align:center}.wp-block-group__placeholder .wp-block-group-placeholder__variations svg{fill:#ccc!important}.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover{fill:var(--wp-admin-theme-color)!important}.wp-block-group__placeholder .wp-block-group-placeholder__variations>li{align-items:center;display:flex;flex-direction:column;margin:0 12px 12px;width:auto}.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button{height:32px;padding:0;width:44px}.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button:hover{box-shadow:none}.wp-block-group__placeholder .components-placeholder{min-height:auto;padding:24px}.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations>li,.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations>li{margin:12px} \ No newline at end of file diff --git a/wp-includes/blocks/group/style-rtl.css b/wp-includes/blocks/group/style-rtl.css new file mode 100644 index 0000000000..5128c344a0 --- /dev/null +++ b/wp-includes/blocks/group/style-rtl.css @@ -0,0 +1,3 @@ +.wp-block-group{ + box-sizing:border-box; +} \ No newline at end of file diff --git a/wp-includes/blocks/group/style-rtl.min.css b/wp-includes/blocks/group/style-rtl.min.css new file mode 100644 index 0000000000..9124e9b704 --- /dev/null +++ b/wp-includes/blocks/group/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-group{box-sizing:border-box} \ No newline at end of file diff --git a/wp-includes/blocks/group/style.css b/wp-includes/blocks/group/style.css new file mode 100644 index 0000000000..5128c344a0 --- /dev/null +++ b/wp-includes/blocks/group/style.css @@ -0,0 +1,3 @@ +.wp-block-group{ + box-sizing:border-box; +} \ No newline at end of file diff --git a/wp-includes/blocks/group/style.min.css b/wp-includes/blocks/group/style.min.css new file mode 100644 index 0000000000..9124e9b704 --- /dev/null +++ b/wp-includes/blocks/group/style.min.css @@ -0,0 +1 @@ +.wp-block-group{box-sizing:border-box} \ No newline at end of file diff --git a/wp-includes/blocks/group/theme-rtl.css b/wp-includes/blocks/group/theme-rtl.css new file mode 100644 index 0000000000..d232b03edc --- /dev/null +++ b/wp-includes/blocks/group/theme-rtl.css @@ -0,0 +1,3 @@ +:where(.wp-block-group.has-background){ + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/group/theme-rtl.min.css b/wp-includes/blocks/group/theme-rtl.min.css new file mode 100644 index 0000000000..df68e7e12c --- /dev/null +++ b/wp-includes/blocks/group/theme-rtl.min.css @@ -0,0 +1 @@ +:where(.wp-block-group.has-background){padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/group/theme.css b/wp-includes/blocks/group/theme.css new file mode 100644 index 0000000000..d232b03edc --- /dev/null +++ b/wp-includes/blocks/group/theme.css @@ -0,0 +1,3 @@ +:where(.wp-block-group.has-background){ + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/group/theme.min.css b/wp-includes/blocks/group/theme.min.css new file mode 100644 index 0000000000..df68e7e12c --- /dev/null +++ b/wp-includes/blocks/group/theme.min.css @@ -0,0 +1 @@ +:where(.wp-block-group.has-background){padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/heading/style-rtl.css b/wp-includes/blocks/heading/style-rtl.css new file mode 100644 index 0000000000..2c9f5264a8 --- /dev/null +++ b/wp-includes/blocks/heading/style-rtl.css @@ -0,0 +1,3 @@ +h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{ + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/heading/style-rtl.min.css b/wp-includes/blocks/heading/style-rtl.min.css new file mode 100644 index 0000000000..38760e892f --- /dev/null +++ b/wp-includes/blocks/heading/style-rtl.min.css @@ -0,0 +1 @@ +h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/heading/style.css b/wp-includes/blocks/heading/style.css new file mode 100644 index 0000000000..2c9f5264a8 --- /dev/null +++ b/wp-includes/blocks/heading/style.css @@ -0,0 +1,3 @@ +h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{ + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/heading/style.min.css b/wp-includes/blocks/heading/style.min.css new file mode 100644 index 0000000000..38760e892f --- /dev/null +++ b/wp-includes/blocks/heading/style.min.css @@ -0,0 +1 @@ +h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/html/editor-rtl.css b/wp-includes/blocks/html/editor-rtl.css new file mode 100644 index 0000000000..182be15613 --- /dev/null +++ b/wp-includes/blocks/html/editor-rtl.css @@ -0,0 +1,28 @@ +.block-library-html__edit .block-library-html__preview-overlay{ + height:100%; + position:absolute; + right:0; + top:0; + width:100%; +} +.block-library-html__edit .block-editor-plain-text{ + background:#fff !important; + border:1px solid #1e1e1e !important; + border-radius:2px !important; + box-shadow:none !important; + color:#1e1e1e !important; + font-family:Menlo,Consolas,monaco,monospace !important; + font-size:16px !important; + max-height:250px; + padding:12px !important; +} +@media (min-width:600px){ + .block-library-html__edit .block-editor-plain-text{ + font-size:13px !important; + } +} +.block-library-html__edit .block-editor-plain-text:focus{ + border-color:var(--wp-admin-theme-color) !important; + box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important; + outline:2px solid transparent !important; +} \ No newline at end of file diff --git a/wp-includes/blocks/html/editor-rtl.min.css b/wp-includes/blocks/html/editor-rtl.min.css new file mode 100644 index 0000000000..7fd17d42a8 --- /dev/null +++ b/wp-includes/blocks/html/editor-rtl.min.css @@ -0,0 +1 @@ +.block-library-html__edit .block-library-html__preview-overlay{height:100%;position:absolute;right:0;top:0;width:100%}.block-library-html__edit .block-editor-plain-text{background:#fff!important;border:1px solid #1e1e1e!important;border-radius:2px!important;box-shadow:none!important;color:#1e1e1e!important;font-family:Menlo,Consolas,monaco,monospace!important;font-size:16px!important;max-height:250px;padding:12px!important}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px!important}}.block-library-html__edit .block-editor-plain-text:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid transparent!important} \ No newline at end of file diff --git a/wp-includes/blocks/html/editor.css b/wp-includes/blocks/html/editor.css new file mode 100644 index 0000000000..4b367b1996 --- /dev/null +++ b/wp-includes/blocks/html/editor.css @@ -0,0 +1,28 @@ +.block-library-html__edit .block-library-html__preview-overlay{ + height:100%; + left:0; + position:absolute; + top:0; + width:100%; +} +.block-library-html__edit .block-editor-plain-text{ + background:#fff !important; + border:1px solid #1e1e1e !important; + border-radius:2px !important; + box-shadow:none !important; + color:#1e1e1e !important; + font-family:Menlo,Consolas,monaco,monospace !important; + font-size:16px !important; + max-height:250px; + padding:12px !important; +} +@media (min-width:600px){ + .block-library-html__edit .block-editor-plain-text{ + font-size:13px !important; + } +} +.block-library-html__edit .block-editor-plain-text:focus{ + border-color:var(--wp-admin-theme-color) !important; + box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important; + outline:2px solid transparent !important; +} \ No newline at end of file diff --git a/wp-includes/blocks/html/editor.min.css b/wp-includes/blocks/html/editor.min.css new file mode 100644 index 0000000000..779758718d --- /dev/null +++ b/wp-includes/blocks/html/editor.min.css @@ -0,0 +1 @@ +.block-library-html__edit .block-library-html__preview-overlay{height:100%;left:0;position:absolute;top:0;width:100%}.block-library-html__edit .block-editor-plain-text{background:#fff!important;border:1px solid #1e1e1e!important;border-radius:2px!important;box-shadow:none!important;color:#1e1e1e!important;font-family:Menlo,Consolas,monaco,monospace!important;font-size:16px!important;max-height:250px;padding:12px!important}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px!important}}.block-library-html__edit .block-editor-plain-text:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid transparent!important} \ No newline at end of file diff --git a/wp-includes/blocks/image/editor-rtl.css b/wp-includes/blocks/image/editor-rtl.css new file mode 100644 index 0000000000..d11c4e91b7 --- /dev/null +++ b/wp-includes/blocks/image/editor-rtl.css @@ -0,0 +1,126 @@ +.wp-block-image.wp-block-image.is-selected .components-placeholder{ + background-color:#fff; + border:none; + border-radius:2px; + box-shadow:inset 0 0 0 1px #1e1e1e; + color:#1e1e1e; + filter:none; +} +.wp-block-image.wp-block-image.is-selected .components-placeholder>svg{ + opacity:0; +} +.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration{ + display:none; +} +.wp-block-image.wp-block-image.is-selected .components-placeholder:before{ + opacity:0; +} +.wp-block-image.wp-block-image .components-button,.wp-block-image.wp-block-image .components-placeholder__instructions,.wp-block-image.wp-block-image .components-placeholder__label{ + transition:none; +} + +figure.wp-block-image:not(.wp-block){ + margin:0; +} + +.wp-block-image{ + position:relative; +} +.wp-block-image .is-applying img,.wp-block-image.is-transient img{ + opacity:.3; +} +.wp-block-image figcaption img{ + display:inline; +} +.wp-block-image .components-spinner{ + position:absolute; + right:50%; + top:50%; + transform:translate(50%, -50%); +} + +.wp-block-image .components-resizable-box__container{ + display:table; +} +.wp-block-image .components-resizable-box__container img{ + display:block; + height:inherit; + width:inherit; +} + +.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{ + left:0; + margin:-1px 0; + position:absolute; + right:0; +} +@media (min-width:600px){ + .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{ + margin:-1px; + } +} + +[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{ + height:auto; + width:100%; +} + +.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{ + display:table; +} +.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{ + caption-side:bottom; + display:table-caption; +} + +.wp-block[data-align=left]>.wp-block-image{ + margin:.5em 0 .5em 1em; +} + +.wp-block[data-align=right]>.wp-block-image{ + margin:.5em 1em .5em 0; +} + +.wp-block[data-align=center]>.wp-block-image{ + margin-left:auto; + margin-right:auto; + text-align:center; +} + +.wp-block-image__crop-area{ + max-width:100%; + overflow:hidden; + position:relative; + width:100%; +} +.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image{ + border:none; +} + +.wp-block-image__crop-icon{ + align-items:center; + display:flex; + justify-content:center; + min-width:48px; + padding:0 8px; +} +.wp-block-image__crop-icon svg{ + fill:currentColor; +} + +.wp-block-image__zoom .components-popover__content{ + min-width:260px; + overflow:visible !important; +} + +.wp-block-image__aspect-ratio{ + align-items:center; + display:flex; + height:46px; + margin-bottom:-8px; +} +.wp-block-image__aspect-ratio .components-button{ + padding-left:0; + padding-right:0; + width:36px; +} \ No newline at end of file diff --git a/wp-includes/blocks/image/editor-rtl.min.css b/wp-includes/blocks/image/editor-rtl.min.css new file mode 100644 index 0000000000..125df84488 --- /dev/null +++ b/wp-includes/blocks/image/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-image.wp-block-image.is-selected .components-placeholder{background-color:#fff;border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;color:#1e1e1e;filter:none}.wp-block-image.wp-block-image.is-selected .components-placeholder>svg{opacity:0}.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration{display:none}.wp-block-image.wp-block-image.is-selected .components-placeholder:before{opacity:0}.wp-block-image.wp-block-image .components-button,.wp-block-image.wp-block-image .components-placeholder__instructions,.wp-block-image.wp-block-image .components-placeholder__label{transition:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.wp-block-image .components-resizable-box__container{display:table}.wp-block-image .components-resizable-box__container img{display:block;height:inherit;width:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{left:0;margin:-1px 0;position:absolute;right:0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{height:auto;width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{caption-side:bottom;display:table-caption}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-image__crop-area{max-width:100%;overflow:hidden;position:relative;width:100%}.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image{border:none}.wp-block-image__crop-icon{align-items:center;display:flex;justify-content:center;min-width:48px;padding:0 8px}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{min-width:260px;overflow:visible!important}.wp-block-image__aspect-ratio{align-items:center;display:flex;height:46px;margin-bottom:-8px}.wp-block-image__aspect-ratio .components-button{padding-left:0;padding-right:0;width:36px} \ No newline at end of file diff --git a/wp-includes/blocks/image/editor.css b/wp-includes/blocks/image/editor.css new file mode 100644 index 0000000000..ebd0431052 --- /dev/null +++ b/wp-includes/blocks/image/editor.css @@ -0,0 +1,126 @@ +.wp-block-image.wp-block-image.is-selected .components-placeholder{ + background-color:#fff; + border:none; + border-radius:2px; + box-shadow:inset 0 0 0 1px #1e1e1e; + color:#1e1e1e; + filter:none; +} +.wp-block-image.wp-block-image.is-selected .components-placeholder>svg{ + opacity:0; +} +.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration{ + display:none; +} +.wp-block-image.wp-block-image.is-selected .components-placeholder:before{ + opacity:0; +} +.wp-block-image.wp-block-image .components-button,.wp-block-image.wp-block-image .components-placeholder__instructions,.wp-block-image.wp-block-image .components-placeholder__label{ + transition:none; +} + +figure.wp-block-image:not(.wp-block){ + margin:0; +} + +.wp-block-image{ + position:relative; +} +.wp-block-image .is-applying img,.wp-block-image.is-transient img{ + opacity:.3; +} +.wp-block-image figcaption img{ + display:inline; +} +.wp-block-image .components-spinner{ + left:50%; + position:absolute; + top:50%; + transform:translate(-50%, -50%); +} + +.wp-block-image .components-resizable-box__container{ + display:table; +} +.wp-block-image .components-resizable-box__container img{ + display:block; + height:inherit; + width:inherit; +} + +.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{ + left:0; + margin:-1px 0; + position:absolute; + right:0; +} +@media (min-width:600px){ + .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{ + margin:-1px; + } +} + +[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{ + height:auto; + width:100%; +} + +.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{ + display:table; +} +.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{ + caption-side:bottom; + display:table-caption; +} + +.wp-block[data-align=left]>.wp-block-image{ + margin:.5em 1em .5em 0; +} + +.wp-block[data-align=right]>.wp-block-image{ + margin:.5em 0 .5em 1em; +} + +.wp-block[data-align=center]>.wp-block-image{ + margin-left:auto; + margin-right:auto; + text-align:center; +} + +.wp-block-image__crop-area{ + max-width:100%; + overflow:hidden; + position:relative; + width:100%; +} +.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image{ + border:none; +} + +.wp-block-image__crop-icon{ + align-items:center; + display:flex; + justify-content:center; + min-width:48px; + padding:0 8px; +} +.wp-block-image__crop-icon svg{ + fill:currentColor; +} + +.wp-block-image__zoom .components-popover__content{ + min-width:260px; + overflow:visible !important; +} + +.wp-block-image__aspect-ratio{ + align-items:center; + display:flex; + height:46px; + margin-bottom:-8px; +} +.wp-block-image__aspect-ratio .components-button{ + padding-left:0; + padding-right:0; + width:36px; +} \ No newline at end of file diff --git a/wp-includes/blocks/image/editor.min.css b/wp-includes/blocks/image/editor.min.css new file mode 100644 index 0000000000..b12013d433 --- /dev/null +++ b/wp-includes/blocks/image/editor.min.css @@ -0,0 +1 @@ +.wp-block-image.wp-block-image.is-selected .components-placeholder{background-color:#fff;border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;color:#1e1e1e;filter:none}.wp-block-image.wp-block-image.is-selected .components-placeholder>svg{opacity:0}.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration{display:none}.wp-block-image.wp-block-image.is-selected .components-placeholder:before{opacity:0}.wp-block-image.wp-block-image .components-button,.wp-block-image.wp-block-image .components-placeholder__instructions,.wp-block-image.wp-block-image .components-placeholder__label{transition:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.wp-block-image .components-resizable-box__container{display:table}.wp-block-image .components-resizable-box__container img{display:block;height:inherit;width:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{left:0;margin:-1px 0;position:absolute;right:0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{height:auto;width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{caption-side:bottom;display:table-caption}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-image__crop-area{max-width:100%;overflow:hidden;position:relative;width:100%}.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image{border:none}.wp-block-image__crop-icon{align-items:center;display:flex;justify-content:center;min-width:48px;padding:0 8px}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{min-width:260px;overflow:visible!important}.wp-block-image__aspect-ratio{align-items:center;display:flex;height:46px;margin-bottom:-8px}.wp-block-image__aspect-ratio .components-button{padding-left:0;padding-right:0;width:36px} \ No newline at end of file diff --git a/wp-includes/blocks/image/style-rtl.css b/wp-includes/blocks/image/style-rtl.css new file mode 100644 index 0000000000..099177c251 --- /dev/null +++ b/wp-includes/blocks/image/style-rtl.css @@ -0,0 +1,93 @@ +.wp-block-image img{ + height:auto; + max-width:100%; + vertical-align:bottom; +} +.wp-block-image img,.wp-block-image.has-custom-border img{ + box-sizing:border-box; +} +.wp-block-image.aligncenter{ + text-align:center; +} +.wp-block-image.alignfull img,.wp-block-image.alignwide img{ + height:auto; + width:100%; +} +.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.aligncenter,.wp-block-image.alignleft,.wp-block-image.alignright{ + display:table; +} +.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.aligncenter>figcaption,.wp-block-image.alignleft>figcaption,.wp-block-image.alignright>figcaption{ + caption-side:bottom; + display:table-caption; +} +.wp-block-image .alignleft{ + float:left; + margin-bottom:.5em; + margin-left:1em; + margin-top:.5em; +} +.wp-block-image .alignright{ + float:right; + margin-bottom:.5em; + margin-right:1em; + margin-top:.5em; +} +.wp-block-image .aligncenter{ + margin-left:auto; + margin-right:auto; +} +.wp-block-image figcaption{ + margin-bottom:1em; + margin-top:.5em; +} +.wp-block-image .is-style-rounded img,.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{ + border-radius:9999px; +} +@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){ + .wp-block-image.is-style-circle-mask img{ + border-radius:0; + -webkit-mask-image:url('data:image/svg+xml;utf8,'); + mask-image:url('data:image/svg+xml;utf8,'); + mask-mode:alpha; + -webkit-mask-position:center; + mask-position:center; + -webkit-mask-repeat:no-repeat; + mask-repeat:initial; + -webkit-mask-size:contain; + mask-size:contain; + } +} +.wp-block-image :where(.has-border-color){ + border-style:solid; +} +.wp-block-image :where([style*=border-top-color]){ + border-top-style:solid; +} +.wp-block-image :where([style*=border-right-color]){ + border-left-style:solid; +} +.wp-block-image :where([style*=border-bottom-color]){ + border-bottom-style:solid; +} +.wp-block-image :where([style*=border-left-color]){ + border-right-style:solid; +} +.wp-block-image :where([style*=border-width]){ + border-style:solid; +} +.wp-block-image :where([style*=border-top-width]){ + border-top-style:solid; +} +.wp-block-image :where([style*=border-right-width]){ + border-left-style:solid; +} +.wp-block-image :where([style*=border-bottom-width]){ + border-bottom-style:solid; +} +.wp-block-image :where([style*=border-left-width]){ + border-right-style:solid; +} + +.wp-block-image figure{ + margin:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/image/style-rtl.min.css b/wp-includes/blocks/image/style-rtl.min.css new file mode 100644 index 0000000000..64af607747 --- /dev/null +++ b/wp-includes/blocks/image/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image img,.wp-block-image.has-custom-border img{box-sizing:border-box}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.aligncenter,.wp-block-image.alignleft,.wp-block-image.alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.aligncenter>figcaption,.wp-block-image.alignleft>figcaption,.wp-block-image.alignright>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .alignleft{float:left;margin-bottom:.5em;margin-left:1em;margin-top:.5em}.wp-block-image .alignright{float:right;margin-bottom:.5em;margin-right:1em;margin-top:.5em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-image .is-style-rounded img,.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{border-radius:0;-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:initial;-webkit-mask-size:contain;mask-size:contain}}.wp-block-image :where(.has-border-color){border-style:solid}.wp-block-image :where([style*=border-top-color]){border-top-style:solid}.wp-block-image :where([style*=border-right-color]){border-left-style:solid}.wp-block-image :where([style*=border-bottom-color]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-color]){border-right-style:solid}.wp-block-image :where([style*=border-width]){border-style:solid}.wp-block-image :where([style*=border-top-width]){border-top-style:solid}.wp-block-image :where([style*=border-right-width]){border-left-style:solid}.wp-block-image :where([style*=border-bottom-width]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-width]){border-right-style:solid}.wp-block-image figure{margin:0} \ No newline at end of file diff --git a/wp-includes/blocks/image/style.css b/wp-includes/blocks/image/style.css new file mode 100644 index 0000000000..f3ea1d9768 --- /dev/null +++ b/wp-includes/blocks/image/style.css @@ -0,0 +1,89 @@ +.wp-block-image img{ + height:auto; + max-width:100%; + vertical-align:bottom; +} +.wp-block-image img,.wp-block-image.has-custom-border img{ + box-sizing:border-box; +} +.wp-block-image.aligncenter{ + text-align:center; +} +.wp-block-image.alignfull img,.wp-block-image.alignwide img{ + height:auto; + width:100%; +} +.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.aligncenter,.wp-block-image.alignleft,.wp-block-image.alignright{ + display:table; +} +.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.aligncenter>figcaption,.wp-block-image.alignleft>figcaption,.wp-block-image.alignright>figcaption{ + caption-side:bottom; + display:table-caption; +} +.wp-block-image .alignleft{ + float:left; + margin:.5em 1em .5em 0; +} +.wp-block-image .alignright{ + float:right; + margin:.5em 0 .5em 1em; +} +.wp-block-image .aligncenter{ + margin-left:auto; + margin-right:auto; +} +.wp-block-image figcaption{ + margin-bottom:1em; + margin-top:.5em; +} +.wp-block-image .is-style-rounded img,.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{ + border-radius:9999px; +} +@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){ + .wp-block-image.is-style-circle-mask img{ + border-radius:0; + -webkit-mask-image:url('data:image/svg+xml;utf8,'); + mask-image:url('data:image/svg+xml;utf8,'); + mask-mode:alpha; + -webkit-mask-position:center; + mask-position:center; + -webkit-mask-repeat:no-repeat; + mask-repeat:initial; + -webkit-mask-size:contain; + mask-size:contain; + } +} +.wp-block-image :where(.has-border-color){ + border-style:solid; +} +.wp-block-image :where([style*=border-top-color]){ + border-top-style:solid; +} +.wp-block-image :where([style*=border-right-color]){ + border-right-style:solid; +} +.wp-block-image :where([style*=border-bottom-color]){ + border-bottom-style:solid; +} +.wp-block-image :where([style*=border-left-color]){ + border-left-style:solid; +} +.wp-block-image :where([style*=border-width]){ + border-style:solid; +} +.wp-block-image :where([style*=border-top-width]){ + border-top-style:solid; +} +.wp-block-image :where([style*=border-right-width]){ + border-right-style:solid; +} +.wp-block-image :where([style*=border-bottom-width]){ + border-bottom-style:solid; +} +.wp-block-image :where([style*=border-left-width]){ + border-left-style:solid; +} + +.wp-block-image figure{ + margin:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/image/style.min.css b/wp-includes/blocks/image/style.min.css new file mode 100644 index 0000000000..1918dc4b97 --- /dev/null +++ b/wp-includes/blocks/image/style.min.css @@ -0,0 +1 @@ +.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image img,.wp-block-image.has-custom-border img{box-sizing:border-box}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.aligncenter,.wp-block-image.alignleft,.wp-block-image.alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.aligncenter>figcaption,.wp-block-image.alignleft>figcaption,.wp-block-image.alignright>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-image .is-style-rounded img,.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{border-radius:0;-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:initial;-webkit-mask-size:contain;mask-size:contain}}.wp-block-image :where(.has-border-color){border-style:solid}.wp-block-image :where([style*=border-top-color]){border-top-style:solid}.wp-block-image :where([style*=border-right-color]){border-right-style:solid}.wp-block-image :where([style*=border-bottom-color]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-color]){border-left-style:solid}.wp-block-image :where([style*=border-width]){border-style:solid}.wp-block-image :where([style*=border-top-width]){border-top-style:solid}.wp-block-image :where([style*=border-right-width]){border-right-style:solid}.wp-block-image :where([style*=border-bottom-width]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-width]){border-left-style:solid}.wp-block-image figure{margin:0} \ No newline at end of file diff --git a/wp-includes/blocks/image/theme-rtl.css b/wp-includes/blocks/image/theme-rtl.css new file mode 100644 index 0000000000..4d1a8391ad --- /dev/null +++ b/wp-includes/blocks/image/theme-rtl.css @@ -0,0 +1,12 @@ +.wp-block-image figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-image figcaption{ + color:hsla(0,0%,100%,.65); +} + +.wp-block-image{ + margin:0 0 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/image/theme-rtl.min.css b/wp-includes/blocks/image/theme-rtl.min.css new file mode 100644 index 0000000000..52ef8043ee --- /dev/null +++ b/wp-includes/blocks/image/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-image{margin:0 0 1em} \ No newline at end of file diff --git a/wp-includes/blocks/image/theme.css b/wp-includes/blocks/image/theme.css new file mode 100644 index 0000000000..4d1a8391ad --- /dev/null +++ b/wp-includes/blocks/image/theme.css @@ -0,0 +1,12 @@ +.wp-block-image figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-image figcaption{ + color:hsla(0,0%,100%,.65); +} + +.wp-block-image{ + margin:0 0 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/image/theme.min.css b/wp-includes/blocks/image/theme.min.css new file mode 100644 index 0000000000..52ef8043ee --- /dev/null +++ b/wp-includes/blocks/image/theme.min.css @@ -0,0 +1 @@ +.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-image{margin:0 0 1em} \ No newline at end of file diff --git a/wp-includes/blocks/latest-comments/style-rtl.css b/wp-includes/blocks/latest-comments/style-rtl.css new file mode 100644 index 0000000000..b0268f75c7 --- /dev/null +++ b/wp-includes/blocks/latest-comments/style-rtl.css @@ -0,0 +1,44 @@ +ol.wp-block-latest-comments{ + box-sizing:border-box; + margin-right:0; +} + +.wp-block-latest-comments .wp-block-latest-comments{ + padding-right:0; +} + +.wp-block-latest-comments__comment{ + line-height:1.1; + list-style:none; + margin-bottom:1em; +} +.has-avatars .wp-block-latest-comments__comment{ + list-style:none; + min-height:2.25em; +} +.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{ + margin-right:3.25em; +} +.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{ + line-height:1.5; +} + +.wp-block-latest-comments__comment-excerpt p{ + font-size:.875em; + line-height:1.8; + margin:.36em 0 1.4em; +} + +.wp-block-latest-comments__comment-date{ + display:block; + font-size:.75em; +} + +.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{ + border-radius:1.5em; + display:block; + float:right; + height:2.5em; + margin-left:.75em; + width:2.5em; +} \ No newline at end of file diff --git a/wp-includes/blocks/latest-comments/style-rtl.min.css b/wp-includes/blocks/latest-comments/style-rtl.min.css new file mode 100644 index 0000000000..a19a77b661 --- /dev/null +++ b/wp-includes/blocks/latest-comments/style-rtl.min.css @@ -0,0 +1 @@ +ol.wp-block-latest-comments{box-sizing:border-box;margin-right:0}.wp-block-latest-comments .wp-block-latest-comments{padding-right:0}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{list-style:none;min-height:2.25em}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em} \ No newline at end of file diff --git a/wp-includes/blocks/latest-comments/style.css b/wp-includes/blocks/latest-comments/style.css new file mode 100644 index 0000000000..cd2f3682d0 --- /dev/null +++ b/wp-includes/blocks/latest-comments/style.css @@ -0,0 +1,44 @@ +ol.wp-block-latest-comments{ + box-sizing:border-box; + margin-left:0; +} + +.wp-block-latest-comments .wp-block-latest-comments{ + padding-left:0; +} + +.wp-block-latest-comments__comment{ + line-height:1.1; + list-style:none; + margin-bottom:1em; +} +.has-avatars .wp-block-latest-comments__comment{ + list-style:none; + min-height:2.25em; +} +.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{ + margin-left:3.25em; +} +.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{ + line-height:1.5; +} + +.wp-block-latest-comments__comment-excerpt p{ + font-size:.875em; + line-height:1.8; + margin:.36em 0 1.4em; +} + +.wp-block-latest-comments__comment-date{ + display:block; + font-size:.75em; +} + +.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{ + border-radius:1.5em; + display:block; + float:left; + height:2.5em; + margin-right:.75em; + width:2.5em; +} \ No newline at end of file diff --git a/wp-includes/blocks/latest-comments/style.min.css b/wp-includes/blocks/latest-comments/style.min.css new file mode 100644 index 0000000000..2edb9b9a25 --- /dev/null +++ b/wp-includes/blocks/latest-comments/style.min.css @@ -0,0 +1 @@ +ol.wp-block-latest-comments{box-sizing:border-box;margin-left:0}.wp-block-latest-comments .wp-block-latest-comments{padding-left:0}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{list-style:none;min-height:2.25em}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em} \ No newline at end of file diff --git a/wp-includes/blocks/latest-posts/editor-rtl.css b/wp-includes/blocks/latest-posts/editor-rtl.css new file mode 100644 index 0000000000..4b51e11336 --- /dev/null +++ b/wp-includes/blocks/latest-posts/editor-rtl.css @@ -0,0 +1,24 @@ +.wp-block-latest-posts{ + padding-right:2.5em; +} +.wp-block-latest-posts.is-grid{ + padding-right:0; +} +.wp-block-latest-posts>li{ + overflow:hidden; +} + +.wp-block-latest-posts li a>div{ + display:inline; +} + +.edit-post-visual-editor .wp-block-latest-posts.is-grid li{ + margin-bottom:20px; +} + +.editor-latest-posts-image-alignment-control .components-base-control__label{ + display:block; +} +.editor-latest-posts-image-alignment-control .components-toolbar{ + border-radius:2px; +} \ No newline at end of file diff --git a/wp-includes/blocks/latest-posts/editor-rtl.min.css b/wp-includes/blocks/latest-posts/editor-rtl.min.css new file mode 100644 index 0000000000..b389b8e230 --- /dev/null +++ b/wp-includes/blocks/latest-posts/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-latest-posts{padding-right:2.5em}.wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts>li{overflow:hidden}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.editor-latest-posts-image-alignment-control .components-base-control__label{display:block}.editor-latest-posts-image-alignment-control .components-toolbar{border-radius:2px} \ No newline at end of file diff --git a/wp-includes/blocks/latest-posts/editor.css b/wp-includes/blocks/latest-posts/editor.css new file mode 100644 index 0000000000..850c3673e9 --- /dev/null +++ b/wp-includes/blocks/latest-posts/editor.css @@ -0,0 +1,24 @@ +.wp-block-latest-posts{ + padding-left:2.5em; +} +.wp-block-latest-posts.is-grid{ + padding-left:0; +} +.wp-block-latest-posts>li{ + overflow:hidden; +} + +.wp-block-latest-posts li a>div{ + display:inline; +} + +.edit-post-visual-editor .wp-block-latest-posts.is-grid li{ + margin-bottom:20px; +} + +.editor-latest-posts-image-alignment-control .components-base-control__label{ + display:block; +} +.editor-latest-posts-image-alignment-control .components-toolbar{ + border-radius:2px; +} \ No newline at end of file diff --git a/wp-includes/blocks/latest-posts/editor.min.css b/wp-includes/blocks/latest-posts/editor.min.css new file mode 100644 index 0000000000..b34b815e3b --- /dev/null +++ b/wp-includes/blocks/latest-posts/editor.min.css @@ -0,0 +1 @@ +.wp-block-latest-posts{padding-left:2.5em}.wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts>li{overflow:hidden}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.editor-latest-posts-image-alignment-control .components-base-control__label{display:block}.editor-latest-posts-image-alignment-control .components-toolbar{border-radius:2px} \ No newline at end of file diff --git a/wp-includes/blocks/latest-posts/style-rtl.css b/wp-includes/blocks/latest-posts/style-rtl.css new file mode 100644 index 0000000000..cad7683b07 --- /dev/null +++ b/wp-includes/blocks/latest-posts/style-rtl.css @@ -0,0 +1,88 @@ +.wp-block-latest-posts{ + box-sizing:border-box; +} +.wp-block-latest-posts.alignleft{ + margin-right:2em; +} +.wp-block-latest-posts.alignright{ + margin-left:2em; +} +.wp-block-latest-posts.wp-block-latest-posts__list{ + list-style:none; + padding-right:0; +} +.wp-block-latest-posts.wp-block-latest-posts__list li{ + clear:both; +} +.wp-block-latest-posts.is-grid{ + display:flex; + flex-wrap:wrap; + padding:0; +} +.wp-block-latest-posts.is-grid li{ + margin:0 0 1.25em 1.25em; + width:100%; +} +@media (min-width:600px){ + .wp-block-latest-posts.columns-2 li{ + width:calc(50% - .625em); + } + .wp-block-latest-posts.columns-2 li:nth-child(2n){ + margin-left:0; + } + .wp-block-latest-posts.columns-3 li{ + width:calc(33.33333% - .83333em); + } + .wp-block-latest-posts.columns-3 li:nth-child(3n){ + margin-left:0; + } + .wp-block-latest-posts.columns-4 li{ + width:calc(25% - .9375em); + } + .wp-block-latest-posts.columns-4 li:nth-child(4n){ + margin-left:0; + } + .wp-block-latest-posts.columns-5 li{ + width:calc(20% - 1em); + } + .wp-block-latest-posts.columns-5 li:nth-child(5n){ + margin-left:0; + } + .wp-block-latest-posts.columns-6 li{ + width:calc(16.66667% - 1.04167em); + } + .wp-block-latest-posts.columns-6 li:nth-child(6n){ + margin-left:0; + } +} + +.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{ + display:block; + font-size:.8125em; +} + +.wp-block-latest-posts__post-excerpt{ + margin-bottom:1em; + margin-top:.5em; +} + +.wp-block-latest-posts__featured-image a{ + display:inline-block; +} +.wp-block-latest-posts__featured-image img{ + height:auto; + max-width:100%; + width:auto; +} +.wp-block-latest-posts__featured-image.alignleft{ + float:left; + margin-right:1em; +} +.wp-block-latest-posts__featured-image.alignright{ + float:right; + margin-left:1em; +} +.wp-block-latest-posts__featured-image.aligncenter{ + margin-bottom:1em; + text-align:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/latest-posts/style-rtl.min.css b/wp-includes/blocks/latest-posts/style-rtl.min.css new file mode 100644 index 0000000000..ff16e588d2 --- /dev/null +++ b/wp-includes/blocks/latest-posts/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-latest-posts{box-sizing:border-box}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none;padding-right:0}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 1.25em 1.25em;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-left:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-left:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-left:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-left:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-left:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-bottom:1em;margin-top:.5em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;max-width:100%;width:auto}.wp-block-latest-posts__featured-image.alignleft{float:left;margin-right:1em}.wp-block-latest-posts__featured-image.alignright{float:right;margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center} \ No newline at end of file diff --git a/wp-includes/blocks/latest-posts/style.css b/wp-includes/blocks/latest-posts/style.css new file mode 100644 index 0000000000..63f0115b18 --- /dev/null +++ b/wp-includes/blocks/latest-posts/style.css @@ -0,0 +1,88 @@ +.wp-block-latest-posts{ + box-sizing:border-box; +} +.wp-block-latest-posts.alignleft{ + margin-right:2em; +} +.wp-block-latest-posts.alignright{ + margin-left:2em; +} +.wp-block-latest-posts.wp-block-latest-posts__list{ + list-style:none; + padding-left:0; +} +.wp-block-latest-posts.wp-block-latest-posts__list li{ + clear:both; +} +.wp-block-latest-posts.is-grid{ + display:flex; + flex-wrap:wrap; + padding:0; +} +.wp-block-latest-posts.is-grid li{ + margin:0 1.25em 1.25em 0; + width:100%; +} +@media (min-width:600px){ + .wp-block-latest-posts.columns-2 li{ + width:calc(50% - .625em); + } + .wp-block-latest-posts.columns-2 li:nth-child(2n){ + margin-right:0; + } + .wp-block-latest-posts.columns-3 li{ + width:calc(33.33333% - .83333em); + } + .wp-block-latest-posts.columns-3 li:nth-child(3n){ + margin-right:0; + } + .wp-block-latest-posts.columns-4 li{ + width:calc(25% - .9375em); + } + .wp-block-latest-posts.columns-4 li:nth-child(4n){ + margin-right:0; + } + .wp-block-latest-posts.columns-5 li{ + width:calc(20% - 1em); + } + .wp-block-latest-posts.columns-5 li:nth-child(5n){ + margin-right:0; + } + .wp-block-latest-posts.columns-6 li{ + width:calc(16.66667% - 1.04167em); + } + .wp-block-latest-posts.columns-6 li:nth-child(6n){ + margin-right:0; + } +} + +.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{ + display:block; + font-size:.8125em; +} + +.wp-block-latest-posts__post-excerpt{ + margin-bottom:1em; + margin-top:.5em; +} + +.wp-block-latest-posts__featured-image a{ + display:inline-block; +} +.wp-block-latest-posts__featured-image img{ + height:auto; + max-width:100%; + width:auto; +} +.wp-block-latest-posts__featured-image.alignleft{ + float:left; + margin-right:1em; +} +.wp-block-latest-posts__featured-image.alignright{ + float:right; + margin-left:1em; +} +.wp-block-latest-posts__featured-image.aligncenter{ + margin-bottom:1em; + text-align:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/latest-posts/style.min.css b/wp-includes/blocks/latest-posts/style.min.css new file mode 100644 index 0000000000..a71b476cf9 --- /dev/null +++ b/wp-includes/blocks/latest-posts/style.min.css @@ -0,0 +1 @@ +.wp-block-latest-posts{box-sizing:border-box}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none;padding-left:0}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 1.25em 1.25em 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-right:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-right:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-right:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-right:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-right:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-bottom:1em;margin-top:.5em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;max-width:100%;width:auto}.wp-block-latest-posts__featured-image.alignleft{float:left;margin-right:1em}.wp-block-latest-posts__featured-image.alignright{float:right;margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center} \ No newline at end of file diff --git a/wp-includes/blocks/list/style-rtl.css b/wp-includes/blocks/list/style-rtl.css new file mode 100644 index 0000000000..aef9754350 --- /dev/null +++ b/wp-includes/blocks/list/style-rtl.css @@ -0,0 +1,6 @@ +ol,ul{ + box-sizing:border-box; +} +ol.has-background,ul.has-background{ + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/list/style-rtl.min.css b/wp-includes/blocks/list/style-rtl.min.css new file mode 100644 index 0000000000..d840bee9c9 --- /dev/null +++ b/wp-includes/blocks/list/style-rtl.min.css @@ -0,0 +1 @@ +ol,ul{box-sizing:border-box}ol.has-background,ul.has-background{padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/list/style.css b/wp-includes/blocks/list/style.css new file mode 100644 index 0000000000..aef9754350 --- /dev/null +++ b/wp-includes/blocks/list/style.css @@ -0,0 +1,6 @@ +ol,ul{ + box-sizing:border-box; +} +ol.has-background,ul.has-background{ + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/list/style.min.css b/wp-includes/blocks/list/style.min.css new file mode 100644 index 0000000000..d840bee9c9 --- /dev/null +++ b/wp-includes/blocks/list/style.min.css @@ -0,0 +1 @@ +ol,ul{box-sizing:border-box}ol.has-background,ul.has-background{padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/media-text/editor-rtl.css b/wp-includes/blocks/media-text/editor-rtl.css new file mode 100644 index 0000000000..de69c8bc7e --- /dev/null +++ b/wp-includes/blocks/media-text/editor-rtl.css @@ -0,0 +1,30 @@ +.wp-block-media-text__media{ + position:relative; +} +.wp-block-media-text__media.is-transient img{ + opacity:.3; +} +.wp-block-media-text__media .components-spinner{ + margin-right:-9px; + margin-top:-9px; + position:absolute; + right:50%; + top:50%; +} + +.wp-block-media-text .__resizable_base__{ + grid-column:1 / span 2; + grid-row:2; +} + +.wp-block-media-text .editor-media-container__resizer{ + width:100% !important; +} + +.wp-block-media-text.is-image-fill .editor-media-container__resizer{ + height:100% !important; +} + +.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{ + max-width:unset; +} \ No newline at end of file diff --git a/wp-includes/blocks/media-text/editor-rtl.min.css b/wp-includes/blocks/media-text/editor-rtl.min.css new file mode 100644 index 0000000000..2532ed3403 --- /dev/null +++ b/wp-includes/blocks/media-text/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-media-text__media{position:relative}.wp-block-media-text__media.is-transient img{opacity:.3}.wp-block-media-text__media .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset} \ No newline at end of file diff --git a/wp-includes/blocks/media-text/editor.css b/wp-includes/blocks/media-text/editor.css new file mode 100644 index 0000000000..5cf1785c5f --- /dev/null +++ b/wp-includes/blocks/media-text/editor.css @@ -0,0 +1,30 @@ +.wp-block-media-text__media{ + position:relative; +} +.wp-block-media-text__media.is-transient img{ + opacity:.3; +} +.wp-block-media-text__media .components-spinner{ + left:50%; + margin-left:-9px; + margin-top:-9px; + position:absolute; + top:50%; +} + +.wp-block-media-text .__resizable_base__{ + grid-column:1 / span 2; + grid-row:2; +} + +.wp-block-media-text .editor-media-container__resizer{ + width:100% !important; +} + +.wp-block-media-text.is-image-fill .editor-media-container__resizer{ + height:100% !important; +} + +.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{ + max-width:unset; +} \ No newline at end of file diff --git a/wp-includes/blocks/media-text/editor.min.css b/wp-includes/blocks/media-text/editor.min.css new file mode 100644 index 0000000000..743ac031a0 --- /dev/null +++ b/wp-includes/blocks/media-text/editor.min.css @@ -0,0 +1 @@ +.wp-block-media-text__media{position:relative}.wp-block-media-text__media.is-transient img{opacity:.3}.wp-block-media-text__media .components-spinner{left:50%;margin-left:-9px;margin-top:-9px;position:absolute;top:50%}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset} \ No newline at end of file diff --git a/wp-includes/blocks/media-text/style-rtl.css b/wp-includes/blocks/media-text/style-rtl.css new file mode 100644 index 0000000000..d9bf156983 --- /dev/null +++ b/wp-includes/blocks/media-text/style-rtl.css @@ -0,0 +1,88 @@ +.wp-block-media-text{ + box-sizing:border-box; + direction:ltr; + display:grid; + grid-template-columns:50% 1fr; + grid-template-rows:auto; +} +.wp-block-media-text.has-media-on-the-right{ + grid-template-columns:1fr 50%; +} + +.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{ + align-self:start; +} + +.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media{ + align-self:center; +} + +.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{ + align-self:end; +} + +.wp-block-media-text .wp-block-media-text__media{ + grid-column:1; + grid-row:1; + margin:0; +} + +.wp-block-media-text .wp-block-media-text__content{ + direction:rtl; + grid-column:2; + grid-row:1; + padding:0 8%; + word-break:break-word; +} + +.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{ + grid-column:2; + grid-row:1; +} + +.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{ + grid-column:1; + grid-row:1; +} + +.wp-block-media-text__media img,.wp-block-media-text__media video{ + height:auto; + max-width:unset; + vertical-align:middle; + width:100%; +} + +.wp-block-media-text.is-image-fill .wp-block-media-text__media{ + background-size:cover; + height:100%; + min-height:250px; +} + +.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{ + display:block; + height:100%; +} + +.wp-block-media-text.is-image-fill .wp-block-media-text__media img{ + clip:rect(0, 0, 0, 0); + border:0; + height:1px; + margin:-1px; + overflow:hidden; + padding:0; + position:absolute; + width:1px; +} +@media (max-width:600px){ + .wp-block-media-text.is-stacked-on-mobile{ + grid-template-columns:100% !important; + } + .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{ + grid-column:1; + grid-row:1; + } + .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{ + grid-column:1; + grid-row:2; + } +} \ No newline at end of file diff --git a/wp-includes/blocks/media-text/style-rtl.min.css b/wp-includes/blocks/media-text/style-rtl.min.css new file mode 100644 index 0000000000..3e8440ffba --- /dev/null +++ b/wp-includes/blocks/media-text/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-media-text{box-sizing:border-box;direction:ltr;display:grid;grid-template-columns:50% 1fr;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{align-self:start}.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media{align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{align-self:end}.wp-block-media-text .wp-block-media-text__media{grid-column:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;grid-column:2;grid-row:1;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{grid-column:2;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{grid-column:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;vertical-align:middle;width:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media{background-size:cover;height:100%;min-height:250px}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}} \ No newline at end of file diff --git a/wp-includes/blocks/media-text/style.css b/wp-includes/blocks/media-text/style.css new file mode 100644 index 0000000000..199d4da543 --- /dev/null +++ b/wp-includes/blocks/media-text/style.css @@ -0,0 +1,88 @@ +.wp-block-media-text{ + box-sizing:border-box; + direction:ltr; + display:grid; + grid-template-columns:50% 1fr; + grid-template-rows:auto; +} +.wp-block-media-text.has-media-on-the-right{ + grid-template-columns:1fr 50%; +} + +.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{ + align-self:start; +} + +.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media{ + align-self:center; +} + +.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{ + align-self:end; +} + +.wp-block-media-text .wp-block-media-text__media{ + grid-column:1; + grid-row:1; + margin:0; +} + +.wp-block-media-text .wp-block-media-text__content{ + direction:ltr; + grid-column:2; + grid-row:1; + padding:0 8%; + word-break:break-word; +} + +.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{ + grid-column:2; + grid-row:1; +} + +.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{ + grid-column:1; + grid-row:1; +} + +.wp-block-media-text__media img,.wp-block-media-text__media video{ + height:auto; + max-width:unset; + vertical-align:middle; + width:100%; +} + +.wp-block-media-text.is-image-fill .wp-block-media-text__media{ + background-size:cover; + height:100%; + min-height:250px; +} + +.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{ + display:block; + height:100%; +} + +.wp-block-media-text.is-image-fill .wp-block-media-text__media img{ + clip:rect(0, 0, 0, 0); + border:0; + height:1px; + margin:-1px; + overflow:hidden; + padding:0; + position:absolute; + width:1px; +} +@media (max-width:600px){ + .wp-block-media-text.is-stacked-on-mobile{ + grid-template-columns:100% !important; + } + .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{ + grid-column:1; + grid-row:1; + } + .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{ + grid-column:1; + grid-row:2; + } +} \ No newline at end of file diff --git a/wp-includes/blocks/media-text/style.min.css b/wp-includes/blocks/media-text/style.min.css new file mode 100644 index 0000000000..88094d334c --- /dev/null +++ b/wp-includes/blocks/media-text/style.min.css @@ -0,0 +1,11 @@ +.wp-block-media-text{box-sizing:border-box; + /*!rtl:begin:ignore*/direction:ltr; + /*!rtl:end:ignore*/display:grid;grid-template-columns:50% 1fr;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{align-self:start}.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media{align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{align-self:end}.wp-block-media-text .wp-block-media-text__media{ + /*!rtl:begin:ignore*/grid-column:1;grid-row:1; + /*!rtl:end:ignore*/margin:0}.wp-block-media-text .wp-block-media-text__content{direction:ltr; + /*!rtl:begin:ignore*/grid-column:2;grid-row:1; + /*!rtl:end:ignore*/padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{ + /*!rtl:begin:ignore*/grid-column:2;grid-row:1 + /*!rtl:end:ignore*/}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{ + /*!rtl:begin:ignore*/grid-column:1;grid-row:1 + /*!rtl:end:ignore*/}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;vertical-align:middle;width:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media{background-size:cover;height:100%;min-height:250px}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}} \ No newline at end of file diff --git a/wp-includes/blocks/more/editor-rtl.css b/wp-includes/blocks/more/editor-rtl.css new file mode 100644 index 0000000000..81da913d22 --- /dev/null +++ b/wp-includes/blocks/more/editor-rtl.css @@ -0,0 +1,41 @@ +.block-editor-block-list__block[data-type="core/more"]{ + margin-bottom:28px; + margin-top:28px; + max-width:100%; + text-align:center; +} + +.wp-block-more{ + display:block; + text-align:center; + white-space:nowrap; +} +.wp-block-more input[type=text]{ + background:#fff; + border:none; + border-radius:4px; + box-shadow:none; + color:#757575; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + font-weight:600; + height:24px; + margin:0; + max-width:100%; + padding:6px 8px; + position:relative; + text-align:center; + text-transform:uppercase; + white-space:nowrap; +} +.wp-block-more input[type=text]:focus{ + box-shadow:none; +} +.wp-block-more:before{ + border-top:3px dashed #ccc; + content:""; + left:0; + position:absolute; + right:0; + top:50%; +} \ No newline at end of file diff --git a/wp-includes/blocks/more/editor-rtl.min.css b/wp-includes/blocks/more/editor-rtl.min.css new file mode 100644 index 0000000000..3b15fbab3a --- /dev/null +++ b/wp-includes/blocks/more/editor-rtl.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/more"]{margin-bottom:28px;margin-top:28px;max-width:100%;text-align:center}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{background:#fff;border:none;border-radius:4px;box-shadow:none;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;height:24px;margin:0;max-width:100%;padding:6px 8px;position:relative;text-align:center;text-transform:uppercase;white-space:nowrap}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{border-top:3px dashed #ccc;content:"";left:0;position:absolute;right:0;top:50%} \ No newline at end of file diff --git a/wp-includes/blocks/more/editor.css b/wp-includes/blocks/more/editor.css new file mode 100644 index 0000000000..81da913d22 --- /dev/null +++ b/wp-includes/blocks/more/editor.css @@ -0,0 +1,41 @@ +.block-editor-block-list__block[data-type="core/more"]{ + margin-bottom:28px; + margin-top:28px; + max-width:100%; + text-align:center; +} + +.wp-block-more{ + display:block; + text-align:center; + white-space:nowrap; +} +.wp-block-more input[type=text]{ + background:#fff; + border:none; + border-radius:4px; + box-shadow:none; + color:#757575; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + font-weight:600; + height:24px; + margin:0; + max-width:100%; + padding:6px 8px; + position:relative; + text-align:center; + text-transform:uppercase; + white-space:nowrap; +} +.wp-block-more input[type=text]:focus{ + box-shadow:none; +} +.wp-block-more:before{ + border-top:3px dashed #ccc; + content:""; + left:0; + position:absolute; + right:0; + top:50%; +} \ No newline at end of file diff --git a/wp-includes/blocks/more/editor.min.css b/wp-includes/blocks/more/editor.min.css new file mode 100644 index 0000000000..3b15fbab3a --- /dev/null +++ b/wp-includes/blocks/more/editor.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/more"]{margin-bottom:28px;margin-top:28px;max-width:100%;text-align:center}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{background:#fff;border:none;border-radius:4px;box-shadow:none;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;height:24px;margin:0;max-width:100%;padding:6px 8px;position:relative;text-align:center;text-transform:uppercase;white-space:nowrap}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{border-top:3px dashed #ccc;content:"";left:0;position:absolute;right:0;top:50%} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-link/editor-rtl.css b/wp-includes/blocks/navigation-link/editor-rtl.css new file mode 100644 index 0000000000..55dc3f568b --- /dev/null +++ b/wp-includes/blocks/navigation-link/editor-rtl.css @@ -0,0 +1,86 @@ +.wp-block-navigation .block-list-appender{ + position:relative; +} +.wp-block-navigation .has-child{ + cursor:pointer; +} +.wp-block-navigation .has-child .wp-block-navigation__submenu-container{ + z-index:28; +} +.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{ + z-index:29; +} +.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{ + height:auto !important; + min-width:200px !important; + opacity:1 !important; + overflow:visible !important; + visibility:visible !important; + width:auto !important; +} +.wp-block-navigation-item .wp-block-navigation-item__content{ + cursor:text; +} +.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{ + min-width:20px; +} +.wp-block-navigation-item .block-list-appender{ + margin:16px 16px 16px auto; +} + +.wp-block-navigation-link__invalid-item{ + color:#000; +} + +.wp-block-navigation-link__missing_text-tooltip{ + height:1px; + margin:-1px; + overflow:hidden; + padding:0; + position:absolute; + width:1px; +} +.wp-block-navigation-link__placeholder{ + background-image:none !important; + box-shadow:none !important; + position:relative; + text-decoration:none !important; +} +.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{ + --wp-underline-color:var(--wp-admin-theme-color); + background-image:linear-gradient(-45deg, transparent 20%, var(--wp-underline-color) 30%, var(--wp-underline-color) 36%, transparent 46%), linear-gradient(-135deg, transparent 54%, var(--wp-underline-color) 64%, var(--wp-underline-color) 70%, transparent 80%); + background-position:100% 100%; + background-repeat:repeat-x; + background-size:6px 3px; + padding-bottom:.1em; +} +.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{ + --wp-underline-color:#fff; +} +.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{ + cursor:pointer; +} +.link-control-transform{ + border-top:1px solid #ccc; + padding:0 16px 8px; +} + +.link-control-transform__subheading{ + color:#1e1e1e; + font-size:11px; + font-weight:500; + margin-bottom:1.5em; + text-transform:uppercase; +} + +.link-control-transform__items{ + display:flex; + justify-content:space-between; +} + +.link-control-transform__item{ + flex-basis:33%; + flex-direction:column; + gap:8px; + height:auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-link/editor-rtl.min.css b/wp-includes/blocks/navigation-link/editor-rtl.min.css new file mode 100644 index 0000000000..28cd4d0b48 --- /dev/null +++ b/wp-includes/blocks/navigation-link/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-navigation .block-list-appender{position:relative}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{height:auto!important;min-width:200px!important;opacity:1!important;overflow:visible!important;visibility:visible!important;width:auto!important}.wp-block-navigation-item .wp-block-navigation-item__content{cursor:text}.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{min-width:20px}.wp-block-navigation-item .block-list-appender{margin:16px 16px 16px auto}.wp-block-navigation-link__invalid-item{color:#000}.wp-block-navigation-link__missing_text-tooltip{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-navigation-link__placeholder{background-image:none!important;box-shadow:none!important;position:relative;text-decoration:none!important}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:var(--wp-admin-theme-color);background-image:linear-gradient(-45deg,transparent 20%,var(--wp-underline-color) 30%,var(--wp-underline-color) 36%,transparent 46%),linear-gradient(-135deg,transparent 54%,var(--wp-underline-color) 64%,var(--wp-underline-color) 70%,transparent 80%);background-position:100% 100%;background-repeat:repeat-x;background-size:6px 3px;padding-bottom:.1em}.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:#fff}.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{cursor:pointer}.link-control-transform{border-top:1px solid #ccc;padding:0 16px 8px}.link-control-transform__subheading{color:#1e1e1e;font-size:11px;font-weight:500;margin-bottom:1.5em;text-transform:uppercase}.link-control-transform__items{display:flex;justify-content:space-between}.link-control-transform__item{flex-basis:33%;flex-direction:column;gap:8px;height:auto} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-link/editor.css b/wp-includes/blocks/navigation-link/editor.css new file mode 100644 index 0000000000..05caa52163 --- /dev/null +++ b/wp-includes/blocks/navigation-link/editor.css @@ -0,0 +1,86 @@ +.wp-block-navigation .block-list-appender{ + position:relative; +} +.wp-block-navigation .has-child{ + cursor:pointer; +} +.wp-block-navigation .has-child .wp-block-navigation__submenu-container{ + z-index:28; +} +.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{ + z-index:29; +} +.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{ + height:auto !important; + min-width:200px !important; + opacity:1 !important; + overflow:visible !important; + visibility:visible !important; + width:auto !important; +} +.wp-block-navigation-item .wp-block-navigation-item__content{ + cursor:text; +} +.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{ + min-width:20px; +} +.wp-block-navigation-item .block-list-appender{ + margin:16px auto 16px 16px; +} + +.wp-block-navigation-link__invalid-item{ + color:#000; +} + +.wp-block-navigation-link__missing_text-tooltip{ + height:1px; + margin:-1px; + overflow:hidden; + padding:0; + position:absolute; + width:1px; +} +.wp-block-navigation-link__placeholder{ + background-image:none !important; + box-shadow:none !important; + position:relative; + text-decoration:none !important; +} +.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{ + --wp-underline-color:var(--wp-admin-theme-color); + background-image:linear-gradient(45deg, transparent 20%, var(--wp-underline-color) 30%, var(--wp-underline-color) 36%, transparent 46%), linear-gradient(135deg, transparent 54%, var(--wp-underline-color) 64%, var(--wp-underline-color) 70%, transparent 80%); + background-position:0 100%; + background-repeat:repeat-x; + background-size:6px 3px; + padding-bottom:.1em; +} +.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{ + --wp-underline-color:#fff; +} +.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{ + cursor:pointer; +} +.link-control-transform{ + border-top:1px solid #ccc; + padding:0 16px 8px; +} + +.link-control-transform__subheading{ + color:#1e1e1e; + font-size:11px; + font-weight:500; + margin-bottom:1.5em; + text-transform:uppercase; +} + +.link-control-transform__items{ + display:flex; + justify-content:space-between; +} + +.link-control-transform__item{ + flex-basis:33%; + flex-direction:column; + gap:8px; + height:auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-link/editor.min.css b/wp-includes/blocks/navigation-link/editor.min.css new file mode 100644 index 0000000000..bbc6599a02 --- /dev/null +++ b/wp-includes/blocks/navigation-link/editor.min.css @@ -0,0 +1 @@ +.wp-block-navigation .block-list-appender{position:relative}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{height:auto!important;min-width:200px!important;opacity:1!important;overflow:visible!important;visibility:visible!important;width:auto!important}.wp-block-navigation-item .wp-block-navigation-item__content{cursor:text}.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{min-width:20px}.wp-block-navigation-item .block-list-appender{margin:16px auto 16px 16px}.wp-block-navigation-link__invalid-item{color:#000}.wp-block-navigation-link__missing_text-tooltip{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-navigation-link__placeholder{background-image:none!important;box-shadow:none!important;position:relative;text-decoration:none!important}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:var(--wp-admin-theme-color);background-image:linear-gradient(45deg,transparent 20%,var(--wp-underline-color) 30%,var(--wp-underline-color) 36%,transparent 46%),linear-gradient(135deg,transparent 54%,var(--wp-underline-color) 64%,var(--wp-underline-color) 70%,transparent 80%);background-position:0 100%;background-repeat:repeat-x;background-size:6px 3px;padding-bottom:.1em}.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{--wp-underline-color:#fff}.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{cursor:pointer}.link-control-transform{border-top:1px solid #ccc;padding:0 16px 8px}.link-control-transform__subheading{color:#1e1e1e;font-size:11px;font-weight:500;margin-bottom:1.5em;text-transform:uppercase}.link-control-transform__items{display:flex;justify-content:space-between}.link-control-transform__item{flex-basis:33%;flex-direction:column;gap:8px;height:auto} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-link/style-rtl.css b/wp-includes/blocks/navigation-link/style-rtl.css new file mode 100644 index 0000000000..3957c0c273 --- /dev/null +++ b/wp-includes/blocks/navigation-link/style-rtl.css @@ -0,0 +1,7 @@ +.wp-block-navigation .wp-block-navigation-item__label{ + overflow-wrap:break-word; + word-break:normal; +} +.wp-block-navigation .wp-block-navigation-item__description{ + display:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-link/style-rtl.min.css b/wp-includes/blocks/navigation-link/style-rtl.min.css new file mode 100644 index 0000000000..496504a7d1 --- /dev/null +++ b/wp-includes/blocks/navigation-link/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-navigation .wp-block-navigation-item__label{overflow-wrap:break-word;word-break:normal}.wp-block-navigation .wp-block-navigation-item__description{display:none} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-link/style.css b/wp-includes/blocks/navigation-link/style.css new file mode 100644 index 0000000000..3957c0c273 --- /dev/null +++ b/wp-includes/blocks/navigation-link/style.css @@ -0,0 +1,7 @@ +.wp-block-navigation .wp-block-navigation-item__label{ + overflow-wrap:break-word; + word-break:normal; +} +.wp-block-navigation .wp-block-navigation-item__description{ + display:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-link/style.min.css b/wp-includes/blocks/navigation-link/style.min.css new file mode 100644 index 0000000000..496504a7d1 --- /dev/null +++ b/wp-includes/blocks/navigation-link/style.min.css @@ -0,0 +1 @@ +.wp-block-navigation .wp-block-navigation-item__label{overflow-wrap:break-word;word-break:normal}.wp-block-navigation .wp-block-navigation-item__description{display:none} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-submenu/editor-rtl.css b/wp-includes/blocks/navigation-submenu/editor-rtl.css new file mode 100644 index 0000000000..e13b9ba8e4 --- /dev/null +++ b/wp-includes/blocks/navigation-submenu/editor-rtl.css @@ -0,0 +1,31 @@ +.wp-block-navigation-submenu{ + display:block; +} +.wp-block-navigation-submenu .wp-block-navigation__submenu-container{ + z-index:28; +} +.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{ + height:auto !important; + min-width:200px !important; + opacity:1 !important; + position:absolute; + right:-1px; + top:100%; + visibility:visible !important; + width:auto !important; +} +@media (min-width:782px){ + .wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + right:100%; + top:-1px; + } + .wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{ + background:transparent; + content:""; + display:block; + height:100%; + left:100%; + position:absolute; + width:.5em; + } +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-submenu/editor-rtl.min.css b/wp-includes/blocks/navigation-submenu/editor-rtl.min.css new file mode 100644 index 0000000000..85f8d79648 --- /dev/null +++ b/wp-includes/blocks/navigation-submenu/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-navigation-submenu{display:block}.wp-block-navigation-submenu .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{height:auto!important;min-width:200px!important;opacity:1!important;position:absolute;right:-1px;top:100%;visibility:visible!important;width:auto!important}@media (min-width:782px){.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;left:100%;position:absolute;width:.5em}} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-submenu/editor.css b/wp-includes/blocks/navigation-submenu/editor.css new file mode 100644 index 0000000000..866c2d3c43 --- /dev/null +++ b/wp-includes/blocks/navigation-submenu/editor.css @@ -0,0 +1,31 @@ +.wp-block-navigation-submenu{ + display:block; +} +.wp-block-navigation-submenu .wp-block-navigation__submenu-container{ + z-index:28; +} +.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{ + height:auto !important; + left:-1px; + min-width:200px !important; + opacity:1 !important; + position:absolute; + top:100%; + visibility:visible !important; + width:auto !important; +} +@media (min-width:782px){ + .wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + left:100%; + top:-1px; + } + .wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{ + background:transparent; + content:""; + display:block; + height:100%; + position:absolute; + right:100%; + width:.5em; + } +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation-submenu/editor.min.css b/wp-includes/blocks/navigation-submenu/editor.min.css new file mode 100644 index 0000000000..e55a4d8559 --- /dev/null +++ b/wp-includes/blocks/navigation-submenu/editor.min.css @@ -0,0 +1 @@ +.wp-block-navigation-submenu{display:block}.wp-block-navigation-submenu .wp-block-navigation__submenu-container{z-index:28}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{height:auto!important;left:-1px;min-width:200px!important;opacity:1!important;position:absolute;top:100%;visibility:visible!important;width:auto!important}@media (min-width:782px){.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;position:absolute;right:100%;width:.5em}} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/editor-rtl.css b/wp-includes/blocks/navigation/editor-rtl.css new file mode 100644 index 0000000000..b3b30b785d --- /dev/null +++ b/wp-includes/blocks/navigation/editor-rtl.css @@ -0,0 +1,452 @@ +.editor-styles-wrapper .wp-block-navigation ul{ + margin-bottom:0; + margin-right:0; + margin-top:0; + padding-right:0; +} +.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{ + margin:revert; +} + +.wp-block-navigation-item__label{ + display:inline; +} +.wp-block-navigation-item,.wp-block-navigation__container{ + background-color:inherit; +} + +.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{ + opacity:0; + visibility:hidden; +} + +.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{ + display:flex; + opacity:1; + visibility:visible; +} + +.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{ + opacity:1; + visibility:visible; +} + +.is-editing>.wp-block-navigation__container{ + display:flex; + flex-direction:column; + opacity:1; + visibility:visible; +} + +.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{ + opacity:1; + visibility:hidden; +} +.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{ + visibility:visible; +} + +.is-editing>.wp-block-navigation__submenu-container>.block-list-appender{ + display:block; + position:static; + width:100%; +} +.is-editing>.wp-block-navigation__submenu-container>.block-list-appender .block-editor-button-block-appender{ + background:#1e1e1e; + border-radius:2px; + color:#fff; + margin-left:0; + margin-right:auto; + padding:0; + width:24px; +} + +.wp-block-navigation__submenu-container .block-list-appender{ + display:none; +} +.block-library-colors-selector{ + width:auto; +} +.block-library-colors-selector .block-library-colors-selector__toggle{ + display:block; + margin:0 auto; + padding:3px; + width:auto; +} +.block-library-colors-selector .block-library-colors-selector__icon-container{ + align-items:center; + border-radius:4px; + display:flex; + height:30px; + margin:0 auto; + padding:3px; + position:relative; +} +.block-library-colors-selector .block-library-colors-selector__state-selection{ + border-radius:11px; + box-shadow:inset 0 0 0 1px rgba(0,0,0,.2); + height:22px; + line-height:20px; + margin-left:auto; + margin-right:auto; + min-height:22px; + min-width:22px; + padding:2px; + width:22px; +} +.block-library-colors-selector .block-library-colors-selector__state-selection>svg{ + min-width:auto !important; +} +.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{ + color:inherit; +} + +.block-library-colors-selector__popover .color-palette-controller-container{ + padding:16px; +} +.block-library-colors-selector__popover .components-base-control__label{ + height:20px; + line-height:20px; +} +.block-library-colors-selector__popover .component-color-indicator{ + float:left; + margin-top:2px; +} +.block-library-colors-selector__popover .components-panel__body-title{ + display:none; +} + +.wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender{ + background-color:#1e1e1e; + color:#fff; +} +.wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender{ + padding:0; +} + +.wp-block-navigation .wp-block .wp-block .block-editor-button-block-appender{ + background-color:initial; + color:#1e1e1e; +} +@keyframes loadingpulse{ + 0%{ + opacity:1; + } + 50%{ + opacity:.5; + } + to{ + opacity:1; + } +} +.components-placeholder.wp-block-navigation-placeholder{ + background:none; + box-shadow:none; + color:inherit; + min-height:0; + outline:none; + padding:0; +} +.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{ + font-size:inherit; +} +.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{ + margin-bottom:0; +} +.wp-block-navigation.is-selected .components-placeholder.wp-block-navigation-placeholder{ + color:#1e1e1e; +} + +.wp-block-navigation-placeholder__preview{ + align-items:center; + background:transparent; + color:currentColor; + display:flex; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + min-width:96px; +} +.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{ + display:none; +} +.wp-block-navigation-placeholder__preview:before{ + border:1px dashed; + border-radius:2px; + border-radius:inherit; + bottom:0; + content:""; + display:block; + left:0; + pointer-events:none; + position:absolute; + right:0; + top:0; +} +.wp-block-navigation-placeholder__preview:before:before{ + background:currentColor; + bottom:0; + content:""; + left:0; + opacity:.1; + pointer-events:none; + position:absolute; + right:0; + top:0; +} +.wp-block-navigation-placeholder__preview>svg{ + fill:currentColor; +} + +.wp-block-navigation.is-vertical .is-medium .components-placeholder__fieldset,.wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset{ + min-height:90px; +} + +.wp-block-navigation.is-vertical .is-large .components-placeholder__fieldset{ + min-height:132px; +} + +.wp-block-navigation-placeholder__controls,.wp-block-navigation-placeholder__preview{ + align-items:flex-start; + flex-direction:row; + padding:6px 8px; +} + +.wp-block-navigation-placeholder__controls{ + background-color:#fff; + border-radius:2px; + box-shadow:inset 0 0 0 1px #1e1e1e; + display:none; + float:right; + position:relative; + width:100%; + z-index:1; +} +.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{ + display:flex; +} +.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr{ + display:none; +} +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{ + align-items:flex-start; + flex-direction:column; +} +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{ + display:none; +} +.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{ + height:36px; + margin-left:12px; +} + +.wp-block-navigation-placeholder__actions__indicator{ + align-items:center; + display:flex; + height:36px; + justify-content:flex-start; + line-height:0; + margin-right:4px; + padding:0 0 0 6px; +} +.wp-block-navigation-placeholder__actions__indicator svg{ + fill:currentColor; + margin-left:4px; +} + +.wp-block-navigation .components-placeholder.is-medium .components-placeholder__fieldset{ + flex-direction:row !important; +} + +.wp-block-navigation-placeholder__actions{ + align-items:center; + display:flex; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + gap:6px; + height:100%; +} +.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{ + margin-left:0; +} +.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{ + background-color:#1e1e1e; + border:0; + height:100%; + margin:auto 0; + max-height:16px; + min-height:1px; + min-width:1px; +} +@media (min-width:600px){ + .wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{ + display:none; + } +} + +.wp-block-navigation__responsive-container.is-menu-open{ + position:fixed; + top:155px; +} +@media (min-width:782px){ + .wp-block-navigation__responsive-container.is-menu-open{ + right:36px; + top:93px; + } +} +@media (min-width:960px){ + .wp-block-navigation__responsive-container.is-menu-open{ + right:160px; + } +} + +@media (min-width:782px){ + .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{ + top:141px; + } +} + +.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{ + top:141px; +} + +.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{ + left:280px; +} + +.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{ + right:0; + top:155px; +} +@media (min-width:782px){ + .is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{ + top:61px; + } + .is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{ + top:109px; + } +} +.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{ + top:109px; +} + +body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{ + bottom:0; + left:0; + right:0; + top:0; +} + +@media (min-width:600px){ + .wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container{ + pointer-events:none; + } + .wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container .block-editor-block-list__layout *,.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-close{ + pointer-events:all; + } +} +.wp-block-navigation__responsive-close .wp-block-pages-list__item__link,.wp-block-navigation__responsive-container .wp-block-pages-list__item__link{ + pointer-events:none; +} + +.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{ + color:inherit; + height:auto; + padding:0; +} + +.components-heading.wp-block-navigation-off-canvas-editor__title{ + margin:0; +} + +.wp-block-navigation-off-canvas-editor__header{ + margin-bottom:8px; +} + +.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{ + margin-top:16px; +} + +@keyframes fadein{ + 0%{ + opacity:0; + } + to{ + opacity:1; + } +} +.wp-block-navigation__loading-indicator-container{ + padding:8px 12px; +} + +.wp-block-navigation .wp-block-navigation__uncontrolled-inner-blocks-loading-indicator{ + margin-top:0; +} + +@keyframes fadeouthalf{ + 0%{ + opacity:1; + } + to{ + opacity:.5; + } +} +.wp-block-navigation-delete-menu-button{ + justify-content:center; + margin-bottom:16px; + width:100%; +} + +.components-button.is-link.wp-block-navigation-manage-menus-button{ + margin-bottom:16px; +} + +.wp-block-navigation__overlay-menu-preview{ + align-items:center; + background-color:#f0f0f0; + display:flex; + height:64px; + justify-content:space-between; + margin-bottom:12px; + padding:0 24px; + width:100%; +} +.wp-block-navigation__overlay-menu-preview.open{ + background-color:#fff; + box-shadow:inset 0 0 0 1px #e0e0e0; + outline:1px solid transparent; +} + +.wp-block-navigation-placeholder__actions hr+hr,.wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty{ + display:none; +} +.wp-block-navigation__navigation-selector{ + margin-bottom:16px; + width:100%; +} + +.wp-block-navigation__navigation-selector-button{ + border:1px solid; + justify-content:space-between; + width:100%; +} + +.wp-block-navigation__navigation-selector-button__icon{ + flex:0 0 auto; +} + +.wp-block-navigation__navigation-selector-button__label{ + flex:0 1 auto; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; +} + +.wp-block-navigation__navigation-selector-button--createnew{ + border:1px solid; + margin-bottom:16px; + width:100%; +} + +.wp-block-navigation__responsive-container-open.components-button{ + opacity:1; +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/editor-rtl.min.css b/wp-includes/blocks/navigation/editor-rtl.min.css new file mode 100644 index 0000000000..1d7a5e60e1 --- /dev/null +++ b/wp-includes/blocks/navigation/editor-rtl.min.css @@ -0,0 +1 @@ +.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-right:0;margin-top:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{display:flex;flex-direction:column;opacity:1;visibility:visible}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.is-editing>.wp-block-navigation__submenu-container>.block-list-appender{display:block;position:static;width:100%}.is-editing>.wp-block-navigation__submenu-container>.block-list-appender .block-editor-button-block-appender{background:#1e1e1e;border-radius:2px;color:#fff;margin-left:0;margin-right:auto;padding:0;width:24px}.wp-block-navigation__submenu-container .block-list-appender{display:none}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{align-items:center;border-radius:4px;display:flex;height:30px;margin:0 auto;padding:3px;position:relative}.block-library-colors-selector .block-library-colors-selector__state-selection{border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);height:22px;line-height:20px;margin-left:auto;margin-right:auto;min-height:22px;min-width:22px;padding:2px;width:22px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender{background-color:#1e1e1e;color:#fff}.wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender{padding:0}.wp-block-navigation .wp-block .wp-block .block-editor-button-block-appender{background-color:initial;color:#1e1e1e}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.components-placeholder.wp-block-navigation-placeholder{background:none;box-shadow:none;color:inherit;min-height:0;outline:none;padding:0}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.wp-block-navigation.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder__preview{align-items:center;background:transparent;color:currentColor;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;min-width:96px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{display:none}.wp-block-navigation-placeholder__preview:before{border:1px dashed;border-radius:2px;border-radius:inherit;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0}.wp-block-navigation-placeholder__preview:before:before{background:currentColor;bottom:0;content:"";left:0;opacity:.1;pointer-events:none;position:absolute;right:0;top:0}.wp-block-navigation-placeholder__preview>svg{fill:currentColor}.wp-block-navigation.is-vertical .is-medium .components-placeholder__fieldset,.wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset{min-height:90px}.wp-block-navigation.is-vertical .is-large .components-placeholder__fieldset{min-height:132px}.wp-block-navigation-placeholder__controls,.wp-block-navigation-placeholder__preview{align-items:flex-start;flex-direction:row;padding:6px 8px}.wp-block-navigation-placeholder__controls{background-color:#fff;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;display:none;float:right;position:relative;width:100%;z-index:1}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr{display:none}.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{align-items:flex-start;flex-direction:column}.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{height:36px;margin-left:12px}.wp-block-navigation-placeholder__actions__indicator{align-items:center;display:flex;height:36px;justify-content:flex-start;line-height:0;margin-right:4px;padding:0 0 0 6px}.wp-block-navigation-placeholder__actions__indicator svg{fill:currentColor;margin-left:4px}.wp-block-navigation .components-placeholder.is-medium .components-placeholder__fieldset{flex-direction:row!important}.wp-block-navigation-placeholder__actions{align-items:center;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;gap:6px;height:100%}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-left:0}.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{background-color:#1e1e1e;border:0;height:100%;margin:auto 0;max-height:16px;min-height:1px;min-width:1px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{right:36px;top:93px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{right:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{left:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{right:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{bottom:0;left:0;right:0;top:0}@media (min-width:600px){.wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container .block-editor-block-list__layout *,.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link,.wp-block-navigation__responsive-container .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{color:inherit;height:auto;padding:0}.components-heading.wp-block-navigation-off-canvas-editor__title{margin:0}.wp-block-navigation-off-canvas-editor__header{margin-bottom:8px}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__loading-indicator-container{padding:8px 12px}.wp-block-navigation .wp-block-navigation__uncontrolled-inner-blocks-loading-indicator{margin-top:0}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation-delete-menu-button{justify-content:center;margin-bottom:16px;width:100%}.components-button.is-link.wp-block-navigation-manage-menus-button{margin-bottom:16px}.wp-block-navigation__overlay-menu-preview{align-items:center;background-color:#f0f0f0;display:flex;height:64px;justify-content:space-between;margin-bottom:12px;padding:0 24px;width:100%}.wp-block-navigation__overlay-menu-preview.open{background-color:#fff;box-shadow:inset 0 0 0 1px #e0e0e0;outline:1px solid transparent}.wp-block-navigation-placeholder__actions hr+hr,.wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty{display:none}.wp-block-navigation__navigation-selector{margin-bottom:16px;width:100%}.wp-block-navigation__navigation-selector-button{border:1px solid;justify-content:space-between;width:100%}.wp-block-navigation__navigation-selector-button__icon{flex:0 0 auto}.wp-block-navigation__navigation-selector-button__label{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-navigation__navigation-selector-button--createnew{border:1px solid;margin-bottom:16px;width:100%}.wp-block-navigation__responsive-container-open.components-button{opacity:1} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/editor.css b/wp-includes/blocks/navigation/editor.css new file mode 100644 index 0000000000..edae8bd286 --- /dev/null +++ b/wp-includes/blocks/navigation/editor.css @@ -0,0 +1,452 @@ +.editor-styles-wrapper .wp-block-navigation ul{ + margin-bottom:0; + margin-left:0; + margin-top:0; + padding-left:0; +} +.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{ + margin:revert; +} + +.wp-block-navigation-item__label{ + display:inline; +} +.wp-block-navigation-item,.wp-block-navigation__container{ + background-color:inherit; +} + +.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{ + opacity:0; + visibility:hidden; +} + +.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{ + display:flex; + opacity:1; + visibility:visible; +} + +.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{ + opacity:1; + visibility:visible; +} + +.is-editing>.wp-block-navigation__container{ + display:flex; + flex-direction:column; + opacity:1; + visibility:visible; +} + +.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{ + opacity:1; + visibility:hidden; +} +.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{ + visibility:visible; +} + +.is-editing>.wp-block-navigation__submenu-container>.block-list-appender{ + display:block; + position:static; + width:100%; +} +.is-editing>.wp-block-navigation__submenu-container>.block-list-appender .block-editor-button-block-appender{ + background:#1e1e1e; + border-radius:2px; + color:#fff; + margin-left:auto; + margin-right:0; + padding:0; + width:24px; +} + +.wp-block-navigation__submenu-container .block-list-appender{ + display:none; +} +.block-library-colors-selector{ + width:auto; +} +.block-library-colors-selector .block-library-colors-selector__toggle{ + display:block; + margin:0 auto; + padding:3px; + width:auto; +} +.block-library-colors-selector .block-library-colors-selector__icon-container{ + align-items:center; + border-radius:4px; + display:flex; + height:30px; + margin:0 auto; + padding:3px; + position:relative; +} +.block-library-colors-selector .block-library-colors-selector__state-selection{ + border-radius:11px; + box-shadow:inset 0 0 0 1px rgba(0,0,0,.2); + height:22px; + line-height:20px; + margin-left:auto; + margin-right:auto; + min-height:22px; + min-width:22px; + padding:2px; + width:22px; +} +.block-library-colors-selector .block-library-colors-selector__state-selection>svg{ + min-width:auto !important; +} +.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{ + color:inherit; +} + +.block-library-colors-selector__popover .color-palette-controller-container{ + padding:16px; +} +.block-library-colors-selector__popover .components-base-control__label{ + height:20px; + line-height:20px; +} +.block-library-colors-selector__popover .component-color-indicator{ + float:right; + margin-top:2px; +} +.block-library-colors-selector__popover .components-panel__body-title{ + display:none; +} + +.wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender{ + background-color:#1e1e1e; + color:#fff; +} +.wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender{ + padding:0; +} + +.wp-block-navigation .wp-block .wp-block .block-editor-button-block-appender{ + background-color:initial; + color:#1e1e1e; +} +@keyframes loadingpulse{ + 0%{ + opacity:1; + } + 50%{ + opacity:.5; + } + to{ + opacity:1; + } +} +.components-placeholder.wp-block-navigation-placeholder{ + background:none; + box-shadow:none; + color:inherit; + min-height:0; + outline:none; + padding:0; +} +.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{ + font-size:inherit; +} +.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{ + margin-bottom:0; +} +.wp-block-navigation.is-selected .components-placeholder.wp-block-navigation-placeholder{ + color:#1e1e1e; +} + +.wp-block-navigation-placeholder__preview{ + align-items:center; + background:transparent; + color:currentColor; + display:flex; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + min-width:96px; +} +.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{ + display:none; +} +.wp-block-navigation-placeholder__preview:before{ + border:1px dashed; + border-radius:2px; + border-radius:inherit; + bottom:0; + content:""; + display:block; + left:0; + pointer-events:none; + position:absolute; + right:0; + top:0; +} +.wp-block-navigation-placeholder__preview:before:before{ + background:currentColor; + bottom:0; + content:""; + left:0; + opacity:.1; + pointer-events:none; + position:absolute; + right:0; + top:0; +} +.wp-block-navigation-placeholder__preview>svg{ + fill:currentColor; +} + +.wp-block-navigation.is-vertical .is-medium .components-placeholder__fieldset,.wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset{ + min-height:90px; +} + +.wp-block-navigation.is-vertical .is-large .components-placeholder__fieldset{ + min-height:132px; +} + +.wp-block-navigation-placeholder__controls,.wp-block-navigation-placeholder__preview{ + align-items:flex-start; + flex-direction:row; + padding:6px 8px; +} + +.wp-block-navigation-placeholder__controls{ + background-color:#fff; + border-radius:2px; + box-shadow:inset 0 0 0 1px #1e1e1e; + display:none; + float:left; + position:relative; + width:100%; + z-index:1; +} +.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{ + display:flex; +} +.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr{ + display:none; +} +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{ + align-items:flex-start; + flex-direction:column; +} +.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{ + display:none; +} +.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{ + height:36px; + margin-right:12px; +} + +.wp-block-navigation-placeholder__actions__indicator{ + align-items:center; + display:flex; + height:36px; + justify-content:flex-start; + line-height:0; + margin-left:4px; + padding:0 6px 0 0; +} +.wp-block-navigation-placeholder__actions__indicator svg{ + fill:currentColor; + margin-right:4px; +} + +.wp-block-navigation .components-placeholder.is-medium .components-placeholder__fieldset{ + flex-direction:row !important; +} + +.wp-block-navigation-placeholder__actions{ + align-items:center; + display:flex; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + gap:6px; + height:100%; +} +.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{ + margin-right:0; +} +.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{ + background-color:#1e1e1e; + border:0; + height:100%; + margin:auto 0; + max-height:16px; + min-height:1px; + min-width:1px; +} +@media (min-width:600px){ + .wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{ + display:none; + } +} + +.wp-block-navigation__responsive-container.is-menu-open{ + position:fixed; + top:155px; +} +@media (min-width:782px){ + .wp-block-navigation__responsive-container.is-menu-open{ + left:36px; + top:93px; + } +} +@media (min-width:960px){ + .wp-block-navigation__responsive-container.is-menu-open{ + left:160px; + } +} + +@media (min-width:782px){ + .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{ + top:141px; + } +} + +.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{ + top:141px; +} + +.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{ + right:280px; +} + +.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{ + left:0; + top:155px; +} +@media (min-width:782px){ + .is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{ + top:61px; + } + .is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{ + top:109px; + } +} +.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{ + top:109px; +} + +body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{ + bottom:0; + left:0; + right:0; + top:0; +} + +@media (min-width:600px){ + .wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container{ + pointer-events:none; + } + .wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container .block-editor-block-list__layout *,.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-close{ + pointer-events:all; + } +} +.wp-block-navigation__responsive-close .wp-block-pages-list__item__link,.wp-block-navigation__responsive-container .wp-block-pages-list__item__link{ + pointer-events:none; +} + +.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{ + color:inherit; + height:auto; + padding:0; +} + +.components-heading.wp-block-navigation-off-canvas-editor__title{ + margin:0; +} + +.wp-block-navigation-off-canvas-editor__header{ + margin-bottom:8px; +} + +.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{ + margin-top:16px; +} + +@keyframes fadein{ + 0%{ + opacity:0; + } + to{ + opacity:1; + } +} +.wp-block-navigation__loading-indicator-container{ + padding:8px 12px; +} + +.wp-block-navigation .wp-block-navigation__uncontrolled-inner-blocks-loading-indicator{ + margin-top:0; +} + +@keyframes fadeouthalf{ + 0%{ + opacity:1; + } + to{ + opacity:.5; + } +} +.wp-block-navigation-delete-menu-button{ + justify-content:center; + margin-bottom:16px; + width:100%; +} + +.components-button.is-link.wp-block-navigation-manage-menus-button{ + margin-bottom:16px; +} + +.wp-block-navigation__overlay-menu-preview{ + align-items:center; + background-color:#f0f0f0; + display:flex; + height:64px; + justify-content:space-between; + margin-bottom:12px; + padding:0 24px; + width:100%; +} +.wp-block-navigation__overlay-menu-preview.open{ + background-color:#fff; + box-shadow:inset 0 0 0 1px #e0e0e0; + outline:1px solid transparent; +} + +.wp-block-navigation-placeholder__actions hr+hr,.wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty{ + display:none; +} +.wp-block-navigation__navigation-selector{ + margin-bottom:16px; + width:100%; +} + +.wp-block-navigation__navigation-selector-button{ + border:1px solid; + justify-content:space-between; + width:100%; +} + +.wp-block-navigation__navigation-selector-button__icon{ + flex:0 0 auto; +} + +.wp-block-navigation__navigation-selector-button__label{ + flex:0 1 auto; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; +} + +.wp-block-navigation__navigation-selector-button--createnew{ + border:1px solid; + margin-bottom:16px; + width:100%; +} + +.wp-block-navigation__responsive-container-open.components-button{ + opacity:1; +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/editor.min.css b/wp-includes/blocks/navigation/editor.min.css new file mode 100644 index 0000000000..548f40c474 --- /dev/null +++ b/wp-includes/blocks/navigation/editor.min.css @@ -0,0 +1 @@ +.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-left:0;margin-top:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{margin:revert}.wp-block-navigation-item__label{display:inline}.wp-block-navigation-item,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{display:flex;flex-direction:column;opacity:1;visibility:visible}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.is-editing>.wp-block-navigation__submenu-container>.block-list-appender{display:block;position:static;width:100%}.is-editing>.wp-block-navigation__submenu-container>.block-list-appender .block-editor-button-block-appender{background:#1e1e1e;border-radius:2px;color:#fff;margin-left:auto;margin-right:0;padding:0;width:24px}.wp-block-navigation__submenu-container .block-list-appender{display:none}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{align-items:center;border-radius:4px;display:flex;height:30px;margin:0 auto;padding:3px;position:relative}.block-library-colors-selector .block-library-colors-selector__state-selection{border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);height:22px;line-height:20px;margin-left:auto;margin-right:auto;min-height:22px;min-width:22px;padding:2px;width:22px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender{background-color:#1e1e1e;color:#fff}.wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender{padding:0}.wp-block-navigation .wp-block .wp-block .block-editor-button-block-appender{background-color:initial;color:#1e1e1e}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.components-placeholder.wp-block-navigation-placeholder{background:none;box-shadow:none;color:inherit;min-height:0;outline:none;padding:0}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.wp-block-navigation.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder__preview{align-items:center;background:transparent;color:currentColor;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;min-width:96px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{display:none}.wp-block-navigation-placeholder__preview:before{border:1px dashed;border-radius:2px;border-radius:inherit;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0}.wp-block-navigation-placeholder__preview:before:before{background:currentColor;bottom:0;content:"";left:0;opacity:.1;pointer-events:none;position:absolute;right:0;top:0}.wp-block-navigation-placeholder__preview>svg{fill:currentColor}.wp-block-navigation.is-vertical .is-medium .components-placeholder__fieldset,.wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset{min-height:90px}.wp-block-navigation.is-vertical .is-large .components-placeholder__fieldset{min-height:132px}.wp-block-navigation-placeholder__controls,.wp-block-navigation-placeholder__preview{align-items:flex-start;flex-direction:row;padding:6px 8px}.wp-block-navigation-placeholder__controls{background-color:#fff;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;display:none;float:left;position:relative;width:100%;z-index:1}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr{display:none}.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{align-items:flex-start;flex-direction:column}.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{height:36px;margin-right:12px}.wp-block-navigation-placeholder__actions__indicator{align-items:center;display:flex;height:36px;justify-content:flex-start;line-height:0;margin-left:4px;padding:0 6px 0 0}.wp-block-navigation-placeholder__actions__indicator svg{fill:currentColor;margin-right:4px}.wp-block-navigation .components-placeholder.is-medium .components-placeholder__fieldset{flex-direction:row!important}.wp-block-navigation-placeholder__actions{align-items:center;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;gap:6px;height:100%}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-right:0}.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{background-color:#1e1e1e;border:0;height:100%;margin:auto 0;max-height:16px;min-height:1px;min-width:1px}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:155px}@media (min-width:782px){.wp-block-navigation__responsive-container.is-menu-open{left:36px;top:93px}}@media (min-width:960px){.wp-block-navigation__responsive-container.is-menu-open{left:160px}}@media (min-width:782px){.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:141px}}.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:141px}.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{right:280px}.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{left:0;top:155px}@media (min-width:782px){.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{top:61px}.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open{top:109px}}.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{top:109px}body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{bottom:0;left:0;right:0;top:0}@media (min-width:600px){.wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container .block-editor-block-list__layout *,.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link,.wp-block-navigation__responsive-container .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{color:inherit;height:auto;padding:0}.components-heading.wp-block-navigation-off-canvas-editor__title{margin:0}.wp-block-navigation-off-canvas-editor__header{margin-bottom:8px}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}@keyframes fadein{0%{opacity:0}to{opacity:1}}.wp-block-navigation__loading-indicator-container{padding:8px 12px}.wp-block-navigation .wp-block-navigation__uncontrolled-inner-blocks-loading-indicator{margin-top:0}@keyframes fadeouthalf{0%{opacity:1}to{opacity:.5}}.wp-block-navigation-delete-menu-button{justify-content:center;margin-bottom:16px;width:100%}.components-button.is-link.wp-block-navigation-manage-menus-button{margin-bottom:16px}.wp-block-navigation__overlay-menu-preview{align-items:center;background-color:#f0f0f0;display:flex;height:64px;justify-content:space-between;margin-bottom:12px;padding:0 24px;width:100%}.wp-block-navigation__overlay-menu-preview.open{background-color:#fff;box-shadow:inset 0 0 0 1px #e0e0e0;outline:1px solid transparent}.wp-block-navigation-placeholder__actions hr+hr,.wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty{display:none}.wp-block-navigation__navigation-selector{margin-bottom:16px;width:100%}.wp-block-navigation__navigation-selector-button{border:1px solid;justify-content:space-between;width:100%}.wp-block-navigation__navigation-selector-button__icon{flex:0 0 auto}.wp-block-navigation__navigation-selector-button__label{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-navigation__navigation-selector-button--createnew{border:1px solid;margin-bottom:16px;width:100%}.wp-block-navigation__responsive-container-open.components-button{opacity:1} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/style-rtl.css b/wp-includes/blocks/navigation/style-rtl.css new file mode 100644 index 0000000000..218592db95 --- /dev/null +++ b/wp-includes/blocks/navigation/style-rtl.css @@ -0,0 +1,452 @@ +.wp-block-navigation{ + --navigation-layout-justification-setting:flex-start; + --navigation-layout-direction:row; + --navigation-layout-wrap:wrap; + --navigation-layout-justify:flex-start; + --navigation-layout-align:center; + position:relative; +} +.wp-block-navigation ul{ + margin-bottom:0; + margin-right:0; + margin-top:0; + padding-right:0; +} +.wp-block-navigation ul,.wp-block-navigation ul li{ + list-style:none; + padding:0; +} +.wp-block-navigation .wp-block-navigation-item{ + align-items:center; + display:flex; + position:relative; +} +.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{ + display:none; +} +.wp-block-navigation .wp-block-navigation-item__content{ + display:block; +} +.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{ + color:inherit; +} +.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:focus{ + text-decoration:underline; +} +.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{ + text-decoration:line-through; +} +.wp-block-navigation:where(:not([class*=has-text-decoration])) a{ + text-decoration:none; +} +.wp-block-navigation:where(:not([class*=has-text-decoration])) a:active,.wp-block-navigation:where(:not([class*=has-text-decoration])) a:focus{ + text-decoration:none; +} +.wp-block-navigation .wp-block-navigation__submenu-icon{ + align-self:center; + background-color:inherit; + border:none; + color:currentColor; + display:inline-block; + font-size:inherit; + height:.6em; + line-height:0; + margin-right:.25em; + padding:0; + width:.6em; +} +.wp-block-navigation .wp-block-navigation__submenu-icon svg{ + stroke:currentColor; + display:inline-block; + height:inherit; + margin-top:.075em; + width:inherit; +} +.wp-block-navigation.is-vertical{ + --navigation-layout-direction:column; + --navigation-layout-justify:initial; + --navigation-layout-align:flex-start; +} +.wp-block-navigation.no-wrap{ + --navigation-layout-wrap:nowrap; +} +.wp-block-navigation.items-justified-center{ + --navigation-layout-justification-setting:center; + --navigation-layout-justify:center; +} +.wp-block-navigation.items-justified-center.is-vertical{ + --navigation-layout-align:center; +} +.wp-block-navigation.items-justified-right{ + --navigation-layout-justification-setting:flex-end; + --navigation-layout-justify:flex-end; +} +.wp-block-navigation.items-justified-right.is-vertical{ + --navigation-layout-align:flex-end; +} +.wp-block-navigation.items-justified-space-between{ + --navigation-layout-justification-setting:space-between; + --navigation-layout-justify:space-between; +} + +.wp-block-navigation .has-child .wp-block-navigation__submenu-container{ + align-items:normal; + background-color:inherit; + color:inherit; + display:flex; + flex-direction:column; + height:0; + opacity:0; + overflow:hidden; + position:absolute; + right:-1px; + top:100%; + transition:opacity .1s linear; + visibility:hidden; + width:0; + z-index:2; +} +.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content{ + display:flex; + flex-grow:1; +} +.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{ + margin-left:0; + margin-right:auto; +} +.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content{ + margin:0; +} +@media (min-width:782px){ + .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + right:100%; + top:-1px; + } + .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{ + background:transparent; + content:""; + display:block; + height:100%; + left:100%; + position:absolute; + width:.5em; + } + .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon{ + margin-left:.25em; + } + .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg{ + transform:rotate(90deg); + } +} +.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container{ + height:auto; + min-width:200px; + opacity:1; + overflow:visible; + visibility:visible; + width:auto; +} +.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container{ + height:auto; + min-width:200px; + opacity:1; + overflow:visible; + visibility:visible; + width:auto; +} +.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container{ + height:auto; + min-width:200px; + opacity:1; + overflow:visible; + visibility:visible; + width:auto; +} + +.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{ + right:0; + top:100%; +} +@media (min-width:782px){ + .wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + right:100%; + top:0; + } +} + +.wp-block-navigation-submenu{ + display:flex; + position:relative; +} +.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{ + stroke:currentColor; +} + +button.wp-block-navigation-item__content{ + background-color:initial; + border:none; + color:currentColor; + font-family:inherit; + font-size:inherit; + font-style:inherit; + font-weight:inherit; + line-height:inherit; + text-align:right; + text-transform:inherit; +} + +.wp-block-navigation-submenu__toggle{ + cursor:pointer; +} + +.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle{ + padding-left:.85em; +} +.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle+.wp-block-navigation__submenu-icon{ + margin-right:-.6em; + pointer-events:none; +} +.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container,.wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-dialog{ + gap:inherit; +} +:where(.wp-block-navigation.has-background .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation.has-background .wp-block-navigation-submenu a:not(.wp-element-button)){ + padding:.5em 1em; +} + +:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu button.wp-block-navigation-item__content),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-pages-list__item button.wp-block-navigation-item__content){ + padding:.5em 1em; +} +.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{ + left:0; + right:auto; +} +.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + left:-1px; + right:-1px; +} +@media (min-width:782px){ + .wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + left:100%; + right:auto; + } +} + +.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{ + background-color:#fff; + border:1px solid rgba(0,0,0,.15); + color:#000; +} + +.wp-block-navigation__container{ + align-items:var(--navigation-layout-align, initial); + display:flex; + flex-direction:var(--navigation-layout-direction, initial); + flex-wrap:var(--navigation-layout-wrap, wrap); + justify-content:var(--navigation-layout-justify, initial); + list-style:none; + margin:0; + padding-right:0; +} +.wp-block-navigation__container .is-responsive{ + display:none; +} + +.wp-block-navigation__container:only-child,.wp-block-page-list:only-child{ + flex-grow:1; +} +@keyframes overlay-menu__fade-in-animation{ + 0%{ + opacity:0; + transform:translateY(.5em); + } + to{ + opacity:1; + transform:translateY(0); + } +} +.wp-block-navigation__responsive-container{ + bottom:0; + display:none; + left:0; + position:fixed; + right:0; + top:0; +} +.wp-block-navigation__responsive-container .wp-block-navigation-link a{ + color:inherit; +} +.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{ + align-items:var(--navigation-layout-align, initial); + display:flex; + flex-direction:var(--navigation-layout-direction, initial); + flex-wrap:var(--navigation-layout-wrap, wrap); + justify-content:var(--navigation-layout-justify, initial); +} +.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open){ + background-color:inherit !important; + color:inherit !important; +} +.wp-block-navigation__responsive-container.is-menu-open{ + animation:overlay-menu__fade-in-animation .1s ease-out; + animation-fill-mode:forwards; + background-color:inherit; + display:flex; + flex-direction:column; + overflow:auto; + padding:var(--wp--style--root--padding-top, 2rem) var(--wp--style--root--padding-left, 2rem) var(--wp--style--root--padding-bottom, 2rem) var(--wp--style--root--padding-right, 2rem); + z-index:100000; +} +@media (prefers-reduced-motion:reduce){ + .wp-block-navigation__responsive-container.is-menu-open{ + animation-delay:0s; + animation-duration:1ms; + } +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{ + align-items:var(--navigation-layout-justification-setting, inherit); + display:flex; + flex-direction:column; + flex-wrap:nowrap; + overflow:visible; + padding-top:calc(2rem + 24px); +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{ + justify-content:flex-start; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{ + display:none; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{ + border:none; + height:auto; + min-width:200px; + opacity:1; + overflow:initial; + padding-left:2rem; + padding-right:2rem; + position:static; + visibility:visible; + width:auto; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{ + gap:inherit; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{ + padding-top:var(--wp--style--block-gap, 2em); +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{ + padding:0; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{ + align-items:var(--navigation-layout-justification-setting, initial); + display:flex; + flex-direction:column; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list{ + background:transparent !important; + color:inherit !important; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{ + left:auto; + right:auto; +} +@media (min-width:600px){ + .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){ + background-color:inherit; + display:block; + position:relative; + width:100%; + z-index:auto; + } + .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{ + display:none; + } + .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{ + right:0; + } +} + +.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{ + background-color:#fff; + color:#000; +} + +.wp-block-navigation__toggle_button_label{ + font-size:1rem; + font-weight:700; +} + +.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{ + background:transparent; + border:none; + color:currentColor; + cursor:pointer; + margin:0; + padding:0; + text-transform:inherit; + vertical-align:middle; +} +.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{ + fill:currentColor; + display:block; + height:24px; + pointer-events:none; + width:24px; +} + +.wp-block-navigation__responsive-container-open{ + display:flex; +} +.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{ + font-family:inherit; + font-size:inherit; + font-weight:inherit; +} +@media (min-width:600px){ + .wp-block-navigation__responsive-container-open:not(.always-shown){ + display:none; + } +} + +.wp-block-navigation__responsive-container-close{ + left:0; + position:absolute; + top:0; + z-index:2; +} +.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close{ + font-family:inherit; + font-size:inherit; + font-weight:inherit; +} + +.wp-block-navigation__responsive-close{ + margin-left:auto; + margin-right:auto; + max-width:var(--wp--style--global--wide-size, 100%); + width:100%; +} +.wp-block-navigation__responsive-close:focus{ + outline:none; +} + +.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{ + box-sizing:border-box; +} + +.wp-block-navigation__responsive-dialog{ + position:relative; +} + +.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{ + margin-top:46px; +} +@media (min-width:782px){ + .has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{ + margin-top:32px; + } +} + +html.has-modal-open{ + overflow:hidden; +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/style-rtl.min.css b/wp-includes/blocks/navigation/style-rtl.min.css new file mode 100644 index 0000000000..4c69e8b131 --- /dev/null +++ b/wp-includes/blocks/navigation/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-navigation{--navigation-layout-justification-setting:flex-start;--navigation-layout-direction:row;--navigation-layout-wrap:wrap;--navigation-layout-justify:flex-start;--navigation-layout-align:center;position:relative}.wp-block-navigation ul{margin-bottom:0;margin-right:0;margin-top:0;padding-right:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{align-items:center;display:flex;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{display:block}.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{color:inherit}.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:focus{text-decoration:underline}.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{text-decoration:line-through}.wp-block-navigation:where(:not([class*=has-text-decoration])) a{text-decoration:none}.wp-block-navigation:where(:not([class*=has-text-decoration])) a:active,.wp-block-navigation:where(:not([class*=has-text-decoration])) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;background-color:inherit;border:none;color:currentColor;display:inline-block;font-size:inherit;height:.6em;line-height:0;margin-right:.25em;padding:0;width:.6em}.wp-block-navigation .wp-block-navigation__submenu-icon svg{stroke:currentColor;display:inline-block;height:inherit;margin-top:.075em;width:inherit}.wp-block-navigation.is-vertical{--navigation-layout-direction:column;--navigation-layout-justify:initial;--navigation-layout-align:flex-start}.wp-block-navigation.no-wrap{--navigation-layout-wrap:nowrap}.wp-block-navigation.items-justified-center{--navigation-layout-justification-setting:center;--navigation-layout-justify:center}.wp-block-navigation.items-justified-center.is-vertical{--navigation-layout-align:center}.wp-block-navigation.items-justified-right{--navigation-layout-justification-setting:flex-end;--navigation-layout-justify:flex-end}.wp-block-navigation.items-justified-right.is-vertical{--navigation-layout-align:flex-end}.wp-block-navigation.items-justified-space-between{--navigation-layout-justification-setting:space-between;--navigation-layout-justify:space-between}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{align-items:normal;background-color:inherit;color:inherit;display:flex;flex-direction:column;height:0;opacity:0;overflow:hidden;position:absolute;right:-1px;top:100%;transition:opacity .1s linear;visibility:hidden;width:0;z-index:2}.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:0;margin-right:auto}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;left:100%;position:absolute;width:.5em}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon{margin-left:.25em}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg{transform:rotate(90deg)}}.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{right:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:0}}.wp-block-navigation-submenu{display:flex;position:relative}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:initial;border:none;color:currentColor;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-align:right;text-transform:inherit}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle{padding-left:.85em}.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle+.wp-block-navigation__submenu-icon{margin-right:-.6em;pointer-events:none}.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container,.wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-dialog{gap:inherit}:where(.wp-block-navigation.has-background .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation.has-background .wp-block-navigation-submenu a:not(.wp-element-button)){padding:.5em 1em}:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu button.wp-block-navigation-item__content),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-pages-list__item button.wp-block-navigation-item__content){padding:.5em 1em}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:0;right:auto}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:-1px;right:-1px}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;right:auto}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation__container{align-items:var(--navigation-layout-align,initial);display:flex;flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);justify-content:var(--navigation-layout-justify,initial);list-style:none;margin:0;padding-right:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__container:only-child,.wp-block-page-list:only-child{flex-grow:1}@keyframes overlay-menu__fade-in-animation{0%{opacity:0;transform:translateY(.5em)}to{opacity:1;transform:translateY(0)}}.wp-block-navigation__responsive-container{bottom:0;display:none;left:0;position:fixed;right:0;top:0}.wp-block-navigation__responsive-container .wp-block-navigation-link a{color:inherit}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{align-items:var(--navigation-layout-align,initial);display:flex;flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);justify-content:var(--navigation-layout-justify,initial)}.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open){background-color:inherit!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open{animation:overlay-menu__fade-in-animation .1s ease-out;animation-fill-mode:forwards;background-color:inherit;display:flex;flex-direction:column;overflow:auto;padding:var(--wp--style--root--padding-top,2rem) var(--wp--style--root--padding-left,2rem) var(--wp--style--root--padding-bottom,2rem) var(--wp--style--root--padding-right,2rem);z-index:100000}@media (prefers-reduced-motion:reduce){.wp-block-navigation__responsive-container.is-menu-open{animation-delay:0s;animation-duration:1ms}}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:var(--navigation-layout-justification-setting,inherit);display:flex;flex-direction:column;flex-wrap:nowrap;overflow:visible;padding-top:calc(2rem + 24px)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{justify-content:flex-start}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{border:none;height:auto;min-width:200px;opacity:1;overflow:initial;padding-left:2rem;padding-right:2rem;position:static;visibility:visible;width:auto}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{align-items:var(--navigation-layout-justification-setting,initial);display:flex;flex-direction:column}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list{background:transparent!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){background-color:inherit;display:block;position:relative;width:100%;z-index:auto}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__toggle_button_label{font-size:1rem;font-weight:700}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{background:transparent;border:none;color:currentColor;cursor:pointer;margin:0;padding:0;text-transform:inherit;vertical-align:middle}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;display:block;height:24px;pointer-events:none;width:24px}.wp-block-navigation__responsive-container-open{display:flex}.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{font-family:inherit;font-size:inherit;font-weight:inherit}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{left:0;position:absolute;top:0;z-index:2}.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close{font-family:inherit;font-size:inherit;font-weight:inherit}.wp-block-navigation__responsive-close{margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--wide-size,100%);width:100%}.wp-block-navigation__responsive-close:focus{outline:none}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{box-sizing:border-box}.wp-block-navigation__responsive-dialog{position:relative}.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{margin-top:46px}@media (min-width:782px){.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{margin-top:32px}}html.has-modal-open{overflow:hidden} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/style.css b/wp-includes/blocks/navigation/style.css new file mode 100644 index 0000000000..88a22f588d --- /dev/null +++ b/wp-includes/blocks/navigation/style.css @@ -0,0 +1,452 @@ +.wp-block-navigation{ + --navigation-layout-justification-setting:flex-start; + --navigation-layout-direction:row; + --navigation-layout-wrap:wrap; + --navigation-layout-justify:flex-start; + --navigation-layout-align:center; + position:relative; +} +.wp-block-navigation ul{ + margin-bottom:0; + margin-left:0; + margin-top:0; + padding-left:0; +} +.wp-block-navigation ul,.wp-block-navigation ul li{ + list-style:none; + padding:0; +} +.wp-block-navigation .wp-block-navigation-item{ + align-items:center; + display:flex; + position:relative; +} +.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{ + display:none; +} +.wp-block-navigation .wp-block-navigation-item__content{ + display:block; +} +.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{ + color:inherit; +} +.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:focus{ + text-decoration:underline; +} +.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{ + text-decoration:line-through; +} +.wp-block-navigation:where(:not([class*=has-text-decoration])) a{ + text-decoration:none; +} +.wp-block-navigation:where(:not([class*=has-text-decoration])) a:active,.wp-block-navigation:where(:not([class*=has-text-decoration])) a:focus{ + text-decoration:none; +} +.wp-block-navigation .wp-block-navigation__submenu-icon{ + align-self:center; + background-color:inherit; + border:none; + color:currentColor; + display:inline-block; + font-size:inherit; + height:.6em; + line-height:0; + margin-left:.25em; + padding:0; + width:.6em; +} +.wp-block-navigation .wp-block-navigation__submenu-icon svg{ + stroke:currentColor; + display:inline-block; + height:inherit; + margin-top:.075em; + width:inherit; +} +.wp-block-navigation.is-vertical{ + --navigation-layout-direction:column; + --navigation-layout-justify:initial; + --navigation-layout-align:flex-start; +} +.wp-block-navigation.no-wrap{ + --navigation-layout-wrap:nowrap; +} +.wp-block-navigation.items-justified-center{ + --navigation-layout-justification-setting:center; + --navigation-layout-justify:center; +} +.wp-block-navigation.items-justified-center.is-vertical{ + --navigation-layout-align:center; +} +.wp-block-navigation.items-justified-right{ + --navigation-layout-justification-setting:flex-end; + --navigation-layout-justify:flex-end; +} +.wp-block-navigation.items-justified-right.is-vertical{ + --navigation-layout-align:flex-end; +} +.wp-block-navigation.items-justified-space-between{ + --navigation-layout-justification-setting:space-between; + --navigation-layout-justify:space-between; +} + +.wp-block-navigation .has-child .wp-block-navigation__submenu-container{ + align-items:normal; + background-color:inherit; + color:inherit; + display:flex; + flex-direction:column; + height:0; + left:-1px; + opacity:0; + overflow:hidden; + position:absolute; + top:100%; + transition:opacity .1s linear; + visibility:hidden; + width:0; + z-index:2; +} +.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content{ + display:flex; + flex-grow:1; +} +.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{ + margin-left:auto; + margin-right:0; +} +.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content{ + margin:0; +} +@media (min-width:782px){ + .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + left:100%; + top:-1px; + } + .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{ + background:transparent; + content:""; + display:block; + height:100%; + position:absolute; + right:100%; + width:.5em; + } + .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon{ + margin-right:.25em; + } + .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg{ + transform:rotate(-90deg); + } +} +.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container{ + height:auto; + min-width:200px; + opacity:1; + overflow:visible; + visibility:visible; + width:auto; +} +.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container{ + height:auto; + min-width:200px; + opacity:1; + overflow:visible; + visibility:visible; + width:auto; +} +.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container{ + height:auto; + min-width:200px; + opacity:1; + overflow:visible; + visibility:visible; + width:auto; +} + +.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{ + left:0; + top:100%; +} +@media (min-width:782px){ + .wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + left:100%; + top:0; + } +} + +.wp-block-navigation-submenu{ + display:flex; + position:relative; +} +.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{ + stroke:currentColor; +} + +button.wp-block-navigation-item__content{ + background-color:initial; + border:none; + color:currentColor; + font-family:inherit; + font-size:inherit; + font-style:inherit; + font-weight:inherit; + line-height:inherit; + text-align:left; + text-transform:inherit; +} + +.wp-block-navigation-submenu__toggle{ + cursor:pointer; +} + +.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle{ + padding-right:.85em; +} +.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle+.wp-block-navigation__submenu-icon{ + margin-left:-.6em; + pointer-events:none; +} +.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container,.wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-dialog{ + gap:inherit; +} +:where(.wp-block-navigation.has-background .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation.has-background .wp-block-navigation-submenu a:not(.wp-element-button)){ + padding:.5em 1em; +} + +:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu button.wp-block-navigation-item__content),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-pages-list__item button.wp-block-navigation-item__content){ + padding:.5em 1em; +} +.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{ + left:auto; + right:0; +} +.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + left:-1px; + right:-1px; +} +@media (min-width:782px){ + .wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{ + left:auto; + right:100%; + } +} + +.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{ + background-color:#fff; + border:1px solid rgba(0,0,0,.15); + color:#000; +} + +.wp-block-navigation__container{ + align-items:var(--navigation-layout-align, initial); + display:flex; + flex-direction:var(--navigation-layout-direction, initial); + flex-wrap:var(--navigation-layout-wrap, wrap); + justify-content:var(--navigation-layout-justify, initial); + list-style:none; + margin:0; + padding-left:0; +} +.wp-block-navigation__container .is-responsive{ + display:none; +} + +.wp-block-navigation__container:only-child,.wp-block-page-list:only-child{ + flex-grow:1; +} +@keyframes overlay-menu__fade-in-animation{ + 0%{ + opacity:0; + transform:translateY(.5em); + } + to{ + opacity:1; + transform:translateY(0); + } +} +.wp-block-navigation__responsive-container{ + bottom:0; + display:none; + left:0; + position:fixed; + right:0; + top:0; +} +.wp-block-navigation__responsive-container .wp-block-navigation-link a{ + color:inherit; +} +.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{ + align-items:var(--navigation-layout-align, initial); + display:flex; + flex-direction:var(--navigation-layout-direction, initial); + flex-wrap:var(--navigation-layout-wrap, wrap); + justify-content:var(--navigation-layout-justify, initial); +} +.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open){ + background-color:inherit !important; + color:inherit !important; +} +.wp-block-navigation__responsive-container.is-menu-open{ + animation:overlay-menu__fade-in-animation .1s ease-out; + animation-fill-mode:forwards; + background-color:inherit; + display:flex; + flex-direction:column; + overflow:auto; + padding:var(--wp--style--root--padding-top, 2rem) var(--wp--style--root--padding-right, 2rem) var(--wp--style--root--padding-bottom, 2rem) var(--wp--style--root--padding-left, 2rem); + z-index:100000; +} +@media (prefers-reduced-motion:reduce){ + .wp-block-navigation__responsive-container.is-menu-open{ + animation-delay:0s; + animation-duration:1ms; + } +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{ + align-items:var(--navigation-layout-justification-setting, inherit); + display:flex; + flex-direction:column; + flex-wrap:nowrap; + overflow:visible; + padding-top:calc(2rem + 24px); +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{ + justify-content:flex-start; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{ + display:none; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{ + border:none; + height:auto; + min-width:200px; + opacity:1; + overflow:initial; + padding-left:2rem; + padding-right:2rem; + position:static; + visibility:visible; + width:auto; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{ + gap:inherit; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{ + padding-top:var(--wp--style--block-gap, 2em); +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{ + padding:0; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{ + align-items:var(--navigation-layout-justification-setting, initial); + display:flex; + flex-direction:column; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list{ + background:transparent !important; + color:inherit !important; +} +.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{ + left:auto; + right:auto; +} +@media (min-width:600px){ + .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){ + background-color:inherit; + display:block; + position:relative; + width:100%; + z-index:auto; + } + .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{ + display:none; + } + .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{ + left:0; + } +} + +.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{ + background-color:#fff; + color:#000; +} + +.wp-block-navigation__toggle_button_label{ + font-size:1rem; + font-weight:700; +} + +.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{ + background:transparent; + border:none; + color:currentColor; + cursor:pointer; + margin:0; + padding:0; + text-transform:inherit; + vertical-align:middle; +} +.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{ + fill:currentColor; + display:block; + height:24px; + pointer-events:none; + width:24px; +} + +.wp-block-navigation__responsive-container-open{ + display:flex; +} +.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{ + font-family:inherit; + font-size:inherit; + font-weight:inherit; +} +@media (min-width:600px){ + .wp-block-navigation__responsive-container-open:not(.always-shown){ + display:none; + } +} + +.wp-block-navigation__responsive-container-close{ + position:absolute; + right:0; + top:0; + z-index:2; +} +.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close{ + font-family:inherit; + font-size:inherit; + font-weight:inherit; +} + +.wp-block-navigation__responsive-close{ + margin-left:auto; + margin-right:auto; + max-width:var(--wp--style--global--wide-size, 100%); + width:100%; +} +.wp-block-navigation__responsive-close:focus{ + outline:none; +} + +.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{ + box-sizing:border-box; +} + +.wp-block-navigation__responsive-dialog{ + position:relative; +} + +.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{ + margin-top:46px; +} +@media (min-width:782px){ + .has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{ + margin-top:32px; + } +} + +html.has-modal-open{ + overflow:hidden; +} \ No newline at end of file diff --git a/wp-includes/blocks/navigation/style.min.css b/wp-includes/blocks/navigation/style.min.css new file mode 100644 index 0000000000..ee66f18250 --- /dev/null +++ b/wp-includes/blocks/navigation/style.min.css @@ -0,0 +1 @@ +.wp-block-navigation{--navigation-layout-justification-setting:flex-start;--navigation-layout-direction:row;--navigation-layout-wrap:wrap;--navigation-layout-justify:flex-start;--navigation-layout-align:center;position:relative}.wp-block-navigation ul{margin-bottom:0;margin-left:0;margin-top:0;padding-left:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{align-items:center;display:flex;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{display:block}.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{color:inherit}.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:focus{text-decoration:underline}.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{text-decoration:line-through}.wp-block-navigation:where(:not([class*=has-text-decoration])) a{text-decoration:none}.wp-block-navigation:where(:not([class*=has-text-decoration])) a:active,.wp-block-navigation:where(:not([class*=has-text-decoration])) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;background-color:inherit;border:none;color:currentColor;display:inline-block;font-size:inherit;height:.6em;line-height:0;margin-left:.25em;padding:0;width:.6em}.wp-block-navigation .wp-block-navigation__submenu-icon svg{stroke:currentColor;display:inline-block;height:inherit;margin-top:.075em;width:inherit}.wp-block-navigation.is-vertical{--navigation-layout-direction:column;--navigation-layout-justify:initial;--navigation-layout-align:flex-start}.wp-block-navigation.no-wrap{--navigation-layout-wrap:nowrap}.wp-block-navigation.items-justified-center{--navigation-layout-justification-setting:center;--navigation-layout-justify:center}.wp-block-navigation.items-justified-center.is-vertical{--navigation-layout-align:center}.wp-block-navigation.items-justified-right{--navigation-layout-justification-setting:flex-end;--navigation-layout-justify:flex-end}.wp-block-navigation.items-justified-right.is-vertical{--navigation-layout-align:flex-end}.wp-block-navigation.items-justified-space-between{--navigation-layout-justification-setting:space-between;--navigation-layout-justify:space-between}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{align-items:normal;background-color:inherit;color:inherit;display:flex;flex-direction:column;height:0;left:-1px;opacity:0;overflow:hidden;position:absolute;top:100%;transition:opacity .1s linear;visibility:hidden;width:0;z-index:2}.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:auto;margin-right:0}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;position:absolute;right:100%;width:.5em}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon{margin-right:.25em}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{left:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation-submenu{display:flex;position:relative}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:initial;border:none;color:currentColor;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-align:left;text-transform:inherit}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle{padding-right:.85em}.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle+.wp-block-navigation__submenu-icon{margin-left:-.6em;pointer-events:none}.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container,.wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-dialog{gap:inherit}:where(.wp-block-navigation.has-background .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation.has-background .wp-block-navigation-submenu a:not(.wp-element-button)){padding:.5em 1em}:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu button.wp-block-navigation-item__content),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-pages-list__item button.wp-block-navigation-item__content){padding:.5em 1em}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:auto;right:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:-1px;right:-1px}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:auto;right:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation__container{align-items:var(--navigation-layout-align,initial);display:flex;flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);justify-content:var(--navigation-layout-justify,initial);list-style:none;margin:0;padding-left:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__container:only-child,.wp-block-page-list:only-child{flex-grow:1}@keyframes overlay-menu__fade-in-animation{0%{opacity:0;transform:translateY(.5em)}to{opacity:1;transform:translateY(0)}}.wp-block-navigation__responsive-container{bottom:0;display:none;left:0;position:fixed;right:0;top:0}.wp-block-navigation__responsive-container .wp-block-navigation-link a{color:inherit}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{align-items:var(--navigation-layout-align,initial);display:flex;flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);justify-content:var(--navigation-layout-justify,initial)}.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open){background-color:inherit!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open{animation:overlay-menu__fade-in-animation .1s ease-out;animation-fill-mode:forwards;background-color:inherit;display:flex;flex-direction:column;overflow:auto;padding:var(--wp--style--root--padding-top,2rem) var(--wp--style--root--padding-right,2rem) var(--wp--style--root--padding-bottom,2rem) var(--wp--style--root--padding-left,2rem);z-index:100000}@media (prefers-reduced-motion:reduce){.wp-block-navigation__responsive-container.is-menu-open{animation-delay:0s;animation-duration:1ms}}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:var(--navigation-layout-justification-setting,inherit);display:flex;flex-direction:column;flex-wrap:nowrap;overflow:visible;padding-top:calc(2rem + 24px)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{justify-content:flex-start}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{border:none;height:auto;min-width:200px;opacity:1;overflow:initial;padding-left:2rem;padding-right:2rem;position:static;visibility:visible;width:auto}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:inherit}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{align-items:var(--navigation-layout-justification-setting,initial);display:flex;flex-direction:column}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list{background:transparent!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){background-color:inherit;display:block;position:relative;width:100%;z-index:auto}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__toggle_button_label{font-size:1rem;font-weight:700}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{background:transparent;border:none;color:currentColor;cursor:pointer;margin:0;padding:0;text-transform:inherit;vertical-align:middle}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;display:block;height:24px;pointer-events:none;width:24px}.wp-block-navigation__responsive-container-open{display:flex}.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{font-family:inherit;font-size:inherit;font-weight:inherit}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;right:0;top:0;z-index:2}.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close{font-family:inherit;font-size:inherit;font-weight:inherit}.wp-block-navigation__responsive-close{margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--wide-size,100%);width:100%}.wp-block-navigation__responsive-close:focus{outline:none}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{box-sizing:border-box}.wp-block-navigation__responsive-dialog{position:relative}.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{margin-top:46px}@media (min-width:782px){.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{margin-top:32px}}html.has-modal-open{overflow:hidden} \ No newline at end of file diff --git a/wp-includes/blocks/nextpage/editor-rtl.css b/wp-includes/blocks/nextpage/editor-rtl.css new file mode 100644 index 0000000000..c34f68989e --- /dev/null +++ b/wp-includes/blocks/nextpage/editor-rtl.css @@ -0,0 +1,32 @@ +.block-editor-block-list__block[data-type="core/nextpage"]{ + margin-bottom:28px; + margin-top:28px; + max-width:100%; + text-align:center; +} + +.wp-block-nextpage{ + display:block; + text-align:center; + white-space:nowrap; +} +.wp-block-nextpage>span{ + background:#fff; + border-radius:4px; + color:#757575; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + font-weight:600; + height:24px; + padding:6px 8px; + position:relative; + text-transform:uppercase; +} +.wp-block-nextpage:before{ + border-top:3px dashed #ccc; + content:""; + left:0; + position:absolute; + right:0; + top:50%; +} \ No newline at end of file diff --git a/wp-includes/blocks/nextpage/editor-rtl.min.css b/wp-includes/blocks/nextpage/editor-rtl.min.css new file mode 100644 index 0000000000..b947fdba5f --- /dev/null +++ b/wp-includes/blocks/nextpage/editor-rtl.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/nextpage"]{margin-bottom:28px;margin-top:28px;max-width:100%;text-align:center}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{background:#fff;border-radius:4px;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;height:24px;padding:6px 8px;position:relative;text-transform:uppercase}.wp-block-nextpage:before{border-top:3px dashed #ccc;content:"";left:0;position:absolute;right:0;top:50%} \ No newline at end of file diff --git a/wp-includes/blocks/nextpage/editor.css b/wp-includes/blocks/nextpage/editor.css new file mode 100644 index 0000000000..c34f68989e --- /dev/null +++ b/wp-includes/blocks/nextpage/editor.css @@ -0,0 +1,32 @@ +.block-editor-block-list__block[data-type="core/nextpage"]{ + margin-bottom:28px; + margin-top:28px; + max-width:100%; + text-align:center; +} + +.wp-block-nextpage{ + display:block; + text-align:center; + white-space:nowrap; +} +.wp-block-nextpage>span{ + background:#fff; + border-radius:4px; + color:#757575; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + font-weight:600; + height:24px; + padding:6px 8px; + position:relative; + text-transform:uppercase; +} +.wp-block-nextpage:before{ + border-top:3px dashed #ccc; + content:""; + left:0; + position:absolute; + right:0; + top:50%; +} \ No newline at end of file diff --git a/wp-includes/blocks/nextpage/editor.min.css b/wp-includes/blocks/nextpage/editor.min.css new file mode 100644 index 0000000000..b947fdba5f --- /dev/null +++ b/wp-includes/blocks/nextpage/editor.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/nextpage"]{margin-bottom:28px;margin-top:28px;max-width:100%;text-align:center}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{background:#fff;border-radius:4px;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;height:24px;padding:6px 8px;position:relative;text-transform:uppercase}.wp-block-nextpage:before{border-top:3px dashed #ccc;content:"";left:0;position:absolute;right:0;top:50%} \ No newline at end of file diff --git a/wp-includes/blocks/page-list/editor-rtl.css b/wp-includes/blocks/page-list/editor-rtl.css new file mode 100644 index 0000000000..d3679e9275 --- /dev/null +++ b/wp-includes/blocks/page-list/editor-rtl.css @@ -0,0 +1,46 @@ +.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{ + background-color:inherit; +} +.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{ + display:contents; + flex:1; +} +.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{ + flex:inherit; +} + +.wp-block-navigation .wp-block-navigation__submenu-container>.wp-block-page-list{ + display:block; +} + +.wp-block-pages-list__item__link{ + pointer-events:none; +} + +@media (min-width:600px){ + .wp-block-page-list-modal{ + max-width:480px; + } +} + +.wp-block-page-list-modal-buttons{ + display:flex; + gap:12px; + justify-content:flex-end; +} + +.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{ + height:auto; + min-width:200px; + opacity:1; + visibility:visible; + width:auto; +} + +.wp-block-page-list .components-notice{ + margin-right:0; +} + +.wp-block-page-list__loading-indicator-container{ + padding:8px 12px; +} \ No newline at end of file diff --git a/wp-includes/blocks/page-list/editor-rtl.min.css b/wp-includes/blocks/page-list/editor-rtl.min.css new file mode 100644 index 0000000000..4c1863098d --- /dev/null +++ b/wp-includes/blocks/page-list/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-navigation .wp-block-navigation__submenu-container>.wp-block-page-list{display:block}.wp-block-pages-list__item__link{pointer-events:none}@media (min-width:600px){.wp-block-page-list-modal{max-width:480px}}.wp-block-page-list-modal-buttons{display:flex;gap:12px;justify-content:flex-end}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;visibility:visible;width:auto}.wp-block-page-list .components-notice{margin-right:0}.wp-block-page-list__loading-indicator-container{padding:8px 12px} \ No newline at end of file diff --git a/wp-includes/blocks/page-list/editor.css b/wp-includes/blocks/page-list/editor.css new file mode 100644 index 0000000000..82610f9273 --- /dev/null +++ b/wp-includes/blocks/page-list/editor.css @@ -0,0 +1,46 @@ +.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{ + background-color:inherit; +} +.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{ + display:contents; + flex:1; +} +.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{ + flex:inherit; +} + +.wp-block-navigation .wp-block-navigation__submenu-container>.wp-block-page-list{ + display:block; +} + +.wp-block-pages-list__item__link{ + pointer-events:none; +} + +@media (min-width:600px){ + .wp-block-page-list-modal{ + max-width:480px; + } +} + +.wp-block-page-list-modal-buttons{ + display:flex; + gap:12px; + justify-content:flex-end; +} + +.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{ + height:auto; + min-width:200px; + opacity:1; + visibility:visible; + width:auto; +} + +.wp-block-page-list .components-notice{ + margin-left:0; +} + +.wp-block-page-list__loading-indicator-container{ + padding:8px 12px; +} \ No newline at end of file diff --git a/wp-includes/blocks/page-list/editor.min.css b/wp-includes/blocks/page-list/editor.min.css new file mode 100644 index 0000000000..f0ac772256 --- /dev/null +++ b/wp-includes/blocks/page-list/editor.min.css @@ -0,0 +1 @@ +.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-navigation .wp-block-navigation__submenu-container>.wp-block-page-list{display:block}.wp-block-pages-list__item__link{pointer-events:none}@media (min-width:600px){.wp-block-page-list-modal{max-width:480px}}.wp-block-page-list-modal-buttons{display:flex;gap:12px;justify-content:flex-end}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;visibility:visible;width:auto}.wp-block-page-list .components-notice{margin-left:0}.wp-block-page-list__loading-indicator-container{padding:8px 12px} \ No newline at end of file diff --git a/wp-includes/blocks/page-list/style-rtl.css b/wp-includes/blocks/page-list/style-rtl.css new file mode 100644 index 0000000000..f0cb762e42 --- /dev/null +++ b/wp-includes/blocks/page-list/style-rtl.css @@ -0,0 +1,11 @@ +.wp-block-navigation .wp-block-page-list{ + align-items:var(--navigation-layout-align, initial); + background-color:inherit; + display:flex; + flex-direction:var(--navigation-layout-direction, initial); + flex-wrap:var(--navigation-layout-wrap, wrap); + justify-content:var(--navigation-layout-justify, initial); +} +.wp-block-navigation .wp-block-navigation-item{ + background-color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/page-list/style-rtl.min.css b/wp-includes/blocks/page-list/style-rtl.min.css new file mode 100644 index 0000000000..68fc6f74e9 --- /dev/null +++ b/wp-includes/blocks/page-list/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-navigation .wp-block-page-list{align-items:var(--navigation-layout-align,initial);background-color:inherit;display:flex;flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);justify-content:var(--navigation-layout-justify,initial)}.wp-block-navigation .wp-block-navigation-item{background-color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/page-list/style.css b/wp-includes/blocks/page-list/style.css new file mode 100644 index 0000000000..f0cb762e42 --- /dev/null +++ b/wp-includes/blocks/page-list/style.css @@ -0,0 +1,11 @@ +.wp-block-navigation .wp-block-page-list{ + align-items:var(--navigation-layout-align, initial); + background-color:inherit; + display:flex; + flex-direction:var(--navigation-layout-direction, initial); + flex-wrap:var(--navigation-layout-wrap, wrap); + justify-content:var(--navigation-layout-justify, initial); +} +.wp-block-navigation .wp-block-navigation-item{ + background-color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/page-list/style.min.css b/wp-includes/blocks/page-list/style.min.css new file mode 100644 index 0000000000..68fc6f74e9 --- /dev/null +++ b/wp-includes/blocks/page-list/style.min.css @@ -0,0 +1 @@ +.wp-block-navigation .wp-block-page-list{align-items:var(--navigation-layout-align,initial);background-color:inherit;display:flex;flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);justify-content:var(--navigation-layout-justify,initial)}.wp-block-navigation .wp-block-navigation-item{background-color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/editor-rtl.css b/wp-includes/blocks/paragraph/editor-rtl.css new file mode 100644 index 0000000000..1544877bfd --- /dev/null +++ b/wp-includes/blocks/paragraph/editor-rtl.css @@ -0,0 +1,11 @@ +.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{ + min-height:auto !important; +} + +.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{ + opacity:1; +} + +.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder]{ + opacity:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/editor-rtl.min.css b/wp-includes/blocks/paragraph/editor-rtl.min.css new file mode 100644 index 0000000000..b537f953b6 --- /dev/null +++ b/wp-includes/blocks/paragraph/editor-rtl.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder]{opacity:0} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/editor.css b/wp-includes/blocks/paragraph/editor.css new file mode 100644 index 0000000000..1544877bfd --- /dev/null +++ b/wp-includes/blocks/paragraph/editor.css @@ -0,0 +1,11 @@ +.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{ + min-height:auto !important; +} + +.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{ + opacity:1; +} + +.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder]{ + opacity:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/editor.min.css b/wp-includes/blocks/paragraph/editor.min.css new file mode 100644 index 0000000000..b537f953b6 --- /dev/null +++ b/wp-includes/blocks/paragraph/editor.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder]{opacity:0} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/style-rtl.css b/wp-includes/blocks/paragraph/style-rtl.css new file mode 100644 index 0000000000..9265208db3 --- /dev/null +++ b/wp-includes/blocks/paragraph/style-rtl.css @@ -0,0 +1,42 @@ +.is-small-text{ + font-size:.875em; +} + +.is-regular-text{ + font-size:1em; +} + +.is-large-text{ + font-size:2.25em; +} + +.is-larger-text{ + font-size:3em; +} + +.has-drop-cap:not(:focus):first-letter{ + float:right; + font-size:8.4em; + font-style:normal; + font-weight:100; + line-height:.68; + margin:.05em 0 0 .1em; + text-transform:uppercase; +} + +body.rtl .has-drop-cap:not(:focus):first-letter{ + float:none; + margin-right:.1em; +} + +p.has-drop-cap.has-background{ + overflow:hidden; +} + +p.has-background{ + padding:1.25em 2.375em; +} + +:where(p.has-text-color:not(.has-link-color)) a{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/style-rtl.min.css b/wp-includes/blocks/paragraph/style-rtl.min.css new file mode 100644 index 0000000000..6d4c22a0ee --- /dev/null +++ b/wp-includes/blocks/paragraph/style-rtl.min.css @@ -0,0 +1 @@ +.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em 0 0 .1em;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-right:.1em}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/style.css b/wp-includes/blocks/paragraph/style.css new file mode 100644 index 0000000000..4827ff0162 --- /dev/null +++ b/wp-includes/blocks/paragraph/style.css @@ -0,0 +1,42 @@ +.is-small-text{ + font-size:.875em; +} + +.is-regular-text{ + font-size:1em; +} + +.is-large-text{ + font-size:2.25em; +} + +.is-larger-text{ + font-size:3em; +} + +.has-drop-cap:not(:focus):first-letter{ + float:left; + font-size:8.4em; + font-style:normal; + font-weight:100; + line-height:.68; + margin:.05em .1em 0 0; + text-transform:uppercase; +} + +body.rtl .has-drop-cap:not(:focus):first-letter{ + float:none; + margin-left:.1em; +} + +p.has-drop-cap.has-background{ + overflow:hidden; +} + +p.has-background{ + padding:1.25em 2.375em; +} + +:where(p.has-text-color:not(.has-link-color)) a{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/style.min.css b/wp-includes/blocks/paragraph/style.min.css new file mode 100644 index 0000000000..87e0a906c8 --- /dev/null +++ b/wp-includes/blocks/paragraph/style.min.css @@ -0,0 +1 @@ +.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/post-author/style-rtl.css b/wp-includes/blocks/post-author/style-rtl.css new file mode 100644 index 0000000000..88ef6efafe --- /dev/null +++ b/wp-includes/blocks/post-author/style-rtl.css @@ -0,0 +1,24 @@ +.wp-block-post-author{ + display:flex; + flex-wrap:wrap; +} +.wp-block-post-author__byline{ + font-size:.5em; + margin-bottom:0; + margin-top:0; + width:100%; +} +.wp-block-post-author__avatar{ + margin-left:1em; +} +.wp-block-post-author__bio{ + font-size:.7em; + margin-bottom:.7em; +} +.wp-block-post-author__content{ + flex-basis:0; + flex-grow:1; +} +.wp-block-post-author__name{ + margin:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-author/style-rtl.min.css b/wp-includes/blocks/post-author/style-rtl.min.css new file mode 100644 index 0000000000..36ddfd176a --- /dev/null +++ b/wp-includes/blocks/post-author/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{font-size:.5em;margin-bottom:0;margin-top:0;width:100%}.wp-block-post-author__avatar{margin-left:1em}.wp-block-post-author__bio{font-size:.7em;margin-bottom:.7em}.wp-block-post-author__content{flex-basis:0;flex-grow:1}.wp-block-post-author__name{margin:0} \ No newline at end of file diff --git a/wp-includes/blocks/post-author/style.css b/wp-includes/blocks/post-author/style.css new file mode 100644 index 0000000000..6dc3e56427 --- /dev/null +++ b/wp-includes/blocks/post-author/style.css @@ -0,0 +1,24 @@ +.wp-block-post-author{ + display:flex; + flex-wrap:wrap; +} +.wp-block-post-author__byline{ + font-size:.5em; + margin-bottom:0; + margin-top:0; + width:100%; +} +.wp-block-post-author__avatar{ + margin-right:1em; +} +.wp-block-post-author__bio{ + font-size:.7em; + margin-bottom:.7em; +} +.wp-block-post-author__content{ + flex-basis:0; + flex-grow:1; +} +.wp-block-post-author__name{ + margin:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-author/style.min.css b/wp-includes/blocks/post-author/style.min.css new file mode 100644 index 0000000000..049ef12db2 --- /dev/null +++ b/wp-includes/blocks/post-author/style.min.css @@ -0,0 +1 @@ +.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{font-size:.5em;margin-bottom:0;margin-top:0;width:100%}.wp-block-post-author__avatar{margin-right:1em}.wp-block-post-author__bio{font-size:.7em;margin-bottom:.7em}.wp-block-post-author__content{flex-basis:0;flex-grow:1}.wp-block-post-author__name{margin:0} \ No newline at end of file diff --git a/wp-includes/blocks/post-comments-form/editor-rtl.css b/wp-includes/blocks/post-comments-form/editor-rtl.css new file mode 100644 index 0000000000..0e92022d8a --- /dev/null +++ b/wp-includes/blocks/post-comments-form/editor-rtl.css @@ -0,0 +1,6 @@ +.wp-block-post-comments-form *{ + pointer-events:none; +} +.wp-block-post-comments-form .block-editor-warning *{ + pointer-events:auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-comments-form/editor-rtl.min.css b/wp-includes/blocks/post-comments-form/editor-rtl.min.css new file mode 100644 index 0000000000..bff24e545a --- /dev/null +++ b/wp-includes/blocks/post-comments-form/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-comments-form *{pointer-events:none}.wp-block-post-comments-form .block-editor-warning *{pointer-events:auto} \ No newline at end of file diff --git a/wp-includes/blocks/post-comments-form/editor.css b/wp-includes/blocks/post-comments-form/editor.css new file mode 100644 index 0000000000..0e92022d8a --- /dev/null +++ b/wp-includes/blocks/post-comments-form/editor.css @@ -0,0 +1,6 @@ +.wp-block-post-comments-form *{ + pointer-events:none; +} +.wp-block-post-comments-form .block-editor-warning *{ + pointer-events:auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-comments-form/editor.min.css b/wp-includes/blocks/post-comments-form/editor.min.css new file mode 100644 index 0000000000..bff24e545a --- /dev/null +++ b/wp-includes/blocks/post-comments-form/editor.min.css @@ -0,0 +1 @@ +.wp-block-post-comments-form *{pointer-events:none}.wp-block-post-comments-form .block-editor-warning *{pointer-events:auto} \ No newline at end of file diff --git a/wp-includes/blocks/post-comments-form/style-rtl.css b/wp-includes/blocks/post-comments-form/style-rtl.css new file mode 100644 index 0000000000..8c65b8aad7 --- /dev/null +++ b/wp-includes/blocks/post-comments-form/style-rtl.css @@ -0,0 +1,59 @@ +.wp-block-post-comments-form{ + box-sizing:border-box; +} +.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title){ + font-weight:inherit; +} +.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title){ + font-family:inherit; +} +.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title),.wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title){ + font-size:inherit; +} +.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title){ + line-height:inherit; +} +.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title){ + font-style:inherit; +} +.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title){ + letter-spacing:inherit; +} +.wp-block-post-comments-form input[type=submit]{ + box-shadow:none; + cursor:pointer; + display:inline-block; + overflow-wrap:break-word; + text-align:center; +} +.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{ + border:1px solid #949494; + font-family:inherit; + font-size:1em; +} +.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{ + padding:calc(.667em + 2px); +} +.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form .comment-form textarea{ + box-sizing:border-box; + display:block; + width:100%; +} +.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{ + display:block; + margin-bottom:.25em; +} +.wp-block-post-comments-form .comment-form-cookies-consent{ + display:flex; + gap:.25em; +} +.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{ + margin-top:.35em; +} +.wp-block-post-comments-form .comment-reply-title{ + margin-bottom:0; +} +.wp-block-post-comments-form .comment-reply-title :where(small){ + font-size:var(--wp--preset--font-size--medium, smaller); + margin-right:.5em; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-comments-form/style-rtl.min.css b/wp-includes/blocks/post-comments-form/style-rtl.min.css new file mode 100644 index 0000000000..909eb4f29a --- /dev/null +++ b/wp-includes/blocks/post-comments-form/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-comments-form{box-sizing:border-box}.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title){font-weight:inherit}.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title){font-family:inherit}.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title),.wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title){font-size:inherit}.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title){line-height:inherit}.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title){font-style:inherit}.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title){letter-spacing:inherit}.wp-block-post-comments-form input[type=submit]{box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form .comment-form textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments-form .comment-reply-title{margin-bottom:0}.wp-block-post-comments-form .comment-reply-title :where(small){font-size:var(--wp--preset--font-size--medium,smaller);margin-right:.5em} \ No newline at end of file diff --git a/wp-includes/blocks/post-comments-form/style.css b/wp-includes/blocks/post-comments-form/style.css new file mode 100644 index 0000000000..0639e16786 --- /dev/null +++ b/wp-includes/blocks/post-comments-form/style.css @@ -0,0 +1,59 @@ +.wp-block-post-comments-form{ + box-sizing:border-box; +} +.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title){ + font-weight:inherit; +} +.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title){ + font-family:inherit; +} +.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title),.wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title){ + font-size:inherit; +} +.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title){ + line-height:inherit; +} +.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title){ + font-style:inherit; +} +.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title){ + letter-spacing:inherit; +} +.wp-block-post-comments-form input[type=submit]{ + box-shadow:none; + cursor:pointer; + display:inline-block; + overflow-wrap:break-word; + text-align:center; +} +.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{ + border:1px solid #949494; + font-family:inherit; + font-size:1em; +} +.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{ + padding:calc(.667em + 2px); +} +.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form .comment-form textarea{ + box-sizing:border-box; + display:block; + width:100%; +} +.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{ + display:block; + margin-bottom:.25em; +} +.wp-block-post-comments-form .comment-form-cookies-consent{ + display:flex; + gap:.25em; +} +.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{ + margin-top:.35em; +} +.wp-block-post-comments-form .comment-reply-title{ + margin-bottom:0; +} +.wp-block-post-comments-form .comment-reply-title :where(small){ + font-size:var(--wp--preset--font-size--medium, smaller); + margin-left:.5em; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-comments-form/style.min.css b/wp-includes/blocks/post-comments-form/style.min.css new file mode 100644 index 0000000000..f4a6bc5fcc --- /dev/null +++ b/wp-includes/blocks/post-comments-form/style.min.css @@ -0,0 +1 @@ +.wp-block-post-comments-form{box-sizing:border-box}.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title){font-weight:inherit}.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title){font-family:inherit}.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title),.wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title){font-size:inherit}.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title){line-height:inherit}.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title){font-style:inherit}.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title){letter-spacing:inherit}.wp-block-post-comments-form input[type=submit]{box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form .comment-form textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments-form .comment-reply-title{margin-bottom:0}.wp-block-post-comments-form .comment-reply-title :where(small){font-size:var(--wp--preset--font-size--medium,smaller);margin-left:.5em} \ No newline at end of file diff --git a/wp-includes/blocks/post-date/style-rtl.css b/wp-includes/blocks/post-date/style-rtl.css new file mode 100644 index 0000000000..f8a38e2f42 --- /dev/null +++ b/wp-includes/blocks/post-date/style-rtl.css @@ -0,0 +1,3 @@ +.wp-block-post-date{ + box-sizing:border-box; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-date/style-rtl.min.css b/wp-includes/blocks/post-date/style-rtl.min.css new file mode 100644 index 0000000000..644e013f1e --- /dev/null +++ b/wp-includes/blocks/post-date/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-date{box-sizing:border-box} \ No newline at end of file diff --git a/wp-includes/blocks/post-date/style.css b/wp-includes/blocks/post-date/style.css new file mode 100644 index 0000000000..f8a38e2f42 --- /dev/null +++ b/wp-includes/blocks/post-date/style.css @@ -0,0 +1,3 @@ +.wp-block-post-date{ + box-sizing:border-box; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-date/style.min.css b/wp-includes/blocks/post-date/style.min.css new file mode 100644 index 0000000000..644e013f1e --- /dev/null +++ b/wp-includes/blocks/post-date/style.min.css @@ -0,0 +1 @@ +.wp-block-post-date{box-sizing:border-box} \ No newline at end of file diff --git a/wp-includes/blocks/post-excerpt/editor-rtl.css b/wp-includes/blocks/post-excerpt/editor-rtl.css new file mode 100644 index 0000000000..d7eef3637b --- /dev/null +++ b/wp-includes/blocks/post-excerpt/editor-rtl.css @@ -0,0 +1,3 @@ +.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{ + display:inline-block; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-excerpt/editor-rtl.min.css b/wp-includes/blocks/post-excerpt/editor-rtl.min.css new file mode 100644 index 0000000000..4a6c1889db --- /dev/null +++ b/wp-includes/blocks/post-excerpt/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block} \ No newline at end of file diff --git a/wp-includes/blocks/post-excerpt/editor.css b/wp-includes/blocks/post-excerpt/editor.css new file mode 100644 index 0000000000..d7eef3637b --- /dev/null +++ b/wp-includes/blocks/post-excerpt/editor.css @@ -0,0 +1,3 @@ +.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{ + display:inline-block; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-excerpt/editor.min.css b/wp-includes/blocks/post-excerpt/editor.min.css new file mode 100644 index 0000000000..4a6c1889db --- /dev/null +++ b/wp-includes/blocks/post-excerpt/editor.min.css @@ -0,0 +1 @@ +.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block} \ No newline at end of file diff --git a/wp-includes/blocks/post-excerpt/style-rtl.css b/wp-includes/blocks/post-excerpt/style-rtl.css new file mode 100644 index 0000000000..a259eb39d2 --- /dev/null +++ b/wp-includes/blocks/post-excerpt/style-rtl.css @@ -0,0 +1,18 @@ +.wp-block-post-excerpt{ + margin-bottom:var(--wp--style--block-gap); + margin-top:var(--wp--style--block-gap); +} + +.wp-block-post-excerpt__excerpt{ + margin-bottom:0; + margin-top:0; +} + +.wp-block-post-excerpt__more-text{ + margin-bottom:0; + margin-top:var(--wp--style--block-gap); +} + +.wp-block-post-excerpt__more-link{ + display:inline-block; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-excerpt/style-rtl.min.css b/wp-includes/blocks/post-excerpt/style-rtl.min.css new file mode 100644 index 0000000000..56b8d5fcf8 --- /dev/null +++ b/wp-includes/blocks/post-excerpt/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-excerpt{margin-bottom:var(--wp--style--block-gap);margin-top:var(--wp--style--block-gap)}.wp-block-post-excerpt__excerpt{margin-bottom:0;margin-top:0}.wp-block-post-excerpt__more-text{margin-bottom:0;margin-top:var(--wp--style--block-gap)}.wp-block-post-excerpt__more-link{display:inline-block} \ No newline at end of file diff --git a/wp-includes/blocks/post-excerpt/style.css b/wp-includes/blocks/post-excerpt/style.css new file mode 100644 index 0000000000..a259eb39d2 --- /dev/null +++ b/wp-includes/blocks/post-excerpt/style.css @@ -0,0 +1,18 @@ +.wp-block-post-excerpt{ + margin-bottom:var(--wp--style--block-gap); + margin-top:var(--wp--style--block-gap); +} + +.wp-block-post-excerpt__excerpt{ + margin-bottom:0; + margin-top:0; +} + +.wp-block-post-excerpt__more-text{ + margin-bottom:0; + margin-top:var(--wp--style--block-gap); +} + +.wp-block-post-excerpt__more-link{ + display:inline-block; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-excerpt/style.min.css b/wp-includes/blocks/post-excerpt/style.min.css new file mode 100644 index 0000000000..56b8d5fcf8 --- /dev/null +++ b/wp-includes/blocks/post-excerpt/style.min.css @@ -0,0 +1 @@ +.wp-block-post-excerpt{margin-bottom:var(--wp--style--block-gap);margin-top:var(--wp--style--block-gap)}.wp-block-post-excerpt__excerpt{margin-bottom:0;margin-top:0}.wp-block-post-excerpt__more-text{margin-bottom:0;margin-top:var(--wp--style--block-gap)}.wp-block-post-excerpt__more-link{display:inline-block} \ No newline at end of file diff --git a/wp-includes/blocks/post-featured-image/editor-rtl.css b/wp-includes/blocks/post-featured-image/editor-rtl.css new file mode 100644 index 0000000000..88d7b8e37b --- /dev/null +++ b/wp-includes/blocks/post-featured-image/editor-rtl.css @@ -0,0 +1,73 @@ +.wp-block-post-featured-image .block-editor-media-placeholder{ + -webkit-backdrop-filter:none; + backdrop-filter:none; + z-index:1; +} +.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{ + align-items:center; + justify-content:center; + min-height:200px; + padding:0; +} +.wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{ + display:none; +} +.wp-block-post-featured-image .components-placeholder .components-button,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button{ + align-items:center; + background:var(--wp-admin-theme-color); + border-color:var(--wp-admin-theme-color); + border-radius:50%; + border-style:solid; + color:#fff; + display:flex; + height:48px; + justify-content:center; + padding:0; + position:relative; + width:48px; +} +.wp-block-post-featured-image .components-placeholder .components-button>svg,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button>svg{ + color:inherit; +} +.wp-block-post-featured-image .components-placeholder:where(.has-border-color),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),.wp-block-post-featured-image img:where(.has-border-color){ + border-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-top-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-color]),.wp-block-post-featured-image img:where([style*=border-top-color]){ + border-top-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-right-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-color]),.wp-block-post-featured-image img:where([style*=border-right-color]){ + border-left-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image img:where([style*=border-bottom-color]){ + border-bottom-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-left-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-color]),.wp-block-post-featured-image img:where([style*=border-left-color]){ + border-right-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-width]),.wp-block-post-featured-image img:where([style*=border-width]){ + border-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-top-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-width]),.wp-block-post-featured-image img:where([style*=border-top-width]){ + border-top-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-right-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-width]),.wp-block-post-featured-image img:where([style*=border-right-width]){ + border-left-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image img:where([style*=border-bottom-width]){ + border-bottom-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-left-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-width]),.wp-block-post-featured-image img:where([style*=border-left-width]){ + border-right-style:solid; +} +.wp-block-post-featured-image[style*=height] .components-placeholder{ + height:100%; + min-height:48px; + min-width:48px; + width:100%; +} + +div[data-type="core/post-featured-image"] img{ + display:block; + height:auto; + max-width:100%; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-featured-image/editor-rtl.min.css b/wp-includes/blocks/post-featured-image/editor-rtl.min.css new file mode 100644 index 0000000000..4d3bfbf454 --- /dev/null +++ b/wp-includes/blocks/post-featured-image/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-featured-image .block-editor-media-placeholder{-webkit-backdrop-filter:none;backdrop-filter:none;z-index:1}.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{align-items:center;justify-content:center;min-height:200px;padding:0}.wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{display:none}.wp-block-post-featured-image .components-placeholder .components-button,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button{align-items:center;background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-radius:50%;border-style:solid;color:#fff;display:flex;height:48px;justify-content:center;padding:0;position:relative;width:48px}.wp-block-post-featured-image .components-placeholder .components-button>svg,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button>svg{color:inherit}.wp-block-post-featured-image .components-placeholder:where(.has-border-color),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),.wp-block-post-featured-image img:where(.has-border-color){border-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-top-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-color]),.wp-block-post-featured-image img:where([style*=border-top-color]){border-top-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-right-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-color]),.wp-block-post-featured-image img:where([style*=border-right-color]){border-left-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image img:where([style*=border-bottom-color]){border-bottom-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-left-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-color]),.wp-block-post-featured-image img:where([style*=border-left-color]){border-right-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-width]),.wp-block-post-featured-image img:where([style*=border-width]){border-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-top-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-width]),.wp-block-post-featured-image img:where([style*=border-top-width]){border-top-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-right-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-width]),.wp-block-post-featured-image img:where([style*=border-right-width]){border-left-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image img:where([style*=border-bottom-width]){border-bottom-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-left-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-width]),.wp-block-post-featured-image img:where([style*=border-left-width]){border-right-style:solid}.wp-block-post-featured-image[style*=height] .components-placeholder{height:100%;min-height:48px;min-width:48px;width:100%}div[data-type="core/post-featured-image"] img{display:block;height:auto;max-width:100%} \ No newline at end of file diff --git a/wp-includes/blocks/post-featured-image/editor.css b/wp-includes/blocks/post-featured-image/editor.css new file mode 100644 index 0000000000..96db6f2a25 --- /dev/null +++ b/wp-includes/blocks/post-featured-image/editor.css @@ -0,0 +1,73 @@ +.wp-block-post-featured-image .block-editor-media-placeholder{ + -webkit-backdrop-filter:none; + backdrop-filter:none; + z-index:1; +} +.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{ + align-items:center; + justify-content:center; + min-height:200px; + padding:0; +} +.wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{ + display:none; +} +.wp-block-post-featured-image .components-placeholder .components-button,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button{ + align-items:center; + background:var(--wp-admin-theme-color); + border-color:var(--wp-admin-theme-color); + border-radius:50%; + border-style:solid; + color:#fff; + display:flex; + height:48px; + justify-content:center; + padding:0; + position:relative; + width:48px; +} +.wp-block-post-featured-image .components-placeholder .components-button>svg,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button>svg{ + color:inherit; +} +.wp-block-post-featured-image .components-placeholder:where(.has-border-color),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),.wp-block-post-featured-image img:where(.has-border-color){ + border-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-top-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-color]),.wp-block-post-featured-image img:where([style*=border-top-color]){ + border-top-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-right-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-color]),.wp-block-post-featured-image img:where([style*=border-right-color]){ + border-right-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image img:where([style*=border-bottom-color]){ + border-bottom-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-left-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-color]),.wp-block-post-featured-image img:where([style*=border-left-color]){ + border-left-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-width]),.wp-block-post-featured-image img:where([style*=border-width]){ + border-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-top-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-width]),.wp-block-post-featured-image img:where([style*=border-top-width]){ + border-top-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-right-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-width]),.wp-block-post-featured-image img:where([style*=border-right-width]){ + border-right-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image img:where([style*=border-bottom-width]){ + border-bottom-style:solid; +} +.wp-block-post-featured-image .components-placeholder:where([style*=border-left-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-width]),.wp-block-post-featured-image img:where([style*=border-left-width]){ + border-left-style:solid; +} +.wp-block-post-featured-image[style*=height] .components-placeholder{ + height:100%; + min-height:48px; + min-width:48px; + width:100%; +} + +div[data-type="core/post-featured-image"] img{ + display:block; + height:auto; + max-width:100%; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-featured-image/editor.min.css b/wp-includes/blocks/post-featured-image/editor.min.css new file mode 100644 index 0000000000..e031426076 --- /dev/null +++ b/wp-includes/blocks/post-featured-image/editor.min.css @@ -0,0 +1 @@ +.wp-block-post-featured-image .block-editor-media-placeholder{-webkit-backdrop-filter:none;backdrop-filter:none;z-index:1}.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{align-items:center;justify-content:center;min-height:200px;padding:0}.wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{display:none}.wp-block-post-featured-image .components-placeholder .components-button,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button{align-items:center;background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-radius:50%;border-style:solid;color:#fff;display:flex;height:48px;justify-content:center;padding:0;position:relative;width:48px}.wp-block-post-featured-image .components-placeholder .components-button>svg,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button>svg{color:inherit}.wp-block-post-featured-image .components-placeholder:where(.has-border-color),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),.wp-block-post-featured-image img:where(.has-border-color){border-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-top-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-color]),.wp-block-post-featured-image img:where([style*=border-top-color]){border-top-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-right-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-color]),.wp-block-post-featured-image img:where([style*=border-right-color]){border-right-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image img:where([style*=border-bottom-color]){border-bottom-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-left-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-color]),.wp-block-post-featured-image img:where([style*=border-left-color]){border-left-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-width]),.wp-block-post-featured-image img:where([style*=border-width]){border-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-top-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-width]),.wp-block-post-featured-image img:where([style*=border-top-width]){border-top-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-right-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-width]),.wp-block-post-featured-image img:where([style*=border-right-width]){border-right-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image img:where([style*=border-bottom-width]){border-bottom-style:solid}.wp-block-post-featured-image .components-placeholder:where([style*=border-left-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-width]),.wp-block-post-featured-image img:where([style*=border-left-width]){border-left-style:solid}.wp-block-post-featured-image[style*=height] .components-placeholder{height:100%;min-height:48px;min-width:48px;width:100%}div[data-type="core/post-featured-image"] img{display:block;height:auto;max-width:100%} \ No newline at end of file diff --git a/wp-includes/blocks/post-featured-image/style-rtl.css b/wp-includes/blocks/post-featured-image/style-rtl.css new file mode 100644 index 0000000000..71190a5368 --- /dev/null +++ b/wp-includes/blocks/post-featured-image/style-rtl.css @@ -0,0 +1,62 @@ +.wp-block-post-featured-image{ + margin-left:0; + margin-right:0; +} +.wp-block-post-featured-image a{ + display:block; +} +.wp-block-post-featured-image img{ + box-sizing:border-box; + height:auto; + max-width:100%; + vertical-align:bottom; + width:100%; +} +.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{ + width:100%; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim{ + background-color:#000; + inset:0; + position:absolute; +} +.wp-block-post-featured-image{ + position:relative; +} + +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-gradient{ + background-color:initial; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-0{ + opacity:0; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-10{ + opacity:.1; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-20{ + opacity:.2; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-30{ + opacity:.3; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-40{ + opacity:.4; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-50{ + opacity:.5; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-60{ + opacity:.6; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-70{ + opacity:.7; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-80{ + opacity:.8; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-90{ + opacity:.9; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-100{ + opacity:1; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-featured-image/style-rtl.min.css b/wp-includes/blocks/post-featured-image/style-rtl.min.css new file mode 100644 index 0000000000..d36a20f081 --- /dev/null +++ b/wp-includes/blocks/post-featured-image/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-featured-image{margin-left:0;margin-right:0}.wp-block-post-featured-image a{display:block}.wp-block-post-featured-image img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom;width:100%}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim{background-color:#000;inset:0;position:absolute}.wp-block-post-featured-image{position:relative}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-gradient{background-color:initial}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-0{opacity:0}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-10{opacity:.1}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-20{opacity:.2}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-30{opacity:.3}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-40{opacity:.4}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-50{opacity:.5}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-60{opacity:.6}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-70{opacity:.7}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-80{opacity:.8}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-90{opacity:.9}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-100{opacity:1} \ No newline at end of file diff --git a/wp-includes/blocks/post-featured-image/style.css b/wp-includes/blocks/post-featured-image/style.css new file mode 100644 index 0000000000..71190a5368 --- /dev/null +++ b/wp-includes/blocks/post-featured-image/style.css @@ -0,0 +1,62 @@ +.wp-block-post-featured-image{ + margin-left:0; + margin-right:0; +} +.wp-block-post-featured-image a{ + display:block; +} +.wp-block-post-featured-image img{ + box-sizing:border-box; + height:auto; + max-width:100%; + vertical-align:bottom; + width:100%; +} +.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{ + width:100%; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim{ + background-color:#000; + inset:0; + position:absolute; +} +.wp-block-post-featured-image{ + position:relative; +} + +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-gradient{ + background-color:initial; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-0{ + opacity:0; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-10{ + opacity:.1; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-20{ + opacity:.2; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-30{ + opacity:.3; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-40{ + opacity:.4; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-50{ + opacity:.5; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-60{ + opacity:.6; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-70{ + opacity:.7; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-80{ + opacity:.8; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-90{ + opacity:.9; +} +.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-100{ + opacity:1; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-featured-image/style.min.css b/wp-includes/blocks/post-featured-image/style.min.css new file mode 100644 index 0000000000..d36a20f081 --- /dev/null +++ b/wp-includes/blocks/post-featured-image/style.min.css @@ -0,0 +1 @@ +.wp-block-post-featured-image{margin-left:0;margin-right:0}.wp-block-post-featured-image a{display:block}.wp-block-post-featured-image img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom;width:100%}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim{background-color:#000;inset:0;position:absolute}.wp-block-post-featured-image{position:relative}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-gradient{background-color:initial}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-0{opacity:0}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-10{opacity:.1}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-20{opacity:.2}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-30{opacity:.3}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-40{opacity:.4}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-50{opacity:.5}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-60{opacity:.6}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-70{opacity:.7}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-80{opacity:.8}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-90{opacity:.9}.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-100{opacity:1} \ No newline at end of file diff --git a/wp-includes/blocks/post-navigation-link/style-rtl.css b/wp-includes/blocks/post-navigation-link/style-rtl.css new file mode 100644 index 0000000000..b933da7a85 --- /dev/null +++ b/wp-includes/blocks/post-navigation-link/style-rtl.css @@ -0,0 +1,14 @@ +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous{ + display:inline-block; + margin-left:1ch; +} +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron){ + transform:scaleX(-1);; +} +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next{ + display:inline-block; + margin-right:1ch; +} +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron){ + transform:scaleX(-1);; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-navigation-link/style-rtl.min.css b/wp-includes/blocks/post-navigation-link/style-rtl.min.css new file mode 100644 index 0000000000..7fef97a380 --- /dev/null +++ b/wp-includes/blocks/post-navigation-link/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous{display:inline-block;margin-left:1ch}.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next{display:inline-block;margin-right:1ch}.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron){transform:scaleX(-1)} \ No newline at end of file diff --git a/wp-includes/blocks/post-navigation-link/style.css b/wp-includes/blocks/post-navigation-link/style.css new file mode 100644 index 0000000000..3e14f1bcd0 --- /dev/null +++ b/wp-includes/blocks/post-navigation-link/style.css @@ -0,0 +1,14 @@ +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous{ + display:inline-block; + margin-right:1ch; +} +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron){ + transform:scaleX(1); +} +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next{ + display:inline-block; + margin-left:1ch; +} +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron){ + transform:scaleX(1); +} \ No newline at end of file diff --git a/wp-includes/blocks/post-navigation-link/style.min.css b/wp-includes/blocks/post-navigation-link/style.min.css new file mode 100644 index 0000000000..c6bff8a33e --- /dev/null +++ b/wp-includes/blocks/post-navigation-link/style.min.css @@ -0,0 +1 @@ +.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous{display:inline-block;margin-right:1ch}.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next{display:inline-block;margin-left:1ch}.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron){transform:scaleX(1)} \ No newline at end of file diff --git a/wp-includes/blocks/post-template/editor-rtl.css b/wp-includes/blocks/post-template/editor-rtl.css new file mode 100644 index 0000000000..92e578f673 --- /dev/null +++ b/wp-includes/blocks/post-template/editor-rtl.css @@ -0,0 +1,5 @@ +.editor-styles-wrapper ul.wp-block-post-template{ + list-style:none; + margin-right:0; + padding-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-template/editor-rtl.min.css b/wp-includes/blocks/post-template/editor-rtl.min.css new file mode 100644 index 0000000000..fe8eccc4ef --- /dev/null +++ b/wp-includes/blocks/post-template/editor-rtl.min.css @@ -0,0 +1 @@ +.editor-styles-wrapper ul.wp-block-post-template{list-style:none;margin-right:0;padding-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/post-template/editor.css b/wp-includes/blocks/post-template/editor.css new file mode 100644 index 0000000000..ba8d9f21ef --- /dev/null +++ b/wp-includes/blocks/post-template/editor.css @@ -0,0 +1,5 @@ +.editor-styles-wrapper ul.wp-block-post-template{ + list-style:none; + margin-left:0; + padding-left:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-template/editor.min.css b/wp-includes/blocks/post-template/editor.min.css new file mode 100644 index 0000000000..3532597229 --- /dev/null +++ b/wp-includes/blocks/post-template/editor.min.css @@ -0,0 +1 @@ +.editor-styles-wrapper ul.wp-block-post-template{list-style:none;margin-left:0;padding-left:0} \ No newline at end of file diff --git a/wp-includes/blocks/post-template/style-rtl.css b/wp-includes/blocks/post-template/style-rtl.css new file mode 100644 index 0000000000..9d2f8646b6 --- /dev/null +++ b/wp-includes/blocks/post-template/style-rtl.css @@ -0,0 +1,37 @@ +.wp-block-post-template{ + list-style:none; + margin-bottom:0; + margin-top:0; + max-width:100%; + padding:0; +} +.wp-block-post-template.wp-block-post-template{ + background:none; +} +.wp-block-post-template.is-flex-container{ + display:flex; + flex-direction:row; + flex-wrap:wrap; + gap:1.25em; +} +.wp-block-post-template.is-flex-container li{ + margin:0; + width:100%; +} +@media (min-width:600px){ + .wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{ + width:calc(50% - .625em); + } + .wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{ + width:calc(33.33333% - .83333em); + } + .wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{ + width:calc(25% - .9375em); + } + .wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{ + width:calc(20% - 1em); + } + .wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{ + width:calc(16.66667% - 1.04167em); + } +} \ No newline at end of file diff --git a/wp-includes/blocks/post-template/style-rtl.min.css b/wp-includes/blocks/post-template/style-rtl.min.css new file mode 100644 index 0000000000..17daa1ef76 --- /dev/null +++ b/wp-includes/blocks/post-template/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-template{list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0}.wp-block-post-template.wp-block-post-template{background:none}.wp-block-post-template.is-flex-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:1.25em}.wp-block-post-template.is-flex-container li{margin:0;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}} \ No newline at end of file diff --git a/wp-includes/blocks/post-template/style.css b/wp-includes/blocks/post-template/style.css new file mode 100644 index 0000000000..9d2f8646b6 --- /dev/null +++ b/wp-includes/blocks/post-template/style.css @@ -0,0 +1,37 @@ +.wp-block-post-template{ + list-style:none; + margin-bottom:0; + margin-top:0; + max-width:100%; + padding:0; +} +.wp-block-post-template.wp-block-post-template{ + background:none; +} +.wp-block-post-template.is-flex-container{ + display:flex; + flex-direction:row; + flex-wrap:wrap; + gap:1.25em; +} +.wp-block-post-template.is-flex-container li{ + margin:0; + width:100%; +} +@media (min-width:600px){ + .wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{ + width:calc(50% - .625em); + } + .wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{ + width:calc(33.33333% - .83333em); + } + .wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{ + width:calc(25% - .9375em); + } + .wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{ + width:calc(20% - 1em); + } + .wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{ + width:calc(16.66667% - 1.04167em); + } +} \ No newline at end of file diff --git a/wp-includes/blocks/post-template/style.min.css b/wp-includes/blocks/post-template/style.min.css new file mode 100644 index 0000000000..17daa1ef76 --- /dev/null +++ b/wp-includes/blocks/post-template/style.min.css @@ -0,0 +1 @@ +.wp-block-post-template{list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0}.wp-block-post-template.wp-block-post-template{background:none}.wp-block-post-template.is-flex-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:1.25em}.wp-block-post-template.is-flex-container li{margin:0;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}} \ No newline at end of file diff --git a/wp-includes/blocks/post-terms/style-rtl.css b/wp-includes/blocks/post-terms/style-rtl.css new file mode 100644 index 0000000000..819c1cb4ae --- /dev/null +++ b/wp-includes/blocks/post-terms/style-rtl.css @@ -0,0 +1,6 @@ +.wp-block-post-terms{ + box-sizing:border-box; +} +.wp-block-post-terms .wp-block-post-terms__separator{ + white-space:pre-wrap; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-terms/style-rtl.min.css b/wp-includes/blocks/post-terms/style-rtl.min.css new file mode 100644 index 0000000000..3762d4c8de --- /dev/null +++ b/wp-includes/blocks/post-terms/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-terms{box-sizing:border-box}.wp-block-post-terms .wp-block-post-terms__separator{white-space:pre-wrap} \ No newline at end of file diff --git a/wp-includes/blocks/post-terms/style.css b/wp-includes/blocks/post-terms/style.css new file mode 100644 index 0000000000..819c1cb4ae --- /dev/null +++ b/wp-includes/blocks/post-terms/style.css @@ -0,0 +1,6 @@ +.wp-block-post-terms{ + box-sizing:border-box; +} +.wp-block-post-terms .wp-block-post-terms__separator{ + white-space:pre-wrap; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-terms/style.min.css b/wp-includes/blocks/post-terms/style.min.css new file mode 100644 index 0000000000..3762d4c8de --- /dev/null +++ b/wp-includes/blocks/post-terms/style.min.css @@ -0,0 +1 @@ +.wp-block-post-terms{box-sizing:border-box}.wp-block-post-terms .wp-block-post-terms__separator{white-space:pre-wrap} \ No newline at end of file diff --git a/wp-includes/blocks/post-title/style-rtl.css b/wp-includes/blocks/post-title/style-rtl.css new file mode 100644 index 0000000000..0ca7fa1164 --- /dev/null +++ b/wp-includes/blocks/post-title/style-rtl.css @@ -0,0 +1,7 @@ +.wp-block-post-title{ + box-sizing:border-box; + word-break:break-word; +} +.wp-block-post-title a{ + display:inline-block; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-title/style-rtl.min.css b/wp-includes/blocks/post-title/style-rtl.min.css new file mode 100644 index 0000000000..99ae4b33e8 --- /dev/null +++ b/wp-includes/blocks/post-title/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-post-title{box-sizing:border-box;word-break:break-word}.wp-block-post-title a{display:inline-block} \ No newline at end of file diff --git a/wp-includes/blocks/post-title/style.css b/wp-includes/blocks/post-title/style.css new file mode 100644 index 0000000000..0ca7fa1164 --- /dev/null +++ b/wp-includes/blocks/post-title/style.css @@ -0,0 +1,7 @@ +.wp-block-post-title{ + box-sizing:border-box; + word-break:break-word; +} +.wp-block-post-title a{ + display:inline-block; +} \ No newline at end of file diff --git a/wp-includes/blocks/post-title/style.min.css b/wp-includes/blocks/post-title/style.min.css new file mode 100644 index 0000000000..99ae4b33e8 --- /dev/null +++ b/wp-includes/blocks/post-title/style.min.css @@ -0,0 +1 @@ +.wp-block-post-title{box-sizing:border-box;word-break:break-word}.wp-block-post-title a{display:inline-block} \ No newline at end of file diff --git a/wp-includes/blocks/preformatted/style-rtl.css b/wp-includes/blocks/preformatted/style-rtl.css new file mode 100644 index 0000000000..798cb25681 --- /dev/null +++ b/wp-includes/blocks/preformatted/style-rtl.css @@ -0,0 +1,7 @@ +.wp-block-preformatted{ + white-space:pre-wrap; +} + +.wp-block-preformatted.has-background{ + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/preformatted/style-rtl.min.css b/wp-includes/blocks/preformatted/style-rtl.min.css new file mode 100644 index 0000000000..28394356d0 --- /dev/null +++ b/wp-includes/blocks/preformatted/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/preformatted/style.css b/wp-includes/blocks/preformatted/style.css new file mode 100644 index 0000000000..798cb25681 --- /dev/null +++ b/wp-includes/blocks/preformatted/style.css @@ -0,0 +1,7 @@ +.wp-block-preformatted{ + white-space:pre-wrap; +} + +.wp-block-preformatted.has-background{ + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/preformatted/style.min.css b/wp-includes/blocks/preformatted/style.min.css new file mode 100644 index 0000000000..28394356d0 --- /dev/null +++ b/wp-includes/blocks/preformatted/style.min.css @@ -0,0 +1 @@ +.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/editor-rtl.css b/wp-includes/blocks/pullquote/editor-rtl.css new file mode 100644 index 0000000000..969221b9bf --- /dev/null +++ b/wp-includes/blocks/pullquote/editor-rtl.css @@ -0,0 +1,11 @@ +.wp-block-pullquote.is-style-solid-color blockquote p{ + font-size:32px; +} +.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{ + font-style:normal; + text-transform:none; +} + +.wp-block-pullquote .wp-block-pullquote__citation{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/editor-rtl.min.css b/wp-includes/blocks/pullquote/editor-rtl.min.css new file mode 100644 index 0000000000..0e11af8825 --- /dev/null +++ b/wp-includes/blocks/pullquote/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{font-style:normal;text-transform:none}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/editor.css b/wp-includes/blocks/pullquote/editor.css new file mode 100644 index 0000000000..969221b9bf --- /dev/null +++ b/wp-includes/blocks/pullquote/editor.css @@ -0,0 +1,11 @@ +.wp-block-pullquote.is-style-solid-color blockquote p{ + font-size:32px; +} +.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{ + font-style:normal; + text-transform:none; +} + +.wp-block-pullquote .wp-block-pullquote__citation{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/editor.min.css b/wp-includes/blocks/pullquote/editor.min.css new file mode 100644 index 0000000000..0e11af8825 --- /dev/null +++ b/wp-includes/blocks/pullquote/editor.min.css @@ -0,0 +1 @@ +.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{font-style:normal;text-transform:none}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/style-rtl.css b/wp-includes/blocks/pullquote/style-rtl.css new file mode 100644 index 0000000000..0773e626c8 --- /dev/null +++ b/wp-includes/blocks/pullquote/style-rtl.css @@ -0,0 +1,49 @@ +.wp-block-pullquote{ + box-sizing:border-box; + margin:0 0 1em; + overflow-wrap:break-word; + padding:3em 0; + text-align:center; +} +.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{ + color:inherit; +} +.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{ + max-width:420px; +} +.wp-block-pullquote cite,.wp-block-pullquote footer{ + position:relative; +} +.wp-block-pullquote .has-text-color a{ + color:inherit; +} + +.wp-block-pullquote.has-text-align-left blockquote{ + text-align:right; +} + +.wp-block-pullquote.has-text-align-right blockquote{ + text-align:left; +} + +.wp-block-pullquote.is-style-solid-color{ + border:none; +} +.wp-block-pullquote.is-style-solid-color blockquote{ + margin-left:auto; + margin-right:auto; + max-width:60%; +} +.wp-block-pullquote.is-style-solid-color blockquote p{ + font-size:2em; + margin-bottom:0; + margin-top:0; +} +.wp-block-pullquote.is-style-solid-color blockquote cite{ + font-style:normal; + text-transform:none; +} + +.wp-block-pullquote cite{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/style-rtl.min.css b/wp-includes/blocks/pullquote/style-rtl.min.css new file mode 100644 index 0000000000..4c818b94d6 --- /dev/null +++ b/wp-includes/blocks/pullquote/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-pullquote{box-sizing:border-box;margin:0 0 1em;overflow-wrap:break-word;padding:3em 0;text-align:center}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:420px}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:right}.wp-block-pullquote.has-text-align-right blockquote{text-align:left}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:2em;margin-bottom:0;margin-top:0}.wp-block-pullquote.is-style-solid-color blockquote cite{font-style:normal;text-transform:none}.wp-block-pullquote cite{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/style.css b/wp-includes/blocks/pullquote/style.css new file mode 100644 index 0000000000..7b90a315c5 --- /dev/null +++ b/wp-includes/blocks/pullquote/style.css @@ -0,0 +1,49 @@ +.wp-block-pullquote{ + box-sizing:border-box; + margin:0 0 1em; + overflow-wrap:break-word; + padding:3em 0; + text-align:center; +} +.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{ + color:inherit; +} +.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{ + max-width:420px; +} +.wp-block-pullquote cite,.wp-block-pullquote footer{ + position:relative; +} +.wp-block-pullquote .has-text-color a{ + color:inherit; +} + +.wp-block-pullquote.has-text-align-left blockquote{ + text-align:left; +} + +.wp-block-pullquote.has-text-align-right blockquote{ + text-align:right; +} + +.wp-block-pullquote.is-style-solid-color{ + border:none; +} +.wp-block-pullquote.is-style-solid-color blockquote{ + margin-left:auto; + margin-right:auto; + max-width:60%; +} +.wp-block-pullquote.is-style-solid-color blockquote p{ + font-size:2em; + margin-bottom:0; + margin-top:0; +} +.wp-block-pullquote.is-style-solid-color blockquote cite{ + font-style:normal; + text-transform:none; +} + +.wp-block-pullquote cite{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/style.min.css b/wp-includes/blocks/pullquote/style.min.css new file mode 100644 index 0000000000..8de0af3a3b --- /dev/null +++ b/wp-includes/blocks/pullquote/style.min.css @@ -0,0 +1 @@ +.wp-block-pullquote{box-sizing:border-box;margin:0 0 1em;overflow-wrap:break-word;padding:3em 0;text-align:center}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:420px}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:left}.wp-block-pullquote.has-text-align-right blockquote{text-align:right}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:2em;margin-bottom:0;margin-top:0}.wp-block-pullquote.is-style-solid-color blockquote cite{font-style:normal;text-transform:none}.wp-block-pullquote cite{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/theme-rtl.css b/wp-includes/blocks/pullquote/theme-rtl.css new file mode 100644 index 0000000000..ba06da50d4 --- /dev/null +++ b/wp-includes/blocks/pullquote/theme-rtl.css @@ -0,0 +1,12 @@ +.wp-block-pullquote{ + border-bottom:4px solid; + border-top:4px solid; + color:currentColor; + margin-bottom:1.75em; +} +.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{ + color:currentColor; + font-size:.8125em; + font-style:normal; + text-transform:uppercase; +} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/theme-rtl.min.css b/wp-includes/blocks/pullquote/theme-rtl.min.css new file mode 100644 index 0000000000..74a35ef99d --- /dev/null +++ b/wp-includes/blocks/pullquote/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-pullquote{border-bottom:4px solid;border-top:4px solid;color:currentColor;margin-bottom:1.75em}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:currentColor;font-size:.8125em;font-style:normal;text-transform:uppercase} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/theme.css b/wp-includes/blocks/pullquote/theme.css new file mode 100644 index 0000000000..ba06da50d4 --- /dev/null +++ b/wp-includes/blocks/pullquote/theme.css @@ -0,0 +1,12 @@ +.wp-block-pullquote{ + border-bottom:4px solid; + border-top:4px solid; + color:currentColor; + margin-bottom:1.75em; +} +.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{ + color:currentColor; + font-size:.8125em; + font-style:normal; + text-transform:uppercase; +} \ No newline at end of file diff --git a/wp-includes/blocks/pullquote/theme.min.css b/wp-includes/blocks/pullquote/theme.min.css new file mode 100644 index 0000000000..74a35ef99d --- /dev/null +++ b/wp-includes/blocks/pullquote/theme.min.css @@ -0,0 +1 @@ +.wp-block-pullquote{border-bottom:4px solid;border-top:4px solid;color:currentColor;margin-bottom:1.75em}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:currentColor;font-size:.8125em;font-style:normal;text-transform:uppercase} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination-numbers/editor-rtl.css b/wp-includes/blocks/query-pagination-numbers/editor-rtl.css new file mode 100644 index 0000000000..cbebc0f065 --- /dev/null +++ b/wp-includes/blocks/query-pagination-numbers/editor-rtl.css @@ -0,0 +1,9 @@ +.wp-block-query-pagination-numbers a{ + text-decoration:underline; +} +.wp-block-query-pagination-numbers .page-numbers{ + margin-left:2px; +} +.wp-block-query-pagination-numbers .page-numbers:last-child{ + margin-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination-numbers/editor-rtl.min.css b/wp-includes/blocks/query-pagination-numbers/editor-rtl.min.css new file mode 100644 index 0000000000..ef698af33f --- /dev/null +++ b/wp-includes/blocks/query-pagination-numbers/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-left:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination-numbers/editor.css b/wp-includes/blocks/query-pagination-numbers/editor.css new file mode 100644 index 0000000000..3a5e4ba9de --- /dev/null +++ b/wp-includes/blocks/query-pagination-numbers/editor.css @@ -0,0 +1,9 @@ +.wp-block-query-pagination-numbers a{ + text-decoration:underline; +} +.wp-block-query-pagination-numbers .page-numbers{ + margin-right:2px; +} +.wp-block-query-pagination-numbers .page-numbers:last-child{ + margin-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination-numbers/editor.min.css b/wp-includes/blocks/query-pagination-numbers/editor.min.css new file mode 100644 index 0000000000..9b7081cb4d --- /dev/null +++ b/wp-includes/blocks/query-pagination-numbers/editor.min.css @@ -0,0 +1 @@ +.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-right:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination/editor-rtl.css b/wp-includes/blocks/query-pagination/editor-rtl.css new file mode 100644 index 0000000000..7f72d3c6ab --- /dev/null +++ b/wp-includes/blocks/query-pagination/editor-rtl.css @@ -0,0 +1,19 @@ +.wp-block[data-align=center]>.wp-block-query-pagination{ + justify-content:center; +} + +.editor-styles-wrapper .wp-block-query-pagination{ + max-width:100%; +} +.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{ + margin:0; +} + +.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{ + margin-bottom:.5em; + margin-right:.5em; + margin-top:.5em; +} +.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{ + margin-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination/editor-rtl.min.css b/wp-includes/blocks/query-pagination/editor-rtl.min.css new file mode 100644 index 0000000000..52af693130 --- /dev/null +++ b/wp-includes/blocks/query-pagination/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block[data-align=center]>.wp-block-query-pagination{justify-content:center}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-bottom:.5em;margin-right:.5em;margin-top:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination/editor.css b/wp-includes/blocks/query-pagination/editor.css new file mode 100644 index 0000000000..0ad7b63bc7 --- /dev/null +++ b/wp-includes/blocks/query-pagination/editor.css @@ -0,0 +1,17 @@ +.wp-block[data-align=center]>.wp-block-query-pagination{ + justify-content:center; +} + +.editor-styles-wrapper .wp-block-query-pagination{ + max-width:100%; +} +.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{ + margin:0; +} + +.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{ + margin:.5em .5em .5em 0; +} +.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{ + margin-right:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination/editor.min.css b/wp-includes/blocks/query-pagination/editor.min.css new file mode 100644 index 0000000000..ca79311983 --- /dev/null +++ b/wp-includes/blocks/query-pagination/editor.min.css @@ -0,0 +1 @@ +.wp-block[data-align=center]>.wp-block-query-pagination{justify-content:center}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin:.5em .5em .5em 0}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination/style-rtl.css b/wp-includes/blocks/query-pagination/style-rtl.css new file mode 100644 index 0000000000..667c2f1730 --- /dev/null +++ b/wp-includes/blocks/query-pagination/style-rtl.css @@ -0,0 +1,30 @@ +.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{ + margin-bottom:.5em; + margin-right:.5em; +} +.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{ + margin-right:0; +} +.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-of-type{ + margin-inline-start:auto; +} +.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-previous:first-child{ + margin-inline-end:auto; +} +.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{ + display:inline-block; + margin-left:1ch; +} +.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){ + transform:scaleX(-1);; +} +.wp-block-query-pagination .wp-block-query-pagination-next-arrow{ + display:inline-block; + margin-right:1ch; +} +.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){ + transform:scaleX(-1);; +} +.wp-block-query-pagination.aligncenter{ + justify-content:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination/style-rtl.min.css b/wp-includes/blocks/query-pagination/style-rtl.min.css new file mode 100644 index 0000000000..4378343031 --- /dev/null +++ b/wp-includes/blocks/query-pagination/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-bottom:.5em;margin-right:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-of-type{margin-inline-start:auto}.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-previous:first-child{margin-inline-end:auto}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{display:inline-block;margin-left:1ch}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{display:inline-block;margin-right:1ch}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination.aligncenter{justify-content:center} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination/style.css b/wp-includes/blocks/query-pagination/style.css new file mode 100644 index 0000000000..a74962b7a5 --- /dev/null +++ b/wp-includes/blocks/query-pagination/style.css @@ -0,0 +1,30 @@ +.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{ + margin-bottom:.5em; + margin-right:.5em; +} +.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{ + margin-right:0; +} +.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-of-type{ + margin-inline-start:auto; +} +.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-previous:first-child{ + margin-inline-end:auto; +} +.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{ + display:inline-block; + margin-right:1ch; +} +.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){ + transform:scaleX(1); +} +.wp-block-query-pagination .wp-block-query-pagination-next-arrow{ + display:inline-block; + margin-left:1ch; +} +.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){ + transform:scaleX(1); +} +.wp-block-query-pagination.aligncenter{ + justify-content:center; +} \ No newline at end of file diff --git a/wp-includes/blocks/query-pagination/style.min.css b/wp-includes/blocks/query-pagination/style.min.css new file mode 100644 index 0000000000..ae47eaa853 --- /dev/null +++ b/wp-includes/blocks/query-pagination/style.min.css @@ -0,0 +1 @@ +.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-bottom:.5em;margin-right:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-of-type{margin-inline-start:auto}.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-previous:first-child{margin-inline-end:auto}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{display:inline-block;margin-right:1ch}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{display:inline-block;margin-left:1ch}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination.aligncenter{justify-content:center} \ No newline at end of file diff --git a/wp-includes/blocks/query-title/style-rtl.css b/wp-includes/blocks/query-title/style-rtl.css new file mode 100644 index 0000000000..9371ffadec --- /dev/null +++ b/wp-includes/blocks/query-title/style-rtl.css @@ -0,0 +1,3 @@ +.wp-block-query-title{ + box-sizing:border-box; +} \ No newline at end of file diff --git a/wp-includes/blocks/query-title/style-rtl.min.css b/wp-includes/blocks/query-title/style-rtl.min.css new file mode 100644 index 0000000000..13d9b6da68 --- /dev/null +++ b/wp-includes/blocks/query-title/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-query-title{box-sizing:border-box} \ No newline at end of file diff --git a/wp-includes/blocks/query-title/style.css b/wp-includes/blocks/query-title/style.css new file mode 100644 index 0000000000..9371ffadec --- /dev/null +++ b/wp-includes/blocks/query-title/style.css @@ -0,0 +1,3 @@ +.wp-block-query-title{ + box-sizing:border-box; +} \ No newline at end of file diff --git a/wp-includes/blocks/query-title/style.min.css b/wp-includes/blocks/query-title/style.min.css new file mode 100644 index 0000000000..13d9b6da68 --- /dev/null +++ b/wp-includes/blocks/query-title/style.min.css @@ -0,0 +1 @@ +.wp-block-query-title{box-sizing:border-box} \ No newline at end of file diff --git a/wp-includes/blocks/query/editor-rtl.css b/wp-includes/blocks/query/editor-rtl.css new file mode 100644 index 0000000000..d013d48bdd --- /dev/null +++ b/wp-includes/blocks/query/editor-rtl.css @@ -0,0 +1,51 @@ +.block-library-query-toolbar__popover .components-popover__content{ + min-width:230px; +} + +.wp-block-query__create-new-link{ + padding:0 52px 16px 16px; +} + +.block-library-query__pattern-selection-content .block-editor-block-patterns-list{ + grid-gap:8px; + display:grid; + grid-template-columns:1fr 1fr 1fr; +} +.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{ + margin-bottom:0; +} +.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container{ + max-height:250px; +} + +@media (min-width:600px){ + .block-library-query-pattern__selection-modal .components-modal__frame{ + height:calc(100% - 120px); + width:calc(100% - 32px); + } +} +@media (min-width:782px){ + .block-library-query-pattern__selection-modal .components-modal__frame{ + width:750px; + } +} +@media (min-width:960px){ + .block-library-query-pattern__selection-modal .components-modal__frame{ + height:70%; + } +} +.block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search{ + background:#fff; + margin-bottom:2px; + padding:16px 0; + position:sticky; + top:0; + z-index:2; +} + +.block-library-query-toolspanel__filters .components-form-token-field__help{ + margin-bottom:0; +} +.block-library-query-toolspanel__filters .block-library-query-inspector__taxonomy-control:not(:last-child){ + margin-bottom:24px; +} \ No newline at end of file diff --git a/wp-includes/blocks/query/editor-rtl.min.css b/wp-includes/blocks/query/editor-rtl.min.css new file mode 100644 index 0000000000..c3b97dfba7 --- /dev/null +++ b/wp-includes/blocks/query/editor-rtl.min.css @@ -0,0 +1 @@ +.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 52px 16px 16px}.block-library-query__pattern-selection-content .block-editor-block-patterns-list{grid-gap:8px;display:grid;grid-template-columns:1fr 1fr 1fr}.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{margin-bottom:0}.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container{max-height:250px}@media (min-width:600px){.block-library-query-pattern__selection-modal .components-modal__frame{height:calc(100% - 120px);width:calc(100% - 32px)}}@media (min-width:782px){.block-library-query-pattern__selection-modal .components-modal__frame{width:750px}}@media (min-width:960px){.block-library-query-pattern__selection-modal .components-modal__frame{height:70%}}.block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search{background:#fff;margin-bottom:2px;padding:16px 0;position:sticky;top:0;z-index:2}.block-library-query-toolspanel__filters .components-form-token-field__help{margin-bottom:0}.block-library-query-toolspanel__filters .block-library-query-inspector__taxonomy-control:not(:last-child){margin-bottom:24px} \ No newline at end of file diff --git a/wp-includes/blocks/query/editor.css b/wp-includes/blocks/query/editor.css new file mode 100644 index 0000000000..cf35d0115b --- /dev/null +++ b/wp-includes/blocks/query/editor.css @@ -0,0 +1,51 @@ +.block-library-query-toolbar__popover .components-popover__content{ + min-width:230px; +} + +.wp-block-query__create-new-link{ + padding:0 16px 16px 52px; +} + +.block-library-query__pattern-selection-content .block-editor-block-patterns-list{ + grid-gap:8px; + display:grid; + grid-template-columns:1fr 1fr 1fr; +} +.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{ + margin-bottom:0; +} +.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container{ + max-height:250px; +} + +@media (min-width:600px){ + .block-library-query-pattern__selection-modal .components-modal__frame{ + height:calc(100% - 120px); + width:calc(100% - 32px); + } +} +@media (min-width:782px){ + .block-library-query-pattern__selection-modal .components-modal__frame{ + width:750px; + } +} +@media (min-width:960px){ + .block-library-query-pattern__selection-modal .components-modal__frame{ + height:70%; + } +} +.block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search{ + background:#fff; + margin-bottom:2px; + padding:16px 0; + position:sticky; + top:0; + z-index:2; +} + +.block-library-query-toolspanel__filters .components-form-token-field__help{ + margin-bottom:0; +} +.block-library-query-toolspanel__filters .block-library-query-inspector__taxonomy-control:not(:last-child){ + margin-bottom:24px; +} \ No newline at end of file diff --git a/wp-includes/blocks/query/editor.min.css b/wp-includes/blocks/query/editor.min.css new file mode 100644 index 0000000000..bb87c11d46 --- /dev/null +++ b/wp-includes/blocks/query/editor.min.css @@ -0,0 +1 @@ +.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 16px 16px 52px}.block-library-query__pattern-selection-content .block-editor-block-patterns-list{grid-gap:8px;display:grid;grid-template-columns:1fr 1fr 1fr}.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{margin-bottom:0}.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container{max-height:250px}@media (min-width:600px){.block-library-query-pattern__selection-modal .components-modal__frame{height:calc(100% - 120px);width:calc(100% - 32px)}}@media (min-width:782px){.block-library-query-pattern__selection-modal .components-modal__frame{width:750px}}@media (min-width:960px){.block-library-query-pattern__selection-modal .components-modal__frame{height:70%}}.block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search{background:#fff;margin-bottom:2px;padding:16px 0;position:sticky;top:0;z-index:2}.block-library-query-toolspanel__filters .components-form-token-field__help{margin-bottom:0}.block-library-query-toolspanel__filters .block-library-query-inspector__taxonomy-control:not(:last-child){margin-bottom:24px} \ No newline at end of file diff --git a/wp-includes/blocks/quote/style-rtl.css b/wp-includes/blocks/quote/style-rtl.css new file mode 100644 index 0000000000..e99e31e3d0 --- /dev/null +++ b/wp-includes/blocks/quote/style-rtl.css @@ -0,0 +1,17 @@ +.wp-block-quote{ + box-sizing:border-box; + overflow-wrap:break-word; +} +.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){ + margin-bottom:1em; + padding:0 1em; +} +.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{ + font-size:1.5em; + font-style:italic; + line-height:1.6; +} +.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{ + font-size:1.125em; + text-align:left; +} \ No newline at end of file diff --git a/wp-includes/blocks/quote/style-rtl.min.css b/wp-includes/blocks/quote/style-rtl.min.css new file mode 100644 index 0000000000..84c4c8e84b --- /dev/null +++ b/wp-includes/blocks/quote/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-quote{box-sizing:border-box;overflow-wrap:break-word}.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{font-size:1.125em;text-align:left} \ No newline at end of file diff --git a/wp-includes/blocks/quote/style.css b/wp-includes/blocks/quote/style.css new file mode 100644 index 0000000000..366962d8c1 --- /dev/null +++ b/wp-includes/blocks/quote/style.css @@ -0,0 +1,17 @@ +.wp-block-quote{ + box-sizing:border-box; + overflow-wrap:break-word; +} +.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){ + margin-bottom:1em; + padding:0 1em; +} +.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{ + font-size:1.5em; + font-style:italic; + line-height:1.6; +} +.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{ + font-size:1.125em; + text-align:right; +} \ No newline at end of file diff --git a/wp-includes/blocks/quote/style.min.css b/wp-includes/blocks/quote/style.min.css new file mode 100644 index 0000000000..81cdcd93cf --- /dev/null +++ b/wp-includes/blocks/quote/style.min.css @@ -0,0 +1 @@ +.wp-block-quote{box-sizing:border-box;overflow-wrap:break-word}.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{font-size:1.125em;text-align:right} \ No newline at end of file diff --git a/wp-includes/blocks/quote/theme-rtl.css b/wp-includes/blocks/quote/theme-rtl.css new file mode 100644 index 0000000000..0b72bd7416 --- /dev/null +++ b/wp-includes/blocks/quote/theme-rtl.css @@ -0,0 +1,24 @@ +.wp-block-quote{ + border-right:.25em solid; + margin:0 0 1.75em; + padding-right:1em; +} +.wp-block-quote cite,.wp-block-quote footer{ + color:currentColor; + font-size:.8125em; + font-style:normal; + position:relative; +} +.wp-block-quote.has-text-align-right{ + border-left:.25em solid; + border-right:none; + padding-left:1em; + padding-right:0; +} +.wp-block-quote.has-text-align-center{ + border:none; + padding-right:0; +} +.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{ + border:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/quote/theme-rtl.min.css b/wp-includes/blocks/quote/theme-rtl.min.css new file mode 100644 index 0000000000..1a08a72121 --- /dev/null +++ b/wp-includes/blocks/quote/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote.has-text-align-right{border-left:.25em solid;border-right:none;padding-left:1em;padding-right:0}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{border:none} \ No newline at end of file diff --git a/wp-includes/blocks/quote/theme.css b/wp-includes/blocks/quote/theme.css new file mode 100644 index 0000000000..538f1f04bb --- /dev/null +++ b/wp-includes/blocks/quote/theme.css @@ -0,0 +1,24 @@ +.wp-block-quote{ + border-left:.25em solid; + margin:0 0 1.75em; + padding-left:1em; +} +.wp-block-quote cite,.wp-block-quote footer{ + color:currentColor; + font-size:.8125em; + font-style:normal; + position:relative; +} +.wp-block-quote.has-text-align-right{ + border-left:none; + border-right:.25em solid; + padding-left:0; + padding-right:1em; +} +.wp-block-quote.has-text-align-center{ + border:none; + padding-left:0; +} +.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{ + border:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/quote/theme.min.css b/wp-includes/blocks/quote/theme.min.css new file mode 100644 index 0000000000..8ea27482e4 --- /dev/null +++ b/wp-includes/blocks/quote/theme.min.css @@ -0,0 +1 @@ +.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{border:none} \ No newline at end of file diff --git a/wp-includes/blocks/read-more/style-rtl.css b/wp-includes/blocks/read-more/style-rtl.css new file mode 100644 index 0000000000..8cfefa83df --- /dev/null +++ b/wp-includes/blocks/read-more/style-rtl.css @@ -0,0 +1,8 @@ +.wp-block-read-more{ + display:block; + width:-moz-fit-content; + width:fit-content; +} +.wp-block-read-more:not([style*=text-decoration]),.wp-block-read-more:not([style*=text-decoration]):active,.wp-block-read-more:not([style*=text-decoration]):focus{ + text-decoration:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/read-more/style-rtl.min.css b/wp-includes/blocks/read-more/style-rtl.min.css new file mode 100644 index 0000000000..4f750e6144 --- /dev/null +++ b/wp-includes/blocks/read-more/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-read-more{display:block;width:-moz-fit-content;width:fit-content}.wp-block-read-more:not([style*=text-decoration]),.wp-block-read-more:not([style*=text-decoration]):active,.wp-block-read-more:not([style*=text-decoration]):focus{text-decoration:none} \ No newline at end of file diff --git a/wp-includes/blocks/read-more/style.css b/wp-includes/blocks/read-more/style.css new file mode 100644 index 0000000000..8cfefa83df --- /dev/null +++ b/wp-includes/blocks/read-more/style.css @@ -0,0 +1,8 @@ +.wp-block-read-more{ + display:block; + width:-moz-fit-content; + width:fit-content; +} +.wp-block-read-more:not([style*=text-decoration]),.wp-block-read-more:not([style*=text-decoration]):active,.wp-block-read-more:not([style*=text-decoration]):focus{ + text-decoration:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/read-more/style.min.css b/wp-includes/blocks/read-more/style.min.css new file mode 100644 index 0000000000..4f750e6144 --- /dev/null +++ b/wp-includes/blocks/read-more/style.min.css @@ -0,0 +1 @@ +.wp-block-read-more{display:block;width:-moz-fit-content;width:fit-content}.wp-block-read-more:not([style*=text-decoration]),.wp-block-read-more:not([style*=text-decoration]):active,.wp-block-read-more:not([style*=text-decoration]):focus{text-decoration:none} \ No newline at end of file diff --git a/wp-includes/blocks/rss/editor-rtl.css b/wp-includes/blocks/rss/editor-rtl.css new file mode 100644 index 0000000000..43815b9187 --- /dev/null +++ b/wp-includes/blocks/rss/editor-rtl.css @@ -0,0 +1,16 @@ +.wp-block-rss li a>div{ + display:inline; +} + +.wp-block-rss__placeholder-form>*{ + margin-bottom:8px; +} +@media (min-width:782px){ + .wp-block-rss__placeholder-form>*{ + margin-bottom:0; + } +} +.wp-block-rss__placeholder-form .wp-block-rss__placeholder-input{ + flex:1; + min-width:80%; +} \ No newline at end of file diff --git a/wp-includes/blocks/rss/editor-rtl.min.css b/wp-includes/blocks/rss/editor-rtl.min.css new file mode 100644 index 0000000000..25774d029a --- /dev/null +++ b/wp-includes/blocks/rss/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-form .wp-block-rss__placeholder-input{flex:1;min-width:80%} \ No newline at end of file diff --git a/wp-includes/blocks/rss/editor.css b/wp-includes/blocks/rss/editor.css new file mode 100644 index 0000000000..43815b9187 --- /dev/null +++ b/wp-includes/blocks/rss/editor.css @@ -0,0 +1,16 @@ +.wp-block-rss li a>div{ + display:inline; +} + +.wp-block-rss__placeholder-form>*{ + margin-bottom:8px; +} +@media (min-width:782px){ + .wp-block-rss__placeholder-form>*{ + margin-bottom:0; + } +} +.wp-block-rss__placeholder-form .wp-block-rss__placeholder-input{ + flex:1; + min-width:80%; +} \ No newline at end of file diff --git a/wp-includes/blocks/rss/editor.min.css b/wp-includes/blocks/rss/editor.min.css new file mode 100644 index 0000000000..25774d029a --- /dev/null +++ b/wp-includes/blocks/rss/editor.min.css @@ -0,0 +1 @@ +.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-form .wp-block-rss__placeholder-input{flex:1;min-width:80%} \ No newline at end of file diff --git a/wp-includes/blocks/rss/style-rtl.css b/wp-includes/blocks/rss/style-rtl.css new file mode 100644 index 0000000000..2e5edd0047 --- /dev/null +++ b/wp-includes/blocks/rss/style-rtl.css @@ -0,0 +1,45 @@ +ul.wp-block-rss{ + list-style:none; + padding:0; +} +ul.wp-block-rss.wp-block-rss{ + box-sizing:border-box; +} +ul.wp-block-rss.alignleft{ + margin-right:2em; +} +ul.wp-block-rss.alignright{ + margin-left:2em; +} +ul.wp-block-rss.is-grid{ + display:flex; + flex-wrap:wrap; + list-style:none; + padding:0; +} +ul.wp-block-rss.is-grid li{ + margin:0 0 1em 1em; + width:100%; +} +@media (min-width:600px){ + ul.wp-block-rss.columns-2 li{ + width:calc(50% - 1em); + } + ul.wp-block-rss.columns-3 li{ + width:calc(33.33333% - 1em); + } + ul.wp-block-rss.columns-4 li{ + width:calc(25% - 1em); + } + ul.wp-block-rss.columns-5 li{ + width:calc(20% - 1em); + } + ul.wp-block-rss.columns-6 li{ + width:calc(16.66667% - 1em); + } +} + +.wp-block-rss__item-author,.wp-block-rss__item-publish-date{ + display:block; + font-size:.8125em; +} \ No newline at end of file diff --git a/wp-includes/blocks/rss/style-rtl.min.css b/wp-includes/blocks/rss/style-rtl.min.css new file mode 100644 index 0000000000..6db26a0838 --- /dev/null +++ b/wp-includes/blocks/rss/style-rtl.min.css @@ -0,0 +1 @@ +ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;list-style:none;padding:0}ul.wp-block-rss.is-grid li{margin:0 0 1em 1em;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em} \ No newline at end of file diff --git a/wp-includes/blocks/rss/style.css b/wp-includes/blocks/rss/style.css new file mode 100644 index 0000000000..e25bf93759 --- /dev/null +++ b/wp-includes/blocks/rss/style.css @@ -0,0 +1,45 @@ +ul.wp-block-rss{ + list-style:none; + padding:0; +} +ul.wp-block-rss.wp-block-rss{ + box-sizing:border-box; +} +ul.wp-block-rss.alignleft{ + margin-right:2em; +} +ul.wp-block-rss.alignright{ + margin-left:2em; +} +ul.wp-block-rss.is-grid{ + display:flex; + flex-wrap:wrap; + list-style:none; + padding:0; +} +ul.wp-block-rss.is-grid li{ + margin:0 1em 1em 0; + width:100%; +} +@media (min-width:600px){ + ul.wp-block-rss.columns-2 li{ + width:calc(50% - 1em); + } + ul.wp-block-rss.columns-3 li{ + width:calc(33.33333% - 1em); + } + ul.wp-block-rss.columns-4 li{ + width:calc(25% - 1em); + } + ul.wp-block-rss.columns-5 li{ + width:calc(20% - 1em); + } + ul.wp-block-rss.columns-6 li{ + width:calc(16.66667% - 1em); + } +} + +.wp-block-rss__item-author,.wp-block-rss__item-publish-date{ + display:block; + font-size:.8125em; +} \ No newline at end of file diff --git a/wp-includes/blocks/rss/style.min.css b/wp-includes/blocks/rss/style.min.css new file mode 100644 index 0000000000..4ec346d837 --- /dev/null +++ b/wp-includes/blocks/rss/style.min.css @@ -0,0 +1 @@ +ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;list-style:none;padding:0}ul.wp-block-rss.is-grid li{margin:0 1em 1em 0;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em} \ No newline at end of file diff --git a/wp-includes/blocks/search/editor-rtl.css b/wp-includes/blocks/search/editor-rtl.css new file mode 100644 index 0000000000..02dea0c193 --- /dev/null +++ b/wp-includes/blocks/search/editor-rtl.css @@ -0,0 +1,13 @@ +.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{ + margin:auto; +} + +.wp-block-search .wp-block-search__button{ + align-items:center; + border-radius:initial; + display:flex; + height:auto; +} +.wp-block-search__components-button-group{ + margin-top:10px; +} \ No newline at end of file diff --git a/wp-includes/blocks/search/editor-rtl.min.css b/wp-includes/blocks/search/editor-rtl.min.css new file mode 100644 index 0000000000..71504415c9 --- /dev/null +++ b/wp-includes/blocks/search/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__button{align-items:center;border-radius:initial;display:flex;height:auto}.wp-block-search__components-button-group{margin-top:10px} \ No newline at end of file diff --git a/wp-includes/blocks/search/editor.css b/wp-includes/blocks/search/editor.css new file mode 100644 index 0000000000..02dea0c193 --- /dev/null +++ b/wp-includes/blocks/search/editor.css @@ -0,0 +1,13 @@ +.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{ + margin:auto; +} + +.wp-block-search .wp-block-search__button{ + align-items:center; + border-radius:initial; + display:flex; + height:auto; +} +.wp-block-search__components-button-group{ + margin-top:10px; +} \ No newline at end of file diff --git a/wp-includes/blocks/search/editor.min.css b/wp-includes/blocks/search/editor.min.css new file mode 100644 index 0000000000..71504415c9 --- /dev/null +++ b/wp-includes/blocks/search/editor.min.css @@ -0,0 +1 @@ +.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__button{align-items:center;border-radius:initial;display:flex;height:auto}.wp-block-search__components-button-group{margin-top:10px} \ No newline at end of file diff --git a/wp-includes/blocks/search/style-rtl.css b/wp-includes/blocks/search/style-rtl.css new file mode 100644 index 0000000000..109f3daec0 --- /dev/null +++ b/wp-includes/blocks/search/style-rtl.css @@ -0,0 +1,63 @@ +.wp-block-search__button{ + margin-right:.625em; + word-break:normal; +} +.wp-block-search__button.has-icon{ + line-height:0; +} +.wp-block-search__button svg{ + fill:currentColor; + min-height:1.5em; + min-width:1.5em; + vertical-align:text-bottom; +} + +:where(.wp-block-search__button){ + border:1px solid #ccc; + padding:.375em .625em; +} + +.wp-block-search__inside-wrapper{ + display:flex; + flex:auto; + flex-wrap:nowrap; + max-width:100%; +} + +.wp-block-search__label{ + width:100%; +} + +.wp-block-search__input{ + border:1px solid #949494; + flex-grow:1; + margin-left:0; + margin-right:0; + min-width:3em; + padding:8px; + text-decoration:unset !important; +} + +.wp-block-search.wp-block-search__button-only .wp-block-search__button{ + margin-right:0; +} + +:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){ + border:1px solid #949494; + padding:4px; +} +:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input{ + border:none; + border-radius:0; + padding:0 .25em 0 0; +} +:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input:focus{ + outline:none; +} +:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) :where(.wp-block-search__button){ + padding:.125em .5em; +} + +.wp-block-search.aligncenter .wp-block-search__inside-wrapper{ + margin:auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/search/style-rtl.min.css b/wp-includes/blocks/search/style-rtl.min.css new file mode 100644 index 0000000000..9051efe6be --- /dev/null +++ b/wp-includes/blocks/search/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-search__button{margin-right:.625em;word-break:normal}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{fill:currentColor;min-height:1.5em;min-width:1.5em;vertical-align:text-bottom}:where(.wp-block-search__button){border:1px solid #ccc;padding:.375em .625em}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{border:1px solid #949494;flex-grow:1;margin-left:0;margin-right:0;min-width:3em;padding:8px;text-decoration:unset!important}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-right:0}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){border:1px solid #949494;padding:4px}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input{border:none;border-radius:0;padding:0 .25em 0 0}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input:focus{outline:none}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) :where(.wp-block-search__button){padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto} \ No newline at end of file diff --git a/wp-includes/blocks/search/style.css b/wp-includes/blocks/search/style.css new file mode 100644 index 0000000000..a4fcdfd0ed --- /dev/null +++ b/wp-includes/blocks/search/style.css @@ -0,0 +1,63 @@ +.wp-block-search__button{ + margin-left:.625em; + word-break:normal; +} +.wp-block-search__button.has-icon{ + line-height:0; +} +.wp-block-search__button svg{ + fill:currentColor; + min-height:1.5em; + min-width:1.5em; + vertical-align:text-bottom; +} + +:where(.wp-block-search__button){ + border:1px solid #ccc; + padding:.375em .625em; +} + +.wp-block-search__inside-wrapper{ + display:flex; + flex:auto; + flex-wrap:nowrap; + max-width:100%; +} + +.wp-block-search__label{ + width:100%; +} + +.wp-block-search__input{ + border:1px solid #949494; + flex-grow:1; + margin-left:0; + margin-right:0; + min-width:3em; + padding:8px; + text-decoration:unset !important; +} + +.wp-block-search.wp-block-search__button-only .wp-block-search__button{ + margin-left:0; +} + +:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){ + border:1px solid #949494; + padding:4px; +} +:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input{ + border:none; + border-radius:0; + padding:0 0 0 .25em; +} +:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input:focus{ + outline:none; +} +:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) :where(.wp-block-search__button){ + padding:.125em .5em; +} + +.wp-block-search.aligncenter .wp-block-search__inside-wrapper{ + margin:auto; +} \ No newline at end of file diff --git a/wp-includes/blocks/search/style.min.css b/wp-includes/blocks/search/style.min.css new file mode 100644 index 0000000000..3d35392f8c --- /dev/null +++ b/wp-includes/blocks/search/style.min.css @@ -0,0 +1 @@ +.wp-block-search__button{margin-left:.625em;word-break:normal}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{fill:currentColor;min-height:1.5em;min-width:1.5em;vertical-align:text-bottom}:where(.wp-block-search__button){border:1px solid #ccc;padding:.375em .625em}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{border:1px solid #949494;flex-grow:1;margin-left:0;margin-right:0;min-width:3em;padding:8px;text-decoration:unset!important}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-left:0}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){border:1px solid #949494;padding:4px}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input{border:none;border-radius:0;padding:0 0 0 .25em}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input:focus{outline:none}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) :where(.wp-block-search__button){padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto} \ No newline at end of file diff --git a/wp-includes/blocks/search/theme-rtl.css b/wp-includes/blocks/search/theme-rtl.css new file mode 100644 index 0000000000..18713bb9ca --- /dev/null +++ b/wp-includes/blocks/search/theme-rtl.css @@ -0,0 +1,8 @@ +.wp-block-search .wp-block-search__label{ + font-weight:700; +} + +.wp-block-search__button{ + border:1px solid #ccc; + padding:.375em .625em; +} \ No newline at end of file diff --git a/wp-includes/blocks/search/theme-rtl.min.css b/wp-includes/blocks/search/theme-rtl.min.css new file mode 100644 index 0000000000..8938965d1e --- /dev/null +++ b/wp-includes/blocks/search/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-search__button{border:1px solid #ccc;padding:.375em .625em} \ No newline at end of file diff --git a/wp-includes/blocks/search/theme.css b/wp-includes/blocks/search/theme.css new file mode 100644 index 0000000000..18713bb9ca --- /dev/null +++ b/wp-includes/blocks/search/theme.css @@ -0,0 +1,8 @@ +.wp-block-search .wp-block-search__label{ + font-weight:700; +} + +.wp-block-search__button{ + border:1px solid #ccc; + padding:.375em .625em; +} \ No newline at end of file diff --git a/wp-includes/blocks/search/theme.min.css b/wp-includes/blocks/search/theme.min.css new file mode 100644 index 0000000000..8938965d1e --- /dev/null +++ b/wp-includes/blocks/search/theme.min.css @@ -0,0 +1 @@ +.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-search__button{border:1px solid #ccc;padding:.375em .625em} \ No newline at end of file diff --git a/wp-includes/blocks/separator/editor-rtl.css b/wp-includes/blocks/separator/editor-rtl.css new file mode 100644 index 0000000000..61ef708da4 --- /dev/null +++ b/wp-includes/blocks/separator/editor-rtl.css @@ -0,0 +1,8 @@ +.block-editor-block-list__block[data-type="core/separator"]{ + padding-bottom:.1px; + padding-top:.1px; +} +.block-editor-block-list__block[data-type="core/separator"].wp-block-separator.is-style-dots{ + background:none !important; + border:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/separator/editor-rtl.min.css b/wp-includes/blocks/separator/editor-rtl.min.css new file mode 100644 index 0000000000..2f5b2442d6 --- /dev/null +++ b/wp-includes/blocks/separator/editor-rtl.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/separator"]{padding-bottom:.1px;padding-top:.1px}.block-editor-block-list__block[data-type="core/separator"].wp-block-separator.is-style-dots{background:none!important;border:none} \ No newline at end of file diff --git a/wp-includes/blocks/separator/editor.css b/wp-includes/blocks/separator/editor.css new file mode 100644 index 0000000000..61ef708da4 --- /dev/null +++ b/wp-includes/blocks/separator/editor.css @@ -0,0 +1,8 @@ +.block-editor-block-list__block[data-type="core/separator"]{ + padding-bottom:.1px; + padding-top:.1px; +} +.block-editor-block-list__block[data-type="core/separator"].wp-block-separator.is-style-dots{ + background:none !important; + border:none; +} \ No newline at end of file diff --git a/wp-includes/blocks/separator/editor.min.css b/wp-includes/blocks/separator/editor.min.css new file mode 100644 index 0000000000..2f5b2442d6 --- /dev/null +++ b/wp-includes/blocks/separator/editor.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/separator"]{padding-bottom:.1px;padding-top:.1px}.block-editor-block-list__block[data-type="core/separator"].wp-block-separator.is-style-dots{background:none!important;border:none} \ No newline at end of file diff --git a/wp-includes/blocks/separator/style-rtl.css b/wp-includes/blocks/separator/style-rtl.css new file mode 100644 index 0000000000..e0faf6da61 --- /dev/null +++ b/wp-includes/blocks/separator/style-rtl.css @@ -0,0 +1,21 @@ +@charset "UTF-8"; +.wp-block-separator{ + border:1px solid; + border-left:none; + border-right:none; +} +.wp-block-separator.is-style-dots{ + background:none !important; + border:none; + height:auto; + line-height:1; + text-align:center; +} +.wp-block-separator.is-style-dots:before{ + color:currentColor; + content:"···"; + font-family:serif; + font-size:1.5em; + letter-spacing:2em; + padding-left:2em; +} \ No newline at end of file diff --git a/wp-includes/blocks/separator/style-rtl.min.css b/wp-includes/blocks/separator/style-rtl.min.css new file mode 100644 index 0000000000..20f594b09c --- /dev/null +++ b/wp-includes/blocks/separator/style-rtl.min.css @@ -0,0 +1 @@ +@charset "UTF-8";.wp-block-separator{border:1px solid;border-left:none;border-right:none}.wp-block-separator.is-style-dots{background:none!important;border:none;height:auto;line-height:1;text-align:center}.wp-block-separator.is-style-dots:before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em} \ No newline at end of file diff --git a/wp-includes/blocks/separator/style.css b/wp-includes/blocks/separator/style.css new file mode 100644 index 0000000000..e0faf6da61 --- /dev/null +++ b/wp-includes/blocks/separator/style.css @@ -0,0 +1,21 @@ +@charset "UTF-8"; +.wp-block-separator{ + border:1px solid; + border-left:none; + border-right:none; +} +.wp-block-separator.is-style-dots{ + background:none !important; + border:none; + height:auto; + line-height:1; + text-align:center; +} +.wp-block-separator.is-style-dots:before{ + color:currentColor; + content:"···"; + font-family:serif; + font-size:1.5em; + letter-spacing:2em; + padding-left:2em; +} \ No newline at end of file diff --git a/wp-includes/blocks/separator/style.min.css b/wp-includes/blocks/separator/style.min.css new file mode 100644 index 0000000000..20f594b09c --- /dev/null +++ b/wp-includes/blocks/separator/style.min.css @@ -0,0 +1 @@ +@charset "UTF-8";.wp-block-separator{border:1px solid;border-left:none;border-right:none}.wp-block-separator.is-style-dots{background:none!important;border:none;height:auto;line-height:1;text-align:center}.wp-block-separator.is-style-dots:before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em} \ No newline at end of file diff --git a/wp-includes/blocks/separator/theme-rtl.css b/wp-includes/blocks/separator/theme-rtl.css new file mode 100644 index 0000000000..57b48e4906 --- /dev/null +++ b/wp-includes/blocks/separator/theme-rtl.css @@ -0,0 +1,23 @@ +.wp-block-separator.has-css-opacity{ + opacity:.4; +} + +.wp-block-separator{ + border:none; + border-bottom:2px solid; + margin-left:auto; + margin-right:auto; +} +.wp-block-separator.has-alpha-channel-opacity{ + opacity:1; +} +.wp-block-separator:not(.is-style-wide):not(.is-style-dots){ + width:100px; +} +.wp-block-separator.has-background:not(.is-style-dots){ + border-bottom:none; + height:1px; +} +.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){ + height:2px; +} \ No newline at end of file diff --git a/wp-includes/blocks/separator/theme-rtl.min.css b/wp-includes/blocks/separator/theme-rtl.min.css new file mode 100644 index 0000000000..6ed5d13009 --- /dev/null +++ b/wp-includes/blocks/separator/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-separator.has-css-opacity{opacity:.4}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto}.wp-block-separator.has-alpha-channel-opacity{opacity:1}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px} \ No newline at end of file diff --git a/wp-includes/blocks/separator/theme.css b/wp-includes/blocks/separator/theme.css new file mode 100644 index 0000000000..57b48e4906 --- /dev/null +++ b/wp-includes/blocks/separator/theme.css @@ -0,0 +1,23 @@ +.wp-block-separator.has-css-opacity{ + opacity:.4; +} + +.wp-block-separator{ + border:none; + border-bottom:2px solid; + margin-left:auto; + margin-right:auto; +} +.wp-block-separator.has-alpha-channel-opacity{ + opacity:1; +} +.wp-block-separator:not(.is-style-wide):not(.is-style-dots){ + width:100px; +} +.wp-block-separator.has-background:not(.is-style-dots){ + border-bottom:none; + height:1px; +} +.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){ + height:2px; +} \ No newline at end of file diff --git a/wp-includes/blocks/separator/theme.min.css b/wp-includes/blocks/separator/theme.min.css new file mode 100644 index 0000000000..6ed5d13009 --- /dev/null +++ b/wp-includes/blocks/separator/theme.min.css @@ -0,0 +1 @@ +.wp-block-separator.has-css-opacity{opacity:.4}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto}.wp-block-separator.has-alpha-channel-opacity{opacity:1}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px} \ No newline at end of file diff --git a/wp-includes/blocks/shortcode/editor-rtl.css b/wp-includes/blocks/shortcode/editor-rtl.css new file mode 100644 index 0000000000..f65762ac2a --- /dev/null +++ b/wp-includes/blocks/shortcode/editor-rtl.css @@ -0,0 +1,44 @@ +[data-type="core/shortcode"] .block-editor-plain-text{ + max-height:250px; +} +[data-type="core/shortcode"].components-placeholder{ + min-height:0; +} + +.blocks-shortcode__textarea{ + border:1px solid #949494; + border-radius:2px; + box-shadow:0 0 0 transparent; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:16px; + line-height:normal; + padding:6px 8px; + transition:box-shadow .1s linear; +} +@media (prefers-reduced-motion:reduce){ + .blocks-shortcode__textarea{ + transition-delay:0s; + transition-duration:0s; + } +} +@media (min-width:600px){ + .blocks-shortcode__textarea{ + font-size:13px; + line-height:normal; + } +} +.blocks-shortcode__textarea:focus{ + border-color:var(--wp-admin-theme-color); + box-shadow:0 0 0 1px var(--wp-admin-theme-color); + outline:2px solid transparent; +} +.blocks-shortcode__textarea::-webkit-input-placeholder{ + color:rgba(30,30,30,.62); +} +.blocks-shortcode__textarea::-moz-placeholder{ + color:rgba(30,30,30,.62); + opacity:1; +} +.blocks-shortcode__textarea:-ms-input-placeholder{ + color:rgba(30,30,30,.62); +} \ No newline at end of file diff --git a/wp-includes/blocks/shortcode/editor-rtl.min.css b/wp-includes/blocks/shortcode/editor-rtl.min.css new file mode 100644 index 0000000000..cf36ccce30 --- /dev/null +++ b/wp-includes/blocks/shortcode/editor-rtl.min.css @@ -0,0 +1 @@ +[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{border:1px solid #949494;border-radius:2px;box-shadow:0 0 0 transparent;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:normal;padding:6px 8px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-delay:0s;transition-duration:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)} \ No newline at end of file diff --git a/wp-includes/blocks/shortcode/editor.css b/wp-includes/blocks/shortcode/editor.css new file mode 100644 index 0000000000..f65762ac2a --- /dev/null +++ b/wp-includes/blocks/shortcode/editor.css @@ -0,0 +1,44 @@ +[data-type="core/shortcode"] .block-editor-plain-text{ + max-height:250px; +} +[data-type="core/shortcode"].components-placeholder{ + min-height:0; +} + +.blocks-shortcode__textarea{ + border:1px solid #949494; + border-radius:2px; + box-shadow:0 0 0 transparent; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:16px; + line-height:normal; + padding:6px 8px; + transition:box-shadow .1s linear; +} +@media (prefers-reduced-motion:reduce){ + .blocks-shortcode__textarea{ + transition-delay:0s; + transition-duration:0s; + } +} +@media (min-width:600px){ + .blocks-shortcode__textarea{ + font-size:13px; + line-height:normal; + } +} +.blocks-shortcode__textarea:focus{ + border-color:var(--wp-admin-theme-color); + box-shadow:0 0 0 1px var(--wp-admin-theme-color); + outline:2px solid transparent; +} +.blocks-shortcode__textarea::-webkit-input-placeholder{ + color:rgba(30,30,30,.62); +} +.blocks-shortcode__textarea::-moz-placeholder{ + color:rgba(30,30,30,.62); + opacity:1; +} +.blocks-shortcode__textarea:-ms-input-placeholder{ + color:rgba(30,30,30,.62); +} \ No newline at end of file diff --git a/wp-includes/blocks/shortcode/editor.min.css b/wp-includes/blocks/shortcode/editor.min.css new file mode 100644 index 0000000000..cf36ccce30 --- /dev/null +++ b/wp-includes/blocks/shortcode/editor.min.css @@ -0,0 +1 @@ +[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{border:1px solid #949494;border-radius:2px;box-shadow:0 0 0 transparent;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:normal;padding:6px 8px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-delay:0s;transition-duration:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)} \ No newline at end of file diff --git a/wp-includes/blocks/site-logo/editor-rtl.css b/wp-includes/blocks/site-logo/editor-rtl.css new file mode 100644 index 0000000000..425dff221a --- /dev/null +++ b/wp-includes/blocks/site-logo/editor-rtl.css @@ -0,0 +1,62 @@ +.wp-block-site-logo.aligncenter>div,.wp-block[data-align=center]>.wp-block-site-logo{ + display:table; + margin-left:auto; + margin-right:auto; +} + +.wp-block-site-logo a{ + pointer-events:none; +} +.wp-block-site-logo .custom-logo-link{ + cursor:inherit; +} +.wp-block-site-logo .custom-logo-link:focus{ + box-shadow:none; +} +.wp-block-site-logo .custom-logo-link.is-transient img{ + opacity:.3; +} +.wp-block-site-logo img{ + display:block; + height:auto; + max-width:100%; +} + +.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{ + height:60px; + width:60px; +} +.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container,.wp-block-site-logo.wp-block-site-logo>div{ + border-radius:inherit; +} +.wp-block-site-logo.wp-block-site-logo .components-placeholder{ + align-items:center; + border-radius:inherit; + display:flex; + height:100%; + justify-content:center; + min-height:48px; + min-width:48px; + padding:0; + width:100%; +} +.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text,.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{ + display:none; +} +.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{ + align-items:center; + background:var(--wp-admin-theme-color); + border-color:var(--wp-admin-theme-color); + border-radius:50%; + border-style:solid; + color:#fff; + display:flex; + height:48px; + justify-content:center; + padding:0; + position:relative; + width:48px; +} +.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-logo/editor-rtl.min.css b/wp-includes/blocks/site-logo/editor-rtl.min.css new file mode 100644 index 0000000000..bb2bb8baa7 --- /dev/null +++ b/wp-includes/blocks/site-logo/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-site-logo.aligncenter>div,.wp-block[data-align=center]>.wp-block-site-logo{display:table;margin-left:auto;margin-right:auto}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;height:auto;max-width:100%}.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{height:60px;width:60px}.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container,.wp-block-site-logo.wp-block-site-logo>div{border-radius:inherit}.wp-block-site-logo.wp-block-site-logo .components-placeholder{align-items:center;border-radius:inherit;display:flex;height:100%;justify-content:center;min-height:48px;min-width:48px;padding:0;width:100%}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text,.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{align-items:center;background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-radius:50%;border-style:solid;color:#fff;display:flex;height:48px;justify-content:center;padding:0;position:relative;width:48px}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/site-logo/editor.css b/wp-includes/blocks/site-logo/editor.css new file mode 100644 index 0000000000..425dff221a --- /dev/null +++ b/wp-includes/blocks/site-logo/editor.css @@ -0,0 +1,62 @@ +.wp-block-site-logo.aligncenter>div,.wp-block[data-align=center]>.wp-block-site-logo{ + display:table; + margin-left:auto; + margin-right:auto; +} + +.wp-block-site-logo a{ + pointer-events:none; +} +.wp-block-site-logo .custom-logo-link{ + cursor:inherit; +} +.wp-block-site-logo .custom-logo-link:focus{ + box-shadow:none; +} +.wp-block-site-logo .custom-logo-link.is-transient img{ + opacity:.3; +} +.wp-block-site-logo img{ + display:block; + height:auto; + max-width:100%; +} + +.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{ + height:60px; + width:60px; +} +.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container,.wp-block-site-logo.wp-block-site-logo>div{ + border-radius:inherit; +} +.wp-block-site-logo.wp-block-site-logo .components-placeholder{ + align-items:center; + border-radius:inherit; + display:flex; + height:100%; + justify-content:center; + min-height:48px; + min-width:48px; + padding:0; + width:100%; +} +.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text,.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{ + display:none; +} +.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{ + align-items:center; + background:var(--wp-admin-theme-color); + border-color:var(--wp-admin-theme-color); + border-radius:50%; + border-style:solid; + color:#fff; + display:flex; + height:48px; + justify-content:center; + padding:0; + position:relative; + width:48px; +} +.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-logo/editor.min.css b/wp-includes/blocks/site-logo/editor.min.css new file mode 100644 index 0000000000..bb2bb8baa7 --- /dev/null +++ b/wp-includes/blocks/site-logo/editor.min.css @@ -0,0 +1 @@ +.wp-block-site-logo.aligncenter>div,.wp-block[data-align=center]>.wp-block-site-logo{display:table;margin-left:auto;margin-right:auto}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;height:auto;max-width:100%}.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{height:60px;width:60px}.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container,.wp-block-site-logo.wp-block-site-logo>div{border-radius:inherit}.wp-block-site-logo.wp-block-site-logo .components-placeholder{align-items:center;border-radius:inherit;display:flex;height:100%;justify-content:center;min-height:48px;min-width:48px;padding:0;width:100%}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text,.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{align-items:center;background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-radius:50%;border-style:solid;color:#fff;display:flex;height:48px;justify-content:center;padding:0;position:relative;width:48px}.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/site-logo/style-rtl.css b/wp-includes/blocks/site-logo/style-rtl.css new file mode 100644 index 0000000000..41824bf991 --- /dev/null +++ b/wp-includes/blocks/site-logo/style-rtl.css @@ -0,0 +1,26 @@ +.wp-block-site-logo{ + box-sizing:border-box; + line-height:0; +} +.wp-block-site-logo a{ + display:inline-block; +} +.wp-block-site-logo.is-default-size img{ + height:auto; + width:120px; +} +.wp-block-site-logo img{ + height:auto; + max-width:100%; +} +.wp-block-site-logo a,.wp-block-site-logo img{ + border-radius:inherit; +} +.wp-block-site-logo.aligncenter{ + margin-left:auto; + margin-right:auto; + text-align:center; +} +.wp-block-site-logo.is-style-rounded{ + border-radius:9999px; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-logo/style-rtl.min.css b/wp-includes/blocks/site-logo/style-rtl.min.css new file mode 100644 index 0000000000..f601890a55 --- /dev/null +++ b/wp-includes/blocks/site-logo/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-site-logo{box-sizing:border-box;line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{height:auto;width:120px}.wp-block-site-logo img{height:auto;max-width:100%}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{margin-left:auto;margin-right:auto;text-align:center}.wp-block-site-logo.is-style-rounded{border-radius:9999px} \ No newline at end of file diff --git a/wp-includes/blocks/site-logo/style.css b/wp-includes/blocks/site-logo/style.css new file mode 100644 index 0000000000..41824bf991 --- /dev/null +++ b/wp-includes/blocks/site-logo/style.css @@ -0,0 +1,26 @@ +.wp-block-site-logo{ + box-sizing:border-box; + line-height:0; +} +.wp-block-site-logo a{ + display:inline-block; +} +.wp-block-site-logo.is-default-size img{ + height:auto; + width:120px; +} +.wp-block-site-logo img{ + height:auto; + max-width:100%; +} +.wp-block-site-logo a,.wp-block-site-logo img{ + border-radius:inherit; +} +.wp-block-site-logo.aligncenter{ + margin-left:auto; + margin-right:auto; + text-align:center; +} +.wp-block-site-logo.is-style-rounded{ + border-radius:9999px; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-logo/style.min.css b/wp-includes/blocks/site-logo/style.min.css new file mode 100644 index 0000000000..f601890a55 --- /dev/null +++ b/wp-includes/blocks/site-logo/style.min.css @@ -0,0 +1 @@ +.wp-block-site-logo{box-sizing:border-box;line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{height:auto;width:120px}.wp-block-site-logo img{height:auto;max-width:100%}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{margin-left:auto;margin-right:auto;text-align:center}.wp-block-site-logo.is-style-rounded{border-radius:9999px} \ No newline at end of file diff --git a/wp-includes/blocks/site-tagline/editor-rtl.css b/wp-includes/blocks/site-tagline/editor-rtl.css new file mode 100644 index 0000000000..b96a39526e --- /dev/null +++ b/wp-includes/blocks/site-tagline/editor-rtl.css @@ -0,0 +1,4 @@ +.wp-block-site-tagline__placeholder{ + border:1px dashed; + padding:1em 0; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-tagline/editor-rtl.min.css b/wp-includes/blocks/site-tagline/editor-rtl.min.css new file mode 100644 index 0000000000..71eb738ddd --- /dev/null +++ b/wp-includes/blocks/site-tagline/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-site-tagline__placeholder{border:1px dashed;padding:1em 0} \ No newline at end of file diff --git a/wp-includes/blocks/site-tagline/editor.css b/wp-includes/blocks/site-tagline/editor.css new file mode 100644 index 0000000000..b96a39526e --- /dev/null +++ b/wp-includes/blocks/site-tagline/editor.css @@ -0,0 +1,4 @@ +.wp-block-site-tagline__placeholder{ + border:1px dashed; + padding:1em 0; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-tagline/editor.min.css b/wp-includes/blocks/site-tagline/editor.min.css new file mode 100644 index 0000000000..71eb738ddd --- /dev/null +++ b/wp-includes/blocks/site-tagline/editor.min.css @@ -0,0 +1 @@ +.wp-block-site-tagline__placeholder{border:1px dashed;padding:1em 0} \ No newline at end of file diff --git a/wp-includes/blocks/site-title/editor-rtl.css b/wp-includes/blocks/site-title/editor-rtl.css new file mode 100644 index 0000000000..173e08ff7e --- /dev/null +++ b/wp-includes/blocks/site-title/editor-rtl.css @@ -0,0 +1,8 @@ +.wp-block-site-title__placeholder{ + border:1px dashed; + padding:1em 0; +} + +.editor-styles-wrapper .wp-block-site-title a{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-title/editor-rtl.min.css b/wp-includes/blocks/site-title/editor-rtl.min.css new file mode 100644 index 0000000000..84aabb4eaa --- /dev/null +++ b/wp-includes/blocks/site-title/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-site-title__placeholder{border:1px dashed;padding:1em 0}.editor-styles-wrapper .wp-block-site-title a{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/site-title/editor.css b/wp-includes/blocks/site-title/editor.css new file mode 100644 index 0000000000..173e08ff7e --- /dev/null +++ b/wp-includes/blocks/site-title/editor.css @@ -0,0 +1,8 @@ +.wp-block-site-title__placeholder{ + border:1px dashed; + padding:1em 0; +} + +.editor-styles-wrapper .wp-block-site-title a{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-title/editor.min.css b/wp-includes/blocks/site-title/editor.min.css new file mode 100644 index 0000000000..84aabb4eaa --- /dev/null +++ b/wp-includes/blocks/site-title/editor.min.css @@ -0,0 +1 @@ +.wp-block-site-title__placeholder{border:1px dashed;padding:1em 0}.editor-styles-wrapper .wp-block-site-title a{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/site-title/style-rtl.css b/wp-includes/blocks/site-title/style-rtl.css new file mode 100644 index 0000000000..eacca37d1c --- /dev/null +++ b/wp-includes/blocks/site-title/style-rtl.css @@ -0,0 +1,3 @@ +.wp-block-site-title a{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-title/style-rtl.min.css b/wp-includes/blocks/site-title/style-rtl.min.css new file mode 100644 index 0000000000..1f019483b7 --- /dev/null +++ b/wp-includes/blocks/site-title/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-site-title a{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/site-title/style.css b/wp-includes/blocks/site-title/style.css new file mode 100644 index 0000000000..eacca37d1c --- /dev/null +++ b/wp-includes/blocks/site-title/style.css @@ -0,0 +1,3 @@ +.wp-block-site-title a{ + color:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/site-title/style.min.css b/wp-includes/blocks/site-title/style.min.css new file mode 100644 index 0000000000..1f019483b7 --- /dev/null +++ b/wp-includes/blocks/site-title/style.min.css @@ -0,0 +1 @@ +.wp-block-site-title a{color:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/social-link/editor-rtl.css b/wp-includes/blocks/social-link/editor-rtl.css new file mode 100644 index 0000000000..8c16bcf2aa --- /dev/null +++ b/wp-includes/blocks/social-link/editor-rtl.css @@ -0,0 +1,20 @@ +.wp-block-social-links .wp-social-link{ + line-height:0; +} +.wp-block-social-links .wp-social-link button{ + color:currentColor; + font-size:inherit; + height:auto; + line-height:0; + opacity:1; + padding:.25em; +} + +.wp-block-social-links.is-style-pill-shape .wp-social-link button{ + padding-left:.66667em; + padding-right:.66667em; +} + +.wp-block-social-links.is-style-logos-only .wp-social-link button{ + padding:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/social-link/editor-rtl.min.css b/wp-includes/blocks/social-link/editor-rtl.min.css new file mode 100644 index 0000000000..ff5a4b87d7 --- /dev/null +++ b/wp-includes/blocks/social-link/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{color:currentColor;font-size:inherit;height:auto;line-height:0;opacity:1;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0} \ No newline at end of file diff --git a/wp-includes/blocks/social-link/editor.css b/wp-includes/blocks/social-link/editor.css new file mode 100644 index 0000000000..8c16bcf2aa --- /dev/null +++ b/wp-includes/blocks/social-link/editor.css @@ -0,0 +1,20 @@ +.wp-block-social-links .wp-social-link{ + line-height:0; +} +.wp-block-social-links .wp-social-link button{ + color:currentColor; + font-size:inherit; + height:auto; + line-height:0; + opacity:1; + padding:.25em; +} + +.wp-block-social-links.is-style-pill-shape .wp-social-link button{ + padding-left:.66667em; + padding-right:.66667em; +} + +.wp-block-social-links.is-style-logos-only .wp-social-link button{ + padding:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/social-link/editor.min.css b/wp-includes/blocks/social-link/editor.min.css new file mode 100644 index 0000000000..ff5a4b87d7 --- /dev/null +++ b/wp-includes/blocks/social-link/editor.min.css @@ -0,0 +1 @@ +.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{color:currentColor;font-size:inherit;height:auto;line-height:0;opacity:1;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0} \ No newline at end of file diff --git a/wp-includes/blocks/social-links/editor-rtl.css b/wp-includes/blocks/social-links/editor-rtl.css new file mode 100644 index 0000000000..734c0653ff --- /dev/null +++ b/wp-includes/blocks/social-links/editor-rtl.css @@ -0,0 +1,87 @@ +.wp-block-social-links div.block-editor-url-input{ + display:inline-block; + margin-right:8px; +} +.wp-block-social-links.wp-block-social-links{ + background:none; +} + +.wp-social-link:hover{ + transform:none; +} + +.editor-styles-wrapper .wp-block-social-links{ + padding:0; +} + +.wp-block-social-links__social-placeholder{ + display:flex; + list-style:none; + opacity:.8; +} +.wp-block-social-links__social-placeholder>.wp-social-link{ + margin-left:0 !important; + margin-right:0 !important; + padding-left:0 !important; + padding-right:0 !important; + visibility:hidden; + width:0 !important; +} +.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{ + display:flex; +} +.wp-block-social-links__social-placeholder .wp-social-link{ + padding:.25em; +} +.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{ + padding-left:.66667em; + padding-right:.66667em; +} +.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{ + padding:0; +} +.wp-block-social-links__social-placeholder .wp-social-link:before{ + border-radius:50%; + content:""; + display:block; + height:1em; + width:1em; +} +.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{ + background:currentColor; +} + +.wp-block-social-links .wp-block-social-links__social-prompt{ + cursor:default; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + line-height:24px; + list-style:none; + margin-bottom:auto; + margin-top:auto; + min-height:24px; + order:2; + padding-left:8px; +} + +.wp-block[data-align=center]>.wp-block-social-links{ + justify-content:center; +} + +.block-editor-block-preview__content .components-button:disabled{ + opacity:1; +} + +.wp-social-link.wp-social-link__is-incomplete{ + opacity:.5; +} +@media (prefers-reduced-motion:reduce){ + .wp-social-link.wp-social-link__is-incomplete{ + transition-delay:0s; + transition-duration:0s; + } +} + +.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{ + opacity:1; +} \ No newline at end of file diff --git a/wp-includes/blocks/social-links/editor-rtl.min.css b/wp-includes/blocks/social-links/editor-rtl.min.css new file mode 100644 index 0000000000..4df6721ee3 --- /dev/null +++ b/wp-includes/blocks/social-links/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.wp-block-social-links.wp-block-social-links{background:none}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;list-style:none;opacity:.8}.wp-block-social-links__social-placeholder>.wp-social-link{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;visibility:hidden;width:0!important}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-left:.66667em;padding-right:.66667em}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{padding:0}.wp-block-social-links__social-placeholder .wp-social-link:before{border-radius:50%;content:"";display:block;height:1em;width:1em}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{cursor:default;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;list-style:none;margin-bottom:auto;margin-top:auto;min-height:24px;order:2;padding-left:8px}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-delay:0s;transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1} \ No newline at end of file diff --git a/wp-includes/blocks/social-links/editor.css b/wp-includes/blocks/social-links/editor.css new file mode 100644 index 0000000000..4f62da6a86 --- /dev/null +++ b/wp-includes/blocks/social-links/editor.css @@ -0,0 +1,87 @@ +.wp-block-social-links div.block-editor-url-input{ + display:inline-block; + margin-left:8px; +} +.wp-block-social-links.wp-block-social-links{ + background:none; +} + +.wp-social-link:hover{ + transform:none; +} + +.editor-styles-wrapper .wp-block-social-links{ + padding:0; +} + +.wp-block-social-links__social-placeholder{ + display:flex; + list-style:none; + opacity:.8; +} +.wp-block-social-links__social-placeholder>.wp-social-link{ + margin-left:0 !important; + margin-right:0 !important; + padding-left:0 !important; + padding-right:0 !important; + visibility:hidden; + width:0 !important; +} +.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{ + display:flex; +} +.wp-block-social-links__social-placeholder .wp-social-link{ + padding:.25em; +} +.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{ + padding-left:.66667em; + padding-right:.66667em; +} +.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{ + padding:0; +} +.wp-block-social-links__social-placeholder .wp-social-link:before{ + border-radius:50%; + content:""; + display:block; + height:1em; + width:1em; +} +.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{ + background:currentColor; +} + +.wp-block-social-links .wp-block-social-links__social-prompt{ + cursor:default; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; + font-size:13px; + line-height:24px; + list-style:none; + margin-bottom:auto; + margin-top:auto; + min-height:24px; + order:2; + padding-right:8px; +} + +.wp-block[data-align=center]>.wp-block-social-links{ + justify-content:center; +} + +.block-editor-block-preview__content .components-button:disabled{ + opacity:1; +} + +.wp-social-link.wp-social-link__is-incomplete{ + opacity:.5; +} +@media (prefers-reduced-motion:reduce){ + .wp-social-link.wp-social-link__is-incomplete{ + transition-delay:0s; + transition-duration:0s; + } +} + +.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{ + opacity:1; +} \ No newline at end of file diff --git a/wp-includes/blocks/social-links/editor.min.css b/wp-includes/blocks/social-links/editor.min.css new file mode 100644 index 0000000000..a385c2f192 --- /dev/null +++ b/wp-includes/blocks/social-links/editor.min.css @@ -0,0 +1 @@ +.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.wp-block-social-links.wp-block-social-links{background:none}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;list-style:none;opacity:.8}.wp-block-social-links__social-placeholder>.wp-social-link{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;visibility:hidden;width:0!important}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-left:.66667em;padding-right:.66667em}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{padding:0}.wp-block-social-links__social-placeholder .wp-social-link:before{border-radius:50%;content:"";display:block;height:1em;width:1em}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{cursor:default;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;list-style:none;margin-bottom:auto;margin-top:auto;min-height:24px;order:2;padding-right:8px}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-delay:0s;transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1} \ No newline at end of file diff --git a/wp-includes/blocks/social-links/style-rtl.css b/wp-includes/blocks/social-links/style-rtl.css new file mode 100644 index 0000000000..3d0cbb81e7 --- /dev/null +++ b/wp-includes/blocks/social-links/style-rtl.css @@ -0,0 +1,377 @@ +.wp-block-social-links{ + background:none; + box-sizing:border-box; + margin-right:0; + padding-left:0; + padding-right:0; + text-indent:0; +} +.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{ + border-bottom:0; + box-shadow:none; + text-decoration:none; +} +.wp-block-social-links .wp-social-link a{ + padding:.25em; +} +.wp-block-social-links .wp-social-link svg{ + height:1em; + width:1em; +} +.wp-block-social-links .wp-social-link span:not(.screen-reader-text){ + font-size:.65em; + margin-left:.5em; + margin-right:.5em; +} +.wp-block-social-links.has-small-icon-size{ + font-size:16px; +} +.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{ + font-size:24px; +} +.wp-block-social-links.has-large-icon-size{ + font-size:36px; +} +.wp-block-social-links.has-huge-icon-size{ + font-size:48px; +} +.wp-block-social-links.aligncenter{ + display:flex; + justify-content:center; +} +.wp-block-social-links.alignright{ + justify-content:flex-end; +} + +.wp-block-social-link{ + border-radius:9999px; + display:block; + height:auto; + transition:transform .1s ease; +} +@media (prefers-reduced-motion:reduce){ + .wp-block-social-link{ + transition-delay:0s; + transition-duration:0s; + } +} +.wp-block-social-link a{ + align-items:center; + display:flex; + line-height:0; + transition:transform .1s ease; +} +.wp-block-social-link:hover{ + transform:scale(1.1); +} + +.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited{ + fill:currentColor; + color:currentColor; +} + +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{ + background-color:#f0f0f0; + color:#444; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{ + background-color:#f90; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{ + background-color:#1ea0c3; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{ + background-color:#0757fe; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{ + background-color:#1e1f26; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{ + background-color:#02e49b; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{ + background-color:#e94c89; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{ + background-color:#4280ff; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{ + background-color:#f45800; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{ + background-color:#1778f2; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{ + background-color:#000; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{ + background-color:#0461dd; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{ + background-color:#e65678; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{ + background-color:#24292d; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{ + background-color:#eceadd; + color:#382110; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{ + background-color:#ea4434; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{ + background-color:#f00075; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{ + background-color:#e21b24; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{ + background-color:#0d66c2; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{ + background-color:#3288d4; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{ + background-color:#02ab6c; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{ + background-color:#f6405f; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{ + background-color:#ff424d; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{ + background-color:#e60122; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{ + background-color:#ef4155; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{ + background-color:#ff4500; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{ + background-color:#0478d7; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{ + stroke:#000; + background-color:#fefc00; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{ + background-color:#ff5600; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{ + background-color:#1bd760; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{ + background-color:#2aabee; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{ + background-color:#000; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{ + background-color:#011835; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{ + background-color:#6440a4; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{ + background-color:#1da1f2; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{ + background-color:#1eb7ea; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{ + background-color:#4680c2; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{ + background-color:#3499cd; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp{ + background-color:#25d366; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{ + background-color:#d32422; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{ + background-color:red; + color:#fff; +} + +.wp-block-social-links.is-style-logos-only .wp-social-link{ + background:none; +} +.wp-block-social-links.is-style-logos-only .wp-social-link a{ + padding:0; +} +.wp-block-social-links.is-style-logos-only .wp-social-link svg{ + height:1.25em; + width:1.25em; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{ + color:#f90; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{ + color:#1ea0c3; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-behance{ + color:#0757fe; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{ + color:#1e1f26; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{ + color:#02e49b; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{ + color:#e94c89; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{ + color:#4280ff; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{ + color:#f45800; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{ + color:#1778f2; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{ + color:#000; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{ + color:#0461dd; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{ + color:#e65678; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-github{ + color:#24292d; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{ + color:#382110; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-google{ + color:#ea4434; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{ + color:#f00075; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{ + color:#e21b24; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{ + color:#0d66c2; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{ + color:#3288d4; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-medium{ + color:#02ab6c; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{ + color:#f6405f; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{ + color:#ff424d; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{ + color:#e60122; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{ + color:#ef4155; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{ + color:#ff4500; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-skype{ + color:#0478d7; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{ + stroke:#000; + color:#fff; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{ + color:#ff5600; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{ + color:#1bd760; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{ + color:#2aabee; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{ + color:#000; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{ + color:#011835; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{ + color:#6440a4; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{ + color:#1da1f2; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{ + color:#1eb7ea; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-vk{ + color:#4680c2; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp{ + color:#25d366; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{ + color:#3499cd; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{ + color:#d32422; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{ + color:red; +} + +.wp-block-social-links.is-style-pill-shape .wp-social-link{ + width:auto; +} +.wp-block-social-links.is-style-pill-shape .wp-social-link a{ + padding-left:.66667em; + padding-right:.66667em; +} \ No newline at end of file diff --git a/wp-includes/blocks/social-links/style-rtl.min.css b/wp-includes/blocks/social-links/style-rtl.min.css new file mode 100644 index 0000000000..6b722a623b --- /dev/null +++ b/wp-includes/blocks/social-links/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-social-links{background:none;box-sizing:border-box;margin-right:0;padding-left:0;padding-right:0;text-indent:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{border-bottom:0;box-shadow:none;text-decoration:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{height:1em;width:1em}.wp-block-social-links .wp-social-link span:not(.screen-reader-text){font-size:.65em;margin-left:.5em;margin-right:.5em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{display:flex;justify-content:center}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{border-radius:9999px;display:block;height:auto;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-delay:0s;transition-duration:0s}}.wp-block-social-link a{align-items:center;display:flex;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited{fill:currentColor;color:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#ff4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{stroke:#000;background-color:#fefc00;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp{background-color:#25d366;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{height:1.25em;width:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#ff4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{stroke:#000;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp{color:#25d366}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:.66667em;padding-right:.66667em} \ No newline at end of file diff --git a/wp-includes/blocks/social-links/style.css b/wp-includes/blocks/social-links/style.css new file mode 100644 index 0000000000..0b3ce15b2c --- /dev/null +++ b/wp-includes/blocks/social-links/style.css @@ -0,0 +1,377 @@ +.wp-block-social-links{ + background:none; + box-sizing:border-box; + margin-left:0; + padding-left:0; + padding-right:0; + text-indent:0; +} +.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{ + border-bottom:0; + box-shadow:none; + text-decoration:none; +} +.wp-block-social-links .wp-social-link a{ + padding:.25em; +} +.wp-block-social-links .wp-social-link svg{ + height:1em; + width:1em; +} +.wp-block-social-links .wp-social-link span:not(.screen-reader-text){ + font-size:.65em; + margin-left:.5em; + margin-right:.5em; +} +.wp-block-social-links.has-small-icon-size{ + font-size:16px; +} +.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{ + font-size:24px; +} +.wp-block-social-links.has-large-icon-size{ + font-size:36px; +} +.wp-block-social-links.has-huge-icon-size{ + font-size:48px; +} +.wp-block-social-links.aligncenter{ + display:flex; + justify-content:center; +} +.wp-block-social-links.alignright{ + justify-content:flex-end; +} + +.wp-block-social-link{ + border-radius:9999px; + display:block; + height:auto; + transition:transform .1s ease; +} +@media (prefers-reduced-motion:reduce){ + .wp-block-social-link{ + transition-delay:0s; + transition-duration:0s; + } +} +.wp-block-social-link a{ + align-items:center; + display:flex; + line-height:0; + transition:transform .1s ease; +} +.wp-block-social-link:hover{ + transform:scale(1.1); +} + +.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited{ + fill:currentColor; + color:currentColor; +} + +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{ + background-color:#f0f0f0; + color:#444; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{ + background-color:#f90; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{ + background-color:#1ea0c3; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{ + background-color:#0757fe; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{ + background-color:#1e1f26; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{ + background-color:#02e49b; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{ + background-color:#e94c89; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{ + background-color:#4280ff; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{ + background-color:#f45800; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{ + background-color:#1778f2; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{ + background-color:#000; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{ + background-color:#0461dd; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{ + background-color:#e65678; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{ + background-color:#24292d; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{ + background-color:#eceadd; + color:#382110; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{ + background-color:#ea4434; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{ + background-color:#f00075; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{ + background-color:#e21b24; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{ + background-color:#0d66c2; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{ + background-color:#3288d4; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{ + background-color:#02ab6c; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{ + background-color:#f6405f; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{ + background-color:#ff424d; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{ + background-color:#e60122; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{ + background-color:#ef4155; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{ + background-color:#ff4500; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{ + background-color:#0478d7; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{ + stroke:#000; + background-color:#fefc00; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{ + background-color:#ff5600; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{ + background-color:#1bd760; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{ + background-color:#2aabee; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{ + background-color:#000; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{ + background-color:#011835; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{ + background-color:#6440a4; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{ + background-color:#1da1f2; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{ + background-color:#1eb7ea; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{ + background-color:#4680c2; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{ + background-color:#3499cd; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp{ + background-color:#25d366; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{ + background-color:#d32422; + color:#fff; +} +.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{ + background-color:red; + color:#fff; +} + +.wp-block-social-links.is-style-logos-only .wp-social-link{ + background:none; +} +.wp-block-social-links.is-style-logos-only .wp-social-link a{ + padding:0; +} +.wp-block-social-links.is-style-logos-only .wp-social-link svg{ + height:1.25em; + width:1.25em; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{ + color:#f90; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{ + color:#1ea0c3; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-behance{ + color:#0757fe; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{ + color:#1e1f26; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{ + color:#02e49b; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{ + color:#e94c89; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{ + color:#4280ff; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{ + color:#f45800; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{ + color:#1778f2; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{ + color:#000; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{ + color:#0461dd; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{ + color:#e65678; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-github{ + color:#24292d; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{ + color:#382110; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-google{ + color:#ea4434; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{ + color:#f00075; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{ + color:#e21b24; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{ + color:#0d66c2; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{ + color:#3288d4; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-medium{ + color:#02ab6c; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{ + color:#f6405f; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{ + color:#ff424d; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{ + color:#e60122; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{ + color:#ef4155; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{ + color:#ff4500; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-skype{ + color:#0478d7; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{ + stroke:#000; + color:#fff; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{ + color:#ff5600; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{ + color:#1bd760; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{ + color:#2aabee; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{ + color:#000; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{ + color:#011835; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{ + color:#6440a4; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{ + color:#1da1f2; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{ + color:#1eb7ea; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-vk{ + color:#4680c2; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp{ + color:#25d366; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{ + color:#3499cd; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{ + color:#d32422; +} +.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{ + color:red; +} + +.wp-block-social-links.is-style-pill-shape .wp-social-link{ + width:auto; +} +.wp-block-social-links.is-style-pill-shape .wp-social-link a{ + padding-left:.66667em; + padding-right:.66667em; +} \ No newline at end of file diff --git a/wp-includes/blocks/social-links/style.min.css b/wp-includes/blocks/social-links/style.min.css new file mode 100644 index 0000000000..5b08153d0e --- /dev/null +++ b/wp-includes/blocks/social-links/style.min.css @@ -0,0 +1 @@ +.wp-block-social-links{background:none;box-sizing:border-box;margin-left:0;padding-left:0;padding-right:0;text-indent:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{border-bottom:0;box-shadow:none;text-decoration:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{height:1em;width:1em}.wp-block-social-links .wp-social-link span:not(.screen-reader-text){font-size:.65em;margin-left:.5em;margin-right:.5em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{display:flex;justify-content:center}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{border-radius:9999px;display:block;height:auto;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-delay:0s;transition-duration:0s}}.wp-block-social-link a{align-items:center;display:flex;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited{fill:currentColor;color:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#ff4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{stroke:#000;background-color:#fefc00;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp{background-color:#25d366;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{height:1.25em;width:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#ff4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{stroke:#000;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp{color:#25d366}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:.66667em;padding-right:.66667em} \ No newline at end of file diff --git a/wp-includes/blocks/spacer/editor-rtl.css b/wp-includes/blocks/spacer/editor-rtl.css new file mode 100644 index 0000000000..809bf8a414 --- /dev/null +++ b/wp-includes/blocks/spacer/editor-rtl.css @@ -0,0 +1,31 @@ +.block-editor-block-list__block[data-type="core/spacer"]:before{ + content:""; + display:block; + height:100%; + min-height:8px; + min-width:8px; + position:absolute; + width:100%; + z-index:1; +} + +.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{ + background:rgba(0,0,0,.1); +} +.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{ + background:hsla(0,0%,100%,.15); +} + +.block-library-spacer__resize-container{ + clear:both; +} +.block-library-spacer__resize-container:not(.is-resizing){ + height:100% !important; + width:100% !important; +} +.block-library-spacer__resize-container .components-resizable-box__handle:before{ + content:none; +} +.block-library-spacer__resize-container.resize-horizontal{ + margin-bottom:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/spacer/editor-rtl.min.css b/wp-includes/blocks/spacer/editor-rtl.min.css new file mode 100644 index 0000000000..262320986a --- /dev/null +++ b/wp-includes/blocks/spacer/editor-rtl.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;height:100%;min-height:8px;min-width:8px;position:absolute;width:100%;z-index:1}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container:not(.is-resizing){height:100%!important;width:100%!important}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0} \ No newline at end of file diff --git a/wp-includes/blocks/spacer/editor.css b/wp-includes/blocks/spacer/editor.css new file mode 100644 index 0000000000..809bf8a414 --- /dev/null +++ b/wp-includes/blocks/spacer/editor.css @@ -0,0 +1,31 @@ +.block-editor-block-list__block[data-type="core/spacer"]:before{ + content:""; + display:block; + height:100%; + min-height:8px; + min-width:8px; + position:absolute; + width:100%; + z-index:1; +} + +.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{ + background:rgba(0,0,0,.1); +} +.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{ + background:hsla(0,0%,100%,.15); +} + +.block-library-spacer__resize-container{ + clear:both; +} +.block-library-spacer__resize-container:not(.is-resizing){ + height:100% !important; + width:100% !important; +} +.block-library-spacer__resize-container .components-resizable-box__handle:before{ + content:none; +} +.block-library-spacer__resize-container.resize-horizontal{ + margin-bottom:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/spacer/editor.min.css b/wp-includes/blocks/spacer/editor.min.css new file mode 100644 index 0000000000..262320986a --- /dev/null +++ b/wp-includes/blocks/spacer/editor.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;height:100%;min-height:8px;min-width:8px;position:absolute;width:100%;z-index:1}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container:not(.is-resizing){height:100%!important;width:100%!important}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0} \ No newline at end of file diff --git a/wp-includes/blocks/spacer/style-rtl.css b/wp-includes/blocks/spacer/style-rtl.css new file mode 100644 index 0000000000..2f725beb62 --- /dev/null +++ b/wp-includes/blocks/spacer/style-rtl.css @@ -0,0 +1,3 @@ +.wp-block-spacer{ + clear:both; +} \ No newline at end of file diff --git a/wp-includes/blocks/spacer/style-rtl.min.css b/wp-includes/blocks/spacer/style-rtl.min.css new file mode 100644 index 0000000000..80961dff69 --- /dev/null +++ b/wp-includes/blocks/spacer/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-spacer{clear:both} \ No newline at end of file diff --git a/wp-includes/blocks/spacer/style.css b/wp-includes/blocks/spacer/style.css new file mode 100644 index 0000000000..2f725beb62 --- /dev/null +++ b/wp-includes/blocks/spacer/style.css @@ -0,0 +1,3 @@ +.wp-block-spacer{ + clear:both; +} \ No newline at end of file diff --git a/wp-includes/blocks/spacer/style.min.css b/wp-includes/blocks/spacer/style.min.css new file mode 100644 index 0000000000..80961dff69 --- /dev/null +++ b/wp-includes/blocks/spacer/style.min.css @@ -0,0 +1 @@ +.wp-block-spacer{clear:both} \ No newline at end of file diff --git a/wp-includes/blocks/table/editor-rtl.css b/wp-includes/blocks/table/editor-rtl.css new file mode 100644 index 0000000000..6be0c40a3c --- /dev/null +++ b/wp-includes/blocks/table/editor-rtl.css @@ -0,0 +1,57 @@ +.wp-block-table{ + margin:0; +} +.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{ + height:auto; +} +.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{ + width:auto; +} +.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{ + word-break:break-word; +} +.wp-block[data-align=center]>.wp-block-table{ + text-align:initial; +} +.wp-block[data-align=center]>.wp-block-table table{ + margin:0 auto; +} +.wp-block-table td,.wp-block-table th{ + border:1px solid; + padding:.5em; +} +.wp-block-table td.is-selected,.wp-block-table th.is-selected{ + border-color:var(--wp-admin-theme-color); + border-style:double; + box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color); +} +.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{ + border:1px solid; +} + +.blocks-table__placeholder-form.blocks-table__placeholder-form{ + align-items:flex-start; + display:flex; + flex-direction:column; +} +.blocks-table__placeholder-form.blocks-table__placeholder-form>*{ + margin-bottom:8px; +} +@media (min-width:782px){ + .blocks-table__placeholder-form.blocks-table__placeholder-form{ + align-items:flex-end; + flex-direction:row; + } + .blocks-table__placeholder-form.blocks-table__placeholder-form>*{ + margin-bottom:0; + } +} + +.blocks-table__placeholder-input{ + margin-bottom:0; + margin-left:8px; + width:112px; +} +.blocks-table__placeholder-input input{ + height:36px; +} \ No newline at end of file diff --git a/wp-includes/blocks/table/editor-rtl.min.css b/wp-includes/blocks/table/editor-rtl.min.css new file mode 100644 index 0000000000..09fac9c6d8 --- /dev/null +++ b/wp-includes/blocks/table/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);border-style:double;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{border:1px solid}.blocks-table__placeholder-form.blocks-table__placeholder-form{align-items:flex-start;display:flex;flex-direction:column}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{align-items:flex-end;flex-direction:row}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{margin-bottom:0;margin-left:8px;width:112px}.blocks-table__placeholder-input input{height:36px} \ No newline at end of file diff --git a/wp-includes/blocks/table/editor.css b/wp-includes/blocks/table/editor.css new file mode 100644 index 0000000000..0cdedbc9c0 --- /dev/null +++ b/wp-includes/blocks/table/editor.css @@ -0,0 +1,57 @@ +.wp-block-table{ + margin:0; +} +.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{ + height:auto; +} +.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{ + width:auto; +} +.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{ + word-break:break-word; +} +.wp-block[data-align=center]>.wp-block-table{ + text-align:initial; +} +.wp-block[data-align=center]>.wp-block-table table{ + margin:0 auto; +} +.wp-block-table td,.wp-block-table th{ + border:1px solid; + padding:.5em; +} +.wp-block-table td.is-selected,.wp-block-table th.is-selected{ + border-color:var(--wp-admin-theme-color); + border-style:double; + box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color); +} +.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{ + border:1px solid; +} + +.blocks-table__placeholder-form.blocks-table__placeholder-form{ + align-items:flex-start; + display:flex; + flex-direction:column; +} +.blocks-table__placeholder-form.blocks-table__placeholder-form>*{ + margin-bottom:8px; +} +@media (min-width:782px){ + .blocks-table__placeholder-form.blocks-table__placeholder-form{ + align-items:flex-end; + flex-direction:row; + } + .blocks-table__placeholder-form.blocks-table__placeholder-form>*{ + margin-bottom:0; + } +} + +.blocks-table__placeholder-input{ + margin-bottom:0; + margin-right:8px; + width:112px; +} +.blocks-table__placeholder-input input{ + height:36px; +} \ No newline at end of file diff --git a/wp-includes/blocks/table/editor.min.css b/wp-includes/blocks/table/editor.min.css new file mode 100644 index 0000000000..25f31c90d9 --- /dev/null +++ b/wp-includes/blocks/table/editor.min.css @@ -0,0 +1 @@ +.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);border-style:double;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{border:1px solid}.blocks-table__placeholder-form.blocks-table__placeholder-form{align-items:flex-start;display:flex;flex-direction:column}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{align-items:flex-end;flex-direction:row}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{margin-bottom:0;margin-right:8px;width:112px}.blocks-table__placeholder-input input{height:36px} \ No newline at end of file diff --git a/wp-includes/blocks/table/style-rtl.css b/wp-includes/blocks/table/style-rtl.css new file mode 100644 index 0000000000..2828a01fb5 --- /dev/null +++ b/wp-includes/blocks/table/style-rtl.css @@ -0,0 +1,95 @@ +.wp-block-table{ + overflow-x:auto; +} +.wp-block-table table{ + border-collapse:collapse; + width:100%; +} +.wp-block-table thead{ + border-bottom:3px solid; +} +.wp-block-table tfoot{ + border-top:3px solid; +} +.wp-block-table td,.wp-block-table th{ + border:1px solid; + padding:.5em; +} +.wp-block-table .has-fixed-layout{ + table-layout:fixed; + width:100%; +} +.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{ + word-break:break-word; +} +.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{ + display:table; + width:auto; +} +.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{ + word-break:break-word; +} +.wp-block-table .has-subtle-light-gray-background-color{ + background-color:#f3f4f5; +} +.wp-block-table .has-subtle-pale-green-background-color{ + background-color:#e9fbe5; +} +.wp-block-table .has-subtle-pale-blue-background-color{ + background-color:#e7f5fe; +} +.wp-block-table .has-subtle-pale-pink-background-color{ + background-color:#fcf0ef; +} +.wp-block-table.is-style-stripes{ + background-color:initial; + border-bottom:1px solid #f0f0f0; + border-collapse:inherit; + border-spacing:0; +} +.wp-block-table.is-style-stripes tbody tr:nth-child(odd){ + background-color:#f0f0f0; +} +.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){ + background-color:#f3f4f5; +} +.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){ + background-color:#e9fbe5; +} +.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){ + background-color:#e7f5fe; +} +.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){ + background-color:#fcf0ef; +} +.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{ + border-color:transparent; +} +.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{ + border-color:inherit; +} +.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{ + border-top-color:inherit; +} +.wp-block-table table[style*=border-top-color] tr:not(:first-child){ + border-top-color:initial; +} +.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{ + border-left-color:inherit; +} +.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{ + border-bottom-color:inherit; +} +.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){ + border-bottom-color:initial; +} +.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{ + border-right-color:inherit; +} +.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{ + border-style:inherit; +} +.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{ + border-style:inherit; + border-width:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/table/style-rtl.min.css b/wp-includes/blocks/table/style-rtl.min.css new file mode 100644 index 0000000000..5b0aec2d80 --- /dev/null +++ b/wp-includes/blocks/table/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{background-color:initial;border-bottom:1px solid #f0f0f0;border-collapse:inherit;border-spacing:0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{border-color:inherit}.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{border-top-color:inherit}.wp-block-table table[style*=border-top-color] tr:not(:first-child){border-top-color:initial}.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{border-left-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{border-bottom-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:initial}.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{border-right-color:inherit}.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{border-style:inherit}.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{border-style:inherit;border-width:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/table/style.css b/wp-includes/blocks/table/style.css new file mode 100644 index 0000000000..3426446306 --- /dev/null +++ b/wp-includes/blocks/table/style.css @@ -0,0 +1,95 @@ +.wp-block-table{ + overflow-x:auto; +} +.wp-block-table table{ + border-collapse:collapse; + width:100%; +} +.wp-block-table thead{ + border-bottom:3px solid; +} +.wp-block-table tfoot{ + border-top:3px solid; +} +.wp-block-table td,.wp-block-table th{ + border:1px solid; + padding:.5em; +} +.wp-block-table .has-fixed-layout{ + table-layout:fixed; + width:100%; +} +.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{ + word-break:break-word; +} +.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{ + display:table; + width:auto; +} +.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{ + word-break:break-word; +} +.wp-block-table .has-subtle-light-gray-background-color{ + background-color:#f3f4f5; +} +.wp-block-table .has-subtle-pale-green-background-color{ + background-color:#e9fbe5; +} +.wp-block-table .has-subtle-pale-blue-background-color{ + background-color:#e7f5fe; +} +.wp-block-table .has-subtle-pale-pink-background-color{ + background-color:#fcf0ef; +} +.wp-block-table.is-style-stripes{ + background-color:initial; + border-bottom:1px solid #f0f0f0; + border-collapse:inherit; + border-spacing:0; +} +.wp-block-table.is-style-stripes tbody tr:nth-child(odd){ + background-color:#f0f0f0; +} +.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){ + background-color:#f3f4f5; +} +.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){ + background-color:#e9fbe5; +} +.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){ + background-color:#e7f5fe; +} +.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){ + background-color:#fcf0ef; +} +.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{ + border-color:transparent; +} +.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{ + border-color:inherit; +} +.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{ + border-top-color:inherit; +} +.wp-block-table table[style*=border-top-color] tr:not(:first-child){ + border-top-color:initial; +} +.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{ + border-right-color:inherit; +} +.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{ + border-bottom-color:inherit; +} +.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){ + border-bottom-color:initial; +} +.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{ + border-left-color:inherit; +} +.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{ + border-style:inherit; +} +.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{ + border-style:inherit; + border-width:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/table/style.min.css b/wp-includes/blocks/table/style.min.css new file mode 100644 index 0000000000..b2231b264b --- /dev/null +++ b/wp-includes/blocks/table/style.min.css @@ -0,0 +1 @@ +.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{background-color:initial;border-bottom:1px solid #f0f0f0;border-collapse:inherit;border-spacing:0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{border-color:inherit}.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{border-top-color:inherit}.wp-block-table table[style*=border-top-color] tr:not(:first-child){border-top-color:initial}.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{border-right-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{border-bottom-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:initial}.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{border-left-color:inherit}.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{border-style:inherit}.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{border-style:inherit;border-width:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/table/theme-rtl.css b/wp-includes/blocks/table/theme-rtl.css new file mode 100644 index 0000000000..064ae1d0ff --- /dev/null +++ b/wp-includes/blocks/table/theme-rtl.css @@ -0,0 +1,14 @@ +.wp-block-table{ + margin:0 0 1em; +} +.wp-block-table td,.wp-block-table th{ + word-break:normal; +} +.wp-block-table figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-table figcaption{ + color:hsla(0,0%,100%,.65); +} \ No newline at end of file diff --git a/wp-includes/blocks/table/theme-rtl.min.css b/wp-includes/blocks/table/theme-rtl.min.css new file mode 100644 index 0000000000..b781003198 --- /dev/null +++ b/wp-includes/blocks/table/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-table{margin:0 0 1em}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)} \ No newline at end of file diff --git a/wp-includes/blocks/table/theme.css b/wp-includes/blocks/table/theme.css new file mode 100644 index 0000000000..064ae1d0ff --- /dev/null +++ b/wp-includes/blocks/table/theme.css @@ -0,0 +1,14 @@ +.wp-block-table{ + margin:0 0 1em; +} +.wp-block-table td,.wp-block-table th{ + word-break:normal; +} +.wp-block-table figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-table figcaption{ + color:hsla(0,0%,100%,.65); +} \ No newline at end of file diff --git a/wp-includes/blocks/table/theme.min.css b/wp-includes/blocks/table/theme.min.css new file mode 100644 index 0000000000..b781003198 --- /dev/null +++ b/wp-includes/blocks/table/theme.min.css @@ -0,0 +1 @@ +.wp-block-table{margin:0 0 1em}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)} \ No newline at end of file diff --git a/wp-includes/blocks/tag-cloud/style-rtl.css b/wp-includes/blocks/tag-cloud/style-rtl.css new file mode 100644 index 0000000000..3384c5db22 --- /dev/null +++ b/wp-includes/blocks/tag-cloud/style-rtl.css @@ -0,0 +1,32 @@ +.wp-block-tag-cloud{ + box-sizing:border-box; +} +.wp-block-tag-cloud.aligncenter{ + justify-content:center; + text-align:center; +} +.wp-block-tag-cloud.alignfull{ + padding-left:1em; + padding-right:1em; +} +.wp-block-tag-cloud a{ + display:inline-block; + margin-left:5px; +} +.wp-block-tag-cloud span{ + display:inline-block; + margin-right:5px; + text-decoration:none; +} +.wp-block-tag-cloud.is-style-outline{ + display:flex; + flex-wrap:wrap; + gap:1ch; +} +.wp-block-tag-cloud.is-style-outline a{ + border:1px solid; + font-size:unset !important; + margin-left:0; + padding:1ch 2ch; + text-decoration:none !important; +} \ No newline at end of file diff --git a/wp-includes/blocks/tag-cloud/style-rtl.min.css b/wp-includes/blocks/tag-cloud/style-rtl.min.css new file mode 100644 index 0000000000..3d540b2946 --- /dev/null +++ b/wp-includes/blocks/tag-cloud/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-tag-cloud{box-sizing:border-box}.wp-block-tag-cloud.aligncenter{justify-content:center;text-align:center}.wp-block-tag-cloud.alignfull{padding-left:1em;padding-right:1em}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;text-decoration:none}.wp-block-tag-cloud.is-style-outline{display:flex;flex-wrap:wrap;gap:1ch}.wp-block-tag-cloud.is-style-outline a{border:1px solid;font-size:unset!important;margin-left:0;padding:1ch 2ch;text-decoration:none!important} \ No newline at end of file diff --git a/wp-includes/blocks/tag-cloud/style.css b/wp-includes/blocks/tag-cloud/style.css new file mode 100644 index 0000000000..4b4c71e3cd --- /dev/null +++ b/wp-includes/blocks/tag-cloud/style.css @@ -0,0 +1,32 @@ +.wp-block-tag-cloud{ + box-sizing:border-box; +} +.wp-block-tag-cloud.aligncenter{ + justify-content:center; + text-align:center; +} +.wp-block-tag-cloud.alignfull{ + padding-left:1em; + padding-right:1em; +} +.wp-block-tag-cloud a{ + display:inline-block; + margin-right:5px; +} +.wp-block-tag-cloud span{ + display:inline-block; + margin-left:5px; + text-decoration:none; +} +.wp-block-tag-cloud.is-style-outline{ + display:flex; + flex-wrap:wrap; + gap:1ch; +} +.wp-block-tag-cloud.is-style-outline a{ + border:1px solid; + font-size:unset !important; + margin-right:0; + padding:1ch 2ch; + text-decoration:none !important; +} \ No newline at end of file diff --git a/wp-includes/blocks/tag-cloud/style.min.css b/wp-includes/blocks/tag-cloud/style.min.css new file mode 100644 index 0000000000..ac30a79a8b --- /dev/null +++ b/wp-includes/blocks/tag-cloud/style.min.css @@ -0,0 +1 @@ +.wp-block-tag-cloud{box-sizing:border-box}.wp-block-tag-cloud.aligncenter{justify-content:center;text-align:center}.wp-block-tag-cloud.alignfull{padding-left:1em;padding-right:1em}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;text-decoration:none}.wp-block-tag-cloud.is-style-outline{display:flex;flex-wrap:wrap;gap:1ch}.wp-block-tag-cloud.is-style-outline a{border:1px solid;font-size:unset!important;margin-right:0;padding:1ch 2ch;text-decoration:none!important} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/editor-rtl.css b/wp-includes/blocks/template-part/editor-rtl.css new file mode 100644 index 0000000000..bfadf6fc47 --- /dev/null +++ b/wp-includes/blocks/template-part/editor-rtl.css @@ -0,0 +1,37 @@ +.block-editor-template-part__selection-modal{ + z-index:1000001; +} +@media (min-width:600px){ + .block-editor-template-part__selection-modal .components-modal__frame{ + height:calc(100% - 120px); + width:calc(100% - 32px); + } +} +@media (min-width:782px){ + .block-editor-template-part__selection-modal .components-modal__frame{ + width:750px; + } +} +@media (min-width:960px){ + .block-editor-template-part__selection-modal .components-modal__frame{ + height:70%; + } +} + +.block-library-template-part__selection-search{ + background:#fff; + padding:16px 0; + position:sticky; + top:0; + z-index:2; +} + +.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected{ + box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color); +} +.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{ + box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color); +} +.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{ + box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff; +} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/editor-rtl.min.css b/wp-includes/blocks/template-part/editor-rtl.min.css new file mode 100644 index 0000000000..78225af8a3 --- /dev/null +++ b/wp-includes/blocks/template-part/editor-rtl.min.css @@ -0,0 +1 @@ +.block-editor-template-part__selection-modal{z-index:1000001}@media (min-width:600px){.block-editor-template-part__selection-modal .components-modal__frame{height:calc(100% - 120px);width:calc(100% - 32px)}}@media (min-width:782px){.block-editor-template-part__selection-modal .components-modal__frame{width:750px}}@media (min-width:960px){.block-editor-template-part__selection-modal .components-modal__frame{height:70%}}.block-library-template-part__selection-search{background:#fff;padding:16px 0;position:sticky;top:0;z-index:2}.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/editor.css b/wp-includes/blocks/template-part/editor.css new file mode 100644 index 0000000000..bfadf6fc47 --- /dev/null +++ b/wp-includes/blocks/template-part/editor.css @@ -0,0 +1,37 @@ +.block-editor-template-part__selection-modal{ + z-index:1000001; +} +@media (min-width:600px){ + .block-editor-template-part__selection-modal .components-modal__frame{ + height:calc(100% - 120px); + width:calc(100% - 32px); + } +} +@media (min-width:782px){ + .block-editor-template-part__selection-modal .components-modal__frame{ + width:750px; + } +} +@media (min-width:960px){ + .block-editor-template-part__selection-modal .components-modal__frame{ + height:70%; + } +} + +.block-library-template-part__selection-search{ + background:#fff; + padding:16px 0; + position:sticky; + top:0; + z-index:2; +} + +.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected{ + box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color); +} +.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{ + box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color); +} +.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{ + box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff; +} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/editor.min.css b/wp-includes/blocks/template-part/editor.min.css new file mode 100644 index 0000000000..78225af8a3 --- /dev/null +++ b/wp-includes/blocks/template-part/editor.min.css @@ -0,0 +1 @@ +.block-editor-template-part__selection-modal{z-index:1000001}@media (min-width:600px){.block-editor-template-part__selection-modal .components-modal__frame{height:calc(100% - 120px);width:calc(100% - 32px)}}@media (min-width:782px){.block-editor-template-part__selection-modal .components-modal__frame{width:750px}}@media (min-width:960px){.block-editor-template-part__selection-modal .components-modal__frame{height:70%}}.block-library-template-part__selection-search{background:#fff;padding:16px 0;position:sticky;top:0;z-index:2}.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/theme-rtl.css b/wp-includes/blocks/template-part/theme-rtl.css new file mode 100644 index 0000000000..6c5262c630 --- /dev/null +++ b/wp-includes/blocks/template-part/theme-rtl.css @@ -0,0 +1,5 @@ +.wp-block-template-part.has-background{ + margin-bottom:0; + margin-top:0; + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/theme-rtl.min.css b/wp-includes/blocks/template-part/theme-rtl.min.css new file mode 100644 index 0000000000..551636b7b9 --- /dev/null +++ b/wp-includes/blocks/template-part/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-template-part.has-background{margin-bottom:0;margin-top:0;padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/theme.css b/wp-includes/blocks/template-part/theme.css new file mode 100644 index 0000000000..6c5262c630 --- /dev/null +++ b/wp-includes/blocks/template-part/theme.css @@ -0,0 +1,5 @@ +.wp-block-template-part.has-background{ + margin-bottom:0; + margin-top:0; + padding:1.25em 2.375em; +} \ No newline at end of file diff --git a/wp-includes/blocks/template-part/theme.min.css b/wp-includes/blocks/template-part/theme.min.css new file mode 100644 index 0000000000..551636b7b9 --- /dev/null +++ b/wp-includes/blocks/template-part/theme.min.css @@ -0,0 +1 @@ +.wp-block-template-part.has-background{margin-bottom:0;margin-top:0;padding:1.25em 2.375em} \ No newline at end of file diff --git a/wp-includes/blocks/text-columns/editor-rtl.css b/wp-includes/blocks/text-columns/editor-rtl.css new file mode 100644 index 0000000000..713c3e0dd4 --- /dev/null +++ b/wp-includes/blocks/text-columns/editor-rtl.css @@ -0,0 +1,3 @@ +.wp-block-text-columns .block-editor-rich-text__editable:focus{ + outline:1px solid #ddd; +} \ No newline at end of file diff --git a/wp-includes/blocks/text-columns/editor-rtl.min.css b/wp-includes/blocks/text-columns/editor-rtl.min.css new file mode 100644 index 0000000000..7d35c34f66 --- /dev/null +++ b/wp-includes/blocks/text-columns/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd} \ No newline at end of file diff --git a/wp-includes/blocks/text-columns/editor.css b/wp-includes/blocks/text-columns/editor.css new file mode 100644 index 0000000000..713c3e0dd4 --- /dev/null +++ b/wp-includes/blocks/text-columns/editor.css @@ -0,0 +1,3 @@ +.wp-block-text-columns .block-editor-rich-text__editable:focus{ + outline:1px solid #ddd; +} \ No newline at end of file diff --git a/wp-includes/blocks/text-columns/editor.min.css b/wp-includes/blocks/text-columns/editor.min.css new file mode 100644 index 0000000000..7d35c34f66 --- /dev/null +++ b/wp-includes/blocks/text-columns/editor.min.css @@ -0,0 +1 @@ +.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd} \ No newline at end of file diff --git a/wp-includes/blocks/text-columns/style-rtl.css b/wp-includes/blocks/text-columns/style-rtl.css new file mode 100644 index 0000000000..2d78912199 --- /dev/null +++ b/wp-includes/blocks/text-columns/style-rtl.css @@ -0,0 +1,22 @@ +.wp-block-text-columns,.wp-block-text-columns.aligncenter{ + display:flex; +} +.wp-block-text-columns .wp-block-column{ + margin:0 1em; + padding:0; +} +.wp-block-text-columns .wp-block-column:first-child{ + margin-right:0; +} +.wp-block-text-columns .wp-block-column:last-child{ + margin-left:0; +} +.wp-block-text-columns.columns-2 .wp-block-column{ + width:50%; +} +.wp-block-text-columns.columns-3 .wp-block-column{ + width:33.33333%; +} +.wp-block-text-columns.columns-4 .wp-block-column{ + width:25%; +} \ No newline at end of file diff --git a/wp-includes/blocks/text-columns/style-rtl.min.css b/wp-includes/blocks/text-columns/style-rtl.min.css new file mode 100644 index 0000000000..85469b5ae5 --- /dev/null +++ b/wp-includes/blocks/text-columns/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%} \ No newline at end of file diff --git a/wp-includes/blocks/text-columns/style.css b/wp-includes/blocks/text-columns/style.css new file mode 100644 index 0000000000..3bd86ae7d0 --- /dev/null +++ b/wp-includes/blocks/text-columns/style.css @@ -0,0 +1,22 @@ +.wp-block-text-columns,.wp-block-text-columns.aligncenter{ + display:flex; +} +.wp-block-text-columns .wp-block-column{ + margin:0 1em; + padding:0; +} +.wp-block-text-columns .wp-block-column:first-child{ + margin-left:0; +} +.wp-block-text-columns .wp-block-column:last-child{ + margin-right:0; +} +.wp-block-text-columns.columns-2 .wp-block-column{ + width:50%; +} +.wp-block-text-columns.columns-3 .wp-block-column{ + width:33.33333%; +} +.wp-block-text-columns.columns-4 .wp-block-column{ + width:25%; +} \ No newline at end of file diff --git a/wp-includes/blocks/text-columns/style.min.css b/wp-includes/blocks/text-columns/style.min.css new file mode 100644 index 0000000000..b97e725681 --- /dev/null +++ b/wp-includes/blocks/text-columns/style.min.css @@ -0,0 +1 @@ +.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%} \ No newline at end of file diff --git a/wp-includes/blocks/verse/style-rtl.css b/wp-includes/blocks/verse/style-rtl.css new file mode 100644 index 0000000000..d79023c631 --- /dev/null +++ b/wp-includes/blocks/verse/style-rtl.css @@ -0,0 +1,8 @@ +pre.wp-block-verse{ + overflow:auto; + white-space:pre-wrap; +} + +:where(pre.wp-block-verse){ + font-family:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/verse/style-rtl.min.css b/wp-includes/blocks/verse/style-rtl.min.css new file mode 100644 index 0000000000..ac6084ac04 --- /dev/null +++ b/wp-includes/blocks/verse/style-rtl.min.css @@ -0,0 +1 @@ +pre.wp-block-verse{overflow:auto;white-space:pre-wrap}:where(pre.wp-block-verse){font-family:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/verse/style.css b/wp-includes/blocks/verse/style.css new file mode 100644 index 0000000000..d79023c631 --- /dev/null +++ b/wp-includes/blocks/verse/style.css @@ -0,0 +1,8 @@ +pre.wp-block-verse{ + overflow:auto; + white-space:pre-wrap; +} + +:where(pre.wp-block-verse){ + font-family:inherit; +} \ No newline at end of file diff --git a/wp-includes/blocks/verse/style.min.css b/wp-includes/blocks/verse/style.min.css new file mode 100644 index 0000000000..ac6084ac04 --- /dev/null +++ b/wp-includes/blocks/verse/style.min.css @@ -0,0 +1 @@ +pre.wp-block-verse{overflow:auto;white-space:pre-wrap}:where(pre.wp-block-verse){font-family:inherit} \ No newline at end of file diff --git a/wp-includes/blocks/video/editor-rtl.css b/wp-includes/blocks/video/editor-rtl.css new file mode 100644 index 0000000000..c11fd2b21b --- /dev/null +++ b/wp-includes/blocks/video/editor-rtl.css @@ -0,0 +1,78 @@ +.wp-block-video.wp-block-video.is-selected .components-placeholder{ + background-color:#fff; + border:none; + border-radius:2px; + box-shadow:inset 0 0 0 1px #1e1e1e; + color:#1e1e1e; +} +.wp-block-video.wp-block-video.is-selected .components-placeholder>svg{ + opacity:0; +} +.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration{ + display:none; +} +.wp-block-video.wp-block-video.is-selected .components-placeholder:before{ + opacity:0; +} +.wp-block-video.wp-block-video .components-button,.wp-block-video.wp-block-video .components-placeholder__instructions,.wp-block-video.wp-block-video .components-placeholder__label{ + transition:none; +} + +.wp-block[data-align=center]>.wp-block-video{ + text-align:center; +} + +.wp-block-video{ + position:relative; +} +.wp-block-video.is-transient video{ + opacity:.3; +} +.wp-block-video .components-spinner{ + margin-right:-9px; + margin-top:-9px; + position:absolute; + right:50%; + top:50%; +} + +.editor-video-poster-control .components-base-control__label{ + display:block; +} +.editor-video-poster-control .components-button{ + margin-left:8px; +} + +.block-library-video-tracks-editor{ + z-index:159990; +} + +.block-library-video-tracks-editor__track-list-track{ + padding-right:12px; +} + +.block-library-video-tracks-editor__single-track-editor-kind-select{ + max-width:240px; +} + +.block-library-video-tracks-editor__single-track-editor-edit-track-label{ + color:#757575; + display:block; + font-size:11px; + font-weight:500; + margin-top:4px; + text-transform:uppercase; +} + +.block-library-video-tracks-editor>.components-popover__content{ + padding:0; + width:360px; +} + +.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{ + padding:0; +} + +.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{ + padding:12px; +} \ No newline at end of file diff --git a/wp-includes/blocks/video/editor-rtl.min.css b/wp-includes/blocks/video/editor-rtl.min.css new file mode 100644 index 0000000000..684bd3e767 --- /dev/null +++ b/wp-includes/blocks/video/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-video.wp-block-video.is-selected .components-placeholder{background-color:#fff;border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;color:#1e1e1e}.wp-block-video.wp-block-video.is-selected .components-placeholder>svg{opacity:0}.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration{display:none}.wp-block-video.wp-block-video.is-selected .components-placeholder:before{opacity:0}.wp-block-video.wp-block-video .components-button,.wp-block-video.wp-block-video .components-placeholder__instructions,.wp-block-video.wp-block-video .components-placeholder__label{transition:none}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor__track-list-track{padding-right:12px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{color:#757575;display:block;font-size:11px;font-weight:500;margin-top:4px;text-transform:uppercase}.block-library-video-tracks-editor>.components-popover__content{padding:0;width:360px}.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px} \ No newline at end of file diff --git a/wp-includes/blocks/video/editor.css b/wp-includes/blocks/video/editor.css new file mode 100644 index 0000000000..d1b94bab03 --- /dev/null +++ b/wp-includes/blocks/video/editor.css @@ -0,0 +1,78 @@ +.wp-block-video.wp-block-video.is-selected .components-placeholder{ + background-color:#fff; + border:none; + border-radius:2px; + box-shadow:inset 0 0 0 1px #1e1e1e; + color:#1e1e1e; +} +.wp-block-video.wp-block-video.is-selected .components-placeholder>svg{ + opacity:0; +} +.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration{ + display:none; +} +.wp-block-video.wp-block-video.is-selected .components-placeholder:before{ + opacity:0; +} +.wp-block-video.wp-block-video .components-button,.wp-block-video.wp-block-video .components-placeholder__instructions,.wp-block-video.wp-block-video .components-placeholder__label{ + transition:none; +} + +.wp-block[data-align=center]>.wp-block-video{ + text-align:center; +} + +.wp-block-video{ + position:relative; +} +.wp-block-video.is-transient video{ + opacity:.3; +} +.wp-block-video .components-spinner{ + left:50%; + margin-left:-9px; + margin-top:-9px; + position:absolute; + top:50%; +} + +.editor-video-poster-control .components-base-control__label{ + display:block; +} +.editor-video-poster-control .components-button{ + margin-right:8px; +} + +.block-library-video-tracks-editor{ + z-index:159990; +} + +.block-library-video-tracks-editor__track-list-track{ + padding-left:12px; +} + +.block-library-video-tracks-editor__single-track-editor-kind-select{ + max-width:240px; +} + +.block-library-video-tracks-editor__single-track-editor-edit-track-label{ + color:#757575; + display:block; + font-size:11px; + font-weight:500; + margin-top:4px; + text-transform:uppercase; +} + +.block-library-video-tracks-editor>.components-popover__content{ + padding:0; + width:360px; +} + +.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{ + padding:0; +} + +.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{ + padding:12px; +} \ No newline at end of file diff --git a/wp-includes/blocks/video/editor.min.css b/wp-includes/blocks/video/editor.min.css new file mode 100644 index 0000000000..ca24a821d3 --- /dev/null +++ b/wp-includes/blocks/video/editor.min.css @@ -0,0 +1 @@ +.wp-block-video.wp-block-video.is-selected .components-placeholder{background-color:#fff;border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;color:#1e1e1e}.wp-block-video.wp-block-video.is-selected .components-placeholder>svg{opacity:0}.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration{display:none}.wp-block-video.wp-block-video.is-selected .components-placeholder:before{opacity:0}.wp-block-video.wp-block-video .components-button,.wp-block-video.wp-block-video .components-placeholder__instructions,.wp-block-video.wp-block-video .components-placeholder__label{transition:none}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{left:50%;margin-left:-9px;margin-top:-9px;position:absolute;top:50%}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor__track-list-track{padding-left:12px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{color:#757575;display:block;font-size:11px;font-weight:500;margin-top:4px;text-transform:uppercase}.block-library-video-tracks-editor>.components-popover__content{padding:0;width:360px}.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px} \ No newline at end of file diff --git a/wp-includes/blocks/video/style-rtl.css b/wp-includes/blocks/video/style-rtl.css new file mode 100644 index 0000000000..6f31609588 --- /dev/null +++ b/wp-includes/blocks/video/style-rtl.css @@ -0,0 +1,19 @@ +.wp-block-video{ + box-sizing:border-box; +} +.wp-block-video video{ + width:100%; +} +@supports (position:sticky){ + .wp-block-video [poster]{ + -o-object-fit:cover; + object-fit:cover; + } +} +.wp-block-video.aligncenter{ + text-align:center; +} +.wp-block-video figcaption{ + margin-bottom:1em; + margin-top:.5em; +} \ No newline at end of file diff --git a/wp-includes/blocks/video/style-rtl.min.css b/wp-includes/blocks/video/style-rtl.min.css new file mode 100644 index 0000000000..c4a1c152d4 --- /dev/null +++ b/wp-includes/blocks/video/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-video{box-sizing:border-box}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-bottom:1em;margin-top:.5em} \ No newline at end of file diff --git a/wp-includes/blocks/video/style.css b/wp-includes/blocks/video/style.css new file mode 100644 index 0000000000..6f31609588 --- /dev/null +++ b/wp-includes/blocks/video/style.css @@ -0,0 +1,19 @@ +.wp-block-video{ + box-sizing:border-box; +} +.wp-block-video video{ + width:100%; +} +@supports (position:sticky){ + .wp-block-video [poster]{ + -o-object-fit:cover; + object-fit:cover; + } +} +.wp-block-video.aligncenter{ + text-align:center; +} +.wp-block-video figcaption{ + margin-bottom:1em; + margin-top:.5em; +} \ No newline at end of file diff --git a/wp-includes/blocks/video/style.min.css b/wp-includes/blocks/video/style.min.css new file mode 100644 index 0000000000..c4a1c152d4 --- /dev/null +++ b/wp-includes/blocks/video/style.min.css @@ -0,0 +1 @@ +.wp-block-video{box-sizing:border-box}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-bottom:1em;margin-top:.5em} \ No newline at end of file diff --git a/wp-includes/blocks/video/theme-rtl.css b/wp-includes/blocks/video/theme-rtl.css new file mode 100644 index 0000000000..384cff9556 --- /dev/null +++ b/wp-includes/blocks/video/theme-rtl.css @@ -0,0 +1,12 @@ +.wp-block-video figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-video figcaption{ + color:hsla(0,0%,100%,.65); +} + +.wp-block-video{ + margin:0 0 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/video/theme-rtl.min.css b/wp-includes/blocks/video/theme-rtl.min.css new file mode 100644 index 0000000000..64b3a34e91 --- /dev/null +++ b/wp-includes/blocks/video/theme-rtl.min.css @@ -0,0 +1 @@ +.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video{margin:0 0 1em} \ No newline at end of file diff --git a/wp-includes/blocks/video/theme.css b/wp-includes/blocks/video/theme.css new file mode 100644 index 0000000000..384cff9556 --- /dev/null +++ b/wp-includes/blocks/video/theme.css @@ -0,0 +1,12 @@ +.wp-block-video figcaption{ + color:#555; + font-size:13px; + text-align:center; +} +.is-dark-theme .wp-block-video figcaption{ + color:hsla(0,0%,100%,.65); +} + +.wp-block-video{ + margin:0 0 1em; +} \ No newline at end of file diff --git a/wp-includes/blocks/video/theme.min.css b/wp-includes/blocks/video/theme.min.css new file mode 100644 index 0000000000..64b3a34e91 --- /dev/null +++ b/wp-includes/blocks/video/theme.min.css @@ -0,0 +1 @@ +.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video{margin:0 0 1em} \ No newline at end of file diff --git a/wp-includes/version.php b/wp-includes/version.php index 88f1934e4f..79e1f8d2cb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-beta5-55493'; +$wp_version = '6.2-beta5-55494'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.