1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/layout/wizard-layout.scss
Alex Andreev 2da598b66e
Set scrollbar colors as global styles (#1484)
* Setting global webkit-scrollbar styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing usage of custom-scrollbar mixin

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Set overflow:auto on .Table

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing .drawer-content paddings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-25 10:25:37 +03:00

63 lines
949 B
SCSS

.WizardLayout {
$spacing: $padding * 2;
position: relative;
padding: $padding * 2;
width: 100%;
height: 100%;
display: grid;
grid-template-columns: 1fr 40%;
> * {
--flex-gap: #{$spacing};
overflow: auto;
padding: $spacing;
}
> .head-col {
position: sticky;
justify-content: space-between;
background-color: $clusterMenuBackground;
}
> .content-col {
margin-right: $spacing;
background-color: $contentColor;
border-radius: $radius;
> div {
flex: 1;
}
> .error {
border-radius: $radius;
padding: $padding;
background-color: pink;
}
}
> .info-col {
background-color: $contentColor;
}
p {
line-height: 140%;
}
a {
color: $colorInfo;
}
&.centered {
.content-col {
margin: 0;
> div {
margin: 0 auto;
width: 60%;
min-width: 570px;
max-width: 1000px;
}
}
}
}