aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TabDocView.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-11 23:42:55 -0400
committerbobzel <zzzman@gmail.com>2020-09-11 23:42:55 -0400
commit5b4a692b0c87a58e17c0ae799f935e22a326b856 (patch)
tree54aab32133d4f5a72b26da33b43c1c4cf2661230 /src/client/views/collections/TabDocView.scss
parent8f70b2f3145f962e42c5388e923c5dd1cfcfa716 (diff)
moved minimap button to bottom-right of tab panes
Diffstat (limited to 'src/client/views/collections/TabDocView.scss')
-rw-r--r--src/client/views/collections/TabDocView.scss18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client/views/collections/TabDocView.scss b/src/client/views/collections/TabDocView.scss
index fdb801e03..b808f3ae4 100644
--- a/src/client/views/collections/TabDocView.scss
+++ b/src/client/views/collections/TabDocView.scss
@@ -1,6 +1,7 @@
input.lm_title:focus {
max-width: max-content !important;
}
+.miniMap-hidden,
.miniMap {
position: absolute;
overflow: hidden;
@@ -8,6 +9,9 @@ input.lm_title:focus {
bottom: 10;
border: solid 1px;
box-shadow: black 0.4vw 0.4vw 0.8vw;
+ width: 100%;
+ height: 100%;
+ transition: all 0.5s;
.miniOverlay {
width: 100%;
@@ -19,4 +23,18 @@ input.lm_title:focus {
position: absolute;
}
}
+}
+.miniMap-hidden {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ width: 40px;
+ height: 40px;
+ background: transparent;
+ transform: translate(20px, 20px) rotate(45deg);
+ border-radius: 30px;
+ > svg {
+ margin-top: 3px;
+ transform: translate(0px, 7px);
+ }
} \ No newline at end of file