hm
This commit is contained in:
parent
7455d630fc
commit
4d3fc2cd47
84 changed files with 3429 additions and 3480 deletions
112
css/panel.css
112
css/panel.css
|
|
@ -99,6 +99,7 @@ body::before {
|
|||
box-shadow: 0 3px 8px rgba(64,48,32,0.045);
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.family-node.child {
|
||||
border-color: rgba(103, 178, 44, 0.38);
|
||||
|
|
@ -182,40 +183,6 @@ body::before {
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.family-personality-tags {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
grid-auto-rows: minmax(13px, auto);
|
||||
align-items: stretch;
|
||||
gap: 2px 4px;
|
||||
margin-top: 2px;
|
||||
max-width: 84px;
|
||||
width: 84px;
|
||||
max-height: 34px;
|
||||
overflow: hidden !important;
|
||||
text-overflow: clip !important;
|
||||
white-space: normal !important;
|
||||
}
|
||||
.family-personality-tags em {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
padding: 1px 3px;
|
||||
border-radius: 999px;
|
||||
background: rgba(103,178,44,0.11);
|
||||
border: 1px solid rgba(103,178,44,0.20);
|
||||
color: rgba(64,72,48,0.86);
|
||||
font-size: 8.2px;
|
||||
font-style: normal;
|
||||
line-height: 1.18;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
.tool[data-tip] { position: relative; }
|
||||
|
||||
|
||||
|
|
@ -353,23 +320,6 @@ body::before {
|
|||
border-radius: 9px;
|
||||
background: rgba(255,255,255,0.70);
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy {
|
||||
max-width: calc(100% - 46px);
|
||||
width: auto;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy strong,
|
||||
.lineage-family-tree .tree-node .family-copy > span:not(.family-genetic-stats):not(.family-fight-stat):not(.family-personality-tags) {
|
||||
max-width: 100%;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-personality-tags {
|
||||
max-width: 84px;
|
||||
width: 84px;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-personality-tags em {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.lineage-main-content {
|
||||
height: 70vh;
|
||||
|
|
@ -421,21 +371,22 @@ body::before {
|
|||
}
|
||||
|
||||
|
||||
/* v9: keep 2x2 personality tags inside fixed family-tree nodes. */
|
||||
.lineage-family-tree .tree-node .family-personality-tags,
|
||||
/* Family tree personality tags: consolidated final cascade. */
|
||||
.family-personality-tags {
|
||||
box-sizing: border-box !important;
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
grid-auto-rows: 13px !important;
|
||||
gap: 2px 3px !important;
|
||||
width: 86px !important;
|
||||
max-width: 86px !important;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
height: 28px !important;
|
||||
max-height: 28px !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
justify-self: stretch !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-personality-tags em,
|
||||
.family-personality-tags em {
|
||||
box-sizing: border-box !important;
|
||||
display: block !important;
|
||||
|
|
@ -449,54 +400,23 @@ body::before {
|
|||
white-space: nowrap !important;
|
||||
line-height: 11px !important;
|
||||
font-size: 7.2px !important;
|
||||
font-style: normal;
|
||||
letter-spacing: -0.08em !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
/* v39.15.85: push family-tree personality tags to the node's right edge. */
|
||||
.lineage-family-tree .tree-node .family-personality-tags,
|
||||
.family-personality-tags {
|
||||
margin-left: auto !important;
|
||||
margin-right: 0 !important;
|
||||
justify-self: end !important;
|
||||
border-radius: 999px;
|
||||
background: rgba(103,178,44,0.11);
|
||||
border: 1px solid rgba(103,178,44,0.20);
|
||||
color: rgba(64,72,48,0.86);
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy strong,
|
||||
.lineage-family-tree .tree-node .family-copy > span:not(.family-personality-tags) {
|
||||
max-width: calc(100% - 46px) !important;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy > .family-personality-tags {
|
||||
max-width: 86px !important;
|
||||
width: 86px !important;
|
||||
}
|
||||
|
||||
/* v39.15.87: let family personality tags use the full node width. */
|
||||
.lineage-family-tree .tree-node .family-copy > .family-personality-tags,
|
||||
.lineage-family-tree .tree-node .family-personality-tags,
|
||||
.family-personality-tags {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
justify-self: stretch !important;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy strong,
|
||||
.lineage-family-tree .tree-node .family-copy > span:not(.family-personality-tags) {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
|
||||
/* v39.15.92: keep personality tags inside the family-tree node bottom edge. */
|
||||
.lineage-family-tree .tree-node {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy {
|
||||
position: static !important;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy strong,
|
||||
.lineage-family-tree .tree-node .family-copy > span:not(.family-personality-tags) {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
.lineage-family-tree .tree-node .family-copy > .family-personality-tags {
|
||||
position: absolute !important;
|
||||
left: 7px !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue