diff options
| author | yipstanley <stanley_yip@brown.edu> | 2019-06-26 16:41:34 -0400 |
|---|---|---|
| committer | yipstanley <stanley_yip@brown.edu> | 2019-06-26 16:41:34 -0400 |
| commit | 914eb8cb8e8ba25f3adb31da01bd005fb3bce234 (patch) | |
| tree | cd0fcc4dc00e054df7b54b3e151522cdf9a718f9 /src/client/views/pdf/PDFViewer.scss | |
| parent | bb4d4b4193466778562a383654dd4c195fe69da6 (diff) | |
better search, prev/next annotations
Diffstat (limited to 'src/client/views/pdf/PDFViewer.scss')
| -rw-r--r-- | src/client/views/pdf/PDFViewer.scss | 46 |
1 files changed, 42 insertions, 4 deletions
diff --git a/src/client/views/pdf/PDFViewer.scss b/src/client/views/pdf/PDFViewer.scss index 2f705781f..5a89a85f4 100644 --- a/src/client/views/pdf/PDFViewer.scss +++ b/src/client/views/pdf/PDFViewer.scss @@ -53,14 +53,52 @@ justify-content: center; align-items: center; padding: 20px; + overflow: hidden; + transition: left .5s; +} + +.pdfViewer-overlaySearchBar { + width: 20%; + height: 100%; + font-size: 30px; + padding: 5px; +} + +.pdfViewer-overlayButton { + border-bottom-left-radius: 50%; + display: flex; + justify-content: space-evenly; + align-items: center; + height: 70px; + background: none; + padding: 0; + position: absolute; + + .pdfViewer-overlayButton-arrow { + width: 0; + height: 0; + border-top: 25px solid transparent; + border-bottom: 25px solid transparent; + border-right: 25px solid #121721; + transition: all 0.5s; + } - .pdfViewer-overlaySearchBar { - width: 20%; - height: 100%; - font-size: 30px; + .pdfViewer-overlayButton-iconCont { + background: #121721; + height: 50px; + width: 70px; + display: flex; + justify-content: center; + align-items: center; + margin-left: -2px; + border-radius: 3px; } } +.pdfViewer-overlayButton:hover { + background: none; +} + .pdfViewer-annotationBox { position: absolute; background-color: red; |
