mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-01 03:51:08 +02:00
* 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
24 lines
365 B
SCSS
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;
|
|
}
|
|
}
|