vault/ui/app/styles/components/selectable-card.scss
claire bontempo a5b60cd8cc
UI: move selectable card to add-on (#23739)
* remove title-number class and consolidate border radius

* move selectable card to core addon

* add top padding to db cards

* update transform icon color

* new selectable card component

* fix db test

* use selectable card in mount backend form

* fix query param for overview card

* update tests

* fix replication card styling

* make card accessible;

* update tabindex

* change to standalone for error handling

* update test selector

* update tests

* go back to number only css class

* fix on click tests

* add changelog

* update class name in template file

* delete box radio
2023-10-20 15:10:49 -07:00

24 lines
365 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: 7rem;
min-height: 8rem;
}
}