diff --git a/css/admin-theme.css b/css/admin-theme.css index 2a4c8da60..333e6a788 100644 --- a/css/admin-theme.css +++ b/css/admin-theme.css @@ -128,6 +128,14 @@ html.gin--dark-mode form.layout-builder-configure-block.glb-form { color: var(--gin-bg-layer3); } +/* Dark mode was not passing contrast */ +.gin--dark-mode + .linkit-ui-autocomplete.ui-menu + .linkit-result-line-wrapper.ui-state-active { + color: var(--gin-color-primary); + background-color: var(--gin-bg-layer3); +} + /* // Offcanvas toolbar styles */ diff --git a/css/layout-builder.css b/css/layout-builder.css index 16a24743b..89b275e86 100644 --- a/css/layout-builder.css +++ b/css/layout-builder.css @@ -295,3 +295,32 @@ div[data-drupal-selector="edit-block-form"] { margin-top: auto; } +/* Layout containers now have a margin due to stable9 */ +.layout-container { + margin: 0; +} + +/* On layout builder browser search, hide entries that are actually empty */ +.layout-builder-browser-block-item:has(a[style*="display: none"]) { + display: none; +} + +/* For some reason text-within on tables in dark mode go wrong */ +.gin--dark-mode tr:hover, +.gin--dark-mode tr:focus-within { + color: var(--gin-color-text); + background: var(--gin-bg-secondary); +} + +/** + * The header for some reason was allowing the z-index of the table cells to + * show above it. + */ +th.field-label { + z-index: 105; +} + +/* A gradient was displaying on certain states. This removes it. */ +.has-multiple-fields-remove-button .js .paragraphs-collapsed-description:after { + display: none; +}