mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-02-12 15:58:40 +00:00
improve sorting/filtering colors for tables
This commit is contained in:
parent
912b81b297
commit
02e5073811
|
|
@ -183,7 +183,6 @@ textarea, .textarea {
|
||||||
label.radio, label.checkbox {
|
label.radio, label.checkbox {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 5px;
|
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
|
|
|
||||||
14
styles.css
14
styles.css
|
|
@ -3753,7 +3753,6 @@ textarea, .textarea {
|
||||||
label.radio, label.checkbox {
|
label.radio, label.checkbox {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 5px;
|
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-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 {
|
table .order-up, table .order-down {
|
||||||
cursor: pointer; }
|
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 {
|
table .sort-asc, table .sort-desc, table .filter {
|
||||||
padding: 0 5px 0 5px;
|
padding: 0 5px 0 5px;
|
||||||
cursor: pointer; }
|
cursor: pointer; }
|
||||||
|
|
@ -4521,7 +4531,7 @@ table.default {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-x: auto; }
|
overflow-x: auto; }
|
||||||
table.default :not(.tag) > .fa {
|
table.default tbody :not(.tag) > .fa {
|
||||||
color: var(--button-colored-background); }
|
color: var(--button-colored-background); }
|
||||||
table.default caption {
|
table.default caption {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
|
|
|
||||||
20
table.scss
20
table.scss
|
|
@ -12,6 +12,20 @@ table .order-up, table .order-down {
|
||||||
cursor: pointer;
|
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 {
|
table .sort-asc, table .sort-desc, table .filter {
|
||||||
padding: 0 5px 0 5px;
|
padding: 0 5px 0 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
@ -33,8 +47,10 @@ table.default {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|
||||||
:not(.tag) > .fa {
|
tbody {
|
||||||
color: var(--button-colored-background);
|
:not(.tag) > .fa {
|
||||||
|
color: var(--button-colored-background);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
caption {
|
caption {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user