active_frontend 8.0.1 → 9.0.0

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: 696b9e32a78a0fa88311d85c73dd311894c37a4e
4
- data.tar.gz: 93fd537ac023ae4f4424628a7acd6574b4a2abc3
3
+ metadata.gz: 1e14a8639ab0c367b3cf0164bbd919d12a0dc6ea
4
+ data.tar.gz: ab30c394754a8517bc735781c28b1dce910789d2
5
5
  SHA512:
6
- metadata.gz: 89d9cd1c90a402f4fdf02eda68960aac0ec6e52d22b28de06e526a1f4081fb16dc9be4dce9cdf70a4df3c23d95035993bc469decf8f99f63c4485eb4fa1cc8aa
7
- data.tar.gz: bb95641a19c7a5ba770af159df68640aa7355c7fcb4088964def0e696aa36d4735504fb74459b463d46b8d4ec8ee6bda20887afb177e4740d6d8b564593b8c62
6
+ metadata.gz: d468a7254e726475176e3a0de11a484da4c15c3e820d1b935199068667c19914c2aac6c8f0bbd9a861f7c3513fb93215ff95ee64ca3f067134e146e29cccc7d7
7
+ data.tar.gz: 009e7d14f4ab4888bf2b50cbca6f5824c8e630d81596472146d8d5b09d24d1384850cd1cdd78adc8801c66ac656f8e8282c95e15fa040573802aa1eba5982bde
data/README.md CHANGED
@@ -25,6 +25,7 @@ Or install it yourself as:
25
25
  Add the CSS files you want to include:
26
26
 
27
27
  ```ruby
28
+ *= require color.css (place before any files)
28
29
  *= require reset.css (place before any files)
29
30
  *= require ad.css
30
31
  *= require affix.css
data/Rakefile CHANGED
@@ -1 +1,3 @@
1
- require "bundler/gem_tasks"
1
+ require "bundler/gem_tasks"
2
+
3
+ task default: :spec
@@ -1,3 +1,3 @@
1
1
  module ActiveFrontend
2
- VERSION = "8.0.1"
2
+ VERSION = "9.0.0"
3
3
  end
@@ -49,7 +49,7 @@
49
49
  scaleStartValue: null,
50
50
 
51
51
  // String - Colour of the scale line
52
- scaleLineColor: "rgba(240,240,240,1)",
52
+ scaleLineColor: "rgba(239,240,243,1)",
53
53
 
54
54
  // Number - Pixel width of the scale line
55
55
  scaleLineWidth: 1,
@@ -76,7 +76,7 @@
76
76
  scaleFontStyle: "bold",
77
77
 
78
78
  // String - Scale label font colour
79
- scaleFontColor: "rgba(22,27,31,1)",
79
+ scaleFontColor: "rgba(35,41,55,1)",
80
80
 
81
81
  // Boolean - whether or not the chart should be responsive and resize when the browser does.
82
82
  responsive: true,
@@ -91,7 +91,7 @@
91
91
  tooltipEvents: ["mousemove", "touchstart", "touchmove", "mouseout"],
92
92
 
93
93
  // String - Tooltip background colour
94
- tooltipFillColor: "rgba(22,27,31,1)",
94
+ tooltipFillColor: "rgba(35,41,55,1)",
95
95
 
96
96
  // String - Tooltip label font declaration for the scale label
97
97
  tooltipFontFamily: "'Gotham', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
@@ -1910,7 +1910,7 @@
1910
1910
  scaleShowGridLines : true,
1911
1911
 
1912
1912
  //String - Colour of the grid lines
1913
- scaleGridLineColor : "rgba(240,240,240,1)",
1913
+ scaleGridLineColor : "rgba(239,240,243,1)",
1914
1914
 
1915
1915
  //Number - Width of the grid lines
1916
1916
  scaleGridLineWidth : 1,
@@ -2387,7 +2387,7 @@
2387
2387
  scaleShowGridLines : true,
2388
2388
 
2389
2389
  //String - Colour of the grid lines
2390
- scaleGridLineColor : "rgba(240,240,240,1)",
2390
+ scaleGridLineColor : "rgba(239,240,243,1)",
2391
2391
 
2392
2392
  //Number - Width of the grid lines
2393
2393
  scaleGridLineWidth : 1,
@@ -2992,7 +2992,7 @@
2992
2992
  scaleBeginAtZero : true,
2993
2993
 
2994
2994
  //String - Colour of the angle line
2995
- angleLineColor : "rgba(240,240,240,1)",
2995
+ angleLineColor : "rgba(239,240,243,1)",
2996
2996
 
2997
2997
  //Number - Pixel width of the angle line
2998
2998
  angleLineWidth : 1,
@@ -3007,7 +3007,7 @@
3007
3007
  pointLabelFontSize : 11,
3008
3008
 
3009
3009
  //String - Point label font colour
3010
- pointLabelFontColor : "rgba(22,27,31,1)",
3010
+ pointLabelFontColor : "rgba(35,41,55,1)",
3011
3011
 
3012
3012
  //Boolean - Whether to show a dot for each point
3013
3013
  pointDot : true,
@@ -56,15 +56,15 @@
56
56
  .alert-success { background: $color-green; }
57
57
  .alert-indigo { background: $color-indigo; }
58
58
  .alert-lime { background: $color-lime; }
59
- .alert-orange { background: $color-orange; }
59
+ .alert-orange,
60
+ .alert-warning { background: $color-orange; }
60
61
  .alert-purple { background: $color-purple; }
61
62
  .alert-pink { background: $color-pink; }
62
63
  .alert-red,
63
64
  .alert-error,
64
65
  .alert-alert { background: $color-red; }
65
66
  .alert-teal { background: $color-teal; }
66
- .alert-yellow,
67
- .alert-warning { background: $color-yellow; }
67
+ .alert-yellow { background: $color-yellow; }
68
68
 
69
69
  /* # Media Queries
70
70
  ================================================== */
@@ -724,7 +724,7 @@ input.btn-block {
724
724
  margin-right: 10px;
725
725
  margin-left: 0;
726
726
  }
727
- .btn-group > .dropdown-toggle:not(:first-child) { border-left-color: rgba(0,0,0,0.075); }
727
+ .btn-group > .dropdown-toggle:not(:first-child) { border-left-color: rgba(0,0,0,0.05); }
728
728
  .btn-group > .btn,
729
729
  .btn-group-vertical > .btn {
730
730
  border-radius: 0;
@@ -30,7 +30,7 @@
30
30
  width: calc(100% - 280px);
31
31
  }
32
32
  .canvas-with-header > .canvas-content,
33
- .canvas-with-header > .canvas-sidebar { margin-top: 60px; }
33
+ .canvas-with-header > .canvas-sidebar { margin-top: 65px; }
34
34
  .canvas-with-footer > .canvas-content { padding-bottom: 90px; }
35
35
  .canvas-sidebar {
36
36
  max-width: 280px;
@@ -0,0 +1,26 @@
1
+ /* Table of Contents
2
+ ==================================================
3
+ # Colors */
4
+
5
+ /* # Colors
6
+ ================================================== */
7
+ $color-black: rgba(35,41,55,1);
8
+ $color-black-dark: rgba(0,0,0,1);
9
+ $color-black-light: rgba(55,61,75,1);
10
+ $color-gray: rgba(123,137,148,1);
11
+ $color-gray-dark: rgba(71,82,93,1);
12
+ $color-gray-light: rgba(175,184,195,1);
13
+ $color-haze: rgba(239,240,243,1);
14
+ $color-haze-dark: rgba(225,226,230,1);
15
+ $color-haze-light: rgba(247,248,250,1);
16
+ $color-blue: rgba(0,102,255,1);
17
+ $color-green: rgba(0,180,0,1);
18
+ $color-indigo: rgba(86,21,237,1);
19
+ $color-lime: rgba(151,212,19,1);
20
+ $color-orange: rgba(255,82,0,1);
21
+ $color-pink: rgba(255,51,102,1);
22
+ $color-purple: rgba(128,0,255,1);
23
+ $color-red: rgba(240,35,17,1);
24
+ $color-teal: rgba(32,176,176,1);
25
+ $color-white: rgba(255,255,255,1);
26
+ $color-yellow: rgba(255,245,0,1);
@@ -189,16 +189,16 @@ select.form-input-initial-width {
189
189
  .form-error-messages > h4 {
190
190
  background: $color-haze-light;
191
191
  border: 1px solid $color-haze;
192
- border-top-left-radius: 3px;
193
- border-top-right-radius: 3px;
192
+ border-top-left-radius: 2px;
193
+ border-top-right-radius: 2px;
194
194
  margin: 0;
195
195
  padding: 5px 10px;
196
196
  }
197
197
  .form-error-messages > ul {
198
198
  border: 1px solid $color-haze;
199
199
  border-top: 0;
200
- border-bottom-left-radius: 3px;
201
- border-bottom-right-radius: 3px;
200
+ border-bottom-left-radius: 2px;
201
+ border-bottom-right-radius: 2px;
202
202
  }
203
203
  .form-error-messages > ul > li {
204
204
  display: block;
@@ -19,8 +19,8 @@
19
19
  background: $color-white;
20
20
  border-bottom: 1px solid $color-haze;
21
21
  box-sizing: border-box;
22
- height: 60px;
23
- padding: 15px 0;
22
+ height: 65px;
23
+ padding: 17px 0;
24
24
  width: 100%;
25
25
  }
26
26
  .header-brand { float: left; }
@@ -43,7 +43,7 @@
43
43
  .header-nav,
44
44
  .header-nav-alt,
45
45
  .header-toolchain {
46
- color: $color-gray-dark;
46
+ color: $color-black-light;
47
47
  list-style-type: none;
48
48
  padding: 0;
49
49
  }
@@ -59,7 +59,7 @@
59
59
  .header-nav-alt > li,
60
60
  .header-toolchain > li {
61
61
  float: left;
62
- color: $color-gray-dark;
62
+ color: $color-black-light;
63
63
  }
64
64
  .header-nav > li,
65
65
  .header-nav-alt > li {
@@ -86,7 +86,7 @@
86
86
  .header-nav > li > a,
87
87
  .header-nav-alt > li > a,
88
88
  .header-toolchain > li > a {
89
- color: $color-gray-dark;
89
+ color: $color-black-light;
90
90
  text-decoration: none;
91
91
  }
92
92
  .header-nav-alt > li > a { padding: 10px 0 9px 0; }
@@ -6,7 +6,7 @@
6
6
  /* # Modal
7
7
  ================================================== */
8
8
  .modal-backdrop {
9
- background: rgba(22,27,31,0.9);
9
+ background: rgba(35,41,55,0.9);
10
10
  bottom: 0;
11
11
  height: 100%;
12
12
  left: 0;
@@ -26,8 +26,8 @@
26
26
  padding: 12px 20px 10px 10px;
27
27
  }
28
28
  .sidebar-alt > .sidebar-header {
29
- padding-right: 10px;
30
29
  padding-left: 20px;
30
+ padding-right: 10px;
31
31
  }
32
32
  .sidebar-header > h6 {
33
33
  font-size: 12px;
@@ -37,7 +37,7 @@
37
37
  text-transform: uppercase;
38
38
  }
39
39
  .sidebar-content {
40
- height: calc(100% - 60px);
40
+ height: calc(100% - 54px);
41
41
  -webkit-overflow-scrolling: touch;
42
42
  overflow-scrolling: touch;
43
43
  overflow-x: hidden;
@@ -51,7 +51,7 @@
51
51
  .sidebar-scrollable {
52
52
  border-bottom: 1px solid $color-haze-light;
53
53
  height: auto;
54
- max-height: calc(50% - 60px);
54
+ max-height: calc(50% - 54px);
55
55
  -webkit-overflow-scrolling: touch;
56
56
  overflow-scrolling: touch;
57
57
  overflow-y: auto;
@@ -1,12 +1,14 @@
1
1
  /* Table of Contents
2
2
  ==================================================
3
- # Trunk */
3
+ # Trunk
4
+ # Colors
5
+ # Media Queries */
4
6
 
5
7
  /* # Trunk
6
8
  ================================================== */
7
9
  .trunk {
8
- background: $color-black;
9
- border-bottom: 1px solid $color-black-dark;
10
+ background: $color-white;
11
+ border-bottom: 1px solid $color-haze;
10
12
  left: 0;
11
13
  position: fixed;
12
14
  right: 0;
@@ -14,7 +16,6 @@
14
16
  z-index: 1040;
15
17
  }
16
18
  .trunk-buffer { padding: 30px 0; }
17
- .trunk-search > input { border-color: $color-black-dark; }
18
19
  .trunk-nav,
19
20
  .trunk-user {
20
21
  list-style-type: none;
@@ -46,7 +47,8 @@
46
47
  .trunk-user > li > a {
47
48
  -webkit-appearance: none;
48
49
  appearance: none;
49
- color: $color-white;
50
+ border-radius: 2px;
51
+ color: $color-gray-dark;
50
52
  cursor: pointer;
51
53
  display: block;
52
54
  -webkit-font-smoothing: antialiased;
@@ -65,21 +67,21 @@
65
67
  white-space: nowrap;
66
68
  }
67
69
  .trunk-nav > li > a {
68
- border: 1px solid $color-black-dark;
70
+ border: 1px solid $color-haze;
69
71
  padding: 11px 0 9px 0;
70
72
  }
71
73
  .trunk-user > li > a { padding: 9px 0 7px 0; }
72
74
  .trunk-nav > li > a:hover,
73
75
  .trunk-nav > li > a:active,
74
76
  .trunk-nav > li > a.active,
75
- .trunk-nav > li > a:focus {
76
- border-color: $color-white;
77
- color: $color-white;
78
- }
77
+ .trunk-nav > li > a:focus,
79
78
  .trunk-user > li > a:hover,
80
79
  .trunk-user > li > a:active,
81
80
  .trunk-user > li > a.active,
82
- .trunk-user > li > a:focus { color: $color-white; }
81
+ .trunk-user > li > a:focus {
82
+ border-color: $color-primary;
83
+ color: $color-primary;
84
+ }
83
85
  .trunk-user > li.trunk-user-placeholder,
84
86
  .trunk-user > li.trunk-user-placeholder > img, {
85
87
  background: $color-gray;
@@ -95,4 +97,40 @@
95
97
  .trunk-user > li.trunk-user-placeholder > i {
96
98
  font-size: 26px;
97
99
  line-height: 44px;
100
+ }
101
+
102
+ /* # Colors
103
+ ================================================== */
104
+ .trunk-dark {
105
+ background: $color-black;
106
+ border-color: $color-black-dark;
107
+ }
108
+ .trunk-light {
109
+ background: $color-haze-light;
110
+ border-color: $color-haze-dark;
111
+ }
112
+ .trunk-dark .trunk-nav > li > a,
113
+ .trunk-dark .trunk-user > li > a { color: $color-white; }
114
+ .trunk-dark .trunk-nav > li > a:hover,
115
+ .trunk-dark .trunk-nav > li > a:active,
116
+ .trunk-dark .trunk-nav > li > a.active,
117
+ .trunk-dark .trunk-nav > li > a:focus,
118
+ .trunk-dark .trunk-user > li > a:hover,
119
+ .trunk-dark .trunk-user > li > a:active,
120
+ .trunk-dark .trunk-user > li > a.active,
121
+ .trunk-dark .trunk-user > li > a:focus {
122
+ border-color: $color-primary;
123
+ color: $color-primary;
124
+ }
125
+
126
+ /* # Media Queries
127
+ ================================================== */
128
+ @media
129
+ only screen and (-webkit-min-device-pixel-ratio: 2),
130
+ only screen and ( min--moz-device-pixel-ratio: 2),
131
+ only screen and ( -o-min-device-pixel-ratio: 2/1),
132
+ only screen and ( min-device-pixel-ratio: 2),
133
+ only screen and ( min-resolution: 192dpi),
134
+ only screen and ( min-resolution: 2dppx) {
135
+ .trunk { border-width: 0.5px; }
98
136
  }
@@ -1,37 +1,18 @@
1
1
  /* Table of Contents
2
2
  ==================================================
3
- # Variables
4
- # Globals
5
- # Imports */
3
+ # Required Imports
4
+ # Required Variables
5
+ # Optional Imports */
6
6
 
7
- /* # Variables
7
+ /* # Required Imports
8
8
  ================================================== */
9
- $color-black-light: rgba(42,47,51,1);
10
- $color-black: rgba(22,27,31,1);
11
- $color-black-dark: rgba(2,7,11,1);
12
- $color-blue: rgba(41,150,204,1);
13
- $color-haze-light: rgba(250,250,250,1);
14
- $color-haze: rgba(240,240,240,1);
15
- $color-haze-dark: rgba(230,230,230,1);
16
- $color-gray-light: rgba(172,184,195,1);
17
- $color-gray: rgba(123,137,148,1);
18
- $color-gray-dark: rgba(71,82,93,1);
19
- $color-green: rgba(36,181,36,1);
20
- $color-indigo: rgba(84,114,204,1);
21
- $color-lime: rgba(149,191,21,1);
22
- $color-orange: rgba(222,139,22,1);
23
- $color-pink: rgba(255,107,107,1);
24
- $color-purple: rgba(128,51,204,1);
25
- $color-red: rgba(223,51,32,1);
26
- $color-teal: rgba(28,189,162,1);
27
- $color-white: rgba(255,255,255,1);
28
- $color-yellow: rgba(209,178,0,1);
9
+ @import 'color';
29
10
 
30
- /* # Globals
11
+ /* # Required Variables
31
12
  ================================================== */
32
13
  $color-primary: $color-blue;
33
14
 
34
- /* # Imports
15
+ /* # Optional Imports
35
16
  ================================================== */
36
17
  @import 'reset';
37
18
  @import 'ad';
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: 8.0.1
4
+ version: 9.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-27 00:00:00.000000000 Z
11
+ date: 2015-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -120,6 +120,7 @@ files:
120
120
  - vendor/assets/stylesheets/_chart.scss
121
121
  - vendor/assets/stylesheets/_code.scss
122
122
  - vendor/assets/stylesheets/_collapse.scss
123
+ - vendor/assets/stylesheets/_color.scss
123
124
  - vendor/assets/stylesheets/_colorpicker.scss
124
125
  - vendor/assets/stylesheets/_datepicker.scss
125
126
  - vendor/assets/stylesheets/_dropdown.scss