Put grid cells above buildings
This commit is contained in:
@@ -68,78 +68,37 @@ use[href="#hex"] {
|
||||
stroke-linecap: square;
|
||||
}
|
||||
|
||||
.elevation-basement {
|
||||
fill: lightgray;
|
||||
.building [class*="elevation"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.elevation-0 use[href="#hex"] {
|
||||
/* fill: green; */
|
||||
}
|
||||
|
||||
.elevation-1,
|
||||
.elevation-2 {
|
||||
[data-view-elevation="-1"] .building .elevation-basement {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.elevation-1 use[href="#hex"] {
|
||||
fill: lightblue;
|
||||
[data-view-elevation="0"] .building .elevation-0 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.elevation-2 use[href="#hex"] {
|
||||
fill: lightpink;
|
||||
[data-view-elevation="1"] .building .elevation-1 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.building .elevation-1 {
|
||||
fill: lightblue;
|
||||
[data-view-elevation="2"] .building .elevation-2 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.elevation-roof {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.building .elevation-basement use {
|
||||
fill: lightgray;
|
||||
}
|
||||
|
||||
.building .elevation-0 use {
|
||||
fill: white;
|
||||
}
|
||||
|
||||
.building .elevation-1 use {
|
||||
fill: lightblue;
|
||||
}
|
||||
|
||||
.building .elevation-2 use {
|
||||
fill: lightgreen;
|
||||
}
|
||||
|
||||
.building .elevation-3 use {
|
||||
fill: lightpink;
|
||||
}
|
||||
|
||||
.view-elevation-roof .floor {
|
||||
fill: darkgray;
|
||||
}
|
||||
|
||||
.building .elevation-1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.building > * {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-view-elevation="-1"] [class^="elevation"] {
|
||||
display: none;
|
||||
[data-view-elevation="3"] .building .elevation-3 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/*
|
||||
[data-view-elevation="-1"] .building > *,
|
||||
[data-view-elevation="-1"] .building > .structure > * {
|
||||
display: none;
|
||||
}
|
||||
} */
|
||||
|
||||
[data-view-elevation="-1"] .building > .elevation-basement,
|
||||
/* [data-view-elevation="-1"] .building > .elevation-basement,
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure,
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure [class*="wall"],
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .floor,
|
||||
@@ -147,9 +106,9 @@ use[href="#hex"] {
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .door-edges:not(.exits),
|
||||
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .furniture {
|
||||
display: inline;
|
||||
}
|
||||
} */
|
||||
|
||||
[data-view-elevation="0"] .building .elevation-0,
|
||||
/* [data-view-elevation="0"] .building .elevation-0,
|
||||
[data-view-elevation="0"] .building .elevation-0 ~ .structure {
|
||||
display: inline;
|
||||
}
|
||||
@@ -219,12 +178,7 @@ use[href="#hex"] {
|
||||
|
||||
[data-view-elevation="1"] .building .elevation-1 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.building [class*="elevation"] use {
|
||||
/* fill-opacity: 0.33; */
|
||||
stroke: black;
|
||||
}
|
||||
} */
|
||||
|
||||
#tree .trunk {
|
||||
fill: brown;
|
||||
|
||||
Reference in New Issue
Block a user