Skip to content

Commit

Permalink
Merge pull request #281 from yalesites-org/patch-fix-d10p3
Browse files Browse the repository at this point in the history
v1.10.0: Multiple fixes
  • Loading branch information
dblanken-yale authored Nov 12, 2024
2 parents fdfed94 + 5ee7cf3 commit 1987aa4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
8 changes: 8 additions & 0 deletions css/admin-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
29 changes: 29 additions & 0 deletions css/layout-builder.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 1987aa4

Please sign in to comment.