mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
* replace Hds::Reveal with Hds::Accordion * adjust spacing to render in Hds::Form component * fix spacing in policy-example * cleanup form-section class usage * implement visual builder in create policy form * hide visual editor in search select modal * use general selectors, alphabetize form/field selectors * update test coverage to check for visual policy editor * reorganzie tests by module * add saving functionality for visual editor * refactor event handling methods * refactor component so parent manages stanzas * move snippets to automation-snippets tab component * polish up policy diff modal * refactor arg to be isCompact * update test coverage and export new component * rearrange methods to make diff easier * small cleanup, abc vars and remove unneeded change * add lanuage and update test coverage * update comment * fix form hierarchy * fix modal spacing; Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
23 lines
417 B
SCSS
23 lines
417 B
SCSS
/**
|
|
* Copyright IBM Corp. 2016, 2025
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
.form-section {
|
|
padding: 1.75rem 0;
|
|
box-shadow: 0 -1px 0 0 rgba(hsl(0, 0%, 4%), 0.1);
|
|
}
|
|
|
|
.field:first-child .form-section {
|
|
padding: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
// renders below secret data input to display kv v2 diff when editing
|
|
.visual-diff {
|
|
background-color: black;
|
|
|
|
pre {
|
|
color: var(--token-color-surface-faint);
|
|
}
|
|
}
|