Styling for new table section
Signed-off-by: Kouya Heika <kouyaheika@canithesis.org>
This commit is contained in:
@@ -62,6 +62,33 @@ table.alternating > tbody > tr:nth-of-type(even) {
|
|||||||
background: var(--table-alternate);
|
background: var(--table-alternate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.section {
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
padding: 0px;
|
||||||
|
margin: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.section > tbody > tr > th:first-child > div,
|
||||||
|
table.section > tbody > tr > th:last-child > div,
|
||||||
|
table.section > tbody > tr:first-child > td:first-child > div,
|
||||||
|
table.section > tbody > tr:first-child > td:last-child > div {
|
||||||
|
background: var(--secondary-container-background);
|
||||||
|
border: var(--secondary-container-border);
|
||||||
|
border-bottom: none;
|
||||||
|
padding: 8px;
|
||||||
|
position:relative;
|
||||||
|
top: 4px;
|
||||||
|
height: 100%;
|
||||||
|
font-family: var(--primary-font);
|
||||||
|
}
|
||||||
|
|
||||||
|
table.section > tbody > tr:not(:first-child) > td > div {
|
||||||
|
background: var(--secondary-container-background);
|
||||||
|
border: var(--secondary-container-border);
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (orientation: landscape) {
|
@media only screen and (orientation: landscape) {
|
||||||
:target::before {
|
:target::before {
|
||||||
content: "";
|
content: "";
|
||||||
@@ -1727,14 +1754,14 @@ body.group div.page-container div.group-section div.sidebar {
|
|||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
body.group div.page-container div.sidebar > .section {
|
body.group div.page-container div.sidebar > .section {
|
||||||
background-color: var(--tab-selected);
|
background-color: var(--tab-selected);
|
||||||
border: var(--tab-border);
|
border: var(--tab-border);
|
||||||
margin: 4px auto;
|
margin: 4px auto;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
body.group.create div.groupcard {
|
body.group.create div.groupcard {
|
||||||
display: flex;
|
display: flex;
|
||||||
background: var(--primary-container-background);
|
background: var(--primary-container-background);
|
||||||
|
|||||||
Reference in New Issue
Block a user