kube-rails 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,13 +5,14 @@ body {
5
5
  color: @colorBlack;
6
6
  font-size: @baseFontSize / 16 * 1em;
7
7
  line-height: @baseLine/@em;
8
- font-family: @baseFontFamily;
8
+ font-family: @baseFontFamily;
9
9
  }
10
10
  a {
11
11
  color: @colorLink;
12
12
  }
13
+ a:focus,
13
14
  a:hover {
14
- color: darken(@colorLink, 20%);
15
+ color: @colorLinkHover;
15
16
  }
16
17
  h1,
17
18
  h2,
@@ -19,45 +20,76 @@ h3,
19
20
  h4,
20
21
  h5,
21
22
  h6 {
23
+ font-family: @headingsFontFamily;
22
24
  font-weight: bold;
23
- margin-bottom: 0.5em;
24
25
  }
25
- h1 {
26
- font-size: @h1 / @em; // headerSize / baseFontSize
27
- line-height: 1em;
26
+ h1 {
27
+ font-size: @baseFontSize * 2.142 / @em;
28
+ line-height: 1.1333em;
29
+ margin-bottom: .2666em;
28
30
  }
29
- h2 {
30
- font-size: @h2 / @em;
31
- line-height: 1.1em;
31
+ h2 {
32
+ font-size: @baseFontSize * 1.714 / @em;
33
+ line-height: 1.1666em;
34
+ margin-bottom: .4555em;
32
35
  }
33
- h3 {
34
- font-size: @h3 / @em;
35
- line-height: 1.3em;
36
+ h3 {
37
+ font-size: @baseFontSize * 1.429 / @em;
38
+ line-height: 1.4em;
39
+ margin-bottom: .4em;
36
40
  }
37
- h4 {
38
- font-size: @h4 / @em;
39
- line-height: 1.3em;
41
+ h4 {
42
+ font-size: @baseFontSize * 1.143 / @em;
43
+ line-height: @baseLine / @em;
44
+ margin-bottom: .4555em;
40
45
  }
41
46
  h5 {
42
- font-size: @h5 / @em;
43
- line-height: 1.3em;
47
+ font-size: @baseFontSize / @em;
48
+ line-height: @baseLine / @em;
49
+ margin-bottom: .5em;
44
50
  }
45
51
  h6 {
46
- font-size: @h6 / @em;
47
- line-height: 1.3em;
48
- text-transform: uppercase;
52
+ font-size: @baseFontSize * 0.857 / @em;
53
+ line-height: 1.5em;
54
+ margin-bottom: .4555em;
55
+ text-transform: uppercase;
56
+ }
57
+ hgroup h1,
58
+ hgroup h2,
59
+ hgroup h3,
60
+ hgroup h4,
61
+ hgroup h5,
62
+ hgroup h6 {
63
+ margin-bottom: 0;
49
64
  }
50
- hgroup h1,
51
- hgroup h2,
52
- hgroup h3,
53
- hgroup h4 {
54
- margin-bottom: .1em;
65
+ hgroup {
66
+ margin-bottom: 0.6em;
55
67
  }
56
68
  .subheader {
57
- font-size: 1.2em;
58
- font-weight: normal;
59
- color: #8f8f8f;
60
- margin-bottom: 1em;
69
+ font-weight: 300;
70
+ color: #888;
71
+ }
72
+
73
+ h1.subheader {
74
+ font-size: @baseFontSize * 1.357 / @em;
75
+ line-height: 1.263em;
76
+ }
77
+ h2.subheader {
78
+ font-size: @baseFontSize * 1.214 / @em;
79
+ line-height: 1.412em;
80
+ }
81
+ h3.subheader {
82
+ font-size: @baseFontSize / @em;
83
+ line-height: 1.286em;
84
+ }
85
+ h4.subheader,
86
+ h5.subheader {
87
+ font-size: @baseFontSize * 0.95 / @em;
88
+ line-height: 1.385em;
89
+ }
90
+ h6.subheader {
91
+ font-size: @baseFontSize * 0.8 / @em;
92
+ line-height: 1.364em;
61
93
  }
62
94
  p,
63
95
  ul,
@@ -70,8 +102,8 @@ td,
70
102
  th {
71
103
  line-height: @baseLine/@em;
72
104
  }
73
- ul,
74
- ol,
105
+ ul,
106
+ ol,
75
107
  ul ul,
76
108
  ol ol,
77
109
  ul ol,
@@ -91,11 +123,10 @@ dl,
91
123
  blockquote,
92
124
  hr,
93
125
  pre,
94
- hgroup,
95
126
  table,
96
127
  form,
97
128
  fieldset {
98
- margin-bottom: @baseLine/@em;
129
+ margin-bottom: @baseLine/@em;
99
130
  }
100
131
  dl dt {
101
132
  font-weight: bold;
@@ -107,20 +138,21 @@ blockquote {
107
138
  margin-bottom: @baseLine/@em;
108
139
  padding-left: @baseLine/@em;
109
140
  border-left: 1px solid #ccc;
110
- color: #666;
141
+ color: @colorGrayDark;
111
142
  }
112
143
  blockquote small, cite {
113
- color: #888;
114
- font-style: italic;
144
+ color: @colorGrayLight;
145
+ font-style: normal;
115
146
  }
116
147
  blockquote p {
117
- margin-bottom: 1em;
148
+ font-size: 1.1em;
149
+ margin-bottom: .5em;
118
150
  font-style: italic;
119
151
  }
120
152
  small,
121
153
  blockquote cite {
122
154
  font-size: @smallFontSize;
123
- line-height: 1;
155
+ line-height: 1;
124
156
  }
125
157
  blockquote .pull-right, .row blockquote .pull-right {
126
158
  float: none;
@@ -133,23 +165,23 @@ address {
133
165
  del {
134
166
  text-decoration: line-through;
135
167
  }
136
- abbr[title],
168
+ abbr[title],
137
169
  dfn[title] {
138
- border-bottom: 1px dotted #000;
170
+ border-bottom: 1px dotted #000;
139
171
  cursor: help;
140
172
  }
141
- strong,
173
+ strong,
142
174
  b {
143
175
  font-weight: bold;
144
176
  }
145
- em,
177
+ em,
146
178
  i {
147
179
  font-style: italic;
148
180
  }
149
- sub,
181
+ sub,
150
182
  sup {
151
- font-size: @superSmallFontSize;
152
- line-height: 0;
183
+ font-size: @superSmallFontSize;
184
+ line-height: 0;
153
185
  position: relative;
154
186
  }
155
187
  sup {
@@ -164,23 +196,23 @@ figcaption {
164
196
  }
165
197
  ins,
166
198
  mark {
167
- background-color: @markBackgroundColor;
168
- color: @colorBlack;
199
+ background-color: @markBackgroundColor;
200
+ color: @colorBlack;
169
201
  text-decoration: none;
170
202
  }
171
- pre,
172
- code,
173
- kbd,
203
+ pre,
204
+ code,
205
+ kbd,
174
206
  samp {
175
207
  font-size: 90%;
176
- font-family: Menlo, Monaco, monospace, sans-serif;
208
+ font-family: @codeFontFamily;
177
209
  }
178
210
  pre {
211
+ font-size: 90%;
212
+ color: #444;
179
213
  background: @codeBackgroundColor;
180
- border: 1px solid #ddd;
181
- border-radius: 3px;
182
- padding: @baseLine/@em;
183
- white-space: pre;
214
+ padding: .85em;
215
+ white-space: pre-wrap;
184
216
  overflow: auto;
185
217
  }
186
218
  code {
@@ -190,11 +222,9 @@ code {
190
222
  background: @codeBackgroundColor;
191
223
  border: 1px solid #ddd;
192
224
  }
193
-
194
-
195
225
  kbd {
196
- padding: 0 6px;
197
- border-radius: 4px;
226
+ padding: 0 .4em;
227
+ border-radius: .3em;
198
228
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2),0 0 0 1px white inset;
199
229
  background-color: #fafafa;
200
230
  border-color: #ccc #ccc white;
@@ -206,16 +236,16 @@ kbd {
206
236
  }
207
237
  input[type="text"],
208
238
  input[type="password"],
209
- input[type="email"],
239
+ input[type="email"],
210
240
  textarea {
211
- font-size: 13px;
241
+ font-size: .95em;
212
242
  }
213
243
  fieldset {
214
244
  padding: 2em @baseLine/@em;
215
245
  margin-bottom: @baseLine/@em;
216
246
  border: @fieldsetBorder;
217
247
  }
218
- legend {
248
+ legend {
219
249
  font-size: 1.2em;
220
250
  text-transform: uppercase;
221
251
  font-weight: bold;
@@ -1,19 +1,20 @@
1
1
  // Font
2
- @baseFontFamily: Helvetica, Arial, Tahoma, sans-serif;
3
- @inputFontFamily: Helvetica, Arial, Tahoma, sans-serif;
4
- @codeFontFamily: monospace, sans-serif;
5
-
2
+ @baseFontFamily: 'Source Sans Pro', 'PT Sans', Arial, "Helvetica Neue", Helvetica, Tahoma, sans-serif;
3
+ @headingsFontFamily: @baseFontFamily;
4
+ @inputFontFamily: @baseFontFamily;
5
+ @codeFontFamily: Consolas, Monaco, monospace, sans-serif;
6
+
6
7
  // Type
7
8
  @baseFontSize: 14;
8
- @baseLine: 21; // e.g. baseFontSize * 1.5
9
+ @baseLine: @baseFontSize * 1.5;
9
10
 
10
- // Heading
11
- @h1: 36;
12
- @h2: 30;
13
- @h3: 24;
14
- @h4: 18;
15
- @h5: 16;
16
- @h6: 14;
11
+ // Headings
12
+ @h1: 30;
13
+ @h2: 24;
14
+ @h3: 20;
15
+ @h4: 16;
16
+ @h5: 14;
17
+ @h6: 12;
17
18
 
18
19
  // Grid
19
20
  @gridWidth: 940;
@@ -34,11 +35,11 @@
34
35
  @floatingMargin: 1em;
35
36
  @floatingBackgroundColor: #fff;
36
37
  @floatingPadding: 0;
37
- @floatingBorder: none;
38
+ @floatingBorder: none;
38
39
 
39
40
  // LinkColor
40
41
  @colorLink: #369;
41
- @colorLinkHover: #900;
42
+ @colorLinkHover: #c72020;
42
43
 
43
44
  // TextColor
44
45
  @colorBlack: #000;
@@ -51,7 +52,7 @@
51
52
 
52
53
  // BackgroundColor
53
54
  @markBackgroundColor: #fe5;
54
- @codeBackgroundColor: #f8f8f8;
55
+ @codeBackgroundColor: #f5f5f5;
55
56
  @tfootBackgroundColor: #f2f2f2;
56
57
  @colorStripedTable: #f8f8f8;
57
58
  @colorHoveredTable: #f6f6f6;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kube-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-10-21 00:00:00.000000000 Z
12
+ date: 2013-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -124,11 +124,14 @@ files:
124
124
  - vendor/kube/base.less
125
125
  - vendor/kube/blocks.less
126
126
  - vendor/kube/buttons.less
127
+ - vendor/kube/code.less
127
128
  - vendor/kube/forms.less
128
129
  - vendor/kube/goodies.less
129
130
  - vendor/kube/grid.less
130
131
  - vendor/kube/kube.less
132
+ - vendor/kube/labels.less
131
133
  - vendor/kube/mixins.less
134
+ - vendor/kube/navs.less
132
135
  - vendor/kube/responsive.less
133
136
  - vendor/kube/tables.less
134
137
  - vendor/kube/typo.less
@@ -136,7 +139,8 @@ files:
136
139
  - Rakefile
137
140
  - README.md
138
141
  homepage: https://github.com/mmozuras/kube-rails
139
- licenses: []
142
+ licenses:
143
+ - MIT
140
144
  post_install_message:
141
145
  rdoc_options: []
142
146
  require_paths: