active_frontend 14.0.32 → 14.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ffa6666fa02df1577d66b0cab567f4eb462ddd2
4
- data.tar.gz: 286435eeb00a55726c14043f54f26cf71bafeb27
3
+ metadata.gz: f424e1e44f8dbc1bf39c7a3496d7ca5767743335
4
+ data.tar.gz: f70f510854ef89c2a5d3972a4d004392404c6e7e
5
5
  SHA512:
6
- metadata.gz: 1e4da526b77a474f27bae9b6bcd082ed9431cda43dc8e4f0535518f9d8c0ab9c40ee3d1d2a978272b52762775b9a13b42b2669a998d723a9463add39587a9dcd
7
- data.tar.gz: d7c80de51cc1f7aeb36ebe2f4b8cb3190a46a9a3f279558071fdc3085fbdc46180ef132ff9b6c75ebf9ba6c1caf1feb09e1216011fc6905d3f2ed6f166e28322
6
+ metadata.gz: 0e102a593b9baf6fe98cda76e3e9d9c27f2599155a572e2c4839cffa12ddadb16a0f34e0198b2ac18626dc54c25f58880ccc338e33a73dec5189a4539980464b
7
+ data.tar.gz: 786a727a0b0ae3c88b970611cf116b71e7008e3079c123ab32f350072f2555b89040034d83ea5668120dee08fd3dfe7d4d54e7b27be821d2841a2eb294ea8907
@@ -1,3 +1,3 @@
1
1
  module ActiveFrontend
2
- VERSION = '14.0.32'.freeze
2
+ VERSION = '14.0.33'.freeze
3
3
  end
@@ -398,11 +398,15 @@ textarea {
398
398
 
399
399
  label {
400
400
  @include transition(all 0.3s ease-in-out);
401
+ background: color(haze);
402
+ border-radius: border-radius(s);
401
403
  font-size: text-size(xxs);
402
404
  font-weight: text-weight(semibold);
403
405
  left: 16px;
404
- margin: 2px 0 0;
406
+ line-height: 1;
407
+ margin: -7px 0 0;
405
408
  opacity: 0;
409
+ padding: 3px 6px;
406
410
  position: absolute;
407
411
  top: 20px;
408
412
  }
@@ -412,19 +416,24 @@ textarea {
412
416
  label {
413
417
  font-size: text-size(xs);
414
418
  left: 21px;
415
- margin-top: 3px;
419
+ margin-top: -9px;
420
+ padding: 4px 8px;
416
421
  }
417
422
  }
418
- &.form-size-m {
419
- label { margin-top: 2px; }
420
- }
421
423
  &.form-size-s {
422
424
  label {
423
- font-size: text-size(xxxs);
425
+ font-size: text-size(xxs);
424
426
  left: 12px;
425
- margin-top: 1px;
427
+ margin-top: -6px;
428
+ padding: 2px 3px 1px;
426
429
  }
427
430
  }
431
+ &.dark {
432
+ label { background: color(light-black); }
433
+ }
434
+ &.light {
435
+ label { background: color(dark-haze); }
436
+ }
428
437
 
429
438
  input,
430
439
  textarea,
@@ -483,7 +492,10 @@ textarea {
483
492
  min-width: auto;
484
493
  padding: 0;
485
494
 
486
- .btn { border-radius: 0; }
495
+ .btn {
496
+ border-left-width: inherit;
497
+ border-radius: 0;
498
+ }
487
499
  }
488
500
 
489
501
  .form-checkbox,
@@ -504,6 +516,7 @@ textarea {
504
516
  }
505
517
  }
506
518
 
519
+ *:not(:first-child) { border-left: 0; }
507
520
  *:first-child {
508
521
  border-bottom-left-radius: border-radius(b);
509
522
  border-top-left-radius: border-radius(b);
@@ -522,7 +535,6 @@ textarea {
522
535
  border-top-right-radius: border-radius(b) !important;
523
536
  }
524
537
  }
525
- *:not(:last-child) { border-right: 0; }
526
538
 
527
539
  &.form-size-l {
528
540
  .form-addon {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.0.32
4
+ version: 14.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-07 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails