diff options
| author | Fawn <fangrui_tong@brown.edu> | 2019-04-15 15:32:46 -0400 |
|---|---|---|
| committer | Fawn <fangrui_tong@brown.edu> | 2019-04-15 15:32:46 -0400 |
| commit | 63ad49ff966d3c3f29bbe2c4d9758527f405bb6a (patch) | |
| tree | 5f3f5b48b423b602ddee74d48a3ceaa487f3aad3 /src/client/views/DocumentDecorations.scss | |
| parent | e81c43baadcaf31314c07505fa7cde70e709706d (diff) | |
| parent | 6c0b421db6aa3204bbc6e42139d240f503000b5d (diff) | |
fixed merge
Diffstat (limited to 'src/client/views/DocumentDecorations.scss')
| -rw-r--r-- | src/client/views/DocumentDecorations.scss | 134 |
1 files changed, 96 insertions, 38 deletions
diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss index f6d332a36..e926c2be6 100644 --- a/src/client/views/DocumentDecorations.scss +++ b/src/client/views/DocumentDecorations.scss @@ -1,14 +1,21 @@ -@import "global_variables"; +@import "globalCssVariables"; + +.documentDecorations { + position: absolute; +} #documentDecorations-container { position: absolute; + top: 0; + left: 0; display: grid; - z-index: 1000; - grid-template-rows: 8px 1fr 8px 30px; - grid-template-columns: 8px 1fr 8px; + z-index: $docDecorations-zindex; + grid-template-rows: 20px 8px 1fr 8px; + grid-template-columns: 8px 8px 1fr 8px 8px; pointer-events: none; #documentDecorations-centerCont { + grid-column: 3; background: none; } @@ -19,6 +26,25 @@ } #documentDecorations-topLeftResizer, + #documentDecorations-leftResizer, + #documentDecorations-bottomLeftResizer { + grid-column: 1 + } + + #documentDecorations-topResizer, + #documentDecorations-bottomResizer { + grid-column-start: 2; + grid-column-end: 5; + } + + #documentDecorations-bottomRightResizer, + #documentDecorations-topRightResizer, + #documentDecorations-rightResizer { + grid-column-start: 5; + grid-column-end: 7; + } + + #documentDecorations-topLeftResizer, #documentDecorations-bottomRightResizer { cursor: nwse-resize; } @@ -37,39 +63,46 @@ #documentDecorations-rightResizer { cursor: ew-resize; } + + .title { + width: 100%; + background: lightblue; + grid-column-start: 3; + grid-column-end: 4; + pointer-events: auto; + } +} + +.documentDecorations-closeButton { + background: $alt-accent; + opacity: 0.8; + grid-column-start: 4; + grid-column-end: 6; + pointer-events: all; + text-align: center; + cursor: pointer; +} + +.documentDecorations-minimizeButton { + background: $alt-accent; + opacity: 0.8; + grid-column-start: 1; + grid-column-end: 3; + pointer-events: all; + text-align: center; + cursor: pointer; +} + +.documentDecorations-background { + background: lightblue; + position: absolute; + opacity: 0.1; } -// position: absolute; -// display: grid; -// z-index: 1000; -// grid-template-rows: 20px 1fr 20px 0px; -// grid-template-columns: 20px 1fr 20px; -// pointer-events: none; -// #documentDecorations-centerCont { -// background: none; -// } -// .documentDecorations-resizer { -// pointer-events: auto; -// background: lightblue; -// opacity: 0.4; -// } -// #documentDecorations-topLeftResizer, -// #documentDecorations-bottomRightResizer { -// cursor: nwse-resize; -// } -// #documentDecorations-topRightResizer, -// #documentDecorations-bottomLeftResizer { -// cursor: nesw-resize; -// } -// #documentDecorations-topResizer, -// #documentDecorations-bottomResizer { -// cursor: ns-resize; -// } -// #documentDecorations-leftResizer, -// #documentDecorations-rightResizer { -// cursor: ew-resize; -// } -// } +.linkFlyout { + grid-column: 1/4; + margin-left: 25px; +} .documentDecorations-extra { display: flex; @@ -80,9 +113,34 @@ margin-right: 10px; } -.linkButton-empty, -.linkButton-nonempty, -.documentDecorations-ex { +.linkButton-linker { + position: absolute; + bottom: 0px; + left: 0px; + height: 20px; + width: 20px; + margin-top: 10px; + margin-right: 5px; + border-radius: 50%; + opacity: 0.9; + pointer-events: auto; + color: $dark-color; + border: $dark-color 1px solid; + text-transform: uppercase; + letter-spacing: 2px; + font-size: 75%; + transition: transform 0.2s; + text-align: center; + display: flex; + justify-content: center; + align-items: center; +} + +.linkButton-tray { + grid-column: 1/4; +} + +.linkButton-empty { height: 20px; width: 20px; border-radius: 50%; |
