diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-30 22:17:26 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-30 22:17:26 -0400 |
| commit | c92a8fbe94eb5e6167730ffa9a87e5e4e1d040e2 (patch) | |
| tree | 8daa21ff72fa094c65d26c2e7db1da6d99ce58ee /src/client/views/Main.scss | |
| parent | d2fb3085fe17a9c66eab893b2a3d000a5bdec054 (diff) | |
| parent | 97ed2e452597d5f1f2e8d0abfc06e94b4aa5d448 (diff) | |
merged hannah's linking changes
Diffstat (limited to 'src/client/views/Main.scss')
| -rw-r--r-- | src/client/views/Main.scss | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/src/client/views/Main.scss b/src/client/views/Main.scss index 89fdf595a..cbf920793 100644 --- a/src/client/views/Main.scss +++ b/src/client/views/Main.scss @@ -1,5 +1,6 @@ @import "globalCssVariables"; @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; } div { @@ -120,6 +121,7 @@ button:hover { position: absolute; bottom: 62px; left: 24px; + .toolbar-button { display: block; margin-bottom: 10px; @@ -129,8 +131,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; @@ -143,44 +146,51 @@ 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; } #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; @@ -194,7 +204,8 @@ button:hover { ul#add-options-list { list-style: none; - padding: 0; + padding: 5 0 0 0; + li { display: inline-block; padding: 0; |
