Fix configurable pane title and caption selectors
This commit is contained in:
@@ -2,13 +2,19 @@
|
||||
* Legacy D7 view output compatibility tweaks for configurable views pane blocks.
|
||||
*/
|
||||
|
||||
/* Hide oversized legacy pretty-table caption headings such as "General". */
|
||||
/* Hide legacy table captions such as "General" from grouped pretty-table output. */
|
||||
.configurable-views-pane-block .views-table > caption {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Keep compatibility with legacy markup where the heading is nested in caption. */
|
||||
.configurable-views-pane-block caption > h2.left {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Match Page Manager block titles to legacy large left-aligned heading style. */
|
||||
.block:has(.configurable-views-pane-block) > h2.block__title {
|
||||
/* Match pane titles to the larger legacy left-aligned heading style. */
|
||||
.configurable-views-pane-block > h2.block__title,
|
||||
.block:has(> .configurable-views-pane-block) > h2.block__title {
|
||||
font-size: var(--cvp-legacy-title-size, 2rem) !important;
|
||||
font-weight: var(--cvp-legacy-title-weight, 700) !important;
|
||||
line-height: var(--cvp-legacy-title-line-height, 1.2) !important;
|
||||
|
||||
Reference in New Issue
Block a user