active_frontend 14.0.0 → 14.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/active_frontend_helper.rb +16 -16
- data/lib/active_frontend/version.rb +1 -1
- data/vendor/assets/javascripts/base/_colorpicker.js +3 -3
- data/vendor/assets/javascripts/extensions/_chart.js +3 -3
- data/vendor/assets/stylesheets/_variable.scss +17 -17
- data/vendor/assets/stylesheets/blocks/_code.scss +31 -31
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6376cd01973e123fd1bd8ea1368081dd94dec9f1
|
4
|
+
data.tar.gz: 65d16648343c2937544f97f23cb3c61cdd81ca22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a3d7293f09de7948e39c18a25fba8bc5355d3d538928e9d72bd780a5f29eac9896b1c3b56f6b4564e37b4025fdefda9e9dcffc790b7536df2c4820c4bede4b0
|
7
|
+
data.tar.gz: ea74219632f81cdeab0f3c3fec76928302d2ea3ee33dccc15d4b49e2a2d32728b28500430831ca6b19c903f7a3e9f66476d6459bdc171fac42bf993608d3df26
|
@@ -3,26 +3,26 @@ module ActiveFrontendHelper
|
|
3
3
|
def colors(opacity = 1)
|
4
4
|
{
|
5
5
|
transparent: { rgba: "rgba(0,0,0,0)", hex: '#FFFFFF' },
|
6
|
-
dark_black: { rgba: "rgba(
|
7
|
-
black: { rgba: "rgba(
|
8
|
-
light_black: { rgba: "rgba(
|
9
|
-
dark_gray: { rgba: "rgba(
|
10
|
-
gray: { rgba: "rgba(
|
11
|
-
light_gray: { rgba: "rgba(
|
6
|
+
dark_black: { rgba: "rgba(44,50,62,#{opacity})", hex: '#2C323E' },
|
7
|
+
black: { rgba: "rgba(52,59,74,#{opacity})", hex: '#343B4A' },
|
8
|
+
light_black: { rgba: "rgba(60,68,86,#{opacity})", hex: '#3C4456' },
|
9
|
+
dark_gray: { rgba: "rgba(143,157,178,#{opacity})", hex: '#8F9DB2' },
|
10
|
+
gray: { rgba: "rgba(155,167,186,#{opacity})", hex: '#9BA7BA' },
|
11
|
+
light_gray: { rgba: "rgba(167,177,194,#{opacity})", hex: '#A7B1C2' },
|
12
12
|
dark_haze: { rgba: "rgba(227,232,240,#{opacity})", hex: '#E0E5ED' },
|
13
13
|
haze: { rgba: "rgba(239,242,248,#{opacity})", hex: '#ECEFF5' },
|
14
14
|
light_haze: { rgba: "rgba(249,250,252,#{opacity})", hex: '#F7F8FA' },
|
15
15
|
white: { rgba: "rgba(255,255,255,#{opacity})", hex: '#FFFFFF' },
|
16
|
-
lime: { rgba: "rgba(
|
17
|
-
green: { rgba: "rgba(
|
18
|
-
teal: { rgba: "rgba(
|
19
|
-
blue: { rgba: "rgba(
|
20
|
-
indigo: { rgba: "rgba(
|
21
|
-
purple: { rgba: "rgba(
|
22
|
-
pink: { rgba: "rgba(255,
|
23
|
-
red: { rgba: "rgba(
|
24
|
-
orange: { rgba: "rgba(
|
25
|
-
yellow: { rgba: "rgba(
|
16
|
+
lime: { rgba: "rgba(221,234,76,#{opacity})", hex: '#DDEA4C' },
|
17
|
+
green: { rgba: "rgba(109,202,150,#{opacity})", hex: '#6DCA96' },
|
18
|
+
teal: { rgba: "rgba(86,210,238,#{opacity})", hex: '#56D2EE' },
|
19
|
+
blue: { rgba: "rgba(31,140,235,#{opacity})", hex: '#1F8CEB' },
|
20
|
+
indigo: { rgba: "rgba(126,97,234,#{opacity})", hex: '#7E61EA' },
|
21
|
+
purple: { rgba: "rgba(154,111,199,#{opacity})", hex: '#9A6FC7' },
|
22
|
+
pink: { rgba: "rgba(255,127,127,#{opacity})", hex: '#FF7F7F' },
|
23
|
+
red: { rgba: "rgba(224,78,80,#{opacity})", hex: '#E04E50' },
|
24
|
+
orange: { rgba: "rgba(255,144,78,#{opacity})", hex: '#FF904E' },
|
25
|
+
yellow: { rgba: "rgba(242,195,48,#{opacity})", hex: '#F2C330' }
|
26
26
|
}
|
27
27
|
end
|
28
28
|
|
@@ -18,9 +18,9 @@
|
|
18
18
|
Colorpicker.DEFAULTS = {
|
19
19
|
callback: function (color) {},
|
20
20
|
colors: [
|
21
|
-
'#
|
22
|
-
'#
|
23
|
-
'#
|
21
|
+
'#DDEA4C', '#6DCA96', '#56D2EE', '#1F8CEB', '#7E61EA',
|
22
|
+
'#9A6FC7', '#FF7F7F', '#E04E50', '#FF904E', '#F2C330',
|
23
|
+
'#343B4A', '#9BA7BA', '#ECEFF5', '#FFFFFF'
|
24
24
|
],
|
25
25
|
item: '<li><button type="button"></button></li>',
|
26
26
|
menu: '<ul class="colorpicker dropmenu caret"></ul>'
|
@@ -5415,8 +5415,8 @@ module.exports = function () {
|
|
5415
5415
|
animationDuration: 400
|
5416
5416
|
},
|
5417
5417
|
onClick: null,
|
5418
|
-
defaultColor: 'rgba(
|
5419
|
-
defaultFontColor: 'rgba(
|
5418
|
+
defaultColor: 'rgba(52,59,74,0.1)',
|
5419
|
+
defaultFontColor: 'rgba(52,59,74,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(
|
7009
|
+
backgroundColor: 'rgba(52,59,74,1)',
|
7010
7010
|
titleFontStyle: '500',
|
7011
7011
|
titleSpacing: 0,
|
7012
7012
|
titleMarginBottom: 3,
|
@@ -34,25 +34,25 @@ $animation-durations: (
|
|
34
34
|
// Color
|
35
35
|
// ==================================================
|
36
36
|
$colors-brand: (
|
37
|
-
lime: rgba(
|
38
|
-
green: rgba(
|
39
|
-
teal: rgba(
|
40
|
-
blue: rgba(
|
41
|
-
indigo: rgba(
|
42
|
-
purple: rgba(
|
43
|
-
pink: rgba(255,
|
44
|
-
red: rgba(
|
45
|
-
orange: rgba(
|
46
|
-
yellow: rgba(
|
37
|
+
lime: rgba(221,234,76,1),
|
38
|
+
green: rgba(109,202,150,1),
|
39
|
+
teal: rgba(86,210,238,1),
|
40
|
+
blue: rgba(31,140,235,1),
|
41
|
+
indigo: rgba(126,97,234,1),
|
42
|
+
purple: rgba(154,111,199,1),
|
43
|
+
pink: rgba(255,127,127,1),
|
44
|
+
red: rgba(224,78,80,1),
|
45
|
+
orange: rgba(255,144,78,1),
|
46
|
+
yellow: rgba(242,195,48,1)
|
47
47
|
);
|
48
48
|
$colors-grayscale: (
|
49
49
|
transparent: rgba(0,0,0,0),
|
50
|
-
dark-black: rgba(
|
51
|
-
black: rgba(
|
52
|
-
light-black: rgba(
|
53
|
-
dark-gray: rgba(
|
54
|
-
gray: rgba(
|
55
|
-
light-gray: rgba(
|
50
|
+
dark-black: rgba(44,50,62,1),
|
51
|
+
black: rgba(52,59,74,1),
|
52
|
+
light-black: rgba(60,68,86,1),
|
53
|
+
dark-gray: rgba(143,157,178,1),
|
54
|
+
gray: rgba(155,167,186,1),
|
55
|
+
light-gray: rgba(167,177,194,1),
|
56
56
|
dark-haze: rgba(227,232,240,1),
|
57
57
|
haze: rgba(239,242,248,1),
|
58
58
|
light-haze: rgba(249,250,252,1),
|
@@ -94,7 +94,7 @@ $common-visibility-types: collapse, hidden, visible;
|
|
94
94
|
// Font
|
95
95
|
// ==================================================
|
96
96
|
$font-families: (
|
97
|
-
monospace: (
|
97
|
+
monospace: (Courier, Consolas, Menlo, Monaco, monospace),
|
98
98
|
sans-serif: ('Fakt Soft Pro', Verdana, Tahoma, sans-serif),
|
99
99
|
serif: (Georgia, 'Times New Roman', serif)
|
100
100
|
);
|
@@ -16,11 +16,11 @@ samp {
|
|
16
16
|
border-radius: border-radius(b);
|
17
17
|
color: color(black);
|
18
18
|
font-family: text-family(monospace);
|
19
|
-
font-size: text-size(
|
20
|
-
line-height: text-line-height(
|
19
|
+
font-size: text-size(s);
|
20
|
+
line-height: text-line-height(s);
|
21
21
|
}
|
22
22
|
code,
|
23
|
-
kbd { padding: 3px 7px; }
|
23
|
+
kbd { padding: 3px 7px 5px; }
|
24
24
|
code {
|
25
25
|
color: color(red);
|
26
26
|
|
@@ -55,7 +55,7 @@ samp {
|
|
55
55
|
font-style: italic;
|
56
56
|
} // Comment
|
57
57
|
.err {
|
58
|
-
color: color(
|
58
|
+
color: color(green);
|
59
59
|
background: color(black);
|
60
60
|
} // Error
|
61
61
|
.k { color: color(blue); } // Keyword
|
@@ -63,7 +63,7 @@ samp {
|
|
63
63
|
color: color(light-gray);
|
64
64
|
font-style: italic;
|
65
65
|
} // Comment.Multiline
|
66
|
-
.cp { color: color(
|
66
|
+
.cp { color: color(red); } // Comment.Preproc
|
67
67
|
.c1 {
|
68
68
|
color: color(light-gray);
|
69
69
|
font-style: italic;
|
@@ -72,14 +72,14 @@ samp {
|
|
72
72
|
color: color(blue);
|
73
73
|
font-style: italic;
|
74
74
|
} // Comment.Special
|
75
|
-
.gd { color: color(
|
75
|
+
.gd { color: color(green); } // Generic.Deleted
|
76
76
|
.ge { font-style: italic; } // Generic.Emph
|
77
|
-
.gr { color: color(
|
77
|
+
.gr { color: color(green); } // Generic.Error
|
78
78
|
.gh {
|
79
79
|
color: color(blue);
|
80
80
|
font-weight: bold;
|
81
81
|
} // Generic.Heading
|
82
|
-
.gi { color: color(
|
82
|
+
.gi { color: color(red); } // Generic.Inserted
|
83
83
|
.go { color: color(gray); } // Generic.Output
|
84
84
|
.gp { color: color(black); } // Generic.Prompt
|
85
85
|
.gs { font-weight: bold; } // Generic.Strong
|
@@ -87,54 +87,54 @@ samp {
|
|
87
87
|
color: color(black);
|
88
88
|
font-weight: bold;
|
89
89
|
} // Generic.Subheading
|
90
|
-
.gt { color: color(
|
90
|
+
.gt { color: color(green); } // Generic.Traceback
|
91
91
|
.kc { color: color(blue); } // Keyword.Constant
|
92
|
-
.kd { color: color(
|
92
|
+
.kd { color: color(green); } // Keyword.Declaration
|
93
93
|
.kn { color: color(blue); } // Keyword.Namespace
|
94
94
|
.kp { color: color(blue); } // Keyword.Pseudo
|
95
95
|
.kr { color: color(blue); } // Keyword.Reserved
|
96
|
-
.kt { color: color(
|
97
|
-
.m { color: color(
|
96
|
+
.kt { color: color(red); } // Keyword.Type
|
97
|
+
.m { color: color(red); } // Literal.Number
|
98
98
|
.s { color: color(blue); } // Literal.String
|
99
|
-
.sa { color: color(
|
99
|
+
.sa { color: color(red); } // Literal.String.Alternate
|
100
100
|
.na { color: color(blue); } // Name.Attribute
|
101
|
-
.nb { color: color(
|
102
|
-
.nc { color: color(
|
103
|
-
.no { color: color(
|
101
|
+
.nb { color: color(red); } // Name.Builtin
|
102
|
+
.nc { color: color(red); } // Name.Class
|
103
|
+
.no { color: color(green); } // Name.Constant
|
104
104
|
.nd { color: color(gray); } // Name.Decorator
|
105
105
|
.ni {
|
106
|
-
color: color(
|
106
|
+
color: color(green);
|
107
107
|
font-weight: bold;
|
108
108
|
} // Name.Entity
|
109
|
-
.nf { color: color(
|
110
|
-
.nn { color: color(
|
109
|
+
.nf { color: color(red); } // Name.Function
|
110
|
+
.nn { color: color(red); } // Name.Namespace
|
111
111
|
.nt {
|
112
112
|
color: color(blue);
|
113
113
|
font-weight: bold;
|
114
114
|
} // Name.Tag
|
115
|
-
.nv { color: color(
|
115
|
+
.nv { color: color(green); } // Name.Variable
|
116
116
|
.ow { color: color(blue); } // Operator.Word
|
117
117
|
.w { color: color(gray); } // Text.Whitespace
|
118
|
-
.mf { color: color(
|
119
|
-
.mh { color: color(
|
120
|
-
.mi { color: color(
|
121
|
-
.mo { color: color(
|
118
|
+
.mf { color: color(red); } // Literal.Number.Float
|
119
|
+
.mh { color: color(red); } // Literal.Number.Hex
|
120
|
+
.mi { color: color(red); } // Literal.Number.Integer
|
121
|
+
.mo { color: color(red); } // Literal.Number.Oct
|
122
122
|
.sb { color: color(blue); } // Literal.String.Backtick
|
123
123
|
.sc { color: color(blue); } // Literal.String.Char
|
124
124
|
.sd { color: color(blue); } // Literal.String.Doc
|
125
125
|
.s2 { color: color(blue); } // Literal.String.Double
|
126
126
|
.se { color: color(blue); } // Literal.String.Escape
|
127
|
-
.sh { color: color(blue); } // Literal.String.
|
127
|
+
.sh { color: color(blue); } // Literal.String.Hegreenoc
|
128
128
|
.si { color: color(blue); } // Literal.String.Interpol
|
129
129
|
.sx { color: color(blue); } // Literal.String.Other
|
130
|
-
.sr { color: color(
|
130
|
+
.sr { color: color(red); } // Literal.String.Regex
|
131
131
|
.s1 { color: color(blue); } // Literal.String.Single
|
132
132
|
.ss { color: color(blue); } // Literal.String.Symbol
|
133
|
-
.bp { color: color(
|
134
|
-
.vc { color: color(
|
135
|
-
.vg { color: color(
|
136
|
-
.vi { color: color(
|
137
|
-
.il { color: color(
|
133
|
+
.bp { color: color(red); } // Name.Builtin.Pseudo
|
134
|
+
.vc { color: color(green); } // Name.Variable.Class
|
135
|
+
.vg { color: color(green); } // Name.Variable.Global
|
136
|
+
.vi { color: color(green); } // Name.Variable.Instance
|
137
|
+
.il { color: color(red); } // Literal.Number.Integer.Long
|
138
138
|
|
139
139
|
&.dark {
|
140
140
|
.err { background: color(gray); }
|
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.
|
4
|
+
version: 14.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -305,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
305
305
|
version: '0'
|
306
306
|
requirements: []
|
307
307
|
rubyforge_project:
|
308
|
-
rubygems_version: 2.6.
|
308
|
+
rubygems_version: 2.6.6
|
309
309
|
signing_key:
|
310
310
|
specification_version: 4
|
311
311
|
summary: ActiveFrontend Responsive Web Framework
|