aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.scss
diff options
context:
space:
mode:
authorStanley Yip <stanley_yip@brown.edu>2020-02-09 14:58:57 -0500
committerStanley Yip <stanley_yip@brown.edu>2020-02-09 14:58:57 -0500
commitf6179334d6f2942631caa17b7c8ae2531d87c7c4 (patch)
tree091da0ef7bedb900c958c28cebe4058fade644cf /src/client/views/MainView.scss
parent07141291bee793955d7061f4e479942d7aceda67 (diff)
parent87167fd126e161b29d8d798a5f04e3cf159aae16 (diff)
recommender system works
Diffstat (limited to 'src/client/views/MainView.scss')
-rw-r--r--src/client/views/MainView.scss61
1 files changed, 47 insertions, 14 deletions
diff --git a/src/client/views/MainView.scss b/src/client/views/MainView.scss
index a858a73c7..d39c217ec 100644
--- a/src/client/views/MainView.scss
+++ b/src/client/views/MainView.scss
@@ -4,13 +4,21 @@
.mainView-tabButtons {
position: relative;
- width:100%;
+ 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 {
@@ -19,24 +27,28 @@
position: absolute;
top: 0;
left: 0;
- overflow: auto;
z-index: 1;
+ touch-action: none;
}
+
.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%;
@@ -46,6 +58,18 @@
overflow: hidden;
}
+
+.mainView-settings {
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ font-size: 8px;
+}
+
+.mainView-settings:hover {
+ transform: none !important;
+}
+
.mainView-logout {
position: absolute;
right: 0;
@@ -53,28 +77,37 @@
font-size: 8px;
}
+.mainView-logout:hover {
+ transform: none !important;
+}
+
.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 {