Editor: Update @wordpress npm packages
Update @wordpress npm packages to the latest published versions. This means that the block editor includes functionality that exists in Gutenberg 9.8. See #52334. Props isabel_brison. Built from https://develop.svn.wordpress.org/trunk@50048 git-svn-id: http://core.svn.wordpress.org/trunk@49749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d3d95965dd
commit
43e36a3541
File diff suppressed because one or more lines are too long
|
@ -15,5 +15,6 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"align": true,
|
"align": true,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-archives-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,5 +39,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true,
|
"anchor": true,
|
||||||
"align": true
|
"align": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-audio-editor",
|
||||||
|
"style": "wp-block-audio"
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,5 +11,6 @@
|
||||||
"customClassName": false,
|
"customClassName": false,
|
||||||
"html": false,
|
"html": false,
|
||||||
"inserter": false
|
"inserter": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,6 +52,9 @@
|
||||||
},
|
},
|
||||||
"gradient": {
|
"gradient": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"width": {
|
||||||
|
"type": "number"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
|
@ -60,5 +63,7 @@
|
||||||
"alignWide": false,
|
"alignWide": false,
|
||||||
"reusable": false,
|
"reusable": false,
|
||||||
"__experimentalSelector": ".wp-block-button > a"
|
"__experimentalSelector": ".wp-block-button > a"
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-button-editor",
|
||||||
|
"style": "wp-block-button"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,9 +2,19 @@
|
||||||
"apiVersion": 2,
|
"apiVersion": 2,
|
||||||
"name": "core/buttons",
|
"name": "core/buttons",
|
||||||
"category": "design",
|
"category": "design",
|
||||||
|
"attributes": {
|
||||||
|
"contentJustification": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"orientation": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "horizontal"
|
||||||
|
}
|
||||||
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true,
|
"anchor": true,
|
||||||
"align": true,
|
"align": [ "wide", "full" ]
|
||||||
"alignWide": false
|
},
|
||||||
}
|
"editorStyle": "wp-block-buttons-editor",
|
||||||
|
"style": "wp-block-buttons"
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,5 +12,6 @@
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"align": true
|
"align": true
|
||||||
}
|
},
|
||||||
|
"style": "wp-block-calendar"
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,5 +19,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"align": true,
|
"align": true,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-categories-editor",
|
||||||
|
"style": "wp-block-categories"
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,5 +12,6 @@
|
||||||
"className": false,
|
"className": false,
|
||||||
"customClassName": false,
|
"customClassName": false,
|
||||||
"reusable": false
|
"reusable": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-freeform-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true
|
"anchor": true,
|
||||||
}
|
"fontSize": true
|
||||||
|
},
|
||||||
|
"style": "wp-block-code"
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,5 +18,7 @@
|
||||||
"gradients": true,
|
"gradients": true,
|
||||||
"link": true
|
"link": true
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-columns-editor",
|
||||||
|
"style": "wp-block-columns"
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,8 +31,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"align": true,
|
"align": true
|
||||||
"reusable": false,
|
},
|
||||||
"html": false
|
"editorStyle": "wp-block-embed-editor",
|
||||||
}
|
"style": "wp-block-embed"
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,5 +39,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true,
|
"anchor": true,
|
||||||
"align": true
|
"align": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-file-editor",
|
||||||
|
"style": "wp-block-file"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"apiVersion": 2,
|
||||||
"name": "core/gallery",
|
"name": "core/gallery",
|
||||||
"category": "media",
|
"category": "media",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
|
@ -78,5 +79,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true,
|
"anchor": true,
|
||||||
"align": true
|
"align": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-gallery-editor",
|
||||||
|
"style": "wp-block-gallery"
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,11 @@
|
||||||
},
|
},
|
||||||
"spacing": {
|
"spacing": {
|
||||||
"padding": true
|
"padding": true
|
||||||
|
},
|
||||||
|
"__experimentalBorder": {
|
||||||
|
"radius": true
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-group-editor",
|
||||||
|
"style": "wp-block-group"
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,13 +30,51 @@
|
||||||
"fontSize": true,
|
"fontSize": true,
|
||||||
"lineHeight": true,
|
"lineHeight": true,
|
||||||
"__experimentalSelector": {
|
"__experimentalSelector": {
|
||||||
"core/heading/h1": "h1",
|
"core/heading/h1": {
|
||||||
"core/heading/h2": "h2",
|
"selector": "h1",
|
||||||
"core/heading/h3": "h3",
|
"title": "h1",
|
||||||
"core/heading/h4": "h4",
|
"attributes": {
|
||||||
"core/heading/h5": "h5",
|
"level": 1
|
||||||
"core/heading/h6": "h6"
|
}
|
||||||
|
},
|
||||||
|
"core/heading/h2": {
|
||||||
|
"selector": "h2",
|
||||||
|
"title": "h2",
|
||||||
|
"attributes": {
|
||||||
|
"level": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/heading/h3": {
|
||||||
|
"selector": "h3",
|
||||||
|
"title": "h3",
|
||||||
|
"attributes": {
|
||||||
|
"level": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/heading/h4": {
|
||||||
|
"selector": "h4",
|
||||||
|
"title": "h4",
|
||||||
|
"attributes": {
|
||||||
|
"level": 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/heading/h5": {
|
||||||
|
"selector": "h5",
|
||||||
|
"title": "h5",
|
||||||
|
"attributes": {
|
||||||
|
"level": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/heading/h6": {
|
||||||
|
"selector": "h6",
|
||||||
|
"title": "h6",
|
||||||
|
"attributes": {
|
||||||
|
"level": 6
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"__unstablePasteTextInline": true
|
"__unstablePasteTextInline": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-heading-editor",
|
||||||
|
"style": "wp-block-heading"
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,5 +12,6 @@
|
||||||
"customClassName": false,
|
"customClassName": false,
|
||||||
"className": false,
|
"className": false,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-html-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,5 +72,7 @@
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true
|
"anchor": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-image-editor",
|
||||||
|
"style": "wp-block-image"
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,12 +29,12 @@ function register_core_block_types_from_metadata() {
|
||||||
'audio',
|
'audio',
|
||||||
'button',
|
'button',
|
||||||
'buttons',
|
'buttons',
|
||||||
'classic',
|
|
||||||
'code',
|
'code',
|
||||||
'column',
|
'column',
|
||||||
'columns',
|
'columns',
|
||||||
'embed',
|
'embed',
|
||||||
'file',
|
'file',
|
||||||
|
'freeform',
|
||||||
'gallery',
|
'gallery',
|
||||||
'group',
|
'group',
|
||||||
'heading',
|
'heading',
|
||||||
|
|
|
@ -41,8 +41,8 @@ function wp_latest_comments_draft_or_post_title( $post = 0 ) {
|
||||||
* @return string Returns the post content with latest comments added.
|
* @return string Returns the post content with latest comments added.
|
||||||
*/
|
*/
|
||||||
function render_block_core_latest_comments( $attributes = array() ) {
|
function render_block_core_latest_comments( $attributes = array() ) {
|
||||||
// This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php.
|
|
||||||
$comments = get_comments(
|
$comments = get_comments(
|
||||||
|
// This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php.
|
||||||
apply_filters(
|
apply_filters(
|
||||||
'widget_comments_args',
|
'widget_comments_args',
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -25,5 +25,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"align": true,
|
"align": true,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-latest-comments-editor",
|
||||||
|
"style": "wp-block-latest-comments"
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,5 +84,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"align": true,
|
"align": true,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-latest-posts-editor",
|
||||||
|
"style": "wp-block-latest-posts"
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,9 +28,12 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true,
|
"anchor": true,
|
||||||
"className": false,
|
"className": false,
|
||||||
|
"fontSize": true,
|
||||||
"color": {
|
"color": {
|
||||||
"gradients": true
|
"gradients": true
|
||||||
},
|
},
|
||||||
"__unstablePasteTextInline": true
|
"__unstablePasteTextInline": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-list-editor",
|
||||||
|
"style": "wp-block-list"
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,5 +89,7 @@
|
||||||
"gradients": true,
|
"gradients": true,
|
||||||
"link": true
|
"link": true
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-media-text-editor",
|
||||||
|
"style": "wp-block-media-text"
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,5 +16,6 @@
|
||||||
"className": false,
|
"className": false,
|
||||||
"html": false,
|
"html": false,
|
||||||
"multiple": false
|
"multiple": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-more-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,5 +7,6 @@
|
||||||
"customClassName": false,
|
"customClassName": false,
|
||||||
"className": false,
|
"className": false,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-nextpage-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,5 +37,7 @@
|
||||||
"lineHeight": true,
|
"lineHeight": true,
|
||||||
"__experimentalSelector": "p",
|
"__experimentalSelector": "p",
|
||||||
"__unstablePasteTextInline": true
|
"__unstablePasteTextInline": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-paragraph-editor",
|
||||||
|
"style": "wp-block-paragraph"
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true
|
"anchor": true,
|
||||||
}
|
"fontSize": true
|
||||||
|
},
|
||||||
|
"style": "wp-block-preformatted"
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,5 +36,7 @@
|
||||||
"wide",
|
"wide",
|
||||||
"full"
|
"full"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-pullquote-editor",
|
||||||
|
"style": "wp-block-pullquote"
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,5 +22,7 @@
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true
|
"anchor": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-quote-editor",
|
||||||
|
"style": "wp-block-quote"
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,5 +39,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"align": true,
|
"align": true,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-rss-editor",
|
||||||
|
"style": "wp-block-rss"
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,5 +35,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"align": [ "left", "center", "right" ],
|
"align": [ "left", "center", "right" ],
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-search-editor",
|
||||||
|
"style": "wp-block-search"
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,5 +13,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true,
|
"anchor": true,
|
||||||
"align": ["center","wide","full"]
|
"align": ["center","wide","full"]
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-separator-editor",
|
||||||
|
"style": "wp-block-separator"
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,5 +12,6 @@
|
||||||
"className": false,
|
"className": false,
|
||||||
"customClassName": false,
|
"customClassName": false,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-shortcode-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -190,6 +190,10 @@ function block_core_social_link_services( $service = '', $field = '' ) {
|
||||||
'name' => 'Medium',
|
'name' => 'Medium',
|
||||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"></path></svg>',
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"></path></svg>',
|
||||||
),
|
),
|
||||||
|
'patreon' => array(
|
||||||
|
'name' => 'Patreon',
|
||||||
|
'icon' => '<svg width="24" height="24" viewBox="0 0 569 546" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><circle cx="363" cy="205" r="205" /><rect width="100" height="546" x="0" y="0" /></svg>',
|
||||||
|
),
|
||||||
'pinterest' => array(
|
'pinterest' => array(
|
||||||
'name' => 'Pinterest',
|
'name' => 'Pinterest',
|
||||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"></path></svg>',
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"></path></svg>',
|
||||||
|
@ -218,6 +222,14 @@ function block_core_social_link_services( $service = '', $field = '' ) {
|
||||||
'name' => 'Spotify',
|
'name' => 'Spotify',
|
||||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"></path></svg>',
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"></path></svg>',
|
||||||
),
|
),
|
||||||
|
'telegram' => array(
|
||||||
|
'name' => 'Telegram',
|
||||||
|
'icon' => '<svg width="24" height="24" viewBox="0 0 128 128" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z" /></svg>',
|
||||||
|
),
|
||||||
|
'tiktok' => array(
|
||||||
|
'name' => 'TikTok',
|
||||||
|
'icon' => '<svg width="24" height="24" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z" /></svg>',
|
||||||
|
),
|
||||||
'tumblr' => array(
|
'tumblr' => array(
|
||||||
'name' => 'Tumblr',
|
'name' => 'Tumblr',
|
||||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z" /></path></svg>',
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z" /></path></svg>',
|
||||||
|
|
|
@ -22,5 +22,6 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"reusable": false,
|
"reusable": false,
|
||||||
"html": false
|
"html": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-social-link-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
"openInNewTab": {
|
"openInNewTab": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"providesContext": {
|
"providesContext": {
|
||||||
|
@ -18,5 +21,7 @@
|
||||||
"right"
|
"right"
|
||||||
],
|
],
|
||||||
"anchor": true
|
"anchor": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-social-links-editor",
|
||||||
|
"style": "wp-block-social-links"
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,5 +10,7 @@
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true
|
"anchor": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-spacer-editor",
|
||||||
|
"style": "wp-block-spacer"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,5 +15,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"inserter": false,
|
"inserter": false,
|
||||||
"multiple": false
|
"multiple": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-subhead-editor",
|
||||||
|
"style": "wp-block-subhead"
|
||||||
}
|
}
|
||||||
|
|
|
@ -125,6 +125,8 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true,
|
"anchor": true,
|
||||||
"align": true,
|
"align": true,
|
||||||
"__experimentalSelector": ".wp-block-button > table"
|
"__experimentalSelector": ".wp-block-table > table"
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-table-editor",
|
||||||
|
"style": "wp-block-table"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,5 +15,6 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"html": false,
|
"html": false,
|
||||||
"align": true
|
"align": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-tag-cloud-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,5 +29,7 @@
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"inserter": false
|
"inserter": false
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-text-columns-editor",
|
||||||
|
"style": "wp-block-text-columns"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true
|
"anchor": true,
|
||||||
}
|
"__experimentalFontFamily": true,
|
||||||
|
"fontSize": true
|
||||||
|
},
|
||||||
|
"style": "wp-block-verse",
|
||||||
|
"editorStyle": "wp-block-verse-editor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,5 +72,7 @@
|
||||||
"supports": {
|
"supports": {
|
||||||
"anchor": true,
|
"anchor": true,
|
||||||
"align": true
|
"align": true
|
||||||
}
|
},
|
||||||
|
"editorStyle": "wp-block-video-editor",
|
||||||
|
"style": "wp-block-video"
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,7 @@ class WP_Block_Supports {
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = array();
|
$output = array();
|
||||||
foreach ( $this->block_supports as $name => $block_support_config ) {
|
foreach ( $this->block_supports as $block_support_config ) {
|
||||||
if ( ! isset( $block_support_config['apply'] ) ) {
|
if ( ! isset( $block_support_config['apply'] ) ) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -143,7 +143,7 @@ class WP_Block_Supports {
|
||||||
$block_type->attributes = array();
|
$block_type->attributes = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ( $this->block_supports as $name => $block_support_config ) {
|
foreach ( $this->block_supports as $block_support_config ) {
|
||||||
if ( ! isset( $block_support_config['register_attribute'] ) ) {
|
if ( ! isset( $block_support_config['register_attribute'] ) ) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,92 +67,124 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-block-ratings {
|
.block-directory-block-ratings {
|
||||||
display: flex; }
|
display: flex;
|
||||||
.block-directory-block-ratings > div {
|
}
|
||||||
|
.block-directory-block-ratings > div {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
display: flex; }
|
display: flex;
|
||||||
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
}
|
||||||
font-size: ms(-2); }
|
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
||||||
.block-directory-block-ratings svg {
|
font-size: ms(-2);
|
||||||
fill: #ffb900; }
|
}
|
||||||
|
.block-directory-block-ratings svg {
|
||||||
|
fill: #ffb900;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list {
|
.block-directory-compact-list {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style: none; }
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list__item {
|
.block-directory-compact-list__item {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 16px; }
|
margin-bottom: 16px;
|
||||||
.block-directory-compact-list__item:last-child {
|
}
|
||||||
margin-bottom: 0; }
|
.block-directory-compact-list__item:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list__item-details {
|
.block-directory-compact-list__item-details {
|
||||||
margin-right: 8px; }
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list__item-title {
|
.block-directory-compact-list__item-title {
|
||||||
font-weight: 500; }
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list__item-author {
|
.block-directory-compact-list__item-author {
|
||||||
color: #757575;
|
color: #757575;
|
||||||
font-size: 11px; }
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-author-info__content {
|
.block-directory-downloadable-block-author-info__content {
|
||||||
font-size: 12px; }
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-author-info__content-author {
|
.block-directory-downloadable-block-author-info__content-author {
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
font-size: 13px; }
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-header__row {
|
.block-directory-downloadable-block-header__row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1; }
|
flex-grow: 1;
|
||||||
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
}
|
||||||
|
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding-right: 12px; }
|
padding-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-header__title {
|
.block-directory-downloadable-block-header__title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: currentColor; }
|
color: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-icon {
|
.block-directory-downloadable-block-icon {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px; }
|
height: 36px;
|
||||||
.block-directory-downloadable-block-icon .block-editor-block-icon {
|
}
|
||||||
|
.block-directory-downloadable-block-icon .block-editor-block-icon {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
background-color: #ddd; }
|
background-color: #ddd;
|
||||||
.block-directory-downloadable-block-icon > img {
|
}
|
||||||
width: 100%; }
|
.block-directory-downloadable-block-icon > img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__content {
|
.block-directory-downloadable-block-info__content {
|
||||||
margin: 0 0 16px;
|
margin: 0 0 16px;
|
||||||
font-size: 13px; }
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__meta {
|
.block-directory-downloadable-block-info__meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
color: #757575;
|
color: #757575;
|
||||||
font-size: 12px; }
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__meta:last-child {
|
.block-directory-downloadable-block-info__meta:last-child {
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__icon {
|
.block-directory-downloadable-block-info__icon {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
fill: #757575; }
|
fill: #757575;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item {
|
.block-directory-downloadable-block-list-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -164,72 +203,90 @@
|
||||||
transition: all 0.05s ease-in-out;
|
transition: all 0.05s ease-in-out;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
overflow: hidden; }
|
overflow: hidden;
|
||||||
@media (prefers-reduced-motion: reduce) {
|
}
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.block-directory-downloadable-block-list-item {
|
.block-directory-downloadable-block-list-item {
|
||||||
transition-duration: 0s; } }
|
transition-duration: 0s;
|
||||||
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
}
|
||||||
border-top: none; }
|
}
|
||||||
|
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
||||||
border-top: 0; }
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item:last-child {
|
.block-directory-downloadable-block-list-item:last-child {
|
||||||
border-bottom: 0; }
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__panel {
|
.block-directory-downloadable-block-list-item__panel {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-direction: column; }
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__header {
|
.block-directory-downloadable-block-list-item__header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 16px 16px 0; }
|
padding: 16px 16px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__body {
|
.block-directory-downloadable-block-list-item__body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 16px; }
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__footer {
|
.block-directory-downloadable-block-list-item__footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
background-color: #f0f0f0; }
|
background-color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__content {
|
.block-directory-downloadable-block-list-item__content {
|
||||||
color: #757575; }
|
color: #757575;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-notice {
|
.block-directory-downloadable-block-notice {
|
||||||
margin: 0 0 16px; }
|
margin: 0 0 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-notice__content {
|
.block-directory-downloadable-block-notice__content {
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
margin-bottom: 8px; }
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-list {
|
.block-directory-downloadable-blocks-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap; }
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-panel__description {
|
.block-directory-downloadable-blocks-panel__description {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: #757575; }
|
color: #757575;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 112px 0;
|
margin: 112px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #757575; }
|
color: #757575;
|
||||||
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
}
|
||||||
float: inherit; }
|
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
||||||
|
float: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.installed-blocks-pre-publish-panel__copy {
|
.installed-blocks-pre-publish-panel__copy {
|
||||||
margin-top: 0; }
|
margin-top: 0;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-author-info__content{font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-right:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#ddd}.block-directory-downloadable-block-icon>img{width:100%}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#757575;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-left:4px;fill:#757575}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#1e1e1e;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #ddd;border-bottom:1px solid #ddd;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item+.block-directory-downloadable-block-list-item{border-top:none}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f0f0f0}.block-directory-downloadable-block-list-item__content{color:#757575}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-left:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:right;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-author-info__content{font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-right:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#ddd}.block-directory-downloadable-block-icon>img{width:100%}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#757575;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-left:4px;fill:#757575}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#1e1e1e;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #ddd;border-bottom:1px solid #ddd;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item+.block-directory-downloadable-block-list-item{border-top:none}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f0f0f0}.block-directory-downloadable-block-list-item__content{color:#757575}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-left:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:right;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,92 +67,124 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-block-ratings {
|
.block-directory-block-ratings {
|
||||||
display: flex; }
|
display: flex;
|
||||||
.block-directory-block-ratings > div {
|
}
|
||||||
|
.block-directory-block-ratings > div {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
display: flex; }
|
display: flex;
|
||||||
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
}
|
||||||
font-size: ms(-2); }
|
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
||||||
.block-directory-block-ratings svg {
|
font-size: ms(-2);
|
||||||
fill: #ffb900; }
|
}
|
||||||
|
.block-directory-block-ratings svg {
|
||||||
|
fill: #ffb900;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list {
|
.block-directory-compact-list {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style: none; }
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list__item {
|
.block-directory-compact-list__item {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 16px; }
|
margin-bottom: 16px;
|
||||||
.block-directory-compact-list__item:last-child {
|
}
|
||||||
margin-bottom: 0; }
|
.block-directory-compact-list__item:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list__item-details {
|
.block-directory-compact-list__item-details {
|
||||||
margin-left: 8px; }
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list__item-title {
|
.block-directory-compact-list__item-title {
|
||||||
font-weight: 500; }
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-compact-list__item-author {
|
.block-directory-compact-list__item-author {
|
||||||
color: #757575;
|
color: #757575;
|
||||||
font-size: 11px; }
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-author-info__content {
|
.block-directory-downloadable-block-author-info__content {
|
||||||
font-size: 12px; }
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-author-info__content-author {
|
.block-directory-downloadable-block-author-info__content-author {
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
font-size: 13px; }
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-header__row {
|
.block-directory-downloadable-block-header__row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1; }
|
flex-grow: 1;
|
||||||
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
}
|
||||||
|
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding-left: 12px; }
|
padding-left: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-header__title {
|
.block-directory-downloadable-block-header__title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: currentColor; }
|
color: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-icon {
|
.block-directory-downloadable-block-icon {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px; }
|
height: 36px;
|
||||||
.block-directory-downloadable-block-icon .block-editor-block-icon {
|
}
|
||||||
|
.block-directory-downloadable-block-icon .block-editor-block-icon {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
background-color: #ddd; }
|
background-color: #ddd;
|
||||||
.block-directory-downloadable-block-icon > img {
|
}
|
||||||
width: 100%; }
|
.block-directory-downloadable-block-icon > img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__content {
|
.block-directory-downloadable-block-info__content {
|
||||||
margin: 0 0 16px;
|
margin: 0 0 16px;
|
||||||
font-size: 13px; }
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__meta {
|
.block-directory-downloadable-block-info__meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
color: #757575;
|
color: #757575;
|
||||||
font-size: 12px; }
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__meta:last-child {
|
.block-directory-downloadable-block-info__meta:last-child {
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__icon {
|
.block-directory-downloadable-block-info__icon {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
fill: #757575; }
|
fill: #757575;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item {
|
.block-directory-downloadable-block-list-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -164,72 +203,90 @@
|
||||||
transition: all 0.05s ease-in-out;
|
transition: all 0.05s ease-in-out;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
overflow: hidden; }
|
overflow: hidden;
|
||||||
@media (prefers-reduced-motion: reduce) {
|
}
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.block-directory-downloadable-block-list-item {
|
.block-directory-downloadable-block-list-item {
|
||||||
transition-duration: 0s; } }
|
transition-duration: 0s;
|
||||||
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
}
|
||||||
border-top: none; }
|
}
|
||||||
|
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
||||||
border-top: 0; }
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item:last-child {
|
.block-directory-downloadable-block-list-item:last-child {
|
||||||
border-bottom: 0; }
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__panel {
|
.block-directory-downloadable-block-list-item__panel {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-direction: column; }
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__header {
|
.block-directory-downloadable-block-list-item__header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 16px 16px 0; }
|
padding: 16px 16px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__body {
|
.block-directory-downloadable-block-list-item__body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 16px; }
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__footer {
|
.block-directory-downloadable-block-list-item__footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
background-color: #f0f0f0; }
|
background-color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__content {
|
.block-directory-downloadable-block-list-item__content {
|
||||||
color: #757575; }
|
color: #757575;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-notice {
|
.block-directory-downloadable-block-notice {
|
||||||
margin: 0 0 16px; }
|
margin: 0 0 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-block-notice__content {
|
.block-directory-downloadable-block-notice__content {
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
margin-bottom: 8px; }
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-list {
|
.block-directory-downloadable-blocks-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap; }
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-panel__description {
|
.block-directory-downloadable-blocks-panel__description {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
color: #757575; }
|
color: #757575;
|
||||||
|
}
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 112px 0;
|
margin: 112px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #757575; }
|
color: #757575;
|
||||||
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
}
|
||||||
float: inherit; }
|
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
||||||
|
float: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.installed-blocks-pre-publish-panel__copy {
|
.installed-blocks-pre-publish-panel__copy {
|
||||||
margin-top: 0; }
|
margin-top: 0;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-author-info__content{font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-left:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#ddd}.block-directory-downloadable-block-icon>img{width:100%}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#757575;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-right:4px;fill:#757575}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#1e1e1e;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #ddd;border-bottom:1px solid #ddd;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item+.block-directory-downloadable-block-list-item{border-top:none}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f0f0f0}.block-directory-downloadable-block-list-item__content{color:#757575}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-right:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:left;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-author-info__content{font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-left:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#ddd}.block-directory-downloadable-block-icon>img{width:100%}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#757575;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-right:4px;fill:#757575}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#1e1e1e;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #ddd;border-bottom:1px solid #ddd;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item+.block-directory-downloadable-block-list-item{border-top:none}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f0f0f0}.block-directory-downloadable-block-list-item__content{color:#757575}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-right:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:left;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,272 @@
|
||||||
|
/**
|
||||||
|
* Colors
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Breakpoints & Media Queries
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Colors
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Fonts & basic variables.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Grid System.
|
||||||
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block & Editor UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block paddings.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Breakpoint mixins
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Long content fade mixin
|
||||||
|
*
|
||||||
|
* Creates a fading overlay to signify that the content is longer
|
||||||
|
* than the space allows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Focus styles.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Applies editor left position to the selector passed as argument
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Styles that are reused verbatim in a few places
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Allows users to opt-out of animations via OS-level preferences.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Reset default styles for JavaScript UI based pages.
|
||||||
|
* This is a WP-admin agnostic reset
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
/* stylelint-disable function-comma-space-after */
|
||||||
|
/* stylelint-enable function-comma-space-after */
|
||||||
|
}
|
||||||
|
:root .has-pale-pink-background-color {
|
||||||
|
background-color: #f78da7;
|
||||||
|
}
|
||||||
|
:root .has-vivid-red-background-color {
|
||||||
|
background-color: #cf2e2e;
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-orange-background-color {
|
||||||
|
background-color: #ff6900;
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-amber-background-color {
|
||||||
|
background-color: #fcb900;
|
||||||
|
}
|
||||||
|
:root .has-light-green-cyan-background-color {
|
||||||
|
background-color: #7bdcb5;
|
||||||
|
}
|
||||||
|
:root .has-vivid-green-cyan-background-color {
|
||||||
|
background-color: #00d084;
|
||||||
|
}
|
||||||
|
:root .has-pale-cyan-blue-background-color {
|
||||||
|
background-color: #8ed1fc;
|
||||||
|
}
|
||||||
|
:root .has-vivid-cyan-blue-background-color {
|
||||||
|
background-color: #0693e3;
|
||||||
|
}
|
||||||
|
:root .has-vivid-purple-background-color {
|
||||||
|
background-color: #9b51e0;
|
||||||
|
}
|
||||||
|
:root .has-white-background-color {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
:root .has-very-light-gray-background-color {
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
:root .has-cyan-bluish-gray-background-color {
|
||||||
|
background-color: #abb8c3;
|
||||||
|
}
|
||||||
|
:root .has-very-dark-gray-background-color {
|
||||||
|
background-color: #313131;
|
||||||
|
}
|
||||||
|
:root .has-black-background-color {
|
||||||
|
background-color: #000;
|
||||||
|
}
|
||||||
|
:root .has-pale-pink-color {
|
||||||
|
color: #f78da7;
|
||||||
|
}
|
||||||
|
:root .has-vivid-red-color {
|
||||||
|
color: #cf2e2e;
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-orange-color {
|
||||||
|
color: #ff6900;
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-amber-color {
|
||||||
|
color: #fcb900;
|
||||||
|
}
|
||||||
|
:root .has-light-green-cyan-color {
|
||||||
|
color: #7bdcb5;
|
||||||
|
}
|
||||||
|
:root .has-vivid-green-cyan-color {
|
||||||
|
color: #00d084;
|
||||||
|
}
|
||||||
|
:root .has-pale-cyan-blue-color {
|
||||||
|
color: #8ed1fc;
|
||||||
|
}
|
||||||
|
:root .has-vivid-cyan-blue-color {
|
||||||
|
color: #0693e3;
|
||||||
|
}
|
||||||
|
:root .has-vivid-purple-color {
|
||||||
|
color: #9b51e0;
|
||||||
|
}
|
||||||
|
:root .has-white-color {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
:root .has-very-light-gray-color {
|
||||||
|
color: #eee;
|
||||||
|
}
|
||||||
|
:root .has-cyan-bluish-gray-color {
|
||||||
|
color: #abb8c3;
|
||||||
|
}
|
||||||
|
:root .has-very-dark-gray-color {
|
||||||
|
color: #313131;
|
||||||
|
}
|
||||||
|
:root .has-black-color {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #0693e3 0%, #9b51e0 100%);
|
||||||
|
}
|
||||||
|
:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #00d084 0%, #0693e3 100%);
|
||||||
|
}
|
||||||
|
:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #7adcb4 0%, #00d082 100%);
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #fcb900 0%, #ff6900 100%);
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-orange-to-vivid-red-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #ff6900 0%, #cf2e2e 100%);
|
||||||
|
}
|
||||||
|
:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #eeeeee 0%, #a9b8c3 100%);
|
||||||
|
}
|
||||||
|
:root .has-cool-to-warm-spectrum-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #4aeadc 0%, #9778d1 20%, #cf2aba 40%, #ee2c82 60%, #fb6962 80%, #fef84c 100%);
|
||||||
|
}
|
||||||
|
:root .has-blush-light-purple-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #ffceec 0%, #9896f0 100%);
|
||||||
|
}
|
||||||
|
:root .has-blush-bordeaux-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #fecda5 0%, #fe2d2d 50%, #6b003e 100%);
|
||||||
|
}
|
||||||
|
:root .has-purple-crush-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%);
|
||||||
|
}
|
||||||
|
:root .has-luminous-dusk-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #ffcb70 0%, #c751c0 50%, #4158d0 100%);
|
||||||
|
}
|
||||||
|
:root .has-hazy-dawn-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #faaca8 0%, #dad0ec 100%);
|
||||||
|
}
|
||||||
|
:root .has-pale-ocean-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #fff5cb 0%, #b6e3d4 50%, #33a7b5 100%);
|
||||||
|
}
|
||||||
|
:root .has-electric-grass-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #caf880 0%, #71ce7e 100%);
|
||||||
|
}
|
||||||
|
:root .has-subdued-olive-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #fafae1 0%, #67a671 100%);
|
||||||
|
}
|
||||||
|
:root .has-atomic-cream-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #fdd79a 0%, #004a59 100%);
|
||||||
|
}
|
||||||
|
:root .has-nightshade-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #330968 0%, #31cdcf 100%);
|
||||||
|
}
|
||||||
|
:root .has-midnight-gradient-background {
|
||||||
|
background: linear-gradient(-135deg, #020381 0%, #2874fc 100%);
|
||||||
|
}
|
||||||
|
:root .has-link-color a {
|
||||||
|
color: #00e;
|
||||||
|
color: var(--wp--style--color--link, #00e);
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-small-font-size {
|
||||||
|
font-size: 0.8125em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-regular-font-size,
|
||||||
|
.has-normal-font-size {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-medium-font-size {
|
||||||
|
font-size: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-large-font-size {
|
||||||
|
font-size: 2.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-larger-font-size,
|
||||||
|
.has-huge-font-size {
|
||||||
|
font-size: 2.625em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-align-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-align-left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-align-right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#end-resizable-editor-section {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.aligncenter {
|
||||||
|
clear: both;
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-white-background-color{background-color:#fff}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-black-background-color{background-color:#000}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-white-color{color:#fff}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-black-color{color:#000}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}:root .has-link-color a{color:#00e;color:var(--wp--style--color--link,#00e)}.has-small-font-size{font-size:.8125em}.has-normal-font-size,.has-regular-font-size{font-size:1em}.has-medium-font-size{font-size:1.25em}.has-large-font-size{font-size:2.25em}.has-huge-font-size,.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}
|
|
@ -0,0 +1,274 @@
|
||||||
|
/**
|
||||||
|
* Colors
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Breakpoints & Media Queries
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Colors
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Fonts & basic variables.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Grid System.
|
||||||
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block & Editor UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block paddings.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Breakpoint mixins
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Long content fade mixin
|
||||||
|
*
|
||||||
|
* Creates a fading overlay to signify that the content is longer
|
||||||
|
* than the space allows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Focus styles.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Applies editor left position to the selector passed as argument
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Styles that are reused verbatim in a few places
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Allows users to opt-out of animations via OS-level preferences.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Reset default styles for JavaScript UI based pages.
|
||||||
|
* This is a WP-admin agnostic reset
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
/* stylelint-disable function-comma-space-after */
|
||||||
|
/* stylelint-enable function-comma-space-after */
|
||||||
|
}
|
||||||
|
:root .has-pale-pink-background-color {
|
||||||
|
background-color: #f78da7;
|
||||||
|
}
|
||||||
|
:root .has-vivid-red-background-color {
|
||||||
|
background-color: #cf2e2e;
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-orange-background-color {
|
||||||
|
background-color: #ff6900;
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-amber-background-color {
|
||||||
|
background-color: #fcb900;
|
||||||
|
}
|
||||||
|
:root .has-light-green-cyan-background-color {
|
||||||
|
background-color: #7bdcb5;
|
||||||
|
}
|
||||||
|
:root .has-vivid-green-cyan-background-color {
|
||||||
|
background-color: #00d084;
|
||||||
|
}
|
||||||
|
:root .has-pale-cyan-blue-background-color {
|
||||||
|
background-color: #8ed1fc;
|
||||||
|
}
|
||||||
|
:root .has-vivid-cyan-blue-background-color {
|
||||||
|
background-color: #0693e3;
|
||||||
|
}
|
||||||
|
:root .has-vivid-purple-background-color {
|
||||||
|
background-color: #9b51e0;
|
||||||
|
}
|
||||||
|
:root .has-white-background-color {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
:root .has-very-light-gray-background-color {
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
:root .has-cyan-bluish-gray-background-color {
|
||||||
|
background-color: #abb8c3;
|
||||||
|
}
|
||||||
|
:root .has-very-dark-gray-background-color {
|
||||||
|
background-color: #313131;
|
||||||
|
}
|
||||||
|
:root .has-black-background-color {
|
||||||
|
background-color: #000;
|
||||||
|
}
|
||||||
|
:root .has-pale-pink-color {
|
||||||
|
color: #f78da7;
|
||||||
|
}
|
||||||
|
:root .has-vivid-red-color {
|
||||||
|
color: #cf2e2e;
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-orange-color {
|
||||||
|
color: #ff6900;
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-amber-color {
|
||||||
|
color: #fcb900;
|
||||||
|
}
|
||||||
|
:root .has-light-green-cyan-color {
|
||||||
|
color: #7bdcb5;
|
||||||
|
}
|
||||||
|
:root .has-vivid-green-cyan-color {
|
||||||
|
color: #00d084;
|
||||||
|
}
|
||||||
|
:root .has-pale-cyan-blue-color {
|
||||||
|
color: #8ed1fc;
|
||||||
|
}
|
||||||
|
:root .has-vivid-cyan-blue-color {
|
||||||
|
color: #0693e3;
|
||||||
|
}
|
||||||
|
:root .has-vivid-purple-color {
|
||||||
|
color: #9b51e0;
|
||||||
|
}
|
||||||
|
:root .has-white-color {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
:root .has-very-light-gray-color {
|
||||||
|
color: #eee;
|
||||||
|
}
|
||||||
|
:root .has-cyan-bluish-gray-color {
|
||||||
|
color: #abb8c3;
|
||||||
|
}
|
||||||
|
:root .has-very-dark-gray-color {
|
||||||
|
color: #313131;
|
||||||
|
}
|
||||||
|
:root .has-black-color {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%);
|
||||||
|
}
|
||||||
|
:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #00d084 0%, #0693e3 100%);
|
||||||
|
}
|
||||||
|
:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #7adcb4 0%, #00d082 100%);
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #fcb900 0%, #ff6900 100%);
|
||||||
|
}
|
||||||
|
:root .has-luminous-vivid-orange-to-vivid-red-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #ff6900 0%, #cf2e2e 100%);
|
||||||
|
}
|
||||||
|
:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #eeeeee 0%, #a9b8c3 100%);
|
||||||
|
}
|
||||||
|
:root .has-cool-to-warm-spectrum-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #4aeadc 0%, #9778d1 20%, #cf2aba 40%, #ee2c82 60%, #fb6962 80%, #fef84c 100%);
|
||||||
|
}
|
||||||
|
:root .has-blush-light-purple-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #ffceec 0%, #9896f0 100%);
|
||||||
|
}
|
||||||
|
:root .has-blush-bordeaux-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #fecda5 0%, #fe2d2d 50%, #6b003e 100%);
|
||||||
|
}
|
||||||
|
:root .has-purple-crush-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%);
|
||||||
|
}
|
||||||
|
:root .has-luminous-dusk-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #ffcb70 0%, #c751c0 50%, #4158d0 100%);
|
||||||
|
}
|
||||||
|
:root .has-hazy-dawn-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #faaca8 0%, #dad0ec 100%);
|
||||||
|
}
|
||||||
|
:root .has-pale-ocean-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #fff5cb 0%, #b6e3d4 50%, #33a7b5 100%);
|
||||||
|
}
|
||||||
|
:root .has-electric-grass-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #caf880 0%, #71ce7e 100%);
|
||||||
|
}
|
||||||
|
:root .has-subdued-olive-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #fafae1 0%, #67a671 100%);
|
||||||
|
}
|
||||||
|
:root .has-atomic-cream-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #fdd79a 0%, #004a59 100%);
|
||||||
|
}
|
||||||
|
:root .has-nightshade-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #330968 0%, #31cdcf 100%);
|
||||||
|
}
|
||||||
|
:root .has-midnight-gradient-background {
|
||||||
|
background: linear-gradient(135deg, #020381 0%, #2874fc 100%);
|
||||||
|
}
|
||||||
|
:root .has-link-color a {
|
||||||
|
color: #00e;
|
||||||
|
color: var(--wp--style--color--link, #00e);
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-small-font-size {
|
||||||
|
font-size: 0.8125em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-regular-font-size,
|
||||||
|
.has-normal-font-size {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-medium-font-size {
|
||||||
|
font-size: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-large-font-size {
|
||||||
|
font-size: 2.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-larger-font-size,
|
||||||
|
.has-huge-font-size {
|
||||||
|
font-size: 2.625em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-align-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-align-left {
|
||||||
|
/*rtl:ignore*/
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-align-right {
|
||||||
|
/*rtl:ignore*/
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#end-resizable-editor-section {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.aligncenter {
|
||||||
|
clear: both;
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-white-background-color{background-color:#fff}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-black-background-color{background-color:#000}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-white-color{color:#fff}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-black-color{color:#000}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root .has-link-color a{color:#00e;color:var(--wp--style--color--link,#00e)}.has-small-font-size{font-size:.8125em}.has-normal-font-size,.has-regular-font-size{font-size:1em}.has-medium-font-size{font-size:1.25em}.has-large-font-size{font-size:2.25em}.has-huge-font-size,.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,130 +67,186 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#start-resizable-editor-section {
|
#start-resizable-editor-section {
|
||||||
display: none; }
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-audio figcaption {
|
.wp-block-audio figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-audio figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-code {
|
.wp-block-code {
|
||||||
font-family: Menlo, Consolas, monaco, monospace;
|
font-family: Menlo, Consolas, monaco, monospace;
|
||||||
font-size: 0.9em;
|
|
||||||
color: #1e1e1e;
|
color: #1e1e1e;
|
||||||
padding: 0.8em 1em;
|
padding: 0.8em 1em;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 4px; }
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-embed figcaption {
|
.wp-block-embed figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-embed figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.blocks-gallery-caption {
|
.blocks-gallery-caption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .blocks-gallery-caption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-image figcaption {
|
.wp-block-image figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-image figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-pullquote {
|
.wp-block-pullquote {
|
||||||
border-top: 4px solid #555;
|
border-top: 4px solid currentColor;
|
||||||
border-bottom: 4px solid #555;
|
border-bottom: 4px solid currentColor;
|
||||||
margin-bottom: 1.75em;
|
margin-bottom: 1.75em;
|
||||||
color: #555; }
|
color: currentColor;
|
||||||
.wp-block-pullquote cite,
|
}
|
||||||
.wp-block-pullquote footer, .wp-block-pullquote__citation {
|
.wp-block-pullquote cite,
|
||||||
color: #555;
|
.wp-block-pullquote footer, .wp-block-pullquote__citation {
|
||||||
|
color: currentColor;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 0.8125em;
|
font-size: 0.8125em;
|
||||||
font-style: normal; }
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-navigation ul,
|
.wp-block-navigation ul,
|
||||||
.wp-block-navigation ul li {
|
.wp-block-navigation ul li {
|
||||||
list-style: none; }
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-navigation-link.wp-block-navigation-link {
|
.wp-block-navigation-link.wp-block-navigation-link {
|
||||||
margin: 0; }
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-quote {
|
.wp-block-quote {
|
||||||
border-right: 0.25em solid #000;
|
border-right: 0.25em solid currentColor;
|
||||||
margin: 0 0 1.75em 0;
|
margin: 0 0 1.75em 0;
|
||||||
padding-right: 1em; }
|
padding-right: 1em;
|
||||||
.wp-block-quote cite,
|
}
|
||||||
.wp-block-quote footer, .wp-block-quote__citation {
|
.wp-block-quote cite,
|
||||||
color: #555;
|
.wp-block-quote footer, .wp-block-quote__citation {
|
||||||
|
color: currentColor;
|
||||||
font-size: 0.8125em;
|
font-size: 0.8125em;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
position: relative;
|
position: relative;
|
||||||
font-style: normal; }
|
font-style: normal;
|
||||||
.wp-block-quote.has-text-align-right {
|
}
|
||||||
|
.wp-block-quote.has-text-align-right {
|
||||||
border-right: none;
|
border-right: none;
|
||||||
border-left: 0.25em solid #000;
|
border-left: 0.25em solid currentColor;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
padding-left: 1em; }
|
padding-left: 1em;
|
||||||
.wp-block-quote.has-text-align-center {
|
}
|
||||||
|
.wp-block-quote.has-text-align-center {
|
||||||
border: none;
|
border: none;
|
||||||
padding-right: 0; }
|
padding-right: 0;
|
||||||
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
}
|
||||||
border: none; }
|
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-search .wp-block-search__label {
|
.wp-block-search .wp-block-search__label {
|
||||||
font-weight: bold; }
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-group.has-background {
|
.wp-block-group.has-background {
|
||||||
padding: 20px 30px;
|
padding: 1.25em 2.375em;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-separator {
|
.wp-block-separator {
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom: 2px solid currentColor;
|
border-bottom: 2px solid currentColor;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
opacity: 0.4; }
|
opacity: 0.4;
|
||||||
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
}
|
||||||
max-width: 100px; }
|
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
||||||
.wp-block-separator.has-background:not(.is-style-dots) {
|
max-width: 100px;
|
||||||
|
}
|
||||||
|
.wp-block-separator.has-background:not(.is-style-dots) {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
height: 1px; }
|
height: 1px;
|
||||||
.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
|
}
|
||||||
height: 2px; }
|
.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
|
||||||
|
height: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-table {
|
.wp-block-table {
|
||||||
border-collapse: collapse; }
|
border-collapse: collapse;
|
||||||
.wp-block-table thead {
|
}
|
||||||
border-bottom: 3px solid; }
|
.wp-block-table thead {
|
||||||
.wp-block-table tfoot {
|
border-bottom: 3px solid;
|
||||||
border-top: 3px solid; }
|
}
|
||||||
.wp-block-table td,
|
.wp-block-table tfoot {
|
||||||
.wp-block-table th {
|
border-top: 3px solid;
|
||||||
|
}
|
||||||
|
.wp-block-table td,
|
||||||
|
.wp-block-table th {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
word-break: normal; }
|
word-break: normal;
|
||||||
.wp-block-table figcaption {
|
}
|
||||||
|
.wp-block-table figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-table figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-video figcaption {
|
.wp-block-video figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-video figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-template-part.has-background {
|
.wp-block-template-part.has-background {
|
||||||
padding: 20px 30px;
|
padding: 1.25em 2.375em;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#end-resizable-editor-section {
|
#end-resizable-editor-section {
|
||||||
display: none; }
|
display: none;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:.9em;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555;border-bottom:4px solid #555;margin-bottom:1.75em;color:#555}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#555;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-right:.25em solid #000;margin:0 0 1.75em;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#555;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:.25em solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-right:auto;margin-left:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-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}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.wp-block-template-part.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}#start-resizable-editor-section{display:none}.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-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.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)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.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-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:.25em solid;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-right:auto;margin-left:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-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}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;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)}.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-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,130 +67,186 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#start-resizable-editor-section {
|
#start-resizable-editor-section {
|
||||||
display: none; }
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-audio figcaption {
|
.wp-block-audio figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-audio figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-code {
|
.wp-block-code {
|
||||||
font-family: Menlo, Consolas, monaco, monospace;
|
font-family: Menlo, Consolas, monaco, monospace;
|
||||||
font-size: 0.9em;
|
|
||||||
color: #1e1e1e;
|
color: #1e1e1e;
|
||||||
padding: 0.8em 1em;
|
padding: 0.8em 1em;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 4px; }
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-embed figcaption {
|
.wp-block-embed figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-embed figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.blocks-gallery-caption {
|
.blocks-gallery-caption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .blocks-gallery-caption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-image figcaption {
|
.wp-block-image figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-image figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-pullquote {
|
.wp-block-pullquote {
|
||||||
border-top: 4px solid #555;
|
border-top: 4px solid currentColor;
|
||||||
border-bottom: 4px solid #555;
|
border-bottom: 4px solid currentColor;
|
||||||
margin-bottom: 1.75em;
|
margin-bottom: 1.75em;
|
||||||
color: #555; }
|
color: currentColor;
|
||||||
.wp-block-pullquote cite,
|
}
|
||||||
.wp-block-pullquote footer, .wp-block-pullquote__citation {
|
.wp-block-pullquote cite,
|
||||||
color: #555;
|
.wp-block-pullquote footer, .wp-block-pullquote__citation {
|
||||||
|
color: currentColor;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 0.8125em;
|
font-size: 0.8125em;
|
||||||
font-style: normal; }
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-navigation ul,
|
.wp-block-navigation ul,
|
||||||
.wp-block-navigation ul li {
|
.wp-block-navigation ul li {
|
||||||
list-style: none; }
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-navigation-link.wp-block-navigation-link {
|
.wp-block-navigation-link.wp-block-navigation-link {
|
||||||
margin: 0; }
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-quote {
|
.wp-block-quote {
|
||||||
border-left: 0.25em solid #000;
|
border-left: 0.25em solid currentColor;
|
||||||
margin: 0 0 1.75em 0;
|
margin: 0 0 1.75em 0;
|
||||||
padding-left: 1em; }
|
padding-left: 1em;
|
||||||
.wp-block-quote cite,
|
}
|
||||||
.wp-block-quote footer, .wp-block-quote__citation {
|
.wp-block-quote cite,
|
||||||
color: #555;
|
.wp-block-quote footer, .wp-block-quote__citation {
|
||||||
|
color: currentColor;
|
||||||
font-size: 0.8125em;
|
font-size: 0.8125em;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
position: relative;
|
position: relative;
|
||||||
font-style: normal; }
|
font-style: normal;
|
||||||
.wp-block-quote.has-text-align-right {
|
}
|
||||||
|
.wp-block-quote.has-text-align-right {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
border-right: 0.25em solid #000;
|
border-right: 0.25em solid currentColor;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 1em; }
|
padding-right: 1em;
|
||||||
.wp-block-quote.has-text-align-center {
|
}
|
||||||
|
.wp-block-quote.has-text-align-center {
|
||||||
border: none;
|
border: none;
|
||||||
padding-left: 0; }
|
padding-left: 0;
|
||||||
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
}
|
||||||
border: none; }
|
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-search .wp-block-search__label {
|
.wp-block-search .wp-block-search__label {
|
||||||
font-weight: bold; }
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-group.has-background {
|
.wp-block-group.has-background {
|
||||||
padding: 20px 30px;
|
padding: 1.25em 2.375em;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-separator {
|
.wp-block-separator {
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom: 2px solid currentColor;
|
border-bottom: 2px solid currentColor;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
opacity: 0.4; }
|
opacity: 0.4;
|
||||||
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
}
|
||||||
max-width: 100px; }
|
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
||||||
.wp-block-separator.has-background:not(.is-style-dots) {
|
max-width: 100px;
|
||||||
|
}
|
||||||
|
.wp-block-separator.has-background:not(.is-style-dots) {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
height: 1px; }
|
height: 1px;
|
||||||
.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
|
}
|
||||||
height: 2px; }
|
.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
|
||||||
|
height: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-table {
|
.wp-block-table {
|
||||||
border-collapse: collapse; }
|
border-collapse: collapse;
|
||||||
.wp-block-table thead {
|
}
|
||||||
border-bottom: 3px solid; }
|
.wp-block-table thead {
|
||||||
.wp-block-table tfoot {
|
border-bottom: 3px solid;
|
||||||
border-top: 3px solid; }
|
}
|
||||||
.wp-block-table td,
|
.wp-block-table tfoot {
|
||||||
.wp-block-table th {
|
border-top: 3px solid;
|
||||||
|
}
|
||||||
|
.wp-block-table td,
|
||||||
|
.wp-block-table th {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
word-break: normal; }
|
word-break: normal;
|
||||||
.wp-block-table figcaption {
|
}
|
||||||
|
.wp-block-table figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-table figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-video figcaption {
|
.wp-block-video figcaption {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
|
.is-dark-theme .wp-block-video figcaption {
|
||||||
|
color: rgba(255, 255, 255, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-template-part.has-background {
|
.wp-block-template-part.has-background {
|
||||||
padding: 20px 30px;
|
padding: 1.25em 2.375em;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#end-resizable-editor-section {
|
#end-resizable-editor-section {
|
||||||
display: none; }
|
display: none;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:.9em;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555;border-bottom:4px solid #555;margin-bottom:1.75em;color:#555}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#555;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-left:.25em solid #000;margin:0 0 1.75em;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#555;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid #000;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{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-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}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.wp-block-template-part.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}#start-resizable-editor-section{display:none}.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-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.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)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.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-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.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{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-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}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;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)}.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-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -61,61 +68,73 @@
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Editor Normalization Styles
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
*
|
|
||||||
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
|
|
||||||
* of the editor by themes.
|
|
||||||
* Why do these exist? Why not rely on browser defaults?
|
|
||||||
* These styles are necessary so long as CSS can bleed from the wp-admin into the editing canvas itself.
|
|
||||||
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
|
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Editor Normalization Styles
|
||||||
|
*
|
||||||
|
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
|
||||||
|
* of the editor by themes.
|
||||||
|
* Why do these exist? Why not rely on browser defaults?
|
||||||
|
* These styles are necessary so long as CSS can bleed from the wp-admin into the editing canvas itself.
|
||||||
|
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
|
||||||
|
*/
|
||||||
body {
|
body {
|
||||||
font-family: "Noto Serif", serif;
|
font-family: "Noto Serif", serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #1e1e1e;
|
color: #1e1e1e;
|
||||||
padding: 10px; }
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] {
|
.block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
|
||||||
margin-right: -10px;
|
margin-right: -10px;
|
||||||
margin-left: -10px; }
|
margin-left: -10px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Headings */
|
/* Headings */
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3 {
|
h3 {
|
||||||
line-height: 1.4; }
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2.44em;
|
font-size: 2.44em;
|
||||||
margin-top: 0.67em;
|
margin-top: 0.67em;
|
||||||
margin-bottom: 0.67em; }
|
margin-bottom: 0.67em;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.95em;
|
font-size: 1.95em;
|
||||||
margin-top: 0.83em;
|
margin-top: 0.83em;
|
||||||
margin-bottom: 0.83em; }
|
margin-bottom: 0.83em;
|
||||||
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 1.56em;
|
font-size: 1.56em;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-bottom: 1em; }
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-top: 1.33em;
|
margin-top: 1.33em;
|
||||||
margin-bottom: 1.33em; }
|
margin-bottom: 1.33em;
|
||||||
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
margin-top: 1.67em;
|
margin-top: 1.67em;
|
||||||
margin-bottom: 1.67em; }
|
margin-bottom: 1.67em;
|
||||||
|
}
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
margin-top: 2.33em;
|
margin-top: 2.33em;
|
||||||
margin-bottom: 2.33em; }
|
margin-bottom: 2.33em;
|
||||||
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
|
@ -123,47 +142,59 @@ h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
color: inherit; }
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
margin-top: 28px;
|
margin-top: 28px;
|
||||||
margin-bottom: 28px; }
|
margin-bottom: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin-bottom: 28px;
|
margin-bottom: 28px;
|
||||||
padding-right: 1.3em;
|
padding-right: 1.3em;
|
||||||
margin-right: 1.3em; }
|
margin-right: 1.3em;
|
||||||
ul ul,
|
}
|
||||||
ul ol,
|
ul ul,
|
||||||
ol ul,
|
ul ol,
|
||||||
ol ol {
|
ol ul,
|
||||||
margin-bottom: 0; }
|
ol ol {
|
||||||
ul li,
|
margin-bottom: 0;
|
||||||
ol li {
|
}
|
||||||
margin-bottom: initial; }
|
ul li,
|
||||||
|
ol li {
|
||||||
|
margin-bottom: initial;
|
||||||
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style-type: disc; }
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
list-style-type: decimal; }
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
ul ul,
|
ul ul,
|
||||||
ol ul {
|
ol ul {
|
||||||
list-style-type: circle; }
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-align-wrapper {
|
.wp-align-wrapper {
|
||||||
max-width: 580px; }
|
max-width: 840px;
|
||||||
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
|
}
|
||||||
max-width: none; }
|
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
|
||||||
.wp-align-wrapper.wp-align-wide {
|
max-width: none;
|
||||||
max-width: 1100px; }
|
}
|
||||||
|
.wp-align-wrapper.wp-align-wide {
|
||||||
|
max-width: 840px;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
transition: none; }
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
code,
|
code,
|
||||||
kbd {
|
kbd {
|
||||||
|
@ -171,4 +202,5 @@ kbd {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
font-family: monospace; }
|
font-family: monospace;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:-10px;margin-left:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-right:1.3em;margin-right:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:580px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:1100px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:-10px;margin-left:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-right:1.3em;margin-right:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:840px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:840px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -61,61 +68,73 @@
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Editor Normalization Styles
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
*
|
|
||||||
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
|
|
||||||
* of the editor by themes.
|
|
||||||
* Why do these exist? Why not rely on browser defaults?
|
|
||||||
* These styles are necessary so long as CSS can bleed from the wp-admin into the editing canvas itself.
|
|
||||||
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
|
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Editor Normalization Styles
|
||||||
|
*
|
||||||
|
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
|
||||||
|
* of the editor by themes.
|
||||||
|
* Why do these exist? Why not rely on browser defaults?
|
||||||
|
* These styles are necessary so long as CSS can bleed from the wp-admin into the editing canvas itself.
|
||||||
|
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
|
||||||
|
*/
|
||||||
body {
|
body {
|
||||||
font-family: "Noto Serif", serif;
|
font-family: "Noto Serif", serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #1e1e1e;
|
color: #1e1e1e;
|
||||||
padding: 10px; }
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] {
|
.block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
|
||||||
margin-left: -10px;
|
margin-left: -10px;
|
||||||
margin-right: -10px; }
|
margin-right: -10px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Headings */
|
/* Headings */
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3 {
|
h3 {
|
||||||
line-height: 1.4; }
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2.44em;
|
font-size: 2.44em;
|
||||||
margin-top: 0.67em;
|
margin-top: 0.67em;
|
||||||
margin-bottom: 0.67em; }
|
margin-bottom: 0.67em;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.95em;
|
font-size: 1.95em;
|
||||||
margin-top: 0.83em;
|
margin-top: 0.83em;
|
||||||
margin-bottom: 0.83em; }
|
margin-bottom: 0.83em;
|
||||||
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 1.56em;
|
font-size: 1.56em;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-bottom: 1em; }
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-top: 1.33em;
|
margin-top: 1.33em;
|
||||||
margin-bottom: 1.33em; }
|
margin-bottom: 1.33em;
|
||||||
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
margin-top: 1.67em;
|
margin-top: 1.67em;
|
||||||
margin-bottom: 1.67em; }
|
margin-bottom: 1.67em;
|
||||||
|
}
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
margin-top: 2.33em;
|
margin-top: 2.33em;
|
||||||
margin-bottom: 2.33em; }
|
margin-bottom: 2.33em;
|
||||||
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
|
@ -123,47 +142,59 @@ h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
color: inherit; }
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
margin-top: 28px;
|
margin-top: 28px;
|
||||||
margin-bottom: 28px; }
|
margin-bottom: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin-bottom: 28px;
|
margin-bottom: 28px;
|
||||||
padding-left: 1.3em;
|
padding-left: 1.3em;
|
||||||
margin-left: 1.3em; }
|
margin-left: 1.3em;
|
||||||
ul ul,
|
}
|
||||||
ul ol,
|
ul ul,
|
||||||
ol ul,
|
ul ol,
|
||||||
ol ol {
|
ol ul,
|
||||||
margin-bottom: 0; }
|
ol ol {
|
||||||
ul li,
|
margin-bottom: 0;
|
||||||
ol li {
|
}
|
||||||
margin-bottom: initial; }
|
ul li,
|
||||||
|
ol li {
|
||||||
|
margin-bottom: initial;
|
||||||
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style-type: disc; }
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
list-style-type: decimal; }
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
ul ul,
|
ul ul,
|
||||||
ol ul {
|
ol ul {
|
||||||
list-style-type: circle; }
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-align-wrapper {
|
.wp-align-wrapper {
|
||||||
max-width: 580px; }
|
max-width: 840px;
|
||||||
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
|
}
|
||||||
max-width: none; }
|
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
|
||||||
.wp-align-wrapper.wp-align-wide {
|
max-width: none;
|
||||||
max-width: 1100px; }
|
}
|
||||||
|
.wp-align-wrapper.wp-align-wide {
|
||||||
|
max-width: 840px;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
transition: none; }
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
code,
|
code,
|
||||||
kbd {
|
kbd {
|
||||||
|
@ -171,4 +202,5 @@ kbd {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
font-family: monospace; }
|
font-family: monospace;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-10px;margin-right:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-left:1.3em;margin-left:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:580px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:1100px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-10px;margin-right:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-left:1.3em;margin-left:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:840px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:840px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,19 +67,31 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-format-toolbar__image-container-content {
|
.block-editor-format-toolbar__image-container-content {
|
||||||
display: flex; }
|
display: flex;
|
||||||
.block-editor-format-toolbar__image-container-content .components-button {
|
}
|
||||||
|
.block-editor-format-toolbar__image-container-content .components-button {
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
padding: 0 6px; }
|
padding: 0 6px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-format-toolbar__image-container-value {
|
.block-editor-format-toolbar__image-container-value {
|
||||||
margin: 7px;
|
margin: 7px;
|
||||||
|
@ -80,14 +99,18 @@
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
max-width: 500px; }
|
max-width: 500px;
|
||||||
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
|
}
|
||||||
margin-bottom: 0; }
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
|
||||||
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label {
|
margin-bottom: 0;
|
||||||
display: block; }
|
}
|
||||||
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-format-toolbar__link-container-content {
|
.block-editor-format-toolbar__link-container-content {
|
||||||
display: flex; }
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-format-toolbar__link-container-value {
|
.block-editor-format-toolbar__link-container-value {
|
||||||
margin: 7px;
|
margin: 7px;
|
||||||
|
@ -97,9 +120,11 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
max-width: 500px; }
|
max-width: 500px;
|
||||||
.block-editor-format-toolbar__link-container-value.has-invalid-link {
|
}
|
||||||
color: #cc1818; }
|
.block-editor-format-toolbar__link-container-value.has-invalid-link {
|
||||||
|
color: #cc1818;
|
||||||
|
}
|
||||||
|
|
||||||
.components-inline-color__indicator {
|
.components-inline-color__indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -109,29 +134,33 @@
|
||||||
bottom: 6px;
|
bottom: 6px;
|
||||||
right: auto;
|
right: auto;
|
||||||
left: auto;
|
left: auto;
|
||||||
margin: 0 5px; }
|
margin: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.components-inline-color-popover .components-popover__content > div {
|
.components-inline-color-popover .components-popover__content > div {
|
||||||
padding: 20px 18px; }
|
padding: 20px 18px;
|
||||||
|
}
|
||||||
.components-inline-color-popover .components-popover__content .components-color-palette {
|
.components-inline-color-popover .components-popover__content .components-color-palette {
|
||||||
margin-top: 0.6rem; }
|
margin-top: 0.6rem;
|
||||||
|
}
|
||||||
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #191e23; }
|
color: #191e23;
|
||||||
|
}
|
||||||
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
||||||
vertical-align: text-bottom; }
|
vertical-align: text-bottom;
|
||||||
|
}
|
||||||
|
|
||||||
.format-library-text-color-button {
|
.format-library-text-color-button {
|
||||||
position: relative; }
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.format-library-text-color-button__indicator {
|
.format-library-text-color-button__indicator {
|
||||||
height: 4px;
|
height: 4px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
right: 8px; }
|
right: 8px;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#cc1818}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;right:auto;left:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;right:8px}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#cc1818}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;right:auto;left:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;right:8px}
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,19 +67,31 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-format-toolbar__image-container-content {
|
.block-editor-format-toolbar__image-container-content {
|
||||||
display: flex; }
|
display: flex;
|
||||||
.block-editor-format-toolbar__image-container-content .components-button {
|
}
|
||||||
|
.block-editor-format-toolbar__image-container-content .components-button {
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
padding: 0 6px; }
|
padding: 0 6px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-format-toolbar__image-container-value {
|
.block-editor-format-toolbar__image-container-value {
|
||||||
margin: 7px;
|
margin: 7px;
|
||||||
|
@ -80,14 +99,18 @@
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
max-width: 500px; }
|
max-width: 500px;
|
||||||
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
|
}
|
||||||
margin-bottom: 0; }
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
|
||||||
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label {
|
margin-bottom: 0;
|
||||||
display: block; }
|
}
|
||||||
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-format-toolbar__link-container-content {
|
.block-editor-format-toolbar__link-container-content {
|
||||||
display: flex; }
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.block-editor-format-toolbar__link-container-value {
|
.block-editor-format-toolbar__link-container-value {
|
||||||
margin: 7px;
|
margin: 7px;
|
||||||
|
@ -97,9 +120,11 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
max-width: 500px; }
|
max-width: 500px;
|
||||||
.block-editor-format-toolbar__link-container-value.has-invalid-link {
|
}
|
||||||
color: #cc1818; }
|
.block-editor-format-toolbar__link-container-value.has-invalid-link {
|
||||||
|
color: #cc1818;
|
||||||
|
}
|
||||||
|
|
||||||
.components-inline-color__indicator {
|
.components-inline-color__indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -109,29 +134,33 @@
|
||||||
bottom: 6px;
|
bottom: 6px;
|
||||||
left: auto;
|
left: auto;
|
||||||
right: auto;
|
right: auto;
|
||||||
margin: 0 5px; }
|
margin: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.components-inline-color-popover .components-popover__content > div {
|
.components-inline-color-popover .components-popover__content > div {
|
||||||
padding: 20px 18px; }
|
padding: 20px 18px;
|
||||||
|
}
|
||||||
.components-inline-color-popover .components-popover__content .components-color-palette {
|
.components-inline-color-popover .components-popover__content .components-color-palette {
|
||||||
margin-top: 0.6rem; }
|
margin-top: 0.6rem;
|
||||||
|
}
|
||||||
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #191e23; }
|
color: #191e23;
|
||||||
|
}
|
||||||
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
||||||
vertical-align: text-bottom; }
|
vertical-align: text-bottom;
|
||||||
|
}
|
||||||
|
|
||||||
.format-library-text-color-button {
|
.format-library-text-color-button {
|
||||||
position: relative; }
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.format-library-text-color-button__indicator {
|
.format-library-text-color-button__indicator {
|
||||||
height: 4px;
|
height: 4px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
left: 8px; }
|
left: 8px;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#cc1818}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;left:auto;right:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;left:8px}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#cc1818}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;left:auto;right:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;left:8px}
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,69 +67,146 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks-import-dropdown__content .components-popover__content > div {
|
.list-reusable-blocks-import-dropdown__content .components-popover__content > div {
|
||||||
padding: 10px; }
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks-import-form__label {
|
.list-reusable-blocks-import-form__label {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 10px; }
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks-import-form__button {
|
.list-reusable-blocks-import-form__button {
|
||||||
margin-top: 20px;
|
margin-top: 10px;
|
||||||
float: left; }
|
margin-bottom: 10px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks-import-form .components-notice__content {
|
.list-reusable-blocks-import-form .components-notice__content {
|
||||||
margin: 0; }
|
margin: 0;
|
||||||
|
}
|
||||||
|
.list-reusable-blocks-import-form .components-notice.is-dismissible {
|
||||||
|
padding-left: 0;
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks__container {
|
.list-reusable-blocks__container {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -3px; }
|
top: -3px;
|
||||||
.list-reusable-blocks__container .components-button {
|
}
|
||||||
height: 26px; }
|
.list-reusable-blocks__container .components-button {
|
||||||
|
height: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-light {
|
body.admin-color-light {
|
||||||
--wp-admin-theme-color: #0085ba;
|
--wp-admin-theme-color: #0085ba;
|
||||||
--wp-admin-theme-color-darker-10: #0073a1;
|
--wp-admin-theme-color-darker-10: #0073a1;
|
||||||
--wp-admin-theme-color-darker-20: #006187; }
|
--wp-admin-theme-color-darker-20: #006187;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-light {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-modern {
|
body.admin-color-modern {
|
||||||
--wp-admin-theme-color: #3858e9;
|
--wp-admin-theme-color: #3858e9;
|
||||||
--wp-admin-theme-color-darker-10: #2145e6;
|
--wp-admin-theme-color-darker-10: #2145e6;
|
||||||
--wp-admin-theme-color-darker-20: #183ad6; }
|
--wp-admin-theme-color-darker-20: #183ad6;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-modern {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-blue {
|
body.admin-color-blue {
|
||||||
--wp-admin-theme-color: #096484;
|
--wp-admin-theme-color: #096484;
|
||||||
--wp-admin-theme-color-darker-10: #07526c;
|
--wp-admin-theme-color-darker-10: #07526c;
|
||||||
--wp-admin-theme-color-darker-20: #064054; }
|
--wp-admin-theme-color-darker-20: #064054;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-blue {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-coffee {
|
body.admin-color-coffee {
|
||||||
--wp-admin-theme-color: #46403c;
|
--wp-admin-theme-color: #46403c;
|
||||||
--wp-admin-theme-color-darker-10: #383330;
|
--wp-admin-theme-color-darker-10: #383330;
|
||||||
--wp-admin-theme-color-darker-20: #2b2724; }
|
--wp-admin-theme-color-darker-20: #2b2724;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-coffee {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-ectoplasm {
|
body.admin-color-ectoplasm {
|
||||||
--wp-admin-theme-color: #523f6d;
|
--wp-admin-theme-color: #523f6d;
|
||||||
--wp-admin-theme-color-darker-10: #46365d;
|
--wp-admin-theme-color-darker-10: #46365d;
|
||||||
--wp-admin-theme-color-darker-20: #3a2c4d; }
|
--wp-admin-theme-color-darker-20: #3a2c4d;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-ectoplasm {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-midnight {
|
body.admin-color-midnight {
|
||||||
--wp-admin-theme-color: #e14d43;
|
--wp-admin-theme-color: #e14d43;
|
||||||
--wp-admin-theme-color-darker-10: #dd382d;
|
--wp-admin-theme-color-darker-10: #dd382d;
|
||||||
--wp-admin-theme-color-darker-20: #d02c21; }
|
--wp-admin-theme-color-darker-20: #d02c21;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-midnight {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-ocean {
|
body.admin-color-ocean {
|
||||||
--wp-admin-theme-color: #627c83;
|
--wp-admin-theme-color: #627c83;
|
||||||
--wp-admin-theme-color-darker-10: #576e74;
|
--wp-admin-theme-color-darker-10: #576e74;
|
||||||
--wp-admin-theme-color-darker-20: #4c6066; }
|
--wp-admin-theme-color-darker-20: #4c6066;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-ocean {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-sunrise {
|
body.admin-color-sunrise {
|
||||||
--wp-admin-theme-color: #dd823b;
|
--wp-admin-theme-color: #dd823b;
|
||||||
--wp-admin-theme-color-darker-10: #d97426;
|
--wp-admin-theme-color-darker-10: #d97426;
|
||||||
--wp-admin-theme-color-darker-20: #c36922; }
|
--wp-admin-theme-color-darker-20: #c36922;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-sunrise {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:10px;margin-bottom:10px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks-import-form .components-notice.is-dismissible{padding-left:0;margin:5px 0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}}
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,69 +67,146 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks-import-dropdown__content .components-popover__content > div {
|
.list-reusable-blocks-import-dropdown__content .components-popover__content > div {
|
||||||
padding: 10px; }
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks-import-form__label {
|
.list-reusable-blocks-import-form__label {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 10px; }
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks-import-form__button {
|
.list-reusable-blocks-import-form__button {
|
||||||
margin-top: 20px;
|
margin-top: 10px;
|
||||||
float: right; }
|
margin-bottom: 10px;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks-import-form .components-notice__content {
|
.list-reusable-blocks-import-form .components-notice__content {
|
||||||
margin: 0; }
|
margin: 0;
|
||||||
|
}
|
||||||
|
.list-reusable-blocks-import-form .components-notice.is-dismissible {
|
||||||
|
padding-right: 0;
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.list-reusable-blocks__container {
|
.list-reusable-blocks__container {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -3px; }
|
top: -3px;
|
||||||
.list-reusable-blocks__container .components-button {
|
}
|
||||||
height: 26px; }
|
.list-reusable-blocks__container .components-button {
|
||||||
|
height: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-light {
|
body.admin-color-light {
|
||||||
--wp-admin-theme-color: #0085ba;
|
--wp-admin-theme-color: #0085ba;
|
||||||
--wp-admin-theme-color-darker-10: #0073a1;
|
--wp-admin-theme-color-darker-10: #0073a1;
|
||||||
--wp-admin-theme-color-darker-20: #006187; }
|
--wp-admin-theme-color-darker-20: #006187;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-light {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-modern {
|
body.admin-color-modern {
|
||||||
--wp-admin-theme-color: #3858e9;
|
--wp-admin-theme-color: #3858e9;
|
||||||
--wp-admin-theme-color-darker-10: #2145e6;
|
--wp-admin-theme-color-darker-10: #2145e6;
|
||||||
--wp-admin-theme-color-darker-20: #183ad6; }
|
--wp-admin-theme-color-darker-20: #183ad6;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-modern {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-blue {
|
body.admin-color-blue {
|
||||||
--wp-admin-theme-color: #096484;
|
--wp-admin-theme-color: #096484;
|
||||||
--wp-admin-theme-color-darker-10: #07526c;
|
--wp-admin-theme-color-darker-10: #07526c;
|
||||||
--wp-admin-theme-color-darker-20: #064054; }
|
--wp-admin-theme-color-darker-20: #064054;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-blue {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-coffee {
|
body.admin-color-coffee {
|
||||||
--wp-admin-theme-color: #46403c;
|
--wp-admin-theme-color: #46403c;
|
||||||
--wp-admin-theme-color-darker-10: #383330;
|
--wp-admin-theme-color-darker-10: #383330;
|
||||||
--wp-admin-theme-color-darker-20: #2b2724; }
|
--wp-admin-theme-color-darker-20: #2b2724;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-coffee {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-ectoplasm {
|
body.admin-color-ectoplasm {
|
||||||
--wp-admin-theme-color: #523f6d;
|
--wp-admin-theme-color: #523f6d;
|
||||||
--wp-admin-theme-color-darker-10: #46365d;
|
--wp-admin-theme-color-darker-10: #46365d;
|
||||||
--wp-admin-theme-color-darker-20: #3a2c4d; }
|
--wp-admin-theme-color-darker-20: #3a2c4d;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-ectoplasm {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-midnight {
|
body.admin-color-midnight {
|
||||||
--wp-admin-theme-color: #e14d43;
|
--wp-admin-theme-color: #e14d43;
|
||||||
--wp-admin-theme-color-darker-10: #dd382d;
|
--wp-admin-theme-color-darker-10: #dd382d;
|
||||||
--wp-admin-theme-color-darker-20: #d02c21; }
|
--wp-admin-theme-color-darker-20: #d02c21;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-midnight {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-ocean {
|
body.admin-color-ocean {
|
||||||
--wp-admin-theme-color: #627c83;
|
--wp-admin-theme-color: #627c83;
|
||||||
--wp-admin-theme-color-darker-10: #576e74;
|
--wp-admin-theme-color-darker-10: #576e74;
|
||||||
--wp-admin-theme-color-darker-20: #4c6066; }
|
--wp-admin-theme-color-darker-20: #4c6066;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-ocean {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-color-sunrise {
|
body.admin-color-sunrise {
|
||||||
--wp-admin-theme-color: #dd823b;
|
--wp-admin-theme-color: #dd823b;
|
||||||
--wp-admin-theme-color-darker-10: #d97426;
|
--wp-admin-theme-color-darker-10: #d97426;
|
||||||
--wp-admin-theme-color-darker-20: #c36922; }
|
--wp-admin-theme-color-darker-20: #c36922;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
body.admin-color-sunrise {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:10px;margin-bottom:10px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks-import-form .components-notice.is-dismissible{padding-right:0;margin:5px 0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}}
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,17 +67,27 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.nux-dot-tip::before, .nux-dot-tip::after {
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
content: " ";
|
content: " ";
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
position: absolute; }
|
position: absolute;
|
||||||
|
}
|
||||||
.nux-dot-tip::before {
|
.nux-dot-tip::before {
|
||||||
animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
|
animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
|
||||||
background: rgba(0, 115, 156, 0.9);
|
background: rgba(0, 115, 156, 0.9);
|
||||||
|
@ -78,61 +95,67 @@
|
||||||
height: 24px;
|
height: 24px;
|
||||||
right: -12px;
|
right: -12px;
|
||||||
top: -12px;
|
top: -12px;
|
||||||
transform: scale(0.33333);
|
transform: scale(0.3333333333);
|
||||||
width: 24px; }
|
width: 24px;
|
||||||
|
}
|
||||||
.nux-dot-tip::after {
|
.nux-dot-tip::after {
|
||||||
background: #00739c;
|
background: #00739c;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
right: -4px;
|
right: -4px;
|
||||||
top: -4px;
|
top: -4px;
|
||||||
width: 8px; }
|
width: 8px;
|
||||||
|
}
|
||||||
@keyframes nux-pulse {
|
@keyframes nux-pulse {
|
||||||
100% {
|
100% {
|
||||||
background: rgba(0, 115, 156, 0);
|
background: rgba(0, 115, 156, 0);
|
||||||
transform: scale(1); } }
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
.nux-dot-tip .components-popover__content {
|
.nux-dot-tip .components-popover__content {
|
||||||
width: 350px; }
|
width: 350px;
|
||||||
.nux-dot-tip .components-popover__content > div {
|
}
|
||||||
padding: 20px 18px; }
|
.nux-dot-tip .components-popover__content > div {
|
||||||
@media (min-width: 600px) {
|
padding: 20px 18px;
|
||||||
|
}
|
||||||
|
@media (min-width: 600px) {
|
||||||
.nux-dot-tip .components-popover__content {
|
.nux-dot-tip .components-popover__content {
|
||||||
width: 450px; } }
|
width: 450px;
|
||||||
.nux-dot-tip .components-popover__content .nux-dot-tip__disable {
|
}
|
||||||
|
}
|
||||||
|
.nux-dot-tip .components-popover__content .nux-dot-tip__disable {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0; }
|
top: 0;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="top"] {
|
.nux-dot-tip[data-y-axis=top] {
|
||||||
margin-top: -4px; }
|
margin-top: -4px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="bottom"] {
|
.nux-dot-tip[data-y-axis=bottom] {
|
||||||
margin-top: 4px; }
|
margin-top: 4px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] {
|
.nux-dot-tip[data-y-axis=middle][data-y-axis=left] {
|
||||||
margin-right: -4px; }
|
margin-right: -4px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] {
|
.nux-dot-tip[data-y-axis=middle][data-y-axis=right] {
|
||||||
margin-right: 4px; }
|
margin-right: 4px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="top"] .components-popover__content {
|
.nux-dot-tip[data-y-axis=top] .components-popover__content {
|
||||||
margin-bottom: 20px; }
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="bottom"] .components-popover__content {
|
.nux-dot-tip[data-y-axis=bottom] .components-popover__content {
|
||||||
margin-top: 20px; }
|
margin-top: 20px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] .components-popover__content {
|
.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content {
|
||||||
margin-left: 20px; }
|
margin-left: 20px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] .components-popover__content {
|
.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content {
|
||||||
margin-right: 20px; }
|
margin-right: 20px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="left"], .nux-dot-tip[data-y-axis="center"], .nux-dot-tip[data-y-axis="right"] {
|
.nux-dot-tip[data-y-axis=left], .nux-dot-tip[data-y-axis=center], .nux-dot-tip[data-y-axis=right] {
|
||||||
z-index: 1000001; }
|
z-index: 1000001;
|
||||||
@media (max-width: 600px) {
|
}
|
||||||
.nux-dot-tip[data-y-axis="left"] .components-popover__content, .nux-dot-tip[data-y-axis="center"] .components-popover__content, .nux-dot-tip[data-y-axis="right"] .components-popover__content {
|
@media (max-width: 600px) {
|
||||||
|
.nux-dot-tip[data-y-axis=left] .components-popover__content, .nux-dot-tip[data-y-axis=center] .components-popover__content, .nux-dot-tip[data-y-axis=right] .components-popover__content {
|
||||||
-ms-grid-row-align: end;
|
-ms-grid-row-align: end;
|
||||||
align-self: end;
|
align-self: end;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
|
@ -140,16 +163,18 @@
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
width: auto; } }
|
width: auto;
|
||||||
|
}
|
||||||
.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content {
|
}
|
||||||
margin-left: 0; }
|
.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content {
|
||||||
|
margin-left: 0;
|
||||||
.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content {
|
}
|
||||||
margin-right: 0; }
|
.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content {
|
||||||
|
margin-right: 0;
|
||||||
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content {
|
}
|
||||||
margin-left: -12px; }
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content {
|
||||||
|
margin-left: -12px;
|
||||||
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content {
|
}
|
||||||
margin-right: -12px; }
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content {
|
||||||
|
margin-right: -12px;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);opacity:.9;height:24px;right:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-right:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-right:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:-12px}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);opacity:.9;height:24px;right:-12px;top:-12px;transform:scale(.3333333333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-right:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-right:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:-12px}
|
|
@ -4,6 +4,12 @@
|
||||||
/**
|
/**
|
||||||
* Breakpoints & Media Queries
|
* Breakpoints & Media Queries
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SCSS Variables.
|
||||||
|
*
|
||||||
|
* Please use variables from this sheet to ensure consistency across the UI.
|
||||||
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
|
@ -24,14 +30,15 @@
|
||||||
* Editor widths.
|
* Editor widths.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block UI.
|
* Block & Editor UI.
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* Border radii.
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Block paddings.
|
* Block paddings.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* React Native specific.
|
||||||
|
* These variables do not appear to be used anywhere else.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -60,17 +67,27 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* These are default block editor widths in case the theme doesn't provide them.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--wp-admin-theme-color: #007cba;
|
--wp-admin-theme-color: #007cba;
|
||||||
--wp-admin-theme-color-darker-10: #006ba1;
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
--wp-admin-theme-color-darker-20: #005a87; }
|
--wp-admin-theme-color-darker-20: #005a87;
|
||||||
|
--wp-admin-border-width-focus: 2px;
|
||||||
|
}
|
||||||
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
|
:root {
|
||||||
|
--wp-admin-border-width-focus: 1.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.nux-dot-tip::before, .nux-dot-tip::after {
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
content: " ";
|
content: " ";
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
position: absolute; }
|
position: absolute;
|
||||||
|
}
|
||||||
.nux-dot-tip::before {
|
.nux-dot-tip::before {
|
||||||
animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
|
animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
|
||||||
background: rgba(0, 115, 156, 0.9);
|
background: rgba(0, 115, 156, 0.9);
|
||||||
|
@ -78,61 +95,67 @@
|
||||||
height: 24px;
|
height: 24px;
|
||||||
left: -12px;
|
left: -12px;
|
||||||
top: -12px;
|
top: -12px;
|
||||||
transform: scale(0.33333);
|
transform: scale(0.3333333333);
|
||||||
width: 24px; }
|
width: 24px;
|
||||||
|
}
|
||||||
.nux-dot-tip::after {
|
.nux-dot-tip::after {
|
||||||
background: #00739c;
|
background: #00739c;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
left: -4px;
|
left: -4px;
|
||||||
top: -4px;
|
top: -4px;
|
||||||
width: 8px; }
|
width: 8px;
|
||||||
|
}
|
||||||
@keyframes nux-pulse {
|
@keyframes nux-pulse {
|
||||||
100% {
|
100% {
|
||||||
background: rgba(0, 115, 156, 0);
|
background: rgba(0, 115, 156, 0);
|
||||||
transform: scale(1); } }
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
.nux-dot-tip .components-popover__content {
|
.nux-dot-tip .components-popover__content {
|
||||||
width: 350px; }
|
width: 350px;
|
||||||
.nux-dot-tip .components-popover__content > div {
|
}
|
||||||
padding: 20px 18px; }
|
.nux-dot-tip .components-popover__content > div {
|
||||||
@media (min-width: 600px) {
|
padding: 20px 18px;
|
||||||
|
}
|
||||||
|
@media (min-width: 600px) {
|
||||||
.nux-dot-tip .components-popover__content {
|
.nux-dot-tip .components-popover__content {
|
||||||
width: 450px; } }
|
width: 450px;
|
||||||
.nux-dot-tip .components-popover__content .nux-dot-tip__disable {
|
}
|
||||||
|
}
|
||||||
|
.nux-dot-tip .components-popover__content .nux-dot-tip__disable {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0; }
|
top: 0;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="top"] {
|
.nux-dot-tip[data-y-axis=top] {
|
||||||
margin-top: -4px; }
|
margin-top: -4px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="bottom"] {
|
.nux-dot-tip[data-y-axis=bottom] {
|
||||||
margin-top: 4px; }
|
margin-top: 4px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] {
|
.nux-dot-tip[data-y-axis=middle][data-y-axis=left] {
|
||||||
margin-left: -4px; }
|
margin-left: -4px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] {
|
.nux-dot-tip[data-y-axis=middle][data-y-axis=right] {
|
||||||
margin-left: 4px; }
|
margin-left: 4px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="top"] .components-popover__content {
|
.nux-dot-tip[data-y-axis=top] .components-popover__content {
|
||||||
margin-bottom: 20px; }
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="bottom"] .components-popover__content {
|
.nux-dot-tip[data-y-axis=bottom] .components-popover__content {
|
||||||
margin-top: 20px; }
|
margin-top: 20px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] .components-popover__content {
|
.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content {
|
||||||
margin-right: 20px; }
|
margin-right: 20px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] .components-popover__content {
|
.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content {
|
||||||
margin-left: 20px; }
|
margin-left: 20px;
|
||||||
|
}
|
||||||
.nux-dot-tip[data-y-axis="left"], .nux-dot-tip[data-y-axis="center"], .nux-dot-tip[data-y-axis="right"] {
|
.nux-dot-tip[data-y-axis=left], .nux-dot-tip[data-y-axis=center], .nux-dot-tip[data-y-axis=right] {
|
||||||
z-index: 1000001; }
|
z-index: 1000001;
|
||||||
@media (max-width: 600px) {
|
}
|
||||||
.nux-dot-tip[data-y-axis="left"] .components-popover__content, .nux-dot-tip[data-y-axis="center"] .components-popover__content, .nux-dot-tip[data-y-axis="right"] .components-popover__content {
|
@media (max-width: 600px) {
|
||||||
|
.nux-dot-tip[data-y-axis=left] .components-popover__content, .nux-dot-tip[data-y-axis=center] .components-popover__content, .nux-dot-tip[data-y-axis=right] .components-popover__content {
|
||||||
-ms-grid-row-align: end;
|
-ms-grid-row-align: end;
|
||||||
align-self: end;
|
align-self: end;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
|
@ -140,20 +163,22 @@
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
width: auto; } }
|
width: auto;
|
||||||
|
}
|
||||||
.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content {
|
}
|
||||||
|
.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content {
|
||||||
/*!rtl:ignore*/
|
/*!rtl:ignore*/
|
||||||
margin-left: 0; }
|
margin-left: 0;
|
||||||
|
}
|
||||||
.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content {
|
.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content {
|
||||||
/*!rtl:ignore*/
|
/*!rtl:ignore*/
|
||||||
margin-right: 0; }
|
margin-right: 0;
|
||||||
|
}
|
||||||
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content {
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content {
|
||||||
/*!rtl:ignore*/
|
/*!rtl:ignore*/
|
||||||
margin-left: -12px; }
|
margin-left: -12px;
|
||||||
|
}
|
||||||
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content {
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content {
|
||||||
/*!rtl:ignore*/
|
/*!rtl:ignore*/
|
||||||
margin-right: -12px; }
|
margin-right: -12px;
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);opacity:.9;height:24px;left:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-left:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-left:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);opacity:.9;height:24px;left:-12px;top:-12px;transform:scale(.3333333333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-left:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-left:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
||||||
/*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
/*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
||||||
/*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
/*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
||||||
/*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
/*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
||||||
|
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 483);
|
/******/ return __webpack_require__(__webpack_require__.s = 467);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
@ -90,18 +90,18 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||||
/***/ 1:
|
/***/ 1:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["i18n"]; }());
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 275:
|
/***/ 266:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["domReady"]; }());
|
(function() { module.exports = window["wp"]["domReady"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 483:
|
/***/ 467:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -112,12 +112,12 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
__webpack_require__.d(__webpack_exports__, "setup", function() { return /* binding */ setup; });
|
__webpack_require__.d(__webpack_exports__, "setup", function() { return /* binding */ setup; });
|
||||||
__webpack_require__.d(__webpack_exports__, "speak", function() { return /* binding */ speak; });
|
__webpack_require__.d(__webpack_exports__, "speak", function() { return /* binding */ speak; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","domReady"]}
|
// EXTERNAL MODULE: external ["wp","domReady"]
|
||||||
var external_this_wp_domReady_ = __webpack_require__(275);
|
var external_wp_domReady_ = __webpack_require__(266);
|
||||||
var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_);
|
var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__(1);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-intro-text.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-intro-text.js
|
||||||
/**
|
/**
|
||||||
|
@ -137,7 +137,7 @@ function addIntroText() {
|
||||||
var introText = document.createElement('p');
|
var introText = document.createElement('p');
|
||||||
introText.id = 'a11y-speak-intro-text';
|
introText.id = 'a11y-speak-intro-text';
|
||||||
introText.className = 'a11y-speak-intro-text';
|
introText.className = 'a11y-speak-intro-text';
|
||||||
introText.textContent = Object(external_this_wp_i18n_["__"])('Notifications');
|
introText.textContent = Object(external_wp_i18n_["__"])('Notifications');
|
||||||
introText.setAttribute('style', 'position: absolute;' + 'margin: -1px;' + 'padding: 0;' + 'height: 1px;' + 'width: 1px;' + 'overflow: hidden;' + 'clip: rect(1px, 1px, 1px, 1px);' + '-webkit-clip-path: inset(50%);' + 'clip-path: inset(50%);' + 'border: 0;' + 'word-wrap: normal !important;');
|
introText.setAttribute('style', 'position: absolute;' + 'margin: -1px;' + 'padding: 0;' + 'height: 1px;' + 'width: 1px;' + 'overflow: hidden;' + 'clip: rect(1px, 1px, 1px, 1px);' + '-webkit-clip-path: inset(50%);' + 'clip-path: inset(50%);' + 'border: 0;' + 'word-wrap: normal !important;');
|
||||||
introText.setAttribute('hidden', 'hidden');
|
introText.setAttribute('hidden', 'hidden');
|
||||||
var _document = document,
|
var _document = document,
|
||||||
|
@ -265,7 +265,7 @@ function setup() {
|
||||||
* Run setup on domReady.
|
* Run setup on domReady.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
external_this_wp_domReady_default()(setup);
|
external_wp_domReady_default()(setup);
|
||||||
/**
|
/**
|
||||||
* Allows you to easily announce dynamic interface updates to screen readers using ARIA live regions.
|
* Allows you to easily announce dynamic interface updates to screen readers using ARIA live regions.
|
||||||
* This module is inspired by the `speak` function in `wp-a11y.js`.
|
* This module is inspired by the `speak` function in `wp-a11y.js`.
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=483)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},275:function(t,e){!function(){t.exports=this.wp.domReady}()},483:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return p})),n.d(e,"speak",(function(){return d}));var r=n(275),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var u="";function p(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),u===t&&(t+=" "),u=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}i()(p)}});
|
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=467)}({1:function(t,e){t.exports=window.wp.i18n},266:function(t,e){t.exports=window.wp.domReady},467:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return u})),n.d(e,"speak",(function(){return d}));var r=n(266),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var p="";function u(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),p===t&&(t+=" "),p=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}i()(u)}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 472);
|
/******/ return __webpack_require__(__webpack_require__.s = 457);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
@ -90,20 +90,20 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||||
/***/ 1:
|
/***/ 1:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["i18n"]; }());
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 14:
|
/***/ 13:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
||||||
|
|
||||||
function _objectWithoutProperties(source, excluded) {
|
function _objectWithoutProperties(source, excluded) {
|
||||||
if (source == null) return {};
|
if (source == null) return {};
|
||||||
var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
|
var target = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
|
||||||
var key, i;
|
var key, i;
|
||||||
|
|
||||||
if (Object.getOwnPropertySymbols) {
|
if (Object.getOwnPropertySymbols) {
|
||||||
|
@ -122,7 +122,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 17:
|
/***/ 15:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -131,7 +131,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||||
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
|
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
||||||
var arrayLikeToArray = __webpack_require__(27);
|
var arrayLikeToArray = __webpack_require__(24);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ function _arrayWithoutHoles(arr) {
|
||||||
var iterableToArray = __webpack_require__(37);
|
var iterableToArray = __webpack_require__(37);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||||
var unsupportedIterableToArray = __webpack_require__(31);
|
var unsupportedIterableToArray = __webpack_require__(32);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||||
function _nonIterableSpread() {
|
function _nonIterableSpread() {
|
||||||
|
@ -159,21 +159,115 @@ function _toConsumableArray(arr) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 196:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
|
||||||
|
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
||||||
|
// require the crypto API and do not support built-in fallback to lower quality random number
|
||||||
|
// generators (like Math.random()).
|
||||||
|
var getRandomValues;
|
||||||
|
var rnds8 = new Uint8Array(16);
|
||||||
|
function rng() {
|
||||||
|
// lazy load so that environments that need to polyfill have a chance to do so
|
||||||
|
if (!getRandomValues) {
|
||||||
|
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
|
||||||
|
// find the complete implementation of crypto (msCrypto) on IE11.
|
||||||
|
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
|
||||||
|
|
||||||
|
if (!getRandomValues) {
|
||||||
|
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return getRandomValues(rnds8);
|
||||||
|
}
|
||||||
|
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
|
||||||
|
/* harmony default export */ var regex = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
|
||||||
|
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
|
||||||
|
|
||||||
|
|
||||||
|
function validate(uuid) {
|
||||||
|
return typeof uuid === 'string' && regex.test(uuid);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ var esm_browser_validate = (validate);
|
||||||
|
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert array of 16 byte values to UUID string format of the form:
|
||||||
|
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
||||||
|
*/
|
||||||
|
|
||||||
|
var byteToHex = [];
|
||||||
|
|
||||||
|
for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
|
||||||
|
byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
|
||||||
|
}
|
||||||
|
|
||||||
|
function stringify(arr) {
|
||||||
|
var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
||||||
|
// Note: Be careful editing this code! It's been tuned for performance
|
||||||
|
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
||||||
|
var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
|
||||||
|
// of the following:
|
||||||
|
// - One or more input array values don't map to a hex octet (leading to
|
||||||
|
// "undefined" in the uuid)
|
||||||
|
// - Invalid input values for the RFC `version` or `variant` fields
|
||||||
|
|
||||||
|
if (!esm_browser_validate(uuid)) {
|
||||||
|
throw TypeError('Stringified UUID is invalid');
|
||||||
|
}
|
||||||
|
|
||||||
|
return uuid;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ var esm_browser_stringify = (stringify);
|
||||||
|
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function v4(options, buf, offset) {
|
||||||
|
options = options || {};
|
||||||
|
var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
||||||
|
|
||||||
|
rnds[6] = rnds[6] & 0x0f | 0x40;
|
||||||
|
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
||||||
|
|
||||||
|
if (buf) {
|
||||||
|
offset = offset || 0;
|
||||||
|
|
||||||
|
for (var i = 0; i < 16; ++i) {
|
||||||
|
buf[offset + i] = rnds[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
return buf;
|
||||||
|
}
|
||||||
|
|
||||||
|
return esm_browser_stringify(rnds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ var esm_browser_v4 = __webpack_exports__["a"] = (v4);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2:
|
/***/ 2:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["lodash"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 25:
|
/***/ 21:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["richText"]; }());
|
(function() { module.exports = window["wp"]["richText"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 27:
|
/***/ 24:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -190,28 +284,28 @@ function _arrayLikeToArray(arr, len) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 31:
|
/***/ 32:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||||
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27);
|
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
|
||||||
|
|
||||||
function _unsupportedIterableToArray(o, minLen) {
|
function _unsupportedIterableToArray(o, minLen) {
|
||||||
if (!o) return;
|
if (!o) return;
|
||||||
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||||
if (n === "Map" || n === "Set") return Array.from(o);
|
if (n === "Map" || n === "Set") return Array.from(o);
|
||||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 33:
|
/***/ 34:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["hooks"]; }());
|
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -229,11 +323,11 @@ function _iterableToArray(iter) {
|
||||||
/***/ 4:
|
/***/ 4:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["data"]; }());
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 42:
|
/***/ 41:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -537,13 +631,16 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 472:
|
/***/ 457:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
// ESM COMPAT FLAG
|
// ESM COMPAT FLAG
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
|
// EXPORTS
|
||||||
|
__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
|
||||||
|
|
||||||
// NAMESPACE OBJECT: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
// NAMESPACE OBJECT: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
||||||
var selectors_namespaceObject = {};
|
var selectors_namespaceObject = {};
|
||||||
__webpack_require__.r(selectors_namespaceObject);
|
__webpack_require__.r(selectors_namespaceObject);
|
||||||
|
@ -560,17 +657,266 @@ __webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotation",
|
||||||
__webpack_require__.d(actions_namespaceObject, "__experimentalUpdateAnnotationRange", function() { return __experimentalUpdateAnnotationRange; });
|
__webpack_require__.d(actions_namespaceObject, "__experimentalUpdateAnnotationRange", function() { return __experimentalUpdateAnnotationRange; });
|
||||||
__webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotationsBySource", function() { return __experimentalRemoveAnnotationsBySource; });
|
__webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotationsBySource", function() { return __experimentalRemoveAnnotationsBySource; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","data"]}
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
||||||
var external_this_wp_data_ = __webpack_require__(4);
|
var objectWithoutProperties = __webpack_require__(13);
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","richText"]
|
||||||
|
var external_wp_richText_ = __webpack_require__(21);
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
|
var external_wp_i18n_ = __webpack_require__(1);
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/constants.js
|
||||||
|
/**
|
||||||
|
* The identifier for the data store.
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
*/
|
||||||
|
var STORE_NAME = 'core/annotations';
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/annotation.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
var FORMAT_NAME = 'core/annotation';
|
||||||
|
var ANNOTATION_ATTRIBUTE_PREFIX = 'annotation-text-';
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Applies given annotations to the given record.
|
||||||
|
*
|
||||||
|
* @param {Object} record The record to apply annotations to.
|
||||||
|
* @param {Array} annotations The annotation to apply.
|
||||||
|
* @return {Object} A record with the annotations applied.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function applyAnnotations(record) {
|
||||||
|
var annotations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
||||||
|
annotations.forEach(function (annotation) {
|
||||||
|
var start = annotation.start,
|
||||||
|
end = annotation.end;
|
||||||
|
|
||||||
|
if (start > record.text.length) {
|
||||||
|
start = record.text.length;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (end > record.text.length) {
|
||||||
|
end = record.text.length;
|
||||||
|
}
|
||||||
|
|
||||||
|
var className = ANNOTATION_ATTRIBUTE_PREFIX + annotation.source;
|
||||||
|
var id = ANNOTATION_ATTRIBUTE_PREFIX + annotation.id;
|
||||||
|
record = Object(external_wp_richText_["applyFormat"])(record, {
|
||||||
|
type: FORMAT_NAME,
|
||||||
|
attributes: {
|
||||||
|
className: className,
|
||||||
|
id: id
|
||||||
|
}
|
||||||
|
}, start, end);
|
||||||
|
});
|
||||||
|
return record;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Removes annotations from the given record.
|
||||||
|
*
|
||||||
|
* @param {Object} record Record to remove annotations from.
|
||||||
|
* @return {Object} The cleaned record.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function removeAnnotations(record) {
|
||||||
|
return Object(external_wp_richText_["removeFormat"])(record, 'core/annotation', 0, record.text.length);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Retrieves the positions of annotations inside an array of formats.
|
||||||
|
*
|
||||||
|
* @param {Array} formats Formats with annotations in there.
|
||||||
|
* @return {Object} ID keyed positions of annotations.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function retrieveAnnotationPositions(formats) {
|
||||||
|
var positions = {};
|
||||||
|
formats.forEach(function (characterFormats, i) {
|
||||||
|
characterFormats = characterFormats || [];
|
||||||
|
characterFormats = characterFormats.filter(function (format) {
|
||||||
|
return format.type === FORMAT_NAME;
|
||||||
|
});
|
||||||
|
characterFormats.forEach(function (format) {
|
||||||
|
var id = format.attributes.id;
|
||||||
|
id = id.replace(ANNOTATION_ATTRIBUTE_PREFIX, '');
|
||||||
|
|
||||||
|
if (!positions.hasOwnProperty(id)) {
|
||||||
|
positions[id] = {
|
||||||
|
start: i
|
||||||
|
};
|
||||||
|
} // Annotations refer to positions between characters.
|
||||||
|
// Formats refer to the character themselves.
|
||||||
|
// So we need to adjust for that here.
|
||||||
|
|
||||||
|
|
||||||
|
positions[id].end = i + 1;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return positions;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Updates annotations in the state based on positions retrieved from RichText.
|
||||||
|
*
|
||||||
|
* @param {Array} annotations The annotations that are currently applied.
|
||||||
|
* @param {Array} positions The current positions of the given annotations.
|
||||||
|
* @param {Object} actions
|
||||||
|
* @param {Function} actions.removeAnnotation Function to remove an annotation from the state.
|
||||||
|
* @param {Function} actions.updateAnnotationRange Function to update an annotation range in the state.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function updateAnnotationsWithPositions(annotations, positions, _ref) {
|
||||||
|
var removeAnnotation = _ref.removeAnnotation,
|
||||||
|
updateAnnotationRange = _ref.updateAnnotationRange;
|
||||||
|
annotations.forEach(function (currentAnnotation) {
|
||||||
|
var position = positions[currentAnnotation.id]; // If we cannot find an annotation, delete it.
|
||||||
|
|
||||||
|
if (!position) {
|
||||||
|
// Apparently the annotation has been removed, so remove it from the state:
|
||||||
|
// Remove...
|
||||||
|
removeAnnotation(currentAnnotation.id);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var start = currentAnnotation.start,
|
||||||
|
end = currentAnnotation.end;
|
||||||
|
|
||||||
|
if (start !== position.start || end !== position.end) {
|
||||||
|
updateAnnotationRange(currentAnnotation.id, position.start, position.end);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var annotation_annotation = {
|
||||||
|
name: FORMAT_NAME,
|
||||||
|
title: Object(external_wp_i18n_["__"])('Annotation'),
|
||||||
|
tagName: 'mark',
|
||||||
|
className: 'annotation-text',
|
||||||
|
attributes: {
|
||||||
|
className: 'class',
|
||||||
|
id: 'id'
|
||||||
|
},
|
||||||
|
edit: function edit() {
|
||||||
|
return null;
|
||||||
|
},
|
||||||
|
__experimentalGetPropsForEditableTreePreparation: function __experimentalGetPropsForEditableTreePreparation(select, _ref2) {
|
||||||
|
var richTextIdentifier = _ref2.richTextIdentifier,
|
||||||
|
blockClientId = _ref2.blockClientId;
|
||||||
|
return {
|
||||||
|
annotations: select(STORE_NAME).__experimentalGetAnnotationsForRichText(blockClientId, richTextIdentifier)
|
||||||
|
};
|
||||||
|
},
|
||||||
|
__experimentalCreatePrepareEditableTree: function __experimentalCreatePrepareEditableTree(_ref3) {
|
||||||
|
var annotations = _ref3.annotations;
|
||||||
|
return function (formats, text) {
|
||||||
|
if (annotations.length === 0) {
|
||||||
|
return formats;
|
||||||
|
}
|
||||||
|
|
||||||
|
var record = {
|
||||||
|
formats: formats,
|
||||||
|
text: text
|
||||||
|
};
|
||||||
|
record = applyAnnotations(record, annotations);
|
||||||
|
return record.formats;
|
||||||
|
};
|
||||||
|
},
|
||||||
|
__experimentalGetPropsForEditableTreeChangeHandler: function __experimentalGetPropsForEditableTreeChangeHandler(dispatch) {
|
||||||
|
return {
|
||||||
|
removeAnnotation: dispatch(STORE_NAME).__experimentalRemoveAnnotation,
|
||||||
|
updateAnnotationRange: dispatch(STORE_NAME).__experimentalUpdateAnnotationRange
|
||||||
|
};
|
||||||
|
},
|
||||||
|
__experimentalCreateOnChangeEditableValue: function __experimentalCreateOnChangeEditableValue(props) {
|
||||||
|
return function (formats) {
|
||||||
|
var positions = retrieveAnnotationPositions(formats);
|
||||||
|
var removeAnnotation = props.removeAnnotation,
|
||||||
|
updateAnnotationRange = props.updateAnnotationRange,
|
||||||
|
annotations = props.annotations;
|
||||||
|
updateAnnotationsWithPositions(annotations, positions, {
|
||||||
|
removeAnnotation: removeAnnotation,
|
||||||
|
updateAnnotationRange: updateAnnotationRange
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/index.js
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var format_name = annotation_annotation.name,
|
||||||
|
settings = Object(objectWithoutProperties["a" /* default */])(annotation_annotation, ["name"]);
|
||||||
|
|
||||||
|
Object(external_wp_richText_["registerFormatType"])(format_name, settings);
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||||
|
var external_wp_hooks_ = __webpack_require__(34);
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
|
var external_wp_data_ = __webpack_require__(4);
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds annotation className to the block-list-block component.
|
||||||
|
*
|
||||||
|
* @param {Object} OriginalComponent The original BlockListBlock component.
|
||||||
|
* @return {Object} The enhanced component.
|
||||||
|
*/
|
||||||
|
|
||||||
|
var block_addAnnotationClassName = function addAnnotationClassName(OriginalComponent) {
|
||||||
|
return Object(external_wp_data_["withSelect"])(function (select, _ref) {
|
||||||
|
var clientId = _ref.clientId,
|
||||||
|
className = _ref.className;
|
||||||
|
|
||||||
|
var annotations = select(STORE_NAME).__experimentalGetAnnotationsForBlock(clientId);
|
||||||
|
|
||||||
|
return {
|
||||||
|
className: annotations.map(function (annotation) {
|
||||||
|
return 'is-annotated-by-' + annotation.source;
|
||||||
|
}).concat(className).filter(Boolean).join(' ')
|
||||||
|
};
|
||||||
|
})(OriginalComponent);
|
||||||
|
};
|
||||||
|
|
||||||
|
Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/annotations', block_addAnnotationClassName);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||||
var toConsumableArray = __webpack_require__(17);
|
var toConsumableArray = __webpack_require__(15);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||||
var defineProperty = __webpack_require__(5);
|
var defineProperty = __webpack_require__(5);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":"lodash"}
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_this_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__(2);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/reducer.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/reducer.js
|
||||||
|
|
||||||
|
@ -607,7 +953,7 @@ function filterWithReference(collection, predicate) {
|
||||||
|
|
||||||
|
|
||||||
function isValidAnnotationRange(annotation) {
|
function isValidAnnotationRange(annotation) {
|
||||||
return Object(external_this_lodash_["isNumber"])(annotation.start) && Object(external_this_lodash_["isNumber"])(annotation.end) && annotation.start <= annotation.end;
|
return Object(external_lodash_["isNumber"])(annotation.start) && Object(external_lodash_["isNumber"])(annotation.end) && annotation.start <= annotation.end;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Reducer managing annotations.
|
* Reducer managing annotations.
|
||||||
|
@ -645,14 +991,14 @@ function reducer_annotations() {
|
||||||
return _objectSpread(_objectSpread({}, state), {}, Object(defineProperty["a" /* default */])({}, blockClientId, [].concat(Object(toConsumableArray["a" /* default */])(previousAnnotationsForBlock), [newAnnotation])));
|
return _objectSpread(_objectSpread({}, state), {}, Object(defineProperty["a" /* default */])({}, blockClientId, [].concat(Object(toConsumableArray["a" /* default */])(previousAnnotationsForBlock), [newAnnotation])));
|
||||||
|
|
||||||
case 'ANNOTATION_REMOVE':
|
case 'ANNOTATION_REMOVE':
|
||||||
return Object(external_this_lodash_["mapValues"])(state, function (annotationsForBlock) {
|
return Object(external_lodash_["mapValues"])(state, function (annotationsForBlock) {
|
||||||
return filterWithReference(annotationsForBlock, function (annotation) {
|
return filterWithReference(annotationsForBlock, function (annotation) {
|
||||||
return annotation.id !== action.annotationId;
|
return annotation.id !== action.annotationId;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
case 'ANNOTATION_UPDATE_RANGE':
|
case 'ANNOTATION_UPDATE_RANGE':
|
||||||
return Object(external_this_lodash_["mapValues"])(state, function (annotationsForBlock) {
|
return Object(external_lodash_["mapValues"])(state, function (annotationsForBlock) {
|
||||||
var hasChangedRange = false;
|
var hasChangedRange = false;
|
||||||
var newAnnotations = annotationsForBlock.map(function (annotation) {
|
var newAnnotations = annotationsForBlock.map(function (annotation) {
|
||||||
if (annotation.id === action.annotationId) {
|
if (annotation.id === action.annotationId) {
|
||||||
|
@ -671,7 +1017,7 @@ function reducer_annotations() {
|
||||||
});
|
});
|
||||||
|
|
||||||
case 'ANNOTATION_REMOVE_SOURCE':
|
case 'ANNOTATION_REMOVE_SOURCE':
|
||||||
return Object(external_this_lodash_["mapValues"])(state, function (annotationsForBlock) {
|
return Object(external_lodash_["mapValues"])(state, function (annotationsForBlock) {
|
||||||
return filterWithReference(annotationsForBlock, function (annotation) {
|
return filterWithReference(annotationsForBlock, function (annotation) {
|
||||||
return annotation.source !== action.source;
|
return annotation.source !== action.source;
|
||||||
});
|
});
|
||||||
|
@ -682,11 +1028,8 @@ function reducer_annotations() {
|
||||||
}
|
}
|
||||||
/* harmony default export */ var reducer = (reducer_annotations);
|
/* harmony default export */ var reducer = (reducer_annotations);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
||||||
var objectWithoutProperties = __webpack_require__(14);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||||
var rememo = __webpack_require__(42);
|
var rememo = __webpack_require__(41);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
||||||
|
|
||||||
|
@ -774,74 +1117,14 @@ var __experimentalGetAnnotationsForRichText = Object(rememo["a" /* default */])(
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function __experimentalGetAnnotations(state) {
|
function __experimentalGetAnnotations(state) {
|
||||||
return Object(external_this_lodash_["flatMap"])(state, function (annotations) {
|
return Object(external_lodash_["flatMap"])(state, function (annotations) {
|
||||||
return annotations;
|
return annotations;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/rng.js
|
// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
|
||||||
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
var v4 = __webpack_require__(196);
|
||||||
// require the crypto API and do not support built-in fallback to lower quality random number
|
|
||||||
// generators (like Math.random()).
|
|
||||||
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
|
|
||||||
// find the complete implementation of crypto (msCrypto) on IE11.
|
|
||||||
var getRandomValues = typeof crypto != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != 'undefined' && typeof msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto);
|
|
||||||
var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
|
|
||||||
|
|
||||||
function rng() {
|
|
||||||
if (!getRandomValues) {
|
|
||||||
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
||||||
}
|
|
||||||
|
|
||||||
return getRandomValues(rnds8);
|
|
||||||
}
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/bytesToUuid.js
|
|
||||||
/**
|
|
||||||
* Convert array of 16 byte values to UUID string format of the form:
|
|
||||||
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
||||||
*/
|
|
||||||
var byteToHex = [];
|
|
||||||
|
|
||||||
for (var bytesToUuid_i = 0; bytesToUuid_i < 256; ++bytesToUuid_i) {
|
|
||||||
byteToHex[bytesToUuid_i] = (bytesToUuid_i + 0x100).toString(16).substr(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
function bytesToUuid(buf, offset) {
|
|
||||||
var i = offset || 0;
|
|
||||||
var bth = byteToHex; // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
|
|
||||||
|
|
||||||
return [bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]]].join('');
|
|
||||||
}
|
|
||||||
|
|
||||||
/* harmony default export */ var esm_browser_bytesToUuid = (bytesToUuid);
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/v4.js
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function v4(options, buf, offset) {
|
|
||||||
var i = buf && offset || 0;
|
|
||||||
|
|
||||||
if (typeof options == 'string') {
|
|
||||||
buf = options === 'binary' ? new Array(16) : null;
|
|
||||||
options = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
options = options || {};
|
|
||||||
var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
||||||
|
|
||||||
rnds[6] = rnds[6] & 0x0f | 0x40;
|
|
||||||
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
|
||||||
|
|
||||||
if (buf) {
|
|
||||||
for (var ii = 0; ii < 16; ++ii) {
|
|
||||||
buf[i + ii] = rnds[ii];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return buf || esm_browser_bytesToUuid(rnds);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* harmony default export */ var esm_browser_v4 = (v4);
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
|
@ -886,7 +1169,7 @@ function __experimentalAddAnnotation(_ref) {
|
||||||
_ref$source = _ref.source,
|
_ref$source = _ref.source,
|
||||||
source = _ref$source === void 0 ? 'default' : _ref$source,
|
source = _ref$source === void 0 ? 'default' : _ref$source,
|
||||||
_ref$id = _ref.id,
|
_ref$id = _ref.id,
|
||||||
id = _ref$id === void 0 ? esm_browser_v4() : _ref$id;
|
id = _ref$id === void 0 ? Object(v4["a" /* default */])() : _ref$id;
|
||||||
var action = {
|
var action = {
|
||||||
type: 'ANNOTATION_ADD',
|
type: 'ANNOTATION_ADD',
|
||||||
id: id,
|
id: id,
|
||||||
|
@ -965,242 +1248,21 @@ function __experimentalRemoveAnnotationsBySource(source) {
|
||||||
* Module Constants
|
* Module Constants
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var MODULE_KEY = 'core/annotations';
|
|
||||||
var store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, {
|
/**
|
||||||
|
* Store definition for the annotations namespace.
|
||||||
|
*
|
||||||
|
* @see https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#createReduxStore
|
||||||
|
*
|
||||||
|
* @type {Object}
|
||||||
|
*/
|
||||||
|
|
||||||
|
var store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
|
||||||
reducer: reducer,
|
reducer: reducer,
|
||||||
selectors: selectors_namespaceObject,
|
selectors: selectors_namespaceObject,
|
||||||
actions: actions_namespaceObject
|
actions: actions_namespaceObject
|
||||||
});
|
});
|
||||||
/* harmony default export */ var build_module_store = (store);
|
Object(external_wp_data_["register"])(store);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","richText"]}
|
|
||||||
var external_this_wp_richText_ = __webpack_require__(25);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
|
||||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/annotation.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
var FORMAT_NAME = 'core/annotation';
|
|
||||||
var ANNOTATION_ATTRIBUTE_PREFIX = 'annotation-text-';
|
|
||||||
var STORE_KEY = 'core/annotations';
|
|
||||||
/**
|
|
||||||
* Applies given annotations to the given record.
|
|
||||||
*
|
|
||||||
* @param {Object} record The record to apply annotations to.
|
|
||||||
* @param {Array} annotations The annotation to apply.
|
|
||||||
* @return {Object} A record with the annotations applied.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function applyAnnotations(record) {
|
|
||||||
var annotations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
||||||
annotations.forEach(function (annotation) {
|
|
||||||
var start = annotation.start,
|
|
||||||
end = annotation.end;
|
|
||||||
|
|
||||||
if (start > record.text.length) {
|
|
||||||
start = record.text.length;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (end > record.text.length) {
|
|
||||||
end = record.text.length;
|
|
||||||
}
|
|
||||||
|
|
||||||
var className = ANNOTATION_ATTRIBUTE_PREFIX + annotation.source;
|
|
||||||
var id = ANNOTATION_ATTRIBUTE_PREFIX + annotation.id;
|
|
||||||
record = Object(external_this_wp_richText_["applyFormat"])(record, {
|
|
||||||
type: FORMAT_NAME,
|
|
||||||
attributes: {
|
|
||||||
className: className,
|
|
||||||
id: id
|
|
||||||
}
|
|
||||||
}, start, end);
|
|
||||||
});
|
|
||||||
return record;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Removes annotations from the given record.
|
|
||||||
*
|
|
||||||
* @param {Object} record Record to remove annotations from.
|
|
||||||
* @return {Object} The cleaned record.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function removeAnnotations(record) {
|
|
||||||
return Object(external_this_wp_richText_["removeFormat"])(record, 'core/annotation', 0, record.text.length);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Retrieves the positions of annotations inside an array of formats.
|
|
||||||
*
|
|
||||||
* @param {Array} formats Formats with annotations in there.
|
|
||||||
* @return {Object} ID keyed positions of annotations.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function retrieveAnnotationPositions(formats) {
|
|
||||||
var positions = {};
|
|
||||||
formats.forEach(function (characterFormats, i) {
|
|
||||||
characterFormats = characterFormats || [];
|
|
||||||
characterFormats = characterFormats.filter(function (format) {
|
|
||||||
return format.type === FORMAT_NAME;
|
|
||||||
});
|
|
||||||
characterFormats.forEach(function (format) {
|
|
||||||
var id = format.attributes.id;
|
|
||||||
id = id.replace(ANNOTATION_ATTRIBUTE_PREFIX, '');
|
|
||||||
|
|
||||||
if (!positions.hasOwnProperty(id)) {
|
|
||||||
positions[id] = {
|
|
||||||
start: i
|
|
||||||
};
|
|
||||||
} // Annotations refer to positions between characters.
|
|
||||||
// Formats refer to the character themselves.
|
|
||||||
// So we need to adjust for that here.
|
|
||||||
|
|
||||||
|
|
||||||
positions[id].end = i + 1;
|
|
||||||
});
|
|
||||||
});
|
|
||||||
return positions;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Updates annotations in the state based on positions retrieved from RichText.
|
|
||||||
*
|
|
||||||
* @param {Array} annotations The annotations that are currently applied.
|
|
||||||
* @param {Array} positions The current positions of the given annotations.
|
|
||||||
* @param {Object} actions
|
|
||||||
* @param {Function} actions.removeAnnotation Function to remove an annotation from the state.
|
|
||||||
* @param {Function} actions.updateAnnotationRange Function to update an annotation range in the state.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
function updateAnnotationsWithPositions(annotations, positions, _ref) {
|
|
||||||
var removeAnnotation = _ref.removeAnnotation,
|
|
||||||
updateAnnotationRange = _ref.updateAnnotationRange;
|
|
||||||
annotations.forEach(function (currentAnnotation) {
|
|
||||||
var position = positions[currentAnnotation.id]; // If we cannot find an annotation, delete it.
|
|
||||||
|
|
||||||
if (!position) {
|
|
||||||
// Apparently the annotation has been removed, so remove it from the state:
|
|
||||||
// Remove...
|
|
||||||
removeAnnotation(currentAnnotation.id);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var start = currentAnnotation.start,
|
|
||||||
end = currentAnnotation.end;
|
|
||||||
|
|
||||||
if (start !== position.start || end !== position.end) {
|
|
||||||
updateAnnotationRange(currentAnnotation.id, position.start, position.end);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
var annotation_annotation = {
|
|
||||||
name: FORMAT_NAME,
|
|
||||||
title: Object(external_this_wp_i18n_["__"])('Annotation'),
|
|
||||||
tagName: 'mark',
|
|
||||||
className: 'annotation-text',
|
|
||||||
attributes: {
|
|
||||||
className: 'class',
|
|
||||||
id: 'id'
|
|
||||||
},
|
|
||||||
edit: function edit() {
|
|
||||||
return null;
|
|
||||||
},
|
|
||||||
__experimentalGetPropsForEditableTreePreparation: function __experimentalGetPropsForEditableTreePreparation(select, _ref2) {
|
|
||||||
var richTextIdentifier = _ref2.richTextIdentifier,
|
|
||||||
blockClientId = _ref2.blockClientId;
|
|
||||||
return {
|
|
||||||
annotations: select(STORE_KEY).__experimentalGetAnnotationsForRichText(blockClientId, richTextIdentifier)
|
|
||||||
};
|
|
||||||
},
|
|
||||||
__experimentalCreatePrepareEditableTree: function __experimentalCreatePrepareEditableTree(_ref3) {
|
|
||||||
var annotations = _ref3.annotations;
|
|
||||||
return function (formats, text) {
|
|
||||||
if (annotations.length === 0) {
|
|
||||||
return formats;
|
|
||||||
}
|
|
||||||
|
|
||||||
var record = {
|
|
||||||
formats: formats,
|
|
||||||
text: text
|
|
||||||
};
|
|
||||||
record = applyAnnotations(record, annotations);
|
|
||||||
return record.formats;
|
|
||||||
};
|
|
||||||
},
|
|
||||||
__experimentalGetPropsForEditableTreeChangeHandler: function __experimentalGetPropsForEditableTreeChangeHandler(dispatch) {
|
|
||||||
return {
|
|
||||||
removeAnnotation: dispatch(STORE_KEY).__experimentalRemoveAnnotation,
|
|
||||||
updateAnnotationRange: dispatch(STORE_KEY).__experimentalUpdateAnnotationRange
|
|
||||||
};
|
|
||||||
},
|
|
||||||
__experimentalCreateOnChangeEditableValue: function __experimentalCreateOnChangeEditableValue(props) {
|
|
||||||
return function (formats) {
|
|
||||||
var positions = retrieveAnnotationPositions(formats);
|
|
||||||
var removeAnnotation = props.removeAnnotation,
|
|
||||||
updateAnnotationRange = props.updateAnnotationRange,
|
|
||||||
annotations = props.annotations;
|
|
||||||
updateAnnotationsWithPositions(annotations, positions, {
|
|
||||||
removeAnnotation: removeAnnotation,
|
|
||||||
updateAnnotationRange: updateAnnotationRange
|
|
||||||
});
|
|
||||||
};
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/index.js
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Internal dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var format_name = annotation_annotation.name,
|
|
||||||
settings = Object(objectWithoutProperties["a" /* default */])(annotation_annotation, ["name"]);
|
|
||||||
|
|
||||||
Object(external_this_wp_richText_["registerFormatType"])(format_name, settings);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
|
||||||
var external_this_wp_hooks_ = __webpack_require__(33);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Adds annotation className to the block-list-block component.
|
|
||||||
*
|
|
||||||
* @param {Object} OriginalComponent The original BlockListBlock component.
|
|
||||||
* @return {Object} The enhanced component.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var block_addAnnotationClassName = function addAnnotationClassName(OriginalComponent) {
|
|
||||||
return Object(external_this_wp_data_["withSelect"])(function (select, _ref) {
|
|
||||||
var clientId = _ref.clientId,
|
|
||||||
className = _ref.className;
|
|
||||||
|
|
||||||
var annotations = select('core/annotations').__experimentalGetAnnotationsForBlock(clientId);
|
|
||||||
|
|
||||||
return {
|
|
||||||
className: annotations.map(function (annotation) {
|
|
||||||
return 'is-annotated-by-' + annotation.source;
|
|
||||||
}).concat(className).filter(Boolean).join(' ')
|
|
||||||
};
|
|
||||||
})(OriginalComponent);
|
|
||||||
};
|
|
||||||
|
|
||||||
Object(external_this_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/annotations', block_addAnnotationClassName);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/index.js
|
||||||
/**
|
/**
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue