File tree Expand file tree Collapse file tree 2 files changed +39
-7
lines changed Expand file tree Collapse file tree 2 files changed +39
-7
lines changed Original file line number Diff line number Diff line change 2323# map_container {
2424 flex-grow : 1 ;
2525 position : relative;
26+ background : black;
27+ border-radius : 0.5rem ;
28+ overflow : hidden;
2629}
2730
2831.regions {
@@ -201,7 +204,7 @@ body {
201204 position : absolute;
202205 & > * {
203206 fill : transparent;
204- stroke : # 790202 ;
207+ stroke : # ffffff ;
205208 stroke-width : 0.5 ;
206209 stroke-dasharray : 1 1 ;
207210 }
@@ -210,7 +213,7 @@ body {
210213# root {
211214 flex-grow : 1 ;
212215 display : grid;
213- grid-template-columns : 1fr 20 rem ;
216+ grid-template-columns : 1fr 18 rem ;
214217 grid-template-rows : auto auto 1fr ;
215218 & > .map {
216219 grid-column : 1 ;
@@ -225,7 +228,7 @@ body {
225228@media screen and (orientation : portrait) {
226229 # root : not (: has (# tab-regions : checked )) {
227230 grid-template-columns : 1fr ;
228- grid-template-rows : auto 1fr min ( 30 % , 10 rem ) auto;
231+ grid-template-rows : auto 1fr auto;
229232 & > .layers {
230233 grid-row : 4 ;
231234 flex-direction : row;
@@ -246,12 +249,33 @@ body {
246249 grid-row : 2 ;
247250 }
248251 & > .element {
249- border-top : 1 px solid gray ;
252+ display : none ;
250253 }
251254 & > .regions {
252255 display : none;
253256 }
254257 }
258+ # root : has (# tab-element : checked ) {
259+ grid-template-columns : 1fr ;
260+ grid-template-rows : auto 1fr ;
261+ & > .tabs {
262+ display : flex;
263+ grid-row : 1 ;
264+ }
265+ & > .layers {
266+ display : none;
267+ }
268+ & > .map {
269+ display : none;
270+ }
271+ & > .element {
272+ display : block;
273+ }
274+ & > .regions {
275+ display : none;
276+ }
277+ }
278+
255279 # root : has (# tab-regions : checked ) {
256280 grid-template-columns : 1fr ;
257281 grid-template-rows : auto 1fr ;
@@ -272,8 +296,11 @@ body {
272296 display : flex;
273297 }
274298 }
275- .element {
276- overflow-y : scroll;
299+ # map_container {
300+ margin-top : 1rem ;
301+ }
302+ .element > .title {
303+ display : none;
277304 }
278305 .regions > .title {
279306 display : none;
Original file line number Diff line number Diff line change 3333 < input id ='tab-map ' type ='radio ' name ='tab ' value ='map ' checked >
3434 < span > Map</ span >
3535 </ label >
36+ < label >
37+ < input id ='tab-element ' type ='radio ' name ='tab ' value ='selected '>
38+ < span > Selected</ span >
39+ </ label >
3640 < label >
3741 < input id ='tab-regions ' type ='radio ' name ='tab ' value ='regions '>
3842 < span > Regions</ span >
3943 </ label >
4044 </ form >
4145 < div class ='element '>
42- < span class ='title '> Seleted :</ span >
46+ < span class ='title '> Selected :</ span >
4347 < div id ="element ">
48+ < i > Nothning is selected</ i >
4449 </ div >
4550 </ div >
4651
You can’t perform that action at this time.
0 commit comments