Fix elevation view styles
This commit is contained in:
@@ -15,7 +15,7 @@ text {
|
||||
}
|
||||
|
||||
use[href="#hex"] {
|
||||
opacity: 0.5;
|
||||
opacity: 0;
|
||||
fill: transparent;
|
||||
fill-opacity: 0.5;
|
||||
stroke-width: 0.5px;
|
||||
@@ -392,11 +392,7 @@ g[data-y="76"] { --i: 76; }
|
||||
/* fill: inherit; */
|
||||
}
|
||||
|
||||
.building path {
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.furniture {
|
||||
.furniture, .stairs {
|
||||
fill: rgb(104, 185, 181);
|
||||
}
|
||||
|
||||
|
||||
@@ -67,20 +67,6 @@ use[href="#hex"] {
|
||||
stroke-linecap: square;
|
||||
}
|
||||
|
||||
.view-elevation-roof .doors,
|
||||
.view-elevation-roof .inner-wall,
|
||||
.view-elevation-roof .outer-wall {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* [class^="elevation"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[class="elevation-0"] {
|
||||
display: inline;
|
||||
} */
|
||||
|
||||
.elevation-basement {
|
||||
fill: lightgray;
|
||||
display: none;
|
||||
@@ -157,7 +143,8 @@ use[href="#hex"] {
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure [class*="wall"],
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .floor,
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .doors:not(.exits),
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .door-edges:not(.exits) {
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .door-edges:not(.exits),
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .furniture {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@@ -171,7 +158,12 @@ use[href="#hex"] {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
[data-view-elevation="1"] .building .elevation-1 + .structure [class*='wall'] {
|
||||
[data-view-elevation="1"] .building .elevation-1 + .structure [class*='wall'],
|
||||
[data-view-elevation="1"] .building .elevation-1 + .structure .doors,
|
||||
[data-view-elevation="1"] .building .elevation-1 + .structure .door-edges,
|
||||
[data-view-elevation="1"] .building .elevation-1 + .structure .windows,
|
||||
[data-view-elevation="1"] .building .elevation-1 + .structure .furniture,
|
||||
[data-view-elevation="1"] .building .elevation-1 ~ .structure .exits {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -184,7 +176,12 @@ use[href="#hex"] {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
[data-view-elevation="2"] .building .elevation-2 + .structure [class*='wall'] {
|
||||
[data-view-elevation="2"] .building .elevation-2 + .structure [class*='wall'],
|
||||
[data-view-elevation="2"] .building .elevation-2 + .structure .doors,
|
||||
[data-view-elevation="2"] .building .elevation-2 + .structure .door-edges,
|
||||
[data-view-elevation="2"] .building .elevation-2 + .structure .windows,
|
||||
[data-view-elevation="2"] .building .elevation-2 + .structure .furniture,
|
||||
[data-view-elevation="2"] .building .elevation-2 ~ .structure .exits {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -197,7 +194,12 @@ use[href="#hex"] {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
[data-view-elevation="3"] .building .elevation-3 + .structure [class*='wall'] {
|
||||
[data-view-elevation="3"] .building .elevation-3 + .structure [class*='wall'],
|
||||
[data-view-elevation="3"] .building .elevation-3 + .structure .doors,
|
||||
[data-view-elevation="3"] .building .elevation-3 + .structure .door-edges,
|
||||
[data-view-elevation="3"] .building .elevation-3 + .structure .windows,
|
||||
[data-view-elevation="3"] .building .elevation-3 + .structure .furniture,
|
||||
[data-view-elevation="3"] .building .elevation-3 ~ .structure .exits {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -218,52 +220,11 @@ use[href="#hex"] {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.view-elevation-0 .elevation-0 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.view-elevation-1 .elevation-0 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.view-elevation-1 .elevation-1 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.view-elevation-1 .building .elevation-0 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.view-elevation-1 .building .elevation-1 {
|
||||
/* display: none; */
|
||||
}
|
||||
|
||||
.view-elevation-roof .elevation-roof {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.view-elevation-basement [class^="elevation"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.view-elevation-basement .elevation-basement {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.view-elevation-basement .doors {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.building [class*="elevation"] use {
|
||||
/* fill-opacity: 0.33; */
|
||||
stroke: black;
|
||||
}
|
||||
|
||||
.building {
|
||||
/* display: none; */
|
||||
/* opacity: 0.2 */
|
||||
}
|
||||
|
||||
#tree .trunk {
|
||||
fill: brown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user