vault/ui/app/styles/core/box.scss
Vault Automation 8346f0638c
UI: update aws generate credential form inputs to rely on credentialType (#10045) (#10351)
* update aws generate credential form inputs to rely on credentialType

* update tests

* show credential type + style updates

* Update ui/app/components/generate-credentials.ts



* update test, naming and help text

* add changelog

* rename changelog

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-27 11:41:57 -05:00

40 lines
820 B
SCSS

@use '../utils/box-shadow_variables';
@use '../utils/size_variables';
/**
* Copyright IBM Corp. 2016, 2025
* SPDX-License-Identifier: BUSL-1.1
*/
.box {
background-color: hsl(0, 0%, 100%);
border-radius: 0;
box-shadow: 0 0 0 1px rgba(var(--token-color-palette-neutral-500), 0.3);
color: var(--token-color-foreground-primary);
display: block;
padding: size_variables.$spacing-18;
&:not(:last-child) {
margin-bottom: 1.5rem;
}
&.is-fullwidth {
padding-left: 0;
padding-right: 0;
}
&.has-slim-padding {
padding: 9px 0;
}
&.no-top-shadow {
box-shadow: inset 0 -1px 0 0 rgba(hsl(0, 0%, 4%), 0.1);
}
&.has-container {
box-shadow: 0 4px 4px rgba(hsl(0, 0%, 4%), 0.25);
border: box-shadow_variables.$base-border;
padding: size_variables.$spacing-24;
}
}