Add legacy caption/title compatibility styling for configurable pane
This commit is contained in:
19
css/configurable_views_pane.block.css
Normal file
19
css/configurable_views_pane.block.css
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Legacy D7 view output compatibility tweaks for configurable views pane blocks.
|
||||
*/
|
||||
|
||||
/* Hide oversized legacy pretty-table caption headings such as "General". */
|
||||
.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 {
|
||||
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;
|
||||
text-align: left;
|
||||
margin: 0 0 0.5rem;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
}
|
||||
Reference in New Issue
Block a user