mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-08 06:23:18 +00:00
* fix button padding * rename spacing variables using numerical values * fix toggle aligment * remove unused toggle classes * replace margin and padding with spacing vars * increase base font size * remove switch css, use toggle consistently * remaining margin/padding size vars to spacing pixels * add deprecated note, rever changes to size vars * decrease console size * remove function * adjust card size for small selectable cards * fix select to fit to content width * fix toolbar-scroller height * add changelog; * fix checkbox styling
41 lines
664 B
SCSS
41 lines
664 B
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
.box {
|
|
background-color: $white;
|
|
border-radius: 0;
|
|
box-shadow: 0 0 0 1px rgba($grey-dark, 0.3);
|
|
color: $ui-gray-900;
|
|
display: block;
|
|
padding: $spacing-18;
|
|
|
|
&:not(:last-child) {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
&.is-fullwidth {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
&.no-padding-top {
|
|
padding-top: 0;
|
|
}
|
|
|
|
&.has-slim-padding {
|
|
padding: 9px 0;
|
|
}
|
|
|
|
&.no-top-shadow {
|
|
box-shadow: inset 0 -1px 0 0 rgba($black, 0.1);
|
|
}
|
|
|
|
&.has-container {
|
|
box-shadow: 0 4px 4px rgba($black, 0.25);
|
|
border: $base-border;
|
|
padding: $spacing-24;
|
|
}
|
|
}
|