vault/ui/app/styles/components/selectable-card.scss
claire bontempo 7f03393630
UI: Increase base font size (#23994)
* 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
2023-11-13 21:29:39 +00:00

24 lines
367 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
.selectable-card {
&:hover:not(.disabled),
&:focus,
&:focus-visible {
cursor: pointer;
box-shadow: var(--token-focus-ring-action-box-shadow);
}
&.disabled {
cursor: not-allowed;
opacity: 0.5;
}
&.small-card {
width: 6.5rem;
min-height: 8rem;
}
}