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.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/app/.DS_Store +0 -0
- data/app/assets/.DS_Store +0 -0
- data/app/assets/images/.DS_Store +0 -0
- data/app/assets/images/placeholders/.DS_Store +0 -0
- data/app/assets/images/placeholders/camera-large.png +0 -0
- data/app/assets/images/placeholders/camera-small.png +0 -0
- data/app/assets/images/placeholders/camera.png +0 -0
- data/app/assets/images/placeholders/document-large.png +0 -0
- data/app/assets/images/placeholders/document-small.png +0 -0
- data/app/assets/images/placeholders/document.png +0 -0
- data/app/assets/images/placeholders/file-text-large.png +0 -0
- data/app/assets/images/placeholders/file-text-small.png +0 -0
- data/app/assets/images/placeholders/file-text.png +0 -0
- data/app/assets/images/placeholders/home-large.png +0 -0
- data/app/assets/images/placeholders/home-small.png +0 -0
- data/app/assets/images/placeholders/home.png +0 -0
- data/app/assets/images/placeholders/image-large.png +0 -0
- data/app/assets/images/placeholders/image-small.png +0 -0
- data/app/assets/images/placeholders/image.png +0 -0
- data/app/assets/images/placeholders/photo-large.png +0 -0
- data/app/assets/images/placeholders/photo-small.png +0 -0
- data/app/assets/images/placeholders/photo.png +0 -0
- data/app/assets/images/placeholders/store-large.png +0 -0
- data/app/assets/images/placeholders/store-small.png +0 -0
- data/app/assets/images/placeholders/store.png +0 -0
- data/app/assets/images/placeholders/user-large.png +0 -0
- data/app/assets/images/placeholders/user-small.png +0 -0
- data/app/assets/images/placeholders/user.png +0 -0
- data/app/helpers/active_frontend_helper.rb +23 -24
- data/lib/active_frontend/version.rb +1 -1
- data/vendor/assets/javascripts/base/_colorpicker.js +3 -3
- data/vendor/assets/javascripts/extensions/_chart.js +5 -5
- data/vendor/assets/javascripts/extensions/_funnel.js +2 -2
- data/vendor/assets/stylesheets/_utility.scss +19 -2
- data/vendor/assets/stylesheets/_variable.scss +35 -66
- metadata +11 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f1db2f10fbfe1742be7950b9d04abe5f48fe47e
|
4
|
+
data.tar.gz: 7ebf3b893a2aac1003cc6e941da6e6ff2cb21566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/app/assets/images/.DS_Store
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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(
|
9
|
-
green: { rgba: "rgba(52,208,
|
10
|
-
teal: { rgba: "rgba(66,223,
|
11
|
-
sky: { rgba: "rgba(
|
12
|
-
blue: { rgba: "rgba(50,
|
13
|
-
indigo: { rgba: "rgba(
|
14
|
-
purple: { rgba: "rgba(
|
15
|
-
pink: { rgba: "rgba(
|
16
|
-
|
17
|
-
|
18
|
-
orange: { rgba: "rgba(252,
|
19
|
-
yellow: { rgba: "rgba(
|
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
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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
|
-
|
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
|
@@ -17,9 +17,9 @@
|
|
17
17
|
Colorpicker.VERSION = '1.0.0';
|
18
18
|
Colorpicker.DEFAULTS = {
|
19
19
|
colors: [
|
20
|
-
'#
|
21
|
-
'#
|
22
|
-
'#
|
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: [
|
1335
|
-
lightslategrey: [
|
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,
|
5419
|
-
defaultFontColor: 'rgba(44,
|
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,
|
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: '#
|
47
|
-
sectionColor: ['#054B8B', '#075FB0', '#0872D5', '#
|
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
|
-
//
|
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(
|
62
|
-
'green': rgba(52,208,
|
63
|
-
'teal': rgba(66,223,
|
64
|
-
'sky': rgba(
|
65
|
-
'blue': rgba(50,
|
66
|
-
'indigo': rgba(
|
67
|
-
'purple': rgba(
|
68
|
-
'pink': rgba(
|
69
|
-
'red': rgba(
|
70
|
-
'brown': rgba(
|
71
|
-
'orange': rgba(252,
|
72
|
-
'yellow': rgba(
|
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(
|
82
|
-
'green': rgba(
|
83
|
-
'teal': rgba(
|
84
|
-
'sky': rgba(
|
85
|
-
'blue': rgba(
|
86
|
-
'indigo': rgba(
|
87
|
-
'purple': rgba(
|
88
|
-
'pink': rgba(
|
89
|
-
'
|
90
|
-
'
|
91
|
-
'orange': rgba(
|
92
|
-
'yellow': rgba(254,
|
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
|
-
'
|
102
|
-
'
|
103
|
-
'black': rgba(
|
104
|
-
'light-
|
105
|
-
'
|
106
|
-
'gray': rgba(
|
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
|
-
'
|
112
|
-
)
|
113
|
-
|
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
|
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.
|
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-
|
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
|