mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Tweak table styles
This commit is contained in:
parent
2b12834d53
commit
94d5ba4550
@ -235,29 +235,23 @@ div.red-ui-info-table {
|
|||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
border: 1px solid var(--red-ui-secondary-border-color);
|
||||||
margin : 8px 0 8px 0;
|
margin : 8px 0 8px 0;
|
||||||
min-width : 300px;
|
min-width : 300px;
|
||||||
box-shadow : 0 0 2px rgb(0 0 0 / 15%);
|
|
||||||
overflow : hidden;
|
overflow : hidden;
|
||||||
border-radius : 4px;
|
|
||||||
}
|
}
|
||||||
table thead tr {
|
table thead tr {
|
||||||
background-color: var(--red-ui-primary-text-color); //$primary-text-color;
|
background-color: var(--red-ui-primary-background); //$primary-text-color;
|
||||||
color: var(--red-ui-primary-background); //$primary-background
|
border-bottom: 1px solid var(--red-ui-secondary-border-color);
|
||||||
|
color: var(--red-ui-header-text-color);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
table th,
|
table th,
|
||||||
table td {
|
table td {
|
||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
}
|
}
|
||||||
table tbody tr {
|
|
||||||
border-bottom: 1px solid var(--red-ui-tertiary-background); //$tertiary-background
|
|
||||||
}
|
|
||||||
table tbody tr:nth-of-type(even) {
|
table tbody tr:nth-of-type(even) {
|
||||||
background-color: var(--red-ui-primary-background); //$primary-background;
|
background-color: var(--red-ui-tertiary-background); //$primary-background;
|
||||||
}
|
|
||||||
table tbody tr:last-of-type {
|
|
||||||
border-bottom: 2px solid var(--red-ui-primary-text-color); //$primary-text-color;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.red-ui-sidebar-info-stack {
|
.red-ui-sidebar-info-stack {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user