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 {
|
||||
background-color: #808080;
|
||||
border: 1px solid $dark;
|
||||
color: $light;
|
||||
z-index: 1;
|
||||
position: sticky;
|
||||
vertical-align: middle;
|
||||
inset-block-start: 0;
|
||||
max-block-size: 1.8em;
|
||||
|
||||
& th {
|
||||
font-weight: bold;
|
||||
text-align: start;
|
||||
padding: 1em;
|
||||
font-size: 1.4em;
|
||||
text-align: center;
|
||||
padding: 0.3em 0.25em 0 0.25em;
|
||||
border: 1px solid $dark;
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +29,7 @@ table {
|
|||
& tbody {
|
||||
& tr {
|
||||
&:nth-child(2n) {
|
||||
background-color: #DDDDD0;
|
||||
background-color: #ddddd0;
|
||||
}
|
||||
|
||||
& td {
|
||||
|
@ -39,6 +37,5 @@ table {
|
|||
border: 1px solid $dark;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,18 @@
|
|||
.organisations-table {
|
||||
inline-size: 80% !important;
|
||||
& thead {
|
||||
position: sticky;
|
||||
|
||||
& th {
|
||||
padding: 1em;
|
||||
text-align: start;
|
||||
font-size: 1.4em;
|
||||
}
|
||||
}
|
||||
|
||||
&__items-icon {
|
||||
padding: 1em;
|
||||
font-size: 1.4em;
|
||||
text-align: center;
|
||||
float: inline-start;
|
||||
padding-inline-end: 1em;
|
||||
|
|
Loading…
Add table
Reference in a new issue