compass-inuit 4.5.5.1 → 5.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 (62) hide show
  1. checksums.yaml +15 -0
  2. data/README.md +2 -4
  3. data/stylesheets/_compass-inuit.scss +1 -0
  4. data/stylesheets/compass-inuit/_base.scss +0 -1
  5. data/stylesheets/compass-inuit/_defaults.scss +225 -0
  6. data/stylesheets/compass-inuit/_objects.scss +1 -2
  7. data/stylesheets/compass-inuit/base/_code.scss +4 -4
  8. data/stylesheets/compass-inuit/base/_forms.scss +19 -19
  9. data/stylesheets/compass-inuit/base/_headings.scss +4 -4
  10. data/stylesheets/compass-inuit/base/_images.scss +7 -1
  11. data/stylesheets/compass-inuit/base/_lists.scss +0 -0
  12. data/stylesheets/compass-inuit/base/_main.scss +1 -1
  13. data/stylesheets/compass-inuit/base/_paragraphs.scss +0 -0
  14. data/stylesheets/compass-inuit/base/_quotes.scss +15 -15
  15. data/stylesheets/compass-inuit/base/_smallprint.scss +0 -0
  16. data/stylesheets/compass-inuit/base/_tables.scss +2 -2
  17. data/stylesheets/compass-inuit/generic/_brand.scss +0 -0
  18. data/stylesheets/compass-inuit/generic/_clearfix.scss +3 -9
  19. data/stylesheets/compass-inuit/generic/_debug.scss +3 -3
  20. data/stylesheets/compass-inuit/generic/_helper.scss +99 -27
  21. data/stylesheets/compass-inuit/generic/_mixins.scss +106 -77
  22. data/stylesheets/compass-inuit/generic/_pull.scss +39 -15
  23. data/stylesheets/compass-inuit/generic/_push.scss +39 -15
  24. data/stylesheets/compass-inuit/generic/_reset.scss +3 -3
  25. data/stylesheets/compass-inuit/generic/_shared.scss +1 -1
  26. data/stylesheets/compass-inuit/generic/_widths.scss +6 -2
  27. data/stylesheets/compass-inuit/objects/_arrows.scss +14 -10
  28. data/stylesheets/compass-inuit/objects/_beautons.scss +226 -0
  29. data/stylesheets/compass-inuit/objects/_block-list.scss +10 -6
  30. data/stylesheets/compass-inuit/objects/_breadcrumb.scss +14 -10
  31. data/stylesheets/compass-inuit/objects/_columns.scss +7 -3
  32. data/stylesheets/compass-inuit/objects/_flexbox.scss +15 -11
  33. data/stylesheets/compass-inuit/objects/_flyout.scss +12 -8
  34. data/stylesheets/compass-inuit/objects/_greybox.scss +11 -7
  35. data/stylesheets/compass-inuit/objects/_grids.scss +31 -61
  36. data/stylesheets/compass-inuit/objects/_icon-text.scss +8 -4
  37. data/stylesheets/compass-inuit/objects/_island.scss +8 -4
  38. data/stylesheets/compass-inuit/objects/_link-complex.scss +8 -4
  39. data/stylesheets/compass-inuit/objects/_lozenges.scss +11 -7
  40. data/stylesheets/compass-inuit/objects/_marginalia.scss +5 -1
  41. data/stylesheets/compass-inuit/objects/_matrix.scss +16 -25
  42. data/stylesheets/compass-inuit/objects/_media.scss +12 -8
  43. data/stylesheets/compass-inuit/objects/_nav.scss +26 -22
  44. data/stylesheets/compass-inuit/objects/_options.scss +8 -4
  45. data/stylesheets/compass-inuit/objects/_pagination.scss +11 -7
  46. data/stylesheets/compass-inuit/objects/_rules.scss +11 -7
  47. data/stylesheets/compass-inuit/objects/_split.scss +16 -12
  48. data/stylesheets/compass-inuit/objects/_sprite.scss +36 -30
  49. data/stylesheets/compass-inuit/objects/_stats.scss +7 -3
  50. data/stylesheets/compass-inuit/objects/_this-or-this.scss +8 -4
  51. data/templates/project/_vars.scss +47 -100
  52. data/templates/project/style.scss +3 -4
  53. metadata +7 -18
  54. data/stylesheets/compass-inuit/base/_links.scss +0 -37
  55. data/stylesheets/compass-inuit/objects/_batch.scss +0 -15
  56. data/stylesheets/compass-inuit/objects/_buttons.scss +0 -44
  57. data/templates/batch/assets/batch/batch.eot +0 -0
  58. data/templates/batch/assets/batch/batch.svg +0 -360
  59. data/templates/batch/assets/batch/batch.ttf +0 -0
  60. data/templates/batch/assets/batch/batch.woff +0 -0
  61. data/templates/batch/assets/batch/batch_webfont_reference.pdf +0 -0
  62. data/templates/batch/manifest.rb +0 -21
@@ -5,11 +5,6 @@
5
5
  * Pull classes, to move grid items over to the right by certain amounts.
6
6
  */
7
7
 
8
- /**
9
- * Not a particularly great selector, but the DRYest way to do things.
10
- */
11
- [class*="pull--"]{ position:relative; }
12
-
13
8
  @mixin pull-setup($namespace: "") {
14
9
 
15
10
  /**
@@ -100,24 +95,53 @@
100
95
  .pull--#{$namespace}eleven-twelfths { right:91.666%; }
101
96
  }
102
97
 
98
+ @if $pull == true{
99
+
100
+ /**
101
+ * Not a particularly great selector, but the DRYest way to do things.
102
+ */
103
+ [class*="pull--"]{ position:relative; }
104
+
103
105
  @include pull-setup();
104
106
 
105
- @if $responsive-pull == true{
107
+ @if $palm-pull == true{
108
+
109
+ @include media-query(palm){
110
+ @include pull-setup("palm-");
111
+ }
106
112
 
107
- @include media-query(palm){
108
- @include pull-setup("palm-");
109
113
  }
110
114
 
111
- @include media-query(lap){
112
- @include pull-setup("lap-");
115
+ @if $lap-pull == true{
116
+
117
+ @include media-query(lap){
118
+ @include pull-setup("lap-");
119
+ }
120
+
113
121
  }
114
122
 
115
- @include media-query(portable){
116
- @include pull-setup("portable-");
123
+ @if $lap-and-up-pull == true{
124
+
125
+ @include media-query(lap-and-up){
126
+ @include pull-setup("lap-and-up-");
127
+ }
128
+
117
129
  }
118
130
 
119
- @include media-query(desk){
120
- @include pull-setup("desk-");
131
+ @if $portable-pull == true{
132
+
133
+ @include media-query(portable){
134
+ @include pull-setup("portable-");
135
+ }
136
+
137
+ }
138
+
139
+ @if $desk-pull == true{
140
+
141
+ @include media-query(desk){
142
+ @include pull-setup("desk-");
143
+ }
144
+
121
145
  }
122
146
 
123
- } /* endif */
147
+ }//endif
@@ -5,11 +5,6 @@
5
5
  * Push classes, to move grid items over to the right by certain amounts.
6
6
  */
7
7
 
8
- /**
9
- * Not a particularly great selector, but the DRYest way to do things.
10
- */
11
- [class*="push--"]{ position:relative; }
12
-
13
8
  @mixin push-setup($namespace: "") {
14
9
 
15
10
  /**
@@ -100,24 +95,53 @@
100
95
  .push--#{$namespace}eleven-twelfths { left:91.666%; }
101
96
  }
102
97
 
98
+ @if $push == true{
99
+
103
100
  @include push-setup();
104
101
 
105
- @if $responsive-push == true{
102
+ /**
103
+ * Not a particularly great selector, but the DRYest way to do things.
104
+ */
105
+ [class*="push--"]{ position:relative; }
106
+
107
+ @if $palm-push == true{
108
+
109
+ @include media-query(palm){
110
+ @include push-setup("palm-");
111
+ }
106
112
 
107
- @include media-query(palm){
108
- @include push-setup("palm-");
109
113
  }
110
114
 
111
- @include media-query(lap){
112
- @include push-setup("lap-");
115
+ @if $lap-push == true{
116
+
117
+ @include media-query(lap){
118
+ @include push-setup("lap-");
119
+ }
120
+
113
121
  }
114
122
 
115
- @include media-query(portable){
116
- @include push-setup("portable-");
123
+ @if $lap-and-up-push == true{
124
+
125
+ @include media-query(lap-and-up){
126
+ @include push-setup("lap-and-up-");
127
+ }
128
+
117
129
  }
118
130
 
119
- @include media-query(desk){
120
- @include push-setup("desk-");
131
+ @if $portable-push == true{
132
+
133
+ @include media-query(portable){
134
+ @include push-setup("portable-");
135
+ }
136
+
137
+ }
138
+
139
+ @if $desk-push == true{
140
+
141
+ @include media-query(desk){
142
+ @include push-setup("desk-");
143
+ }
144
+
121
145
  }
122
146
 
123
- } /* endif */
147
+ }//endif
@@ -2,13 +2,13 @@
2
2
  $RESET
3
3
  \*------------------------------------*/
4
4
  /**
5
- * A more considered reset; more of a restart...
5
+ * A more considered reset; more of a restart...
6
6
  * As per: csswizardry.com/2011/10/reset-restarted
7
7
  */
8
8
 
9
9
  @if $global-border-box == true{
10
10
  /**
11
- * Let’s make the box model all nice, shall we…?
11
+ * Let’s make the box model all nice, shall we...?
12
12
  */
13
13
  *{
14
14
  &,
@@ -42,7 +42,7 @@ abbr[title],dfn[title]{
42
42
  /**
43
43
  * Remove underlines from potentially troublesome elements.
44
44
  */
45
- a,u,ins{
45
+ u,ins{
46
46
  text-decoration:none;
47
47
  }
48
48
 
@@ -24,7 +24,7 @@ pre,
24
24
  .islet{
25
25
  margin-bottom:$base-spacing-unit;
26
26
  margin-bottom:($base-spacing-unit / $base-font-size)*1rem;
27
-
27
+
28
28
  .islet &{
29
29
  margin-bottom:$base-spacing-unit / 2;
30
30
  margin-bottom:(($base-spacing-unit / $base-font-size) / 2)*1rem;
@@ -105,7 +105,7 @@
105
105
 
106
106
  /**
107
107
  * If you have set `$responsive` to ‘true’ in `_vars.scss` then you now have
108
- * access to these classes. You can define at which breakpoing you’d like an
108
+ * access to these classes. You can define at which breakpoint you’d like an
109
109
  * element to be a certain size, e.g.:
110
110
  *
111
111
  * `<div class="g one-quarter lap-one-half palm-one-whole"> ... </div>`
@@ -128,6 +128,10 @@
128
128
  @include grid-setup("lap-");
129
129
  }
130
130
 
131
+ @include media-query(lap-and-up){
132
+ @include grid-setup("lap-and-up-");
133
+ }
134
+
131
135
  @include media-query(portable){
132
136
  @include grid-setup("portable-");
133
137
  }
@@ -146,7 +150,7 @@
146
150
  @if $responsive-extra == true{
147
151
 
148
152
  @include media-query(desk-wide){
149
- @include grid-setup("deskwide-");
153
+ @include grid-setup("desk-wide-");
150
154
  }
151
155
 
152
156
  }
@@ -1,3 +1,5 @@
1
+ @if $use-arrows == true{
2
+
1
3
  /*------------------------------------*\
2
4
  $ARROWS
3
5
  \*------------------------------------*/
@@ -17,7 +19,7 @@ $arrow: $arrow-size - $arrow-border;
17
19
  */
18
20
  %arrow{
19
21
  position:relative;
20
-
22
+
21
23
  &:before,
22
24
  &:after{
23
25
  content:"";
@@ -38,7 +40,7 @@ $arrow: $arrow-size - $arrow-border;
38
40
  */
39
41
  %arrow--top{
40
42
  @extend %arrow;
41
-
43
+
42
44
  &:before,
43
45
  &:after{
44
46
  bottom:100%;
@@ -47,7 +49,7 @@ $arrow: $arrow-size - $arrow-border;
47
49
 
48
50
  %arrow--upper{
49
51
  @extend %arrow;
50
-
52
+
51
53
  &:before{
52
54
  top:$arrow;
53
55
  }
@@ -71,7 +73,7 @@ $arrow: $arrow-size - $arrow-border;
71
73
 
72
74
  %arrow--lower{
73
75
  @extend %arrow;
74
-
76
+
75
77
  &:before{
76
78
  bottom:$arrow;
77
79
  }
@@ -82,7 +84,7 @@ $arrow: $arrow-size - $arrow-border;
82
84
 
83
85
  %arrow--bottom{
84
86
  @extend %arrow;
85
-
87
+
86
88
  &:before,
87
89
  &:after{
88
90
  top:100%;
@@ -91,7 +93,7 @@ $arrow: $arrow-size - $arrow-border;
91
93
 
92
94
  %arrow--near{
93
95
  @extend %arrow;
94
-
96
+
95
97
  &:before,
96
98
  &:after{
97
99
  right:100%;
@@ -100,7 +102,7 @@ $arrow: $arrow-size - $arrow-border;
100
102
 
101
103
  %arrow--left{
102
104
  @extend %arrow;
103
-
105
+
104
106
  &:before{
105
107
  left:$arrow;
106
108
  }
@@ -111,7 +113,7 @@ $arrow: $arrow-size - $arrow-border;
111
113
 
112
114
  %arrow--center{
113
115
  @extend %arrow;
114
-
116
+
115
117
  &:before,
116
118
  &:after{
117
119
  left:50%;
@@ -124,7 +126,7 @@ $arrow: $arrow-size - $arrow-border;
124
126
 
125
127
  %arrow--right{
126
128
  @extend %arrow;
127
-
129
+
128
130
  &:before{
129
131
  right:$arrow;
130
132
  }
@@ -135,9 +137,11 @@ $arrow: $arrow-size - $arrow-border;
135
137
 
136
138
  %arrow--far{
137
139
  @extend %arrow;
138
-
140
+
139
141
  &:before,
140
142
  &:after{
141
143
  left:100%;
142
144
  }
143
145
  }
146
+
147
+ }//endif
@@ -0,0 +1,226 @@
1
+ @if $use-beautons == true{
2
+
3
+ /*------------------------------------*\
4
+ $BEAUTONS.CSS
5
+ \*------------------------------------*/
6
+ /**
7
+ * beautons is a beautifully simple button toolkit.
8
+ *
9
+ * LICENSE
10
+ *
11
+ * Copyright 2013 Harry Roberts
12
+ *
13
+ * Licensed under the Apache License, Version 2.0 (the "License");
14
+ * you may not use this file except in compliance with the License.
15
+ * You may obtain a copy of the License at
16
+ *
17
+ * http://apache.org/licenses/LICENSE-2.0
18
+ *
19
+ * Unless required by applicable law or agreed to in writing, software
20
+ * distributed under the License is distributed on an "AS IS" BASIS,
21
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
+ * See the License for the specific language governing permissions and
23
+ * limitations under the License.
24
+ *
25
+ */
26
+
27
+
28
+ /*!*
29
+ *
30
+ * @csswizardry -- csswizardry.com/beautons
31
+ *
32
+ */
33
+
34
+
35
+
36
+
37
+
38
+ /*------------------------------------*\
39
+ $BASE
40
+ \*------------------------------------*/
41
+ /**
42
+ * Base button styles.
43
+ *
44
+ * 1. Allow us to better style box model properties.
45
+ * 2. Line different sized buttons up a little nicer.
46
+ * 3. Stop buttons wrapping and looking broken.
47
+ * 4. Make buttons inherit font styles.
48
+ * 5. Force all elements using beautons to appear clickable.
49
+ * 6. Normalise box model styles.
50
+ * 7. If the button’s text is 1em, and the button is (3 * font-size) tall, then
51
+ * there is 1em of space above and below that text. We therefore apply 1em
52
+ * of space to the left and right, as padding, to keep consistent spacing.
53
+ * 8. Basic cosmetics for default buttons. Change or override at will.
54
+ * 9. Don’t allow buttons to have underlines; it kinda ruins the illusion.
55
+ */
56
+ .btn{
57
+ display:inline-block; /* [1] */
58
+ vertical-align:middle; /* [2] */
59
+ white-space:nowrap; /* [3] */
60
+ font-family:inherit; /* [4] */
61
+ font-size:100%; /* [4] */
62
+ cursor:pointer; /* [5] */
63
+ border:none; /* [6] */
64
+ margin:0; /* [6] */
65
+ padding-top: 0; /* [6] */
66
+ padding-bottom:0; /* [6] */
67
+ line-height:3; /* [7] */
68
+ padding-right:1em; /* [7] */
69
+ padding-left: 1em; /* [7] */
70
+ border-radius:$brand-round; /* [8] */
71
+ }
72
+
73
+ .btn{
74
+
75
+ &,
76
+ &:hover{
77
+ text-decoration:none; /* [9] */
78
+ }
79
+
80
+ &:active,
81
+ &:focus{
82
+ outline:none;
83
+ }
84
+ }
85
+
86
+
87
+
88
+
89
+
90
+ /*------------------------------------*\
91
+ $SIZES
92
+ \*------------------------------------*/
93
+ /**
94
+ * Button size modifiers.
95
+ *
96
+ * These all follow the same sizing rules as above; text is 1em, space around it
97
+ * remains uniform.
98
+ */
99
+ .btn--small{
100
+ padding-right:0.5em;
101
+ padding-left: 0.5em;
102
+ line-height:2;
103
+ }
104
+
105
+ .btn--large{
106
+ padding-right:1.5em;
107
+ padding-left: 1.5em;
108
+ line-height:4;
109
+ }
110
+
111
+ .btn--huge{
112
+ padding-right:2em;
113
+ padding-left: 2em;
114
+ line-height:5;
115
+ }
116
+
117
+ /**
118
+ * These buttons will fill the entirety of their container.
119
+ *
120
+ * 1. Remove padding so that widths and paddings don’t conflict.
121
+ */
122
+ .btn--full{
123
+ width:100%;
124
+ padding-right:0; /* [1] */
125
+ padding-left: 0; /* [1] */
126
+ text-align:center;
127
+ }
128
+
129
+
130
+
131
+
132
+
133
+ /*------------------------------------*\
134
+ $FONT-SIZES
135
+ \*------------------------------------*/
136
+ /**
137
+ * Button font-size modifiers.
138
+ */
139
+ .btn--alpha{
140
+ font-size:3rem;
141
+ }
142
+
143
+ .btn--beta{
144
+ font-size:2rem;
145
+ }
146
+
147
+ .btn--gamma{
148
+ font-size:1rem;
149
+ }
150
+
151
+ /**
152
+ * Make the button inherit sizing from its parent.
153
+ */
154
+ .btn--natural{
155
+ vertical-align:baseline;
156
+ font-size:inherit;
157
+ line-height:inherit;
158
+ padding-right:0.5em;
159
+ padding-left: 0.5em;
160
+ }
161
+
162
+
163
+
164
+
165
+
166
+ /*------------------------------------*\
167
+ $FUNCTIONS
168
+ \*------------------------------------*/
169
+ /**
170
+ * Button function modifiers.
171
+ */
172
+ .btn--primary{}
173
+ .btn--secondary{}
174
+ .btn--tertiary{}
175
+
176
+ /**
177
+ * Positive actions; e.g. sign in, purchase, submit, etc.
178
+ */
179
+ .btn--positive{
180
+ background-color:#4A993E;
181
+ color:#fff;
182
+ }
183
+
184
+ /**
185
+ * Negative actions; e.g. close account, delete photo, remove friend, etc.
186
+ */
187
+ .btn--negative{
188
+ background-color:#b33630;
189
+ color:#fff;
190
+ }
191
+
192
+ /**
193
+ * Inactive, disabled buttons.
194
+ *
195
+ * 1. Make the button look like normal text when hovered.
196
+ */
197
+ .btn--inactive,
198
+ .btn--inactive:hover,
199
+ .btn--inactive:active,
200
+ .btn--inactive:focus{
201
+ background-color:#ddd;
202
+ color:#777;
203
+ cursor:text; /* [1] */
204
+ }
205
+
206
+
207
+
208
+
209
+
210
+ /*------------------------------------*\
211
+ $STYLES
212
+ \*------------------------------------*/
213
+ /**
214
+ * Button style modifiers.
215
+ *
216
+ * 1. Use an overly-large number to ensure completely rounded, pill-like ends.
217
+ */
218
+ .btn--soft{
219
+ border-radius:200px; /* [1] */
220
+ }
221
+
222
+ .btn--hard{
223
+ border-radius:0;
224
+ }
225
+
226
+ }//endif