compass-inuit 4.3.1 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
- # ![inuit.css](http://i.imgur.com/dkBoq.png)
1
+ # ![compass-inuit](http://i.imgur.com/22tof.png)
2
2
 
3
- A powerful little Compass extension for inuit.css for _insanely serious_ developers who use Compass.
3
+ A powerful little Compass extension for inuit.css for _insanely serious_ developers.
4
+
5
+ ## Contribe
6
+ Please fork this repository, then submit a pull request with your changes in a new topic branch.
4
7
 
5
8
  ## Installation
6
9
 
@@ -31,32 +31,33 @@ pre{
31
31
 
32
32
  /**
33
33
  * You can add line numbers to your code examples but be warned, it requires
34
- * some pretty funky looking (and technically invalid) markup, e.g.:
34
+ * some pretty funky looking markup, e.g.:
35
35
  *
36
- <pre class=numbered>
37
- <ol class=numbered__numbers>
38
- <li><code>.nav{</code></li>
39
- <li><code> list-style:none;</code></li>
40
- <li><code> margin-left:0;</code></li>
41
- <li><code>}</code></li>
42
- <li><code> .nav > li,</code></li>
43
- <li><code> .nav > li > a{</code></li>
44
- <li><code> display:inline-block;</code></li>
45
- <li><code> *display:inline-block;</code></li>
46
- <li><code> zoom:1;</code></li>
47
- <li><code> }</code></li>
48
- </ol>
49
- </pre>
36
+ <ol class=line-numbers>
37
+ <li><code>.nav{</code></li>
38
+ <li><code> list-style:none;</code></li>
39
+ <li><code> margin-left:0;</code></li>
40
+ <li><code>}</code></li>
41
+ <li><code> .nav > li,</code></li>
42
+ <li><code> .nav > li > a{</code></li>
43
+ <li><code> display:inline-block;</code></li>
44
+ <li><code> *display:inline-block;</code></li>
45
+ <li><code> zoom:1;</code></li>
46
+ <li><code> }</code></li>
47
+ </ol>
50
48
  *
49
+ * 1. Make the list look like code.
50
+ * 2. Give the list flush numbers with a leading zero.
51
+ * 3. Make sure lines of code don’t wrap.
52
+ * 4. Give the code form by forcing the `code` to honour white-space.
51
53
  */
52
- .numbered{
53
- white-space:nowrap;
54
+ .line-numbers{
55
+ font-family:monospace, serif; /* [1] */
56
+ list-style:decimal-leading-zero inside; /* [2] */
57
+ white-space:nowrap; /* [3] */
58
+ overflow:auto; /* [3] */
59
+ margin-left:0;
54
60
  }
55
- .numbered__numbers{
56
- list-style:decimal-leading-zero inside;
57
- margin-bottom:0;
58
- margin-left:0;
61
+ .line-numbers code{
62
+ white-space:pre; /* [4] */
59
63
  }
60
- .numbered__numbers code{
61
- white-space:pre;
62
- }
@@ -9,4 +9,11 @@ li{
9
9
  > ol{
10
10
  margin-bottom:0;
11
11
  }
12
- }
12
+ }
13
+
14
+ /**
15
+ * Have a numbered `ul` without the semantics implied by using an `ol`.
16
+ */
17
+ /*ul*/.numbered-list{
18
+ list-style-type:decimal;
19
+ }
@@ -244,6 +244,7 @@
244
244
  *
245
245
  * palm
246
246
  * lap
247
+ * lap-and-up
247
248
  * portable
248
249
  * desk
249
250
  *
@@ -270,6 +271,12 @@ $lap-end: $desk-start - 1px;
270
271
 
271
272
  }
272
273
 
274
+ @if $media-query == lap-and-up{
275
+
276
+ @media only screen and (min-width:$lap-start) { @content; }
277
+
278
+ }
279
+
273
280
  @if $media-query == portable{
274
281
 
275
282
  @media only screen and (max-width:$lap-end) { @content; }
@@ -31,15 +31,18 @@
31
31
  .stat{
32
32
  float:left;
33
33
  margin-left:$base-spacing-unit;
34
- display:-webkit-box;
35
- display: -moz-box;
36
- display: box;
37
- @include vendor(box-orient, vertical);
34
+ display:-ms-flexbox;
35
+ display:-webkit-flex;
36
+ display: -moz-flex;
37
+ display: flex;
38
+ @include vendor(flex-direction, column);
38
39
  }
39
40
  .stat__title{
40
- @include vendor(box-ordinal-group, 2);
41
+ @include vendor(order, 2);
42
+ -ms-flex-order:2;
41
43
  }
42
44
  .stat__value{
43
45
  margin-left:0;
44
- @include vendor(box-ordinal-group, 1);
46
+ @include vendor(order, 1);
47
+ -ms-flex-order:1;
45
48
  }
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.1
4
+ version: 4.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: