illusion 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bab279e80e517de98a0310ec565a81e18abef22
4
- data.tar.gz: a7d2810bd3fd0983fdd300a7a328e782d7bfde55
3
+ metadata.gz: af0f2bb3442fcf9fb92306dd9b8886617841c183
4
+ data.tar.gz: be1122b1ad321a61844249006fa5437f70bea5c5
5
5
  SHA512:
6
- metadata.gz: b95fb01cf60d07e96994853413ce09bd71cef59a458caeff861b83b381f5fa5a69d87a1120679d22b35f15f82d0358dabd34152adb3ada5c95396e7efd5c8221
7
- data.tar.gz: 6ec123e9b0efb98994a95303c4f06a68fda211fd684770976668fb7d57190fbef68c41c65263fe388d456f35f6d18c4e3b52b4d435cd06d7e794be08f1395249
6
+ metadata.gz: 948018d50a17815f75d8fd8dcfa9b30f46f5b7dc90bb4a3fbf0455f19b32bfc97f48f415e20efa580da3d73c98be8aa07293dece6cf9bd085c5b6a492970294f
7
+ data.tar.gz: d93aa634bf1046c812d25278861572992119416df304a363e89e1374f30ab7c3a626b290f376719da0eb2fc1a7868fd75450b3fc9fe8eb49cdcaa43fb57e9f6b
@@ -39,6 +39,11 @@
39
39
  z-index: 9;
40
40
  }
41
41
 
42
+ // Focus items
43
+ .focused {
44
+ overflow: visible !important;
45
+ }
46
+
42
47
  /* Extend the accessible hide class to the closed class */
43
48
  /* Only when JS is enabled since we add the closed class in the markup */
44
49
  /* And we want the menu to be open when JS is disabled/broken */
@@ -48,6 +53,11 @@
48
53
  }
49
54
  }
50
55
 
56
+ /* hide the buttons when closed so they wont show up in tabindex */
57
+ button.closed {
58
+ display: none;
59
+ }
60
+
51
61
  /* The menu itself */
52
62
  .navigation_container {
53
63
 
@@ -78,9 +88,12 @@
78
88
  ul.closed, // For JS disabled/broken browsers
79
89
  ul.fullmenu { // For all the other ones
80
90
 
91
+ li {
92
+ overflow: hidden;
93
+ }
94
+
81
95
  /* Hide li ul when JS is enabled and screen is big */
82
96
  li ul {
83
- display: none;
84
97
  position: absolute;
85
98
  left: 0;
86
99
  top: 100%;
@@ -94,8 +107,9 @@
94
107
  }
95
108
 
96
109
  /* And show on hover */
97
- li:hover > ul {
98
- display: block;
110
+ li:hover,
111
+ li:focus {
112
+ overflow: visible;
99
113
  }
100
114
  }
101
115
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: illusion
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Janssens
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-23 00:00:00.000000000 Z
11
+ date: 2014-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler