lato_view 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/lato_view/icons/_artist.svg +0 -0
- data/app/assets/images/lato_view/icons/_artwork.svg +0 -0
- data/app/assets/images/lato_view/icons/_calendar.svg +0 -0
- data/app/assets/images/lato_view/icons/_clients.svg +0 -0
- data/app/assets/images/lato_view/icons/_home.svg +0 -0
- data/app/assets/images/lato_view/icons/_list.svg +0 -0
- data/app/assets/images/lato_view/icons/_magni-glass.svg +0 -0
- data/app/assets/images/lato_view/icons/_percentage.svg +0 -0
- data/app/assets/images/lato_view/icons/_sweet.svg +0 -0
- data/app/assets/images/lato_view/icons/_users.svg +0 -0
- data/app/assets/javascripts/lato_view/application.js +8 -6
- data/app/assets/javascripts/lato_view/build/ActionBar.js +0 -0
- data/app/assets/javascripts/lato_view/build/ConfirmationPopup.js +52 -0
- data/app/assets/javascripts/lato_view/build/Dropdown.js +0 -0
- data/app/assets/javascripts/lato_view/build/FormManager.js +170 -50
- data/app/assets/javascripts/lato_view/build/Step.js +169 -0
- data/app/assets/javascripts/lato_view/build/Util.js +25 -9
- data/app/assets/javascripts/lato_view/build/Validator.js +70 -48
- data/app/assets/stylesheets/lato_view/config/_config.scss +4 -4
- data/app/assets/stylesheets/lato_view/config/templates/_base-template.scss +22 -0
- data/app/assets/stylesheets/lato_view/config/templates/_black-template.scss +26 -6
- data/app/assets/stylesheets/lato_view/config/templates/_feral-template.scss +190 -0
- data/app/assets/stylesheets/lato_view/config/templates/_mauve-template.scss +178 -0
- data/app/assets/stylesheets/lato_view/config/templates/_orange-template.scss +184 -0
- data/app/assets/stylesheets/lato_view/modules/_arranger.scss +0 -0
- data/app/assets/stylesheets/lato_view/modules/_button-group.scss +0 -0
- data/app/assets/stylesheets/lato_view/modules/_buttons.scss +13 -7
- data/app/assets/stylesheets/lato_view/modules/_confirmation-popup.scss +63 -0
- data/app/assets/stylesheets/lato_view/modules/_dropdown.scss +0 -0
- data/app/assets/stylesheets/lato_view/modules/_form-controls.scss +11 -2
- data/app/assets/stylesheets/lato_view/modules/_modules.scss +2 -0
- data/app/assets/stylesheets/lato_view/modules/_pagination.scss +0 -0
- data/app/assets/stylesheets/lato_view/modules/_sidebar.scss +2 -2
- data/app/assets/stylesheets/lato_view/modules/_status.scss +0 -0
- data/app/assets/stylesheets/lato_view/modules/_step.scss +53 -0
- data/app/assets/stylesheets/lato_view/modules/_wyswyg.scss +4 -0
- data/app/assets/stylesheets/lato_view/views/_admin.scss +4 -1
- data/app/assets/stylesheets/lato_view/views/_login.scss +5 -4
- data/app/cells/lato_view/cells_v1/buttongroup/cell.rb +0 -0
- data/app/cells/lato_view/cells_v1/buttongroup/views/show.html.erb +0 -0
- data/app/cells/lato_view/cells_v1/dropdown/cell.rb +0 -0
- data/app/cells/lato_view/cells_v1/dropdown/views/show.html.erb +0 -0
- data/app/cells/lato_view/cells_v1/input/cell.rb +21 -1
- data/app/cells/lato_view/cells_v1/input/views/date.html.erb +1 -1
- data/app/cells/lato_view/cells_v1/input/views/number.html.erb +8 -3
- data/app/cells/lato_view/cells_v1/input/views/select.html.erb +1 -1
- data/app/cells/lato_view/cells_v1/input/views/time.html.erb +0 -0
- data/app/cells/lato_view/component/button/cell.rb +4 -2
- data/app/cells/lato_view/component/button/views/show.html.erb +1 -1
- data/app/cells/lato_view/component/buttongroup/cell.rb +0 -0
- data/app/cells/lato_view/component/buttongroup/views/show.html.erb +0 -0
- data/app/cells/lato_view/component/buttonprompt/cell.rb +38 -0
- data/app/cells/lato_view/component/buttonprompt/views/show.html.erb +2 -0
- data/app/cells/lato_view/component/dropdown/cell.rb +0 -0
- data/app/cells/lato_view/component/dropdown/views/show.html.erb +0 -0
- data/app/cells/lato_view/component/form/cell.rb +0 -0
- data/app/cells/lato_view/component/form/views/open.html.erb +0 -0
- data/app/cells/lato_view/component/form/views/show.html.erb +0 -0
- data/app/cells/lato_view/component/searchbar/cell.rb +0 -0
- data/app/cells/lato_view/component/searchbar/views/show.html.erb +0 -0
- data/app/cells/lato_view/input/checkbox/cell.rb +7 -2
- data/app/cells/lato_view/input/checkbox/views/show.html.erb +2 -2
- data/app/cells/lato_view/input/date/cell.rb +4 -2
- data/app/cells/lato_view/input/date/views/show.html.erb +1 -1
- data/app/cells/lato_view/input/doubleselect/cell.rb +72 -0
- data/app/cells/lato_view/input/doubleselect/views/show.html.erb +90 -0
- data/app/cells/lato_view/input/editor/cell.rb +0 -0
- data/app/cells/lato_view/input/editor/views/show.html.erb +0 -0
- data/app/cells/lato_view/input/email/cell.rb +0 -0
- data/app/cells/lato_view/input/email/views/show.html.erb +0 -0
- data/app/cells/lato_view/input/file/cell.rb +0 -0
- data/app/cells/lato_view/input/file/views/show.html.erb +0 -0
- data/app/cells/lato_view/input/map/cell.rb +54 -0
- data/app/cells/lato_view/input/map/views/show.html.erb +103 -0
- data/app/cells/lato_view/input/nselect/cell.rb +47 -0
- data/app/cells/lato_view/input/nselect/views/show.html.erb +15 -0
- data/app/cells/lato_view/input/number/cell.rb +4 -2
- data/app/cells/lato_view/input/number/views/show.html.erb +6 -8
- data/app/cells/lato_view/input/password/cell.rb +0 -0
- data/app/cells/lato_view/input/password/views/show.html.erb +0 -0
- data/app/cells/lato_view/input/radio/cell.rb +0 -0
- data/app/cells/lato_view/input/radio/views/show.html.erb +0 -0
- data/app/cells/lato_view/input/select/cell.rb +3 -2
- data/app/cells/lato_view/input/select/views/show.html.erb +2 -2
- data/app/cells/lato_view/input/text/cell.rb +1 -1
- data/app/cells/lato_view/input/text/views/show.html.erb +3 -3
- data/app/cells/lato_view/input/textarea/cell.rb +0 -0
- data/app/cells/lato_view/input/textarea/views/show.html.erb +1 -4
- data/app/cells/lato_view/input/time/cell.rb +0 -0
- data/app/cells/lato_view/input/time/views/show.html.erb +0 -0
- data/app/cells/lato_view/layout/actionbar/cell.rb +0 -0
- data/app/cells/lato_view/layout/actionbar/views/show.html.erb +0 -0
- data/app/cells/lato_view/layout/block/cell.rb +0 -0
- data/app/cells/lato_view/layout/index/cell.rb +0 -0
- data/app/cells/lato_view/layout/index/views/head.html.erb +0 -0
- data/app/cells/lato_view/layout/index/views/rows.html.erb +29 -17
- data/app/cells/lato_view/layout/step/cell.rb +50 -0
- data/app/cells/lato_view/layout/tablerows/cell.rb +23 -0
- data/app/cells/lato_view/layout/tablerows/views/show.html.erb +13 -0
- data/app/controllers/lato_view/assets_controller.rb +0 -0
- data/app/views/lato_view/develop/home.html.erb +74 -0
- data/app/views/lato_view/icons/_artist.svg +0 -0
- data/app/views/lato_view/icons/_artwork.svg +0 -0
- data/app/views/lato_view/icons/_calendar.svg +0 -0
- data/app/views/lato_view/icons/_clients.svg +0 -0
- data/app/views/lato_view/icons/_home.svg +0 -0
- data/app/views/lato_view/icons/_list.svg +0 -0
- data/app/views/lato_view/icons/_magni-glass.svg +0 -0
- data/app/views/lato_view/icons/_percentage.svg +0 -0
- data/app/views/lato_view/icons/_sweet.svg +0 -0
- data/app/views/lato_view/icons/_users.svg +0 -0
- data/app/views/lato_view/layout/_prompt.html.erb +11 -0
- data/app/views/layouts/lato_layout.html.erb +12 -6
- data/config/example.yml +4 -0
- data/config/initializers/lists.rb +1 -1
- data/config/initializers/ram.rb +1 -0
- data/lang/default.yml +3 -0
- data/lang/en.yml +3 -0
- data/lib/lato_view/interface/assets.rb +16 -0
- data/lib/lato_view/interface/images.rb +0 -0
- data/lib/lato_view/interface/themes.rb +0 -0
- metadata +22 -3
@@ -3,12 +3,12 @@ var Util = (function($) {
|
|
3
3
|
|
4
4
|
/*
|
5
5
|
* Debounce any function
|
6
|
-
* @params:
|
6
|
+
* @params:
|
7
7
|
* func: function to test.
|
8
8
|
* wait: the time interval for the next function execution.
|
9
9
|
* immediate: triggers the function on the leading edge, instead of the trailing.
|
10
10
|
* @return: a function, that, as long as it continues to be invoked, will not be triggered.
|
11
|
-
*/
|
11
|
+
*/
|
12
12
|
var debounce = function(func, wait, immediate) {
|
13
13
|
var timeout;
|
14
14
|
return function() {
|
@@ -26,7 +26,7 @@ var Util = (function($) {
|
|
26
26
|
|
27
27
|
/*
|
28
28
|
* Check if the value given is a number.
|
29
|
-
* @params:
|
29
|
+
* @params:
|
30
30
|
* value: value to test
|
31
31
|
* @return: boolean
|
32
32
|
*/
|
@@ -36,7 +36,7 @@ var Util = (function($) {
|
|
36
36
|
|
37
37
|
/*
|
38
38
|
* Check if two strings have the same value.
|
39
|
-
* @params:
|
39
|
+
* @params:
|
40
40
|
* firstValue: value to test.
|
41
41
|
* secondValue: value to compare to.
|
42
42
|
* @return: boolean
|
@@ -47,7 +47,7 @@ var Util = (function($) {
|
|
47
47
|
|
48
48
|
/*
|
49
49
|
* Check if a string is empty
|
50
|
-
* @params:
|
50
|
+
* @params:
|
51
51
|
* value: value to test
|
52
52
|
* @return: boolean
|
53
53
|
*/
|
@@ -57,7 +57,7 @@ var Util = (function($) {
|
|
57
57
|
|
58
58
|
/*
|
59
59
|
* Check if the lenght of a given value respects the limit given.
|
60
|
-
* @params:
|
60
|
+
* @params:
|
61
61
|
* el: element to test
|
62
62
|
* limit: limit to give. Ex: max, min, between
|
63
63
|
* minValue: minimum value to respect
|
@@ -80,12 +80,28 @@ var Util = (function($) {
|
|
80
80
|
}
|
81
81
|
};
|
82
82
|
|
83
|
+
/*
|
84
|
+
* Goes through each item in the array and ask "Will you work?"
|
85
|
+
* @params:
|
86
|
+
* properties: properties to test
|
87
|
+
* @return: boolean
|
88
|
+
*/
|
89
|
+
var getSupportedPropertyName = function(properties) {
|
90
|
+
for (var i = 0; i < properties.length; i++) {
|
91
|
+
if (typeof document.body.style[properties[i]] !== 'undefined') {
|
92
|
+
return properties[i];
|
93
|
+
}
|
94
|
+
}
|
95
|
+
return null;
|
96
|
+
}
|
97
|
+
|
83
98
|
return {
|
84
99
|
debounce: debounce,
|
85
100
|
isNumber: isNumber,
|
86
101
|
isEqual: isEqual,
|
87
102
|
isEmptyString: isEmptyString,
|
88
|
-
checkLength: checkLength
|
103
|
+
checkLength: checkLength,
|
104
|
+
getSupportedPropertyName: getSupportedPropertyName
|
89
105
|
};
|
90
|
-
|
91
|
-
})(jQuery);
|
106
|
+
|
107
|
+
})(jQuery);
|
@@ -8,7 +8,7 @@ var Validator = (function($) {
|
|
8
8
|
* @return: boolean
|
9
9
|
*/
|
10
10
|
var _isEmail = function(value) {
|
11
|
-
return
|
11
|
+
return /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(value) ? true : false;
|
12
12
|
};
|
13
13
|
|
14
14
|
/*
|
@@ -48,28 +48,41 @@ var Validator = (function($) {
|
|
48
48
|
* attribute: data-attribute of form-control
|
49
49
|
* @return: boolean
|
50
50
|
*/
|
51
|
-
var isInputRequired = function(
|
52
|
-
if(
|
51
|
+
var isInputRequired = function(inputs) {
|
52
|
+
if (inputs !== null && inputs.length) {
|
53
53
|
var passed = false;
|
54
|
-
var
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
54
|
+
var results = [];
|
55
|
+
$.each(inputs, function(i, el) {
|
56
|
+
var passed = false;
|
57
|
+
var $requiredInputs = '';
|
58
|
+
|
59
|
+
var isTextarea = $(el).find('.textarea').length;
|
60
|
+
var $allInputs = $(el).find('.input, .textarea');
|
61
|
+
var $onlyInput = $(el).find('.input');
|
62
|
+
|
63
|
+
var errorMessage = $('.required-hidden-message').text();
|
64
|
+
$requiredInputs = isTextarea ? $allInputs : $onlyInput;
|
65
|
+
|
66
|
+
$requiredInputs.each(function(i, el) {
|
67
|
+
if ($(this).val() === '') {
|
68
|
+
passed = false;
|
69
|
+
$(this).parent('.form-control').addClass('form-required');
|
70
|
+
$requiredInputs.next('.input-error-message').text(errorMessage);
|
71
|
+
} else {
|
72
|
+
$(this).parent('.form-control').removeClass('form-required');
|
73
|
+
$requiredInputs.next('.input-error-message').text();
|
74
|
+
}
|
75
|
+
});
|
61
76
|
|
62
|
-
|
77
|
+
results.push(passed);
|
78
|
+
});
|
63
79
|
|
64
|
-
|
65
|
-
if(
|
80
|
+
$.each(results, function(i, val) {
|
81
|
+
if (!val) {
|
66
82
|
passed = false;
|
67
|
-
|
68
|
-
$requiredInputs.next('.input-error-message').text(errorMessage);
|
83
|
+
return false
|
69
84
|
} else {
|
70
85
|
passed = true;
|
71
|
-
$(this).parent('.form-control').removeClass('form-required');
|
72
|
-
$requiredInputs.next('.input-error-message').text();
|
73
86
|
}
|
74
87
|
});
|
75
88
|
|
@@ -114,49 +127,58 @@ var Validator = (function($) {
|
|
114
127
|
* input: input to control
|
115
128
|
* @return: undefined
|
116
129
|
*/
|
117
|
-
var isInputEmail = function(
|
118
|
-
|
130
|
+
var isInputEmail = function(inputs) {
|
131
|
+
|
132
|
+
if (inputs !== null && inputs.length) {
|
119
133
|
var passed = false;
|
120
134
|
var results = [];
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
// Distinguish when we have email suggestion or not
|
126
|
-
var $formControl = isSuggestion ? $suggestionControl : $baseControl;
|
135
|
+
$.each($(inputs), function(i, el) {
|
136
|
+
var isSuggestion = $(el).parent('.eac-input-wrap').length;
|
137
|
+
var $suggestionControl = $(el).parent('.eac-input-wrap').parent('.form-control');
|
138
|
+
var $baseControl = $(el).parent('.form-control');
|
127
139
|
|
128
|
-
|
140
|
+
// Distinguish when we have email suggestion or not
|
141
|
+
var $formControl = isSuggestion ? $suggestionControl : $baseControl;
|
142
|
+
var errorMessage = $('.email-hidden-message').text();
|
129
143
|
|
130
|
-
|
131
|
-
var $value = $(this).val();
|
132
|
-
passed = _isEmail($value) && !Util.isEmptyString($value);
|
133
|
-
results[results.length] = passed;
|
134
|
-
});
|
144
|
+
var value = $(el).val();
|
135
145
|
|
136
|
-
|
146
|
+
if (_isEmail(value) && !Util.isEmptyString(value)) {
|
147
|
+
passed = true;
|
137
148
|
|
138
|
-
|
149
|
+
$formControl.removeClass('form-error');
|
139
150
|
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
151
|
+
// Distinguish when we have email suggestion or not
|
152
|
+
if ($(el).parent('.eac-input-wrap').length) {
|
153
|
+
$(el).parent('.eac-input-wrap').next('.input-error-message').text('');
|
154
|
+
} else {
|
155
|
+
$(el).next('.input-error-message').text('');
|
156
|
+
}
|
145
157
|
} else {
|
146
|
-
|
158
|
+
passed = false;
|
159
|
+
$formControl.addClass('form-error');
|
160
|
+
|
161
|
+
// Distinguish when we have email suggestion or not
|
162
|
+
if ($(el).parent('.eac-input-wrap').length) {
|
163
|
+
$(el).parent('.eac-input-wrap').next('.input-error-message').text(errorMessage);
|
164
|
+
} else {
|
165
|
+
$(el).next('.input-error-message').text(errorMessage);
|
166
|
+
}
|
147
167
|
}
|
148
|
-
|
149
|
-
} else {
|
150
168
|
|
151
|
-
|
169
|
+
results.push(passed);
|
170
|
+
});
|
152
171
|
|
153
|
-
|
154
|
-
|
155
|
-
|
172
|
+
console.log(results);
|
173
|
+
|
174
|
+
$.each(results, function(i, val) {
|
175
|
+
if (!val) {
|
176
|
+
passed = false;
|
177
|
+
return false
|
156
178
|
} else {
|
157
|
-
|
179
|
+
passed = true;
|
158
180
|
}
|
159
|
-
}
|
181
|
+
});
|
160
182
|
|
161
183
|
return passed;
|
162
184
|
}
|
@@ -164,7 +186,7 @@ var Validator = (function($) {
|
|
164
186
|
|
165
187
|
/*
|
166
188
|
* Check if two password inputs have the same value.
|
167
|
-
* @params:
|
189
|
+
* @params:
|
168
190
|
* firstInput: first input to test
|
169
191
|
* secondInput: second input to test
|
170
192
|
* @return: boolean
|
@@ -1,9 +1,9 @@
|
|
1
1
|
// Project config map
|
2
2
|
$_settings: (
|
3
|
-
'use-flex-grid' :
|
4
|
-
'use-opentype' :
|
5
|
-
'use-font-smooth' :
|
6
|
-
'minor-typo' :
|
3
|
+
'use-flex-grid' : false,
|
4
|
+
'use-opentype' : false,
|
5
|
+
'use-font-smooth' : true,
|
6
|
+
'minor-typo' : true
|
7
7
|
);
|
8
8
|
|
9
9
|
// Retrieve data from the map
|
@@ -36,6 +36,7 @@ $selection-bg : $text-color !default;
|
|
36
36
|
// Content block
|
37
37
|
$content-block-bg : $white !default;
|
38
38
|
$content-block-shadow : 0 1px 4px rgba($text-color, 0.25) !default;
|
39
|
+
$content-block-shadow : 0px 11px 20px rgba($text-color, 0.08);
|
39
40
|
$content-block-padding : 20px !default;
|
40
41
|
$content-block-margin-bottom : 30px !default;
|
41
42
|
$content-block-title-size : 30px !default;
|
@@ -54,6 +55,7 @@ $nav-width : 85.3% !default;
|
|
54
55
|
$nav-bg : $white !default;
|
55
56
|
$nav-color : $text-color !default;
|
56
57
|
$nav-shadow : 0 1px 4px rgba($text-color, 0.25) !default;
|
58
|
+
$nav-shadow : 0px 11px 20px rgba($text-color, 0.04);
|
57
59
|
$nav-padding-vertical : 10px !default;
|
58
60
|
$nav-base-padding : $nav-padding-vertical 0 !default;
|
59
61
|
$nav-actions-color : $ship-cove !default;
|
@@ -85,6 +87,7 @@ $form-control-border-color : $form-input-border-color !default;
|
|
85
87
|
$form-control-checked-bg : $ebony-clay !default;
|
86
88
|
$form-control-checked-color : $white !default;
|
87
89
|
$form-autocomplete-color : $dusty-gray !default;
|
90
|
+
$form-control-check-hover : $robin-blue !default;
|
88
91
|
|
89
92
|
// Input file
|
90
93
|
$input-file-bg : $ship-cove !default;
|
@@ -130,6 +133,11 @@ $select-dropdown-active-bg : rgba($form-input-hover-border-color, 0.67) !default
|
|
130
133
|
// Arranger
|
131
134
|
$arranger-text-color : darken($ship-cove, 15%) !default;
|
132
135
|
|
136
|
+
// Confirmation Popup
|
137
|
+
$confirmation-popup-container-bg : transparent !default;
|
138
|
+
$confirmation-popup-bg : $white !default;
|
139
|
+
$confirmation-popup-max-width : 550px !default;
|
140
|
+
|
133
141
|
// Dropdown
|
134
142
|
$drop-bg : $ebony-clay !default;
|
135
143
|
$drop-links-bg : $ebony-clay !default;
|
@@ -150,9 +158,23 @@ $flash-shadow : 0 1px 4px rgba(41, 59, 90, 0.25) !default;
|
|
150
158
|
$pagination-current-bg : $rhino !default;
|
151
159
|
$pagination-current-color : $white !default;
|
152
160
|
|
161
|
+
// Step
|
162
|
+
$step-paginate-spacing : 35px !default;
|
163
|
+
$step-index-base-color : $ship-cove !default;
|
164
|
+
$step-index-active-color : $text-color !default;
|
165
|
+
$step-index-base-size : 40px !default;
|
166
|
+
$step-index-base-spacing : 25px !default;
|
167
|
+
$step-index-shadow : 0px 4px 14px rgba($text-color, 0.2) !default;
|
168
|
+
$step-index-active-shadow : 0px 8px 18px rgba($text-color, 0.3) !default;
|
169
|
+
|
153
170
|
// Search Bar
|
154
171
|
$search-bar-bg : $white !default;
|
155
172
|
$search-bar-shadow : 0px 2px 6px rgba(black, 0.1) !default;
|
156
173
|
$search-bar-focus-shadow : 0px 2px 8px rgba(black, 0.15) !default;
|
157
174
|
$search-button-bg : $robin-blue !default;
|
158
175
|
$search-button-color : $white !default;
|
176
|
+
|
177
|
+
// VIEWS
|
178
|
+
$login-view-base-bg : $catskill-white !default;
|
179
|
+
$login-view-first-gradient-bg : $catskill-white !default;
|
180
|
+
$login-view-second-gradient-bg : lighten($ship-cove, 22%) !default;
|
@@ -10,10 +10,10 @@ $rhino : #040303;
|
|
10
10
|
$ebony-clay : #262626;
|
11
11
|
$ship-cove : #040303;
|
12
12
|
$robin-blue : #fff;
|
13
|
-
$jungle-green : #26b75e;
|
14
|
-
$scarlet : #e32908;
|
15
|
-
$radical-red : #ff2f6c;
|
16
|
-
$yellow-sea : #ffae03;
|
13
|
+
$jungle-green : darken(#26b75e, 15%);
|
14
|
+
$scarlet : darken(#e32908, 10%);
|
15
|
+
$radical-red : darken(#ff2f6c, 20%);
|
16
|
+
$yellow-sea : darken(#ffae03, 5%);
|
17
17
|
|
18
18
|
// Statuses colors
|
19
19
|
$success-color : $jungle-green !default;
|
@@ -41,7 +41,7 @@ $content-block-margin-bottom : 30px !default;
|
|
41
41
|
$content-block-title-size : 30px !default;
|
42
42
|
|
43
43
|
// Button colors.
|
44
|
-
$button-bg :
|
44
|
+
$button-bg : lighten($ebony-clay , 20%) !default;
|
45
45
|
$button-color : $white !default;
|
46
46
|
|
47
47
|
// Button-Group
|
@@ -57,7 +57,7 @@ $nav-shadow : 0 1px 4px rgba($text-color, 0.25) !default;
|
|
57
57
|
$nav-padding-vertical : 10px !default;
|
58
58
|
$nav-base-padding : $nav-padding-vertical 0 !default;
|
59
59
|
$nav-actions-color : $ship-cove !default;
|
60
|
-
$nav-account-img-bg : $
|
60
|
+
$nav-account-img-bg : lighten($ebony-clay, 20%) !default;
|
61
61
|
$nav-account-drop-shadow : $text-color !default;
|
62
62
|
$nav-account-drop-border-color : $catskill-white !default;
|
63
63
|
$nav-account-drop-left-stripe : $robin-blue !default;
|
@@ -85,6 +85,7 @@ $form-control-border-color : $form-input-border-color !default;
|
|
85
85
|
$form-control-checked-bg : $ebony-clay !default;
|
86
86
|
$form-control-checked-color : $white !default;
|
87
87
|
$form-autocomplete-color : $dusty-gray !default;
|
88
|
+
$form-control-check-hover : $ebony-clay !default;
|
88
89
|
|
89
90
|
// Input file
|
90
91
|
$input-file-bg : $ship-cove !default;
|
@@ -130,6 +131,11 @@ $select-dropdown-active-bg : rgba($form-input-hover-border-color, 0.67) !default
|
|
130
131
|
// Arranger
|
131
132
|
$arranger-text-color : darken($ship-cove, 15%) !default;
|
132
133
|
|
134
|
+
// Confirmation Popup
|
135
|
+
$confirmation-popup-container-bg : transparent !default;
|
136
|
+
$confirmation-popup-bg : $white !default;
|
137
|
+
$confirmation-popup-max-width : 550px !default;
|
138
|
+
|
133
139
|
// Dropdown
|
134
140
|
$drop-bg : $ebony-clay !default;
|
135
141
|
$drop-links-bg : $ebony-clay !default;
|
@@ -150,9 +156,23 @@ $flash-shadow : 0 1px 4px rgba(41, 59, 90, 0.25) !default;
|
|
150
156
|
$pagination-current-bg : $rhino !default;
|
151
157
|
$pagination-current-color : $white !default;
|
152
158
|
|
159
|
+
// Step
|
160
|
+
$step-paginate-spacing : 35px !default;
|
161
|
+
$step-index-base-color : $ship-cove !default;
|
162
|
+
$step-index-active-color : $text-color !default;
|
163
|
+
$step-index-base-size : 40px !default;
|
164
|
+
$step-index-base-spacing : 25px !default;
|
165
|
+
$step-index-shadow : 0px 4px 14px rgba($text-color, 0.2) !default;
|
166
|
+
$step-index-active-shadow : 0px 8px 18px rgba($text-color, 0.3) !default;
|
167
|
+
|
153
168
|
// Search Bar
|
154
169
|
$search-bar-bg : $white !default;
|
155
170
|
$search-bar-shadow : 0px 2px 6px rgba(black, 0.1) !default;
|
156
171
|
$search-bar-focus-shadow : 0px 2px 8px rgba(black, 0.15) !default;
|
157
172
|
$search-button-bg : $robin-blue !default;
|
158
173
|
$search-button-color : $white !default;
|
174
|
+
|
175
|
+
// VIEWS
|
176
|
+
$login-view-base-bg : $ebony-clay !default;
|
177
|
+
$login-view-first-gradient-bg : lighten($ebony-clay , 15%) !default;
|
178
|
+
$login-view-second-gradient-bg : lighten($ebony-clay , 22%) !default;
|
@@ -0,0 +1,190 @@
|
|
1
|
+
// Base colors
|
2
|
+
$black : #000000;
|
3
|
+
$mine-shaft : #333333;
|
4
|
+
$white : #ffffff;
|
5
|
+
|
6
|
+
// Project specific colors
|
7
|
+
$catskill-white : #edf3f7;
|
8
|
+
$dusty-gray : #999999;
|
9
|
+
$rhino : #293b5a;
|
10
|
+
$ebony-clay : #292f43;
|
11
|
+
$ship-cove : #7b96c4;
|
12
|
+
$robin-blue : #00c8e7;
|
13
|
+
$jungle-green : #26b75e;
|
14
|
+
$scarlet : #e32908;
|
15
|
+
$radical-red : #ff2f6c;
|
16
|
+
$yellow-sea : #efdc5d;
|
17
|
+
|
18
|
+
$woodsmoke : #0e1014;
|
19
|
+
$miska : #ced3db;
|
20
|
+
$catskill : #ebeef5;
|
21
|
+
$cadet-blue : #9dafc2;
|
22
|
+
$fiord : #3d3d67;
|
23
|
+
$feral-blue : #0a47ba;
|
24
|
+
$salmon : #ff7f67;
|
25
|
+
$havelock : #4a90e2;
|
26
|
+
$turquoise : #50e3c2;
|
27
|
+
|
28
|
+
// Statuses colors
|
29
|
+
$success-color : $turquoise !default;
|
30
|
+
$error-color : $salmon !default;
|
31
|
+
$warning-color : $yellow-sea !default;
|
32
|
+
|
33
|
+
// BASE
|
34
|
+
|
35
|
+
$body-bg : $catskill-white !default;
|
36
|
+
$base-spacing : $line-base * $font-size-base !default;
|
37
|
+
$text-color : $fiord !default;
|
38
|
+
$text-accent-color : $salmon !default;
|
39
|
+
$link-color : $feral-blue !default;
|
40
|
+
$base-padding : $headings-margin-bottom;
|
41
|
+
$selection-color : $body-bg !default;
|
42
|
+
$selection-bg : $text-color !default;
|
43
|
+
|
44
|
+
// MODULES
|
45
|
+
|
46
|
+
// Content block
|
47
|
+
$content-block-bg : $white !default;
|
48
|
+
$content-block-shadow : 0 1px 4px rgba($text-color, 0.25) !default;
|
49
|
+
$content-block-shadow : 0px 11px 20px rgba($text-color, 0.08);
|
50
|
+
$content-block-padding : 20px !default;
|
51
|
+
$content-block-margin-bottom : 30px !default;
|
52
|
+
$content-block-title-size : 30px !default;
|
53
|
+
|
54
|
+
// Button colors.
|
55
|
+
$button-bg : $feral-blue !default;
|
56
|
+
$button-color : $white !default;
|
57
|
+
|
58
|
+
// Button-Group
|
59
|
+
$button-group-color : $feral-blue !default;
|
60
|
+
$button-group-bg : $white !default;
|
61
|
+
$button-group-radius : 30px !default;
|
62
|
+
|
63
|
+
// Navbar
|
64
|
+
$nav-width : 85.3% !default;
|
65
|
+
$nav-bg : $white !default;
|
66
|
+
$nav-color : $text-color !default;
|
67
|
+
$nav-shadow : 0 1px 4px rgba($text-color, 0.25) !default;
|
68
|
+
$nav-shadow : 0px 11px 20px rgba($text-color, 0.04);
|
69
|
+
$nav-padding-vertical : 10px !default;
|
70
|
+
$nav-base-padding : $nav-padding-vertical 0 !default;
|
71
|
+
$nav-actions-color : $cadet-blue !default;
|
72
|
+
$nav-account-img-bg : $cadet-blue !default;
|
73
|
+
$nav-account-drop-shadow : $text-color !default;
|
74
|
+
$nav-account-drop-border-color : $catskill-white !default;
|
75
|
+
$nav-account-drop-left-stripe : $feral-blue !default;
|
76
|
+
$nav-account-drop-icon-color : $cadet-blue !default;
|
77
|
+
|
78
|
+
// Sidebar
|
79
|
+
$sidebar-width : 200px !default;
|
80
|
+
$sidebar-bg : $feral-blue !default;
|
81
|
+
$sidebar-color : $white !default;
|
82
|
+
$sidebar-inactive-color : $cadet-blue !default;
|
83
|
+
$sidebar-icon-active-color : $white !default;
|
84
|
+
|
85
|
+
// Form
|
86
|
+
$form-input-border-color : $feral-blue !default;
|
87
|
+
$form-input-hover-border-color : $fiord !default;
|
88
|
+
$form-input-padding : 5px 10px !default;
|
89
|
+
$form-control-margin : 15px !default;
|
90
|
+
$text-area-min-height : 80px !default;
|
91
|
+
$label-advise-color : $cadet-blue !default;
|
92
|
+
$form-error-color : $error-color !default;
|
93
|
+
$form-required-color : $warning-color !default;
|
94
|
+
|
95
|
+
// Form controls
|
96
|
+
$form-control-border-color : $form-input-border-color !default;
|
97
|
+
$form-control-checked-bg : $fiord !default;
|
98
|
+
$form-control-checked-color : $white !default;
|
99
|
+
$form-autocomplete-color : $cadet-blue !default;
|
100
|
+
$form-control-check-hover : $havelock !default;
|
101
|
+
|
102
|
+
// Input file
|
103
|
+
$input-file-bg : $cadet-blue !default;
|
104
|
+
|
105
|
+
// Password-reveal submodule
|
106
|
+
$psw-reveal-width : 45px !default;
|
107
|
+
$psw-reveal-height : 35px !default;
|
108
|
+
$psw-eye-bg : $form-input-border-color !default;
|
109
|
+
$psw-eye-size : 20px !default;
|
110
|
+
$psw-inner-size : $psw-eye-size / 2 !default;
|
111
|
+
$psw-active : $fiord !default;
|
112
|
+
|
113
|
+
// Datepicker - Overrides external
|
114
|
+
// $pd-font-family : $font-stack;
|
115
|
+
// $pd-text-color : $mine-shaft !default;
|
116
|
+
// $pd-title-color : $mine-shaft !default;
|
117
|
+
// $pd-title-bg : $white !default;
|
118
|
+
// $pd-picker-bg : $white !default;
|
119
|
+
// $pd-picker-border : #ccc !default;
|
120
|
+
// $pd-picker-border-bottom : #bbb !default;
|
121
|
+
// $pd-picker-shadow : rgba($black, 0.5) !default;
|
122
|
+
// $pd-th-color : $ship-cove !default;
|
123
|
+
// $pd-day-color : $ebony-clay !default;
|
124
|
+
// $pd-day-bg : #f5f5f5 !default;
|
125
|
+
// $pd-day-hover-color : $white !default;
|
126
|
+
// $pd-day-hover-bg : $radical-red !default;
|
127
|
+
// $pd-day-today-color : $robin-blue !default;
|
128
|
+
// $pd-day-selected-color : $white !default;
|
129
|
+
// $pd-day-selected-bg : $robin-blue !default;
|
130
|
+
// $pd-day-selected-shadow : #178fe5 !default;
|
131
|
+
// $pd-day-disabled-color : #999 !default;
|
132
|
+
// $pd-week-color : #999 !default;
|
133
|
+
$picker-selected : $cadet-blue;
|
134
|
+
$picker-date-today : $salmon;
|
135
|
+
$picker-item-hover-color : $white;
|
136
|
+
|
137
|
+
// Select
|
138
|
+
$select-border-color : $form-input-border-color !default;
|
139
|
+
$select-focus-border-color : $form-input-hover-border-color !default;
|
140
|
+
$select-dropdown-shadow : 0 1px 4px rgba($text-color, 0.25) !default;
|
141
|
+
$select-dropdown-active-bg : rgba($form-input-hover-border-color, 0.67) !default;
|
142
|
+
|
143
|
+
// Arranger
|
144
|
+
$arranger-text-color : darken($cadet-blue, 5%) !default;
|
145
|
+
|
146
|
+
// Confirmation Popup
|
147
|
+
$confirmation-popup-container-bg : transparent !default;
|
148
|
+
$confirmation-popup-bg : $white !default;
|
149
|
+
$confirmation-popup-max-width : 550px !default;
|
150
|
+
|
151
|
+
// Dropdown
|
152
|
+
$drop-bg : $feral-blue !default;
|
153
|
+
$drop-links-bg : $feral-blue !default;
|
154
|
+
$drop-links-hover-color : $havelock !default;
|
155
|
+
$drop-active-voice-color : $fiord !default;
|
156
|
+
$drop-active-voice-underline-color : $feral-blue !default;
|
157
|
+
$drop-icon-bg : $feral-blue !default;
|
158
|
+
|
159
|
+
// Flashes
|
160
|
+
$flash-default-bg : $fiord !default;
|
161
|
+
$flash-danger-bg : $error-color !default;
|
162
|
+
$flash-success-bg : $success-color !default;
|
163
|
+
$flash-info-bg : $feral-blue !default;
|
164
|
+
$flash-warning-bg : $warning-color !default;
|
165
|
+
$flash-shadow : 0 1px 4px rgba(41, 59, 90, 0.25) !default;
|
166
|
+
|
167
|
+
// Pagination
|
168
|
+
$pagination-current-bg : $fiord !default;
|
169
|
+
$pagination-current-color : $white !default;
|
170
|
+
|
171
|
+
// Step
|
172
|
+
$step-paginate-spacing : 35px !default;
|
173
|
+
$step-index-base-color : $cadet-blue !default;
|
174
|
+
$step-index-active-color : $text-color !default;
|
175
|
+
$step-index-base-size : 40px !default;
|
176
|
+
$step-index-base-spacing : 25px !default;
|
177
|
+
$step-index-shadow : 0px 4px 14px rgba($text-color, 0.2) !default;
|
178
|
+
$step-index-active-shadow : 0px 8px 18px rgba($text-color, 0.3) !default;
|
179
|
+
|
180
|
+
// Search Bar
|
181
|
+
$search-bar-bg : $white !default;
|
182
|
+
$search-bar-shadow : 0px 2px 6px rgba(black, 0.1) !default;
|
183
|
+
$search-bar-focus-shadow : 0px 2px 8px rgba(black, 0.15) !default;
|
184
|
+
$search-button-bg : $feral-blue !default;
|
185
|
+
$search-button-color : $white !default;
|
186
|
+
|
187
|
+
// VIEWS
|
188
|
+
$login-view-base-bg : $catskill !default;
|
189
|
+
$login-view-first-gradient-bg : $cadet-blue !default;
|
190
|
+
$login-view-second-gradient-bg : lighten($cadet-blue, 22%) !default;
|