css-lightbox 0.3.beta.1 → 0.3.beta.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,10 @@
1
1
  //** CSS-Lightboxes **//
2
2
 
3
+ @import "compass/reset/utilities";
4
+ @import "compass/css3/opacity";
5
+ @import "compass/css3/box-shadow";
6
+ @import "compass/css3/transition";
7
+
3
8
  // Lightbox Basics -----------------------------------------------------------
4
9
 
5
10
  // Sets a lightbox as hidden
@@ -57,7 +62,7 @@
57
62
  @if not $fade-speed {
58
63
  $fade-speed: 500ms;
59
64
  }
60
- @include transition(unquote("opacity, z-index"), $fade-speed);
65
+ @include single-transition(unquote("opacity, z-index"), $fade-speed);
61
66
  }
62
67
 
63
68
  // Styles the lightbox container
@@ -72,7 +77,7 @@
72
77
 
73
78
  // Styles the lightbox box
74
79
  @mixin lightbox-default-box-styles {
75
- @include box-shadow(rgba(0, 0, 0, 0.9), 0, 0, 1em);
80
+ @include single-box-shadow(rgba(0, 0, 0, 0.9), 0, 0, 1em);
76
81
  position: relative;
77
82
  margin: 3em auto;
78
83
  padding: 1.5em;
@@ -103,4 +108,4 @@
103
108
  ) {
104
109
  @include lightbox($active);
105
110
  @include lightbox-default-styles($style,$fade-speed);
106
- }
111
+ }
@@ -8,5 +8,5 @@
8
8
 
9
9
  // Based on the lightbox.html template provided:
10
10
  #lightboxes aside {
11
- @include lightbox-with-default-style("> div", "300ms");
12
- }
11
+ @include lightbox-with-default-styles("> div", 300ms);
12
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css-lightbox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196297
4
+ hash: 62196303
5
5
  prerelease: 4
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - beta
10
- - 1
11
- version: 0.3.beta.1
10
+ - 2
11
+ version: 0.3.beta.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Eric Meyer
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements: []
82
82
 
83
83
  rubyforge_project:
84
- rubygems_version: 1.7.2
84
+ rubygems_version: 1.8.15
85
85
  signing_key:
86
86
  specification_version: 3
87
87
  summary: a css-only lightbox implementation for compass