Clean up grid-area css classes.

This commit is contained in:
David Maitland
2020-11-16 23:32:28 +00:00
parent 260c3893d0
commit 487bea9b5a
+78 -50
View File
@@ -3,11 +3,13 @@
/* ---------------- encum section --------------*/
.sheet-experience-banner { grid-area: experience-banner; font-family: 'Bangers'; font-size: 16px; justify-self: center;}
.sheet-experience-unused-label { grid-area: experience-unused-label; }
.sheet-experience-total-label { grid-area: experience-total-label; }
.sheet-experience-unused { grid-area: experience-unused; }
.sheet-experience-total { grid-area: experience-total; }
.sheet-experience-banner {
grid-area: experience-banner;
font-family: 'Bangers';
font-size: 16px;
justify-self: center;
}
/* ---------------- encum section --------------*/
@@ -24,14 +26,19 @@
margin-left: 6px;
}
.sheet-encum-banner { grid-area: encum-banner; }
.sheet-encum-head { grid-area: encum-head; }
.sheet-encum.sheet-max-label { grid-area: encum-max-label; background: #FFFFFF; border: 2px solid #000000; font-size: 12px;}
.sheet-encum.sheet-current-label { grid-area: encum-current-label; background: #FFFFFF; border: 2px solid #000000; font-size: 12px;}
.sheet-encum.sheet-exceeded-label { grid-area: encum-exceeded-label; background: #FFFFFF; border: 2px solid #000000; font-size: 12px;}
.sheet-encum.sheet-max { grid-area: encum-max; background: #FFFFFF; border: 2px solid #000000;}
.sheet-encum.sheet-current { grid-area: encum-current; background: #FFFFFF; border: 2px solid #000000;}
.sheet-encum.sheet-exceeded { grid-area: encum-exceeded; background: #FFFFFF; border: 2px solid #000000; padding: 5px;}
.sheet-encum {
background: #FFFFFF;
border: 2px solid #000000;
}
.sheet-encum.sheet-subheading {
font-size: 12px;
}
.sheet-encum.sheet-exceeded {
grid-area: encum-exceeded;
padding: 5px;
}
/* ---------------- build section --------------*/
@@ -62,35 +69,18 @@
border: 2px solid #000000;
}
.sheet-build-banner { grid-area: build-banner; }
.sheet-build-table .sheet-head.sheet-desc { grid-area: head-desc; background: #000000 !important;}
.sheet-build-table .sheet-crafting.sheet-desc { grid-area: crafting-desc; }
.sheet-build-table .sheet-mechanics.sheet-desc { grid-area: mechanics-desc; }
.sheet-build-table .sheet-science.sheet-desc { grid-area: science-desc; }
.sheet-build-table .sheet-medicine.sheet-desc { grid-area: medicine-desc; }
.sheet-build-table .sheet-head.sheet-build-prof { grid-area: head-prof; }
.sheet-build-table .sheet-crafting.sheet-build-prof { grid-area: crafting-prof; }
.sheet-build-table .sheet-mechanics.sheet-build-prof { grid-area: mechanics-prof; }
.sheet-build-table .sheet-science.sheet-build-prof { grid-area: science-prof; }
.sheet-build-table .sheet-medicine.sheet-build-prof { grid-area: medicine-prof; }
.sheet-build-table .sheet-head.sheet-build-threshold { grid-area: head-thresh; width: 55px !important;
justify-self: center;
z-index: 1;}
.sheet-build-table .sheet-crafting.sheet-build-threshold { grid-area: crafting-thresh; }
.sheet-build-table .sheet-mechanics.sheet-build-threshold { grid-area: mechanics-thresh; }
.sheet-build-table .sheet-science.sheet-build-threshold { grid-area: science-thresh; }
.sheet-build-table .sheet-medicine.sheet-build-threshold { grid-area: medicine-thresh; }
.sheet-build-table .sheet-head.sheet-build-threshold-h { grid-area: head-thresh-h; }
.sheet-build-table .sheet-crafting.sheet-build-threshold-h { grid-area: crafting-thresh-h; }
.sheet-build-table .sheet-mechanics.sheet-build-threshold-h { grid-area: mechanics-thresh-h; }
.sheet-build-table .sheet-science.sheet-build-threshold-h { grid-area: science-thresh-h; }
.sheet-build-table .sheet-medicine.sheet-build-threshold-h { grid-area: medicine-thresh-h; }
.sheet-build-table .sheet-head.sheet-build-threshold-q { grid-area: head-thresh-q; }
.sheet-build-table .sheet-crafting.sheet-build-threshold-q { grid-area: crafting-thresh-q; }
.sheet-build-table .sheet-mechanics.sheet-build-threshold-q { grid-area: mechanics-thresh-q; }
.sheet-build-table .sheet-science.sheet-build-threshold-q { grid-area: science-thresh-q; }
.sheet-build-table .sheet-medicine.sheet-build-threshold-q { grid-area: medicine-thresh-q; }
.sheet-build-table .sheet-head.sheet-desc {
grid-area: head-desc;
background: #000000 !important;
}
.sheet-build-table .sheet-head.sheet-build-threshold {
grid-area: head-thresh;
width: 55px !important;
justify-self: center;
z-index: 1;
}
/* ---------------- hunger section --------------*/
@@ -122,15 +112,6 @@
font-size: 24px;
}
.sheet-hunger-banner { grid-area: hunger-banner; }
.sheet-hunger-desc-left.sheet-starving { grid-area: hunger-desc-starving-left; }
.sheet-hunger-desc-right.sheet-starving { grid-area: hunger-desc-starving-right; }
.sheet-hunger-desc-left.sheet-emaciated { grid-area: hunger-desc-emaciated-left; }
.sheet-hunger-desc-right.sheet-emaciated { grid-area: hunger-desc-emaciated-right; }
.sheet-hunger-desc-left.sheet-dead { grid-area: hunger-desc-dead-left; }
.sheet-hunger-desc-right.sheet-dead { grid-area: hunger-desc-dead-right; }
.sheet-hunger-input { grid-area: hunger-input; }
/* ---------------- infection section --------------*/
.sheet-infection-table {
@@ -1571,3 +1552,50 @@ input[type=number].sheet-table-cell {
.sheet-transformdie-no { grid-area: transformdie-no; }
.sheet-transformdie-desc { grid-area: transformdie-desc; }
.sheet-transformdie-status { grid-area: transformdie-status; }
.sheet-hunger-banner { grid-area: hunger-banner; }
.sheet-hunger-desc-left.sheet-starving { grid-area: hunger-desc-starving-left; }
.sheet-hunger-desc-right.sheet-starving { grid-area: hunger-desc-starving-right; }
.sheet-hunger-desc-left.sheet-emaciated { grid-area: hunger-desc-emaciated-left; }
.sheet-hunger-desc-right.sheet-emaciated { grid-area: hunger-desc-emaciated-right; }
.sheet-hunger-desc-left.sheet-dead { grid-area: hunger-desc-dead-left; }
.sheet-hunger-desc-right.sheet-dead { grid-area: hunger-desc-dead-right; }
.sheet-hunger-input { grid-area: hunger-input; }
.sheet-build-banner { grid-area: build-banner; }
.sheet-build-table .sheet-crafting.sheet-desc { grid-area: crafting-desc; }
.sheet-build-table .sheet-mechanics.sheet-desc { grid-area: mechanics-desc; }
.sheet-build-table .sheet-science.sheet-desc { grid-area: science-desc; }
.sheet-build-table .sheet-medicine.sheet-desc { grid-area: medicine-desc; }
.sheet-build-table .sheet-head.sheet-build-prof { grid-area: head-prof; }
.sheet-build-table .sheet-crafting.sheet-build-prof { grid-area: crafting-prof; }
.sheet-build-table .sheet-mechanics.sheet-build-prof { grid-area: mechanics-prof; }
.sheet-build-table .sheet-science.sheet-build-prof { grid-area: science-prof; }
.sheet-build-table .sheet-medicine.sheet-build-prof { grid-area: medicine-prof; }
.sheet-build-table .sheet-crafting.sheet-build-threshold { grid-area: crafting-thresh; }
.sheet-build-table .sheet-mechanics.sheet-build-threshold { grid-area: mechanics-thresh; }
.sheet-build-table .sheet-science.sheet-build-threshold { grid-area: science-thresh; }
.sheet-build-table .sheet-medicine.sheet-build-threshold { grid-area: medicine-thresh; }
.sheet-build-table .sheet-head.sheet-build-threshold-h { grid-area: head-thresh-h; }
.sheet-build-table .sheet-crafting.sheet-build-threshold-h { grid-area: crafting-thresh-h; }
.sheet-build-table .sheet-mechanics.sheet-build-threshold-h { grid-area: mechanics-thresh-h; }
.sheet-build-table .sheet-science.sheet-build-threshold-h { grid-area: science-thresh-h; }
.sheet-build-table .sheet-medicine.sheet-build-threshold-h { grid-area: medicine-thresh-h; }
.sheet-build-table .sheet-head.sheet-build-threshold-q { grid-area: head-thresh-q; }
.sheet-build-table .sheet-crafting.sheet-build-threshold-q { grid-area: crafting-thresh-q; }
.sheet-build-table .sheet-mechanics.sheet-build-threshold-q { grid-area: mechanics-thresh-q; }
.sheet-build-table .sheet-science.sheet-build-threshold-q { grid-area: science-thresh-q; }
.sheet-build-table .sheet-medicine.sheet-build-threshold-q { grid-area: medicine-thresh-q; }
.sheet-encum-banner { grid-area: encum-banner; }
.sheet-encum-head { grid-area: encum-head; }
.sheet-encum.sheet-max-label { grid-area: encum-max-label; }
.sheet-encum.sheet-current-label { grid-area: encum-current-label; }
.sheet-encum.sheet-exceeded-label { grid-area: encum-exceeded-label; }
.sheet-encum.sheet-max { grid-area: encum-max; }
.sheet-encum.sheet-current { grid-area: encum-current; }
.sheet-experience-unused-label { grid-area: experience-unused-label; }
.sheet-experience-total-label { grid-area: experience-total-label; }
.sheet-experience-unused { grid-area: experience-unused; }
.sheet-experience-total { grid-area: experience-total; }