add left/right panel to visualization page
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
width: 100%;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: solid 1px black;
|
||||
background-color: #eee;
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
.right{
|
||||
|
||||
@@ -2,4 +2,9 @@
|
||||
|
||||
</style>
|
||||
|
||||
visualization-page works!
|
||||
<div id="visualization">
|
||||
<div id="filters">
|
||||
filters
|
||||
</div>
|
||||
<div id="results"></div>
|
||||
</div>
|
||||
@@ -1,16 +1,39 @@
|
||||
:host{
|
||||
font-weight: bold;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: calc(100% - 29px);
|
||||
position: absolute;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
* {
|
||||
background-color: #aaa;
|
||||
#visualization {
|
||||
display: grid;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
grid:
|
||||
"filters results" 1fr
|
||||
/ minmax(200px, 1fr) 3fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
|
||||
#visualization {
|
||||
display: grid;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
grid:
|
||||
"filters" auto
|
||||
"results" 1fr
|
||||
/ 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
#filters {
|
||||
grid-area: filters;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
#results {
|
||||
grid-area: results;
|
||||
}
|
||||
Reference in New Issue
Block a user