aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.scss
diff options
context:
space:
mode:
authorMohammad Amoush <47069173+mamoush34@users.noreply.github.com>2020-01-19 15:15:53 +0300
committerMohammad Amoush <47069173+mamoush34@users.noreply.github.com>2020-01-19 15:15:53 +0300
commit7683e1fbb53fe683c0d04e537d89fb53d768e852 (patch)
treed81eebcd5a129550a49fdfc852b8bb6220907a1a /src/client/views/MainView.scss
parentf4382d73eec75f7d7f4bfe6eae3fb1efa128a021 (diff)
parentaff9cc02750eb032ade98d77cf9ff45677063fc8 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into webcam_mohammad
Diffstat (limited to 'src/client/views/MainView.scss')
-rw-r--r--src/client/views/MainView.scss48
1 files changed, 32 insertions, 16 deletions
diff --git a/src/client/views/MainView.scss b/src/client/views/MainView.scss
index 21b135c49..4c8c95529 100644
--- a/src/client/views/MainView.scss
+++ b/src/client/views/MainView.scss
@@ -4,39 +4,50 @@
.mainView-tabButtons {
position: relative;
+ width: 100%;
+}
+
+.mainContent-div {
+ position: relative;
width:100%;
+ height:100%;
}
+
// add nodes menu. Note that the + button is actually an input label, not an actual button.
.mainView-docButtons {
position: absolute;
bottom: 20px;
- left: 250px;
+ left: calc(100% + 5px);
+ z-index: 1;
}
-.mainView-container {
+#mainView-container {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
- overflow: auto;
z-index: 1;
}
+
.mainView-mainContent {
- width:100%;
- height:100%;
- position:absolute;
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ display: flex;
}
-.mainView-flyoutContainer{
- display:flex;
+
+.mainView-flyoutContainer {
+ display: flex;
flex-direction: column;
- position: absolute;
- width:100%;
- height:100%;
+ position: relative;
+ height: 100%;
+
.documentView-node-topmost {
background: lightgrey;
}
}
+
.mainView-mainDiv {
width: 100%;
height: 100%;
@@ -48,33 +59,38 @@
.mainView-logout {
position: absolute;
- right: 0;
- bottom: 0;
+ right: 5;
+ bottom: 5;
font-size: 8px;
}
.mainView-libraryFlyout {
height: 100%;
+ width:100%;
position: absolute;
display: flex;
flex-direction: column;
+ z-index: 2;
}
.mainView-expandFlyoutButton {
position: absolute;
- top: 5px;
- right: 5px;
+ top: 100px;
+ right: 30px;
cursor: pointer;
}
.mainView-libraryHandle {
width: 20px;
+ left: calc(100% - 10px);
height: 40px;
top: 50%;
border: 1px solid black;
border-radius: 5px;
position: absolute;
- z-index: 1;
+ z-index: 2;
+ touch-action: none;
+ cursor: ew-resize;
}
.mainView-workspace {