diff options
author | Yan Zhu <picturepan2@hotmail.com> | 2017-11-13 14:00:57 +0300 |
---|---|---|
committer | Yan Zhu <picturepan2@hotmail.com> | 2017-11-13 14:00:57 +0300 |
commit | 76fece9a770739ac895c428e92e253e0ef1c71aa (patch) | |
tree | d54fcc032563d576408358ecab9e5bd23a8e3908 /src | |
parent | 795e8fbabe810e9fde1c9bc96dbf56855ca088d1 (diff) |
Clean up code
Diffstat (limited to 'src')
-rw-r--r-- | src/_off-canvas.scss | 2 | ||||
-rw-r--r-- | src/_popovers.scss | 5 | ||||
-rw-r--r-- | src/_variables.scss | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/_off-canvas.scss b/src/_off-canvas.scss index 009f9f0..061dc26 100644 --- a/src/_off-canvas.scss +++ b/src/_off-canvas.scss @@ -1,5 +1,5 @@ // Off canvas menus -$off-canvas-breakpoint: 960px !default; +$off-canvas-breakpoint: $size-lg !default; .off-canvas { display: flex; diff --git a/src/_popovers.scss b/src/_popovers.scss index 9a275e9..78c86aa 100644 --- a/src/_popovers.scss +++ b/src/_popovers.scss @@ -4,9 +4,8 @@ position: relative; .popover-container { - content: attr(data-tooltip); - opacity: 0; left: 50%; + opacity: 0; padding: $layout-spacing; position: absolute; top: 0; @@ -16,7 +15,7 @@ z-index: $zindex-4; } - :focus + .popover-container, + *:focus + .popover-container, &:hover .popover-container, .popover-container:hover { display: block; diff --git a/src/_variables.scss b/src/_variables.scss index 70a26d9..0690f19 100644 --- a/src/_variables.scss +++ b/src/_variables.scss @@ -101,6 +101,8 @@ $size-lg: 960px !default; $size-xl: 1280px !default; $size-2x: 1440px !default; +$responsive-breakpoint: $size-xs !default; + // Z-index $zindex-0: 1 !default; $zindex-1: 100 !default; |