titon-toolkit 1.2.1 → 1.2.2

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: eecab21ad6f3ff205ddca3ff119482c07d3e9470
4
- data.tar.gz: 1d4aa28201ea3984acc65339515a39f0c2ea022c
3
+ metadata.gz: d413ce70c7079b44d459f834d3d637bcbea3d7bb
4
+ data.tar.gz: 2ea9a84f877320b46f7707aa0fcad89f1482d9ec
5
5
  SHA512:
6
- metadata.gz: 72bf72a4ac2103215ecc8098f3884dd3589a697068990d2bcc8ee58e3639aa221a635f2033e2f40286d5048e40ae5d66029364b20fd9f904ba148b960dfc7fda
7
- data.tar.gz: 246f1c5b9a431847afccdb130015c504ef4ea950ce726e56a2068753f89ca3766ee10a86f4700914694e1a09ebcf1975c9942544189b55a9c23df8a3147eed95
6
+ metadata.gz: d4b81970cc8b02b1ec6ca2b9e306e648edaed42212ec18a7a9e8ea7ac94670efde6b53ea512d30ad536fa657a847e82cd8a9883fd27ba817b63613aee2f874d3
7
+ data.tar.gz: b31044ad955c73fbd1be7c5f92b960fec80669d37be74e8e30fb89c463b4d3e42c86fa8b04e04717f4a272f6d0aed9c5b2c0ee534f8da2f8f111d21cfab240f2
data/changelog.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Older versions can be found in the documentation changelogs.
4
4
 
5
+ ## 1.2.2 ##
6
+ * Added z-index variables to all applicable components for easier layering
7
+ * Fixed a bug where data attribute selectors were not being delegated to the document [[#20](https://github.com/titon/toolkit/issues/20)]
8
+ * Fixed a bug where tooltips would not show above modals [[#20](https://github.com/titon/toolkit/issues/20)]
9
+ * Fixed a bug where the blackout could be closed while the modal is loading [[#16](https://github.com/titon/toolkit/issues/16)]
10
+
5
11
  ## 1.2.1 ##
6
12
  * Fixed a bug with `throttle()` when 0 is passed as the delay
7
13
  * Pin
data/readme.md CHANGED
@@ -6,7 +6,7 @@
6
6
  \/_/ \/_____/\/_____/\/_____/\/_/\/_/ \/_/ \/_/
7
7
  ```
8
8
 
9
- # Toolkit v1.2.1 #
9
+ # Toolkit v1.2.2 #
10
10
 
11
11
  Titon Toolkit is a collection of very powerful user interface components and utility classes
12
12
  for the responsive, mobile, and modern web. Each component represents encapsulated HTML, CSS,
@@ -120,6 +120,21 @@ $progress-transition: .5s !default;
120
120
  $showcase-transition: $default-transition !default;
121
121
  $tooltip-transition: $default-transition !default;
122
122
 
123
+ //-------------------- Z Index --------------------//
124
+
125
+ // 1) Modal and Showcase should be higher than Blackout
126
+ // 2) Tooltip and Popover should be higher than Modals in case they exist within them
127
+
128
+ $blackout-zindex: 600;
129
+ $drop-zindex: 500;
130
+ $flyout-zindex: 500;
131
+ $mask-zindex: 500;
132
+ $modal-zindex: 610;
133
+ $popover-zindex: 700;
134
+ $showcase-zindex: 610;
135
+ $tooltip-zindex: 700;
136
+ $typeAhead-zindex: 500;
137
+
123
138
  //-------------------- Responsive --------------------//
124
139
 
125
140
  $responsive-design: "mobile" !default; // mobile, desktop
@@ -12,7 +12,7 @@
12
12
  left: 0;
13
13
  height: 100%;
14
14
  width: 100%;
15
- z-index: 600;
15
+ z-index: $blackout-zindex;
16
16
  opacity: 0;
17
17
  visibility: hidden;
18
18
  background: black($blackout-opacity);
@@ -18,7 +18,7 @@
18
18
  left: 0;
19
19
  width: 200px;
20
20
  line-height: 100%;
21
- z-index: 500;
21
+ z-index: $drop-zindex;
22
22
  opacity: 0;
23
23
  visibility: hidden;
24
24
  @include transition(opacity $drop-transition);
@@ -29,7 +29,7 @@
29
29
  display: block;
30
30
  top: 0;
31
31
  left: 90%;
32
- z-index: 510;
32
+ z-index: $drop-zindex + 1;
33
33
  @include transition(left $drop-transition, opacity $drop-transition);
34
34
  }
35
35
 
@@ -10,7 +10,7 @@
10
10
  position: absolute;
11
11
  top: 0;
12
12
  left: 0;
13
- z-index: 500;
13
+ z-index: $flyout-zindex;
14
14
  opacity: 0;
15
15
  visibility: hidden;
16
16
  @include box-sizing(content-box); // required by MooTools for multi columns
@@ -12,7 +12,7 @@
12
12
  left: 0;
13
13
  height: 100%;
14
14
  width: 100%;
15
- z-index: 600;
15
+ z-index: $mask-zindex;
16
16
  opacity: 0;
17
17
  visibility: hidden;
18
18
  background: black($mask-opacity);
@@ -12,7 +12,7 @@
12
12
  left: 0;
13
13
  width: 100%;
14
14
  height: 100%;
15
- z-index: 610; // higher than blackout
15
+ z-index: $modal-zindex;
16
16
  overflow: auto;
17
17
  -webkit-overflow-scrolling: touch;
18
18
  visibility: hidden;
@@ -16,7 +16,7 @@ $popover-arrow-width-shadow: ($popover-arrow-width - 2);
16
16
  margin: $margin;
17
17
  padding: 0;
18
18
  border: 0;
19
- z-index: 500;
19
+ z-index: $popover-zindex;
20
20
  max-width: 300px;
21
21
  visibility: hidden;
22
22
 
@@ -14,7 +14,7 @@
14
14
  height: auto;
15
15
  margin: 0;
16
16
  padding: 0;
17
- z-index: 610; // higher than blackout
17
+ z-index: $showcase-zindex;
18
18
  opacity: 0;
19
19
  visibility: hidden;
20
20
  -webkit-backface-visibility: hidden;
@@ -15,7 +15,7 @@ $tooltip-arrow-width-double: ($tooltip-arrow-width * 2);
15
15
  border: none;
16
16
  margin: $margin;
17
17
  padding: $small-padding;
18
- z-index: 500;
18
+ z-index: $tooltip-zindex;
19
19
  max-width: 200px;
20
20
  visibility: hidden;
21
21
  background: #000;
@@ -10,7 +10,7 @@
10
10
  position: absolute;
11
11
  top: 0;
12
12
  left: 0;
13
- z-index: 500;
13
+ z-index: $typeAhead-zindex;
14
14
  opacity: 0;
15
15
  visibility: hidden;
16
16
  @include transition(opacity 0.3s);
data/version.md CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: titon-toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Project Titon
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-17 00:00:00.000000000 Z
12
+ date: 2014-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass