active_frontend 15.0.13 → 15.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/app/.DS_Store +0 -0
  4. data/app/assets/.DS_Store +0 -0
  5. data/app/assets/images/.DS_Store +0 -0
  6. data/app/assets/images/placeholders/.DS_Store +0 -0
  7. data/app/assets/images/placeholders/camera-large.png +0 -0
  8. data/app/assets/images/placeholders/camera-small.png +0 -0
  9. data/app/assets/images/placeholders/camera.png +0 -0
  10. data/app/assets/images/placeholders/document-large.png +0 -0
  11. data/app/assets/images/placeholders/document-small.png +0 -0
  12. data/app/assets/images/placeholders/document.png +0 -0
  13. data/app/assets/images/placeholders/file-text-large.png +0 -0
  14. data/app/assets/images/placeholders/file-text-small.png +0 -0
  15. data/app/assets/images/placeholders/file-text.png +0 -0
  16. data/app/assets/images/placeholders/home-large.png +0 -0
  17. data/app/assets/images/placeholders/home-small.png +0 -0
  18. data/app/assets/images/placeholders/home.png +0 -0
  19. data/app/assets/images/placeholders/image-large.png +0 -0
  20. data/app/assets/images/placeholders/image-small.png +0 -0
  21. data/app/assets/images/placeholders/image.png +0 -0
  22. data/app/assets/images/placeholders/photo-large.png +0 -0
  23. data/app/assets/images/placeholders/photo-small.png +0 -0
  24. data/app/assets/images/placeholders/photo.png +0 -0
  25. data/app/assets/images/placeholders/store-large.png +0 -0
  26. data/app/assets/images/placeholders/store-small.png +0 -0
  27. data/app/assets/images/placeholders/store.png +0 -0
  28. data/app/assets/images/placeholders/user-large.png +0 -0
  29. data/app/assets/images/placeholders/user-small.png +0 -0
  30. data/app/assets/images/placeholders/user.png +0 -0
  31. data/app/helpers/active_frontend_helper.rb +23 -24
  32. data/lib/active_frontend/version.rb +1 -1
  33. data/vendor/assets/javascripts/base/_colorpicker.js +3 -3
  34. data/vendor/assets/javascripts/extensions/_chart.js +5 -5
  35. data/vendor/assets/javascripts/extensions/_funnel.js +2 -2
  36. data/vendor/assets/stylesheets/_utility.scss +19 -2
  37. data/vendor/assets/stylesheets/_variable.scss +35 -66
  38. metadata +11 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 529a7af85917a43fec4fe887121da4ae2cf1cc25
4
- data.tar.gz: c74373a11cf76f831f71c06abd1eed57a066d18b
3
+ metadata.gz: 3f1db2f10fbfe1742be7950b9d04abe5f48fe47e
4
+ data.tar.gz: 7ebf3b893a2aac1003cc6e941da6e6ff2cb21566
5
5
  SHA512:
6
- metadata.gz: d6e974219b1dc07352a4a11f9f364f45136cbc559627983e4e6f2447f1e280e1e1ecad2790e01e6315f392cb1454ee0766520339ba0f84fac905f2bb34c18505
7
- data.tar.gz: 8e8c79d0c543d66807f2292f324d287bc97260cbe6e175c1f752307d09249ec9caf3b7bb95f1bd396d57c47d46b2cf3292801c19f6e39bc5712fe21e19a7fb23
6
+ metadata.gz: 75a8a2354f995d27d07267cc30946558805fec614cde2661d2e78588df03455b3983c0e2fad94f50461ee9d8d65b03e50ec5a817beb7686e323b2335cbe4bf5a
7
+ data.tar.gz: 8fbf746ebada6242bc4a91328372a04d28451843df2b1585007105c10555b4ca81b6217d009040945edce930672ad87fa779d7d80d5ae842236cda6b99dce723
data/.DS_Store CHANGED
Binary file
data/app/.DS_Store CHANGED
Binary file
data/app/assets/.DS_Store CHANGED
Binary file
Binary file
@@ -5,34 +5,34 @@ module ActiveFrontendHelper
5
5
  # rubocop:disable Metrics/MethodLength
6
6
  def colors_brand(opacity = 1)
7
7
  {
8
- lime: { rgba: "rgba(164,217,111,#{opacity})", hex: '#A4D96F' },
9
- green: { rgba: "rgba(52,208,102,#{opacity})", hex: '#34D066' },
10
- teal: { rgba: "rgba(66,223,193,#{opacity})", hex: '#42DFC1' },
11
- sky: { rgba: "rgba(19,190,255,#{opacity})", hex: '#13BEFF' },
12
- blue: { rgba: "rgba(50,156,255,#{opacity})", hex: '#329CFF' },
13
- indigo: { rgba: "rgba(146,112,226,#{opacity})", hex: '#9270E2' },
14
- purple: { rgba: "rgba(194,111,212,#{opacity})", hex: '#C26FD4' },
15
- pink: { rgba: "rgba(240,129,143,#{opacity})", hex: '#F0818F' },
16
- red: { rgba: "rgba(241,91,83,#{opacity})", hex: '#F15B53' },
17
- brown: { rgba: "rgba(211,143,95,#{opacity})", hex: '#D38F5F' },
18
- orange: { rgba: "rgba(252,174,70,#{opacity})", hex: '#FCAE46' },
19
- yellow: { rgba: "rgba(248,214,72,#{opacity})", hex: '#F8D648' }
8
+ lime: { rgba: "rgba(151,212,91,#{opacity})", hex: '#97D45B' },
9
+ green: { rgba: "rgba(52,208,89,#{opacity})", hex: '#34D059' },
10
+ teal: { rgba: "rgba(66,223,180,#{opacity})", hex: '#42DFB4' },
11
+ sky: { rgba: "rgba(0,179,255,#{opacity})", hex: '#00B3FF' },
12
+ blue: { rgba: "rgba(50,139,255,#{opacity})", hex: '#328BFF' },
13
+ indigo: { rgba: "rgba(141,99,239,#{opacity})", hex: '#8D63EF' },
14
+ purple: { rgba: "rgba(179,104,219,#{opacity})", hex: '#B368DB' },
15
+ pink: { rgba: "rgba(237,106,123,#{opacity})", hex: '#ED6A7B' },
16
+ brown: { rgba: "rgba(198,115,89,#{opacity})", hex: '#C67359' },
17
+ red: { rgba: "rgba(240,74,65#{opacity})", hex: '#F04A41' },
18
+ orange: { rgba: "rgba(252,163,45,#{opacity})", hex: '#FCA32D' },
19
+ yellow: { rgba: "rgba(247,208,47,#{opacity})", hex: '#F7D02F' }
20
20
  }
21
21
  end
22
22
 
23
23
  def colors_grayscale(opacity = 1)
24
24
  {
25
- transparent: { rgba: 'rgba(0,0,0,0)', hex: '#FFFFFF' },
26
- dark_black: { rgba: "rgba(37,49,62,#{opacity})", hex: '#25313E' },
27
- black: { rgba: "rgba(44,58,73,#{opacity})", hex: '#2C3A49' },
28
- light_black: { rgba: "rgba(51,67,83,#{opacity})", hex: '#334353' },
29
- dark_gray: { rgba: "rgba(130,149,167,#{opacity})", hex: '#8295A7' },
30
- gray: { rgba: "rgba(145,162,178,#{opacity})", hex: '#91A2B2' },
31
- light_gray: { rgba: "rgba(160,174,188,#{opacity})", hex: '#A0AEBC' },
32
- dark_haze: { rgba: "rgba(229,234,244,#{opacity})", hex: '#E5EAF4' },
33
- haze: { rgba: "rgba(238,241,250,#{opacity})", hex: '#EEF1FA' },
25
+ light_black: { rgba: "rgba(58,63,84,#{opacity})", hex: '#3A3F54' },
26
+ black: { rgba: "rgba(44,49,70,#{opacity})", hex: '#2C3146' },
27
+ dark_black: { rgba: "rgba(30,35,55,#{opacity})", hex: '#1E2337' },
28
+ light_gray: { rgba: "rgba(152,166,184,#{opacity})", hex: '#98A6B8' },
29
+ gray: { rgba: "rgba(138,152,170,#{opacity})", hex: '#8A98AA' },
30
+ dark_gray: { rgba: "rgba(124,138,156,#{opacity})", hex: '#7C8A9C' },
34
31
  light_haze: { rgba: "rgba(248,249,253,#{opacity})", hex: '#F8F9FD' },
35
- white: { rgba: "rgba(255,255,255,#{opacity})", hex: '#FFFFFF' }
32
+ haze: { rgba: "rgba(238,241,250,#{opacity})", hex: '#EEF1FA' },
33
+ dark_haze: { rgba: "rgba(229,234,244,#{opacity})", hex: '#E5EAF4' },
34
+ white: { rgba: "rgba(255,255,255,#{opacity})", hex: '#FFFFFF' },
35
+ transparent: { rgba: 'rgba(0,0,0,0)', hex: '#FFFFFF' }
36
36
  }
37
37
  end
38
38
  # rubocop:enable Metrics/MethodLength
@@ -49,8 +49,7 @@ module ActiveFrontendHelper
49
49
  end
50
50
 
51
51
  def colors(opacity = 1)
52
- colors_global(opacity).merge(colors_brand(opacity))
53
- .merge(colors_grayscale(opacity))
52
+ colors_global(opacity).merge(colors_brand(opacity)).merge(colors_grayscale(opacity))
54
53
  end
55
54
 
56
55
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveFrontend
4
- VERSION ||= '15.0.13'
4
+ VERSION ||= '15.0.14'
5
5
  end
@@ -17,9 +17,9 @@
17
17
  Colorpicker.VERSION = '1.0.0';
18
18
  Colorpicker.DEFAULTS = {
19
19
  colors: [
20
- '#A4D96F', '#34D066', '#42DFC1', '#329CFF', '#9270E2',
21
- '#C26FD4', '#F0818F', '#F15B53', '#FCAE46', '#F8D648',
22
- '#2C3A49', '#91A2B2', '#EEF1FA', '#FFFFFF'
20
+ '#97D45B', '#34D059', '#42DFB4', '#328BFF', '#8D63EF',
21
+ '#B368DB', '#ED6A7B', '#F04A41', '#FCA32D', '#F7D02F',
22
+ '#2C3146', '#8A98AA', '#EEF1FA', '#FFFFFF'
23
23
  ],
24
24
  item: '<li><button type="button"></button></li>',
25
25
  menu: '<ul class="colorpicker dropmenu caret"></ul>',
@@ -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: [145,162,178],
1335
- lightslategrey: [145,162,178],
1334
+ lightslategray: [138,152,170],
1335
+ lightslategrey: [138,152,170],
1336
1336
  lightsteelblue: [176,196,222],
1337
1337
  lightyellow: [255,255,224],
1338
1338
  lime: [0,255,0],
@@ -5415,8 +5415,8 @@ module.exports = function () {
5415
5415
  animationDuration: 400
5416
5416
  },
5417
5417
  onClick: null,
5418
- defaultColor: 'rgba(44,58,73,0.1)',
5419
- defaultFontColor: 'rgba(44,58,73,1)',
5418
+ defaultColor: 'rgba(44,49,70,0.1)',
5419
+ defaultFontColor: 'rgba(44,49,70,1)',
5420
5420
  defaultFontFamily: "'Fakt Soft Pro', Verdana, Tahoma, sans-serif",
5421
5421
  defaultFontSize: 16,
5422
5422
  defaultFontStyle: 'normal',
@@ -7006,7 +7006,7 @@ module.exports = function (Chart) {
7006
7006
  enabled: true,
7007
7007
  custom: null,
7008
7008
  mode: 'single',
7009
- backgroundColor: 'rgba(44,58,73,1)',
7009
+ backgroundColor: 'rgba(44,49,70,1)',
7010
7010
  titleFontStyle: '500',
7011
7011
  titleSpacing: 0,
7012
7012
  titleMarginBottom: 3,
@@ -43,8 +43,8 @@
43
43
  displayPercentageChange: false,
44
44
  pPrecision: 1,
45
45
  labelLineColor: '#E5EAF4',
46
- labelFontColor: '#2C3A49',
47
- sectionColor: ['#054B8B', '#075FB0', '#0872D5', '#329CFF', '#3298F7', '#57ABF9', '#7CDDFA'],
46
+ labelFontColor: '#2C3146',
47
+ sectionColor: ['#054B8B', '#075FB0', '#0872D5', '#328BFF', '#3298F7', '#57ABF9', '#7CDDFA'],
48
48
  pSectionColor: '#F8F9FD',
49
49
  font: 'Verdana',
50
50
  maxFontSize: 12,
@@ -1,11 +1,11 @@
1
1
  // Table of Contents
2
2
  // ==================================================
3
+ // Common Functions
3
4
  // Helper Functions
4
5
  // Attribute Functions
5
- // Attribute Mixins
6
6
  // Vendor Mixins
7
7
 
8
- // Helper Funtions
8
+ // Common Funtions
9
9
  // ==================================================
10
10
  @function dasherize($selector, $key) {
11
11
  @if $key {
@@ -14,6 +14,23 @@
14
14
  @return #{$selector};
15
15
  }
16
16
  }
17
+ @function map-collect($maps...) {
18
+ $collection: ();
19
+
20
+ @each $map in $maps {
21
+ $collection: map-merge($collection, $map);
22
+ }
23
+
24
+ @return $collection;
25
+ }
26
+
27
+ // Helper Funtions
28
+ // ==================================================
29
+ @function map-global-collect($global-collection, $global-name) {
30
+ $name: map-get($colors-global, $global-name);
31
+
32
+ @return map-get($global-collection, $name);
33
+ }
17
34
  @function text-color-on($color) {
18
35
  @if index($colors-black-text, $color) {
19
36
  @return color(black);
@@ -1,6 +1,5 @@
1
1
  // Table of Contents
2
2
  // ==================================================
3
- // Functions
4
3
  // Animation
5
4
  // Color
6
5
  // Common
@@ -8,23 +7,6 @@
8
7
  // Grid
9
8
  // Progress
10
9
 
11
- // Functions
12
- // ==================================================
13
- @function map-collect($maps...) {
14
- $collection: ();
15
-
16
- @each $map in $maps {
17
- $collection: map-merge($collection, $map);
18
- }
19
-
20
- @return $collection;
21
- }
22
- @function map-global-collect($global-collection, $global-name) {
23
- $name: map-get($colors-global, $global-name);
24
-
25
- @return map-get($global-collection, $name);
26
- }
27
-
28
10
  // Animation
29
11
  // ==================================================
30
12
  $animation-delays: (
@@ -58,18 +40,18 @@ $colors-global: (
58
40
  'quaditiary': 'yellow'
59
41
  );
60
42
  $colors-brand: (
61
- 'lime': rgba(164,217,111,1),
62
- 'green': rgba(52,208,102,1),
63
- 'teal': rgba(66,223,193,1),
64
- 'sky': rgba(19,190,255,1),
65
- 'blue': rgba(50,156,255,1),
66
- 'indigo': rgba(146,112,226,1),
67
- 'purple': rgba(194,111,212,1),
68
- 'pink': rgba(240,129,143,1),
69
- 'red': rgba(241,91,83,1),
70
- 'brown': rgba(211,143,95,1),
71
- 'orange': rgba(252,174,70,1),
72
- 'yellow': rgba(248,214,72,1)
43
+ 'lime': rgba(151,212,91,1),
44
+ 'green': rgba(52,208,89,1),
45
+ 'teal': rgba(66,223,180,1),
46
+ 'sky': rgba(0,179,255,1),
47
+ 'blue': rgba(50,139,255,1),
48
+ 'indigo': rgba(141,99,239,1),
49
+ 'purple': rgba(179,104,219,1),
50
+ 'pink': rgba(237,106,123,1),
51
+ 'red': rgba(240,74,65,1),
52
+ 'brown': rgba(198,115,89,1),
53
+ 'orange': rgba(252,163,45,1),
54
+ 'yellow': rgba(247,208,47,1)
73
55
  );
74
56
  $colors-brand-global: (
75
57
  'primary': map-global-collect($colors-brand, 'primary'),
@@ -78,18 +60,18 @@ $colors-brand-global: (
78
60
  'quaditiary': map-global-collect($colors-brand, 'quaditiary')
79
61
  );
80
62
  $colors-brand-inverted: (
81
- 'lime': rgba(242,250,235,1),
82
- 'green': rgba(227,249,234,1),
83
- 'teal': rgba(234,251,248,1),
84
- 'sky': rgba(235,249,255,1),
85
- 'blue': rgba(227,241,255,1),
86
- 'indigo': rgba(245,242,252,1),
87
- 'purple': rgba(249,236,252,1),
88
- 'pink': rgba(253,234,236,1),
89
- 'red': rgba(253,229,228,1),
90
- 'brown': rgba(249,240,233,1),
91
- 'orange': rgba(255,242,224,1),
92
- 'yellow': rgba(254,248,223,1)
63
+ 'lime': rgba(232,246,223,1),
64
+ 'green': rgba(221,243,226,1),
65
+ 'teal': rgba(229,246,242,1),
66
+ 'sky': rgba(230,244,250,1),
67
+ 'blue': rgba(225,237,253,1),
68
+ 'indigo': rgba(232,224,252,1),
69
+ 'purple': rgba(240,228,246,1),
70
+ 'pink': rgba(248,225,228,1),
71
+ 'brown': rgba(239,222,216,1),
72
+ 'red': rgba(250,217,214,1),
73
+ 'orange': rgba(254,232,200,1),
74
+ 'yellow': rgba(254,241,200,1)
93
75
  );
94
76
  $colors-brand-inverted-global: (
95
77
  'primary': map-global-collect($colors-brand-inverted, 'primary'),
@@ -98,33 +80,20 @@ $colors-brand-inverted-global: (
98
80
  'quaditiary': map-global-collect($colors-brand-inverted, 'quaditiary')
99
81
  );
100
82
  $colors-grayscale: (
101
- 'transparent': rgba(0,0,0,0),
102
- 'dark-black': rgba(37,49,62,1),
103
- 'black': rgba(44,58,73,1),
104
- 'light-black': rgba(51,67,83,1),
105
- 'dark-gray': rgba(130,149,167,1),
106
- 'gray': rgba(145,162,178,1),
107
- 'light-gray': rgba(160,174,188,1),
108
- 'dark-haze': rgba(229,234,244,1),
109
- 'haze': rgba(238,241,250,1),
83
+ 'light-black': rgba(58,63,84,1),
84
+ 'black': rgba(44,49,70,1),
85
+ 'dark-black': rgba(30,35,55,1),
86
+ 'light-gray': rgba(152,166,184,1),
87
+ 'gray': rgba(138,152,170,1),
88
+ 'dark-gray': rgba(124,138,156,1),
110
89
  'light-haze': rgba(248,249,253,1),
111
- 'white': rgba(255,255,255,1)
112
- );
113
- $colors-grayscale-inverted: (
114
- 'transparent': rgba(0,0,0,0),
115
- 'dark-black': rgba(231,236,241,1),
116
- 'black': rgba(242,245,247,1),
117
- 'light-black': rgba(241,244,246,1),
118
- 'dark-gray': rgba(222,227,232,1),
119
- 'gray': rgba(226,230,235,1),
120
- 'light-gray': rgba(229,233,237,1),
121
- 'dark-haze': rgba(237,242,252,1),
122
- 'haze': rgba(243,246,255,1),
123
- 'light-haze': rgba(250,251,255,1),
124
- 'white': rgba(255,255,255,1)
90
+ 'haze': rgba(238,241,250,1),
91
+ 'dark-haze': rgba(229,234,244,1),
92
+ 'white': rgba(255,255,255,1),
93
+ 'transparent': rgba(0,0,0,0)
125
94
  );
126
95
  $colors: map-collect($colors-brand, $colors-brand-global, $colors-grayscale);
127
- $colors-inversions: map-collect($colors-brand-inverted, $colors-brand-inverted-global, $colors-grayscale-inverted);
96
+ $colors-inversions: map-collect($colors-brand-inverted, $colors-brand-inverted-global);
128
97
  $colors-black-text: 'transparent', 'dark-haze', 'haze', 'light-haze', 'white';
129
98
 
130
99
  // Common
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: 15.0.13
4
+ version: 15.0.14
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-10-25 00:00:00.000000000 Z
11
+ date: 2017-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -436,6 +436,15 @@ files:
436
436
  - app/assets/images/placeholders/document-large.png
437
437
  - app/assets/images/placeholders/document-small.png
438
438
  - app/assets/images/placeholders/document.png
439
+ - app/assets/images/placeholders/file-text-large.png
440
+ - app/assets/images/placeholders/file-text-small.png
441
+ - app/assets/images/placeholders/file-text.png
442
+ - app/assets/images/placeholders/home-large.png
443
+ - app/assets/images/placeholders/home-small.png
444
+ - app/assets/images/placeholders/home.png
445
+ - app/assets/images/placeholders/image-large.png
446
+ - app/assets/images/placeholders/image-small.png
447
+ - app/assets/images/placeholders/image.png
439
448
  - app/assets/images/placeholders/photo-large.png
440
449
  - app/assets/images/placeholders/photo-small.png
441
450
  - app/assets/images/placeholders/photo.png