We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 277f9e7 + af3130f commit 60d4f1cCopy full SHA for 60d4f1c
2 files changed
src/Lumi/Components/InputGroup.purs
@@ -3,6 +3,7 @@ module Lumi.Components.InputGroup where
3
import Data.Array (fromFoldable)
4
import Data.Nullable (Nullable, toMaybe)
5
import JSS (JSS, jss)
6
+import Lumi.Components.ZIndex (ziInputGroup)
7
import React.Basic (Component, JSX, createComponent, element, makeStateless)
8
import React.Basic.DOM (CSS, unsafeCreateDOMComponent)
9
import React.Basic.DOM as R
@@ -43,7 +44,7 @@ styles = jss
43
44
, "& a.input-container":
45
{ flex: "1"
46
, marginRight: "-1px"
- -- , "&:focus, &:hover": { zIndex: "1" }
47
+ , "&:focus, &:hover": { zIndex: ziInputGroup }
48
, "& input[type=\"text\"], & input.lumi[type=\"text\"]":
49
{ borderRadius: "0"
50
, width: "100%"
@@ -73,9 +74,9 @@ styles = jss
73
74
, borderBottomLeftRadius:"0"
75
}
76
- -- , "& input-group-addon button.lumi":
77
- -- { "&:focus, &:hover": { zIndex: "1" }
78
- -- }
+ , "& input-group-addon button.lumi":
+ { "&:focus, &:hover": { zIndex: ziInputGroup }
79
+ }
80
81
82
src/Lumi/Components/ZIndex.purs
@@ -1,40 +1,40 @@
1
module Lumi.Components.ZIndex where
2
ziButtonGroup :: Int
-ziButtonGroup = 100
+ziButtonGroup = 1000
ziDropdownButton :: Int
-ziDropdownButton = 100
+ziDropdownButton = 1000
ziInputGroup :: Int
10
-ziInputGroup = 100
+ziInputGroup = 1000
11
12
ziModal :: Int
13
-ziModal = 1000
+ziModal = 10000
14
15
ziNavigationBar :: Int
16
-ziNavigationBar = 10
+ziNavigationBar = 100
17
18
ziNavigationDropdown :: Int
19
-ziNavigationDropdown = 11
+ziNavigationDropdown = 101
20
21
ziSelect :: Int
22
-ziSelect = 100
+ziSelect = 1000
23
24
ziTableHeader :: Int
25
-ziTableHeader = 2
+ziTableHeader = 12
26
27
ziTableHeaderMenu :: Int
28
-ziTableHeaderMenu = 4
+ziTableHeaderMenu = 14
29
30
ziTableLockedColumn :: Int
31
-ziTableLockedColumn = 1
+ziTableLockedColumn = 11
32
33
ziTableLockedColumnHeader :: Int
34
-ziTableLockedColumnHeader = 3
+ziTableLockedColumnHeader = 13
35
36
ziToast :: Int
37
-ziToast = 10000
+ziToast = 100000
38
39
ziTooltip :: Int
40
-ziTooltip = 100000
+ziTooltip = 1000000
0 commit comments