active_frontend 17.0.2 → 17.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2170c7304af279b8fc06af5b14cf70b7fc849d6955e4cb04bd728de15e85e0f3
4
- data.tar.gz: 7c3f145540aded7999fd8388b637b7194e09e9a2f1aaac35f8ac6883046b8596
3
+ metadata.gz: d9e21a6fef66f4d05b111dd8718232819fd465eca1097bfac2c1aef549a88d5d
4
+ data.tar.gz: 2652aa5c0fd4976466ede3c6fa98ffff01437567c0faf0d4c7b4122406380026
5
5
  SHA512:
6
- metadata.gz: e1bb6fceaf61b7797a4f70b4e921f9d741c49a43fcf6788bd82c476b2b8aef15c1d1ef2bb3226304a892de73c0b15f2a1295caedee4a73630ececd8f96e21ba4
7
- data.tar.gz: 539eaf160ef63eec56733a99ae66bfe171e5828f693f232c48b31ec4bdb9d75b2f0070b4ff43db0ed92869929b471a4e21789c818fd45eb09e675ba928242b9b
6
+ metadata.gz: 592a084a6aa66545c97f0a5765a74d849a53c98386daec95fc8fb88c7731824b6ee217317645f8cdfdeca3b2f575a0fdf2e5968db37d6b149af9c48fc842e003
7
+ data.tar.gz: a258e8148e674d062cc14b89a35e089a90e94ce3c44e6f480484b64d45833762f32498778b7b361f09bb99b6d517d37bf7ec09066e2e62382c62d4960f3a118d
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveFrontend
4
- VERSION ||= '17.0.2'
4
+ VERSION ||= '17.0.3'
5
5
  end
@@ -5,6 +5,7 @@
5
5
  // Selects
6
6
  // Choicepickers
7
7
  // Checkboxes & Radios
8
+ // Errors
8
9
  // Notes
9
10
  // Tags
10
11
  // Labels
@@ -64,6 +65,11 @@ textarea,
64
65
  color: color(gray);
65
66
  font-weight: text-weight(semilight) !important;
66
67
  }
68
+ &:invalid,
69
+ &.invalid {
70
+ border-color: color(red);
71
+ box-shadow: 0 0 0 3px color-lucidity(red, 0.2);
72
+ }
67
73
  &:focus,
68
74
  &.focus {
69
75
  border-color: color(blue);
@@ -394,6 +400,10 @@ textarea {
394
400
  width: 12px;
395
401
  }
396
402
  &.form-align-vertical { vertical-align: middle; }
403
+ &.invalid {
404
+ border-color: color(red);
405
+ box-shadow: 0 0 0 3px color-lucidity(red, 0.2);
406
+ }
397
407
  &.dark {
398
408
  label {
399
409
  background: color(light-slate);
@@ -438,6 +448,35 @@ textarea {
438
448
  label { border-radius: inherit; }
439
449
  }
440
450
 
451
+ // Notes
452
+ // ==================================================
453
+ .form-error {
454
+ background: color-lucidity(red, 0.2);
455
+ border-bottom: 2px solid;
456
+ border-right: 2px solid;
457
+ border-color: color(red);
458
+ border-bottom-right-radius: border-radius(b);
459
+ border-top-left-radius: border-radius(s);
460
+ color: color(red);
461
+ font-size: text-size(xxxs);
462
+ height: 10px;
463
+ margin: 2px 0 0 2px;
464
+ position: absolute;
465
+ width: 10px;
466
+
467
+ &::after {
468
+ content: '\e99a';
469
+ font-family: 'Active Icons';
470
+ font-style: normal;
471
+ font-variant: normal;
472
+ font-weight: text-weight(normal);
473
+ position: absolute;
474
+ margin: -7.5px 0 0 1px;
475
+ speak: none;
476
+ text-transform: none;
477
+ }
478
+ }
479
+
441
480
  // Notes
442
481
  // ==================================================
443
482
  .form-note {
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: 17.0.2
4
+ version: 17.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-18 00:00:00.000000000 Z
11
+ date: 2019-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -1942,8 +1942,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1942
1942
  - !ruby/object:Gem::Version
1943
1943
  version: '0'
1944
1944
  requirements: []
1945
- rubyforge_project:
1946
- rubygems_version: 2.7.8
1945
+ rubygems_version: 3.0.2
1947
1946
  signing_key:
1948
1947
  specification_version: 4
1949
1948
  summary: ActiveFrontend Responsive Web Framework