styleguide_rails 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,6 +67,7 @@
67
67
  }
68
68
  #styleguide_rails > nav > ul ul > li a {
69
69
  color: #fff;
70
+ display: block;
70
71
  }
71
72
  #styleguide_rails > nav > ul ul > li:hover,
72
73
  #styleguide_rails > nav > ul ul > li.selected {
@@ -95,6 +96,7 @@
95
96
  margin: 0 auto;
96
97
  border: 1px solid white;
97
98
  position: relative;
99
+ overflow: hidden;
98
100
  }
99
101
  #styleguide_rails > dl > dd.preview:hover {
100
102
  border-bottom: 1px dashed #CCC;
@@ -102,12 +104,12 @@
102
104
  border-right: 1px dashed #CCC;
103
105
  border-top: 1px dashed #FFF;
104
106
  background-color: #FFF;
105
- background-image: linear-gradient(90deg, transparent 50%, rgba(240,240,240,.5) 50%);
107
+ background-image: linear-gradient(90deg, transparent 50%, rgba(220,220,220,.5) 50%);
106
108
  background-size: 20px 20px;
107
109
  }
108
110
  #styleguide_rails > dl > dd > div.location {
109
111
  font-style: italic;
110
- color: #ddd;
112
+ color: #666;
111
113
  margin-top: 0.5em;
112
114
  cursor: pointer;
113
115
  }
@@ -136,9 +138,10 @@ div.show-code + pre[class*="language-"] {
136
138
  * Based on dabblet (http://dabblet.com)
137
139
  * @author Lea Verou
138
140
  */
139
- code[class*="language-"],
140
- pre[class*="language-"] {
141
+ #styleguide_rails code[class*="language-"],
142
+ #styleguide_rails pre[class*="language-"] {
141
143
  color: black;
144
+ background: #f5f2f0;
142
145
  text-shadow: 0 1px white;
143
146
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
144
147
  direction: ltr;
@@ -157,19 +160,19 @@ pre[class*="language-"] {
157
160
  }
158
161
 
159
162
  /* Code blocks */
160
- pre[class*="language-"] {
163
+ #styleguide_rails pre[class*="language-"] {
161
164
  padding: 1em;
162
165
  margin: 0 0 0.5em 0;
163
166
  overflow: auto;
164
167
  }
165
168
 
166
- :not(pre) > code[class*="language-"],
167
- pre[class*="language-"] {
169
+ #styleguide_rails :not(pre) > code[class*="language-"],
170
+ #styleguide_rails pre[class*="language-"] {
168
171
  background: #f5f2f0;
169
172
  }
170
173
 
171
174
  /* Inline code */
172
- :not(pre) > code[class*="language-"] {
175
+ #styleguide_rails :not(pre) > code[class*="language-"] {
173
176
  padding: .1em;
174
177
  border-radius: .3em;
175
178
  }
@@ -1,3 +1,3 @@
1
1
  module StyleguideRails
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: styleguide_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
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: 2013-05-05 00:00:00.000000000 Z
12
+ date: 2013-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -106,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  segments:
108
108
  - 0
109
- hash: -1611443141028417217
109
+ hash: -121904779739941129
110
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  none: false
112
112
  requirements:
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  version: '0'
116
116
  segments:
117
117
  - 0
118
- hash: -1611443141028417217
118
+ hash: -121904779739941129
119
119
  requirements: []
120
120
  rubyforge_project:
121
121
  rubygems_version: 1.8.25