Files
threshold-ui/addons/rose/addon/styles/hds/overrides.scss
T
Devon AndersonandRandall Morey a05d07919a refactor: 💡 removed whitespace from layout in add-members view (#1673)
* refactor: 💡 removed whitespace from layout in add-members view

Removed whitespace from layout in `add-members` view by replacing
`Rose::Table` with `Hds::Table`.

✅ Closes: ICU-5986

* refactor: 💡 refactor table

Added custom styling to remove margin bottom from radio card field. That
is causing 1st column to not be valign center.

✅ Closes: ICU-5986

* refactor: 💡 refactor stylings to override.scss

Moved Hds custom syles to `overrides.scss`

✅ Closes: ICU-5986

* Update addons/rose/addon/styles/hds/overrides.scss

Co-authored-by: Randall Morey <randall@randallmorey.com>

* Update addons/rose/addon/styles/hds/overrides.scss

Co-authored-by: Randall Morey <randall@randallmorey.com>

* refactor: 💡 refactored app.scss for admin

Removed custom css for `.key-value-list` selector that is now being
served in `overrides.scss` globally.

* refactor: 💡 patched overrides

Ported Hds overrides from other repository.

---------

Co-authored-by: Randall Morey <randall@randallmorey.com>
2023-04-26 13:38:00 -04:00

34 lines
639 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
// field bottom margin (HDS leaves this to implementers)
[class^='hds-form-field'],
[class^='hds-form-group'] {
margin-bottom: 1.5rem;
}
/* stylelint-disable selector-class-pattern */
.hds-form-group__control-fields-wrapper {
.hds-form-group__legend ~ & {
.hds-form-label {
font-weight: var(--token-typography-font-weight-semibold);
}
}
}
.hds-table {
border-collapse: revert;
[class^='hds-form-field'],
[class^='hds-form-group'] {
margin-bottom: 0;
}
}
.hds-dropdown {
.hds-dropdown-toggle-icon {
color: inherit;
}
}