mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
Main container and scroll-bar styling
This commit is contained in:
@ -36,6 +36,37 @@ div {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/******************************* BROWSER ELEMENTS */
|
||||
body {
|
||||
::-webkit-scrollbar {
|
||||
box-sizing: border-box;
|
||||
box-shadow: inset $scrollbarTrackShdw;
|
||||
background-color: $scrollbarTrackColorBg;
|
||||
height: $scrollbarTrackSize;
|
||||
width: $scrollbarTrackSize;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
box-sizing: border-box;
|
||||
background: $scrollbarThumbColor;
|
||||
&:hover { background: $scrollbarThumbColorHov; }
|
||||
}
|
||||
|
||||
.overlay ::-webkit-scrollbar-thumb {
|
||||
background: $scrollbarThumbColorOverlay;
|
||||
&:hover { background: $scrollbarThumbColorOverlayHov; }
|
||||
}
|
||||
|
||||
.menu ::-webkit-scrollbar-thumb {
|
||||
background: $scrollbarThumbColorMenu;
|
||||
&:hover { background: $scrollbarThumbColorMenuHov; }
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-corner {
|
||||
background: $scrollbarTrackColorBg;
|
||||
}
|
||||
}
|
||||
|
||||
/************************** HTML ENTITIES */
|
||||
a {
|
||||
//color: $colorA;
|
||||
|
@ -17,8 +17,7 @@
|
||||
</div>
|
||||
</pane>
|
||||
<pane class="l-pane l-shell__pane-main">
|
||||
<div style="position: absolute; top: 0; bottom: 0; width: 100%" ref="mainContainer">
|
||||
</div>
|
||||
<div class="l-shell__main-container" ref="mainContainer"></div>
|
||||
</pane>
|
||||
<pane class="l-pane l-shell__pane-inspector"
|
||||
handle="before"
|
||||
@ -70,6 +69,14 @@
|
||||
flex-flow: row nowrap;
|
||||
}
|
||||
|
||||
&__main-container {
|
||||
// Wrapper for main views
|
||||
$m: $interiorMargin;
|
||||
overflow: auto;
|
||||
position: absolute;
|
||||
top: $m; right: $m; bottom: $m; left: $m;
|
||||
}
|
||||
|
||||
&__tree {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
|
Reference in New Issue
Block a user