active_frontend 15.0.11 → 15.0.12

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: 2e6ad1dddce919434dffe3971bf5b62f05a6a261
4
- data.tar.gz: 21002bb629dea95e24e51efa37b4c511233cd84e
3
+ metadata.gz: eb410fc34b4da6f1da6a21e200601c3608642915
4
+ data.tar.gz: 8172324fed29f4fcdc5687af750bf0547f8009eb
5
5
  SHA512:
6
- metadata.gz: d894fc48c9c7f9cb07662d4ef330337c422dc057deb32a6e244ce918c80f9a96549d95860a78ebcb9dfe8e739bc7cde396b8362fcbda00337aa11c5191909b71
7
- data.tar.gz: 4ead16b6a1d4c48df0455b0a91f91abafe7f647e254a357217616efaa2529fc6dc57c72cd642e833dfb2a08cc3a1cb348f6b374819a289a3bfea1f915aaf89c5
6
+ metadata.gz: 3110630119a1f32c80090677c4607c0a1e1b2abac8e2b1a39674f6a70bc5039ca39caa31c75cbffd8d40072c318c4bc19285a7f2b30035323c5a330d284e6925
7
+ data.tar.gz: c4b12bb95657e033e12d57091f477de777f942d62d7118008c417f9f8fb4893422f0dd70667019fbdeb7a6e775636bf02c3d78337a5d5c7d5920fe4374d4e8a2
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveFrontend
4
- VERSION ||= '15.0.11'
4
+ VERSION ||= '15.0.12'
5
5
  end
@@ -34,7 +34,8 @@
34
34
  Choicepicker.VERSION = '1.0.0';
35
35
  Choicepicker.DEFAULTS = {
36
36
  choices: [],
37
- choiceClass: 'form-align-vertical',
37
+ choiceClass: 'form-align-vertical dark',
38
+ filterClass: 'dark',
38
39
  fuzzySearch: true,
39
40
  item: '<li></li>',
40
41
  menu: '<ul class="choicepicker dropmenu caret"><span></span></ul>',
@@ -202,7 +203,7 @@
202
203
 
203
204
  Choicepicker.prototype.fuzzyTemplate = function () {
204
205
  var container = $('<div class="form-input form-size-s">');
205
- var textbox = $('<input type="text" placeholder="' + this.options.text.placeholder + '" id="' + this.$fuzzyId + '" autofocus>');
206
+ var textbox = $('<input type="text" class="' + this.options.filterClass + '" placeholder="' + this.options.text.placeholder + '" id="' + this.$fuzzyId + '" autofocus>');
206
207
 
207
208
  container.append(textbox);
208
209
 
@@ -33,6 +33,7 @@
33
33
 
34
34
  Selectpicker.VERSION = '1.0.0';
35
35
  Selectpicker.DEFAULTS = {
36
+ filterClass: 'dark',
36
37
  fuzzySearch: true,
37
38
  includePrompt: true,
38
39
  item: '<li></li>',
@@ -234,7 +235,7 @@
234
235
 
235
236
  Selectpicker.prototype.fuzzyTemplate = function () {
236
237
  var container = $('<div class="form-input form-size-s">');
237
- var textbox = $('<input type="text" placeholder="' + this.options.text.placeholder + '" id="' + this.$fuzzyId + '" autofocus>');
238
+ var textbox = $('<input type="text" class="' + this.options.filterClass + '" placeholder="' + this.options.text.placeholder + '" id="' + this.$fuzzyId + '" autofocus>');
238
239
 
239
240
  container.append(textbox);
240
241
 
@@ -83,15 +83,15 @@
83
83
 
84
84
  // Colors
85
85
  // ==================================================
86
- .dark,
87
- .primary { color: color(white); }
88
86
  .dark {
89
87
  background: color(black);
90
88
  border-color: color(dark-black);
89
+ color: color(gray);
91
90
  }
92
91
  .primary {
93
92
  background: color(primary);
94
93
  border-color: darker-color(primary);
94
+ color: color(white);
95
95
  }
96
96
  .light,
97
97
  .white {
@@ -18,7 +18,7 @@
18
18
 
19
19
  .swatch {
20
20
  @include appearance(none);
21
- border: 1px solid rgba(0,0,0,0.075);
21
+ border: 1px solid rgba(255,255,255,0.15);
22
22
  border-radius: border-radius(b);
23
23
  box-sizing: border-box;
24
24
  cursor: pointer;
@@ -23,20 +23,24 @@
23
23
  th:not(.dow) {
24
24
  &:hover,
25
25
  &:focus {
26
- background: color(haze);
26
+ background: color(gray);
27
+ color: color(white);
27
28
  cursor: pointer;
28
29
  }
29
30
  }
30
31
  td {
32
+ color: color(white);
33
+
31
34
  &.today {
32
- background: color-inverted(primary);
35
+ background: color(light-black);
33
36
  color: color(primary);
34
37
  }
35
38
  &.day,
36
39
  &.today {
37
40
  &:hover,
38
41
  &:focus {
39
- background: color(haze);
42
+ background: color(gray);
43
+ color: color(white);
40
44
  cursor: pointer;
41
45
  }
42
46
  &:active,
@@ -46,10 +50,15 @@
46
50
  }
47
51
  }
48
52
  &.old,
49
- &.new { color: color(gray); }
53
+ &.new {
54
+ color: color(light-gray);
55
+
56
+ &:hover,
57
+ &:focus { color: color(white); }
58
+ }
50
59
  &.disabled {
51
60
  background: color(transparent) !important;
52
- color: dark-color(dark-haze) !important;
61
+ color: color(dark-gray) !important;
53
62
  cursor: not-allowed !important;
54
63
  text-decoration: line-through;
55
64
  }
@@ -65,7 +74,8 @@
65
74
  &:hover,
66
75
  &.focus,
67
76
  &.focused {
68
- background: color(haze);
77
+ background: color(gray);
78
+ color: color(white);
69
79
  cursor: pointer;
70
80
  }
71
81
  &:active,
@@ -76,7 +86,7 @@
76
86
  }
77
87
  &.disabled {
78
88
  background: color(transparent) !important;
79
- color: dark-color(dark-haze) !important;
89
+ color: color(dark-gray) !important;
80
90
  cursor: not-allowed !important;
81
91
  text-decoration: line-through;
82
92
  }
@@ -10,10 +10,10 @@
10
10
  // ==================================================
11
11
  .dropmenu {
12
12
  @include transition(all 0.09s ease-in-out);
13
- background: color(white);
14
- border: 1px solid color(dark-haze);
13
+ background: color(black);
14
+ border: 1px solid color(dark-black);
15
15
  border-radius: border-radius(b);
16
- color: color(black);
16
+ color: color(gray);
17
17
  display: none;
18
18
  float: left;
19
19
  font-size: text-size(b);
@@ -53,7 +53,7 @@
53
53
  }
54
54
  &::after {
55
55
  border-bottom: 6px solid;
56
- border-bottom-color: color(white);
56
+ border-bottom-color: color(black);
57
57
  border-left: 6px solid color(transparent);
58
58
  border-right: 6px solid color(transparent);
59
59
  left: 10px;
@@ -70,12 +70,12 @@
70
70
  &::before { right: 9px; }
71
71
  &::after { right: 10px; }
72
72
  }
73
- &.dark {
74
- &::after { border-bottom-color: color(black); }
75
- }
76
73
  &.light {
77
74
  &::after { border-bottom-color: color(light-haze); }
78
75
  }
76
+ &.dark {
77
+ &::after { border-bottom-color: color(white); }
78
+ }
79
79
  }
80
80
 
81
81
  li {
@@ -137,7 +137,7 @@
137
137
  left: 9px;
138
138
  }
139
139
  &::after {
140
- border-top: 6px solid color(white);
140
+ border-top: 6px solid color(black);
141
141
  bottom: -6px;
142
142
  left: 10px;
143
143
  }
@@ -152,12 +152,12 @@
152
152
  &::before { right: 9px; }
153
153
  &::after { right: 10px; }
154
154
  }
155
- &.dark {
156
- &::after { border-top-color: color(black); }
157
- }
158
155
  &.light {
159
156
  &::after { border-top-color: color(light-haze); }
160
157
  }
158
+ &.white {
159
+ &::after { border-top-color: color(white); }
160
+ }
161
161
  }
162
162
  }
163
163
  }
@@ -36,7 +36,8 @@
36
36
  &.selectpicker-fuzzy { padding: 10px 10px 5px; }
37
37
  &.bsListEmpty { padding: 16px 20px; }
38
38
  &.optgroup {
39
- background: color(light-haze);
39
+ background: color(light-black);
40
+ color: color(white);
40
41
  font-size: text-size(xs);
41
42
  font-weight: text-weight(semibold);
42
43
  padding: 5px 10px;
@@ -8,6 +8,7 @@
8
8
  // Timepicker
9
9
  // ==================================================
10
10
  .timepicker {
11
+ color: color(white);
11
12
  padding: 4px;
12
13
 
13
14
  table {
@@ -19,6 +20,7 @@
19
20
  text-align: center;
20
21
 
21
22
  a {
23
+ color: color(gray);
22
24
  font-size: 24px;
23
25
 
24
26
  &:hover,
@@ -13,6 +13,7 @@
13
13
  > li > a b,
14
14
  > li.active > a {
15
15
  color: color(primary);
16
- font-weight: text-weight(semibold);
16
+ font-weight: text-weight(normal);
17
17
  }
18
+ > li > a b { text-decoration: underline; }
18
19
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.11
4
+ version: 15.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez