livingstyleguide 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be894414f989882969b8cd539c628aac0b639577
4
- data.tar.gz: 0548ffdf8103d1b3ff4038122d358011609befbb
3
+ metadata.gz: 46e5474b45fd6db4d4ab72944458565bdc636269
4
+ data.tar.gz: fcce50f928d5b5a00e906700585e5e8e52f829b2
5
5
  SHA512:
6
- metadata.gz: 1e1dff3767e733d9f073fbcf57c5c607e377ea70c276e2130d5d7a50e975c2cadd8b4d38193c144c8b202ae10d2be73611118b7c23a86dffa5f41244a55d5a1c
7
- data.tar.gz: 7b65169e497cfec7dc8985edab5d6fb6fef82ef75afb0b2183ba0263c2b67abca6eff4aed41fcb69db8896dec77150460df253a0ebae8658edbf3479e88843a8
6
+ metadata.gz: 347923e3694584f86edab22d3f55e8c7cafa1f6a4b18600abce28cd18d53f05dd36ee9e8193037b5ad5bc267a00e1f027a8f956eb44fae21ce5d64ccb3ba1be1
7
+ data.tar.gz: 7a8b7a0c7c1e432834f5a1fac159184e8ead32590ca986796b3121d264fc5827ec883ef05d6772a93ecd5290f3baeaa85a4881c9919e7d686676c0fd688532c6
@@ -4,7 +4,7 @@ require 'compass'
4
4
 
5
5
  module LivingStyleGuide
6
6
  class VariablesImporter < Sass::Importers::Base
7
- VAILD_FILE_NAME = /\A#{Sass::SCSS::RX::IDENT}\Z/
7
+ VALID_FILE_NAME = /\A#{Sass::SCSS::RX::IDENT}\Z/
8
8
  VARIABLE_IMPORTER_REGEX = %r{^variables:(((.+/)?([^\*.]+))/(.+?)(\.s[ac]ss)?)$}
9
9
  VALID_EXTENSIONS = %w(*.sass *.scss)
10
10
 
@@ -1,3 +1,3 @@
1
1
  module LivingStyleGuide
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
@@ -2,6 +2,7 @@
2
2
  .livingstyleguide--code-block {
3
3
  background: $livingstyleguide--code-background-color;
4
4
  color: $livingstyleguide--code-color;
5
+ display: inline;
5
6
  font-family: $livingstyleguide--code-font;
6
7
  font-size: $livingstyleguide--code-font-size;
7
8
  font-weight: $livingstyleguide--code-font-weight;
@@ -21,6 +22,7 @@
21
22
 
22
23
  em {
23
24
  color: lighten($livingstyleguide--code-color, 10%);
25
+ display: inline;
24
26
  font-style: normal;
25
27
  font-weight: bold;
26
28
  text-decoration: underline;
@@ -28,15 +30,18 @@
28
30
 
29
31
  b {
30
32
  color: lighten($livingstyleguide--code-color, 20%);
33
+ display: inline;
31
34
  font-weight: bold;
32
35
  }
33
36
 
34
37
  i {
35
38
  color: lighten($livingstyleguide--code-color, 30%);
39
+ display: inline;
36
40
  }
37
41
 
38
42
  q {
39
43
  color: lighten($livingstyleguide--code-color, 30%);
44
+ display: inline;
40
45
 
41
46
  &:before,
42
47
  &:after {
@@ -45,6 +50,7 @@
45
50
  }
46
51
 
47
52
  var {
53
+ display: inline;
48
54
  text-decoration: underline;
49
55
  }
50
56
  }
@@ -86,6 +92,7 @@
86
92
 
87
93
  .livingstyleguide--code-highlight {
88
94
  background-color: $livingstyleguide--highlight-color;
95
+ display: inline;
89
96
  @include border-radius($livingstyleguide--highlight-border-radius);
90
97
  }
91
98
 
@@ -1,5 +1,6 @@
1
1
  %livingstyleguide--color-swatch {
2
2
  color: $livingstyleguide--color-swatch-color;
3
+ display: block;
3
4
  float: left;
4
5
  font-family: $livingstyleguide--code-font;
5
6
  font-size: $livingstyleguide--code-font-size;
@@ -41,6 +42,7 @@
41
42
  }
42
43
 
43
44
  .livingstyleguide--color-swatches {
45
+ display: block;
44
46
  margin: $livingstyleguide--gap-width auto (-$livingstyleguide--gap-width) auto;
45
47
  padding-left: $livingstyleguide--gap-width;
46
48
  width: $livingstyleguide--width + 2 * $livingstyleguide--gap-width;
@@ -2,6 +2,7 @@
2
2
  .livingstyleguide--code-block,
3
3
  .livingstyleguide--unordered-list,
4
4
  .livingstyleguide--ordered-list {
5
+ display: block;
5
6
  font-family: $livingstyleguide--base-font;
6
7
  font-size: $livingstyleguide--base-font-size;
7
8
  font-weight: $livingstyleguide--base-font-weight;
@@ -14,6 +15,7 @@
14
15
 
15
16
  .livingstyleguide--unordered-list-item,
16
17
  .livingstyleguide--ordered-list-item {
18
+ display: block;
17
19
  list-style: disc;
18
20
  margin: ceil($livingstyleguide--gap-width / 2) 0 ceil($livingstyleguide--gap-width / 2) (2 * $livingstyleguide--gap-width);
19
21
  }
@@ -22,6 +24,7 @@
22
24
  .livingstyleguide--headline,
23
25
  .livingstyleguide--sub-headline,
24
26
  .livingstyleguide--sub-sub-headline {
27
+ display: block;
25
28
  font-family: $livingstyleguide--headline-font;
26
29
  font-size: $livingstyleguide--headline-font-size;
27
30
  font-weight: $livingstyleguide--headline-font-weight;
@@ -32,19 +35,23 @@
32
35
  }
33
36
 
34
37
  .livingstyleguide--page-title {
38
+ display: block;
35
39
  font-size: $livingstyleguide--page-title-font-size;
36
40
  }
37
41
 
38
42
  .livingstyleguide--sub-headline {
43
+ display: block;
39
44
  font-size: $livingstyleguide--sub-headline-font-size;
40
45
  }
41
46
 
42
47
  .livingstyleguide--sub-sub-headline {
48
+ display: block;
43
49
  font-size: $livingstyleguide--sub-sub-headline-font-size;
44
50
  }
45
51
 
46
52
  .livingstyleguide--example {
47
53
  background: white;
54
+ display: block;
48
55
  margin: $livingstyleguide--gap-width auto 0;
49
56
  overflow: hidden;
50
57
  padding: $livingstyleguide--gap-width;
@@ -62,6 +69,7 @@
62
69
 
63
70
  .livingstyleguide--layout-example {
64
71
  @extend #{$livingstyleguide--layout-selector} !optional;
72
+ display: block;
65
73
  height: auto;
66
74
  min-height: auto;
67
75
  padding: $livingstyleguide--layout-example-padding;
@@ -1,4 +1,5 @@
1
1
  .livingstyleguide {
2
2
  background: $livingstyleguide--background-color;
3
3
  color: $livingstyleguide--color;
4
+ display: block;
4
5
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livingstyleguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Hagenburger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-07 00:00:00.000000000 Z
11
+ date: 2013-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minisyntax