mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
This reverts commit 4af8fbaa34.
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
60 lines
1.1 KiB
SCSS
60 lines
1.1 KiB
SCSS
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
.ClusterManager {
|
|
--hotbar-width: 75px;
|
|
|
|
display: grid;
|
|
grid-template-areas:
|
|
"topbar topbar"
|
|
"menu main"
|
|
"status-bar status-bar";
|
|
grid-template-rows: auto 1fr min-content;
|
|
grid-template-columns: min-content 1fr;
|
|
|
|
main {
|
|
grid-area: main;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.HotbarMenu {
|
|
grid-area: menu;
|
|
}
|
|
|
|
.error {
|
|
z-index: 1;
|
|
}
|
|
|
|
#lens-views {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
background-color: var(--mainBackground);
|
|
|
|
iframe {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex: 1;
|
|
|
|
// when updating font settings in the "Preferences -> Terminal" cluster's iframe
|
|
// must be accessible in DOM (e.g. elem.getBoundingClientRect() must work)
|
|
&.hidden {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
}
|
|
}
|