lbry-desktop/ui/scss/component/_table.scss

90 lines
1.3 KiB
SCSS
Raw Normal View History

2019-11-22 22:13:00 +01:00
.table__header {
display: flex;
justify-content: space-between;
border-bottom: 1px solid var(--color-border);
2019-06-17 22:32:38 +02:00
2019-11-22 22:13:00 +01:00
.section__subtitle {
margin-bottom: 0;
2019-06-17 22:32:38 +02:00
}
2019-02-13 17:27:20 +01:00
}
2018-09-07 07:24:54 +02:00
2019-11-22 22:13:00 +01:00
.table__header-text {
width: 100%;
margin: var(--spacing-medium) var(--spacing-large);
2019-06-11 21:35:43 +02:00
}
2019-11-22 22:13:00 +01:00
.table__header-text--between {
@extend .table__header-text;
display: flex;
justify-content: space-between;
2019-06-11 21:35:43 +02:00
}
.table--help {
td:nth-of-type(1) {
min-width: 130px;
}
td:nth-of-type(2) {
2019-02-13 17:27:20 +01:00
@include constrict(20vw);
}
}
.table--transactions {
2019-06-17 22:32:38 +02:00
td:nth-of-type(3) {
// Only add ellipsis to the links in the table
// We still want to show the entire message if a TX includes one
a,
button {
@include constrict(10rem);
vertical-align: bottom;
display: inline-block;
}
}
2017-10-03 19:27:52 +02:00
}
.table--rewards {
td:nth-of-type(1) {
width: 40%;
}
td:nth-of-type(2) {
width: 17.5%;
}
td:nth-of-type(3) {
width: 17.5%;
}
td:nth-of-type(4) {
width: 25%;
}
}
2019-02-04 18:45:30 +01:00
.table--invites {
svg {
margin-bottom: -2px;
2019-06-11 20:10:58 +02:00
margin-left: var(--spacing-small);
2019-02-04 18:45:30 +01:00
}
}
2019-11-22 22:13:00 +01:00
.table--file-details {
td:nth-of-type(1) {
width: 30%;
}
td:nth-of-type(2) {
width: 70%;
}
}
2019-12-09 18:25:13 +01:00
.table__item--actionable {
vertical-align: middle;
white-space: nowrap;
.button {
height: 1.5rem;
padding: var(--spacing-s);
margin-left: var(--spacing-m);
}
}