mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* 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>
76 lines
1.3 KiB
SCSS
76 lines
1.3 KiB
SCSS
.PageLayout {
|
|
$spacing: $padding * 2;
|
|
--width: 60%;
|
|
--max-width: 1000px;
|
|
--min-width: 570px;
|
|
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: grid !important;
|
|
grid-template-rows: min-content 1fr;
|
|
|
|
// covers whole app view area
|
|
&.top {
|
|
position: fixed !important; // allow to cover ClustersMenu
|
|
z-index: 1;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: $mainBackground;
|
|
|
|
// adds extra space for traffic-light top buttons (mac only)
|
|
.is-mac & > .header {
|
|
padding-top: $spacing * 2;
|
|
}
|
|
}
|
|
|
|
> .header {
|
|
position: sticky;
|
|
padding: $spacing;
|
|
background-color: $layoutTabsBackground;
|
|
}
|
|
|
|
> .content-wrapper {
|
|
overflow: auto;
|
|
padding: $spacing * 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
> .content {
|
|
flex: 1;
|
|
margin: 0 auto;
|
|
width: var(--width);
|
|
min-width: var(--min-width);
|
|
max-width: var(--max-width);
|
|
}
|
|
}
|
|
|
|
h2:not(:first-of-type) {
|
|
margin-top: $spacing;
|
|
}
|
|
|
|
p {
|
|
line-height: 140%;
|
|
}
|
|
|
|
a {
|
|
color: $colorInfo;
|
|
}
|
|
|
|
.SubTitle {
|
|
text-transform: none;
|
|
margin-bottom: 0 !important;
|
|
|
|
+ * + .hint {
|
|
margin-top: -$padding / 2;
|
|
}
|
|
}
|
|
|
|
.Select {
|
|
&__control {
|
|
box-shadow: 0 0 0 1px $borderFaintColor;
|
|
}
|
|
}
|
|
} |