Twenty Eleven: Improve text color consistency of Table Block heading cells and figcaption.
This changeset ensures the text color selected for the text of the Table Block is reflected on the `thead` cells, on the figcaption and on the border below it. It also adds better consistency in headings cells padding. Props umesh84, mukesh27, multidots1896, sabernhardt. Fixes #56462. Built from https://develop.svn.wordpress.org/trunk@54340 git-svn-id: http://core.svn.wordpress.org/trunk@53899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7a15b3353a
commit
377db68158
|
@ -219,6 +219,14 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .wp-block-table th {
|
||||||
|
padding: 6px 0 6px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-block-table .has-text-color th {
|
||||||
|
color: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-table td {
|
.wp-block-table td {
|
||||||
border: 0;
|
border: 0;
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid #ddd;
|
||||||
|
|
|
@ -162,12 +162,14 @@ Description: Used to style blocks in the editor.
|
||||||
|
|
||||||
/* Captions */
|
/* Captions */
|
||||||
|
|
||||||
[class^="wp-block-"] figcaption {
|
[class^="wp-block-"] figcaption,
|
||||||
|
[class*=" wp-block-"] figcaption {
|
||||||
font-family: Georgia, serif;
|
font-family: Georgia, serif;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
[class^="wp-block-"]:not(.wp-block-gallery) figcaption,
|
||||||
|
[class*=" wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||||
color: #666;
|
color: #666;
|
||||||
margin-bottom: 1.625em;
|
margin-bottom: 1.625em;
|
||||||
max-width: 96%;
|
max-width: 96%;
|
||||||
|
@ -177,7 +179,8 @@ Description: Used to style blocks in the editor.
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
[class^="wp-block-"]:not(.wp-block-gallery) figcaption:before,
|
||||||
|
[class*=" wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||||
color: #666;
|
color: #666;
|
||||||
content: '\2014';
|
content: '\2014';
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
@ -189,13 +192,15 @@ Description: Used to style blocks in the editor.
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption,
|
||||||
|
.rtl [class*=" wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before,
|
||||||
|
.rtl [class*=" wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||||
left: 0;
|
left: 0;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
@ -355,9 +360,18 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
|
|
||||||
/* Table */
|
/* Table */
|
||||||
|
|
||||||
.editor-block-list__block .wp-block-table th,
|
.editor-styles-wrapper .wp-block-table th,
|
||||||
.editor-block-list__block .wp-block-table td {
|
.editor-styles-wrapper .wp-block-table td {
|
||||||
padding: 0;
|
padding: 6px 10px 6px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rtl .editor-styles-wrapper .wp-block-table th,
|
||||||
|
.rtl .editor-styles-wrapper .wp-block-table td {
|
||||||
|
padding: 6px 0 6px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-block-table .has-text-color th {
|
||||||
|
color: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-table__cell-content {
|
.wp-block-table__cell-content {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.1-beta2-54339';
|
$wp_version = '6.1-beta2-54340';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue