2018-05-07 07:13:30 +02:00
|
|
|
table.table,
|
|
|
|
.markdown-preview table {
|
2016-08-08 06:47:48 +02:00
|
|
|
word-wrap: break-word;
|
|
|
|
max-width: 100%;
|
2018-03-26 23:32:43 +02:00
|
|
|
text-align: left;
|
2018-09-02 02:05:28 +02:00
|
|
|
margin-top: $spacing-vertical * 2/3;
|
2018-03-26 23:32:43 +02:00
|
|
|
|
|
|
|
tr td:first-of-type,
|
|
|
|
tr th:first-of-type {
|
|
|
|
padding-left: $spacing-vertical * 2/3;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr td:last-of-type,
|
|
|
|
tr th:last-of-type {
|
|
|
|
padding-right: $spacing-vertical * 2/3;
|
|
|
|
}
|
|
|
|
|
2018-09-07 07:24:54 +02:00
|
|
|
tr th,
|
|
|
|
tr td {
|
2018-03-26 23:32:43 +02:00
|
|
|
font-size: 13px;
|
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-03-26 23:32:43 +02:00
|
|
|
font-family: 'metropolis-semibold';
|
2018-05-30 20:12:54 +02:00
|
|
|
border: 0;
|
2018-09-07 07:24:54 +02:00
|
|
|
padding: $spacing-vertical * 2/3 $spacing-vertical * 1/3;
|
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-03-26 23:32:43 +02:00
|
|
|
font-family: 'metropolis-medium';
|
2018-04-17 04:21:19 +02:00
|
|
|
color: var(--color-help);
|
2018-09-07 07:24:54 +02:00
|
|
|
padding: $spacing-vertical * 1/3 $spacing-vertical * 1/3;
|
2018-03-26 23:32:43 +02:00
|
|
|
|
|
|
|
.btn:not(.btn--link) {
|
|
|
|
display: inline;
|
|
|
|
margin-left: $spacing-vertical * 1/3;
|
2017-08-18 05:31:44 +02:00
|
|
|
}
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
|
|
|
.table__item-label {
|
|
|
|
font-size: 12px;
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
|
|
|
.table__item--actionable span + .btn {
|
|
|
|
padding-left: $spacing-vertical * 1/3;
|
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 {
|
|
|
|
color: var(--text-color);
|
|
|
|
border-bottom: var(--table-border);
|
|
|
|
}
|
|
|
|
|
2016-08-08 06:47:48 +02:00
|
|
|
tbody {
|
|
|
|
tr {
|
2018-04-17 04:21:19 +02:00
|
|
|
border-bottom: var(--table-item-border);
|
|
|
|
padding: 8px 0;
|
2018-08-30 07:11:05 +02:00
|
|
|
&:nth-child(even) {
|
2017-08-19 06:33:01 +02:00
|
|
|
background-color: var(--table-item-odd);
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
2018-08-30 07:11:05 +02:00
|
|
|
&:nth-child(odd) {
|
2017-08-19 21:04:45 +02:00
|
|
|
background-color: var(--table-item-even);
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
|
|
|
&.thead {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-27 16:12:56 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
table.table--stretch {
|
2016-08-27 16:12:56 +02:00
|
|
|
width: 100%;
|
2017-08-19 06:33:01 +02:00
|
|
|
}
|
2017-09-18 02:52:57 +02:00
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
table.table--help {
|
2017-12-21 18:32:51 +01:00
|
|
|
td:nth-of-type(1) {
|
2018-04-17 04:21:19 +02:00
|
|
|
color: var(--text-color);
|
2018-03-26 23:32:43 +02:00
|
|
|
font-family: 'metropolis-semibold';
|
|
|
|
min-width: 130px;
|
|
|
|
}
|
2018-07-02 18:40:42 +02:00
|
|
|
td:nth-of-type(2) {
|
|
|
|
/*Tourniquets text over 20VW*/
|
2018-06-26 17:21:30 +02:00
|
|
|
max-width: 20vw;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2018-06-27 13:22:14 +02:00
|
|
|
color: var(--color-help);
|
2018-06-26 17:21:30 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
table.table--transactions {
|
|
|
|
td:nth-of-type(1) {
|
2018-04-23 07:33:06 +02:00
|
|
|
width: 25%;
|
2017-12-21 18:32:51 +01:00
|
|
|
}
|
|
|
|
td:nth-of-type(2) {
|
2018-04-23 07:33:06 +02:00
|
|
|
width: 20%;
|
2017-12-21 18:32:51 +01:00
|
|
|
}
|
|
|
|
td:nth-of-type(3) {
|
2018-03-26 23:32:43 +02:00
|
|
|
width: 22.5%;
|
2017-12-21 18:32:51 +01:00
|
|
|
}
|
|
|
|
td:nth-of-type(4) {
|
2018-03-26 23:32:43 +02:00
|
|
|
width: 17.5%;
|
2017-12-21 18:32:51 +01:00
|
|
|
}
|
|
|
|
td:nth-of-type(5) {
|
|
|
|
width: 15%;
|
|
|
|
}
|
2017-10-03 19:27:52 +02:00
|
|
|
}
|
2018-08-30 07:11:05 +02:00
|
|
|
|
|
|
|
table.table--history {
|
2018-08-31 05:45:49 +02:00
|
|
|
margin-top: $spacing-vertical * 1/3;
|
|
|
|
|
2018-08-30 07:11:05 +02:00
|
|
|
tbody {
|
|
|
|
tr {
|
|
|
|
&:nth-child(even),
|
|
|
|
&:nth-child(odd) {
|
|
|
|
background-color: var(--table-item-even);
|
2018-08-31 05:45:49 +02:00
|
|
|
|
2018-08-30 07:11:05 +02:00
|
|
|
&.history__selected {
|
|
|
|
color: red;
|
|
|
|
background-color: var(--table-item-odd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-08-31 05:45:49 +02:00
|
|
|
|
|
|
|
td {
|
|
|
|
cursor: default;
|
|
|
|
padding: $spacing-vertical * 1/3 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:nth-of-type(1) {
|
|
|
|
width: 7.5%;
|
|
|
|
}
|
2018-08-30 07:11:05 +02:00
|
|
|
td:nth-of-type(2) {
|
2018-09-04 19:18:11 +02:00
|
|
|
width: 17.5%;
|
2018-08-31 05:45:49 +02:00
|
|
|
}
|
|
|
|
td:nth-of-type(3) {
|
2018-09-04 19:18:11 +02:00
|
|
|
width: 40%;
|
|
|
|
max-width: 30vw;
|
|
|
|
padding-right: $spacing-vertical * 2/3;
|
2018-08-31 05:45:49 +02:00
|
|
|
}
|
|
|
|
td:nth-of-type(4) {
|
2018-09-04 19:18:11 +02:00
|
|
|
width: 30%;
|
2018-08-31 05:45:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
td:nth-of-type(3),
|
|
|
|
td:nth-of-type(4) {
|
2018-08-30 07:11:05 +02:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|