2018-12-19 06:44:53 +01:00
|
|
|
.table {
|
2016-08-08 06:47:48 +02:00
|
|
|
max-width: 100%;
|
2018-03-26 23:32:43 +02:00
|
|
|
text-align: left;
|
2018-10-17 19:14:24 +02:00
|
|
|
word-wrap: break-word;
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
th,
|
|
|
|
td {
|
|
|
|
&:first-of-type {
|
|
|
|
padding-left: var(--spacing-vertical-medium);
|
2018-10-17 00:29:55 +02:00
|
|
|
}
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2016-08-08 06:47:48 +02:00
|
|
|
th {
|
2018-12-19 06:44:53 +01:00
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: 700;
|
|
|
|
padding-top: var(--spacing-vertical-small);
|
|
|
|
padding-bottom: var(--spacing-vertical-small);
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2016-08-08 06:47:48 +02:00
|
|
|
td {
|
2018-10-17 00:29:55 +02:00
|
|
|
color: $lbry-gray-5;
|
2018-10-17 21:42:05 +02:00
|
|
|
font-weight: 500;
|
2018-12-19 06:44:53 +01:00
|
|
|
padding-top: var(--spacing-vertical-small);
|
|
|
|
padding-bottom: var(--spacing-vertical-small);
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
html[data-theme='dark'] & {
|
|
|
|
color: inherit;
|
2017-08-18 05:31:44 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
&:not(:first-of-type) {
|
|
|
|
padding-right: var(--spacing-vertical-medium);
|
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.btn:not(.btn--link) {
|
|
|
|
display: inline;
|
|
|
|
}
|
2019-01-14 22:21:37 +01:00
|
|
|
|
|
|
|
&.table__item--actionable {
|
|
|
|
span + .btn {
|
|
|
|
margin-left: var(--spacing-vertical-small);
|
|
|
|
}
|
|
|
|
.btn svg {
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
}
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-09-07 07:24:54 +02:00
|
|
|
thead {
|
2018-10-17 21:42:05 +02:00
|
|
|
border-bottom: 1px solid rgba($lbry-gray-1, 0.7);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
html[data-theme='dark'] & {
|
|
|
|
border-color: rgba($lbry-gray-5, 0.3);
|
|
|
|
}
|
2018-09-07 07:24:54 +02:00
|
|
|
}
|
|
|
|
|
2016-08-08 06:47:48 +02:00
|
|
|
tbody {
|
2018-12-19 06:44:53 +01:00
|
|
|
border: 1px solid $lbry-gray-1;
|
|
|
|
|
|
|
|
html[data-theme='dark'] & {
|
|
|
|
border-color: rgba($lbry-gray-5, 0.3);
|
|
|
|
}
|
|
|
|
|
2016-08-08 06:47:48 +02:00
|
|
|
tr {
|
2018-12-19 06:44:53 +01:00
|
|
|
padding-top: var(--spacing-vertical-small);
|
|
|
|
padding-bottom: var(--spacing-vertical-small);
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
border-bottom: 1px solid $lbry-gray-1;
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
html[data-theme='dark'] & {
|
|
|
|
border-color: rgba($lbry-gray-5, 0.3);
|
|
|
|
}
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-10-19 22:16:39 +02:00
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: rgba($lbry-gray-1, 0.3);
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
html[data-theme='dark'] & {
|
|
|
|
background-color: rgba($lbry-white, 0.1);
|
|
|
|
}
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-27 16:12:56 +02:00
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.table--help {
|
|
|
|
td:nth-of-type(1) {
|
|
|
|
font-weight: 600;
|
|
|
|
min-width: 130px;
|
|
|
|
}
|
2017-09-18 02:52:57 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
td:nth-of-type(2) {
|
|
|
|
@include constrict;
|
2018-06-26 17:21:30 +02:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.table--stretch {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.table--transactions {
|
|
|
|
td:nth-of-type(1) {
|
2019-01-14 19:40:06 +01:00
|
|
|
// TX amounts
|
2018-12-19 06:44:53 +01:00
|
|
|
width: 25%;
|
2019-01-14 22:21:37 +01:00
|
|
|
font-size: 0.9em;
|
2019-01-14 19:40:06 +01:00
|
|
|
font-weight: 600;
|
2017-12-21 18:32:51 +01:00
|
|
|
}
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
td:nth-of-type(2) {
|
|
|
|
width: 20%;
|
|
|
|
}
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
td:nth-of-type(3) {
|
|
|
|
width: 22.5%;
|
|
|
|
}
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
td:nth-of-type(4) {
|
|
|
|
width: 17.5%;
|
|
|
|
}
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
td:nth-of-type(5) {
|
|
|
|
width: 15%;
|
|
|
|
}
|
2017-10-03 19:27:52 +02:00
|
|
|
}
|