emma-css-rails 0.4.0.0 → 0.6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Rakefile +4 -35
- data/lib/emma-css-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/emma.scss +223 -177
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 288996d830bf25ebe633d664171d797b559eac91
|
4
|
+
data.tar.gz: 7c71d847da110eb99b9a6c608f5c6b61a2783081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e3ad3dffa32e19c25d41cdda1ac3131749e97fa873f955e65228961968aedf02f6eb8915b7dbd6f01eb7279f2eb7931b602bb1e2a42534d3d229e4d0b84db00
|
7
|
+
data.tar.gz: fbba9fa59332707daa12e80ac5f4d82b81149a2976e500168bddccd71383c74f509d2479f47689b5b0e551bd180335cea28c34afc04e164ff2a8e53b22980382
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -1,37 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
rescue LoadError
|
4
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
-
end
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rspec/core/rake_task"
|
6
3
|
|
7
|
-
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
8
5
|
|
9
|
-
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
11
|
-
rdoc.title = 'EmmaCssRails'
|
12
|
-
rdoc.options << '--line-numbers'
|
13
|
-
rdoc.rdoc_files.include('README.rdoc')
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
-
end
|
16
|
-
|
17
|
-
APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
|
18
|
-
load 'rails/tasks/engine.rake'
|
19
|
-
|
20
|
-
|
21
|
-
load 'rails/tasks/statistics.rake'
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
Bundler::GemHelper.install_tasks
|
26
|
-
|
27
|
-
require 'rake/testtask'
|
28
|
-
|
29
|
-
Rake::TestTask.new(:test) do |t|
|
30
|
-
t.libs << 'lib'
|
31
|
-
t.libs << 'test'
|
32
|
-
t.pattern = 'test/**/*_test.rb'
|
33
|
-
t.verbose = false
|
34
|
-
end
|
35
|
-
|
36
|
-
|
37
|
-
task default: :test
|
6
|
+
task :default => :spec
|
@@ -1,40 +1,52 @@
|
|
1
|
-
/*! Emma.css 0.
|
1
|
+
/*! Emma.css 0.6.0 | emmet-like utility classes | MIT License | git.io/emma */
|
2
2
|
|
3
3
|
$emma-prefix: "u-" !default;
|
4
4
|
$emma-important: true !default;
|
5
5
|
$emma-validation: true !default;
|
6
|
-
$emma-alternative-colors:
|
6
|
+
$emma-alternative-colors: true !default;
|
7
7
|
$emma-available-snippet-list: ("!all") !default;
|
8
8
|
|
9
|
-
$emma-font-size-xs:
|
10
|
-
$emma-font-size-sm:
|
11
|
-
$emma-font-size-md:
|
12
|
-
$emma-font-size-lg:
|
13
|
-
$emma-font-size-xl:
|
14
|
-
$emma-font-size-h1: 2.
|
15
|
-
$emma-font-size-h2:
|
16
|
-
$emma-font-size-h3: 1.
|
17
|
-
$emma-font-size-h4: 1.
|
18
|
-
$emma-font-size-h5:
|
19
|
-
$emma-font-size-h6:
|
9
|
+
$emma-font-size-xs: 0.75rem !default; // Bootstrap 4 compatible
|
10
|
+
$emma-font-size-sm: 0.875rem !default; // Bootstrap 4 compatible
|
11
|
+
$emma-font-size-md: 1.0rem !default; // Bootstrap 4 compatible
|
12
|
+
$emma-font-size-lg: 1.25rem !default; // Bootstrap 4 compatible
|
13
|
+
$emma-font-size-xl: 1.5rem !default;
|
14
|
+
$emma-font-size-h1: 2.5rem !default; // Bootstrap 4 compatible
|
15
|
+
$emma-font-size-h2: 2.0rem !default; // Bootstrap 4 compatible
|
16
|
+
$emma-font-size-h3: 1.75rem !default; // Bootstrap 4 compatible
|
17
|
+
$emma-font-size-h4: 1.5rem !default; // Bootstrap 4 compatible
|
18
|
+
$emma-font-size-h5: 1.25rem !default; // Bootstrap 4 compatible
|
19
|
+
$emma-font-size-h6: 1.0rem !default; // Bootstrap 4 compatible
|
20
20
|
|
21
|
-
$emma-line-height-xs: 1.
|
22
|
-
$emma-line-height-sm: 1.
|
23
|
-
$emma-line-height-md: 1.
|
24
|
-
$emma-line-height-lg: 1.
|
25
|
-
$emma-line-height-xl: 2.0
|
21
|
+
$emma-line-height-xs: 1.25 !default;
|
22
|
+
$emma-line-height-sm: 1.33 !default;
|
23
|
+
$emma-line-height-md: 1.5 !default; // Bootstrap 4 compatible
|
24
|
+
$emma-line-height-lg: 1.75 !default;
|
25
|
+
$emma-line-height-xl: 2.0 !default;
|
26
26
|
|
27
27
|
$emma-margin-xs: 0.2rem !default;
|
28
28
|
$emma-margin-sm: 0.5rem !default;
|
29
|
-
$emma-margin-md: 1.0rem !default;
|
30
|
-
$emma-margin-lg:
|
31
|
-
$emma-margin-xl:
|
29
|
+
$emma-margin-md: 1.0rem !default; // Bootstrap 4 compatible
|
30
|
+
$emma-margin-lg: 1.5rem !default; // Bootstrap 4 compatible
|
31
|
+
$emma-margin-xl: 3.0rem !default; // Bootstrap 4 compatible
|
32
32
|
|
33
33
|
$emma-padding-xs: 0.2rem !default;
|
34
34
|
$emma-padding-sm: 0.5rem !default;
|
35
|
-
$emma-padding-md: 1.0rem !default;
|
36
|
-
$emma-padding-lg:
|
37
|
-
$emma-padding-xl:
|
35
|
+
$emma-padding-md: 1.0rem !default; // Bootstrap 4 compatible
|
36
|
+
$emma-padding-lg: 1.5rem !default; // Bootstrap 4 compatible
|
37
|
+
$emma-padding-xl: 3.0rem !default; // Bootstrap 4 compatible
|
38
|
+
|
39
|
+
$emma-border-radius-xs: 0.1rem !default;
|
40
|
+
$emma-border-radius-sm: 0.2rem !default; // Bootstrap 4 compatible
|
41
|
+
$emma-border-radius-md: 0.25rem !default; // Bootstrap 4 compatible
|
42
|
+
$emma-border-radius-lg: 0.3rem !default; // Bootstrap 4 compatible
|
43
|
+
$emma-border-radius-xl: 0.4rem !default;
|
44
|
+
|
45
|
+
$emma-color-primary: #0275d8 !default; // Bootstrap 4 compatible
|
46
|
+
$emma-color-success: #5cb85c !default; // Bootstrap 4 compatible
|
47
|
+
$emma-color-info: #5bc0de !default; // Bootstrap 4 compatible
|
48
|
+
$emma-color-warning: #f0ad4e !default; // Bootstrap 4 compatible
|
49
|
+
$emma-color-danger: #d9534f !default; // Bootstrap 4 compatible
|
38
50
|
|
39
51
|
$emma-color-white: white !default;
|
40
52
|
$emma-color-silver: silver !default;
|
@@ -202,68 +214,68 @@ $emma-single-declaration-list: (
|
|
202
214
|
( bxsh-n , box-shadow , none ),
|
203
215
|
( m-a , margin , auto ),
|
204
216
|
( m-0 , margin , 0 ),
|
205
|
-
( m-0_a , margin , 0 auto ),
|
206
|
-
( m-xs , margin , $emma-margin-xs ),
|
207
|
-
( m-sm , margin , $emma-margin-sm ),
|
208
|
-
( m-md , margin , $emma-margin-md ),
|
209
|
-
( m-lg , margin , $emma-margin-lg ),
|
210
|
-
( m-xl , margin , $emma-margin-xl ),
|
217
|
+
( m-0_a , margin , 0 auto ), // ^1
|
218
|
+
( m-xs , margin , $emma-margin-xs ), // ^1
|
219
|
+
( m-sm , margin , $emma-margin-sm ), // ^1
|
220
|
+
( m-md , margin , $emma-margin-md ), // ^1
|
221
|
+
( m-lg , margin , $emma-margin-lg ), // ^1
|
222
|
+
( m-xl , margin , $emma-margin-xl ), // ^1
|
211
223
|
( mt-0 , margin-top , 0 ),
|
212
|
-
( mt-xs , margin-top , $emma-margin-xs ),
|
213
|
-
( mt-sm , margin-top , $emma-margin-sm ),
|
214
|
-
( mt-md , margin-top , $emma-margin-md ),
|
215
|
-
( mt-lg , margin-top , $emma-margin-lg ),
|
216
|
-
( mt-xl , margin-top , $emma-margin-xl ),
|
224
|
+
( mt-xs , margin-top , $emma-margin-xs ), // ^1
|
225
|
+
( mt-sm , margin-top , $emma-margin-sm ), // ^1
|
226
|
+
( mt-md , margin-top , $emma-margin-md ), // ^1
|
227
|
+
( mt-lg , margin-top , $emma-margin-lg ), // ^1
|
228
|
+
( mt-xl , margin-top , $emma-margin-xl ), // ^1
|
217
229
|
( mr-a , margin-right , auto ),
|
218
230
|
( mr-0 , margin-right , 0 ),
|
219
|
-
( mr-xs , margin-right , $emma-margin-xs ),
|
220
|
-
( mr-sm , margin-right , $emma-margin-sm ),
|
221
|
-
( mr-md , margin-right , $emma-margin-md ),
|
222
|
-
( mr-lg , margin-right , $emma-margin-lg ),
|
223
|
-
( mr-xl , margin-right , $emma-margin-xl ),
|
231
|
+
( mr-xs , margin-right , $emma-margin-xs ), // ^1
|
232
|
+
( mr-sm , margin-right , $emma-margin-sm ), // ^1
|
233
|
+
( mr-md , margin-right , $emma-margin-md ), // ^1
|
234
|
+
( mr-lg , margin-right , $emma-margin-lg ), // ^1
|
235
|
+
( mr-xl , margin-right , $emma-margin-xl ), // ^1
|
224
236
|
( mb-0 , margin-bottom , 0 ),
|
225
|
-
( mb-xs , margin-bottom , $emma-margin-xs ),
|
226
|
-
( mb-sm , margin-bottom , $emma-margin-sm ),
|
227
|
-
( mb-md , margin-bottom , $emma-margin-md ),
|
228
|
-
( mb-lg , margin-bottom , $emma-margin-lg ),
|
229
|
-
( mb-xl , margin-bottom , $emma-margin-xl ),
|
237
|
+
( mb-xs , margin-bottom , $emma-margin-xs ), // ^1
|
238
|
+
( mb-sm , margin-bottom , $emma-margin-sm ), // ^1
|
239
|
+
( mb-md , margin-bottom , $emma-margin-md ), // ^1
|
240
|
+
( mb-lg , margin-bottom , $emma-margin-lg ), // ^1
|
241
|
+
( mb-xl , margin-bottom , $emma-margin-xl ), // ^1
|
230
242
|
( ml-a , margin-left , auto ),
|
231
243
|
( ml-0 , margin-left , 0 ),
|
232
|
-
( ml-xs , margin-left , $emma-margin-xs ),
|
233
|
-
( ml-sm , margin-left , $emma-margin-sm ),
|
234
|
-
( ml-md , margin-left , $emma-margin-md ),
|
235
|
-
( ml-lg , margin-left , $emma-margin-lg ),
|
236
|
-
( ml-xl , margin-left , $emma-margin-xl ),
|
244
|
+
( ml-xs , margin-left , $emma-margin-xs ), // ^1
|
245
|
+
( ml-sm , margin-left , $emma-margin-sm ), // ^1
|
246
|
+
( ml-md , margin-left , $emma-margin-md ), // ^1
|
247
|
+
( ml-lg , margin-left , $emma-margin-lg ), // ^1
|
248
|
+
( ml-xl , margin-left , $emma-margin-xl ), // ^1
|
237
249
|
( p-0 , padding , 0 ),
|
238
|
-
( p-xs , padding , $emma-padding-xs ),
|
239
|
-
( p-sm , padding , $emma-padding-sm ),
|
240
|
-
( p-md , padding , $emma-padding-md ),
|
241
|
-
( p-lg , padding , $emma-padding-lg ),
|
242
|
-
( p-xl , padding , $emma-padding-xl ),
|
250
|
+
( p-xs , padding , $emma-padding-xs ), // ^1
|
251
|
+
( p-sm , padding , $emma-padding-sm ), // ^1
|
252
|
+
( p-md , padding , $emma-padding-md ), // ^1
|
253
|
+
( p-lg , padding , $emma-padding-lg ), // ^1
|
254
|
+
( p-xl , padding , $emma-padding-xl ), // ^1
|
243
255
|
( pt-0 , padding-top , 0 ),
|
244
|
-
( pt-xs , padding-top , $emma-padding-xs ),
|
245
|
-
( pt-sm , padding-top , $emma-padding-sm ),
|
246
|
-
( pt-md , padding-top , $emma-padding-md ),
|
247
|
-
( pt-lg , padding-top , $emma-padding-lg ),
|
248
|
-
( pt-xl , padding-top , $emma-padding-xl ),
|
256
|
+
( pt-xs , padding-top , $emma-padding-xs ), // ^1
|
257
|
+
( pt-sm , padding-top , $emma-padding-sm ), // ^1
|
258
|
+
( pt-md , padding-top , $emma-padding-md ), // ^1
|
259
|
+
( pt-lg , padding-top , $emma-padding-lg ), // ^1
|
260
|
+
( pt-xl , padding-top , $emma-padding-xl ), // ^1
|
249
261
|
( pr-0 , padding-right , 0 ),
|
250
|
-
( pr-xs , padding-right , $emma-padding-xs ),
|
251
|
-
( pr-sm , padding-right , $emma-padding-sm ),
|
252
|
-
( pr-md , padding-right , $emma-padding-md ),
|
253
|
-
( pr-lg , padding-right , $emma-padding-lg ),
|
254
|
-
( pr-xl , padding-right , $emma-padding-xl ),
|
262
|
+
( pr-xs , padding-right , $emma-padding-xs ), // ^1
|
263
|
+
( pr-sm , padding-right , $emma-padding-sm ), // ^1
|
264
|
+
( pr-md , padding-right , $emma-padding-md ), // ^1
|
265
|
+
( pr-lg , padding-right , $emma-padding-lg ), // ^1
|
266
|
+
( pr-xl , padding-right , $emma-padding-xl ), // ^1
|
255
267
|
( pb-0 , padding-bottom , 0 ),
|
256
|
-
( pb-xs , padding-bottom , $emma-padding-xs ),
|
257
|
-
( pb-sm , padding-bottom , $emma-padding-sm ),
|
258
|
-
( pb-md , padding-bottom , $emma-padding-md ),
|
259
|
-
( pb-lg , padding-bottom , $emma-padding-lg ),
|
260
|
-
( pb-xl , padding-bottom , $emma-padding-xl ),
|
268
|
+
( pb-xs , padding-bottom , $emma-padding-xs ), // ^1
|
269
|
+
( pb-sm , padding-bottom , $emma-padding-sm ), // ^1
|
270
|
+
( pb-md , padding-bottom , $emma-padding-md ), // ^1
|
271
|
+
( pb-lg , padding-bottom , $emma-padding-lg ), // ^1
|
272
|
+
( pb-xl , padding-bottom , $emma-padding-xl ), // ^1
|
261
273
|
( pl-0 , padding-left , 0 ),
|
262
|
-
( pl-xs , padding-left , $emma-padding-xs ),
|
263
|
-
( pl-sm , padding-left , $emma-padding-sm ),
|
264
|
-
( pl-md , padding-left , $emma-padding-md ),
|
265
|
-
( pl-lg , padding-left , $emma-padding-lg ),
|
266
|
-
( pl-xl , padding-left , $emma-padding-xl ),
|
274
|
+
( pl-xs , padding-left , $emma-padding-xs ), // ^1
|
275
|
+
( pl-sm , padding-left , $emma-padding-sm ), // ^1
|
276
|
+
( pl-md , padding-left , $emma-padding-md ), // ^1
|
277
|
+
( pl-lg , padding-left , $emma-padding-lg ), // ^1
|
278
|
+
( pl-xl , padding-left , $emma-padding-xl ), // ^1
|
267
279
|
( w-a , width , auto ),
|
268
280
|
( w-0 , width , 0 ),
|
269
281
|
( w-1p , width , 1% ),
|
@@ -285,6 +297,20 @@ $emma-single-declaration-list: (
|
|
285
297
|
( h-0 , height , 0 ),
|
286
298
|
( h-100p , height , 100% ),
|
287
299
|
( maw-n , max-width , none ),
|
300
|
+
( maw-1p , max-width , 1% ),
|
301
|
+
( maw-10p , max-width , 10% ),
|
302
|
+
( maw-20p , max-width , 20% ),
|
303
|
+
( maw-25p , max-width , 25% ),
|
304
|
+
( maw-30p , max-width , 30% ),
|
305
|
+
( maw-33p , max-width , 33% ),
|
306
|
+
( maw-40p , max-width , 40% ),
|
307
|
+
( maw-50p , max-width , 50% ),
|
308
|
+
( maw-60p , max-width , 60% ),
|
309
|
+
( maw-66p , max-width , 66% ),
|
310
|
+
( maw-70p , max-width , 70% ),
|
311
|
+
( maw-75p , max-width , 75% ),
|
312
|
+
( maw-80p , max-width , 80% ),
|
313
|
+
( maw-90p , max-width , 90% ),
|
288
314
|
( maw-100p , max-width , 100% ),
|
289
315
|
( mah-n , max-height , none ),
|
290
316
|
( mah-100p , max-height , 100% ),
|
@@ -311,24 +337,29 @@ $emma-single-declaration-list: (
|
|
311
337
|
( bdcl-c , border-collapse , collapse ),
|
312
338
|
( bdcl-s , border-collapse , separate ),
|
313
339
|
( bdc-t , border-color , transparent ),
|
314
|
-
( bdc-cc , border-color , currentColor ),
|
315
|
-
( bdc-white , border-color , $emma-color-white ),
|
316
|
-
( bdc-silver , border-color , $emma-color-silver ),
|
317
|
-
( bdc-gray , border-color , $emma-color-gray ),
|
318
|
-
( bdc-black , border-color , $emma-color-black ),
|
319
|
-
( bdc-navy , border-color , $emma-color-navy ),
|
320
|
-
( bdc-blue , border-color , $emma-color-blue ),
|
321
|
-
( bdc-aqua , border-color , $emma-color-aqua ),
|
322
|
-
( bdc-teal , border-color , $emma-color-teal ),
|
323
|
-
( bdc-olive , border-color , $emma-color-olive ),
|
324
|
-
( bdc-green , border-color , $emma-color-green ),
|
325
|
-
( bdc-lime , border-color , $emma-color-lime ),
|
326
|
-
( bdc-yellow , border-color , $emma-color-yellow ),
|
327
|
-
( bdc-orange , border-color , $emma-color-orange ),
|
328
|
-
( bdc-red , border-color , $emma-color-red ),
|
329
|
-
( bdc-maroon , border-color , $emma-color-maroon ),
|
330
|
-
( bdc-fuchsia , border-color , $emma-color-fuchsia ),
|
331
|
-
( bdc-purple , border-color , $emma-color-purple ),
|
340
|
+
( bdc-cc , border-color , currentColor ), // ^1
|
341
|
+
( bdc-white , border-color , $emma-color-white ), // ^1
|
342
|
+
( bdc-silver , border-color , $emma-color-silver ), // ^1
|
343
|
+
( bdc-gray , border-color , $emma-color-gray ), // ^1
|
344
|
+
( bdc-black , border-color , $emma-color-black ), // ^1
|
345
|
+
( bdc-navy , border-color , $emma-color-navy ), // ^1
|
346
|
+
( bdc-blue , border-color , $emma-color-blue ), // ^1
|
347
|
+
( bdc-aqua , border-color , $emma-color-aqua ), // ^1
|
348
|
+
( bdc-teal , border-color , $emma-color-teal ), // ^1
|
349
|
+
( bdc-olive , border-color , $emma-color-olive ), // ^1
|
350
|
+
( bdc-green , border-color , $emma-color-green ), // ^1
|
351
|
+
( bdc-lime , border-color , $emma-color-lime ), // ^1
|
352
|
+
( bdc-yellow , border-color , $emma-color-yellow ), // ^1
|
353
|
+
( bdc-orange , border-color , $emma-color-orange ), // ^1
|
354
|
+
( bdc-red , border-color , $emma-color-red ), // ^1
|
355
|
+
( bdc-maroon , border-color , $emma-color-maroon ), // ^1
|
356
|
+
( bdc-fuchsia , border-color , $emma-color-fuchsia ), // ^1
|
357
|
+
( bdc-purple , border-color , $emma-color-purple ), // ^1
|
358
|
+
( bdc-primary , border-color , $emma-color-primary ), // ^1
|
359
|
+
( bdc-success , border-color , $emma-color-success ), // ^1
|
360
|
+
( bdc-info , border-color , $emma-color-info ), // ^1
|
361
|
+
( bdc-warning , border-color , $emma-color-warning ), // ^1
|
362
|
+
( bdc-danger , border-color , $emma-color-danger ), // ^1
|
332
363
|
( bdi-n , border-image , none ),
|
333
364
|
( bds-n , border-style , none ),
|
334
365
|
( bds-h , border-style , hidden ),
|
@@ -379,19 +410,24 @@ $emma-single-declaration-list: (
|
|
379
410
|
( bdt-n , border-top , none ),
|
380
411
|
( bdt-0 , border-top , 0 ),
|
381
412
|
( bdtc-t , border-top-color , transparent ),
|
382
|
-
( bdtc-cc , border-top-color , currentColor ),
|
413
|
+
( bdtc-cc , border-top-color , currentColor ), // ^1
|
383
414
|
( bdr-n , border-right , none ),
|
384
415
|
( bdr-0 , border-right , 0 ),
|
385
416
|
( bdrc-t , border-right-color , transparent ),
|
386
|
-
( bdrc-cc , border-right-color , currentColor ),
|
417
|
+
( bdrc-cc , border-right-color , currentColor ), // ^1
|
387
418
|
( bdb-n , border-bottom , none ),
|
388
419
|
( bdb-0 , border-bottom , 0 ),
|
389
420
|
( bdbc-t , border-bottom-color , transparent ),
|
390
|
-
( bdbc-cc , border-bottom-color , currentColor ),
|
421
|
+
( bdbc-cc , border-bottom-color , currentColor ), // ^1
|
391
422
|
( bdl-n , border-left , none ),
|
392
423
|
( bdl-0 , border-left , 0 ),
|
393
424
|
( bdlc-t , border-left-color , transparent ),
|
394
|
-
( bdlc-cc , border-left-color , currentColor ),
|
425
|
+
( bdlc-cc , border-left-color , currentColor ), // ^1
|
426
|
+
( bdrs-xs , border-radius , $emma-border-radius-xs ), // ^1
|
427
|
+
( bdrs-sm , border-radius , $emma-border-radius-sm ), // ^1
|
428
|
+
( bdrs-md , border-radius , $emma-border-radius-md ), // ^1
|
429
|
+
( bdrs-lg , border-radius , $emma-border-radius-lg ), // ^1
|
430
|
+
( bdrs-xl , border-radius , $emma-border-radius-xl ), // ^1
|
395
431
|
( bdrs-0 , border-radius , 0 ),
|
396
432
|
( bdrs-1 , border-radius , 1px ),
|
397
433
|
( bdrs-2 , border-radius , 2px ),
|
@@ -402,24 +438,29 @@ $emma-single-declaration-list: (
|
|
402
438
|
( bdrs-100p , border-radius , 100% ),
|
403
439
|
( bg-n , background , none ),
|
404
440
|
( bgc-t , background-color , transparent ),
|
405
|
-
( bgc-cc , background-color , currentColor ),
|
406
|
-
( bgc-white , background-color , $emma-color-white ),
|
407
|
-
( bgc-silver , background-color , $emma-color-silver ),
|
408
|
-
( bgc-gray , background-color , $emma-color-gray ),
|
409
|
-
( bgc-black , background-color , $emma-color-black ),
|
410
|
-
( bgc-navy , background-color , $emma-color-navy ),
|
411
|
-
( bgc-blue , background-color , $emma-color-blue ),
|
412
|
-
( bgc-aqua , background-color , $emma-color-aqua ),
|
413
|
-
( bgc-teal , background-color , $emma-color-teal ),
|
414
|
-
( bgc-olive , background-color , $emma-color-olive ),
|
415
|
-
( bgc-green , background-color , $emma-color-green ),
|
416
|
-
( bgc-lime , background-color , $emma-color-lime ),
|
417
|
-
( bgc-yellow , background-color , $emma-color-yellow ),
|
418
|
-
( bgc-orange , background-color , $emma-color-orange ),
|
419
|
-
( bgc-red , background-color , $emma-color-red ),
|
420
|
-
( bgc-maroon , background-color , $emma-color-maroon ),
|
421
|
-
( bgc-fuchsia , background-color , $emma-color-fuchsia ),
|
422
|
-
( bgc-purple , background-color , $emma-color-purple ),
|
441
|
+
( bgc-cc , background-color , currentColor ), // ^1
|
442
|
+
( bgc-white , background-color , $emma-color-white ), // ^1
|
443
|
+
( bgc-silver , background-color , $emma-color-silver ), // ^1
|
444
|
+
( bgc-gray , background-color , $emma-color-gray ), // ^1
|
445
|
+
( bgc-black , background-color , $emma-color-black ), // ^1
|
446
|
+
( bgc-navy , background-color , $emma-color-navy ), // ^1
|
447
|
+
( bgc-blue , background-color , $emma-color-blue ), // ^1
|
448
|
+
( bgc-aqua , background-color , $emma-color-aqua ), // ^1
|
449
|
+
( bgc-teal , background-color , $emma-color-teal ), // ^1
|
450
|
+
( bgc-olive , background-color , $emma-color-olive ), // ^1
|
451
|
+
( bgc-green , background-color , $emma-color-green ), // ^1
|
452
|
+
( bgc-lime , background-color , $emma-color-lime ), // ^1
|
453
|
+
( bgc-yellow , background-color , $emma-color-yellow ), // ^1
|
454
|
+
( bgc-orange , background-color , $emma-color-orange ), // ^1
|
455
|
+
( bgc-red , background-color , $emma-color-red ), // ^1
|
456
|
+
( bgc-maroon , background-color , $emma-color-maroon ), // ^1
|
457
|
+
( bgc-fuchsia , background-color , $emma-color-fuchsia ), // ^1
|
458
|
+
( bgc-purple , background-color , $emma-color-purple ), // ^1
|
459
|
+
( bgc-primary , background-color , $emma-color-primary ), // ^1
|
460
|
+
( bgc-success , background-color , $emma-color-success ), // ^1
|
461
|
+
( bgc-info , background-color , $emma-color-info ), // ^1
|
462
|
+
( bgc-warning , background-color , $emma-color-warning ), // ^1
|
463
|
+
( bgc-danger , background-color , $emma-color-danger ), // ^1
|
423
464
|
( bgi-n , background-image , none ),
|
424
465
|
( bgr-n , background-repeat , no-repeat ),
|
425
466
|
( bgr-x , background-repeat , repeat-x ),
|
@@ -428,32 +469,37 @@ $emma-single-declaration-list: (
|
|
428
469
|
( bgr-rd , background-repeat , round ),
|
429
470
|
( bga-f , background-attachment , fixed ),
|
430
471
|
( bga-s , background-attachment , scroll ),
|
431
|
-
( bgp-t , background-position , top ),
|
432
|
-
( bgp-r , background-position , right ),
|
433
|
-
( bgp-b , background-position , bottom ),
|
434
|
-
( bgp-l , background-position , left ),
|
435
|
-
( bgp-c , background-position , center ),
|
472
|
+
( bgp-t , background-position , top ), // ^1
|
473
|
+
( bgp-r , background-position , right ), // ^1
|
474
|
+
( bgp-b , background-position , bottom ), // ^1
|
475
|
+
( bgp-l , background-position , left ), // ^1
|
476
|
+
( bgp-c , background-position , center ), // ^1
|
436
477
|
( bgsz-a , background-size , auto ),
|
437
478
|
( bgsz-ct , background-size , contain ),
|
438
479
|
( bgsz-cv , background-size , cover ),
|
439
|
-
( c-i , color , inherit ),
|
440
|
-
( c-white , color , $emma-color-white ),
|
441
|
-
( c-silver , color , $emma-color-silver ),
|
442
|
-
( c-gray , color , $emma-color-gray ),
|
443
|
-
( c-black , color , $emma-color-black ),
|
444
|
-
( c-navy , color , $emma-color-navy ),
|
445
|
-
( c-blue , color , $emma-color-blue ),
|
446
|
-
( c-aqua , color , $emma-color-aqua ),
|
447
|
-
( c-teal , color , $emma-color-teal ),
|
448
|
-
( c-olive , color , $emma-color-olive ),
|
449
|
-
( c-green , color , $emma-color-green ),
|
450
|
-
( c-lime , color , $emma-color-lime ),
|
451
|
-
( c-yellow , color , $emma-color-yellow ),
|
452
|
-
( c-orange , color , $emma-color-orange ),
|
453
|
-
( c-red , color , $emma-color-red ),
|
454
|
-
( c-maroon , color , $emma-color-maroon ),
|
455
|
-
( c-fuchsia , color , $emma-color-fuchsia ),
|
456
|
-
( c-purple , color , $emma-color-purple ),
|
480
|
+
( c-i , color , inherit ), // ^1
|
481
|
+
( c-white , color , $emma-color-white ), // ^1
|
482
|
+
( c-silver , color , $emma-color-silver ), // ^1
|
483
|
+
( c-gray , color , $emma-color-gray ), // ^1
|
484
|
+
( c-black , color , $emma-color-black ), // ^1
|
485
|
+
( c-navy , color , $emma-color-navy ), // ^1
|
486
|
+
( c-blue , color , $emma-color-blue ), // ^1
|
487
|
+
( c-aqua , color , $emma-color-aqua ), // ^1
|
488
|
+
( c-teal , color , $emma-color-teal ), // ^1
|
489
|
+
( c-olive , color , $emma-color-olive ), // ^1
|
490
|
+
( c-green , color , $emma-color-green ), // ^1
|
491
|
+
( c-lime , color , $emma-color-lime ), // ^1
|
492
|
+
( c-yellow , color , $emma-color-yellow ), // ^1
|
493
|
+
( c-orange , color , $emma-color-orange ), // ^1
|
494
|
+
( c-red , color , $emma-color-red ), // ^1
|
495
|
+
( c-maroon , color , $emma-color-maroon ), // ^1
|
496
|
+
( c-fuchsia , color , $emma-color-fuchsia ), // ^1
|
497
|
+
( c-purple , color , $emma-color-purple ), // ^1
|
498
|
+
( c-primary , color , $emma-color-primary ), // ^1
|
499
|
+
( c-success , color , $emma-color-success ), // ^1
|
500
|
+
( c-info , color , $emma-color-info ), // ^1
|
501
|
+
( c-warning , color , $emma-color-warning ), // ^1
|
502
|
+
( c-danger , color , $emma-color-danger ), // ^1
|
457
503
|
( tbl-a , table-layout , auto ),
|
458
504
|
( tbl-f , table-layout , fixed ),
|
459
505
|
( lis-n , list-style , none ),
|
@@ -492,7 +538,7 @@ $emma-single-declaration-list: (
|
|
492
538
|
( te-b , text-emphasis , before ),
|
493
539
|
( te-a , text-emphasis , after ),
|
494
540
|
( ti-0 , text-indent , 0 ),
|
495
|
-
( ti--9999 , text-indent , -9999px ),
|
541
|
+
( ti--9999 , text-indent , -9999px ), // Emmet: ti-
|
496
542
|
( tov-e , text-overflow , ellipsis ),
|
497
543
|
( tov-c , text-overflow , clip ),
|
498
544
|
( tt-n , text-transform , none ),
|
@@ -514,12 +560,12 @@ $emma-single-declaration-list: (
|
|
514
560
|
( lh-md , line-height , $emma-line-height-md ),
|
515
561
|
( lh-lg , line-height , $emma-line-height-lg ),
|
516
562
|
( lh-xl , line-height , $emma-line-height-xl ),
|
517
|
-
( whs-nm , white-space , normal ),
|
563
|
+
( whs-nm , white-space , normal ), // Emmet: whs:n
|
518
564
|
( whs-p , white-space , pre ),
|
519
565
|
( whs-nw , white-space , nowrap ),
|
520
566
|
( whs-pw , white-space , pre-wrap ),
|
521
567
|
( whs-pl , white-space , pre-line ),
|
522
|
-
( wob-nm , word-break , normal ),
|
568
|
+
( wob-nm , word-break , normal ), // Emmet: wob:n
|
523
569
|
( wob-k , word-break , keep-all ),
|
524
570
|
( wob-ba , word-break , break-all ),
|
525
571
|
( wow-nm , word-wrap , normal ),
|
@@ -527,11 +573,11 @@ $emma-single-declaration-list: (
|
|
527
573
|
( wow-u , word-wrap , unrestricted ),
|
528
574
|
( wow-s , word-wrap , suppress ),
|
529
575
|
( wow-bw , word-wrap , break-word ),
|
530
|
-
( lts-nm , letter-spacing , normal ),
|
531
|
-
( fw-nm , font-weight , normal ),
|
576
|
+
( lts-nm , letter-spacing , normal ), // Emmet: lts:n
|
577
|
+
( fw-nm , font-weight , normal ), // Emmet: fw:n
|
532
578
|
( fw-b , font-weight , bold ),
|
533
579
|
( fw-br , font-weight , bolder ),
|
534
|
-
( fw-l , font-weight , 200 ),
|
580
|
+
( fw-l , font-weight , 200 ), // ^1
|
535
581
|
( fw-lr , font-weight , lighter ),
|
536
582
|
( fw-100 , font-weight , 100 ),
|
537
583
|
( fw-200 , font-weight , 200 ),
|
@@ -542,18 +588,18 @@ $emma-single-declaration-list: (
|
|
542
588
|
( fw-700 , font-weight , 700 ),
|
543
589
|
( fw-800 , font-weight , 800 ),
|
544
590
|
( fw-900 , font-weight , 900 ),
|
545
|
-
( fs-nm , font-style , normal ),
|
591
|
+
( fs-nm , font-style , normal ), // Emmet: fs:n
|
546
592
|
( fs-i , font-style , italic ),
|
547
593
|
( fs-o , font-style , oblique ),
|
548
|
-
( fv-nm , font-variant , normal ),
|
594
|
+
( fv-nm , font-variant , normal ), // Emmet: fv:n
|
549
595
|
( fv-sc , font-variant , small-caps ),
|
550
|
-
( fz-xs , font-size , $emma-font-size-xs ),
|
551
|
-
( fz-sm , font-size , $emma-font-size-sm ),
|
552
|
-
( fz-md , font-size , $emma-font-size-md ),
|
553
|
-
( fz-lg , font-size , $emma-font-size-lg ),
|
554
|
-
( fz-xl , font-size , $emma-font-size-xl ),
|
555
|
-
( fz-sr , font-size , smaller ),
|
556
|
-
( fz-lr , font-size , larger ),
|
596
|
+
( fz-xs , font-size , $emma-font-size-xs ), // ^1
|
597
|
+
( fz-sm , font-size , $emma-font-size-sm ), // ^1
|
598
|
+
( fz-md , font-size , $emma-font-size-md ), // ^1
|
599
|
+
( fz-lg , font-size , $emma-font-size-lg ), // ^1
|
600
|
+
( fz-xl , font-size , $emma-font-size-xl ), // ^1
|
601
|
+
( fz-sr , font-size , smaller ), // ^1
|
602
|
+
( fz-lr , font-size , larger ), // ^1
|
557
603
|
( fz-10 , font-size , 10px ),
|
558
604
|
( fz-11 , font-size , 11px ),
|
559
605
|
( fz-12 , font-size , 12px ),
|
@@ -565,12 +611,12 @@ $emma-single-declaration-list: (
|
|
565
611
|
( fz-18 , font-size , 18px ),
|
566
612
|
( fz-19 , font-size , 19px ),
|
567
613
|
( fz-20 , font-size , 20px ),
|
568
|
-
( fz-h1 , font-size , $emma-font-size-h1 ),
|
569
|
-
( fz-h2 , font-size , $emma-font-size-h2 ),
|
570
|
-
( fz-h3 , font-size , $emma-font-size-h3 ),
|
571
|
-
( fz-h4 , font-size , $emma-font-size-h4 ),
|
572
|
-
( fz-h5 , font-size , $emma-font-size-h5 ),
|
573
|
-
( fz-h6 , font-size , $emma-font-size-h6 ),
|
614
|
+
( fz-h1 , font-size , $emma-font-size-h1 ), // ^1
|
615
|
+
( fz-h2 , font-size , $emma-font-size-h2 ), // ^1
|
616
|
+
( fz-h3 , font-size , $emma-font-size-h3 ), // ^1
|
617
|
+
( fz-h4 , font-size , $emma-font-size-h4 ), // ^1
|
618
|
+
( fz-h5 , font-size , $emma-font-size-h5 ), // ^1
|
619
|
+
( fz-h6 , font-size , $emma-font-size-h6 ), // ^1
|
574
620
|
( ff-s , font-family , serif ),
|
575
621
|
( ff-ss , font-family , sans-serif ),
|
576
622
|
( ff-c , font-family , cursive ),
|
@@ -581,15 +627,15 @@ $emma-single-declaration-list: (
|
|
581
627
|
( ff-v , font-family , 'Verdana, Geneva, sans-serif' ),
|
582
628
|
( ff-l , font-family , '"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, "Helvetica Neue", Helvetica, sans-serif' ),
|
583
629
|
( op-0 , opacity , 0 ),
|
584
|
-
( op-0_1 , opacity , 0.1 ),
|
585
|
-
( op-0_2 , opacity , 0.2 ),
|
586
|
-
( op-0_3 , opacity , 0.3 ),
|
587
|
-
( op-0_4 , opacity , 0.4 ),
|
588
|
-
( op-0_5 , opacity , 0.5 ),
|
589
|
-
( op-0_6 , opacity , 0.6 ),
|
590
|
-
( op-0_7 , opacity , 0.7 ),
|
591
|
-
( op-0_8 , opacity , 0.8 ),
|
592
|
-
( op-0_9 , opacity , 0.9 ),
|
630
|
+
( op-0_1 , opacity , 0.1 ), // ^1
|
631
|
+
( op-0_2 , opacity , 0.2 ), // ^1
|
632
|
+
( op-0_3 , opacity , 0.3 ), // ^1
|
633
|
+
( op-0_4 , opacity , 0.4 ), // ^1
|
634
|
+
( op-0_5 , opacity , 0.5 ), // ^1
|
635
|
+
( op-0_6 , opacity , 0.6 ), // ^1
|
636
|
+
( op-0_7 , opacity , 0.7 ), // ^1
|
637
|
+
( op-0_8 , opacity , 0.8 ), // ^1
|
638
|
+
( op-0_9 , opacity , 0.9 ), // ^1
|
593
639
|
( op-1 , opacity , 1 ),
|
594
640
|
( rsz-n , resize , none ),
|
595
641
|
( rsz-b , resize , both ),
|
@@ -636,9 +682,9 @@ $emma-single-declaration-list: (
|
|
636
682
|
( ord-6 , order , 6 ),
|
637
683
|
( ord-9999 , order , 9999 ),
|
638
684
|
( fx-n , flex , none ),
|
639
|
-
( fx-1_1_a , flex , "1 1 auto" ),
|
640
|
-
( fx-1_0_a , flex , "1 0 auto" ),
|
641
|
-
( fx-1_1_1 , flex , "1 1 1px" ),
|
685
|
+
( fx-1_1_a , flex , "1 1 auto" ), // ^1
|
686
|
+
( fx-1_0_a , flex , "1 0 auto" ), // ^1
|
687
|
+
( fx-1_1_1 , flex , "1 1 1px" ), // ^1
|
642
688
|
( as-a , align-self , auto ),
|
643
689
|
( as-fs , align-self , flex-start ),
|
644
690
|
( as-fe , align-self , flex-end ),
|
@@ -648,11 +694,11 @@ $emma-single-declaration-list: (
|
|
648
694
|
( wfsm-a , -webkit-font-smoothing , antialiased ),
|
649
695
|
( wfsm-sa , -webkit-font-smoothing , subpixel-antialiased ),
|
650
696
|
( wfsm-n , -webkit-font-smoothing , none ),
|
651
|
-
( obf-f , object-fit , fill ),
|
652
|
-
( obf-ct , object-fit , contain ),
|
653
|
-
( obf-cv , object-fit , cover ),
|
654
|
-
( obf-n , object-fit , none ),
|
655
|
-
( obf-sd , object-fit , scale-down ),
|
697
|
+
( obf-f , object-fit , fill ), // ^1
|
698
|
+
( obf-ct , object-fit , contain ), // ^1
|
699
|
+
( obf-cv , object-fit , cover ), // ^1
|
700
|
+
( obf-n , object-fit , none ), // ^1
|
701
|
+
( obf-sd , object-fit , scale-down ), // ^1
|
656
702
|
// ^1 Not included in Emmet.
|
657
703
|
) !default;
|
658
704
|
|
@@ -737,6 +783,6 @@ $emma-multiple-declaration-list: (
|
|
737
783
|
}
|
738
784
|
|
739
785
|
@if length($invalid-snippet-list) != 0 {
|
740
|
-
@error "Invalid
|
786
|
+
@error "Invalid snippet names: #{$invalid-snippet-list}";
|
741
787
|
}
|
742
788
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emma-css-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ruedap
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.5.1
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Emma.css for Rails
|