compass 0.13.alpha.4 → 0.13.alpha.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +7 -0
  2. data/README.markdown +2 -3
  3. data/Rakefile +91 -5
  4. data/VERSION.yml +1 -1
  5. data/examples/compass/images/emblem-a043c4f148.png +0 -0
  6. data/examples/compass/images/flag-03c3b29b35.png +0 -0
  7. data/examples/compass/images/flag-21cfbfbfc8.png +0 -0
  8. data/examples/css3/extensions/fancy-fonts/templates/project/Prociono.otf +0 -0
  9. data/features/command_line.feature +2 -6
  10. data/features/step_definitions/command_line_steps.rb +1 -0
  11. data/frameworks/compass/stylesheets/compass/_css3.scss +0 -1
  12. data/frameworks/compass/stylesheets/compass/_support.scss +353 -35
  13. data/frameworks/compass/stylesheets/compass/css3/_animation.scss +49 -48
  14. data/frameworks/compass/stylesheets/compass/css3/_appearance.scss +4 -8
  15. data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +15 -19
  16. data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +17 -19
  17. data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +4 -8
  18. data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +37 -39
  19. data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +45 -20
  20. data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +6 -8
  21. data/frameworks/compass/stylesheets/compass/css3/_box.scss +12 -13
  22. data/frameworks/compass/stylesheets/compass/css3/_columns.scss +46 -26
  23. data/frameworks/compass/stylesheets/compass/css3/_deprecated-support.scss +272 -0
  24. data/frameworks/compass/stylesheets/compass/css3/_filter.scss +17 -10
  25. data/frameworks/compass/stylesheets/compass/css3/_flexbox.scss +134 -281
  26. data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +5 -5
  27. data/frameworks/compass/stylesheets/compass/css3/_hyphenation.scss +14 -11
  28. data/frameworks/compass/stylesheets/compass/css3/_images.scss +77 -67
  29. data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +15 -6
  30. data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +6 -2
  31. data/frameworks/compass/stylesheets/compass/css3/_pie.scss +1 -73
  32. data/frameworks/compass/stylesheets/compass/css3/_regions.scss +7 -6
  33. data/frameworks/compass/stylesheets/compass/css3/_selection.scss +45 -17
  34. data/frameworks/compass/stylesheets/compass/css3/_shared.scss +4 -261
  35. data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +1 -1
  36. data/frameworks/compass/stylesheets/compass/css3/_transform.scss +24 -32
  37. data/frameworks/compass/stylesheets/compass/css3/_transition.scss +102 -152
  38. data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +42 -27
  39. data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +2 -1
  40. data/frameworks/compass/stylesheets/compass/typography/links/_hover-link.scss +1 -1
  41. data/frameworks/compass/stylesheets/compass/typography/lists/_horizontal-list.scss +2 -2
  42. data/frameworks/compass/stylesheets/compass/typography/lists/_inline-list.scss +1 -1
  43. data/frameworks/compass/stylesheets/compass/typography/text/_ellipsis.scss +1 -1
  44. data/frameworks/compass/stylesheets/compass/utilities/_sass.scss +2 -0
  45. data/frameworks/compass/stylesheets/compass/utilities/color/_brightness.scss +12 -0
  46. data/frameworks/compass/stylesheets/compass/utilities/color/_contrast.scss +36 -12
  47. data/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +6 -2
  48. data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +23 -4
  49. data/frameworks/compass/stylesheets/compass/utilities/general/_min.scss +1 -1
  50. data/frameworks/compass/stylesheets/compass/utilities/sass/_lists.scss +16 -0
  51. data/frameworks/compass/stylesheets/compass/utilities/sass/_maps.scss +19 -0
  52. data/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss +25 -18
  53. data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +3 -1
  54. data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss +3 -3
  55. data/lib/compass.rb +1 -1
  56. data/lib/compass/browser_support.rb +1 -1
  57. data/lib/compass/caniuse.rb +247 -0
  58. data/lib/compass/configuration/adapters.rb +7 -1
  59. data/lib/compass/sass_extensions/functions.rb +5 -0
  60. data/lib/compass/sass_extensions/functions/constants.rb +2 -2
  61. data/lib/compass/sass_extensions/functions/cross_browser_support.rb +176 -1
  62. data/lib/compass/sass_extensions/functions/display.rb +24 -19
  63. data/lib/compass/sass_extensions/functions/env.rb +37 -8
  64. data/lib/compass/sass_extensions/functions/gradient_support.rb +10 -13
  65. data/lib/compass/sass_extensions/functions/math.rb +31 -13
  66. data/lib/compass/sass_extensions/functions/sprites.rb +48 -25
  67. data/lib/compass/sass_extensions/monkey_patches/browser_support.rb +42 -13
  68. data/lib/compass/sass_extensions/sprites/image.rb +14 -4
  69. data/lib/compass/sass_extensions/sprites/image_methods.rb +19 -3
  70. data/lib/compass/sprite_importer/content.erb +8 -7
  71. data/lib/compass/watcher/project_watcher.rb +75 -42
  72. data/lib/compass/watcher/watch.rb +35 -17
  73. data/test/fixtures/sprites/public/images/focus/ten-by-ten.png +0 -0
  74. data/test/fixtures/sprites/public/images/focus/ten-by-ten_active.png +0 -0
  75. data/test/fixtures/sprites/public/images/focus/ten-by-ten_focus.png +0 -0
  76. data/test/fixtures/sprites/public/images/focus/ten-by-ten_hover.png +0 -0
  77. data/test/fixtures/sprites/public/images/focus/ten-by-ten_target.png +0 -0
  78. data/test/fixtures/stylesheets/compass/config.rb +1 -0
  79. data/test/fixtures/stylesheets/compass/css/animation-with-legacy-ie.css +1 -9
  80. data/test/fixtures/stylesheets/compass/css/animation.css +1 -9
  81. data/test/fixtures/stylesheets/compass/css/appearance.css +3 -0
  82. data/test/fixtures/stylesheets/compass/css/background-clip.css +4 -8
  83. data/test/fixtures/stylesheets/compass/css/background-origin.css +4 -8
  84. data/test/fixtures/stylesheets/compass/css/background-size.css +3 -10
  85. data/test/fixtures/stylesheets/compass/css/border_radius.css +3 -3
  86. data/test/fixtures/stylesheets/compass/css/{box-sizeing.css → box-sizing.css} +2 -2
  87. data/test/fixtures/stylesheets/compass/css/box_shadow.css +15 -5
  88. data/test/fixtures/stylesheets/compass/css/brightness.css +14 -0
  89. data/test/fixtures/stylesheets/compass/css/browser-support.css +306 -0
  90. data/test/fixtures/stylesheets/compass/css/color.css +18 -0
  91. data/test/fixtures/stylesheets/compass/css/columns.css +27 -18
  92. data/test/fixtures/stylesheets/compass/css/filters.css +6 -6
  93. data/test/fixtures/stylesheets/compass/css/flexbox.css +84 -111
  94. data/test/fixtures/stylesheets/compass/css/fonts.css +1 -1
  95. data/test/fixtures/stylesheets/compass/css/gradients.css +53 -53
  96. data/test/fixtures/stylesheets/compass/css/grid_background.css +11 -11
  97. data/test/fixtures/stylesheets/compass/css/hyphenation.css +2 -4
  98. data/test/fixtures/stylesheets/compass/css/lists.css +6 -12
  99. data/test/fixtures/stylesheets/compass/css/regions.css +2 -2
  100. data/test/fixtures/stylesheets/compass/css/selection.css +41 -4
  101. data/test/fixtures/stylesheets/compass/css/sprites_with_explicit_separator.css +16 -0
  102. data/test/fixtures/stylesheets/compass/css/support.css +62 -0
  103. data/test/fixtures/stylesheets/compass/css/transform.css +64 -136
  104. data/test/fixtures/stylesheets/compass/css/transition.css +27 -45
  105. data/test/fixtures/stylesheets/compass/css/typography/links/hover-link.css +4 -0
  106. data/test/fixtures/stylesheets/compass/css/user-interface.css +34 -7
  107. data/test/fixtures/stylesheets/compass/css/utilities.css +7 -7
  108. data/test/fixtures/stylesheets/compass/css/vertical_rhythm.css +6 -9
  109. data/test/fixtures/stylesheets/compass/images/flag_states-sc42d7bf926.png +0 -0
  110. data/test/fixtures/stylesheets/compass/images/flag_states/foo.png +0 -0
  111. data/test/fixtures/stylesheets/compass/images/flag_states/foo_active.png +0 -0
  112. data/test/fixtures/stylesheets/compass/images/flag_states/foo_focus.png +0 -0
  113. data/test/fixtures/stylesheets/compass/images/flag_states/foo_hover.png +0 -0
  114. data/test/fixtures/stylesheets/compass/images/flag_states/foo_target.png +0 -0
  115. data/test/fixtures/stylesheets/compass/sass/animation-with-legacy-ie.scss +1 -3
  116. data/test/fixtures/stylesheets/compass/sass/appearance.scss +5 -0
  117. data/test/fixtures/stylesheets/compass/sass/background-clip.scss +0 -5
  118. data/test/fixtures/stylesheets/compass/sass/background-origin.scss +0 -5
  119. data/test/fixtures/stylesheets/compass/sass/background-size.scss +0 -5
  120. data/test/fixtures/stylesheets/compass/sass/{box-sizeing.scss → box-sizing.scss} +1 -1
  121. data/test/fixtures/stylesheets/compass/sass/box_shadow.scss +2 -0
  122. data/test/fixtures/stylesheets/compass/sass/brightness.scss +12 -0
  123. data/test/fixtures/stylesheets/compass/sass/browser-support.scss +30 -0
  124. data/test/fixtures/stylesheets/compass/sass/color.scss +22 -0
  125. data/test/fixtures/stylesheets/compass/sass/filters.scss +1 -0
  126. data/test/fixtures/stylesheets/compass/sass/flexbox.scss +84 -40
  127. data/test/fixtures/stylesheets/compass/sass/gradients.sass +3 -2
  128. data/test/fixtures/stylesheets/compass/sass/selection.scss +29 -4
  129. data/test/fixtures/stylesheets/compass/sass/sprites_with_explicit_separator.scss +7 -0
  130. data/test/fixtures/stylesheets/compass/sass/support.scss +137 -0
  131. data/test/fixtures/stylesheets/compass/sass/transition.scss +0 -3
  132. data/test/fixtures/stylesheets/compass/sass/typography/links/hover-link.scss +3 -0
  133. data/test/fixtures/stylesheets/compass/sass/user-interface.scss +16 -5
  134. data/test/fixtures/stylesheets/compass/sass/utilities.scss +4 -4
  135. data/test/fixtures/stylesheets/envtest/css/env.css +4 -4
  136. data/test/fixtures/stylesheets/envtest/tmp/env.css +4 -4
  137. data/test/integrations/sprites_test.rb +30 -1
  138. data/test/test_helper.rb +2 -2
  139. data/test/units/caniuse_test.rb +115 -0
  140. data/test/units/command_line_test.rb +1 -0
  141. data/test/units/sass_extensions_test.rb +5 -0
  142. data/test/units/sprites/image_test.rb +12 -0
  143. data/test/units/sprites/sprite_map_test.rb +11 -0
  144. data/test/units/watcher/project_watcher_test.rb +26 -18
  145. metadata +96 -42
  146. data/examples/compass/src/pie.scss +0 -110
  147. data/frameworks/compass/stylesheets/compass/css3/_transform-legacy.scss +0 -87
  148. data/frameworks/compass/templates/pie/LICENSE +0 -12
  149. data/frameworks/compass/templates/pie/LICENSE-APACHE2.txt +0 -13
  150. data/frameworks/compass/templates/pie/LICENSE-GPL2.txt +0 -278
  151. data/frameworks/compass/templates/pie/PIE.htc +0 -96
  152. data/frameworks/compass/templates/pie/manifest.rb +0 -39
  153. data/frameworks/compass/templates/pie/pie.scss +0 -74
  154. data/lib/compass/sass_extensions/functions/utility.rb +0 -10
  155. data/test/fixtures/stylesheets/compass/css/pie.css +0 -23
  156. data/test/fixtures/stylesheets/compass/sass/pie.scss +0 -47
@@ -1,134 +1,116 @@
1
1
  .single-transition-without-delay {
2
- -webkit-transition: all 0.6s ease-out;
3
2
  -moz-transition: all 0.6s ease-out;
4
3
  -o-transition: all 0.6s ease-out;
4
+ -webkit-transition: all 0.6s ease-out;
5
5
  transition: all 0.6s ease-out; }
6
6
 
7
7
  .single-transition-with-delay {
8
- -webkit-transition: all 0.6s ease-out;
9
- -webkit-transition-delay: 0.2s;
10
8
  -moz-transition: all 0.6s ease-out 0.2s;
11
9
  -o-transition: all 0.6s ease-out 0.2s;
10
+ -webkit-transition: all 0.6s ease-out;
11
+ -webkit-transition-delay: 0.2s;
12
12
  transition: all 0.6s ease-out 0.2s; }
13
13
 
14
- .transition-duration-string {
15
- -webkit-transition-duration: 0.2s, 0.5s, 0.2s;
16
- -moz-transition-duration: 0.2s, 0.5s, 0.2s;
17
- -o-transition-duration: 0.2s, 0.5s, 0.2s;
18
- transition-duration: 0.2s, 0.5s, 0.2s; }
19
-
20
14
  .transition-duration-list {
21
- -webkit-transition-duration: 0.2s, 0.5s, 0.2s;
22
15
  -moz-transition-duration: 0.2s, 0.5s, 0.2s;
23
16
  -o-transition-duration: 0.2s, 0.5s, 0.2s;
17
+ -webkit-transition-duration: 0.2s, 0.5s, 0.2s;
24
18
  transition-duration: 0.2s, 0.5s, 0.2s; }
25
19
 
26
20
  .multiple-transition-durations {
27
- -webkit-transition-duration: 0.2s, 0.5s, 0.2s;
28
21
  -moz-transition-duration: 0.2s, 0.5s, 0.2s;
29
22
  -o-transition-duration: 0.2s, 0.5s, 0.2s;
23
+ -webkit-transition-duration: 0.2s, 0.5s, 0.2s;
30
24
  transition-duration: 0.2s, 0.5s, 0.2s; }
31
25
 
32
26
  .single-transform-transition-without-delay {
33
- -webkit-transition: -webkit-transform 0.6s ease-out;
34
27
  -moz-transition: -moz-transform 0.6s ease-out;
35
28
  -o-transition: -o-transform 0.6s ease-out;
29
+ -webkit-transition: -webkit-transform 0.6s ease-out;
36
30
  transition: transform 0.6s ease-out; }
37
31
 
38
32
  .single-transform-transition-with-delay {
39
- -webkit-transition: -webkit-transform 0.6s ease-out;
40
- -webkit-transition-delay: 0.2s;
41
33
  -moz-transition: -moz-transform 0.6s ease-out 0.2s;
42
34
  -o-transition: -o-transform 0.6s ease-out 0.2s;
35
+ -webkit-transition: -webkit-transform 0.6s ease-out;
36
+ -webkit-transition-delay: 0.2s;
43
37
  transition: transform 0.6s ease-out 0.2s; }
44
38
 
45
39
  .transform-transition {
46
- -webkit-transition: -webkit-transform 0.6s ease-out;
47
40
  -moz-transition: -moz-transform 0.6s ease-out;
48
41
  -o-transition: -o-transform 0.6s ease-out;
42
+ -webkit-transition: -webkit-transform 0.6s ease-out;
49
43
  transition: transform 0.6s ease-out; }
50
44
 
51
45
  .multiple-transitions {
52
- -webkit-transition: -webkit-transform 0.6s ease-out, opacity 0.2s ease-in;
53
- -moz-transition: -moz-transform 0.6s ease-out, opacity 0.2s ease-in;
54
- -o-transition: -o-transform 0.6s ease-out, opacity 0.2s ease-in;
55
- transition: transform 0.6s ease-out, opacity 0.2s ease-in; }
46
+ -moz-transition: -moz-transform 0.6s ease-out opacity 0.2s ease-in;
47
+ -o-transition: -o-transform 0.6s ease-out opacity 0.2s ease-in;
48
+ -webkit-transition: -webkit-transform 0.6s ease-out opacity 0.2s ease-in;
49
+ transition: transform 0.6s ease-out opacity 0.2s ease-in; }
56
50
 
57
51
  .transition-property {
58
- -webkit-transition-property: -webkit-transform;
59
52
  -moz-transition-property: -moz-transform;
60
53
  -o-transition-property: -o-transform;
54
+ -webkit-transition-property: -webkit-transform;
61
55
  transition-property: transform; }
62
56
 
63
57
  .transition-properties {
64
- -webkit-transition-property: -webkit-transform, opacity, width, height, left, top;
65
58
  -moz-transition-property: -moz-transform, opacity, width, height, left, top;
66
59
  -o-transition-property: -o-transform, opacity, width, height, left, top;
60
+ -webkit-transition-property: -webkit-transform, opacity, width, height, left, top;
67
61
  transition-property: transform, opacity, width, height, left, top; }
68
62
 
69
63
  .multiple-transition-properties {
70
- -webkit-transition-property: opacity, -webkit-transform, left;
71
64
  -moz-transition-property: opacity, -moz-transform, left;
72
65
  -o-transition-property: opacity, -o-transform, left;
66
+ -webkit-transition-property: opacity, -webkit-transform, left;
73
67
  transition-property: opacity, transform, left; }
74
68
 
75
69
  .default-transition {
76
- -webkit-transition: all 1s;
77
70
  -moz-transition: all 1s;
78
71
  -o-transition: all 1s;
72
+ -webkit-transition: all 1s;
79
73
  transition: all 1s; }
80
74
 
81
75
  .transition-timing {
82
- -webkit-transition-timing-function: ease-in;
83
76
  -moz-transition-timing-function: ease-in;
84
77
  -o-transition-timing-function: ease-in;
78
+ -webkit-transition-timing-function: ease-in;
85
79
  transition-timing-function: ease-in; }
86
80
 
87
81
  .transition-timings {
88
- -webkit-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
89
82
  -moz-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
90
83
  -o-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
84
+ -webkit-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
91
85
  transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0); }
92
86
 
93
87
  .transition-timings-list {
94
- -webkit-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
95
88
  -moz-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
96
89
  -o-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
90
+ -webkit-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
97
91
  transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0); }
98
92
 
99
- .transition-timings-string {
100
- -webkit-transition-timing-function: ease-in, cubic-bezier(1,0,1,0);
101
- -moz-transition-timing-function: ease-in, cubic-bezier(1,0,1,0);
102
- -o-transition-timing-function: ease-in, cubic-bezier(1,0,1,0);
103
- transition-timing-function: ease-in, cubic-bezier(1,0,1,0); }
104
-
105
93
  .transition-delay {
106
- -webkit-transition-delay: 1s;
107
94
  -moz-transition-delay: 1s;
108
95
  -o-transition-delay: 1s;
96
+ -webkit-transition-delay: 1s;
109
97
  transition-delay: 1s; }
110
98
 
111
99
  .transition-delays {
112
- -webkit-transition-delay: 1s, 2s, 3s;
113
100
  -moz-transition-delay: 1s, 2s, 3s;
114
101
  -o-transition-delay: 1s, 2s, 3s;
102
+ -webkit-transition-delay: 1s, 2s, 3s;
115
103
  transition-delay: 1s, 2s, 3s; }
116
104
 
117
105
  .transition-delays-list {
118
- -webkit-transition-delay: 1s, 2s, 3s;
119
106
  -moz-transition-delay: 1s, 2s, 3s;
120
107
  -o-transition-delay: 1s, 2s, 3s;
121
- transition-delay: 1s, 2s, 3s; }
122
-
123
- .transition-delays-string {
124
108
  -webkit-transition-delay: 1s, 2s, 3s;
125
- -moz-transition-delay: 1s, 2s, 3s;
126
- -o-transition-delay: 1s, 2s, 3s;
127
109
  transition-delay: 1s, 2s, 3s; }
128
110
 
129
111
  .regression-912 {
130
- -webkit-transition: background-color 0.5s ease-in, width 0.5s ease-out, height 0.5s ease-in, top 0.5s ease-out;
131
- -webkit-transition-delay: 0s, 0s, 0s, 0s;
132
- -moz-transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s;
133
- -o-transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s;
134
- transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s; }
112
+ -moz-transition: background-color, 0.5s, ease-in, 0s width 0.5s ease-out 0s height 0.5s ease-in 0s top 0.5s ease-out 0s;
113
+ -o-transition: background-color, 0.5s, ease-in, 0s width 0.5s ease-out 0s height 0.5s ease-in 0s top 0.5s ease-out 0s;
114
+ -webkit-transition: background-color, 0.5s, ease-in, 0s width 0.5s ease-out 0s height 0.5s ease-in 0s;
115
+ -webkit-transition-delay: top 0.5s ease-out 0s;
116
+ transition: background-color 0.5s ease-in 0s width 0.5s ease-out 0s height 0.5s ease-in 0s top 0.5s ease-out 0s; }
@@ -0,0 +1,4 @@
1
+ a {
2
+ text-decoration: none; }
3
+ a:hover, a:focus {
4
+ text-decoration: underline; }
@@ -1,25 +1,52 @@
1
1
  .user-select {
2
2
  -moz-user-select: -moz-none;
3
- -webkit-user-select: none;
4
3
  -ms-user-select: none;
4
+ -webkit-user-select: none;
5
5
  user-select: none; }
6
6
 
7
- ::-webkit-input-placeholder {
7
+ *:-moz-placeholder {
8
+ color: #bfbfbf;
9
+ font-style: italic; }
10
+ *::-moz-placeholder {
8
11
  color: #bfbfbf;
9
12
  font-style: italic; }
10
- :-moz-placeholder {
13
+ *:-ms-input-placeholder {
11
14
  color: #bfbfbf;
12
15
  font-style: italic; }
13
- :-ms-input-placeholder {
16
+ *::-webkit-input-placeholder {
14
17
  color: #bfbfbf;
15
18
  font-style: italic; }
16
19
 
17
- .input-placeholder::-webkit-input-placeholder {
20
+ input:-moz-placeholder, textarea:-moz-placeholder {
18
21
  color: #bfbfbf;
19
22
  font-style: italic; }
20
- .input-placeholder:-moz-placeholder {
23
+ input::-moz-placeholder, textarea::-moz-placeholder {
21
24
  color: #bfbfbf;
22
25
  font-style: italic; }
23
- .input-placeholder:-ms-input-placeholder {
26
+ input:-ms-input-placeholder, textarea:-ms-input-placeholder {
24
27
  color: #bfbfbf;
25
28
  font-style: italic; }
29
+ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
30
+ color: #bfbfbf;
31
+ font-style: italic; }
32
+
33
+ .sets-up-browser-support-for-content:-moz-placeholder {
34
+ prefix: -moz;
35
+ -moz-prefix: true;
36
+ -ms-prefix: false;
37
+ -webkit-prefix: false; }
38
+ .sets-up-browser-support-for-content::-moz-placeholder {
39
+ prefix: -moz;
40
+ -moz-prefix: true;
41
+ -ms-prefix: false;
42
+ -webkit-prefix: false; }
43
+ .sets-up-browser-support-for-content:-ms-input-placeholder {
44
+ prefix: -ms;
45
+ -moz-prefix: false;
46
+ -ms-prefix: true;
47
+ -webkit-prefix: false; }
48
+ .sets-up-browser-support-for-content::-webkit-input-placeholder {
49
+ prefix: -webkit;
50
+ -moz-prefix: false;
51
+ -ms-prefix: false;
52
+ -webkit-prefix: true; }
@@ -20,20 +20,20 @@
20
20
  clear: both; }
21
21
 
22
22
  p.light {
23
- background-color: #b0201e;
23
+ background-color: #f3aead;
24
24
  color: black; }
25
25
 
26
26
  p.dark {
27
- background-color: #5f1210;
27
+ background-color: #a22321;
28
28
  color: white; }
29
29
 
30
30
  p.light-with-args {
31
- background-color: #b0201e;
32
- color: green; }
31
+ background-color: #f3aead;
32
+ color: blue; }
33
33
 
34
34
  p.dark-with-args {
35
- background-color: #5f1210;
36
- color: blue; }
35
+ background-color: #a22321;
36
+ color: yellow; }
37
37
 
38
38
  th {
39
39
  background-color: white; }
@@ -68,4 +68,4 @@ p.ellipsis.moz {
68
68
  -ms-text-overflow: ellipsis;
69
69
  -o-text-overflow: ellipsis;
70
70
  text-overflow: ellipsis;
71
- -moz-binding: url('/tmp/xml/ellipsis.xml#ellipsis'); }
71
+ -moz-binding: url('/tmp/xml/ellipsis.xml#ellipsis'); }
@@ -47,13 +47,13 @@ html {
47
47
  line-height: 1.4em; }
48
48
 
49
49
  .container {
50
- background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
51
50
  background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
52
51
  background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
52
+ background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
53
53
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
54
- -webkit-background-size: 100% 1.4em;
55
54
  -moz-background-size: 100% 1.4em;
56
55
  -o-background-size: 100% 1.4em;
56
+ -webkit-background-size: 100% 1.4em;
57
57
  background-size: 100% 1.4em;
58
58
  background-position: left top; }
59
59
 
@@ -99,13 +99,13 @@ html {
99
99
  line-height: 1.4em; }
100
100
 
101
101
  .container {
102
- background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
103
102
  background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
104
103
  background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
104
+ background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
105
105
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
106
- -webkit-background-size: 100% 1.4rem;
107
106
  -moz-background-size: 100% 1.4rem;
108
107
  -o-background-size: 100% 1.4rem;
108
+ -webkit-background-size: 100% 1.4rem;
109
109
  background-size: 100% 1.4rem;
110
110
  background-position: left top; }
111
111
 
@@ -160,21 +160,18 @@ blockquote {
160
160
  padding: 1.34444rem; }
161
161
 
162
162
  /* New using px output */
163
- * html {
164
- font-size: 112.5%; }
165
-
166
163
  html {
167
164
  font-size: 18px;
168
165
  line-height: 25px; }
169
166
 
170
167
  .container {
171
- background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
172
168
  background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
173
169
  background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
170
+ background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
174
171
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
175
- -webkit-background-size: 100% 25px;
176
172
  -moz-background-size: 100% 25px;
177
173
  -o-background-size: 100% 25px;
174
+ -webkit-background-size: 100% 25px;
178
175
  background-size: 100% 25px;
179
176
  background-position: left top; }
180
177
 
@@ -1,9 +1,7 @@
1
1
  @import "compass/css3/animation";
2
2
  @import "compass/css3/opacity";
3
3
 
4
- $legacy-support-for-ie8: true;
5
- $legacy-support-for-ie7: true;
6
- $legacy-support-for-ie6: true;
4
+ $browser-minimum-versions: (ie: "6");
7
5
 
8
6
  @include keyframes(test) {
9
7
  0%, 100% {
@@ -0,0 +1,5 @@
1
+ @import "compass/css3/appearance";
2
+
3
+ .searchfield {
4
+ @include appearance(searchfield);
5
+ }
@@ -3,8 +3,3 @@
3
3
  .background-clip { @include background-clip('border-box'); }
4
4
 
5
5
  .background-clip-multiple { @include background-clip('border-box', padding-box, content-box); }
6
-
7
- .background-clip-khtml {
8
- $experimental-support-for-khtml:true;
9
- @include background-clip(border-box);
10
- }
@@ -3,8 +3,3 @@
3
3
  .background-origin { @include background-origin('border-box'); }
4
4
 
5
5
  .background-origin-multiple { @include background-origin('border-box', padding-box, content-box); }
6
-
7
- .background-origin-khtml {
8
- $experimental-support-for-khtml:true;
9
- @include background-origin(border-box);
10
- }
@@ -5,8 +5,3 @@
5
5
  .background-size-single { @include background-size(50% 25%); }
6
6
 
7
7
  .background-size-multiple { @include background-size(4em 3em, $default-background-size, 50%); }
8
-
9
- .background-size-khtml {
10
- $experimental-support-for-khtml:true;
11
- @include background-size;
12
- }
@@ -5,4 +5,4 @@
5
5
  }
6
6
  .div {
7
7
  @include box-sizing(border-box);
8
- }
8
+ }
@@ -1,5 +1,7 @@
1
1
  @import "compass/css3/box-shadow";
2
2
 
3
+ .no-box-shadow { @include box-shadow(none); }
3
4
  .box-shadow { @include box-shadow(default, 2px 2px 5px #222);}
4
5
  .single-box-shadow { @include single-box-shadow;}
5
6
  .multiple-box-shadows { @include box-shadow(default, 2px 2px 5px #222);}
7
+ .legacy-single-box-shadow { @include single-box-shadow(blue);}
@@ -0,0 +1,12 @@
1
+ @import "compass/utilities/color/brightness";
2
+
3
+ .black-is-0-percent {
4
+ brightness: brightness(black); }
5
+ .white-is-100-percent {
6
+ brightness: brightness(white); }
7
+ .green-is-58-point-7-percent {
8
+ brightness: brightness(#00ff00); }
9
+ .blue-is-11-point-4-percent {
10
+ brightness: brightness(#0000ff); }
11
+ .red-is-29-point-9-percent {
12
+ brightness: brightness(#ff0000); }
@@ -0,0 +1,30 @@
1
+ @import "compass/support";
2
+ @import "compass/css3/flexbox";
3
+
4
+ @function unprefixed-at-version($browser, $capability) {
5
+ $options: if($capability == flexbox, $flexbox-capability-options, $default-capability-options);
6
+ @each $version in browser-versions($browser) {
7
+ @if not browser-requires-prefix($browser, $version, $capability, $options) {
8
+ @return $version;
9
+ }
10
+ }
11
+ @return null;
12
+ }
13
+ @each $browser in browsers() {
14
+ $prefix: browser-prefix($browser);
15
+ .#{$browser} {
16
+ $versions: browser-versions($browser);
17
+ versions: $versions;
18
+ @each $capability in browser-capabilities() {
19
+ $options: if($capability == flexbox, $flexbox-capability-options, $default-capability-options);
20
+ @if browser-requires-prefix($browser, nth($versions, 1), $capability, $options) {
21
+ @if prefix-usage($prefix, $capability, $options) > 0.1 {
22
+ #{$capability}: $prefix;
23
+ } @else {
24
+ #{$capability}: prefix-no-longer-needed;
25
+ }
26
+ #{$capability}-unprefixed-at: unprefixed-at-version($browser, $capability);
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,22 @@
1
+ @import "compass/utilities/color";
2
+
3
+ .handles-null {
4
+ content: "there should be no property below this one";
5
+ color: contrast-color(null);
6
+ }
7
+
8
+ .contrasts-light {
9
+ @include contrasted(#eee);
10
+ }
11
+
12
+ .contrasts-dark {
13
+ @include contrasted(#222);
14
+ }
15
+
16
+ .contrasts-light-with-contrast-color-override {
17
+ @include contrasted(#eee, $dark: red);
18
+ }
19
+
20
+ .contrasts-dark-with-contrast-color-override {
21
+ @include contrasted(#222, $light: yellow);
22
+ }