open-vault/ui/app/styles/components/list-item-row.scss
Chelsea Shaw e3b5092c1f
Ui/transit key versions update (#8480)
* Update transit versions list styling and add ability to copy public key from dropdown menu for asymmetric key types

* Cursor is default if list item row has no destination
2020-03-05 12:14:06 -06:00

34 lines
732 B
SCSS

.list-item-row {
@extend .box;
@extend .is-sideless;
@extend .is-marginless;
padding-left: 0;
padding-right: 0;
.ember-basic-dropdown-trigger {
display: inline-block;
}
}
a.list-item-row,
.linked-block.list-item-row {
transition: box-shadow $speed, margin $speed, padding $speed;
will-change: box-shadow, margin, padding;
&:hover,
&:focus,
&:active {
margin-left: #{-$column-gap} !important;
margin-right: #{-$column-gap} !important;
padding-left: $column-gap;
padding-right: $column-gap;
position: relative;
box-shadow: 0 2px 0 -1px $grey-light, 0 -2px 0 -1px $grey-light, $box-link-hover-shadow,
$box-shadow-middle;
}
&.no-destination {
cursor: default;
}
}