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 +4 -4
- data/lib/livingstyleguide/variables_importer.rb +1 -1
- data/lib/livingstyleguide/version.rb +1 -1
- data/stylesheets/livingstyleguide/_code.scss +7 -0
- data/stylesheets/livingstyleguide/_color-swatches.scss +2 -0
- data/stylesheets/livingstyleguide/_content.scss +8 -0
- data/stylesheets/livingstyleguide/_layout.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46e5474b45fd6db4d4ab72944458565bdc636269
|
4
|
+
data.tar.gz: fcce50f928d5b5a00e906700585e5e8e52f829b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
|
@@ -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;
|
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.
|
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-
|
11
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minisyntax
|