aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-31 12:03:19 -0400
committerbobzel <zzzman@gmail.com>2020-08-31 12:03:19 -0400
commit33a6f17c7fcc0549c4e0e8cfaae7d0c0b11ced76 (patch)
treec014ba12e835d6b963bd8b1b7797d2853f1d7d3f /src/client/views/MainView.scss
parent1bddc876f4c998e070ce37fa368dc650a7695120 (diff)
major overhaul of mainView
Diffstat (limited to 'src/client/views/MainView.scss')
-rw-r--r--src/client/views/MainView.scss55
1 files changed, 30 insertions, 25 deletions
diff --git a/src/client/views/MainView.scss b/src/client/views/MainView.scss
index 6cec5995c..43264d2e0 100644
--- a/src/client/views/MainView.scss
+++ b/src/client/views/MainView.scss
@@ -1,6 +1,7 @@
@import "globalCssVariables";
@import "nodeModuleOverrides";
+
.dash-tooltip {
font-size: 11px;
padding: 2px;
@@ -14,11 +15,15 @@
margin-top: 10px;
}
+.mainContent-div-flyout,
.mainContent-div {
position: relative;
width: 100%;
height: 100%;
}
+.mainContent-div-flyout {
+ left: calc(-1 * var(--flyoutHandleWidth));
+}
// add nodes menu. Note that the + button is actually an input label, not an actual button.
.mainView-docButtons {
@@ -116,7 +121,10 @@
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
border-right: unset;
- z-index: 2;
+ z-index: 1;
+ display: flex;
+ align-items: center;
+ padding: 4px;
.mainView-propertiesDragger-icon {
width: 10px;
@@ -158,16 +166,26 @@
background: lightgrey;
}
}
+ .propertiesView {
+ right: 0;
+ position: absolute;
+ z-index: 2;
+ }
}
.mainView-menuPanel {
-
- width: 60px;
+ min-width: var(--menuPanelWidth);
background-color: #121721;
height: calc(100% - $searchpanel-height);
//overflow-y: scroll;
//overflow-x: hidden;
+ .collectionStackingView {
+ scrollbar-width: none;
+ }
+ ::-webkit-scrollbar {
+ width:0;
+ }
.mainView-menuPanel-button {
padding: 7px;
@@ -274,7 +292,7 @@
.mainView-libraryFlyout {
height: 100%;
width: 100%;
- position: absolute;
+ position: relative;
display: flex;
flex-direction: column;
z-index: 2;
@@ -296,39 +314,26 @@
}
}
.mainView-libraryFlyout-out {
- transition: width .5s;
+ transition: width .25s;
box-shadow: rgb(156, 147, 150) 0.2vw 0.2vw 0.2vw;
}
-.mainView-expandFlyoutButton {
- position: absolute;
- top: 120px;
- right: 55px;
- cursor: pointer;
-}
.mainView-libraryHandle {
- width: 28px;
- left: calc(100% - 10px);
+ width: var(--flyoutHandleWidth);
height: 55px;
top: 50%;
+ left: -10px;
border: 1px solid black;
border-radius: 8px;
- position: absolute;
- z-index: 2;
+ position: relative;
+ z-index: 1;
touch-action: none;
background-color: lightgrey;
cursor: grab;
-
- .mainView-libraryDragger {
- width: 100%;
- position: absolute;
- }
- .mainView-libraryDragger-out {
- width: 3vw;
- position: fixed;
- top: 0;
- }
+ display: flex;
+ align-items: center;
+ padding: 12px;
.mainView-libraryHandle-icon {
width: 10px;