lol backups and old site first commit
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/tab-list",
|
||||
"title": "Tab List",
|
||||
"description": "Display the tab buttons for a tabbed interface.",
|
||||
"category": "design",
|
||||
"textdomain": "default",
|
||||
"parent": [ "core/tabs" ],
|
||||
"usesContext": [ "core/tabs-list" ],
|
||||
"attributes": {
|
||||
"tabs": {
|
||||
"type": "array",
|
||||
"source": "query",
|
||||
"selector": "button",
|
||||
"query": {
|
||||
"label": {
|
||||
"type": "rich-text",
|
||||
"source": "rich-text",
|
||||
"role": "content"
|
||||
}
|
||||
},
|
||||
"default": []
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"html": false,
|
||||
"ariaLabel": true,
|
||||
"visibility": false,
|
||||
"lock": false,
|
||||
"color": {
|
||||
"background": true,
|
||||
"text": true,
|
||||
"__experimentalSkipSerialization": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true,
|
||||
"text": true
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"__experimentalFontFamily": true
|
||||
},
|
||||
"__experimentalBorder": {
|
||||
"color": true,
|
||||
"radius": true,
|
||||
"style": true,
|
||||
"width": true,
|
||||
"__experimentalSkipSerialization": true
|
||||
},
|
||||
"layout": {
|
||||
"default": {
|
||||
"type": "flex",
|
||||
"flexWrap": "wrap"
|
||||
},
|
||||
"allowVerticalAlignment": false,
|
||||
"allowOrientation": false,
|
||||
"allowWrap": false
|
||||
},
|
||||
"spacing": {
|
||||
"padding": true,
|
||||
"blockGap": true,
|
||||
"__experimentalSkipSerialization": [ "padding" ],
|
||||
"__experimentalDefaultControls": {
|
||||
"padding": true,
|
||||
"blockGap": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"selectors": {
|
||||
"border": ".wp-block-tab-list button",
|
||||
"color": {
|
||||
"background": ".wp-block-tab-list button",
|
||||
"text": ".wp-block-tab-list button"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": ".wp-block-tab-list button"
|
||||
}
|
||||
},
|
||||
"style": "wp-block-tab-list",
|
||||
"editorStyle": "wp-block-tab-list-editor"
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
/**
|
||||
* Typography
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Typography
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Radius scale.
|
||||
*/
|
||||
/**
|
||||
* Elevation scale.
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Mobile specific styles
|
||||
*/
|
||||
/**
|
||||
* Editor styles.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Converts a hex value into the rgb equivalent.
|
||||
*
|
||||
* @param {string} hex - the hexadecimal value to convert
|
||||
* @return {string} comma separated rgb values
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* Standard focus rings for the WordPress Design System.
|
||||
*
|
||||
* Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
|
||||
* e.g. `&:focus { @include outset-ring__focus(); }`.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Creates a checkerboard pattern background to indicate transparency.
|
||||
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
||||
*/
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-tab-list__mover-button {
|
||||
width: 24px;
|
||||
min-width: 0 !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@media (min-width:600px){.wp-block-tab-list__mover-button{min-width:0!important;width:24px}}
|
||||
@@ -0,0 +1,101 @@
|
||||
/**
|
||||
* Typography
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Typography
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Radius scale.
|
||||
*/
|
||||
/**
|
||||
* Elevation scale.
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Mobile specific styles
|
||||
*/
|
||||
/**
|
||||
* Editor styles.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Converts a hex value into the rgb equivalent.
|
||||
*
|
||||
* @param {string} hex - the hexadecimal value to convert
|
||||
* @return {string} comma separated rgb values
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* Standard focus rings for the WordPress Design System.
|
||||
*
|
||||
* Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
|
||||
* e.g. `&:focus { @include outset-ring__focus(); }`.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Creates a checkerboard pattern background to indicate transparency.
|
||||
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
||||
*/
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-tab-list__mover-button {
|
||||
width: 24px;
|
||||
min-width: 0 !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@media (min-width:600px){.wp-block-tab-list__mover-button{min-width:0!important;width:24px}}
|
||||
@@ -0,0 +1,35 @@
|
||||
:where(.wp-block-tab-list button) {
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
display: block;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
flex-basis: inherit !important;
|
||||
flex-grow: inherit !important;
|
||||
position: relative;
|
||||
border: none;
|
||||
background: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
padding: var(--wp--preset--spacing--20, 0.5em) var(--wp--preset--spacing--30, 1em);
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
font-weight: inherit;
|
||||
line-height: inherit;
|
||||
letter-spacing: inherit;
|
||||
text-transform: inherit;
|
||||
text-align: inherit;
|
||||
}
|
||||
:where(.wp-block-tab-list button)[aria-selected=true]::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
border-bottom: 2px solid currentColor;
|
||||
pointer-events: none;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
:where(.wp-block-tab-list button){-moz-appearance:none;appearance:none;-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:inherit;cursor:pointer;display:block;flex-basis:inherit!important;flex-grow:inherit!important;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:var(--wp--preset--spacing--20,.5em) var(--wp--preset--spacing--30,1em);position:relative;text-align:inherit;text-decoration:none;text-transform:inherit;width:-moz-max-content;width:max-content}:where(.wp-block-tab-list button)[aria-selected=true]:before{border-bottom:2px solid;bottom:0;content:"";pointer-events:none;position:absolute;right:0;width:100%}
|
||||
@@ -0,0 +1,35 @@
|
||||
:where(.wp-block-tab-list button) {
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
display: block;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
flex-basis: inherit !important;
|
||||
flex-grow: inherit !important;
|
||||
position: relative;
|
||||
border: none;
|
||||
background: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
padding: var(--wp--preset--spacing--20, 0.5em) var(--wp--preset--spacing--30, 1em);
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
font-weight: inherit;
|
||||
line-height: inherit;
|
||||
letter-spacing: inherit;
|
||||
text-transform: inherit;
|
||||
text-align: inherit;
|
||||
}
|
||||
:where(.wp-block-tab-list button)[aria-selected=true]::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
border-bottom: 2px solid currentColor;
|
||||
pointer-events: none;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
:where(.wp-block-tab-list button){-moz-appearance:none;appearance:none;-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:inherit;cursor:pointer;display:block;flex-basis:inherit!important;flex-grow:inherit!important;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:var(--wp--preset--spacing--20,.5em) var(--wp--preset--spacing--30,1em);position:relative;text-align:inherit;text-decoration:none;text-transform:inherit;width:-moz-max-content;width:max-content}:where(.wp-block-tab-list button)[aria-selected=true]:before{border-bottom:2px solid;bottom:0;content:"";left:0;pointer-events:none;position:absolute;width:100%}
|
||||
Reference in New Issue
Block a user