compass-inuit 4.3 → 4.3.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 (51) hide show
  1. data/README.md +3 -10
  2. data/stylesheets/_compass-inuit.scss +2 -2
  3. data/stylesheets/partials/_objects.scss +1 -1
  4. data/stylesheets/partials/base/_code.scss +0 -0
  5. data/stylesheets/partials/base/_forms.scss +1 -1
  6. data/stylesheets/partials/base/_headings.scss +0 -0
  7. data/stylesheets/partials/base/_images.scss +0 -0
  8. data/stylesheets/partials/base/_links.scss +1 -1
  9. data/stylesheets/partials/base/_lists.scss +0 -0
  10. data/stylesheets/partials/base/_main.scss +1 -1
  11. data/stylesheets/partials/base/_paragraphs.scss +0 -0
  12. data/stylesheets/partials/base/_quotes.scss +0 -0
  13. data/stylesheets/partials/base/_smallprint.scss +0 -0
  14. data/stylesheets/partials/base/_tables.scss +2 -2
  15. data/stylesheets/partials/generic/_brand.scss +0 -0
  16. data/stylesheets/partials/generic/_clearfix.scss +0 -0
  17. data/stylesheets/partials/generic/_debug.scss +0 -0
  18. data/stylesheets/partials/generic/_helper.scss +4 -4
  19. data/stylesheets/partials/generic/_mixins.scss +9 -9
  20. data/stylesheets/partials/generic/_normalize.scss +0 -0
  21. data/stylesheets/partials/generic/_pull.scss +0 -0
  22. data/stylesheets/partials/generic/_push.scss +0 -0
  23. data/stylesheets/partials/generic/_reset.scss +0 -0
  24. data/stylesheets/partials/generic/_shared.scss +10 -10
  25. data/stylesheets/partials/generic/_widths.scss +0 -0
  26. data/stylesheets/partials/objects/_arrows.scss +14 -14
  27. data/stylesheets/partials/objects/_block-list.scss +3 -3
  28. data/stylesheets/partials/objects/_breadcrumb.scss +0 -0
  29. data/stylesheets/partials/objects/_buttons.scss +0 -0
  30. data/stylesheets/partials/objects/_columns.scss +1 -1
  31. data/stylesheets/partials/objects/_flexbox.scss +0 -0
  32. data/stylesheets/partials/objects/_flyout.scss +0 -0
  33. data/stylesheets/partials/objects/_greybox.scss +6 -6
  34. data/stylesheets/partials/objects/_grids.scss +2 -2
  35. data/stylesheets/partials/objects/_icon-text.scss +0 -0
  36. data/stylesheets/partials/objects/_island.scss +2 -2
  37. data/stylesheets/partials/objects/_link-complex.scss +28 -0
  38. data/stylesheets/partials/objects/_lozenges.scss +4 -4
  39. data/stylesheets/partials/objects/_matrix.scss +3 -3
  40. data/stylesheets/partials/objects/_media.scss +4 -4
  41. data/stylesheets/partials/objects/_nav.scss +1 -1
  42. data/stylesheets/partials/objects/_options.scss +2 -2
  43. data/stylesheets/partials/objects/_pagination.scss +3 -3
  44. data/stylesheets/partials/objects/_rules.scss +2 -2
  45. data/stylesheets/partials/objects/_split.scss +0 -0
  46. data/stylesheets/partials/objects/_sprite.scss +0 -0
  47. data/stylesheets/partials/objects/_stats.scss +2 -2
  48. data/stylesheets/partials/objects/_this-or-this.scss +0 -0
  49. data/templates/project/sass/_vars.scss +18 -18
  50. metadata +2 -2
  51. data/stylesheets/partials/objects/_complex-link.scss +0 -28
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ![inuit.css](http://csswizardry.com/inuitcss/img/logo.jpg)
1
+ # ![inuit.css](http://i.imgur.com/dkBoq.png)
2
2
 
3
3
  A powerful little Compass extension for inuit.css for _insanely serious_ developers who use Compass.
4
4
 
@@ -6,7 +6,7 @@ A powerful little Compass extension for inuit.css for _insanely serious_ develop
6
6
 
7
7
  ### Bundler
8
8
  If you want to bundle into your app, install bundler.
9
-
9
+
10
10
  $ sudo gem install bundler
11
11
 
12
12
  With Bundler installed, add this to your Gemfile.
@@ -22,7 +22,7 @@ Run this in the command line:
22
22
 
23
23
  ### Manual
24
24
  If bundler isn't your thing, install this gem.
25
-
25
+
26
26
  $ sudo gem install compass-inuit
27
27
 
28
28
  Next in your Compass project add this to your config.rb
@@ -47,15 +47,8 @@ Imports have been branched out in this extension, additionally you can use these
47
47
 
48
48
  @import "inuit/objects";
49
49
 
50
- ## Support inuit.css
51
-
52
- If you use and/or like inuit.css, perhaps you might consider [supporting it
53
- through Gumroad](http://gum.co/nOoht).
54
50
 
55
51
  ## Credits
56
52
  Based on **[Harry Roberts's](http://github.com/csswizardry)** inuit.css framework.
57
53
 
58
54
  This extension was created by **[Stephen Way](http://github.com/stephenway)**
59
-
60
- **inuit.css is the most powerful little framework out there, and it’s ready to
61
- go!**
@@ -18,7 +18,7 @@
18
18
  * take care to read and refer to them as you build. For further support please
19
19
  * tweet at @inuitcss.
20
20
  *
21
- * Owing to the amount of comments please only ever use `inuit.min.css` in
21
+ * Owing to the amount of comments please only ever use minified CSS in
22
22
  * production. This file is purely a dev document.
23
23
  *
24
24
  * The table of contents below maps to section titles of the same name, to jump
@@ -92,7 +92,7 @@
92
92
  * MATRIX..............Gridded lists
93
93
  * SPLIT...............A simple split-in-two object
94
94
  * THIS-OR-THIS........Options object
95
- * COMPLEX-LINK........
95
+ * LINK-COMPLEX........
96
96
  * FLYOUT..............Flyout-on-hover object
97
97
  * ARROWS..............CSS arrows
98
98
  * SPRITE..............Generic spriting element
@@ -6,13 +6,13 @@
6
6
  @import "partials/objects/breadcrumb";
7
7
  @import "partials/objects/buttons";
8
8
  @import "partials/objects/columns";
9
- @import "partials/objects/complex-link";
10
9
  @import "partials/objects/flexbox";
11
10
  @import "partials/objects/flyout";
12
11
  @import "partials/objects/greybox";
13
12
  @import "partials/objects/grids";
14
13
  @import "partials/objects/icon-text";
15
14
  @import "partials/objects/island";
15
+ @import "partials/objects/link-complex";
16
16
  @import "partials/objects/lozenges";
17
17
  @import "partials/objects/matrix";
18
18
  @import "partials/objects/media";
File without changes
@@ -7,7 +7,7 @@
7
7
  *
8
8
  */
9
9
  fieldset{
10
- padding:$base-spacing-unit +px;
10
+ padding:$base-spacing-unit;
11
11
  }
12
12
 
13
13
 
File without changes
File without changes
@@ -7,7 +7,7 @@
7
7
  * Sometimes, particularly on larger projects, it is useful to scope link
8
8
  * styling only to anchors which have `href` attributes.
9
9
  */
10
- a:link{
10
+ a{
11
11
  /**
12
12
  * Set colors etc in your theme stylesheet.
13
13
  */
File without changes
@@ -2,7 +2,7 @@
2
2
  $MAIN
3
3
  \*------------------------------------*/
4
4
  html{
5
- font:($base-font-size / 16 +em)/($line-height-ratio) serif;
5
+ font:#{($base-font-size/16px)*1em}/#{$line-height-ratio} serif;
6
6
  overflow-y:scroll;
7
7
  min-height:100%;
8
8
  }
File without changes
File without changes
File without changes
@@ -60,9 +60,9 @@ table{
60
60
  }
61
61
  th,
62
62
  td{
63
- padding:$base-spacing-unit / 4 +px;
63
+ padding:$base-spacing-unit / 4;
64
64
  @media screen and (min-width:480px){
65
- padding:$half-spacing-unit +px;
65
+ padding:$half-spacing-unit;
66
66
  }
67
67
  text-align:left;
68
68
  }
File without changes
File without changes
File without changes
@@ -20,12 +20,12 @@
20
20
  * Pull items full width of `.island` parents.
21
21
  */
22
22
  .full-bleed{
23
- margin-right:-$base-spacing-unit +px;
24
- margin-left: -$base-spacing-unit +px;
23
+ margin-right:-$base-spacing-unit;
24
+ margin-left: -$base-spacing-unit;
25
25
 
26
26
  .islet &{
27
- margin-right:-($half-spacing-unit) +px;
28
- margin-left: -($half-spacing-unit) +px;
27
+ margin-right:-($half-spacing-unit);
28
+ margin-left: -($half-spacing-unit);
29
29
  }
30
30
  }
31
31
 
@@ -5,14 +5,14 @@
5
5
  * Create a fully formed type style (sizing and vertical rhythm) by passing in a
6
6
  * single value, e.g.:
7
7
  *
8
- `@include font-size(10);`
8
+ `@include font-size(10px);`
9
9
  *
10
10
  * Thanks to @redclov3r for the `line-height` Sass:
11
11
  * twitter.com/redclov3r/status/250301539321798657
12
12
  */
13
13
  @mixin font-size($font-size){
14
- font-size:$font-size +px;
15
- font-size:$font-size / $base-font-size +rem;
14
+ font-size:$font-size;
15
+ font-size:($font-size / $base-font-size)*1rem;
16
16
  line-height:ceil($font-size / $base-line-height) * ($base-line-height / $font-size);
17
17
  }
18
18
 
@@ -253,32 +253,32 @@
253
253
  *
254
254
  * We work out your end points for you:
255
255
  */
256
- $palm-end: $lap-start +-1;
257
- $lap-end: $desk-start +-1;
256
+ $palm-end: $lap-start - 1px;
257
+ $lap-end: $desk-start - 1px;
258
258
 
259
259
  @mixin media-query($media-query){
260
260
 
261
261
  @if $media-query == palm{
262
262
 
263
- @media only screen and (max-width:$palm-end +px) { @content; }
263
+ @media only screen and (max-width:$palm-end) { @content; }
264
264
 
265
265
  }
266
266
 
267
267
  @if $media-query == lap{
268
268
 
269
- @media only screen and (min-width:$lap-start +px) and (max-width:$lap-end +px) { @content; }
269
+ @media only screen and (min-width:$lap-start) and (max-width:$lap-end) { @content; }
270
270
 
271
271
  }
272
272
 
273
273
  @if $media-query == portable{
274
274
 
275
- @media only screen and (max-width:$lap-end +px) { @content; }
275
+ @media only screen and (max-width:$lap-end) { @content; }
276
276
 
277
277
  }
278
278
 
279
279
  @if $media-query == desk{
280
280
 
281
- @media only screen and (min-width:$desk-start +px) { @content; }
281
+ @media only screen and (min-width:$desk-start) { @content; }
282
282
 
283
283
  }
284
284
 
File without changes
File without changes
File without changes
File without changes
@@ -22,12 +22,12 @@ pre,
22
22
  .media,
23
23
  .island,
24
24
  .islet{
25
- margin-bottom:$base-spacing-unit +px;
26
- margin-bottom:($base-spacing-unit / $base-font-size) +rem;
25
+ margin-bottom:$base-spacing-unit;
26
+ margin-bottom:($base-spacing-unit / $base-font-size)*1rem;
27
27
 
28
28
  .islet &{
29
- margin-bottom:($base-spacing-unit / 2) +px;
30
- margin-bottom:(($base-spacing-unit / $base-font-size) / 2) +rem;
29
+ margin-bottom:$base-spacing-unit / 2;
30
+ margin-bottom:(($base-spacing-unit / $base-font-size) / 2)*1rem;
31
31
  }
32
32
  }
33
33
 
@@ -36,8 +36,8 @@ pre,
36
36
  * Doubled up `margin-bottom` helper class.
37
37
  */
38
38
  .landmark{
39
- margin-bottom:2 * $base-spacing-unit +px;
40
- margin-bottom:2 * $base-spacing-unit / $base-font-size +rem;
39
+ margin-bottom:2 * $base-spacing-unit;
40
+ margin-bottom:(2 * $base-spacing-unit / $base-font-size)*1rem;
41
41
  }
42
42
 
43
43
 
@@ -46,8 +46,8 @@ pre,
46
46
  * treatment regarding vertical rhythm.
47
47
  */
48
48
  hr{
49
- margin-bottom:($base-spacing-unit - 2) +px;
50
- margin-bottom:($base-spacing-unit - 2) / $base-font-size +rem;
49
+ margin-bottom:$base-spacing-unit - 2px;
50
+ margin-bottom:(($base-spacing-unit - 2px) / $base-font-size)*1rem;
51
51
  }
52
52
 
53
53
 
@@ -56,6 +56,6 @@ hr{
56
56
  * by a consistent amount. Define that amount once, here.
57
57
  */
58
58
  ul,ol,dd{
59
- margin-left:2 * $base-spacing-unit +px;
60
- margin-left:2 * $base-spacing-unit / $base-font-size +rem;
59
+ margin-left:2 * $base-spacing-unit;
60
+ margin-left:(2 * $base-spacing-unit / $base-font-size)*1rem;
61
61
  }
File without changes
@@ -25,10 +25,10 @@ $arrow: $arrow-size - $arrow-border;
25
25
  border-collapse:separate;
26
26
  }
27
27
  &:before{
28
- border:$border +px solid transparent;
28
+ border:$border solid transparent;
29
29
  }
30
30
  &:after{
31
- border:$arrow +px solid transparent;
31
+ border:$arrow solid transparent;
32
32
  }
33
33
  }
34
34
 
@@ -49,10 +49,10 @@ $arrow: $arrow-size - $arrow-border;
49
49
  @extend %arrow;
50
50
 
51
51
  &:before{
52
- top:$arrow +px;
52
+ top:$arrow;
53
53
  }
54
54
  &:after{
55
- top:$border +px;
55
+ top:$border;
56
56
  }
57
57
  }
58
58
 
@@ -62,10 +62,10 @@ $arrow: $arrow-size - $arrow-border;
62
62
  &:before,
63
63
  &:after{
64
64
  top:50%;
65
- margin-top:-($border +px);
65
+ margin-top:-$border;
66
66
  }
67
67
  &:after{
68
- margin-top:-($arrow +px);
68
+ margin-top:-$arrow;
69
69
  }
70
70
  }
71
71
 
@@ -73,10 +73,10 @@ $arrow: $arrow-size - $arrow-border;
73
73
  @extend %arrow;
74
74
 
75
75
  &:before{
76
- bottom:$arrow +px;
76
+ bottom:$arrow;
77
77
  }
78
78
  &:after{
79
- bottom:$border +px;
79
+ bottom:$border;
80
80
  }
81
81
  }
82
82
 
@@ -102,10 +102,10 @@ $arrow: $arrow-size - $arrow-border;
102
102
  @extend %arrow;
103
103
 
104
104
  &:before{
105
- left:$arrow +px;
105
+ left:$arrow;
106
106
  }
107
107
  &:after{
108
- left:$border +px;
108
+ left:$border;
109
109
  }
110
110
  }
111
111
 
@@ -115,10 +115,10 @@ $arrow: $arrow-size - $arrow-border;
115
115
  &:before,
116
116
  &:after{
117
117
  left:50%;
118
- margin-left:-($border +px);
118
+ margin-left:-$border;
119
119
  }
120
120
  &:after{
121
- margin-left:-($arrow +px);
121
+ margin-left:-$arrow;
122
122
  }
123
123
  }
124
124
 
@@ -126,10 +126,10 @@ $arrow: $arrow-size - $arrow-border;
126
126
  @extend %arrow;
127
127
 
128
128
  &:before{
129
- right:$arrow +px;
129
+ right:$arrow;
130
130
  }
131
131
  &:after{
132
- right:$border +px;
132
+ right:$border;
133
133
  }
134
134
  }
135
135
 
@@ -30,11 +30,11 @@
30
30
 
31
31
  > li{
32
32
  border-bottom-width:1px;
33
- padding:$half-spacing-unit +px;
33
+ padding:$half-spacing-unit;
34
34
  }
35
35
  }
36
36
  .block-list__link{
37
37
  display:block;
38
- padding:$half-spacing-unit +px;
39
- margin:-$half-spacing-unit +px;
38
+ padding:$half-spacing-unit;
39
+ margin:-$half-spacing-unit;
40
40
  }
File without changes
File without changes
@@ -10,7 +10,7 @@
10
10
  *
11
11
  */
12
12
  %text-cols{
13
- @include vendor(column-gap, $base-spacing-unit +px);
13
+ @include vendor(column-gap, $base-spacing-unit);
14
14
  }
15
15
  .text-cols--2 { @extend %text-cols; @include vendor(column-count, 2); }
16
16
  .text-cols--3 { @extend %text-cols; @include vendor(column-count, 3); }
File without changes
File without changes
@@ -25,7 +25,7 @@
25
25
  */
26
26
  .greybox,
27
27
  .graybox{
28
- @include font-size(12);
28
+ @include font-size(12px);
29
29
  font-family:sans-serif;
30
30
  text-align:center;
31
31
  background-color:rgba(0,0,0,0.2);
@@ -43,12 +43,12 @@
43
43
  * heights we apply incrementally larger line-heights:
44
44
  */
45
45
  .greybox--small,
46
- .graybox--small { line-height: (2 * $base-line-height) +px; }
46
+ .graybox--small { line-height: 2 * $base-line-height; }
47
47
  .greybox--medium,
48
- .graybox--medium { line-height: (4 * $base-line-height) +px; }
48
+ .graybox--medium { line-height: 4 * $base-line-height; }
49
49
  .greybox--large,
50
- .graybox--large { line-height: (8 * $base-line-height) +px; }
50
+ .graybox--large { line-height: 8 * $base-line-height; }
51
51
  .greybox--huge,
52
- .graybox--huge { line-height:(16 * $base-line-height) +px; }
52
+ .graybox--huge { line-height:16 * $base-line-height; }
53
53
  .greybox--gigantic,
54
- .graybox--gigantic { line-height:(32 * $base-line-height) +px; }
54
+ .graybox--gigantic { line-height:32 * $base-line-height; }
@@ -43,7 +43,7 @@
43
43
  /**
44
44
  * Negative margin to negate the padding on the first grid child.
45
45
  */
46
- margin-left:-($base-spacing-unit) +px;
46
+ margin-left:-$base-spacing-unit;
47
47
  /**
48
48
  * The following declarations allow us to use the `.gw` class on lists.
49
49
  */
@@ -92,7 +92,7 @@
92
92
  .g,
93
93
  .grid{
94
94
  float:left;
95
- padding-left:$base-spacing-unit +px;
95
+ padding-left:$base-spacing-unit;
96
96
  @if $global-border-box == false{
97
97
  @include vendor(box-sizing, border-box);
98
98
  }
File without changes
@@ -18,7 +18,7 @@
18
18
  @extend .cf;
19
19
  }
20
20
  .island{
21
- padding:$base-spacing-unit +px;
21
+ padding:$base-spacing-unit;
22
22
  }
23
23
  .island > :last-child,
24
24
  .islet > :last-child{
@@ -30,5 +30,5 @@
30
30
  * Just like `.island`, only smaller.
31
31
  */
32
32
  .islet{
33
- padding:$half-spacing-unit +px;
33
+ padding:$half-spacing-unit;
34
34
  }
@@ -0,0 +1,28 @@
1
+ /*------------------------------------*\
2
+ $LINK-COMPLEX
3
+ \*------------------------------------*/
4
+ /**
5
+ * As inspired by @necolas:
6
+ * github.com/necolas/suit-utils/blob/master/link.css#L18
7
+ *
8
+ * Add hover behaviour to only selected items within links, e.g.:
9
+ *
10
+ <a href=log-in class=link-complex>
11
+ <i class="s s--user"></i>
12
+ <span class=link-complex__target>Log in</span>
13
+ </a>
14
+ *
15
+ * Demo: jsfiddle.net/inuitcss/rt9M3
16
+ *
17
+ */
18
+ .link-complex,
19
+ .link-complex:hover,
20
+ .link-complex:active,
21
+ .link-complex:focus{
22
+ text-decoration:none;
23
+ }
24
+ .link-complex:hover .link-complex__target,
25
+ .link-complex:active .link-complex__target,
26
+ .link-complex:focus .link-complex__target{
27
+ text-decoration:underline;
28
+ }
@@ -20,9 +20,9 @@
20
20
  * the same width as the `line-height` set on the `html` element.
21
21
  * This allows us to use the `.loz` in almost any `font-size` we wish.
22
22
  */
23
- min-width: ($line-height-ratio * 0.666667) +em;
24
- padding-right:($line-height-ratio * 0.166667) +em;
25
- padding-left: ($line-height-ratio * 0.166667) +em;
23
+ min-width: ($line-height-ratio * 0.666667) * 1em;
24
+ padding-right:($line-height-ratio * 0.166667) * 1em;
25
+ padding-left: ($line-height-ratio * 0.166667) * 1em;
26
26
  /* =1.50em */
27
27
  text-align:center;
28
28
  background-color:#ccc; /* Override this color in your theme stylesheet */
@@ -38,5 +38,5 @@
38
38
 
39
39
  .loz{
40
40
  @extend .pill;
41
- border-radius:$brand-round +px;
41
+ border-radius:$brand-round;
42
42
  }
@@ -32,7 +32,7 @@
32
32
  @extend .cf;
33
33
 
34
34
  > li{
35
- padding:$half-spacing-unit +px;
35
+ padding:$half-spacing-unit;
36
36
  float:left;
37
37
  border-right-width: 1px;
38
38
  border-bottom-width:1px;
@@ -43,8 +43,8 @@
43
43
  }
44
44
  .matrix__link{
45
45
  display:block;
46
- padding:$half-spacing-unit +px;
47
- margin:-$half-spacing-unit +px;
46
+ padding:$half-spacing-unit;
47
+ margin:-$half-spacing-unit;
48
48
  }
49
49
 
50
50
 
@@ -21,14 +21,14 @@
21
21
  }
22
22
  .media__img{
23
23
  float:left;
24
- margin-right:$base-spacing-unit +px;
24
+ margin-right:$base-spacing-unit;
25
25
  }
26
26
  /**
27
27
  * Reversed image location (right instead of left).
28
28
  */
29
29
  .media__img--rev{
30
30
  float:right;
31
- margin-left:$base-spacing-unit +px;
31
+ margin-left:$base-spacing-unit;
32
32
  }
33
33
 
34
34
  .media__img img,
@@ -49,8 +49,8 @@
49
49
  * `.img`s in `.islet`s need an appropriately sized margin.
50
50
  */
51
51
  .islet .media__img{
52
- margin-right:$half-spacing-unit +px;
52
+ margin-right:$half-spacing-unit;
53
53
  }
54
54
  .islet .media__img--rev{
55
- margin-left:$half-spacing-unit +px;
55
+ margin-left:$half-spacing-unit;
56
56
  }
@@ -90,7 +90,7 @@
90
90
  > li{
91
91
 
92
92
  > a{
93
- padding:$half-spacing-unit +px;
93
+ padding:$half-spacing-unit;
94
94
  }
95
95
  }
96
96
  }
@@ -29,11 +29,11 @@
29
29
 
30
30
  &:first-child > a{
31
31
  border-left-width:1px;
32
- border-radius:$brand-round +px 0 0 $brand-round +px;
32
+ border-radius:$brand-round 0 0 $brand-round;
33
33
  }
34
34
 
35
35
  &:last-child > a{
36
- border-radius:0 $brand-round +px $brand-round +px 0;
36
+ border-radius:0 $brand-round $brand-round 0;
37
37
  }
38
38
  }
39
39
  }
@@ -25,11 +25,11 @@
25
25
  text-align:center;
26
26
  }
27
27
  .pagination > li{
28
- padding:($base-spacing-unit / 2) +px;
28
+ padding:$base-spacing-unit / 2;
29
29
  }
30
30
  .pagination > li > a{
31
- padding:($base-spacing-unit / 2) +px;
32
- margin:-($base-spacing-unit / 2) +px;
31
+ padding:$base-spacing-unit / 2;
32
+ margin:-$base-spacing-unit / 2;
33
33
  }
34
34
  .pagination__first a:before{
35
35
  content:"« ";
@@ -12,8 +12,8 @@
12
12
  border:none;
13
13
  border-bottom-width:1px;
14
14
  border-bottom-style:solid;
15
- margin-bottom:($base-spacing-unit - 1) +px;
16
- margin-bottom:($base-spacing-unit - 1) / $base-font-size +rem;
15
+ margin-bottom:$base-spacing-unit - 1px;
16
+ margin-bottom:(($base-spacing-unit - 1px) / $base-font-size)*1rem;
17
17
  }
18
18
 
19
19
 
File without changes
File without changes
@@ -26,11 +26,11 @@
26
26
  */
27
27
  .stat-group{
28
28
  @extend .cf;
29
- margin-left:-$base-spacing-unit +px;
29
+ margin-left:-$base-spacing-unit;
30
30
  }
31
31
  .stat{
32
32
  float:left;
33
- margin-left:$base-spacing-unit +px;
33
+ margin-left:$base-spacing-unit;
34
34
  display:-webkit-box;
35
35
  display: -moz-box;
36
36
  display: box;
File without changes
@@ -25,14 +25,14 @@ $global-border-box: true;
25
25
  /**
26
26
  * Base stuff
27
27
  */
28
- $base-font-size: 16!default;
29
- $base-line-height: 24!default;
28
+ $base-font-size: 16px!default;
29
+ $base-line-height: 24px!default;
30
30
 
31
31
 
32
32
  /**
33
33
  * How big would you like round corners to be by default?
34
34
  */
35
- $brand-round: 4!default;
35
+ $brand-round: 4px!default;
36
36
 
37
37
 
38
38
  /**
@@ -40,26 +40,26 @@ $brand-round: 4!default;
40
40
  * Tell inuit.css when breakpoints start, in pixels.
41
41
  */
42
42
  $responsive: true;
43
- $lap-start: 481;
44
- $desk-start: 1024;
43
+ $lap-start: 481px;
44
+ $desk-start: 1024px;
45
45
 
46
46
 
47
47
  /**
48
48
  * Font-sizes (in pixels). Refer to relevant sections for their implementations.
49
49
  */
50
- $giga-size: 96!default;
51
- $mega-size: 72!default;
52
- $kilo-size: 48!default;
53
-
54
- $h1-size: 36!default; // .alpha
55
- $h2-size: 30!default; // .beta
56
- $h3-size: 24!default; // .gamma
57
- $h4-size: 20!default; // .delta
58
- $h5-size: 16!default; // .epsilon
59
- $h6-size: 14!default; // .zeta
60
-
61
- $milli-size: 12!default;
62
- $micro-size: 10!default;
50
+ $giga-size: 96px!default;
51
+ $mega-size: 72px!default;
52
+ $kilo-size: 48px!default;
53
+
54
+ $h1-size: 36px!default; // .alpha
55
+ $h2-size: 30px!default; // .beta
56
+ $h3-size: 24px!default; // .gamma
57
+ $h4-size: 20px!default; // .delta
58
+ $h5-size: 16px!default; // .epsilon
59
+ $h6-size: 14px!default; // .zeta
60
+
61
+ $milli-size: 12px!default;
62
+ $micro-size: 10px!default;
63
63
 
64
64
 
65
65
  /**
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-inuit
3
3
  version: !ruby/object:Gem::Version
4
- version: '4.3'
4
+ version: 4.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -83,13 +83,13 @@ files:
83
83
  - stylesheets/partials/objects/_breadcrumb.scss
84
84
  - stylesheets/partials/objects/_buttons.scss
85
85
  - stylesheets/partials/objects/_columns.scss
86
- - stylesheets/partials/objects/_complex-link.scss
87
86
  - stylesheets/partials/objects/_flexbox.scss
88
87
  - stylesheets/partials/objects/_flyout.scss
89
88
  - stylesheets/partials/objects/_greybox.scss
90
89
  - stylesheets/partials/objects/_grids.scss
91
90
  - stylesheets/partials/objects/_icon-text.scss
92
91
  - stylesheets/partials/objects/_island.scss
92
+ - stylesheets/partials/objects/_link-complex.scss
93
93
  - stylesheets/partials/objects/_lozenges.scss
94
94
  - stylesheets/partials/objects/_matrix.scss
95
95
  - stylesheets/partials/objects/_media.scss
@@ -1,28 +0,0 @@
1
- /*------------------------------------*\
2
- $COMPLEX-LINK
3
- \*------------------------------------*/
4
- /**
5
- * As inspired by @necolas:
6
- * github.com/necolas/suit-utils/blob/master/link.css#L18
7
- *
8
- * Add hover behaviour to only slected items within links, e.g.:
9
- *
10
- <a href=log-in class=complex-link>
11
- <i class="s s--user"></i>
12
- <span class=complex-link__target>Log in</span>
13
- </a>
14
- *
15
- * Demo: jsfiddle.net/inuitcss/rt9M3
16
- *
17
- */
18
- .complex-link,
19
- .complex-link:hover,
20
- .complex-link:active,
21
- .complex-link:focus{
22
- text-decoration:none;
23
- }
24
- .complex-link:hover .complex-link__target,
25
- .complex-link:active .complex-link__target,
26
- .complex-link:focus .complex-link__target{
27
- text-decoration:underline;
28
- }