style: tables
This commit is contained in:
parent
fa7a39502a
commit
548125f9aa
2 changed files with 15 additions and 7 deletions
|
@ -12,18 +12,16 @@ table {
|
||||||
|
|
||||||
& thead {
|
& thead {
|
||||||
background-color: #808080;
|
background-color: #808080;
|
||||||
|
border: 1px solid $dark;
|
||||||
color: $light;
|
color: $light;
|
||||||
z-index: 1;
|
|
||||||
position: sticky;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
inset-block-start: 0;
|
inset-block-start: 0;
|
||||||
max-block-size: 1.8em;
|
max-block-size: 1.8em;
|
||||||
|
|
||||||
& th {
|
& th {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: start;
|
text-align: center;
|
||||||
padding: 1em;
|
padding: 0.3em 0.25em 0 0.25em;
|
||||||
font-size: 1.4em;
|
|
||||||
border: 1px solid $dark;
|
border: 1px solid $dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,7 +29,7 @@ table {
|
||||||
& tbody {
|
& tbody {
|
||||||
& tr {
|
& tr {
|
||||||
&:nth-child(2n) {
|
&:nth-child(2n) {
|
||||||
background-color: #DDDDD0;
|
background-color: #ddddd0;
|
||||||
}
|
}
|
||||||
|
|
||||||
& td {
|
& td {
|
||||||
|
@ -39,6 +37,5 @@ table {
|
||||||
border: 1px solid $dark;
|
border: 1px solid $dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,18 @@
|
||||||
.organisations-table {
|
.organisations-table {
|
||||||
inline-size: 80% !important;
|
inline-size: 80% !important;
|
||||||
|
& thead {
|
||||||
|
position: sticky;
|
||||||
|
|
||||||
|
& th {
|
||||||
|
padding: 1em;
|
||||||
|
text-align: start;
|
||||||
|
font-size: 1.4em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&__items-icon {
|
&__items-icon {
|
||||||
|
padding: 1em;
|
||||||
|
font-size: 1.4em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
float: inline-start;
|
float: inline-start;
|
||||||
padding-inline-end: 1em;
|
padding-inline-end: 1em;
|
||||||
|
|
Loading…
Add table
Reference in a new issue