update ItemSheets to ItemSheetV2

This commit is contained in:
Sven Balzer
2024-11-01 20:21:09 +01:00
parent 307307d271
commit 2f9410180c
5 changed files with 230 additions and 223 deletions
+48 -16
View File
@@ -1,3 +1,8 @@
.tabs > [data-tab] > * {
pointer-events: auto;
}
.row {
display: flex;
flex-direction: row;
@@ -27,7 +32,6 @@
.center {
text-align: center;
justify-content: center;
justify-self: center;
align-content: center;
}
@@ -35,6 +39,26 @@
display: none;
}
.grid2 {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid3 {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid4 {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid5 {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.subgrid {
display: grid;
grid-template-rows: subgrid;
@@ -187,32 +211,25 @@
}
.actor-sheet .tabs,
.item-sheet .tabs {
padding: 6px;
margin-top: 6px;
.DSA41 .tabs {
padding: .5rem;
margin-top: .5rem;
margin-bottom: .5rem;
border-top: 1px solid;
border-bottom: 1px solid;
}
.actor-sheet .tabs a,
.item-sheet .tabs a {
line-height: 18px;
.DSA41 .tabs > * {
align-items: center;
}
.actor-sheet .tabs a.active,
.item-sheet .tabs a.active {
.DSA41 .tabs .active {
text-decoration: underline;
}
.item-sheet .tabs input[type="checkbox"] {
width: 12px;
height: 12px;
}
}
.actor-sheet .kampf .ruestungen {
display: grid;
grid-template-columns: 2fr repeat(8, 1fr) repeat(2, 1.5fr);
}
.actor-sheet .kampf .ruestungen > * {
@@ -231,6 +248,21 @@
border: none;
}
.DSA41 .Bewaffnung .tab > * {
display: grid;
grid-template-columns: minmax(0, max-content) minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr);
align-items: center;
gap: 0.5rem;
}
.DSA41 .Ruestung {
display: grid;
grid-template-columns: minmax(0, max-content) minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr);
align-items: center;
gap: 0.5rem;
margin-top: 0.5rem;
}
#tooltip:has(> .dsa41-tooltip) {
/* background-color: #678ec3; */
}