1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 21:24:18 +00:00
5e-drs/docs/.vuepress/theme/styles/_tables.scss

101 lines
1.4 KiB
SCSS
Raw Normal View History

2020-04-05 14:38:20 +02:00
.table-container {
max-width: 100%;
overflow-x: auto;
}
2020-04-01 19:34:06 +02:00
.v-data-table {
&.width-auto {
table {
width: auto;
}
}
2020-04-05 14:38:20 +02:00
.v-data-table__mobile-row {
min-height: 32px;
&:first-child {
background-color: $color-table-header-bg;
color: #fff;
}
}
}
.v-data-table-header-mobile {
th {
background-color: #fff;
2020-04-05 14:38:20 +02:00
}
}
table {
margin-bottom: 2rem;
border-collapse: collapse;
a {
text-decoration: none;
}
2020-04-22 15:18:29 +02:00
thead {
font-family: 'Spectral SC', serif;
}
2020-04-05 14:38:20 +02:00
tr {
}
th, td {
padding: 6px 12px;
border-bottom: none !important;
}
2020-04-16 18:08:21 +02:00
}
2020-04-05 14:38:20 +02:00
2020-04-16 18:08:21 +02:00
.theme--light {
2020-04-05 14:38:20 +02:00
thead {
background-color: $color-table-header-bg;
color: #fff;
tr {
th {
color: #fff !important;
i {
color: #fff !important;
}
}
}
}
tbody {
tr {
&:nth-of-type(even) {
background-color: $color-light-gray;
}
&:nth-of-type(odd):hover {
background-color: inherit !important;
}
td {
}
}
}
2020-04-01 19:34:06 +02:00
}
2020-04-16 18:08:21 +02:00
.theme--dark {
thead {
background-color: darken($color-gray, 10);
}
tbody {
tr {
&:nth-of-type(even) {
background-color: darken($color-gray, 10);
}
&:nth-of-type(odd):hover {
background-color: inherit !important;
}
td {
}
}
}
}
.group-header {
background-color: $color-dragon;
color: #fff;
}