2020-01-21 06:35:58 +00:00
|
|
|
@import "vars";
|
|
|
|
|
|
|
|
.table {
|
|
|
|
border-spacing: 0;
|
|
|
|
width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
background: rgba(0, 0, 0, 0.01);
|
|
|
|
|
|
|
|
&.striped tr:nth-child(even) {
|
|
|
|
background: #f7f7f7;
|
|
|
|
}
|
|
|
|
|
2023-02-08 05:14:48 +00:00
|
|
|
&.striped tr:nth-child(odd) {
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
2024-05-03 00:13:19 +00:00
|
|
|
&.no-border {
|
|
|
|
td, th {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-21 06:35:58 +00:00
|
|
|
td:first-child {
|
|
|
|
border-color: $border_gray;
|
|
|
|
border-width: 1px 1px 0 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:last-child td {
|
|
|
|
border-color: $border_gray;
|
2024-05-03 00:18:47 +00:00
|
|
|
border-bottom-width: 1px;
|
2020-01-21 06:35:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
thead th {
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: $table_header_rounding;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-top-right-radius: $table_header_rounding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
height: 2em;
|
2020-03-19 22:51:56 +00:00
|
|
|
color: white;
|
2020-01-21 06:35:58 +00:00
|
|
|
background-color: $widget_black;
|
2020-03-16 07:56:55 +00:00
|
|
|
border-color: #cccccc;
|
2020-01-21 06:35:58 +00:00
|
|
|
border-width: 1px 1px 0 0;
|
|
|
|
border-style: solid;
|
|
|
|
padding: 4px 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 1.1em;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: $table_header_rounding;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-top-right-radius: $table_header_rounding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
border-color: $border_gray;
|
|
|
|
border-width: 1px 1px 0 0;
|
|
|
|
border-style: solid;
|
|
|
|
padding: 7px 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Monkey-patches for awkward table rounding
|
|
|
|
tr:not(:first-child) th {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:last-child th {
|
|
|
|
border-bottom-left-radius: $table_header_rounding;
|
|
|
|
}
|
|
|
|
|
|
|
|
thead tr th {
|
|
|
|
border-bottom-left-radius: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2020-12-30 02:29:50 +00:00
|
|
|
|
|
|
|
#users-table th a {
|
|
|
|
color: white;
|
2023-03-03 00:43:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.feed-table {
|
|
|
|
td, td:first-child, tr:last-child td, tr:last-child td:first-child {
|
|
|
|
border-width: 1px 0 0 0;
|
|
|
|
}
|
2020-12-30 02:29:50 +00:00
|
|
|
}
|