aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web-shared/src/styles/components/popover.scss
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-09-20 09:24:27 +0200
committerivarlovlie <git@ivarlovlie.no>2022-09-20 09:24:27 +0200
commita9072370ca1eb9a5cce928b1d487db0f307edea6 (patch)
tree59c3c23df930a8b5f888dc7813923abf4ceefed4 /apps/web-shared/src/styles/components/popover.scss
parent56fa963a1d63cbe0bf28e29e717cceaa417c45c1 (diff)
downloadgreatoffice-a9072370ca1eb9a5cce928b1d487db0f307edea6.tar.xz
greatoffice-a9072370ca1eb9a5cce928b1d487db0f307edea6.zip
feat: Move old apps into it's own directory
Diffstat (limited to 'apps/web-shared/src/styles/components/popover.scss')
-rw-r--r--apps/web-shared/src/styles/components/popover.scss38
1 files changed, 0 insertions, 38 deletions
diff --git a/apps/web-shared/src/styles/components/popover.scss b/apps/web-shared/src/styles/components/popover.scss
deleted file mode 100644
index 7f423a0..0000000
--- a/apps/web-shared/src/styles/components/popover.scss
+++ /dev/null
@@ -1,38 +0,0 @@
-@use '../base'as *;
-
-/* --------------------------------
-
-File#: _1_popover
-Title: Popover
-Descr: A pop-up box controlled by a trigger element
-Usage: codyhouse.co/license
-
--------------------------------- */
-:root {
- --popover-width: 250px;
- --popover-control-gap: 4px; // ⚠️ use px units - vertical gap between the popover and its control
- --popover-viewport-gap: 20px; // ⚠️ use px units - vertical gap between the popover and the viewport - visible if popover height > viewport height
- --popover-transition-duration: 0.2s;
-}
-
-.popover {
- position: fixed; // top/left position set in JS
- width: var(--popover-width);
- z-index: var(--z-index-popover, 5);
- margin-top: var(--popover-control-gap);
- margin-bottom: var(--popover-control-gap);
- overflow: auto;
- -webkit-overflow-scrolling: touch;
-
- visibility: hidden;
- opacity: 0;
-}
-
-.popover--is-visible {
- visibility: visible;
- opacity: 1;
-}
-
-.popover-control--active {
- // class added to the trigger when popover is visible
-}