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

74 lines
925 B
SCSS
Raw Normal View History

2019-02-13 17:27:20 +01:00
@import '~@lbry/components/sass/table/_index.scss';
2018-03-26 23:32:43 +02:00
2019-03-21 16:22:23 +01:00
table,
2019-02-13 17:27:20 +01:00
.table {
[data-mode='dark'] & {
background-color: transparent;
2019-02-13 17:27:20 +01:00
th {
border-bottom: 2px solid $lbry-white;
}
2018-09-07 07:24:54 +02:00
}
2019-02-13 17:27:20 +01:00
}
2018-09-07 07:24:54 +02:00
2019-06-11 21:35:43 +02:00
td {
max-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
tr {
padding: 0 var(--spacing-small);
}
2019-02-13 17:27:20 +01:00
.table__item--actionable {
.button svg {
top: 3px;
2016-08-08 06:47:48 +02:00
}
}
2019-06-11 21:35:43 +02:00
.table__item-label {
font-size: 0.9em;
font-weight: 300;
}
.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-05-13 08:05:38 +02:00
table-layout: fixed;
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
}
}