compass-unsemantic 0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. data/lib/compass-unsemantic.rb +3 -0
  2. data/stylesheets/_compass-unsemantic.scss +13 -0
  3. data/stylesheets/javascripts/adapt.min.js +1 -0
  4. data/stylesheets/javascripts/demo.js +76 -0
  5. data/stylesheets/javascripts/html5.js +4 -0
  6. data/stylesheets/javascripts/jquery.js +5 -0
  7. data/stylesheets/sass/demo.sass +4 -0
  8. data/stylesheets/sass/ie-rtl.sass +10 -0
  9. data/stylesheets/sass/ie.sass +3 -0
  10. data/stylesheets/sass/partials/_demo.sass +50 -0
  11. data/stylesheets/sass/partials/_ie.sass +8 -0
  12. data/stylesheets/sass/partials/_reset.sass +187 -0
  13. data/stylesheets/sass/partials/_text.sass +71 -0
  14. data/stylesheets/sass/partials/_unsemantic-grid-base-tablet.sass +60 -0
  15. data/stylesheets/sass/partials/_unsemantic-grid-base.sass +54 -0
  16. data/stylesheets/sass/partials/_unsemantic-grid-desktop.sass +96 -0
  17. data/stylesheets/sass/partials/_unsemantic-grid-mobile.sass +96 -0
  18. data/stylesheets/sass/partials/_unsemantic-grid-responsive-tablet.sass +22 -0
  19. data/stylesheets/sass/partials/_unsemantic-grid-responsive.sass +17 -0
  20. data/stylesheets/sass/partials/_unsemantic-grid-tablet.sass +96 -0
  21. data/stylesheets/sass/partials/_unsemantic-ie-snap.sass +12 -0
  22. data/stylesheets/sass/partials/_unsemantic-vars.sass +224 -0
  23. data/stylesheets/sass/unsemantic-grid-base-no-ie7-rtl.sass +11 -0
  24. data/stylesheets/sass/unsemantic-grid-base-no-ie7.sass +4 -0
  25. data/stylesheets/sass/unsemantic-grid-base-rtl.sass +9 -0
  26. data/stylesheets/sass/unsemantic-grid-base-tablet-no-ie7-rtl.sass +11 -0
  27. data/stylesheets/sass/unsemantic-grid-base-tablet-no-ie7.sass +5 -0
  28. data/stylesheets/sass/unsemantic-grid-base-tablet-rtl.sass +9 -0
  29. data/stylesheets/sass/unsemantic-grid-base-tablet.sass +4 -0
  30. data/stylesheets/sass/unsemantic-grid-base.sass +2 -0
  31. data/stylesheets/sass/unsemantic-grid-desktop-no-ie7-rtl.sass +10 -0
  32. data/stylesheets/sass/unsemantic-grid-desktop-no-ie7.sass +3 -0
  33. data/stylesheets/sass/unsemantic-grid-desktop-rtl.sass +8 -0
  34. data/stylesheets/sass/unsemantic-grid-desktop.sass +1 -0
  35. data/stylesheets/sass/unsemantic-grid-mobile-no-ie7-rtl.sass +10 -0
  36. data/stylesheets/sass/unsemantic-grid-mobile-no-ie7.sass +3 -0
  37. data/stylesheets/sass/unsemantic-grid-mobile-rtl.sass +8 -0
  38. data/stylesheets/sass/unsemantic-grid-mobile.sass +1 -0
  39. data/stylesheets/sass/unsemantic-grid-responsive-no-ie7-rtl.sass +10 -0
  40. data/stylesheets/sass/unsemantic-grid-responsive-no-ie7.sass +3 -0
  41. data/stylesheets/sass/unsemantic-grid-responsive-rtl.sass +8 -0
  42. data/stylesheets/sass/unsemantic-grid-responsive-tablet-no-ie7-rtl.sass +10 -0
  43. data/stylesheets/sass/unsemantic-grid-responsive-tablet-no-ie7.sass +3 -0
  44. data/stylesheets/sass/unsemantic-grid-responsive-tablet-rtl.sass +8 -0
  45. data/stylesheets/sass/unsemantic-grid-responsive-tablet.sass +1 -0
  46. data/stylesheets/sass/unsemantic-grid-responsive.sass +1 -0
  47. data/stylesheets/sass/unsemantic-grid-tablet-no-ie7-rtl.sass +10 -0
  48. data/stylesheets/sass/unsemantic-grid-tablet-no-ie7.sass +3 -0
  49. data/stylesheets/sass/unsemantic-grid-tablet-rtl.sass +8 -0
  50. data/stylesheets/sass/unsemantic-grid-tablet.sass +1 -0
  51. data/stylesheets/stylesheets/demo.css +303 -0
  52. data/stylesheets/stylesheets/ie-rtl.css +1463 -0
  53. data/stylesheets/stylesheets/ie.css +1463 -0
  54. data/stylesheets/stylesheets/unsemantic-grid-base-no-ie7-rtl.css +55 -0
  55. data/stylesheets/stylesheets/unsemantic-grid-base-no-ie7.css +55 -0
  56. data/stylesheets/stylesheets/unsemantic-grid-base-rtl.css +71 -0
  57. data/stylesheets/stylesheets/unsemantic-grid-base-tablet-no-ie7-rtl.css +55 -0
  58. data/stylesheets/stylesheets/unsemantic-grid-base-tablet-no-ie7.css +55 -0
  59. data/stylesheets/stylesheets/unsemantic-grid-base-tablet-rtl.css +71 -0
  60. data/stylesheets/stylesheets/unsemantic-grid-base-tablet.css +71 -0
  61. data/stylesheets/stylesheets/unsemantic-grid-base.css +71 -0
  62. data/stylesheets/stylesheets/unsemantic-grid-desktop-no-ie7-rtl.css +490 -0
  63. data/stylesheets/stylesheets/unsemantic-grid-desktop-no-ie7.css +490 -0
  64. data/stylesheets/stylesheets/unsemantic-grid-desktop-rtl.css +685 -0
  65. data/stylesheets/stylesheets/unsemantic-grid-desktop.css +685 -0
  66. data/stylesheets/stylesheets/unsemantic-grid-mobile-no-ie7-rtl.css +490 -0
  67. data/stylesheets/stylesheets/unsemantic-grid-mobile-no-ie7.css +490 -0
  68. data/stylesheets/stylesheets/unsemantic-grid-mobile-rtl.css +685 -0
  69. data/stylesheets/stylesheets/unsemantic-grid-mobile.css +685 -0
  70. data/stylesheets/stylesheets/unsemantic-grid-responsive-no-ie7-rtl.css +1044 -0
  71. data/stylesheets/stylesheets/unsemantic-grid-responsive-no-ie7.css +1044 -0
  72. data/stylesheets/stylesheets/unsemantic-grid-responsive-rtl.css +1450 -0
  73. data/stylesheets/stylesheets/unsemantic-grid-responsive-tablet-no-ie7-rtl.css +1536 -0
  74. data/stylesheets/stylesheets/unsemantic-grid-responsive-tablet-no-ie7.css +1536 -0
  75. data/stylesheets/stylesheets/unsemantic-grid-responsive-tablet-rtl.css +2137 -0
  76. data/stylesheets/stylesheets/unsemantic-grid-responsive-tablet.css +2137 -0
  77. data/stylesheets/stylesheets/unsemantic-grid-responsive.css +1450 -0
  78. data/stylesheets/stylesheets/unsemantic-grid-tablet-no-ie7-rtl.css +490 -0
  79. data/stylesheets/stylesheets/unsemantic-grid-tablet-no-ie7.css +490 -0
  80. data/stylesheets/stylesheets/unsemantic-grid-tablet-rtl.css +685 -0
  81. data/stylesheets/stylesheets/unsemantic-grid-tablet.css +685 -0
  82. metadata +141 -0
@@ -0,0 +1,60 @@
1
+ @import "unsemantic-vars"
2
+
3
+ // `Body & Container
4
+ //----------------------------------------------------------------------------------------------------
5
+
6
+ body
7
+ min-width: 320px
8
+
9
+ .grid-container
10
+ @extend %grid-container
11
+
12
+ // `Clear floated elements.
13
+ //----------------------------------------------------------------------------------------------------
14
+
15
+ .clear
16
+ @extend %clear
17
+
18
+ .clearfix
19
+ @extend %clearfix
20
+
21
+ // `Grid columns.
22
+ //----------------------------------------------------------------------------------------------------
23
+
24
+ //
25
+ // For 5 through 100 percent.
26
+ //
27
+
28
+ @for $i from 1 through 20
29
+ $num: $i * 5
30
+
31
+ .grid-#{$num}
32
+ @extend %grid-columns-all
33
+
34
+ .mobile-grid-#{$num}
35
+ @extend %grid-columns-all
36
+
37
+ .tablet-grid-#{$num}
38
+ @extend %grid-columns-all
39
+
40
+ //
41
+ // For one-third and two-thirds.
42
+ //
43
+
44
+ @for $i from 1 through 2
45
+ $num: $i * 33
46
+
47
+ .grid-#{$num}
48
+ @extend %grid-columns-all
49
+
50
+ .mobile-grid-#{$num}
51
+ @extend %grid-columns-all
52
+
53
+ .tablet-grid-#{$num}
54
+ @extend %grid-columns-all
55
+
56
+ // Remove padding, if it's being used
57
+ // as a parent for other grid columns.
58
+
59
+ .grid-parent
60
+ @extend %grid-parent
@@ -0,0 +1,54 @@
1
+ @import "unsemantic-vars"
2
+
3
+ // `Body & Container
4
+ //----------------------------------------------------------------------------------------------------
5
+
6
+ body
7
+ min-width: 320px
8
+
9
+ .grid-container
10
+ @extend %grid-container
11
+
12
+ // `Clear floated elements.
13
+ //----------------------------------------------------------------------------------------------------
14
+
15
+ .clear
16
+ @extend %clear
17
+
18
+ .clearfix
19
+ @extend %clearfix
20
+
21
+ // `Grid columns.
22
+ //----------------------------------------------------------------------------------------------------
23
+
24
+ //
25
+ // For 5 through 100 percent.
26
+ //
27
+
28
+ @for $i from 1 through 20
29
+ $num: $i * 5
30
+
31
+ .grid-#{$num}
32
+ @extend %grid-columns-all
33
+
34
+ .mobile-grid-#{$num}
35
+ @extend %grid-columns-all
36
+
37
+ //
38
+ // For one-third and two-thirds.
39
+ //
40
+
41
+ @for $i from 1 through 2
42
+ $num: $i * 33
43
+
44
+ .grid-#{$num}
45
+ @extend %grid-columns-all
46
+
47
+ .mobile-grid-#{$num}
48
+ @extend %grid-columns-all
49
+
50
+ // Remove padding, if it's being used
51
+ // as a parent for other grid columns.
52
+
53
+ .grid-parent
54
+ @extend %grid-parent
@@ -0,0 +1,96 @@
1
+ @import "unsemantic-vars"
2
+
3
+ // `Hide on desktop.
4
+ //----------------------------------------------------------------------------------------------------
5
+
6
+ .hide-on-desktop
7
+ @extend %hide
8
+
9
+ // `Grid columns.
10
+ //----------------------------------------------------------------------------------------------------
11
+
12
+ //
13
+ // Full width, just line-break.
14
+ //
15
+
16
+ .grid-100
17
+ @extend %grid-100
18
+
19
+ //
20
+ // For 5 through 95 percent.
21
+ //
22
+
23
+ @for $i from 1 through 19
24
+ $num: $i * 5
25
+
26
+ // Percentage based widths.
27
+ .grid-#{$num}
28
+ @extend %grid-#{$num}
29
+
30
+ // Prefix, to add extra columns before.
31
+ .prefix-#{$num}
32
+ @extend %prefix-#{$num}
33
+
34
+ // Suffix, to add extra columns after.
35
+ .suffix-#{$num}
36
+ @extend %suffix-#{$num}
37
+
38
+ // Push, to rearrange column order (for potential "SEO").
39
+ .push-#{$num}
40
+ @extend %push-#{$num}
41
+
42
+ // Pull, to rearrange column order (for potential "SEO").
43
+ .pull-#{$num}
44
+ @extend %pull-#{$num}
45
+
46
+ //
47
+ // For one-third and two-thirds.
48
+ //
49
+
50
+ @for $i from 1 through 2
51
+ $num: $i * 33
52
+
53
+ // Percentage based widths.
54
+ .grid-#{$num}
55
+ @extend %grid-#{$num}
56
+
57
+ // Prefix, to add extra columns before.
58
+ .prefix-#{$num}
59
+ @extend %prefix-#{$num}
60
+
61
+ // Suffix, to add extra columns after.
62
+ .suffix-#{$num}
63
+ @extend %suffix-#{$num}
64
+
65
+ // Push, to rearrange column order (for potential "SEO").
66
+ .push-#{$num}
67
+ @extend %push-#{$num}
68
+
69
+ // Pull, to rearrange column order (for potential "SEO").
70
+ .pull-#{$num}
71
+ @extend %pull-#{$num}
72
+
73
+ // `Push & Pull, to rearrange column order (for potential "SEO").
74
+ //----------------------------------------------------------------------------------------------------
75
+
76
+ //
77
+ // For 5 through 95 percent.
78
+ //
79
+
80
+ @for $i from 1 through 19
81
+ $num: $i * 5
82
+
83
+ .push-#{$num},
84
+ .pull-#{$num}
85
+ @extend %grid-columns-push-pull
86
+
87
+ //
88
+ // For one-third and two-thirds.
89
+ //
90
+
91
+ @for $i from 1 through 2
92
+ $num: $i * 33
93
+
94
+ .push-#{$num},
95
+ .pull-#{$num}
96
+ @extend %grid-columns-push-pull
@@ -0,0 +1,96 @@
1
+ @import "unsemantic-vars"
2
+
3
+ // `Hide on mobile.
4
+ //----------------------------------------------------------------------------------------------------
5
+
6
+ .hide-on-mobile
7
+ @extend %hide
8
+
9
+ // `Grid columns.
10
+ //----------------------------------------------------------------------------------------------------
11
+
12
+ //
13
+ // Full width, just line-break.
14
+ //
15
+
16
+ .mobile-grid-100
17
+ @extend %grid-100
18
+
19
+ //
20
+ // For 5 through 95 percent.
21
+ //
22
+
23
+ @for $i from 1 through 19
24
+ $num: $i * 5
25
+
26
+ // Percentage based widths.
27
+ .mobile-grid-#{$num}
28
+ @extend %grid-#{$num}
29
+
30
+ // Prefix, to add extra columns before.
31
+ .mobile-prefix-#{$num}
32
+ @extend %prefix-#{$num}
33
+
34
+ // Suffix, to add extra columns after.
35
+ .mobile-suffix-#{$num}
36
+ @extend %suffix-#{$num}
37
+
38
+ // Push, to rearrange column order (for potential "SEO").
39
+ .mobile-push-#{$num}
40
+ @extend %push-#{$num}
41
+
42
+ // Pull, to rearrange column order (for potential "SEO").
43
+ .mobile-pull-#{$num}
44
+ @extend %pull-#{$num}
45
+
46
+ //
47
+ // For one-third and two-thirds.
48
+ //
49
+
50
+ @for $i from 1 through 2
51
+ $num: $i * 33
52
+
53
+ // Percentage based widths.
54
+ .mobile-grid-#{$num}
55
+ @extend %grid-#{$num}
56
+
57
+ // Prefix, to add extra columns before.
58
+ .mobile-prefix-#{$num}
59
+ @extend %prefix-#{$num}
60
+
61
+ // Suffix, to add extra columns after.
62
+ .mobile-suffix-#{$num}
63
+ @extend %suffix-#{$num}
64
+
65
+ // Push, to rearrange column order (for potential "SEO").
66
+ .mobile-push-#{$num}
67
+ @extend %push-#{$num}
68
+
69
+ // Pull, to rearrange column order (for potential "SEO").
70
+ .mobile-pull-#{$num}
71
+ @extend %pull-#{$num}
72
+
73
+ // `Push & Pull, to rearrange column order (for potential "SEO").
74
+ //----------------------------------------------------------------------------------------------------
75
+
76
+ //
77
+ // For 5 through 95 percent.
78
+ //
79
+
80
+ @for $i from 1 through 19
81
+ $num: $i * 5
82
+
83
+ .mobile-push-#{$num},
84
+ .mobile-pull-#{$num}
85
+ @extend %grid-columns-push-pull
86
+
87
+ //
88
+ // For one-third and two-thirds.
89
+ //
90
+
91
+ @for $i from 1 through 2
92
+ $num: $i * 33
93
+
94
+ .mobile-push-#{$num},
95
+ .mobile-pull-#{$num}
96
+ @extend %grid-columns-push-pull
@@ -0,0 +1,22 @@
1
+ /* ================================================================== */
2
+ /* This file has a mobile-to-tablet, and tablet-to-desktop breakpoint */
3
+ /* ================================================================== */
4
+
5
+ $media-mobile-max: 767px !default
6
+ $media-tablet-min: 768px !default
7
+ $media-tablet-max: 1024px !default
8
+ $media-desktop-min: 1025px !default
9
+
10
+ @import "unsemantic-ie-snap"
11
+
12
+ @media screen
13
+ @import "unsemantic-grid-base-tablet"
14
+
15
+ @media screen and (max-width: $media-mobile-max)
16
+ @import "unsemantic-grid-mobile"
17
+
18
+ @media screen and (min-width: $media-tablet-min) and (max-width: $media-tablet-max)
19
+ @import "unsemantic-grid-tablet"
20
+
21
+ @media screen and (min-width: $media-desktop-min)
22
+ @import "unsemantic-grid-desktop"
@@ -0,0 +1,17 @@
1
+ /* ============================================ */
2
+ /* This file has a mobile-to-desktop breakpoint */
3
+ /* ============================================ */
4
+
5
+ $media-mobile-max: 767px !default
6
+ $media-desktop-min: 768px !default
7
+
8
+ @import "unsemantic-ie-snap"
9
+
10
+ @media screen
11
+ @import "unsemantic-grid-base"
12
+
13
+ @media screen and (max-width: $media-mobile-max)
14
+ @import "unsemantic-grid-mobile"
15
+
16
+ @media screen and (min-width: $media-desktop-min)
17
+ @import "unsemantic-grid-desktop"
@@ -0,0 +1,96 @@
1
+ @import "unsemantic-vars"
2
+
3
+ // `Hide on tablet.
4
+ //----------------------------------------------------------------------------------------------------
5
+
6
+ .hide-on-tablet
7
+ @extend %hide
8
+
9
+ // `Grid columns.
10
+ //----------------------------------------------------------------------------------------------------
11
+
12
+ //
13
+ // Full width, just line-break.
14
+ //
15
+
16
+ .tablet-grid-100
17
+ @extend %grid-100
18
+
19
+ //
20
+ // For 5 through 95 percent.
21
+ //
22
+
23
+ @for $i from 1 through 19
24
+ $num: $i * 5
25
+
26
+ // Percentage based widths.
27
+ .tablet-grid-#{$num}
28
+ @extend %grid-#{$num}
29
+
30
+ // Prefix, to add extra columns before.
31
+ .tablet-prefix-#{$num}
32
+ @extend %prefix-#{$num}
33
+
34
+ // Suffix, to add extra columns after.
35
+ .tablet-suffix-#{$num}
36
+ @extend %suffix-#{$num}
37
+
38
+ // Push, to rearrange column order (for potential "SEO").
39
+ .tablet-push-#{$num}
40
+ @extend %push-#{$num}
41
+
42
+ // Pull, to rearrange column order (for potential "SEO").
43
+ .tablet-pull-#{$num}
44
+ @extend %pull-#{$num}
45
+
46
+ //
47
+ // For one-third and two-thirds.
48
+ //
49
+
50
+ @for $i from 1 through 2
51
+ $num: $i * 33
52
+
53
+ // Percentage based widths.
54
+ .tablet-grid-#{$num}
55
+ @extend %grid-#{$num}
56
+
57
+ // Prefix, to add extra columns before.
58
+ .tablet-prefix-#{$num}
59
+ @extend %prefix-#{$num}
60
+
61
+ // Suffix, to add extra columns after.
62
+ .tablet-suffix-#{$num}
63
+ @extend %suffix-#{$num}
64
+
65
+ // Push, to rearrange column order (for potential "SEO").
66
+ .tablet-push-#{$num}
67
+ @extend %push-#{$num}
68
+
69
+ // Pull, to rearrange column order (for potential "SEO").
70
+ .tablet-pull-#{$num}
71
+ @extend %pull-#{$num}
72
+
73
+ // `Push & Pull, to rearrange column order (for potential "SEO").
74
+ //----------------------------------------------------------------------------------------------------
75
+
76
+ //
77
+ // For 5 through 95 percent.
78
+ //
79
+
80
+ @for $i from 1 through 19
81
+ $num: $i * 5
82
+
83
+ .tablet-push-#{$num},
84
+ .tablet-pull-#{$num}
85
+ @extend %grid-columns-push-pull
86
+
87
+ //
88
+ // For one-third and two-thirds.
89
+ //
90
+
91
+ @for $i from 1 through 2
92
+ $num: $i * 33
93
+
94
+ .tablet-push-#{$num},
95
+ .tablet-pull-#{$num}
96
+ @extend %grid-columns-push-pull