diff options
| author | Monika Hedman <monika_hedman@brown.edu> | 2019-05-07 16:34:00 -0400 |
|---|---|---|
| committer | Monika Hedman <monika_hedman@brown.edu> | 2019-05-07 16:34:00 -0400 |
| commit | ef54fbecd832e4c8f31144ab9fa217146833a397 (patch) | |
| tree | 4bf8367cc6456f2a3eb23c242adda17dc7999f85 /src/client/views/DocumentDecorations.scss | |
| parent | 93d2214b84eaef61c9a9f980d24b5c1addbd67dc (diff) | |
| parent | 14c776b6d30e0bc0d5b3712f28e4b9f1170eae3b (diff) | |
pulled from new search
Diffstat (limited to 'src/client/views/DocumentDecorations.scss')
| -rw-r--r-- | src/client/views/DocumentDecorations.scss | 116 |
1 files changed, 70 insertions, 46 deletions
diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss index 0dfa6f0ff..158b02b5a 100644 --- a/src/client/views/DocumentDecorations.scss +++ b/src/client/views/DocumentDecorations.scss @@ -1,5 +1,6 @@ @import "globalCssVariables"; +$linkGap : 3px; .documentDecorations { position: absolute; } @@ -72,6 +73,7 @@ } } + .documentDecorations-closeButton { background: $alt-accent; opacity: 0.8; @@ -104,35 +106,45 @@ } .linkFlyout { + grid-column: 2/4; + margin-top: $linkGap; +} + +.linkButton-empty:hover { + background: $main-accent; + transform: scale(1.05); + cursor: pointer; +} + +.linkButton-nonempty:hover { + background: $main-accent; + transform: scale(1.05); + cursor: pointer; +} + +.link-button-container { grid-column: 1/4; - margin-left: 25px; + width: auto; + height: auto; + display: flex; + flex-direction: row; } .linkButton-linker { - position: absolute; - bottom: 0px; - left: 0px; + margin-left: 5px; + margin-top: $linkGap; height: 20px; width: 20px; - margin-top: 10px; - margin-right: 5px; + text-align: center; 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-linker:hover { + cursor: pointer; + transform: scale(1.05); } .linkButton-empty, .linkButton-nonempty { @@ -164,38 +176,50 @@ bottom: 0; left: 50px; pointer-events: auto; + text-transform: uppercase; + letter-spacing: 2px; + font-size: 75%; + transition: transform 0.2s; + text-align: center; + display: flex; + justify-content: center; + align-items: center; +} - .templating-button { - width: 20px; - height: 20px; - border-radius: 50%; - opacity: 0.9; - background-color: $dark-color; - color: $light-color; - text-align: center; - cursor: pointer; +.fa-icon-link { + margin-top: 3px; +} +.templating-button { + width: 20px; + height: 20px; + border-radius: 50%; + opacity: 0.9; + font-size:14; + background-color: $dark-color; + color: $light-color; + text-align: center; + cursor: pointer; - &:hover { - background: $main-accent; - transform: scale(1.05); - } + &:hover { + background: $main-accent; + transform: scale(1.05); } +} - #template-list { - position: absolute; - top: 0; - left: 30px; - width: 150px; - line-height: 25px; - max-height: 175px; - font-family: $sans-serif; - font-size: 12px; - background-color: $light-color-secondary; - padding: 2px 12px; - list-style: none; - - input { - margin-right: 10px; - } +#template-list { + position: absolute; + top: 0; + left: 30px; + width: 150px; + line-height: 25px; + max-height: 175px; + font-family: $sans-serif; + font-size: 12px; + background-color: $light-color-secondary; + padding: 2px 12px; + list-style: none; + + input { + margin-right: 10px; } }
\ No newline at end of file |
