seasons 0.9.3.beta1 → 0.9.3.beta2

Sign up to get free protection for your applications and to get access to all the features.
data/seasons.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{seasons}
5
- s.version = "0.9.3.beta1"
5
+ s.version = "0.9.3.beta2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
8
8
  s.authors = ["Scott Kellum"]
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.homepage = %q{http://www.treesaver.net/}
36
36
  s.require_paths = ["lib"]
37
37
  s.rubyforge_project = %q{seasons}
38
- s.rubygems_version = %q{0.9.3.beta1}
38
+ s.rubygems_version = %q{0.9.3.beta2}
39
39
  s.summary = %q{The Compass variant of the Seasons framework to style Treesaver.}
40
40
  s.add_dependency(%q<compass>, ["~> 0.11"])
41
41
  end
@@ -490,18 +490,33 @@ $prefixes: -webkit- -moz- -ms- -o-
490
490
  -o-border-#{$top}-#{$left}-radius: $borderradius
491
491
  border-#{$top}-#{$left}-radius: $borderradius
492
492
 
493
- =gradient($top, $bottom)
494
- background-color: $top / 2 + $bottom / 2
495
- filter: unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='")#{$top}unquote("', endColorstr='")#{$bottom}unquote("')")
496
- -ms-filter: unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$top}', endColorstr='#{$bottom}')")
497
- background-image: -webkit-gradient(linear, left top, left bottom, from($top), to($bottom))
498
- background-image: -webkit-linear-gradient(top, $top, $bottom)
499
- background-image: -moz-linear-gradient(top, $top, $bottom)
500
- background-image: -ms-linear-gradient(top, $top, $bottom)
501
- background-image: -o-linear-gradient(top, $top, $bottom)
502
- background-image: linear-gradient(top, $top, $bottom)
493
+ =gradient($startcolor, $endcolor, $startpos: top left, $endpos: bottom left)
494
+ background-color: $startcolor / 2 + $endcolor / 2
495
+ $vertical: false
496
+ $horizontal: false
497
+ @if "#{$startpos} #{$endpos}" == "top left bottom left"
498
+ $vertical: true
499
+ @if "#{$startpos} #{$endpos}" == "top right bottom right"
500
+ $vertical: true
501
+ @if "#{$startpos} #{$endpos}" == "top left top right"
502
+ $horizontal: true
503
+ @if "#{$startpos} #{$endpos}" == "bottom left bottom right"
504
+ $horizontal: true
505
+ @if $vertical
506
+ filter: unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='")#{$startcolor}unquote("', endColorstr='")#{$endcolor}unquote("')")
507
+ -ms-filter: unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$startcolor}', endColorstr='#{$endcolor}')")
508
+ @if $horizontal
509
+ filter: unquote("progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='")#{$startcolor}unquote("', endColorstr='")#{$endcolor}unquote("')")
510
+ -ms-filter: unquote("progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#{$startcolor}', endColorstr='#{$endcolor}')")
511
+ background-image: -webkit-gradient(linear, left top, left bottom, from($startcolor), to($endcolor))
512
+ background-image: -webkit-linear-gradient(top, $startcolor, $endcolor)
513
+ background-image: -moz-linear-gradient(top, $startcolor, $endcolor)
514
+ background-image: -ms-linear-gradient(top, $startcolor, $endcolor)
515
+ background-image: -o-linear-gradient(top, $startcolor, $endcolor)
516
+ background-image: linear-gradient(top, $startcolor, $endcolor)
503
517
 
504
518
  =hgradient($left, $right)
519
+ @warn "@mixin hgradient will be depruciated in 0.9.3.beta4 and later."
505
520
  background-color: $left / 2 + $right / 2
506
521
  filter: unquote("progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='")#{$left}unquote("', endColorstr='")#{$right}unquote("')")
507
522
  -ms-filter: unquote("progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#{$left}', endColorstr='#{$right}')")
@@ -5,12 +5,12 @@
5
5
  // HTML5 Doctor...................http://html5doctor.com
6
6
  // and the HTML5 Boilerplate......http://html5boilerplate.com
7
7
 
8
- html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video
8
+ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video
9
9
  margin: 0
10
10
  padding: 0
11
11
  border: 0
12
12
  outline: 0
13
- font-size: 100%
13
+ font-size: 1em
14
14
  vertical-align: baseline
15
15
  background: transparent
16
16
  cursor: default
@@ -26,35 +26,12 @@ blockquote:before, blockquote:after, q:before, q:after
26
26
  content: none
27
27
 
28
28
  a
29
- margin: 0
30
- padding: 0
31
- font-size: 100%
32
- vertical-align: baseline
33
- background: transparent
34
29
  color: inherit
35
30
  text-decoration: inherit
36
31
 
37
32
  del
38
33
  text-decoration: line-through
39
34
 
40
- abbr[title], dfn[title]
41
- border-bottom: 1px dotted #000
42
- cursor: help
43
-
44
- .zoomable, .zoomable *
45
- cursor: -webkit-zoom-in
46
- cursor: -moz-zoom-in
47
- cursor: -ms-zoom-in
48
- cursor: -o-zoom-in
49
- cursor: zoom-in
50
-
51
- .lightbox, .lightbox *
52
- cursor: -webkit-zoom-out
53
- cursor: -moz-zoom-out
54
- cursor: -ms-zoom-out
55
- cursor: -o-zoom-out
56
- cursor: zoom-out
57
-
58
35
 
59
36
  // tables still need cellspacing="0" in the markup
60
37
 
@@ -81,8 +58,8 @@ input, select
81
58
  pre
82
59
  white-space: pre /* CSS2 */
83
60
  white-space: pre-wrap /* CSS 2.1 */
84
- white-space: pre-line /* CSS 3 (and 2.1 as well, actually) */
85
61
  word-wrap: break-word /* IE */
62
+ white-space: pre-line /* CSS 3 (and 2.1 as well, actually) */
86
63
 
87
64
 
88
65
  input[type="radio"]
@@ -98,7 +75,7 @@ select, input, textarea
98
75
 
99
76
  table
100
77
  font-size: inherit
101
- font: 100%
78
+ font: 1em
102
79
 
103
80
 
104
81
  // Accessible focus treatment
@@ -114,7 +91,32 @@ strong, th
114
91
  font-weight: bold
115
92
 
116
93
  td, td img
117
- vertical-align: top
94
+ vertical-align: top
95
+
96
+ abbr[title], dfn[title]
97
+ cursor: help
98
+
99
+ .zoomable, .zoomable *
100
+ cursor: -webkit-zoom-in
101
+ cursor: -moz-zoom-in
102
+ cursor: -ms-zoom-in
103
+ cursor: -o-zoom-in
104
+ cursor: zoom-in
105
+
106
+ .lightbox, .lightbox *
107
+ cursor: -webkit-zoom-out
108
+ cursor: -moz-zoom-out
109
+ cursor: -ms-zoom-out
110
+ cursor: -o-zoom-out
111
+ cursor: zoom-out
112
+
113
+ // hand cursor on clickable elements, text on editable text only, default on everything else.
114
+ input
115
+ cursor: auto
116
+ textarea
117
+ cursor: text
118
+ a, a *, .clickable, label, input[type=button], input[type=submit], input[type=reset], button, #nextPage, #previousPage, #nextPage *, #previousPage *
119
+ cursor: pointer
118
120
 
119
121
 
120
122
  // Make sure sup and sub don't screw with your line-heights
@@ -135,14 +137,6 @@ sub
135
137
  pre, code, kbd, samp
136
138
  font-family: monospace, sans-serif
137
139
 
138
- // hand cursor on clickable elements, text on editable text only, default on everything else.
139
- input
140
- cursor: auto
141
- textarea
142
- cursor: text
143
- a, a *, .clickable, label, input[type=button], input[type=submit], input[type=reset], button, #nextPage, #previousPage, #nextPage *, #previousPage *
144
- cursor: pointer
145
-
146
140
 
147
141
  // Webkit browsers add a 2px margin outside the chrome of form elements
148
142
 
@@ -175,11 +169,11 @@ button
175
169
  content: "\0020"
176
170
  display: block
177
171
  height: 0
178
- overflow: hidden
172
+ overflow: hidden
179
173
  .clearfix:after
180
- clear: both
174
+ clear: both
181
175
  .clearfix
182
- zoom: 1
176
+ zoom: 1
183
177
 
184
178
  ins
185
179
  background-color: #fcd700
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 3
9
- - beta1
10
- version: 0.9.3.beta1
9
+ - beta2
10
+ version: 0.9.3.beta2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Scott Kellum