1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

add styling for mardown tables

This commit is contained in:
Steve-Mcl 2021-10-04 23:02:23 +01:00
parent 5503f53af2
commit f0b03b4ada

View File

@ -233,7 +233,32 @@ div.red-ui-info-table {
}
}
}
table {
border-collapse: collapse;
margin : 8px 0 8px 0;
min-width : 300px;
box-shadow : 0 0 2px rgb(0 0 0 / 15%);
overflow : hidden;
border-radius : 4px;
}
table thead tr {
background-color: var(--red-ui-primary-text-color); //$primary-text-color;
color: var(--red-ui-primary-background); //$primary-background
text-align: left;
}
table th,
table td {
padding: 6px 8px;
}
table tbody tr {
border-bottom: 1px solid var(--red-ui-tertiary-background); //$tertiary-background
}
table tbody tr:nth-of-type(even) {
background-color: var(--red-ui-primary-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 {
height: 100%;