style: new table design

This commit is contained in:
alexsparkes
2024-05-22 22:18:59 +01:00
parent 737219a76a
commit 3dd04b62b8

View File

@@ -84,16 +84,24 @@
table { table {
border-collapse: separate; border-collapse: separate;
border-radius: 10px;
@include themed {
border-radius: t($borderRadius);
margin-top: 20px; margin-top: 20px;
@include themed {
box-shadow: 0 0 0 1px t($modal-sidebarActive);
padding: 0;
border: 0;
outline: none;
}
tr:first-child { tr:first-child {
background: t($modal-sidebarActive); @include themed {
border-radius: t($borderRadius);
color: t($subColor);
}
letter-spacing: 2px;
th { th {
padding: 1rem; padding: 20px;
} }
} }
@@ -109,15 +117,20 @@ table {
} }
::placeholder { ::placeholder {
@include themed {
color: t($subColor); color: t($subColor);
} }
}
tr:not(:first-child) { tr:not(:first-child) {
background: t($modal-sidebar); @include themed {
background: t($modal-secondaryColour);
}
textarea { textarea {
width: 90%; width: 90%;
margin: 10px; margin: 10px;
@include themed {
color: t($color); color: t($color);
} }
} }