initial commit
This commit is contained in:
28
hamrokhaanpaan/wp-includes/blocks/separator/block.json
Normal file
28
hamrokhaanpaan/wp-includes/blocks/separator/block.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"apiVersion": 2,
|
||||
"name": "core/separator",
|
||||
"title": "Separator",
|
||||
"category": "design",
|
||||
"description": "Create a break between ideas or sections with a horizontal separator.",
|
||||
"keywords": [ "horizontal-line", "hr", "divider" ],
|
||||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"color": {
|
||||
"type": "string"
|
||||
},
|
||||
"customColor": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": [ "center", "wide", "full" ]
|
||||
},
|
||||
"styles": [
|
||||
{ "name": "default", "label": "Default", "isDefault": true },
|
||||
{ "name": "wide", "label": "Wide Line" },
|
||||
{ "name": "dots", "label": "Dots" }
|
||||
],
|
||||
"editorStyle": "wp-block-separator-editor",
|
||||
"style": "wp-block-separator"
|
||||
}
|
74
hamrokhaanpaan/wp-includes/blocks/separator/editor-rtl.css
Normal file
74
hamrokhaanpaan/wp-includes/blocks/separator/editor-rtl.css
Normal file
@@ -0,0 +1,74 @@
|
||||
/**
|
||||
* 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.
|
||||
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.block-editor-block-list__block[data-type="core/separator"] {
|
||||
padding-top: 0.1px;
|
||||
padding-bottom: 0.1px;
|
||||
}
|
1
hamrokhaanpaan/wp-includes/blocks/separator/editor-rtl.min.css
vendored
Normal file
1
hamrokhaanpaan/wp-includes/blocks/separator/editor-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}
|
74
hamrokhaanpaan/wp-includes/blocks/separator/editor.css
Normal file
74
hamrokhaanpaan/wp-includes/blocks/separator/editor.css
Normal file
@@ -0,0 +1,74 @@
|
||||
/**
|
||||
* 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.
|
||||
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.block-editor-block-list__block[data-type="core/separator"] {
|
||||
padding-top: 0.1px;
|
||||
padding-bottom: 0.1px;
|
||||
}
|
1
hamrokhaanpaan/wp-includes/blocks/separator/editor.min.css
vendored
Normal file
1
hamrokhaanpaan/wp-includes/blocks/separator/editor.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}
|
94
hamrokhaanpaan/wp-includes/blocks/separator/style-rtl.css
Normal file
94
hamrokhaanpaan/wp-includes/blocks/separator/style-rtl.css
Normal file
@@ -0,0 +1,94 @@
|
||||
@charset "UTF-8";
|
||||
/**
|
||||
* 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.
|
||||
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-separator {
|
||||
border-top: 1px solid currentColor;
|
||||
border-bottom: 1px solid currentColor;
|
||||
}
|
||||
.wp-block-separator.is-style-wide {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
.wp-block-separator.is-style-dots {
|
||||
background: none !important;
|
||||
border: none;
|
||||
text-align: center;
|
||||
width: none;
|
||||
line-height: 1;
|
||||
height: auto;
|
||||
}
|
||||
.wp-block-separator.is-style-dots::before {
|
||||
content: "···";
|
||||
color: currentColor;
|
||||
font-size: 1.5em;
|
||||
letter-spacing: 2em;
|
||||
padding-left: 2em;
|
||||
font-family: serif;
|
||||
}
|
1
hamrokhaanpaan/wp-includes/blocks/separator/style-rtl.min.css
vendored
Normal file
1
hamrokhaanpaan/wp-includes/blocks/separator/style-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@charset "UTF-8";.wp-block-separator{border-top:1px solid;border-bottom:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"···";color:currentColor;font-size:1.5em;letter-spacing:2em;padding-left:2em;font-family:serif}
|
95
hamrokhaanpaan/wp-includes/blocks/separator/style.css
Normal file
95
hamrokhaanpaan/wp-includes/blocks/separator/style.css
Normal file
@@ -0,0 +1,95 @@
|
||||
@charset "UTF-8";
|
||||
/**
|
||||
* 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.
|
||||
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-separator {
|
||||
border-top: 1px solid currentColor;
|
||||
border-bottom: 1px solid currentColor;
|
||||
}
|
||||
.wp-block-separator.is-style-wide {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
.wp-block-separator.is-style-dots {
|
||||
background: none !important;
|
||||
border: none;
|
||||
text-align: center;
|
||||
width: none;
|
||||
line-height: 1;
|
||||
height: auto;
|
||||
}
|
||||
.wp-block-separator.is-style-dots::before {
|
||||
content: "···";
|
||||
color: currentColor;
|
||||
font-size: 1.5em;
|
||||
letter-spacing: 2em;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 2em;
|
||||
font-family: serif;
|
||||
}
|
1
hamrokhaanpaan/wp-includes/blocks/separator/style.min.css
vendored
Normal file
1
hamrokhaanpaan/wp-includes/blocks/separator/style.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@charset "UTF-8";.wp-block-separator{border-top:1px solid;border-bottom:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"···";color:currentColor;font-size:1.5em;letter-spacing:2em;padding-left:2em;font-family:serif}
|
Reference in New Issue
Block a user