first commit
This commit is contained in:
46
wp-includes/blocks/calendar/block.json
Normal file
46
wp-includes/blocks/calendar/block.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/calendar",
|
||||
"title": "Calendar",
|
||||
"category": "widgets",
|
||||
"description": "A calendar of your site’s posts.",
|
||||
"keywords": [ "posts", "archive" ],
|
||||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"month": {
|
||||
"type": "integer"
|
||||
},
|
||||
"year": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"align": true,
|
||||
"color": {
|
||||
"link": true,
|
||||
"__experimentalSkipSerialization": [ "text", "background" ],
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true,
|
||||
"text": true
|
||||
},
|
||||
"__experimentalSelector": "table, th"
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
}
|
||||
},
|
||||
"style": "wp-block-calendar"
|
||||
}
|
33
wp-includes/blocks/calendar/style-rtl.css
Normal file
33
wp-includes/blocks/calendar/style-rtl.css
Normal file
@ -0,0 +1,33 @@
|
||||
.wp-block-calendar{
|
||||
text-align:center;
|
||||
}
|
||||
.wp-block-calendar td,.wp-block-calendar th{
|
||||
border:1px solid;
|
||||
padding:.25em;
|
||||
}
|
||||
.wp-block-calendar th{
|
||||
font-weight:400;
|
||||
}
|
||||
.wp-block-calendar caption{
|
||||
background-color:inherit;
|
||||
}
|
||||
.wp-block-calendar table{
|
||||
border-collapse:collapse;
|
||||
width:100%;
|
||||
}
|
||||
.wp-block-calendar table:where(:not(.has-text-color)){
|
||||
color:#40464d;
|
||||
}
|
||||
.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{
|
||||
border-color:#ddd;
|
||||
}
|
||||
.wp-block-calendar table.has-background th{
|
||||
background-color:inherit;
|
||||
}
|
||||
.wp-block-calendar table.has-text-color th{
|
||||
color:inherit;
|
||||
}
|
||||
|
||||
:where(.wp-block-calendar table:not(.has-background) th){
|
||||
background:#ddd;
|
||||
}
|
1
wp-includes/blocks/calendar/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/calendar/style-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wp-block-calendar{text-align:center}.wp-block-calendar td,.wp-block-calendar th{border:1px solid;padding:.25em}.wp-block-calendar th{font-weight:400}.wp-block-calendar caption{background-color:inherit}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table:where(:not(.has-text-color)){color:#40464d}.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{border-color:#ddd}.wp-block-calendar table.has-background th{background-color:inherit}.wp-block-calendar table.has-text-color th{color:inherit}:where(.wp-block-calendar table:not(.has-background) th){background:#ddd}
|
33
wp-includes/blocks/calendar/style.css
Normal file
33
wp-includes/blocks/calendar/style.css
Normal file
@ -0,0 +1,33 @@
|
||||
.wp-block-calendar{
|
||||
text-align:center;
|
||||
}
|
||||
.wp-block-calendar td,.wp-block-calendar th{
|
||||
border:1px solid;
|
||||
padding:.25em;
|
||||
}
|
||||
.wp-block-calendar th{
|
||||
font-weight:400;
|
||||
}
|
||||
.wp-block-calendar caption{
|
||||
background-color:inherit;
|
||||
}
|
||||
.wp-block-calendar table{
|
||||
border-collapse:collapse;
|
||||
width:100%;
|
||||
}
|
||||
.wp-block-calendar table:where(:not(.has-text-color)){
|
||||
color:#40464d;
|
||||
}
|
||||
.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{
|
||||
border-color:#ddd;
|
||||
}
|
||||
.wp-block-calendar table.has-background th{
|
||||
background-color:inherit;
|
||||
}
|
||||
.wp-block-calendar table.has-text-color th{
|
||||
color:inherit;
|
||||
}
|
||||
|
||||
:where(.wp-block-calendar table:not(.has-background) th){
|
||||
background:#ddd;
|
||||
}
|
1
wp-includes/blocks/calendar/style.min.css
vendored
Normal file
1
wp-includes/blocks/calendar/style.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wp-block-calendar{text-align:center}.wp-block-calendar td,.wp-block-calendar th{border:1px solid;padding:.25em}.wp-block-calendar th{font-weight:400}.wp-block-calendar caption{background-color:inherit}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table:where(:not(.has-text-color)){color:#40464d}.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{border-color:#ddd}.wp-block-calendar table.has-background th{background-color:inherit}.wp-block-calendar table.has-text-color th{color:inherit}:where(.wp-block-calendar table:not(.has-background) th){background:#ddd}
|
Reference in New Issue
Block a user