X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fdevtools%2Flayout.css;h=a2f898733983edc05a9a63b0e9905cdf5791ec71;hp=2428aae94475aaff3f061fd46130158364644b22;hb=8cbd10f23d017d95a5f0c193375aa23b14da0d16;hpb=1ad21b1f6b999bccea1c6d768ebbd4bc900479d0 diff --git a/LCARStrek/devtools/layout.css b/LCARStrek/devtools/layout.css index 2428aae9..a2f89873 100644 --- a/LCARStrek/devtools/layout.css +++ b/LCARStrek/devtools/layout.css @@ -58,10 +58,18 @@ } } +#layout-geometry-editor { + visibility: hidden; +} + +#layout-geometry-editor::before { + background: url(images/geometry-editor.svg) no-repeat center center / 16px 16px; +} + /* Main: contains the box-model regions */ #layout-main { - position: absolute; + position: relative; box-sizing: border-box; /* The regions are semi-transparent, so the white background is partly visible */ @@ -252,23 +260,13 @@ cursor: default; } -/* Hide all values when the view is inactive */ +/* Layout info: contains the position and size of the element */ -#layout-container.inactive > #layout-header > #layout-element-position, -#layout-container.inactive > #layout-header > #layout-element-size, -#layout-container.inactive > #layout-main > p { - visibility: hidden; +#layout-element-size { + flex: 1; } #layout-position-group { display: flex; align-items: center; } - -#layout-geometry-editor { - visibility: hidden; -} - -#layout-geometry-editor::before { - background: url(images/geometry-editor.svg) no-repeat center center / 16px 16px; -}