livingstyleguide 2.0.0.pre.3 → 2.0.0.pre.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/livingstyleguide +1 -1
- data/lib/livingstyleguide/command_line_interface.rb +14 -11
- data/lib/livingstyleguide/commands/colors.rb +16 -16
- data/lib/livingstyleguide/commands/default.rb +1 -1
- data/lib/livingstyleguide/commands/font_example.rb +2 -1
- data/lib/livingstyleguide/commands/full_width.rb +1 -1
- data/lib/livingstyleguide/commands/import_and_use.rb +16 -4
- data/lib/livingstyleguide/commands/layout.rb +22 -20
- data/lib/livingstyleguide/commands/options.rb +9 -9
- data/lib/livingstyleguide/commands/sass.rb +5 -11
- data/lib/livingstyleguide/commands/search_box.rb +6 -3
- data/lib/livingstyleguide/commands/style.rb +1 -1
- data/lib/livingstyleguide/document.rb +64 -41
- data/lib/livingstyleguide/integration/compass.rb +5 -2
- data/lib/livingstyleguide/integration/rails.rb +5 -3
- data/lib/livingstyleguide/integration/sass.rb +1 -1
- data/lib/livingstyleguide/integration/sprockets.rb +9 -4
- data/lib/livingstyleguide/markdown_extensions.rb +20 -11
- data/lib/livingstyleguide/templates/code.html.erb +1 -1
- data/lib/livingstyleguide/templates/example.html.erb +2 -2
- data/lib/livingstyleguide/templates/font-example.html.erb +3 -3
- data/lib/livingstyleguide/templates/javascript.html.erb +1 -1
- data/lib/livingstyleguide/templates/layout.html.erb +32 -38
- data/lib/livingstyleguide/templates/logo.html.erb +1 -1
- data/lib/livingstyleguide/templates/scripts/copy.js.erb +12 -12
- data/lib/livingstyleguide/templates/scripts/copy_code.js.erb +7 -7
- data/lib/livingstyleguide/templates/scripts/copy_colors.js.erb +14 -14
- data/lib/livingstyleguide/templates/scripts/search.js.erb +30 -30
- data/lib/livingstyleguide/templates/scripts/toggle_code.js.erb +23 -23
- data/lib/livingstyleguide/templates/search-box.html.erb +1 -1
- data/lib/livingstyleguide/templates/toggle-code.html.erb +1 -1
- data/lib/livingstyleguide/tilt_template.rb +17 -19
- data/lib/livingstyleguide/version.rb +1 -1
- data/lib/livingstyleguide.rb +12 -2
- data/stylesheets/_livingstyleguide.scss +76 -65
- data/stylesheets/livingstyleguide/_code.scss +51 -51
- data/stylesheets/livingstyleguide/_color-swatches.scss +38 -38
- data/stylesheets/livingstyleguide/_content.scss +73 -73
- data/stylesheets/livingstyleguide/_functions.scss +1 -1
- data/stylesheets/livingstyleguide/_layout.scss +22 -22
- data/stylesheets/livingstyleguide/_reset.scss +1 -1
- data/stylesheets/livingstyleguide/_search-box.scss +14 -14
- data/stylesheets/livingstyleguide/_toggle-code.scss +10 -11
- metadata +21 -6
@@ -1,35 +1,35 @@
|
|
1
|
-
.lsg
|
1
|
+
.lsg-search-box {
|
2
2
|
-webkit-appearance: none;
|
3
|
-
background: $lsg
|
3
|
+
background: $lsg-code-background;
|
4
4
|
border: 0;
|
5
|
-
border-radius: $lsg
|
6
|
-
color: $lsg
|
5
|
+
border-radius: $lsg-border-radius;
|
6
|
+
color: $lsg-code-color;
|
7
7
|
display: block;
|
8
|
-
font-family: $lsg
|
9
|
-
font-size: $lsg
|
8
|
+
font-family: $lsg-headline-font-family;
|
9
|
+
font-size: $lsg-sub-headline-font-size;
|
10
10
|
line-height: inherit;
|
11
|
-
margin: (2 * $lsg
|
12
|
-
max-width: $lsg
|
11
|
+
margin: (2 * $lsg-gutter) auto;
|
12
|
+
max-width: $lsg-width;
|
13
13
|
outline: 0;
|
14
|
-
padding: $lsg
|
14
|
+
padding: $lsg-gutter;
|
15
15
|
width: 100%;
|
16
16
|
|
17
|
-
$placeholder-color: mix($lsg
|
17
|
+
$lsg-placeholder-color: mix($lsg-code-background, $lsg-code-color, 67%);
|
18
18
|
|
19
19
|
// scss-lint:disable VendorPrefix
|
20
20
|
&::-moz-placeholder {
|
21
|
-
color: $placeholder-color;
|
21
|
+
color: $lsg-placeholder-color;
|
22
22
|
}
|
23
23
|
|
24
24
|
&::-webkit-input-placeholder {
|
25
|
-
color: $placeholder-color;
|
25
|
+
color: $lsg-placeholder-color;
|
26
26
|
}
|
27
27
|
|
28
28
|
&:-ms-input-placeholder {
|
29
|
-
color: $placeholder-color;
|
29
|
+
color: $lsg-placeholder-color;
|
30
30
|
}
|
31
31
|
|
32
32
|
&::placeholder {
|
33
|
-
color: $placeholder-color;
|
33
|
+
color: $lsg-placeholder-color;
|
34
34
|
}
|
35
35
|
}
|
@@ -1,21 +1,20 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
background-
|
4
|
-
background-image: $lsg--code-switch-show;
|
1
|
+
.lsg-code-switch {
|
2
|
+
background-color: $lsg-background-color;
|
3
|
+
background-image: $lsg-code-switch-show;
|
5
4
|
background-position: 50%;
|
6
5
|
background-repeat: no-repeat;
|
7
6
|
background-size: 90%;
|
8
|
-
border-radius: $lsg
|
9
|
-
height: $lsg
|
10
|
-
width: $lsg
|
7
|
+
border-radius: $lsg-border-radius;
|
8
|
+
height: $lsg-button-height;
|
9
|
+
width: $lsg-button-width;
|
11
10
|
}
|
12
11
|
|
13
|
-
.lsg
|
14
|
-
.lsg
|
15
|
-
background-image: $lsg
|
12
|
+
.lsg-hide-code {
|
13
|
+
.lsg-code-switch {
|
14
|
+
background-image: $lsg-code-switch-hide;
|
16
15
|
}
|
17
16
|
|
18
|
-
.lsg
|
17
|
+
.lsg-code-block {
|
19
18
|
display: none;
|
20
19
|
}
|
21
20
|
}
|
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: 2.0.0.pre.
|
4
|
+
version: 2.0.0.pre.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nico Hagenburger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minisyntax
|
@@ -193,7 +193,7 @@ dependencies:
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
196
|
+
name: scss-lint
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
@@ -206,8 +206,23 @@ dependencies:
|
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
|
-
|
210
|
-
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
description: |-
|
224
|
+
Automaticaly generate beautiful front-end style guides with Sas and
|
225
|
+
Markdown. Se htps:/livingstyleguide.org for details.
|
211
226
|
email:
|
212
227
|
- nico@hagenburger.net
|
213
228
|
executables:
|
@@ -274,7 +289,7 @@ files:
|
|
274
289
|
- stylesheets/livingstyleguide/_reset.scss
|
275
290
|
- stylesheets/livingstyleguide/_search-box.scss
|
276
291
|
- stylesheets/livingstyleguide/_toggle-code.scss
|
277
|
-
homepage:
|
292
|
+
homepage: https://livingstyleguide.org
|
278
293
|
licenses: []
|
279
294
|
metadata: {}
|
280
295
|
post_install_message:
|