lbry-desktop/ui/scss/component/_item-list.scss

44 lines
782 B
SCSS
Raw Normal View History

2018-10-04 06:11:08 +02:00
.item-list {
background-color: $lbry-white;
2019-06-11 20:10:58 +02:00
margin-bottom: var(--spacing-large);
padding: var(--spacing-large);
2019-06-29 00:21:21 +02:00
[data-mode='dark'] & {
background-color: rgba($lbry-white, 0.1);
}
2019-04-01 01:04:01 +02:00
.card__actions {
2019-06-11 20:10:58 +02:00
margin-top: var(--spacing-medium);
margin-left: var(--spacing-small);
2019-04-01 01:04:01 +02:00
}
2018-10-04 06:11:08 +02:00
}
2019-04-01 01:04:01 +02:00
.item-list__row {
2018-10-04 06:11:08 +02:00
align-items: center;
2018-10-17 19:14:24 +02:00
display: flex;
2019-06-11 20:10:58 +02:00
padding: var(--spacing-small);
2018-10-04 06:11:08 +02:00
2019-02-13 17:27:20 +01:00
fieldset-section {
margin-bottom: 0;
}
2018-10-04 06:11:08 +02:00
}
2019-04-01 01:04:01 +02:00
.item-list__element {
2018-10-17 19:14:24 +02:00
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2019-04-01 01:04:01 +02:00
&:not(:first-of-type) {
2019-06-11 20:10:58 +02:00
padding-left: var(--spacing-small);
2019-04-01 01:04:01 +02:00
}
2018-10-17 19:14:24 +02:00
}
2019-04-01 01:04:01 +02:00
.item-list__row:hover,
.item-list__row--selected {
background-color: rgba($lbry-black, 0.1);
2019-01-08 07:45:20 +01:00
2019-06-29 00:21:21 +02:00
[data-mode='dark'] & {
2019-01-08 07:45:20 +01:00
background-color: rgba($lbry-black, 0.5);
}
2018-10-04 06:11:08 +02:00
}