0
1
Fork 0
hedera-web-mindshore/js/htk/list/style.scss

65 lines
906 B
SCSS
Raw Normal View History

2022-06-06 08:53:59 +00:00
@import "../style/classes";
.htk-list {
a.item,
.item.clickable {
@extend %clickable;
}
.item {
padding: 20px;
border-bottom: 1px solid #DDD;
display: flex;
align-items: center;
& > .side {
flex: none;
}
& > .content {
flex: 1;
overflow: hidden;
& > .important {
font-weight: bold;
font-size: 1rem;
margin-bottom: .5em;
}
& > p {
margin: .1em 0;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
& > .actions {
flex: none;
display: none;
align-items: center;
& > .htk-button {
margin: 0;
}
& > * {
display: inline-block;
vertical-align: middle;
}
& > input {
margin: .6em;
}
}
2022-06-06 12:49:18 +00:00
&:hover > .actions {
display: flex;
}
&:last-child {
border-bottom: none;
}
2022-06-06 08:53:59 +00:00
}
2022-10-04 08:17:43 +00:00
/* Mobile */
@media (max-width: 960px) {
.item > .actions {
display: initial;
}
}
2022-06-06 08:53:59 +00:00
}