stitch 0.1.3.1 → 0.1.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Stitch
2
- VERSION = "0.1.3.1"
2
+ VERSION = "0.1.3.2"
3
3
  end
@@ -8,4 +8,5 @@
8
8
  @import 'patterns/legacy';
9
9
  @import 'patterns/mobile';
10
10
  @import 'patterns/print';
11
- @import 'patterns/text';
11
+ @import 'patterns/text';
12
+ //@import 'patterns/responsive';
@@ -250,6 +250,10 @@ a:active {
250
250
  outline: none;
251
251
  }
252
252
 
253
+ a img{
254
+ border: none;
255
+ }
256
+
253
257
 
254
258
  // Set sub, sup without affecting line-height: gist.github.com/413930
255
259
  sub,sup {
@@ -1,2 +1,3 @@
1
1
  @import 'animation/hardware-acceleration';
2
- @import 'animation/timing-functions';
2
+ @import 'animation/timing-functions';
3
+ //@import 'animation/keyframes';
@@ -7,4 +7,5 @@
7
7
  @import 'layout/pseudo-elements';
8
8
  @import 'layout/absolute';
9
9
  @import 'layout/relative';
10
+ @import 'layout/move';
10
11
  @import 'layout/float-children';
@@ -1,2 +1,3 @@
1
1
  @import 'legacy/has-layout';
2
- @import 'legacy/inline-block';
2
+ @import 'legacy/inline-block';
3
+ //@import 'legacy/hacks';
@@ -0,0 +1 @@
1
+ @import 'responsive/media';
@@ -2,4 +2,5 @@
2
2
  @import 'text/font-stacks';
3
3
  @import 'text/hyphens';
4
4
  @import 'text/rem';
5
- @import 'text/justify';
5
+ @import 'text/justify';
6
+ //@import 'text/selection';
@@ -0,0 +1,5 @@
1
+ @mixin keyframes {
2
+ @-webkit-keyframes { @content; }
3
+ @-moz-keyframes { @content; }
4
+ @keyframes { @content; }
5
+ }
@@ -5,7 +5,7 @@
5
5
  display : block;
6
6
  text-indent : -9999em;
7
7
  overflow : hidden;
8
- background-repeat : no-repeat;
8
+ background-repeat : no-repeat;
9
9
  text-align : left;
10
10
  direction : ltr;
11
11
  }
@@ -1,11 +1,15 @@
1
- @mixin float-children($children:false,$direction:left) {
1
+ @mixin float-children($children:false,$direction:left,$width:false) {
2
2
  @include clear-floats;
3
3
 
4
4
  @if $children == false {
5
- $children: '*';
6
- }
5
+ $children: '*';
6
+ }
7
7
 
8
- & > #{$children} {
9
- float:$direction;
10
- }
8
+ & > #{$children} {
9
+ float:$direction;
10
+
11
+ @if $width != false {
12
+ width: $width;
13
+ }
14
+ }
11
15
  }
@@ -0,0 +1,19 @@
1
+ @mixin move-up($x) {
2
+ position:relative;
3
+ top:-$x;
4
+ }
5
+
6
+ @mixin move-down($x) {
7
+ position:relative;
8
+ top:$x;
9
+ }
10
+
11
+ @mixin move-left($x) {
12
+ position:relative;
13
+ left:-$x;
14
+ }
15
+
16
+ @mixin move-right($x) {
17
+ position:relative;
18
+ left:$x;
19
+ }
@@ -0,0 +1,7 @@
1
+ @mixin ie6-hack {
2
+ * html { @content }
3
+ }
4
+
5
+ @mixin ie7-hack {
6
+ *+html { @content }
7
+ }
@@ -0,0 +1,53 @@
1
+ @mixin mobile {
2
+ @media only screen and (min-width : 320px) and (max-width : 480px) {
3
+ @content;
4
+ }
5
+ }
6
+
7
+ @mixin mobile-portrait {
8
+ @media only screen and (max-width : 320px) {
9
+ @content;
10
+ }
11
+ }
12
+
13
+ @mixin mobile-landscape {
14
+ @media only screen and (min-width : 321px) {
15
+ @content;
16
+ }
17
+ }
18
+
19
+ @mixin tablet {
20
+ @media only screen and (min-width : 768px) and (max-width : 1024px) {
21
+ @content;
22
+ }
23
+ }
24
+
25
+ @mixin tablet-portrait {
26
+ @media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
27
+ @content;
28
+ }
29
+ }
30
+
31
+ @mixin tablet-landscape {
32
+ @media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
33
+ @content;
34
+ }
35
+ }
36
+
37
+ @mixin desktop {
38
+ @media only screen and (min-width : 1224px) {
39
+ @content;
40
+ }
41
+ }
42
+
43
+ @mixin wide-screen {
44
+ @media only screen and (min-width : 1824px) {
45
+ @content;
46
+ }
47
+ }
48
+
49
+ @mixin retina {
50
+ @media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {
51
+ @content;
52
+ }
53
+ }
@@ -0,0 +1,8 @@
1
+ @mixin text-selection {
2
+ ::selection {
3
+ @content;
4
+ }
5
+ ::-moz-selection {
6
+ @content;
7
+ }
8
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stitch
3
3
  version: !ruby/object:Gem::Version
4
- hash: 73
4
+ hash: 79
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
9
  - 3
10
- - 1
11
- version: 0.1.3.1
10
+ - 2
11
+ version: 0.1.3.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Anthony Short
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-09-22 00:00:00 +10:00
19
+ date: 2011-09-27 00:00:00 +10:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -64,9 +64,11 @@ files:
64
64
  - stylesheets/stitch/patterns/_legacy.scss
65
65
  - stylesheets/stitch/patterns/_mobile.scss
66
66
  - stylesheets/stitch/patterns/_print.scss
67
+ - stylesheets/stitch/patterns/_responsive.scss
67
68
  - stylesheets/stitch/patterns/_text.scss
68
69
  - stylesheets/stitch/patterns/accessibility/_hide-content.scss
69
70
  - stylesheets/stitch/patterns/animation/_hardware-acceleration.scss
71
+ - stylesheets/stitch/patterns/animation/_keyframes.scss
70
72
  - stylesheets/stitch/patterns/animation/_timing-functions.scss
71
73
  - stylesheets/stitch/patterns/forms/_search-fields.scss
72
74
  - stylesheets/stitch/patterns/images/_image-rendering.scss
@@ -78,19 +80,23 @@ files:
78
80
  - stylesheets/stitch/patterns/layout/_float-children.scss
79
81
  - stylesheets/stitch/patterns/layout/_force-scrollbars.scss
80
82
  - stylesheets/stitch/patterns/layout/_media.scss
83
+ - stylesheets/stitch/patterns/layout/_move.scss
81
84
  - stylesheets/stitch/patterns/layout/_pseudo-elements.scss
82
85
  - stylesheets/stitch/patterns/layout/_relative.scss
83
86
  - stylesheets/stitch/patterns/layout/_simple-gradient.scss
87
+ - stylesheets/stitch/patterns/legacy/_hacks.scss
84
88
  - stylesheets/stitch/patterns/legacy/_has-layout.scss
85
89
  - stylesheets/stitch/patterns/legacy/_inline-block.scss
86
90
  - stylesheets/stitch/patterns/mobile/_fixed-text.scss
87
91
  - stylesheets/stitch/patterns/print/_append-content.scss
88
92
  - stylesheets/stitch/patterns/print/_text.scss
93
+ - stylesheets/stitch/patterns/responsive/_media.scss
89
94
  - stylesheets/stitch/patterns/text/.sass-cache/920421d458a84b7a73054dd233bdbe8adead02f9/_rem.scssc
90
95
  - stylesheets/stitch/patterns/text/_font-stacks.scss
91
96
  - stylesheets/stitch/patterns/text/_hyphens.scss
92
97
  - stylesheets/stitch/patterns/text/_justify.scss
93
98
  - stylesheets/stitch/patterns/text/_rem.scss
99
+ - stylesheets/stitch/patterns/text/_selection.scss
94
100
  - stylesheets/stitch/patterns/text/_text-rendering.scss
95
101
  has_rdoc: true
96
102
  homepage: https://github.com/anthonyshort/stitch-css