active_frontend 14.1.11 → 14.1.12

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: 37389123455dbe290f0fa661f1dbc3392fe23496
4
- data.tar.gz: e1694ebf67044f22bbd2798b5e002b35eb0dcd5c
3
+ metadata.gz: bb7d2e2dc38ec29f446a3b87fbec04a382c8d2ba
4
+ data.tar.gz: 0bbac34d846d4cdaabf1a5fd07fef2ce826baf39
5
5
  SHA512:
6
- metadata.gz: 400afed8b592123e9c534907b381997b707e09040522795306009f2fc0ae01bd2fa945b3aab816a83970629de4552d45111089927555d976b7783b9349c81db6
7
- data.tar.gz: f7dddf413a865d652f2d3d600a5e1f15c3d5cc629d55110c7292cb4b38586d2b931ad01dc4baeb449ababb8c5114031f6b02fda6b1aa02ff62cf3264b76d07d0
6
+ metadata.gz: fcf96c088c8603aa652764fc33d72246463f5d69a2173a3ad2e34b493caec54312fe46014a0de368ad0ff973ad9c484ae7711a31a608f3b458fed676ab7e9b94
7
+ data.tar.gz: 5f4520a7dea9addf6c4531f5dfbe2be3314b06e6ef5313c24afa4cce5f38c5ca6b56d9bc568fcaa4f5d0e7806d5739f926379ddf2cc8892451e62fff9af72a60
@@ -3,18 +3,18 @@ module ActiveFrontendHelper
3
3
  # rubocop:disable Metrics/MethodLength
4
4
  def colors_brand(opacity = 1)
5
5
  {
6
- lime: { rgba: "rgba(161,215,77,#{opacity})", hex: '#A1D74D' },
7
- green: { rgba: "rgba(27,185,51,#{opacity})", hex: '#1BB933' },
8
- teal: { rgba: "rgba(46,207,221,#{opacity})", hex: '#2ECFDD' },
9
- sky: { rgba: "rgba(0,170,255,#{opacity})", hex: '#00AAFF' },
10
- blue: { rgba: "rgba(13,134,246,#{opacity})", hex: '#0D86F6' },
11
- indigo: { rgba: "rgba(126,99,226,#{opacity})", hex: '#7E63E2' },
12
- purple: { rgba: "rgba(186,91,206,#{opacity})", hex: '#BA5BCE' },
13
- pink: { rgba: "rgba(239,76,136,#{opacity})", hex: '#EA4C88' },
14
- red: { rgba: "rgba(235,60,34,#{opacity})", hex: '#EB3C22' },
15
- brown: { rgba: "rgba(133,97,25,#{opacity})", hex: '#856119' },
16
- orange: { rgba: "rgba(253,163,13,#{opacity})", hex: '#FDA30D' },
17
- yellow: { rgba: "rgba(246,209,35,#{opacity})", hex: '#F6D123' }
6
+ lime: { rgba: "rgba(164,217,111,#{opacity})", hex: '#A4D96F' },
7
+ green: { rgba: "rgba(52,208,102,#{opacity})", hex: '#34D066' },
8
+ teal: { rgba: "rgba(66,223,193,#{opacity})", hex: '#42DFC1' },
9
+ sky: { rgba: "rgba(19,190,255,#{opacity})", hex: '#13BEFF' },
10
+ blue: { rgba: "rgba(50,156,255,#{opacity})", hex: '#329CFF' },
11
+ indigo: { rgba: "rgba(146,112,226,#{opacity})", hex: '#9270E2' },
12
+ purple: { rgba: "rgba(194,111,212,#{opacity})", hex: '#C26FD4' },
13
+ pink: { rgba: "rgba(240,129,143,#{opacity})", hex: '#F0818F' },
14
+ red: { rgba: "rgba(241,91,83,#{opacity})", hex: '#F15B53' },
15
+ brown: { rgba: "rgba(222,163,103,#{opacity})", hex: '#DEA367' },
16
+ orange: { rgba: "rgba(252,174,70,#{opacity})", hex: '#FCAE46' },
17
+ yellow: { rgba: "rgba(248,214,72,#{opacity})", hex: '#F8D648' }
18
18
  }
19
19
  end
20
20
 
@@ -24,12 +24,12 @@ module ActiveFrontendHelper
24
24
  dark_black: { rgba: "rgba(37,49,62,#{opacity})", hex: '#25313E' },
25
25
  black: { rgba: "rgba(44,58,73,#{opacity})", hex: '#2C3A49' },
26
26
  light_black: { rgba: "rgba(51,67,83,#{opacity})", hex: '#334353' },
27
- dark_gray: { rgba: "rgba(110,128,150,#{opacity})", hex: '#6E8096' },
28
- gray: { rgba: "rgba(130,146,164,#{opacity})", hex: '#8292A4' },
29
- light_gray: { rgba: "rgba(153,166,183,#{opacity})", hex: '#99A6B7' },
30
- dark_haze: { rgba: "rgba(229,232,241,#{opacity})", hex: '#E5E8F1' },
31
- haze: { rgba: "rgba(238,240,246,#{opacity})", hex: '#EEF0F6' },
32
- light_haze: { rgba: "rgba(249,250,252,#{opacity})", hex: '#F9FAFC' },
27
+ dark_gray: { rgba: "rgba(99,125,144,#{opacity})", hex: '#637D90' },
28
+ gray: { rgba: "rgba(120,144,162,#{opacity})", hex: '#7890A2' },
29
+ light_gray: { rgba: "rgba(143,163,178,#{opacity})", hex: '#8FA3B2' },
30
+ dark_haze: { rgba: "rgba(229,234,244,#{opacity})", hex: '#E5EAF4' },
31
+ haze: { rgba: "rgba(238,241,250,#{opacity})", hex: '#EEF1FA' },
32
+ light_haze: { rgba: "rgba(248,249,253,#{opacity})", hex: '#F8F9FD' },
33
33
  white: { rgba: "rgba(255,255,255,#{opacity})", hex: '#FFFFFF' }
34
34
  }
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveFrontend
2
- VERSION = '14.1.11'.freeze
2
+ VERSION = '14.1.12'.freeze
3
3
  end
@@ -17,9 +17,9 @@
17
17
  Colorpicker.VERSION = '1.0.0';
18
18
  Colorpicker.DEFAULTS = {
19
19
  colors: [
20
- '#A1D74D', '#1BB933', '#2ECFDD', '#0D86F6', '#7E63E2',
21
- '#BA5BCE', '#EA4C88', '#EB3C22', '#FDA30D', '#F6D123',
22
- '#2C3A49', '#8292A4', '#EEF0F6', '#FFFFFF'
20
+ '#A4D96F', '#34D066', '#42DFC1', '#329CFF', '#9270E2',
21
+ '#C26FD4', '#F0818F', '#F15B53', '#FCAE46', '#F8D648',
22
+ '#2C3A49', '#7890A2', '#EEF1FA', '#FFFFFF'
23
23
  ],
24
24
  item: '<li><button type="button"></button></li>',
25
25
  menu: '<ul class="colorpicker dropmenu caret"></ul>',
@@ -72,7 +72,8 @@
72
72
  Switch.prototype.on = function (silent) {
73
73
  if (this.$element.prop('disabled')) return false;
74
74
 
75
- this.$switch.removeClass('off');
75
+ this.$switch.removeClass('off')
76
+ .removeClass(this.options.offClass);
76
77
  this.$switch.addClass(this.options.onClass);
77
78
  this.$element.prop('checked', true)
78
79
  .attr('checked', 'checked');
@@ -86,7 +87,8 @@
86
87
  if (this.$element.prop('disabled')) return false;
87
88
 
88
89
  this.$switch.removeClass(this.options.onClass);
89
- this.$switch.addClass('off');
90
+ this.$switch.addClass('off')
91
+ .addClass(this.options.offClass);
90
92
  this.$element.prop('checked', false)
91
93
  .removeAttr('checked');
92
94
 
@@ -1331,8 +1331,8 @@ var cssKeywords = {
1331
1331
  lightsalmon: [255,160,122],
1332
1332
  lightseagreen: [32,178,170],
1333
1333
  lightskyblue: [135,206,250],
1334
- lightslategray: [130,146,164],
1335
- lightslategrey: [130,146,164],
1334
+ lightslategray: [120,144,162],
1335
+ lightslategrey: [120,144,162],
1336
1336
  lightsteelblue: [176,196,222],
1337
1337
  lightyellow: [255,255,224],
1338
1338
  lime: [0,255,0],
@@ -6138,14 +6138,14 @@ module.exports = function (Chart) {
6138
6138
  position: 'left',
6139
6139
  gridLines: {
6140
6140
  display: true,
6141
- color: 'rgba(229,232,241,1)',
6141
+ color: 'rgba(229,234,244,1)',
6142
6142
  lineWidth: 1,
6143
6143
  drawBorder: true,
6144
6144
  drawOnChartArea: true,
6145
6145
  drawTicks: true,
6146
6146
  tickMarkLength: 10,
6147
6147
  zeroLineWidth: 1,
6148
- zeroLineColor: 'rgba(229,232,241,1)',
6148
+ zeroLineColor: 'rgba(229,234,244,1)',
6149
6149
  offsetGridLines: false
6150
6150
  },
6151
6151
  scaleLabel: {
@@ -8681,7 +8681,7 @@ module.exports = function (Chart) {
8681
8681
  position: 'chartArea',
8682
8682
  angleLines: {
8683
8683
  display: true,
8684
- color: 'rgba(229,232,241,1)',
8684
+ color: 'rgba(229,234,244,1)',
8685
8685
  lineWidth: 1
8686
8686
  },
8687
8687
  ticks: {
@@ -42,10 +42,10 @@
42
42
  settings: {
43
43
  displayPercentageChange: false,
44
44
  pPrecision: 1,
45
- labelLineColor: '#E5E8F1',
45
+ labelLineColor: '#E5EAF4',
46
46
  labelFontColor: '#2C3A49',
47
- sectionColor: ['#054B8B', '#075FB0', '#0872D5', '#0D86F6', '#3298F7', '#57ABF9', '#7CDDFA'],
48
- pSectionColor: '#F9FAFC',
47
+ sectionColor: ['#054B8B', '#075FB0', '#0872D5', '#329CFF', '#3298F7', '#57ABF9', '#7CDDFA'],
48
+ pSectionColor: '#F8F9FD',
49
49
  font: 'Verdana',
50
50
  maxFontSize: 12,
51
51
  fontWeight: '600',
@@ -127,7 +127,7 @@
127
127
 
128
128
  this.drawClippingArea(ctx, settings);
129
129
 
130
- ctx.fillStyle = '#E5E8F1';
130
+ ctx.fillStyle = '#E5EAF4';
131
131
  ctx.fill();
132
132
  ctx.clip();
133
133
 
@@ -135,7 +135,7 @@
135
135
  this.drawClippingArea(ctx, settings, true);
136
136
 
137
137
  ctx.lineWidth = 0;
138
- ctx.strokeStyle = '#E5E8F1';
138
+ ctx.strokeStyle = '#E5EAF4';
139
139
  ctx.stroke();
140
140
  }
141
141
  },
@@ -34,30 +34,30 @@ $animation-durations: (
34
34
  // Color
35
35
  // ==================================================
36
36
  $colors-brand: (
37
- 'lime': rgba(161,215,77,1),
38
- 'green': rgba(27,185,51,1),
39
- 'teal': rgba(46,207,221,1),
40
- 'sky': rgba(0,170,255,1),
41
- 'blue': rgba(13,134,246,1),
42
- 'indigo': rgba(126,99,226,1),
43
- 'purple': rgba(186,91,206,1),
44
- 'pink': rgba(239,76,136,1),
45
- 'red': rgba(235,60,34,1),
46
- 'brown': rgba(133,97,25,1),
47
- 'orange': rgba(253,163,13,1),
48
- 'yellow': rgba(246,209,35,1)
37
+ 'lime': rgba(164,217,111,1),
38
+ 'green': rgba(52,208,102,1),
39
+ 'teal': rgba(66,223,193,1),
40
+ 'sky': rgba(19,190,255,1),
41
+ 'blue': rgba(50,156,255,1),
42
+ 'indigo': rgba(146,112,226,1),
43
+ 'purple': rgba(194,111,212,1),
44
+ 'pink': rgba(240,129,143,1),
45
+ 'red': rgba(241,91,83,1),
46
+ 'brown': rgba(222,163,103,1),
47
+ 'orange': rgba(252,174,70,1),
48
+ 'yellow': rgba(248,214,72,1)
49
49
  );
50
50
  $colors-grayscale: (
51
51
  'transparent': rgba(0,0,0,0),
52
52
  'dark-black': rgba(37,49,62,1),
53
53
  'black': rgba(44,58,73,1),
54
54
  'light-black': rgba(51,67,83,1),
55
- 'dark-gray': rgba(110,128,150,1),
56
- 'gray': rgba(130,146,164,1),
57
- 'light-gray': rgba(153,166,183,1),
58
- 'dark-haze': rgba(229,232,241,1),
59
- 'haze': rgba(238,240,246,1),
60
- 'light-haze': rgba(249,250,252,1),
55
+ 'dark-gray': rgba(99,125,144,1),
56
+ 'gray': rgba(120,144,162,1),
57
+ 'light-gray': rgba(143,163,178,1),
58
+ 'dark-haze': rgba(229,234,244,1),
59
+ 'haze': rgba(238,241,250,1),
60
+ 'light-haze': rgba(248,249,253,1),
61
61
  'white': rgba(255,255,255,1)
62
62
  );
63
63
  $colors-global: (
@@ -18,7 +18,6 @@ table {
18
18
  border-collapse: collapse;
19
19
  border-color: color(dark-haze);
20
20
  border-spacing: 0;
21
- max-width: 100%;
22
21
  }
23
22
  caption,
24
23
  thead,
@@ -200,6 +199,8 @@ thead {
200
199
  .table-responsive {
201
200
  @include overflow-scrolling(touch);
202
201
  background: color(transparent);
202
+ border-style: solid;
203
+ border-width: 1px;
203
204
  max-height: 300px;
204
205
  overflow: scroll;
205
206
 
@@ -216,11 +217,12 @@ thead {
216
217
  padding: 10px 10px 8px;
217
218
  }
218
219
  }
219
-
220
220
  .table-line {
221
221
  border-left: 1px solid;
222
222
  border-right: 1px solid;
223
223
  border-color: inherit;
224
224
  }
225
+ .table-encase,
226
+ .table-border { margin: -1px 0 0 -1px; }
225
227
  }
226
228
  }
@@ -77,12 +77,10 @@
77
77
  .cohort-high,
78
78
  .cohort-hot,
79
79
  .cohort-extra-hot { color: color(white); }
80
- @each $name, $multiplier in (extra-low: 3.25, low: 3, medium-low: 2, medium: 1) {
80
+ @each $name, $multiplier in (extra-low: 2.5, low: 2.25, medium-low: 1.75, medium: 1) {
81
81
  .cohort-#{$name} { background: lighten(color(primary), percentage((12.5 * $multiplier) / 100)); }
82
82
  }
83
- .cohort-medium-high {
84
- background: color(primary);
85
- }
86
- @each $name, $multiplier in (high: 1, hot: 2, extra-hot: 3) {
83
+ .cohort-medium-high { background: color(primary); }
84
+ @each $name, $multiplier in (high: 1, hot: 1.75, extra-hot: 2.25) {
87
85
  .cohort-#{$name} { background: darken(color(primary), percentage((12.5 * $multiplier) / 100)); }
88
86
  }
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.1.11
4
+ version: 14.1.12
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-07-12 00:00:00.000000000 Z
11
+ date: 2017-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails