style-guide 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -84,7 +84,7 @@ pre.style-guide-partial-source {
|
|
84
84
|
margin-top: 0;
|
85
85
|
margin-bottom: 0;
|
86
86
|
padding: 10px 10px 10px 14px;
|
87
|
-
background: #
|
87
|
+
background: #fff;
|
88
88
|
border-color: #ddd;
|
89
89
|
overflow-x: auto;
|
90
90
|
-webkit-border-radius: 0;
|
@@ -111,16 +111,16 @@ pre.style-guide-partial-source {
|
|
111
111
|
display: none;
|
112
112
|
}
|
113
113
|
|
114
|
-
.style-guide-partial input[type=checkbox] {
|
114
|
+
.style-guide-partial > input[type=checkbox] {
|
115
115
|
display: none;
|
116
116
|
}
|
117
117
|
|
118
|
-
input:checked + label .style-guide-toggle.show {
|
118
|
+
.style-guide-partial > input:checked + label .style-guide-toggle.show {
|
119
119
|
display: none;
|
120
120
|
}
|
121
121
|
|
122
|
-
input:checked + label .style-guide-toggle.hide,
|
123
|
-
input:checked + label .style-guide-partial-source {
|
122
|
+
.style-guide-partial > input:checked + label .style-guide-toggle.hide,
|
123
|
+
.style-guide-partial > input:checked + label .style-guide-partial-source {
|
124
124
|
display: block;
|
125
125
|
}
|
126
126
|
|
@@ -3,28 +3,25 @@
|
|
3
3
|
.pun, .opn, .clo { color: #93a1a1; }
|
4
4
|
.fun { color: #dc322f; }
|
5
5
|
.str, .atv { color: #D14; }
|
6
|
-
.kwd, .prettyprint .tag { color:
|
6
|
+
.kwd, .prettyprint .tag { color: navy; }
|
7
7
|
.typ, .atn, .dec, .var { color: teal; }
|
8
|
-
.pln { color: #48484c; }
|
9
8
|
|
10
9
|
.prettyprint {
|
11
10
|
padding: 8px;
|
12
|
-
background-color: #f7f7f9;
|
13
|
-
border: 1px solid #e1e1e8;
|
14
11
|
}
|
15
12
|
.prettyprint.linenums {
|
16
|
-
-webkit-box-shadow: inset 40px 0 0 #
|
17
|
-
-moz-box-shadow: inset 40px 0 0 #
|
18
|
-
box-shadow: inset 40px 0 0 #
|
13
|
+
-webkit-box-shadow: inset 40px 0 0 #ECECEC, inset 41px 0 0 #ddd;
|
14
|
+
-moz-box-shadow: inset 40px 0 0 #ECECEC, inset 41px 0 0 #ddd;
|
15
|
+
box-shadow: inset 40px 0 0 #ECECEC, inset 41px 0 0 #ddd;
|
19
16
|
}
|
20
17
|
|
21
|
-
/* Specify class=linenums on a pre to get line numbering */
|
22
18
|
ol.linenums {
|
23
19
|
margin: 0 0 0 33px; /* IE indents via margin-left */
|
24
20
|
}
|
25
21
|
ol.linenums li {
|
22
|
+
font-size: 12px;
|
26
23
|
padding-left: 12px;
|
27
|
-
color: #
|
24
|
+
color: #888;
|
28
25
|
line-height: 20px;
|
29
26
|
text-shadow: 0 1px 0 #fff;
|
30
|
-
}
|
27
|
+
}
|
data/lib/style_guide/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: style-guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|