active_frontend 14.0.51 → 14.0.52

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
  SHA1:
3
- metadata.gz: 8140ac029bb0d4c0c5e6a6fb79ba8ff4a1a2c699
4
- data.tar.gz: 695a32a80b50bca248355b8b658d65d33a72bee8
3
+ metadata.gz: bd77f28dfa348625f61527f3dff2527dbf21d941
4
+ data.tar.gz: 060d2df5ecd12a1ae251085919bd5c4dfccd67c1
5
5
  SHA512:
6
- metadata.gz: 2a182d5eeea51057776c278c7a83f216cb63e4bcb934bcc9ee0c892f1e15b430a29a72e25b3536e8845228ef10c5028e23be5dea953c61cf35413227c4c17658
7
- data.tar.gz: 61093e0b771ac13d2779efc2cc1aeb8ae0dd5a4beea7f5308c973553d8e6dc7b8b15813d2f47c8782c9b5263ef5ac29c0ea48f031040015b854c6544eff552fd
6
+ metadata.gz: b87146999c89691453bfd64615e548c3b0065f8f05437e68aeaa2f838f8b673e83949f91e8622f743bb62d2c8e3ee1ee360e75d5efcd0e369c39f8ba6459b828
7
+ data.tar.gz: 2283ae66dd594bcc8a4c728c438c147ebcc1e395a380746eced5c92a89dda33ed96d13398f08ef781a730657ab45247869c17300782e862820701ba91fdd793e
@@ -1,3 +1,3 @@
1
1
  module ActiveFrontend
2
- VERSION = '14.0.51'.freeze
2
+ VERSION = '14.0.52'.freeze
3
3
  end
@@ -56,22 +56,12 @@ textarea {
56
56
  padding: 9px 15px;
57
57
  width: 100%;
58
58
  vertical-align: middle;
59
-
60
- &:focus { border-color: color(blue); }
61
- &:focus:invalid { border-color: color(red); }
62
59
  }
63
60
  input:not([type='submit']),
64
61
  select,
65
62
  textarea {
66
63
  box-shadow: inset 0 2px 0 0 darkish-color(light-haze);
67
64
 
68
- &[disabled] {
69
- @include text-fill-color(color(gray));
70
- background: color(light-haze);
71
- color: color(gray);
72
- font-weight: text-weight(normal) !important;
73
- }
74
-
75
65
  &.dark {
76
66
  background: color(light-black);
77
67
  box-shadow: inset 0 2px 0 0 dark-color(light-black);
@@ -83,6 +73,21 @@ textarea {
83
73
 
84
74
  &[disabled] { background: color(light-haze); }
85
75
  }
76
+
77
+ &[disabled] {
78
+ @include text-fill-color(color(gray));
79
+ background: color(light-haze);
80
+ color: color(gray);
81
+ font-weight: text-weight(normal) !important;
82
+ }
83
+ &:focus {
84
+ box-shadow: inset 0 2px 0 0 transparentize(color(blue), 0.5);
85
+ border-color: color(blue);
86
+ }
87
+ &:focus:invalid {
88
+ box-shadow: inset 0 2px 0 0 transparentize(color(red), 0.5);
89
+ border-color: color(red);
90
+ }
86
91
  }
87
92
  input {
88
93
  &::-webkit-input-placeholder { line-height: 24px; }
@@ -336,25 +341,32 @@ textarea {
336
341
  cursor: pointer;
337
342
  height: 100%;
338
343
  line-height: inherit;
339
- margin: -3px 0 0 -1px;
344
+ margin: -1px 0 0 -1px;
340
345
  position: absolute;
341
346
  text-align: center;
342
347
  width: 100%;
343
348
 
344
- &:hover { background: color(haze); }
349
+ &:hover {
350
+ background: color(haze);
351
+ box-shadow: none !important;
352
+ }
345
353
  }
346
- + label { vertical-align: baseline; }
347
354
  input[type='checkbox'],
348
355
  input[type='radio'] {
356
+ left: -9999px;
349
357
  margin: 0;
350
358
  padding: 0;
359
+ position: absolute;
351
360
  visibility: hidden;
361
+ top: -9999px;
352
362
 
353
363
  &:checked + label {
354
364
  background: color(green);
355
365
  border-color: color(green);
356
366
  color: color(white);
357
367
  }
368
+
369
+ + label { vertical-align: baseline; }
358
370
  }
359
371
 
360
372
  &.form-size-l {
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.51
4
+ version: 14.0.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-01 00:00:00.000000000 Z
11
+ date: 2017-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails