aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah Chow <hannah_chow@brown.edu>2019-04-09 18:37:43 -0400
committerHannah Chow <hannah_chow@brown.edu>2019-04-09 18:37:43 -0400
commit95df27f9083ebf3f1ba8da2ca389b7b7e8d31522 (patch)
treee3bdb39df9fba38437654b0acc29c6ed9793b882
parent89fd4327db1536990b4a4dc218819a1077f82445 (diff)
fixed the stupid bottom left menu
-rw-r--r--src/client/views/Main.scss66
1 files changed, 40 insertions, 26 deletions
diff --git a/src/client/views/Main.scss b/src/client/views/Main.scss
index fe7f007b0..6139f4113 100644
--- a/src/client/views/Main.scss
+++ b/src/client/views/Main.scss
@@ -1,5 +1,6 @@
@import "global_variables";
@import "nodeModuleOverrides";
+
html,
body {
width: 100%;
@@ -7,9 +8,9 @@ body {
overflow: auto;
font-family: $sans-serif;
margin: 0;
- position:absolute;
+ position: absolute;
top: 0;
- left:0;
+ left: 0;
}
#dash-title {
@@ -42,7 +43,7 @@ h1 {
}
.jsx-parser {
- width:100%
+ width: 100%
}
p {
@@ -114,6 +115,7 @@ button:hover {
position: absolute;
bottom: 62px;
left: 24px;
+
.toolbar-button {
display: block;
margin-bottom: 10px;
@@ -123,8 +125,9 @@ button:hover {
// add nodes menu. Note that the + button is actually an input label, not an actual button.
#add-nodes-menu {
position: absolute;
- bottom: 24px;
+ bottom: 22px;
left: 24px;
+
label {
background: $dark-color;
color: $light-color;
@@ -137,61 +140,71 @@ button:hover {
cursor: pointer;
transition: transform 0.2s;
}
+
label p {
padding-left: 10.5px;
- padding-top: 3px;
}
+
label:hover {
background: $main-accent;
transform: scale(1.15);
}
+
input {
display: none;
}
+
input:not(:checked)~#add-options-content {
display: none;
}
+
input:checked~label {
transform: rotate(45deg);
transition: transform 0.5s;
cursor: pointer;
}
}
+
#root {
overflow: visible;
}
+
#main-div {
- width:100%;
- height:100%;
- position:absolute;
+ width: 100%;
+ height: 100%;
+ position: absolute;
top: 0;
- left:0;
+ left: 0;
overflow: scroll;
}
+
.mainDiv-textInput {
- background:pink;
- width: 200px;
- height: 200px;
- position:absolute;
- overflow: visible;
+ background: pink;
+ width: 200px;
+ height: 200px;
+ position: absolute;
+ overflow: visible;
+ top: 0;
+ left: 0;
+
+ .formattedTextBox-cont {
+ background: pink;
+ width: 100%;
+ height: 100%;
+ position: absolute;
top: 0;
left: 0;
- .formattedTextBox-cont {
- background:pink;
- width: 100%;
- height: 100%;
- position:absolute;
- top: 0;
- left: 0;
}
}
+
#mainContent-div {
- width:100%;
- height:100%;
- position:absolute;
+ width: 100%;
+ height: 100%;
+ position: absolute;
top: 0;
- left:0;
+ left: 0;
}
+
#add-options-content {
display: table;
opacity: 1;
@@ -205,7 +218,8 @@ button:hover {
ul#add-options-list {
list-style: none;
- padding: 0;
+ padding: 5 0 0 0;
+
li {
display: inline-block;
padding: 0;