improve sorting/filtering colors for tables

This commit is contained in:
Dennis Eichhorn 2021-03-07 21:36:50 +01:00
parent 912b81b297
commit 02e5073811
3 changed files with 30 additions and 5 deletions

View File

@ -183,7 +183,6 @@ textarea, .textarea {
label.radio, label.checkbox {
display: flex;
align-items: center;
margin-bottom: 5px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;

View File

@ -3753,7 +3753,6 @@ textarea, .textarea {
label.radio, label.checkbox {
display: flex;
align-items: center;
margin-bottom: 5px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
@ -4460,6 +4459,17 @@ table:not([id]) > thead .sort-asc, table:not([id]) > thead .sort-desc {
table .order-up, table .order-down {
cursor: pointer; }
table thead input[type=radio] {
padding: 0;
margin: 0;
display: none; }
table thead i.fa {
color: #888; }
table input[type=radio]:checked + i {
color: var(--button-colored-background); }
table .sort-asc, table .sort-desc, table .filter {
padding: 0 5px 0 5px;
cursor: pointer; }
@ -4521,7 +4531,7 @@ table.default {
font-size: 0.9em;
box-sizing: border-box;
overflow-x: auto; }
table.default :not(.tag) > .fa {
table.default tbody :not(.tag) > .fa {
color: var(--button-colored-background); }
table.default caption {
font-size: 1.5rem;

View File

@ -12,6 +12,20 @@ table .order-up, table .order-down {
cursor: pointer;
}
table thead input[type=radio] {
padding: 0;
margin: 0;
display: none;
}
table thead i.fa {
color: #888;
}
table input[type=radio]:checked + i {
color: var(--button-colored-background);
}
table .sort-asc, table .sort-desc, table .filter {
padding: 0 5px 0 5px;
cursor: pointer;
@ -33,8 +47,10 @@ table.default {
box-sizing: border-box;
overflow-x: auto;
:not(.tag) > .fa {
color: var(--button-colored-background);
tbody {
:not(.tag) > .fa {
color: var(--button-colored-background);
}
}
caption {