active_frontend 17.1.4 → 17.2.0

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
  SHA256:
3
- metadata.gz: 240f57cb078f9907dc3a847a670bbf706733d4090583d35b15d450d0db2ecf9d
4
- data.tar.gz: 1b51a22686ce0a9bc063f39809a525e044de10fc89006e7311ce3c1f95b3909d
3
+ metadata.gz: 954c2e5cbbd44914f5a1a8bf26ff328946665ae7ab7973e6095530c36d87db08
4
+ data.tar.gz: 272492f61e2f789c8edfa1b581c92d760ef5cf25dd92b032dff485a81b0f439c
5
5
  SHA512:
6
- metadata.gz: a8f05f8a86c334f657ce147fe8cc9a777331550a71595ed75be9b0fbeedf17c9b5cc288c24c6ceb80ffc28c6a631294ccb3a04d2e069aac462ca2c715ba62563
7
- data.tar.gz: 00167be348db26d4db48447d09047df7836884202f7cc6ecbcaba2c0f1698051e942617f949d89a87046ff9650f2c19e62d11407bc8a27b1c6d500a4bc4c52ae
6
+ metadata.gz: e950b6f153caf704b9519d368cfd2d0b3426ff747b7c372d661a1196f542998bdd51f5d45e22375434e470e6ba331e6c0b2378e19f7f55340a72f88bff9a0906
7
+ data.tar.gz: 13f6eb48751052ae0006139d09e07d55ca469abd502cc84aeb4cee960ee595831f55c0b6552e83c0e1a3c32826503c60fae050c44d96f638d2bc3ec11c5635a0
data/.irbrc CHANGED
@@ -5,8 +5,8 @@ begin
5
5
  require 'awesome_print'
6
6
 
7
7
  AwesomePrint.irb!
8
- rescue LoadError => err
9
- warn "Couldn't load awesome_print: #{err}"
8
+ rescue LoadError => e
9
+ warn "Couldn't load awesome_print: #{e}"
10
10
  end
11
11
 
12
12
  # IRB
@@ -1,7 +1,8 @@
1
+ require: rubocop-performance
1
2
  AllCops:
2
3
  DisplayCopNames: true
3
4
  DisplayStyleGuide: true
4
- TargetRubyVersion: 2.5
5
+ TargetRubyVersion: 2.6
5
6
  Exclude:
6
7
  - 'spec/**/**/*'
7
8
  Gemspec/OrderedDependencies:
@@ -31,4 +31,5 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency 'reek'
32
32
  spec.add_development_dependency 'rspec'
33
33
  spec.add_development_dependency 'rubocop'
34
+ spec.add_development_dependency 'rubocop-performance'
34
35
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveFrontend
4
- VERSION ||= '17.1.4'
4
+ VERSION ||= '17.2.0'
5
5
  end
@@ -5,7 +5,7 @@
5
5
  // Selects
6
6
  // Choicepickers
7
7
  // Checkboxes & Radios
8
- // Errors
8
+ // Helpers
9
9
  // Notes
10
10
  // Tags
11
11
  // Labels
@@ -142,7 +142,10 @@ textarea {
142
142
  // ==================================================
143
143
  .form-input {
144
144
  border-color: color(haze);
145
+ display: block;
146
+ position: relative;
145
147
  vertical-align: middle;
148
+ width: 100%;
146
149
 
147
150
  &.form-size-l {
148
151
  input,
@@ -453,34 +456,19 @@ textarea {
453
456
  label { border-radius: inherit; }
454
457
  }
455
458
 
456
- // Notes
459
+ // Helpers
457
460
  // ==================================================
461
+ .form-required,
458
462
  .form-error {
459
- background: color-lucidity(red, 0.2);
460
- border-bottom: 2px solid;
461
- border-right: 2px solid;
462
- border-color: color(red);
463
- border-bottom-right-radius: border-radius(s);
464
- border-top-left-radius: border-radius(s);
465
- color: color(red);
466
- font-size: text-size(xxxs);
467
- height: 10px;
468
- margin: 2px 0 0 2px;
463
+ background: color(gray);
464
+ border-radius: 100%;
465
+ height: 6px;
469
466
  position: absolute;
470
- width: 10px;
471
-
472
- &::after {
473
- content: '\e99a';
474
- font-family: 'Active Icons';
475
- font-style: normal;
476
- font-variant: normal;
477
- font-weight: text-weight(normal);
478
- position: absolute;
479
- margin: -7.5px 0 0 1px;
480
- speak: none;
481
- text-transform: none;
482
- }
467
+ right: 6px;
468
+ top: 6px;
469
+ width: 6px;
483
470
  }
471
+ .form-error { background: color(red); }
484
472
 
485
473
  // Notes
486
474
  // ==================================================
@@ -25,8 +25,11 @@ tfoot { font-weight: text-weight(semibold); }
25
25
  caption,
26
26
  td,
27
27
  th {
28
- padding: 10px 20px;
28
+ padding: 10px;
29
29
  vertical-align: middle;
30
+
31
+ &:first-child { padding-left: 20px; }
32
+ &:last-child { padding-right: 20px; }
30
33
  }
31
34
  thead {
32
35
  tr:not(:last-child) {
@@ -188,6 +191,8 @@ thead {
188
191
  th {
189
192
  border-left-style: solid;
190
193
  border-left-width: 1px;
194
+ padding-left: 20px;
195
+ padding-right: 20px;
191
196
  }
192
197
  }
193
198
 
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.1.4
4
+ version: 17.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-07 00:00:00.000000000 Z
11
+ date: 2019-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-performance
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  description: ActiveFrontend is a refreshingly modern responsive web framework for
126
140
  beautiful and faster project development.
127
141
  email:
@@ -1398,7 +1412,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1398
1412
  - !ruby/object:Gem::Version
1399
1413
  version: '0'
1400
1414
  requirements: []
1401
- rubygems_version: 3.0.2
1415
+ rubygems_version: 3.0.3
1402
1416
  signing_key:
1403
1417
  specification_version: 4
1404
1418
  summary: ActiveFrontend Responsive Web Framework