2019-04-03 01:19:46 +08:00
|
|
|
.flex-row {
|
2020-03-09 05:11:46 +08:00
|
|
|
&:not([hidden]) { display: flex; }
|
2019-04-03 01:19:46 +08:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-column {
|
2020-03-09 05:11:46 +08:00
|
|
|
&:not([hidden]) { display: flex; }
|
2019-04-03 01:19:46 +08:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2020-03-10 17:07:30 +08:00
|
|
|
.no-wrap {
|
2019-04-03 01:19:46 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2020-03-10 17:07:30 +08:00
|
|
|
/*
|
2019-04-03 01:19:46 +08:00
|
|
|
.multiline {
|
|
|
|
.flex-row;
|
|
|
|
|
|
|
|
h2 { font-weight: normal; }
|
|
|
|
}
|
2020-03-10 17:07:30 +08:00
|
|
|
*/
|
2020-03-09 21:26:39 +08:00
|
|
|
|
|
|
|
.selectable {
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
border-left-color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
2020-03-10 17:07:30 +08:00
|
|
|
|
|
|
|
.item {
|
|
|
|
.flex-row;
|
|
|
|
.selectable;
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
&:nth-child(odd) {
|
|
|
|
background-color: var(--bg-alt);
|
|
|
|
}
|
|
|
|
}
|