TokiCLI 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +9 -17
- data/.rspec +3 -0
- data/.travis.yml +3 -0
- data/CHANGELOG.md +4 -0
- data/README.md +99 -163
- data/Rakefile +5 -0
- data/TokiCLI.gemspec +5 -4
- data/bin/toki +2 -2
- data/lib/API/helpers.rb +27 -170
- data/lib/API/toki_api.rb +227 -0
- data/lib/API/toki_db.rb +67 -0
- data/lib/TokiCLI.rb +270 -5
- data/lib/TokiCLI/adnimport.rb +202 -0
- data/lib/TokiCLI/fileops.rb +187 -0
- data/lib/TokiCLI/status.rb +49 -37
- data/lib/TokiCLI/version.rb +1 -1
- data/lib/TokiCLI/view.rb +133 -86
- data/lib/TokiServer/.bowerrc +3 -0
- data/lib/TokiServer/.gitignore +2 -0
- data/lib/TokiServer/Gemfile +1 -0
- data/lib/TokiServer/bower.json +0 -0
- data/lib/TokiServer/bower_components/fastclick/.bower.json +4 -4
- data/lib/TokiServer/bower_components/fastclick/bower.json +1 -1
- data/lib/TokiServer/bower_components/fastclick/lib/fastclick.js +33 -2
- data/lib/TokiServer/bower_components/foundation/.bower.json +5 -4
- data/lib/TokiServer/bower_components/foundation/bower.json +2 -1
- data/lib/TokiServer/bower_components/foundation/css/foundation.css +2173 -922
- data/lib/TokiServer/bower_components/foundation/css/foundation.css.map +7 -0
- data/lib/TokiServer/bower_components/foundation/css/normalize.css +53 -16
- data/lib/TokiServer/bower_components/foundation/css/normalize.css.map +7 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation.js +782 -542
- data/lib/TokiServer/bower_components/foundation/js/foundation.min.js +4 -3
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.abide.js +45 -31
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.accordion.js +12 -6
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.alert.js +5 -5
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.clearing.js +34 -10
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.dropdown.js +83 -29
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.equalizer.js +3 -3
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.interchange.js +25 -12
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.joyride.js +112 -40
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.js +19 -5
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.magellan.js +22 -11
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.offcanvas.js +52 -8
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.orbit.js +133 -271
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.reveal.js +27 -20
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.slider.js +73 -33
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.tab.js +88 -31
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.tooltip.js +7 -5
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.topbar.js +44 -24
- data/lib/TokiServer/bower_components/foundation/js/vendor/fastclick.js +2 -2
- data/lib/TokiServer/bower_components/foundation/js/vendor/modernizr.js +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation.scss +38 -38
- data/lib/TokiServer/bower_components/foundation/scss/foundation/_functions.scss +3 -3
- data/lib/TokiServer/bower_components/foundation/scss/foundation/_settings.scss +417 -271
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_accordion.scss +110 -6
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_block-grid.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +8 -3
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_button-groups.scss +99 -9
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_buttons.scss +66 -28
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_clearing.scss +5 -5
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss +4 -4
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_dropdown.scss +48 -35
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_forms.scss +104 -32
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_global.scss +48 -30
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_grid.scss +19 -4
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_icon-bar.scss +293 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_joyride.scss +11 -9
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_keystrokes.scss +4 -4
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_labels.scss +4 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_magellan.scss +1 -1
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_offcanvas.scss +193 -35
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_orbit.scss +92 -147
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_pagination.scss +22 -10
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_panels.scss +10 -7
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_pricing-tables.scss +11 -11
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_progress-bars.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_range-slider.scss +29 -9
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_reveal.scss +60 -56
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_side-nav.scss +3 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_split-buttons.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_sub-nav.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_switches.scss +226 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tables.scss +13 -7
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tabs.scss +22 -8
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_thumbs.scss +2 -4
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_toolbar.scss +70 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tooltips.scss +9 -7
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_top-bar.scss +77 -44
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_type.scss +21 -9
- data/lib/TokiServer/bower_components/modernizr/.bower.json +4 -4
- data/lib/TokiServer/bower_components/modernizr/feature-detects/workers-blobworkers.js +2 -2
- data/lib/TokiServer/bower_components/modernizr/grunt.js +1 -1
- data/lib/TokiServer/bower_components/modernizr/modernizr.js +2 -2
- data/lib/TokiServer/config.rb +0 -0
- data/lib/TokiServer/humans.txt +0 -0
- data/lib/TokiServer/{itunesicon.rb → itunesicons.rb} +25 -23
- data/lib/TokiServer/js/app.js +0 -0
- data/lib/TokiServer/public/stylesheets/app.css +2636 -1610
- data/lib/TokiServer/robots.txt +0 -0
- data/lib/TokiServer/scss/_settings.scss +0 -0
- data/lib/TokiServer/scss/app.scss +7 -1
- data/lib/TokiServer/tokiserver.rb +239 -244
- data/lib/TokiServer/views/activity.erb +42 -0
- data/lib/TokiServer/views/apps_total.erb +8 -2
- data/lib/TokiServer/views/error.erb +13 -4
- data/lib/TokiServer/views/index.erb +36 -27
- data/lib/TokiServer/views/logs_total.erb +34 -0
- data/spec/TokiCLI_spec.rb +354 -0
- data/spec/mock/mock.sqlite3 +0 -0
- data/spec/spec_helper.rb +26 -0
- metadata +78 -23
- data/lib/API/dbapi.rb +0 -488
- data/lib/TokiCLI/app.rb +0 -389
- data/lib/TokiCLI/authorize.rb +0 -77
- data/lib/TokiCLI/export.rb +0 -81
- data/lib/TokiCLI/get_channels.rb +0 -22
- data/lib/TokiCLI/get_messages.rb +0 -32
- data/lib/TokiCLI/import.rb +0 -122
- data/lib/TokiCLI/scan.rb +0 -19
- data/lib/TokiCLI/search_messages.rb +0 -23
- data/lib/TokiServer/README.md +0 -37
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_reveal-new.scss +0 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_switch.scss +0 -294
- data/lib/TokiServer/views/name_log.erb +0 -50
- data/lib/TokiServer/views/name_split.erb +0 -37
- data/lib/TokiServer/views/name_total.erb +0 -34
@@ -4,7 +4,7 @@
|
|
4
4
|
Foundation.libs.tooltip = {
|
5
5
|
name : 'tooltip',
|
6
6
|
|
7
|
-
version : '5.
|
7
|
+
version : '5.4.3',
|
8
8
|
|
9
9
|
settings : {
|
10
10
|
additional_inheritable_classes : [],
|
@@ -15,9 +15,9 @@
|
|
15
15
|
hover_delay: 200,
|
16
16
|
show_on : 'all',
|
17
17
|
tip_template : function (selector, content) {
|
18
|
-
return '<span data-selector="' + selector + '" class="'
|
18
|
+
return '<span data-selector="' + selector + '" id="' + selector + '" class="'
|
19
19
|
+ Foundation.libs.tooltip.settings.tooltip_class.substring(1)
|
20
|
-
+ '">' + content + '<span class="nub"></span></span>';
|
20
|
+
+ '" role="tooltip">' + content + '<span class="nub"></span></span>';
|
21
21
|
}
|
22
22
|
},
|
23
23
|
|
@@ -143,7 +143,9 @@
|
|
143
143
|
|
144
144
|
if ((id && id.length < 1 || !id) && typeof dataSelector != 'string') {
|
145
145
|
dataSelector = this.random_str(6);
|
146
|
-
$target
|
146
|
+
$target
|
147
|
+
.attr('data-selector', dataSelector)
|
148
|
+
.attr('aria-describedby', dataSelector);
|
147
149
|
}
|
148
150
|
|
149
151
|
return (id && id.length > 0) ? id : dataSelector;
|
@@ -280,7 +282,7 @@
|
|
280
282
|
|
281
283
|
$tip.fadeOut(150, function() {
|
282
284
|
$tip.find('.tap-to-close').remove();
|
283
|
-
$tip.off('click.fndtn.tooltip.tapclose
|
285
|
+
$tip.off('click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose');
|
284
286
|
$target.removeClass('open');
|
285
287
|
});
|
286
288
|
},
|
@@ -4,15 +4,15 @@
|
|
4
4
|
Foundation.libs.topbar = {
|
5
5
|
name : 'topbar',
|
6
6
|
|
7
|
-
version: '5.
|
7
|
+
version: '5.4.3',
|
8
8
|
|
9
9
|
settings : {
|
10
10
|
index : 0,
|
11
11
|
sticky_class : 'sticky',
|
12
12
|
custom_back_text: true,
|
13
13
|
back_text: 'Back',
|
14
|
+
mobile_show_parent_link: true,
|
14
15
|
is_hover: true,
|
15
|
-
mobile_show_parent_link: false,
|
16
16
|
scrolltop : true, // jump to top when sticky nav menu toggle is clicked
|
17
17
|
sticky_on : 'all'
|
18
18
|
},
|
@@ -28,7 +28,7 @@
|
|
28
28
|
self.S('[' + this.attr_name() + ']', this.scope).each(function () {
|
29
29
|
var topbar = $(this),
|
30
30
|
settings = topbar.data(self.attr_name(true) + '-init'),
|
31
|
-
section = self.S('section', this);
|
31
|
+
section = self.S('section, .top-bar-section', this);
|
32
32
|
topbar.data('index', 0);
|
33
33
|
var topbarContainer = topbar.parent();
|
34
34
|
if (topbarContainer.hasClass('fixed') || self.is_sticky(topbar, topbarContainer, settings) ) {
|
@@ -66,11 +66,17 @@
|
|
66
66
|
if (sticky && settings.sticky_on === 'all') {
|
67
67
|
return true;
|
68
68
|
} else if (sticky && this.small() && settings.sticky_on === 'small') {
|
69
|
-
return
|
69
|
+
return (matchMedia(Foundation.media_queries.small).matches && !matchMedia(Foundation.media_queries.medium).matches &&
|
70
|
+
!matchMedia(Foundation.media_queries.large).matches);
|
71
|
+
//return true;
|
70
72
|
} else if (sticky && this.medium() && settings.sticky_on === 'medium') {
|
71
|
-
return
|
72
|
-
|
73
|
-
return true;
|
73
|
+
return (matchMedia(Foundation.media_queries.small).matches && matchMedia(Foundation.media_queries.medium).matches &&
|
74
|
+
!matchMedia(Foundation.media_queries.large).matches);
|
75
|
+
//return true;
|
76
|
+
} else if(sticky && this.large() && settings.sticky_on === 'large') {
|
77
|
+
return (matchMedia(Foundation.media_queries.small).matches && matchMedia(Foundation.media_queries.medium).matches &&
|
78
|
+
matchMedia(Foundation.media_queries.large).matches);
|
79
|
+
//return true;
|
74
80
|
}
|
75
81
|
|
76
82
|
return false;
|
@@ -88,7 +94,7 @@
|
|
88
94
|
|
89
95
|
var settings = topbar.data(this.attr_name(true) + '-init');
|
90
96
|
|
91
|
-
var section = self.S('section, .section', topbar);
|
97
|
+
var section = self.S('section, .top-bar-section', topbar);
|
92
98
|
|
93
99
|
if (self.breakpoint()) {
|
94
100
|
if (!self.rtl) {
|
@@ -204,7 +210,7 @@
|
|
204
210
|
|
205
211
|
var $this = S(this),
|
206
212
|
topbar = $this.closest('[' + self.attr_name() + ']'),
|
207
|
-
section = topbar.find('section, .section'),
|
213
|
+
section = topbar.find('section, .top-bar-section'),
|
208
214
|
dropdownHeight = $this.next('.dropdown').outerHeight(),
|
209
215
|
$selectedLi = $this.closest('li');
|
210
216
|
|
@@ -222,12 +228,15 @@
|
|
222
228
|
topbar.css('height', $this.siblings('ul').outerHeight(true) + topbar.data('height'));
|
223
229
|
}
|
224
230
|
});
|
225
|
-
|
226
|
-
S(window).off('.topbar').on('resize.fndtn.topbar', self.throttle(function () {
|
227
|
-
self.resize.call(self);
|
228
|
-
}, 50)).trigger('resize');
|
229
231
|
|
230
|
-
S(
|
232
|
+
S(window).off(".topbar").on("resize.fndtn.topbar", self.throttle(function() {
|
233
|
+
self.resize.call(self);
|
234
|
+
}, 50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){
|
235
|
+
// Ensure that the offset is calculated after all of the pages resources have loaded
|
236
|
+
S(this).trigger("resize.fndtn.topbar");
|
237
|
+
});
|
238
|
+
|
239
|
+
S('body').off('.topbar').on('click.fndtn.topbar', function (e) {
|
231
240
|
var parent = S(e.target).closest('li').closest('li.hover');
|
232
241
|
|
233
242
|
if (parent.length > 0) {
|
@@ -243,7 +252,7 @@
|
|
243
252
|
|
244
253
|
var $this = S(this),
|
245
254
|
topbar = $this.closest('[' + self.attr_name() + ']'),
|
246
|
-
section = topbar.find('section, .section'),
|
255
|
+
section = topbar.find('section, .top-bar-section'),
|
247
256
|
settings = topbar.data(self.attr_name(true) + '-init'),
|
248
257
|
$movedLi = $this.closest('li.moved'),
|
249
258
|
$previousLevelUl = $movedLi.parent();
|
@@ -268,6 +277,15 @@
|
|
268
277
|
$movedLi.removeClass('moved');
|
269
278
|
}, 300);
|
270
279
|
});
|
280
|
+
|
281
|
+
// Show dropdown menus when their items are focused
|
282
|
+
S(this.scope).find('.dropdown a')
|
283
|
+
.focus(function() {
|
284
|
+
$(this).parents('.has-dropdown').addClass('hover');
|
285
|
+
})
|
286
|
+
.blur(function() {
|
287
|
+
$(this).parents('.has-dropdown').removeClass('hover');
|
288
|
+
});
|
271
289
|
},
|
272
290
|
|
273
291
|
resize : function () {
|
@@ -332,7 +350,7 @@
|
|
332
350
|
assemble : function (topbar) {
|
333
351
|
var self = this,
|
334
352
|
settings = topbar.data(this.attr_name(true) + '-init'),
|
335
|
-
section = self.S('section', topbar);
|
353
|
+
section = self.S('section, .top-bar-section', topbar);
|
336
354
|
|
337
355
|
// Pull element out of the DOM for manipulation
|
338
356
|
section.detach();
|
@@ -343,13 +361,15 @@
|
|
343
361
|
url = $link.attr('href'),
|
344
362
|
$titleLi;
|
345
363
|
|
364
|
+
|
346
365
|
if (!$dropdown.find('.title.back').length) {
|
347
|
-
|
348
|
-
|
366
|
+
|
367
|
+
if (settings.mobile_show_parent_link == true && url) {
|
368
|
+
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link show-for-small"><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></li>');
|
349
369
|
} else {
|
350
|
-
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5
|
370
|
+
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>');
|
351
371
|
}
|
352
|
-
|
372
|
+
|
353
373
|
// Copy link to subnav
|
354
374
|
if (settings.custom_back_text == true) {
|
355
375
|
$('h5>a', $titleLi).html(settings.back_text);
|
@@ -377,8 +397,8 @@
|
|
377
397
|
var total = 0,
|
378
398
|
self = this;
|
379
399
|
|
380
|
-
$('> li', ul).each(function () {
|
381
|
-
total += self.S(this).outerHeight(true);
|
400
|
+
$('> li', ul).each(function () {
|
401
|
+
total += self.S(this).outerHeight(true);
|
382
402
|
});
|
383
403
|
|
384
404
|
return total;
|
@@ -394,7 +414,7 @@
|
|
394
414
|
|
395
415
|
update_sticky_positioning: function() {
|
396
416
|
var klass = '.' + this.settings.sticky_class,
|
397
|
-
$window = this.S(window),
|
417
|
+
$window = this.S(window),
|
398
418
|
self = this;
|
399
419
|
|
400
420
|
if (self.settings.sticky_topbar && self.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(), this.settings)) {
|
@@ -422,4 +442,4 @@
|
|
422
442
|
|
423
443
|
reflow : function () {}
|
424
444
|
};
|
425
|
-
}(jQuery,
|
445
|
+
}(jQuery, window, window.document));
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/**
|
2
2
|
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
|
3
3
|
*
|
4
|
-
* @version 1.0.
|
4
|
+
* @version 1.0.3
|
5
5
|
* @codingstandard ftlabs-jsv2
|
6
6
|
* @copyright The Financial Times Limited [All Rights Reserved]
|
7
7
|
* @license MIT License (see LICENSE.txt)
|
8
8
|
*/
|
9
|
-
function FastClick(a,b){"use strict";function c(a,b){return function(){return a.apply(b,arguments)}}var d;if(b=b||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=b.touchBoundary||10,this.layer=a,this.tapDelay=b.tapDelay||200,!FastClick.notNeeded(a)){for(var e=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],f=this,g=0,h=e.length;h>g;g++)f[e[g]]=c(f[e[g]],f);deviceIsAndroid&&(a.addEventListener("mouseover",this.onMouse,!0),a.addEventListener("mousedown",this.onMouse,!0),a.addEventListener("mouseup",this.onMouse,!0)),a.addEventListener("click",this.onClick,!0),a.addEventListener("touchstart",this.onTouchStart,!1),a.addEventListener("touchmove",this.onTouchMove,!1),a.addEventListener("touchend",this.onTouchEnd,!1),a.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(a.removeEventListener=function(b,c,d){var e=Node.prototype.removeEventListener;"click"===b?e.call(a,b,c.hijacked||c,d):e.call(a,b,c,d)},a.addEventListener=function(b,c,d){var e=Node.prototype.addEventListener;"click"===b?e.call(a,b,c.hijacked||(c.hijacked=function(a){a.propagationStopped||c(a)}),d):e.call(a,b,c,d)}),"function"==typeof a.onclick&&(d=a.onclick,a.addEventListener("click",function(a){d(a)},!1),a.onclick=null)}}var deviceIsAndroid=navigator.userAgent.indexOf("Android")>0,deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent),deviceIsIOS4=deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent),deviceIsIOSWithBadTarget=deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent);FastClick.prototype.needsClick=function(a){"use strict";switch(a.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(a.disabled)return!0;break;case"input":if(deviceIsIOS&&"file"===a.type||a.disabled)return!0;break;case"label":case"video":return!0}return/\bneedsclick\b/.test(a.className)},FastClick.prototype.needsFocus=function(a){"use strict";switch(a.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!deviceIsAndroid;case"input":switch(a.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!a.disabled&&!a.readOnly;default:return/\bneedsfocus\b/.test(a.className)}},FastClick.prototype.sendClick=function(a,b){"use strict";var c,d;document.activeElement&&document.activeElement!==a&&document.activeElement.blur(),d=b.changedTouches[0],c=document.createEvent("MouseEvents"),c.initMouseEvent(this.determineEventType(a),!0,!0,window,1,d.screenX,d.screenY,d.clientX,d.clientY,!1,!1,!1,!1,0,null),c.forwardedTouchEvent=!0,a.dispatchEvent(c)},FastClick.prototype.determineEventType=function(a){"use strict";return deviceIsAndroid&&"select"===a.tagName.toLowerCase()?"mousedown":"click"},FastClick.prototype.focus=function(a){"use strict";var b;deviceIsIOS&&a.setSelectionRange&&0!==a.type.indexOf("date")&&"time"!==a.type?(b=a.value.length,a.setSelectionRange(b,b)):a.focus()},FastClick.prototype.updateScrollParent=function(a){"use strict";var b,c;if(b=a.fastClickScrollParent,!b||!b.contains(a)){c=a;do{if(c.scrollHeight>c.offsetHeight){b=c,a.fastClickScrollParent=c;break}c=c.parentElement}while(c)}b&&(b.fastClickLastScrollTop=b.scrollTop)},FastClick.prototype.getTargetElementFromEventTarget=function(a){"use strict";return a.nodeType===Node.TEXT_NODE?a.parentNode:a},FastClick.prototype.onTouchStart=function(a){"use strict";var b,c,d;if(a.targetTouches.length>1)return!0;if(b=this.getTargetElementFromEventTarget(a.target),c=a.targetTouches[0],deviceIsIOS){if(d=window.getSelection(),d.rangeCount&&!d.isCollapsed)return!0;if(!deviceIsIOS4){if(c.identifier===this.lastTouchIdentifier)return a.preventDefault(),!1;this.lastTouchIdentifier=c.identifier,this.updateScrollParent(b)}}return this.trackingClick=!0,this.trackingClickStart=a.timeStamp,this.targetElement=b,this.touchStartX=c.pageX,this.touchStartY=c.pageY,a.timeStamp-this.lastClickTime<this.tapDelay&&a.preventDefault(),!0},FastClick.prototype.touchHasMoved=function(a){"use strict";var b=a.changedTouches[0],c=this.touchBoundary;return Math.abs(b.pageX-this.touchStartX)>c||Math.abs(b.pageY-this.touchStartY)>c?!0:!1},FastClick.prototype.onTouchMove=function(a){"use strict";return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(a.target)||this.touchHasMoved(a))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},FastClick.prototype.findControl=function(a){"use strict";return void 0!==a.control?a.control:a.htmlFor?document.getElementById(a.htmlFor):a.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},FastClick.prototype.onTouchEnd=function(a){"use strict";var b,c,d,e,f,g=this.targetElement;if(!this.trackingClick)return!0;if(a.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(this.cancelNextClick=!1,this.lastClickTime=a.timeStamp,c=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,deviceIsIOSWithBadTarget&&(f=a.changedTouches[0],g=document.elementFromPoint(f.pageX-window.pageXOffset,f.pageY-window.pageYOffset)||g,g.fastClickScrollParent=this.targetElement.fastClickScrollParent),d=g.tagName.toLowerCase(),"label"===d){if(b=this.findControl(g)){if(this.focus(g),deviceIsAndroid)return!1;g=b}}else if(this.needsFocus(g))return a.timeStamp-c>100||deviceIsIOS&&window.top!==window&&"input"===d?(this.targetElement=null,!1):(this.focus(g),this.sendClick(g,a),deviceIsIOS&&"select"===d||(this.targetElement=null,a.preventDefault()),!1);return deviceIsIOS&&!deviceIsIOS4&&(e=g.fastClickScrollParent,e&&e.fastClickLastScrollTop!==e.scrollTop)?!0:(this.needsClick(g)||(a.preventDefault(),this.sendClick(g,a)),!1)},FastClick.prototype.onTouchCancel=function(){"use strict";this.trackingClick=!1,this.targetElement=null},FastClick.prototype.onMouse=function(a){"use strict";return this.targetElement?a.forwardedTouchEvent?!0:a.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(a.stopImmediatePropagation?a.stopImmediatePropagation():a.propagationStopped=!0,a.stopPropagation(),a.preventDefault(),!1):!0:!0},FastClick.prototype.onClick=function(a){"use strict";var b;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===a.target.type&&0===a.detail?!0:(b=this.onMouse(a),b||(this.targetElement=null),b)},FastClick.prototype.destroy=function(){"use strict";var a=this.layer;deviceIsAndroid&&(a.removeEventListener("mouseover",this.onMouse,!0),a.removeEventListener("mousedown",this.onMouse,!0),a.removeEventListener("mouseup",this.onMouse,!0)),a.removeEventListener("click",this.onClick,!0),a.removeEventListener("touchstart",this.onTouchStart,!1),a.removeEventListener("touchmove",this.onTouchMove,!1),a.removeEventListener("touchend",this.onTouchEnd,!1),a.removeEventListener("touchcancel",this.onTouchCancel,!1)},FastClick.notNeeded=function(a){"use strict";var b,c;if("undefined"==typeof window.ontouchstart)return!0;if(c=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!deviceIsAndroid)return!0;if(b=document.querySelector("meta[name=viewport]")){if(-1!==b.content.indexOf("user-scalable=no"))return!0;if(c>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}return"none"===a.style.msTouchAction?!0:!1},FastClick.attach=function(a,b){"use strict";return new FastClick(a,b)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){"use strict";return FastClick}):"undefined"!=typeof module&&module.exports?(module.exports=FastClick.attach,module.exports.FastClick=FastClick):window.FastClick=FastClick;
|
9
|
+
function FastClick(a,b){"use strict";function c(a,b){return function(){return a.apply(b,arguments)}}var d;if(b=b||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=b.touchBoundary||10,this.layer=a,this.tapDelay=b.tapDelay||200,!FastClick.notNeeded(a)){for(var e=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],f=this,g=0,h=e.length;h>g;g++)f[e[g]]=c(f[e[g]],f);deviceIsAndroid&&(a.addEventListener("mouseover",this.onMouse,!0),a.addEventListener("mousedown",this.onMouse,!0),a.addEventListener("mouseup",this.onMouse,!0)),a.addEventListener("click",this.onClick,!0),a.addEventListener("touchstart",this.onTouchStart,!1),a.addEventListener("touchmove",this.onTouchMove,!1),a.addEventListener("touchend",this.onTouchEnd,!1),a.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(a.removeEventListener=function(b,c,d){var e=Node.prototype.removeEventListener;"click"===b?e.call(a,b,c.hijacked||c,d):e.call(a,b,c,d)},a.addEventListener=function(b,c,d){var e=Node.prototype.addEventListener;"click"===b?e.call(a,b,c.hijacked||(c.hijacked=function(a){a.propagationStopped||c(a)}),d):e.call(a,b,c,d)}),"function"==typeof a.onclick&&(d=a.onclick,a.addEventListener("click",function(a){d(a)},!1),a.onclick=null)}}var deviceIsAndroid=navigator.userAgent.indexOf("Android")>0,deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent),deviceIsIOS4=deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent),deviceIsIOSWithBadTarget=deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent),deviceIsBlackBerry10=navigator.userAgent.indexOf("BB10")>0;FastClick.prototype.needsClick=function(a){"use strict";switch(a.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(a.disabled)return!0;break;case"input":if(deviceIsIOS&&"file"===a.type||a.disabled)return!0;break;case"label":case"video":return!0}return/\bneedsclick\b/.test(a.className)},FastClick.prototype.needsFocus=function(a){"use strict";switch(a.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!deviceIsAndroid;case"input":switch(a.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!a.disabled&&!a.readOnly;default:return/\bneedsfocus\b/.test(a.className)}},FastClick.prototype.sendClick=function(a,b){"use strict";var c,d;document.activeElement&&document.activeElement!==a&&document.activeElement.blur(),d=b.changedTouches[0],c=document.createEvent("MouseEvents"),c.initMouseEvent(this.determineEventType(a),!0,!0,window,1,d.screenX,d.screenY,d.clientX,d.clientY,!1,!1,!1,!1,0,null),c.forwardedTouchEvent=!0,a.dispatchEvent(c)},FastClick.prototype.determineEventType=function(a){"use strict";return deviceIsAndroid&&"select"===a.tagName.toLowerCase()?"mousedown":"click"},FastClick.prototype.focus=function(a){"use strict";var b;deviceIsIOS&&a.setSelectionRange&&0!==a.type.indexOf("date")&&"time"!==a.type?(b=a.value.length,a.setSelectionRange(b,b)):a.focus()},FastClick.prototype.updateScrollParent=function(a){"use strict";var b,c;if(b=a.fastClickScrollParent,!b||!b.contains(a)){c=a;do{if(c.scrollHeight>c.offsetHeight){b=c,a.fastClickScrollParent=c;break}c=c.parentElement}while(c)}b&&(b.fastClickLastScrollTop=b.scrollTop)},FastClick.prototype.getTargetElementFromEventTarget=function(a){"use strict";return a.nodeType===Node.TEXT_NODE?a.parentNode:a},FastClick.prototype.onTouchStart=function(a){"use strict";var b,c,d;if(a.targetTouches.length>1)return!0;if(b=this.getTargetElementFromEventTarget(a.target),c=a.targetTouches[0],deviceIsIOS){if(d=window.getSelection(),d.rangeCount&&!d.isCollapsed)return!0;if(!deviceIsIOS4){if(c.identifier&&c.identifier===this.lastTouchIdentifier)return a.preventDefault(),!1;this.lastTouchIdentifier=c.identifier,this.updateScrollParent(b)}}return this.trackingClick=!0,this.trackingClickStart=a.timeStamp,this.targetElement=b,this.touchStartX=c.pageX,this.touchStartY=c.pageY,a.timeStamp-this.lastClickTime<this.tapDelay&&a.preventDefault(),!0},FastClick.prototype.touchHasMoved=function(a){"use strict";var b=a.changedTouches[0],c=this.touchBoundary;return Math.abs(b.pageX-this.touchStartX)>c||Math.abs(b.pageY-this.touchStartY)>c?!0:!1},FastClick.prototype.onTouchMove=function(a){"use strict";return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(a.target)||this.touchHasMoved(a))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},FastClick.prototype.findControl=function(a){"use strict";return void 0!==a.control?a.control:a.htmlFor?document.getElementById(a.htmlFor):a.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},FastClick.prototype.onTouchEnd=function(a){"use strict";var b,c,d,e,f,g=this.targetElement;if(!this.trackingClick)return!0;if(a.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(this.cancelNextClick=!1,this.lastClickTime=a.timeStamp,c=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,deviceIsIOSWithBadTarget&&(f=a.changedTouches[0],g=document.elementFromPoint(f.pageX-window.pageXOffset,f.pageY-window.pageYOffset)||g,g.fastClickScrollParent=this.targetElement.fastClickScrollParent),d=g.tagName.toLowerCase(),"label"===d){if(b=this.findControl(g)){if(this.focus(g),deviceIsAndroid)return!1;g=b}}else if(this.needsFocus(g))return a.timeStamp-c>100||deviceIsIOS&&window.top!==window&&"input"===d?(this.targetElement=null,!1):(this.focus(g),this.sendClick(g,a),deviceIsIOS&&"select"===d||(this.targetElement=null,a.preventDefault()),!1);return deviceIsIOS&&!deviceIsIOS4&&(e=g.fastClickScrollParent,e&&e.fastClickLastScrollTop!==e.scrollTop)?!0:(this.needsClick(g)||(a.preventDefault(),this.sendClick(g,a)),!1)},FastClick.prototype.onTouchCancel=function(){"use strict";this.trackingClick=!1,this.targetElement=null},FastClick.prototype.onMouse=function(a){"use strict";return this.targetElement?a.forwardedTouchEvent?!0:a.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(a.stopImmediatePropagation?a.stopImmediatePropagation():a.propagationStopped=!0,a.stopPropagation(),a.preventDefault(),!1):!0:!0},FastClick.prototype.onClick=function(a){"use strict";var b;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===a.target.type&&0===a.detail?!0:(b=this.onMouse(a),b||(this.targetElement=null),b)},FastClick.prototype.destroy=function(){"use strict";var a=this.layer;deviceIsAndroid&&(a.removeEventListener("mouseover",this.onMouse,!0),a.removeEventListener("mousedown",this.onMouse,!0),a.removeEventListener("mouseup",this.onMouse,!0)),a.removeEventListener("click",this.onClick,!0),a.removeEventListener("touchstart",this.onTouchStart,!1),a.removeEventListener("touchmove",this.onTouchMove,!1),a.removeEventListener("touchend",this.onTouchEnd,!1),a.removeEventListener("touchcancel",this.onTouchCancel,!1)},FastClick.notNeeded=function(a){"use strict";var b,c,d;if("undefined"==typeof window.ontouchstart)return!0;if(c=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!deviceIsAndroid)return!0;if(b=document.querySelector("meta[name=viewport]")){if(-1!==b.content.indexOf("user-scalable=no"))return!0;if(c>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(deviceIsBlackBerry10&&(d=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),d[1]>=10&&d[2]>=3&&(b=document.querySelector("meta[name=viewport]")))){if(-1!==b.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===a.style.msTouchAction?!0:!1},FastClick.attach=function(a,b){"use strict";return new FastClick(a,b)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){"use strict";return FastClick}):"undefined"!=typeof module&&module.exports?(module.exports=FastClick.attach,module.exports.FastClick=FastClick):window.FastClick=FastClick;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
|
-
* Modernizr v2.8.
|
2
|
+
* Modernizr v2.8.3
|
3
3
|
* www.modernizr.com
|
4
4
|
*
|
5
5
|
* Copyright (c) Faruk Ates, Paul Irish, Alex Sexton
|
6
6
|
* Available under the BSD and MIT licenses: www.modernizr.com/license/
|
7
7
|
*/
|
8
|
-
window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){return d(x.join(a+";")+(b||""))}function f(a,b){return typeof a===b}function g(a,b){return!!~(""+a).indexOf(b)}function h(a,b){for(var d in a){var e=a[d];if(!g(e,"-")&&t[e]!==c)return"pfx"==b?e:!0}return!1}function i(a,b,d){for(var e in a){var g=b[a[e]];if(g!==c)return d===!1?a[e]:f(g,"function")?g.bind(d||b):g}return!1}function j(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+z.join(d+" ")+d).split(" ");return f(b,"string")||f(b,"undefined")?h(e,b):(e=(a+" "+A.join(d+" ")+d).split(" "),i(e,b,c))}function k(){o.input=function(c){for(var d=0,e=c.length;e>d;d++)E[c[d]]=!!(c[d]in u);return E.list&&(E.list=!(!b.createElement("datalist")||!a.HTMLDataListElement)),E}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),o.inputtypes=function(a){for(var d,e,f,g=0,h=a.length;h>g;g++)u.setAttribute("type",e=a[g]),d="text"!==u.type,d&&(u.value=v,u.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&u.style.WebkitAppearance!==c?(q.appendChild(u),f=b.defaultView,d=f.getComputedStyle&&"textfield"!==f.getComputedStyle(u,null).WebkitAppearance&&0!==u.offsetHeight,q.removeChild(u)):/^(search|tel)$/.test(e)||(d=/^(url|email)$/.test(e)?u.checkValidity&&u.checkValidity()===!1:u.value!=v)),D[a[g]]=!!d;return D}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var l,m,n="2.8.2",o={},p=!0,q=b.documentElement,r="modernizr",s=b.createElement(r),t=s.style,u=b.createElement("input"),v=":)",w={}.toString,x=" -webkit- -moz- -o- -ms- ".split(" "),y="Webkit Moz O ms",z=y.split(" "),A=y.toLowerCase().split(" "),B={svg:"http://www.w3.org/2000/svg"},C={},D={},E={},F=[],G=F.slice,H=function(a,c,d,e){var f,g,h,i,j=b.createElement("div"),k=b.body,l=k||b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:r+(d+1),j.appendChild(h);return f=["­",'<style id="s',r,'">',a,"</style>"].join(""),j.id=r,(k?j:l).innerHTML+=f,l.appendChild(j),k||(l.style.background="",l.style.overflow="hidden",i=q.style.overflow,q.style.overflow="hidden",q.appendChild(l)),g=c(j,a),k?j.parentNode.removeChild(j):(l.parentNode.removeChild(l),q.style.overflow=i),!!g},I=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return H("@media "+b+" { #"+r+" { position: absolute; } }",function(b){d="absolute"==(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position}),d},J=function(){function a(a,e){e=e||b.createElement(d[a]||"div"),a="on"+a;var g=a in e;return g||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(a,""),g=f(e[a],"function"),f(e[a],"undefined")||(e[a]=c),e.removeAttribute(a))),e=null,g}var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return a}(),K={}.hasOwnProperty;m=f(K,"undefined")||f(K.call,"undefined")?function(a,b){return b in a&&f(a.constructor.prototype[b],"undefined")}:function(a,b){return K.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=G.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(G.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(G.call(arguments)))};return d}),C.flexbox=function(){return j("flexWrap")},C.flexboxlegacy=function(){return j("boxDirection")},C.canvas=function(){var a=b.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))},C.canvastext=function(){return!(!o.canvas||!f(b.createElement("canvas").getContext("2d").fillText,"function"))},C.webgl=function(){return!!a.WebGLRenderingContext},C.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:H(["@media (",x.join("touch-enabled),("),r,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=9===a.offsetTop}),c},C.geolocation=function(){return"geolocation"in navigator},C.postmessage=function(){return!!a.postMessage},C.websqldatabase=function(){return!!a.openDatabase},C.indexedDB=function(){return!!j("indexedDB",a)},C.hashchange=function(){return J("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},C.history=function(){return!(!a.history||!history.pushState)},C.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},C.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},C.rgba=function(){return d("background-color:rgba(150,255,150,.5)"),g(t.backgroundColor,"rgba")},C.hsla=function(){return d("background-color:hsla(120,40%,100%,.5)"),g(t.backgroundColor,"rgba")||g(t.backgroundColor,"hsla")},C.multiplebgs=function(){return d("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(t.background)},C.backgroundsize=function(){return j("backgroundSize")},C.borderimage=function(){return j("borderImage")},C.borderradius=function(){return j("borderRadius")},C.boxshadow=function(){return j("boxShadow")},C.textshadow=function(){return""===b.createElement("div").style.textShadow},C.opacity=function(){return e("opacity:.55"),/^0.55$/.test(t.opacity)},C.cssanimations=function(){return j("animationName")},C.csscolumns=function(){return j("columnCount")},C.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return d((a+"-webkit- ".split(" ").join(b+a)+x.join(c+a)).slice(0,-a.length)),g(t.backgroundImage,"gradient")},C.cssreflections=function(){return j("boxReflect")},C.csstransforms=function(){return!!j("transform")},C.csstransforms3d=function(){var a=!!j("perspective");return a&&"webkitPerspective"in q.style&&H("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b){a=9===b.offsetLeft&&3===b.offsetHeight}),a},C.csstransitions=function(){return j("transition")},C.fontface=function(){var a;return H('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&0===g.indexOf(d.split(" ")[0])}),a},C.generatedcontent=function(){var a;return H(["#",r,"{font:0/0 a}#",r,':after{content:"',v,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},C.video=function(){var a=b.createElement("video"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(d){}return c},C.audio=function(){var a=b.createElement("audio"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(d){}return c},C.localstorage=function(){try{return localStorage.setItem(r,r),localStorage.removeItem(r),!0}catch(a){return!1}},C.sessionstorage=function(){try{return sessionStorage.setItem(r,r),sessionStorage.removeItem(r),!0}catch(a){return!1}},C.webworkers=function(){return!!a.Worker},C.applicationcache=function(){return!!a.applicationCache},C.svg=function(){return!!b.createElementNS&&!!b.createElementNS(B.svg,"svg").createSVGRect},C.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==B.svg},C.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(w.call(b.createElementNS(B.svg,"animate")))},C.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(w.call(b.createElementNS(B.svg,"clipPath")))};for(var L in C)m(C,L)&&(l=L.toLowerCase(),o[l]=C[L](),F.push((o[l]?"":"no-")+l));return o.input||k(),o.addTest=function(a,b){if("object"==typeof a)for(var d in a)m(a,d)&&o.addTest(d,a[d]);else{if(a=a.toLowerCase(),o[a]!==c)return o;b="function"==typeof b?b():b,"undefined"!=typeof p&&p&&(q.className+=" "+(b?"":"no-")+a),o[a]=b}return o},d(""),s=u=null,function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=s.elements;return"string"==typeof a?a.split(" "):a}function e(a){var b=r[a[p]];return b||(b={},q++,a[p]=q,r[q]=b),b}function f(a,c,d){if(c||(c=b),k)return c.createElement(a);d||(d=e(c));var f;return f=d.cache[a]?d.cache[a].cloneNode():o.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!f.canHaveChildren||n.test(a)||f.tagUrn?f:d.frag.appendChild(f)}function g(a,c){if(a||(a=b),k)return a.createDocumentFragment();c=c||e(a);for(var f=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)f.createElement(h[g]);return f}function h(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?f(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function i(a){a||(a=b);var d=e(a);return!s.shivCSS||j||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||h(a,d),a}var j,k,l="3.7.0",m=a.html5||{},n=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,o=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,p="_html5shiv",q=0,r={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",j="hidden"in a,k=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){j=!0,k=!0}}();var s={elements:m.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:l,shivCSS:m.shivCSS!==!1,supportsUnknownElements:k,shivMethods:m.shivMethods!==!1,type:"default",shivDocument:i,createElement:f,createDocumentFragment:g};a.html5=s,i(b)}(this,b),o._version=n,o._prefixes=x,o._domPrefixes=A,o._cssomPrefixes=z,o.mq=I,o.hasEvent=J,o.testProp=function(a){return h([a])},o.testAllProps=j,o.testStyles=H,o.prefixed=function(a,b,c){return b?j(a,b,c):j(a,"pfx")},q.className=q.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(p?" js "+F.join(" "):""),o}(this,this.document);
|
8
|
+
window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){return d(x.join(a+";")+(b||""))}function f(a,b){return typeof a===b}function g(a,b){return!!~(""+a).indexOf(b)}function h(a,b){for(var d in a){var e=a[d];if(!g(e,"-")&&t[e]!==c)return"pfx"==b?e:!0}return!1}function i(a,b,d){for(var e in a){var g=b[a[e]];if(g!==c)return d===!1?a[e]:f(g,"function")?g.bind(d||b):g}return!1}function j(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+z.join(d+" ")+d).split(" ");return f(b,"string")||f(b,"undefined")?h(e,b):(e=(a+" "+A.join(d+" ")+d).split(" "),i(e,b,c))}function k(){o.input=function(c){for(var d=0,e=c.length;e>d;d++)E[c[d]]=!!(c[d]in u);return E.list&&(E.list=!(!b.createElement("datalist")||!a.HTMLDataListElement)),E}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),o.inputtypes=function(a){for(var d,e,f,g=0,h=a.length;h>g;g++)u.setAttribute("type",e=a[g]),d="text"!==u.type,d&&(u.value=v,u.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&u.style.WebkitAppearance!==c?(q.appendChild(u),f=b.defaultView,d=f.getComputedStyle&&"textfield"!==f.getComputedStyle(u,null).WebkitAppearance&&0!==u.offsetHeight,q.removeChild(u)):/^(search|tel)$/.test(e)||(d=/^(url|email)$/.test(e)?u.checkValidity&&u.checkValidity()===!1:u.value!=v)),D[a[g]]=!!d;return D}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var l,m,n="2.8.3",o={},p=!0,q=b.documentElement,r="modernizr",s=b.createElement(r),t=s.style,u=b.createElement("input"),v=":)",w={}.toString,x=" -webkit- -moz- -o- -ms- ".split(" "),y="Webkit Moz O ms",z=y.split(" "),A=y.toLowerCase().split(" "),B={svg:"http://www.w3.org/2000/svg"},C={},D={},E={},F=[],G=F.slice,H=function(a,c,d,e){var f,g,h,i,j=b.createElement("div"),k=b.body,l=k||b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:r+(d+1),j.appendChild(h);return f=["­",'<style id="s',r,'">',a,"</style>"].join(""),j.id=r,(k?j:l).innerHTML+=f,l.appendChild(j),k||(l.style.background="",l.style.overflow="hidden",i=q.style.overflow,q.style.overflow="hidden",q.appendChild(l)),g=c(j,a),k?j.parentNode.removeChild(j):(l.parentNode.removeChild(l),q.style.overflow=i),!!g},I=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return H("@media "+b+" { #"+r+" { position: absolute; } }",function(b){d="absolute"==(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position}),d},J=function(){function a(a,e){e=e||b.createElement(d[a]||"div"),a="on"+a;var g=a in e;return g||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(a,""),g=f(e[a],"function"),f(e[a],"undefined")||(e[a]=c),e.removeAttribute(a))),e=null,g}var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return a}(),K={}.hasOwnProperty;m=f(K,"undefined")||f(K.call,"undefined")?function(a,b){return b in a&&f(a.constructor.prototype[b],"undefined")}:function(a,b){return K.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=G.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(G.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(G.call(arguments)))};return d}),C.flexbox=function(){return j("flexWrap")},C.flexboxlegacy=function(){return j("boxDirection")},C.canvas=function(){var a=b.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))},C.canvastext=function(){return!(!o.canvas||!f(b.createElement("canvas").getContext("2d").fillText,"function"))},C.webgl=function(){return!!a.WebGLRenderingContext},C.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:H(["@media (",x.join("touch-enabled),("),r,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=9===a.offsetTop}),c},C.geolocation=function(){return"geolocation"in navigator},C.postmessage=function(){return!!a.postMessage},C.websqldatabase=function(){return!!a.openDatabase},C.indexedDB=function(){return!!j("indexedDB",a)},C.hashchange=function(){return J("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},C.history=function(){return!(!a.history||!history.pushState)},C.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},C.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},C.rgba=function(){return d("background-color:rgba(150,255,150,.5)"),g(t.backgroundColor,"rgba")},C.hsla=function(){return d("background-color:hsla(120,40%,100%,.5)"),g(t.backgroundColor,"rgba")||g(t.backgroundColor,"hsla")},C.multiplebgs=function(){return d("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(t.background)},C.backgroundsize=function(){return j("backgroundSize")},C.borderimage=function(){return j("borderImage")},C.borderradius=function(){return j("borderRadius")},C.boxshadow=function(){return j("boxShadow")},C.textshadow=function(){return""===b.createElement("div").style.textShadow},C.opacity=function(){return e("opacity:.55"),/^0.55$/.test(t.opacity)},C.cssanimations=function(){return j("animationName")},C.csscolumns=function(){return j("columnCount")},C.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return d((a+"-webkit- ".split(" ").join(b+a)+x.join(c+a)).slice(0,-a.length)),g(t.backgroundImage,"gradient")},C.cssreflections=function(){return j("boxReflect")},C.csstransforms=function(){return!!j("transform")},C.csstransforms3d=function(){var a=!!j("perspective");return a&&"webkitPerspective"in q.style&&H("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b){a=9===b.offsetLeft&&3===b.offsetHeight}),a},C.csstransitions=function(){return j("transition")},C.fontface=function(){var a;return H('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&0===g.indexOf(d.split(" ")[0])}),a},C.generatedcontent=function(){var a;return H(["#",r,"{font:0/0 a}#",r,':after{content:"',v,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},C.video=function(){var a=b.createElement("video"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(d){}return c},C.audio=function(){var a=b.createElement("audio"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(d){}return c},C.localstorage=function(){try{return localStorage.setItem(r,r),localStorage.removeItem(r),!0}catch(a){return!1}},C.sessionstorage=function(){try{return sessionStorage.setItem(r,r),sessionStorage.removeItem(r),!0}catch(a){return!1}},C.webworkers=function(){return!!a.Worker},C.applicationcache=function(){return!!a.applicationCache},C.svg=function(){return!!b.createElementNS&&!!b.createElementNS(B.svg,"svg").createSVGRect},C.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==B.svg},C.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(w.call(b.createElementNS(B.svg,"animate")))},C.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(w.call(b.createElementNS(B.svg,"clipPath")))};for(var L in C)m(C,L)&&(l=L.toLowerCase(),o[l]=C[L](),F.push((o[l]?"":"no-")+l));return o.input||k(),o.addTest=function(a,b){if("object"==typeof a)for(var d in a)m(a,d)&&o.addTest(d,a[d]);else{if(a=a.toLowerCase(),o[a]!==c)return o;b="function"==typeof b?b():b,"undefined"!=typeof p&&p&&(q.className+=" "+(b?"":"no-")+a),o[a]=b}return o},d(""),s=u=null,function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=s.elements;return"string"==typeof a?a.split(" "):a}function e(a){var b=r[a[p]];return b||(b={},q++,a[p]=q,r[q]=b),b}function f(a,c,d){if(c||(c=b),k)return c.createElement(a);d||(d=e(c));var f;return f=d.cache[a]?d.cache[a].cloneNode():o.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!f.canHaveChildren||n.test(a)||f.tagUrn?f:d.frag.appendChild(f)}function g(a,c){if(a||(a=b),k)return a.createDocumentFragment();c=c||e(a);for(var f=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)f.createElement(h[g]);return f}function h(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?f(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function i(a){a||(a=b);var d=e(a);return!s.shivCSS||j||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||h(a,d),a}var j,k,l="3.7.0",m=a.html5||{},n=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,o=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,p="_html5shiv",q=0,r={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",j="hidden"in a,k=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){j=!0,k=!0}}();var s={elements:m.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:l,shivCSS:m.shivCSS!==!1,supportsUnknownElements:k,shivMethods:m.shivMethods!==!1,type:"default",shivDocument:i,createElement:f,createDocumentFragment:g};a.html5=s,i(b)}(this,b),o._version=n,o._prefixes=x,o._domPrefixes=A,o._cssomPrefixes=z,o.mq=I,o.hasEvent=J,o.testProp=function(a){return h([a])},o.testAllProps=j,o.testStyles=H,o.prefixed=function(a,b,c){return b?j(a,b,c):j(a,"pfx")},q.className=q.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(p?" js "+F.join(" "):""),o}(this,this.document);
|
@@ -1,45 +1,45 @@
|
|
1
|
+
@charset "UTF-8";
|
1
2
|
// Foundation by ZURB
|
2
3
|
// foundation.zurb.com
|
3
4
|
// Licensed under MIT Open Source
|
4
5
|
|
5
6
|
// Make sure the charset is set appropriately
|
6
|
-
@charset "UTF-8";
|
7
7
|
|
8
8
|
// Behold, here are all the Foundation components.
|
9
|
-
@import
|
10
|
-
"foundation/components/
|
11
|
-
"foundation/components/
|
12
|
-
"foundation/components/
|
13
|
-
"foundation/components/
|
14
|
-
"foundation/components/
|
15
|
-
"foundation/components/
|
16
|
-
"foundation/components/
|
17
|
-
"foundation/components/
|
18
|
-
"foundation/components/dropdown"
|
19
|
-
"foundation/components/
|
20
|
-
"foundation/components/
|
21
|
-
"foundation/components/
|
22
|
-
"foundation/components/inline-lists"
|
23
|
-
"foundation/components/joyride"
|
24
|
-
"foundation/components/keystrokes"
|
25
|
-
"foundation/components/labels"
|
26
|
-
"foundation/components/magellan"
|
27
|
-
"foundation/components/orbit"
|
28
|
-
"foundation/components/pagination"
|
29
|
-
"foundation/components/panels"
|
30
|
-
"foundation/components/pricing-tables"
|
31
|
-
"foundation/components/progress-bars"
|
32
|
-
"foundation/components/range-slider"
|
33
|
-
"foundation/components/reveal"
|
34
|
-
"foundation/components/side-nav"
|
35
|
-
"foundation/components/split-buttons"
|
36
|
-
"foundation/components/sub-nav"
|
37
|
-
"foundation/components/
|
38
|
-
"foundation/components/tables"
|
39
|
-
"foundation/components/tabs"
|
40
|
-
"foundation/components/thumbs"
|
41
|
-
"foundation/components/tooltips"
|
42
|
-
"foundation/components/top-bar"
|
43
|
-
"foundation/components/type"
|
44
|
-
"foundation/components/offcanvas"
|
45
|
-
"foundation/components/visibility";
|
9
|
+
@import "foundation/components/grid";
|
10
|
+
@import "foundation/components/accordion";
|
11
|
+
@import "foundation/components/alert-boxes";
|
12
|
+
@import "foundation/components/block-grid";
|
13
|
+
@import "foundation/components/breadcrumbs";
|
14
|
+
@import "foundation/components/button-groups";
|
15
|
+
@import "foundation/components/buttons";
|
16
|
+
@import "foundation/components/clearing";
|
17
|
+
@import "foundation/components/dropdown";
|
18
|
+
@import "foundation/components/dropdown-buttons";
|
19
|
+
@import "foundation/components/flex-video";
|
20
|
+
@import "foundation/components/forms";
|
21
|
+
@import "foundation/components/icon-bar";
|
22
|
+
@import "foundation/components/inline-lists";
|
23
|
+
@import "foundation/components/joyride";
|
24
|
+
@import "foundation/components/keystrokes";
|
25
|
+
@import "foundation/components/labels";
|
26
|
+
@import "foundation/components/magellan";
|
27
|
+
@import "foundation/components/orbit";
|
28
|
+
@import "foundation/components/pagination";
|
29
|
+
@import "foundation/components/panels";
|
30
|
+
@import "foundation/components/pricing-tables";
|
31
|
+
@import "foundation/components/progress-bars";
|
32
|
+
@import "foundation/components/range-slider";
|
33
|
+
@import "foundation/components/reveal";
|
34
|
+
@import "foundation/components/side-nav";
|
35
|
+
@import "foundation/components/split-buttons";
|
36
|
+
@import "foundation/components/sub-nav";
|
37
|
+
@import "foundation/components/switches";
|
38
|
+
@import "foundation/components/tables";
|
39
|
+
@import "foundation/components/tabs";
|
40
|
+
@import "foundation/components/thumbs";
|
41
|
+
@import "foundation/components/tooltips";
|
42
|
+
@import "foundation/components/top-bar";
|
43
|
+
@import "foundation/components/type";
|
44
|
+
@import "foundation/components/offcanvas";
|
45
|
+
@import "foundation/components/visibility";
|
@@ -9,8 +9,8 @@ $rem-base: 16px !default;
|
|
9
9
|
// We use this to prevent styles from being loaded multiple times for compenents that rely on other components.
|
10
10
|
$modules: () !default;
|
11
11
|
@mixin exports($name) {
|
12
|
-
@if
|
13
|
-
$modules: append($modules, $name);
|
12
|
+
@if(not index($modules, $name)) {
|
13
|
+
$modules: append($modules, $name) !global;
|
14
14
|
@content;
|
15
15
|
}
|
16
16
|
}
|
@@ -98,4 +98,4 @@ $modules: () !default;
|
|
98
98
|
// Deprecated: We'll drop support for this in 5.1.0, use rem-calc()
|
99
99
|
@function em-calc($values){
|
100
100
|
@return rem-calc($values);
|
101
|
-
}
|
101
|
+
}
|
@@ -3,8 +3,53 @@
|
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
5
|
//
|
6
|
-
|
6
|
+
|
7
|
+
// Table of Contents
|
8
|
+
// Foundation Settings
|
7
9
|
//
|
10
|
+
// a. Base
|
11
|
+
// b. Grid
|
12
|
+
// c. Global
|
13
|
+
// d. Media Query Ranges
|
14
|
+
// e. Typography
|
15
|
+
// 01. Accordion
|
16
|
+
// 02. Alert Boxes
|
17
|
+
// 03. Block Grid
|
18
|
+
// 04. Breadcrumbs
|
19
|
+
// 05. Buttons
|
20
|
+
// 06. Button Groups
|
21
|
+
// 07. Clearing
|
22
|
+
// 08. Dropdown
|
23
|
+
// 09. Dropdown Buttons
|
24
|
+
// 10. Flex Video
|
25
|
+
// 11. Forms
|
26
|
+
// 12. Icon Bar
|
27
|
+
// 13. Inline Lists
|
28
|
+
// 14. Joyride
|
29
|
+
// 15. Keystrokes
|
30
|
+
// 16. Labels
|
31
|
+
// 17. Magellan
|
32
|
+
// 18. Off-canvas
|
33
|
+
// 19. Orbit
|
34
|
+
// 20. Pagination
|
35
|
+
// 21. Panels
|
36
|
+
// 22. Pricing Tables
|
37
|
+
// 23. Progress Bar
|
38
|
+
// 24. Range Slider
|
39
|
+
// 25. Reveal
|
40
|
+
// 26. Side Nav
|
41
|
+
// 27. Split Buttons
|
42
|
+
// 28. Sub Nav
|
43
|
+
// 29. Switch
|
44
|
+
// 30. Tables
|
45
|
+
// 31. Tabs
|
46
|
+
// 32. Thumbnails
|
47
|
+
// 33. Tooltips
|
48
|
+
// 34. Top Bar
|
49
|
+
// 36. Visibility Classes
|
50
|
+
|
51
|
+
// a. Base
|
52
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
8
53
|
|
9
54
|
// This is the default html and body font-size for the base rem value.
|
10
55
|
// $rem-base: 16px;
|
@@ -12,8 +57,6 @@
|
|
12
57
|
// Allows the use of rem-calc() or lower-bound() in your settings
|
13
58
|
@import "foundation/functions";
|
14
59
|
|
15
|
-
// $experimental: true;
|
16
|
-
|
17
60
|
// The default font-size is set to 100% of the browser style sheet (usually 16px)
|
18
61
|
// for compatibility with browser-based text zoom or user-set defaults.
|
19
62
|
|
@@ -26,23 +69,58 @@
|
|
26
69
|
// $base-line-height: 150%;
|
27
70
|
|
28
71
|
// We use this to control whether or not CSS classes come through in the gem files.
|
29
|
-
|
72
|
+
$include-html-classes: true;
|
30
73
|
// $include-print-styles: true;
|
31
|
-
|
74
|
+
$include-html-global-classes: $include-html-classes;
|
32
75
|
|
33
|
-
// Grid
|
76
|
+
// b. Grid
|
77
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
34
78
|
|
35
79
|
// $include-html-grid-classes: $include-html-classes;
|
36
80
|
// $include-xl-html-grid-classes: false;
|
37
81
|
|
38
82
|
// $row-width: rem-calc(1000);
|
39
83
|
// $total-columns: 12;
|
84
|
+
// $column-gutter: rem-calc(30);
|
85
|
+
|
86
|
+
// c. Global
|
87
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
88
|
+
|
89
|
+
// We use these to define default font weights
|
90
|
+
// $font-weight-normal: normal !default;
|
91
|
+
// $font-weight-bold: bold !default;
|
92
|
+
|
93
|
+
// We use these as default colors throughout
|
94
|
+
// $primary-color: #008CBA;
|
95
|
+
// $secondary-color: #e7e7e7;
|
96
|
+
// $alert-color: #f04124;
|
97
|
+
// $success-color: #43AC6A;
|
98
|
+
// $warning-color: #f08a24;
|
99
|
+
// $info-color: #a0d3e8;
|
40
100
|
|
41
|
-
//
|
101
|
+
// $white : #FFFFFF;
|
102
|
+
// $ghost : #FAFAFA;
|
103
|
+
// $snow : #F9F9F9;
|
104
|
+
// $vapor : #F6F6F6;
|
105
|
+
// $white-smoke : #F5F5F5;
|
106
|
+
// $silver : #EFEFEF;
|
107
|
+
// $smoke : #EEEEEE;
|
108
|
+
// $gainsboro : #DDDDDD;
|
109
|
+
// $iron : #CCCCCC;
|
110
|
+
// $base : #AAAAAA;
|
111
|
+
// $aluminum : #999999;
|
112
|
+
// $jumbo : #888888;
|
113
|
+
// $monsoon : #777777;
|
114
|
+
// $steel : #666666;
|
115
|
+
// $charcoal : #555555;
|
116
|
+
// $tuatara : #444444;
|
117
|
+
// $oil : #333333;
|
118
|
+
// $jet : #222222;
|
119
|
+
// $black : #000000;
|
42
120
|
|
43
121
|
// We use these to control various global styles
|
44
|
-
// $body-bg:
|
45
|
-
// $body-font-color:
|
122
|
+
// $body-bg: $white;
|
123
|
+
// $body-font-color: $jet;
|
46
124
|
// $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
|
47
125
|
// $body-font-weight: $font-weight-normal;
|
48
126
|
// $body-font-style: normal;
|
@@ -54,14 +132,7 @@
|
|
54
132
|
// $text-direction: ltr;
|
55
133
|
// $opposite-direction: right;
|
56
134
|
// $default-float: left;
|
57
|
-
|
58
|
-
// We use these as default colors throughout
|
59
|
-
// $primary-color: #008CBA;
|
60
|
-
// $secondary-color: #e7e7e7;
|
61
|
-
// $alert-color: #f04124;
|
62
|
-
// $success-color: #43AC6A;
|
63
|
-
// $warning-color: #f08a24;
|
64
|
-
// $info-color: #a0d3e8;
|
135
|
+
// $last-child-float: $opposite-direction;
|
65
136
|
|
66
137
|
// We use these to make sure border radius matches unless we want it different.
|
67
138
|
// $global-radius: 3px;
|
@@ -69,12 +140,12 @@
|
|
69
140
|
|
70
141
|
// We use these to control inset shadow shiny edges and depressions.
|
71
142
|
// $shiny-edge-size: 0 1px 0;
|
72
|
-
// $shiny-edge-color: rgba(
|
73
|
-
// $shiny-edge-active-color: rgba(
|
143
|
+
// $shiny-edge-color: rgba($white, .5);
|
144
|
+
// $shiny-edge-active-color: rgba($black, .2);
|
74
145
|
|
75
|
-
//
|
146
|
+
// d. Media Query Ranges
|
147
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
76
148
|
|
77
|
-
// Media Query Ranges
|
78
149
|
// $small-range: (0em, 40em);
|
79
150
|
// $medium-range: (40.063em, 64em);
|
80
151
|
// $large-range: (64.063em, 90em);
|
@@ -106,16 +177,15 @@
|
|
106
177
|
// $medium: $medium-up;
|
107
178
|
// $large: $large-up;
|
108
179
|
|
109
|
-
//We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
|
180
|
+
// We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
|
110
181
|
// $cursor-crosshair-value: crosshair;
|
111
182
|
// $cursor-default-value: default;
|
112
183
|
// $cursor-pointer-value: pointer;
|
113
184
|
// $cursor-help-value: help;
|
114
185
|
// $cursor-text-value: text;
|
115
186
|
|
116
|
-
//
|
117
|
-
//
|
118
|
-
//
|
187
|
+
// e. Typography
|
188
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
119
189
|
|
120
190
|
// $include-html-type-classes: $include-html-classes;
|
121
191
|
|
@@ -123,7 +193,7 @@
|
|
123
193
|
// $header-font-family: $body-font-family;
|
124
194
|
// $header-font-weight: $font-weight-normal;
|
125
195
|
// $header-font-style: normal;
|
126
|
-
// $header-font-color:
|
196
|
+
// $header-font-color: $jet;
|
127
197
|
// $header-line-height: 1.4;
|
128
198
|
// $header-top-margin: .2rem;
|
129
199
|
// $header-bottom-margin: .5rem;
|
@@ -137,6 +207,14 @@
|
|
137
207
|
// $h5-font-size: rem-calc(18);
|
138
208
|
// $h6-font-size: 1rem;
|
139
209
|
|
210
|
+
// We use these to control header size reduction on small screens
|
211
|
+
// $h1-font-reduction: rem-calc(10) !default;
|
212
|
+
// $h2-font-reduction: rem-calc(10) !default;
|
213
|
+
// $h3-font-reduction: rem-calc(5) !default;
|
214
|
+
// $h4-font-reduction: rem-calc(5) !default;
|
215
|
+
// $h5-font-reduction: 0 !default;
|
216
|
+
// $h6-font-reduction: 0 !default;
|
217
|
+
|
140
218
|
// These control how subheaders are styled.
|
141
219
|
// $subheader-line-height: 1.4;
|
142
220
|
// $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
|
@@ -160,9 +238,14 @@
|
|
160
238
|
// $paragraph-text-rendering: optimizeLegibility;
|
161
239
|
|
162
240
|
// We use these to style <code> tags
|
163
|
-
// $code-color:
|
241
|
+
// $code-color: $oil;
|
164
242
|
// $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
|
165
|
-
// $code-font-weight: $font-weight-
|
243
|
+
// $code-font-weight: $font-weight-normal;
|
244
|
+
// $code-background-color: scale-color($secondary-color, $lightness: 70%);
|
245
|
+
// $code-border-size: 1px;
|
246
|
+
// $code-border-style: solid;
|
247
|
+
// $code-border-color: scale-color($code-background-color, $lightness: -10%);
|
248
|
+
// $code-padding: rem-calc(2) rem-calc(5) rem-calc(1);
|
166
249
|
|
167
250
|
// We use these to style anchors
|
168
251
|
// $anchor-text-decoration: none;
|
@@ -173,7 +256,7 @@
|
|
173
256
|
// We use these to style the <hr> element
|
174
257
|
// $hr-border-width: 1px;
|
175
258
|
// $hr-border-style: solid;
|
176
|
-
// $hr-border-color:
|
259
|
+
// $hr-border-color: $gainsboro;
|
177
260
|
// $hr-margin: rem-calc(20);
|
178
261
|
|
179
262
|
// We use these to style lists
|
@@ -193,13 +276,13 @@
|
|
193
276
|
// We use these to style blockquotes
|
194
277
|
// $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
|
195
278
|
// $blockquote-padding: rem-calc(9 20 0 19);
|
196
|
-
// $blockquote-border: 1px solid
|
279
|
+
// $blockquote-border: 1px solid $gainsboro;
|
197
280
|
// $blockquote-cite-font-size: rem-calc(13);
|
198
281
|
// $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
|
199
282
|
// $blockquote-cite-link-color: $blockquote-cite-font-color;
|
200
283
|
|
201
284
|
// Acronym styles
|
202
|
-
// $acronym-underline: 1px dotted
|
285
|
+
// $acronym-underline: 1px dotted $gainsboro;
|
203
286
|
|
204
287
|
// We use these to control padding and margin
|
205
288
|
// $microformat-padding: rem-calc(10 12);
|
@@ -208,7 +291,7 @@
|
|
208
291
|
// We use these to control the border styles
|
209
292
|
// $microformat-border-width: 1px;
|
210
293
|
// $microformat-border-style: solid;
|
211
|
-
// $microformat-border-color:
|
294
|
+
// $microformat-border-color: $gainsboro;
|
212
295
|
|
213
296
|
// We use these to control full name font styles
|
214
297
|
// $microformat-fullname-font-weight: $font-weight-bold;
|
@@ -224,22 +307,24 @@
|
|
224
307
|
// $microformat-abbr-font-weight: $font-weight-bold;
|
225
308
|
// $microformat-abbr-font-decoration: none;
|
226
309
|
|
227
|
-
// Accordion
|
310
|
+
// 01. Accordion
|
311
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
228
312
|
|
229
313
|
// $include-html-accordion-classes: $include-html-classes;
|
230
314
|
|
231
315
|
// $accordion-navigation-padding: rem-calc(16);
|
232
|
-
// $accordion-navigation-bg-color:
|
316
|
+
// $accordion-navigation-bg-color: $silver ;
|
233
317
|
// $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
|
234
318
|
// $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
|
235
|
-
// $accordion-navigation-font-color:
|
319
|
+
// $accordion-navigation-font-color: $jet;
|
236
320
|
// $accordion-navigation-font-size: rem-calc(16);
|
237
321
|
// $accordion-navigation-font-family: $body-font-family;
|
238
322
|
|
239
323
|
// $accordion-content-padding: $column-gutter/2;
|
240
|
-
// $accordion-content-active-bg-color:
|
324
|
+
// $accordion-content-active-bg-color: $white;
|
241
325
|
|
242
|
-
// Alert Boxes
|
326
|
+
// 02. Alert Boxes
|
327
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
243
328
|
|
244
329
|
// $include-html-alert-classes: $include-html-classes;
|
245
330
|
|
@@ -252,7 +337,7 @@
|
|
252
337
|
// We use these to control text style.
|
253
338
|
// $alert-font-weight: $font-weight-normal;
|
254
339
|
// $alert-font-size: rem-calc(13);
|
255
|
-
// $alert-font-color:
|
340
|
+
// $alert-font-color: $white;
|
256
341
|
// $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
|
257
342
|
|
258
343
|
// We use this for close hover effect.
|
@@ -265,7 +350,7 @@
|
|
265
350
|
// $alert-bottom-margin: rem-calc(20);
|
266
351
|
|
267
352
|
// We use these to style the close buttons
|
268
|
-
// $alert-close-color:
|
353
|
+
// $alert-close-color: $oil;
|
269
354
|
// $alert-close-top: 50%;
|
270
355
|
// $alert-close-position: rem-calc(4);
|
271
356
|
// $alert-close-font-size: rem-calc(22);
|
@@ -280,9 +365,10 @@
|
|
280
365
|
// $alert-transition-speed: 300ms;
|
281
366
|
// $alert-transition-ease: ease-out;
|
282
367
|
|
283
|
-
// Block Grid
|
368
|
+
// 03. Block Grid
|
369
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
284
370
|
|
285
|
-
// $include-html-grid-classes: $include-html-classes;
|
371
|
+
// $include-html-block-grid-classes: $include-html-classes;
|
286
372
|
// $include-xl-html-block-grid-classes: false;
|
287
373
|
|
288
374
|
// We use this to control the maximum number of block grid elements per row
|
@@ -290,11 +376,11 @@
|
|
290
376
|
// $block-grid-default-spacing: rem-calc(20);
|
291
377
|
// $align-block-grid-to-grid: false;
|
292
378
|
|
293
|
-
|
294
379
|
// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
|
295
380
|
// $block-grid-media-queries: true;
|
296
381
|
|
297
|
-
// Breadcrumbs
|
382
|
+
// 04. Breadcrumbs
|
383
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
298
384
|
|
299
385
|
// $include-html-nav-classes: $include-html-classes;
|
300
386
|
|
@@ -315,18 +401,17 @@
|
|
315
401
|
// We use these to set various text styles for breadcrumbs.
|
316
402
|
// $crumb-font-size: rem-calc(11);
|
317
403
|
// $crumb-font-color: $primary-color;
|
318
|
-
// $crumb-font-color-current:
|
319
|
-
// $crumb-font-color-unavailable:
|
404
|
+
// $crumb-font-color-current: $oil;
|
405
|
+
// $crumb-font-color-unavailable: $aluminum;
|
320
406
|
// $crumb-font-transform: uppercase;
|
321
407
|
// $crumb-link-decor: underline;
|
322
408
|
|
323
409
|
// We use these to control the slash between breadcrumbs
|
324
|
-
// $crumb-slash-color:
|
410
|
+
// $crumb-slash-color: $base;
|
325
411
|
// $crumb-slash: "/";
|
326
412
|
|
327
|
-
//
|
328
|
-
//
|
329
|
-
//
|
413
|
+
// 05. Buttons
|
414
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
330
415
|
|
331
416
|
// $include-html-button-classes: $include-html-classes;
|
332
417
|
|
@@ -342,8 +427,8 @@
|
|
342
427
|
|
343
428
|
// We use these to control button text styles.
|
344
429
|
// $button-font-family: $body-font-family;
|
345
|
-
// $button-font-color:
|
346
|
-
// $button-font-color-alt:
|
430
|
+
// $button-font-color: $white;
|
431
|
+
// $button-font-color-alt: $oil;
|
347
432
|
// $button-font-tny: rem-calc(11);
|
348
433
|
// $button-font-sml: rem-calc(13);
|
349
434
|
// $button-font-med: rem-calc(16);
|
@@ -354,20 +439,29 @@
|
|
354
439
|
// We use these to control various hover effects.
|
355
440
|
// $button-function-factor: -20%;
|
356
441
|
|
357
|
-
// We use these to control button border styles.
|
442
|
+
// We use these to control button border and hover styles.
|
358
443
|
// $button-border-width: 0px;
|
359
444
|
// $button-border-style: solid;
|
360
|
-
// $button-bg: $primary-color;
|
361
|
-
// $button-
|
445
|
+
// $button-bg-color: $primary-color;
|
446
|
+
// $button-bg-hover: scale-color($button-bg-color, $lightness: $button-function-factor);
|
447
|
+
// $button-border-color: $button-bg-hover;
|
448
|
+
// $secondary-button-bg-hover: scale-color($secondary-color, $lightness: $button-function-factor);
|
449
|
+
// $secondary-button-border-color: $secondary-button-bg-hover;
|
450
|
+
// $success-button-bg-hover: scale-color($success-color, $lightness: $button-function-factor);
|
451
|
+
// $success-button-border-color: $success-button-bg-hover;
|
452
|
+
// $alert-button-bg-hover: scale-color($alert-color, $lightness: $button-function-factor);
|
453
|
+
// $alert-button-border-color: $alert-button-bg-hover;
|
362
454
|
|
363
455
|
// We use this to set the default radius used throughout the core.
|
364
456
|
// $button-radius: $global-radius;
|
365
457
|
// $button-round: $global-rounded;
|
366
458
|
|
367
|
-
// We use this to set default opacity for disabled buttons.
|
459
|
+
// We use this to set default opacity and cursor for disabled buttons.
|
368
460
|
// $button-disabled-opacity: 0.7;
|
461
|
+
// $button-disabled-cursor: $cursor-default-value;
|
369
462
|
|
370
|
-
// Button Groups
|
463
|
+
// 06. Button Groups
|
464
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
371
465
|
|
372
466
|
// $include-html-button-classes: $include-html-classes;
|
373
467
|
|
@@ -375,18 +469,19 @@
|
|
375
469
|
// $button-bar-margin-opposite: rem-calc(10);
|
376
470
|
// $button-group-border-width: 1px;
|
377
471
|
|
378
|
-
// Clearing
|
472
|
+
// 07. Clearing
|
473
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
379
474
|
|
380
475
|
// $include-html-clearing-classes: $include-html-classes;
|
381
476
|
|
382
477
|
// We use these to set the background colors for parts of Clearing.
|
383
|
-
// $clearing-bg:
|
478
|
+
// $clearing-bg: $oil;
|
384
479
|
// $clearing-caption-bg: $clearing-bg;
|
385
480
|
// $clearing-carousel-bg: rgba(51,51,51,0.8);
|
386
481
|
// $clearing-img-bg: $clearing-bg;
|
387
482
|
|
388
483
|
// We use these to style the close button
|
389
|
-
// $clearing-close-color:
|
484
|
+
// $clearing-close-color: $iron;
|
390
485
|
// $clearing-close-size: 30px;
|
391
486
|
|
392
487
|
// We use these to style the arrows
|
@@ -394,7 +489,7 @@
|
|
394
489
|
// $clearing-arrow-color: $clearing-close-color;
|
395
490
|
|
396
491
|
// We use these to style captions
|
397
|
-
// $clearing-caption-font-color:
|
492
|
+
// $clearing-caption-font-color: $iron;
|
398
493
|
// $clearing-caption-font-size: 0.875em;
|
399
494
|
// $clearing-caption-padding: 10px 30px 20px;
|
400
495
|
|
@@ -404,7 +499,8 @@
|
|
404
499
|
// $clearing-carousel-thumb-width: 120px;
|
405
500
|
// $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255);
|
406
501
|
|
407
|
-
// Dropdown
|
502
|
+
// 08. Dropdown
|
503
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
408
504
|
|
409
505
|
// $include-html-dropdown-classes: $include-html-classes;
|
410
506
|
|
@@ -426,37 +522,42 @@
|
|
426
522
|
// $f-dropdown-margin-bottom: $f-dropdown-margin-top;
|
427
523
|
|
428
524
|
// We use this to control the background color
|
429
|
-
// $f-dropdown-bg:
|
525
|
+
// $f-dropdown-bg: $white;
|
430
526
|
|
431
527
|
// We use this to set the border styles for dropdowns.
|
432
528
|
// $f-dropdown-border-style: solid;
|
433
529
|
// $f-dropdown-border-width: 1px;
|
434
|
-
// $f-dropdown-border-color: scale-color(
|
530
|
+
// $f-dropdown-border-color: scale-color($white, $lightness: -20%);
|
435
531
|
|
436
532
|
// We use these to style the triangle pip.
|
437
533
|
// $f-dropdown-triangle-size: 6px;
|
438
|
-
// $f-dropdown-triangle-color:
|
534
|
+
// $f-dropdown-triangle-color: $white;
|
439
535
|
// $f-dropdown-triangle-side-offset: 10px;
|
440
536
|
|
441
537
|
// We use these to control styles for the list elements.
|
442
538
|
// $f-dropdown-list-style: none;
|
443
|
-
// $f-dropdown-font-color:
|
539
|
+
// $f-dropdown-font-color: $charcoal;
|
444
540
|
// $f-dropdown-font-size: rem-calc(14);
|
445
541
|
// $f-dropdown-list-padding: rem-calc(5, 10);
|
446
542
|
// $f-dropdown-line-height: rem-calc(18);
|
447
|
-
// $f-dropdown-list-hover-bg:
|
543
|
+
// $f-dropdown-list-hover-bg: $smoke ;
|
448
544
|
// $dropdown-mobile-default-float: 0;
|
449
545
|
|
450
546
|
// We use this to control the styles for when the dropdown has custom content.
|
451
547
|
// $f-dropdown-content-padding: rem-calc(20);
|
452
548
|
|
453
|
-
//
|
549
|
+
// Default radius for dropdown.
|
550
|
+
// $f-dropdown-radius: $global-radius;
|
551
|
+
|
552
|
+
|
553
|
+
// 09. Dropdown Buttons
|
554
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
454
555
|
|
455
556
|
// $include-html-button-classes: $include-html-classes;
|
456
557
|
|
457
558
|
// We use these to set the color of the pip in dropdown buttons
|
458
|
-
// $dropdown-button-pip-color:
|
459
|
-
// $dropdown-button-pip-color-alt:
|
559
|
+
// $dropdown-button-pip-color: $white;
|
560
|
+
// $dropdown-button-pip-color-alt: $oil;
|
460
561
|
|
461
562
|
// $button-pip-tny: rem-calc(6);
|
462
563
|
// $button-pip-sml: rem-calc(7);
|
@@ -487,7 +588,8 @@
|
|
487
588
|
// $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5;
|
488
589
|
// $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3);
|
489
590
|
|
490
|
-
// Flex Video
|
591
|
+
// 10. Flex Video
|
592
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
491
593
|
|
492
594
|
// $include-html-media-classes: $include-html-classes;
|
493
595
|
|
@@ -499,7 +601,8 @@
|
|
499
601
|
// We use this to control widescreen bottom padding
|
500
602
|
// $flex-video-widescreen-padding-bottom: 56.34%;
|
501
603
|
|
502
|
-
// Forms
|
604
|
+
// 11. Forms
|
605
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
503
606
|
|
504
607
|
// $include-html-form-classes: $include-html-classes;
|
505
608
|
|
@@ -511,43 +614,46 @@
|
|
511
614
|
// $form-label-font-size: rem-calc(14);
|
512
615
|
// $form-label-font-weight: $font-weight-normal;
|
513
616
|
// $form-label-line-height: 1.5;
|
514
|
-
// $form-label-font-color: scale-color(
|
617
|
+
// $form-label-font-color: scale-color($black, $lightness: 30%);
|
515
618
|
// $form-label-small-transform: capitalize;
|
516
619
|
// $form-label-bottom-margin: 0;
|
517
620
|
// $input-font-family: inherit;
|
518
621
|
// $input-font-color: rgba(0,0,0,0.75);
|
519
622
|
// $input-font-size: rem-calc(14);
|
520
|
-
// $input-bg-color:
|
521
|
-
// $input-focus-bg-color: scale-color(
|
522
|
-
// $input-border-color: scale-color(
|
523
|
-
// $input-focus-border-color: scale-color(
|
623
|
+
// $input-bg-color: $white;
|
624
|
+
// $input-focus-bg-color: scale-color($white, $lightness: -2%);
|
625
|
+
// $input-border-color: scale-color($white, $lightness: -20%);
|
626
|
+
// $input-focus-border-color: scale-color($white, $lightness: -40%);
|
524
627
|
// $input-border-style: solid;
|
525
628
|
// $input-border-width: 1px;
|
526
629
|
// $input-border-radius: $global-radius;
|
527
|
-
// $input-disabled-bg:
|
630
|
+
// $input-disabled-bg: $gainsboro;
|
631
|
+
// $input-disabled-cursor: $cursor-default-value;
|
528
632
|
// $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
|
529
|
-
// $input-include-glowing-effect: true;
|
530
633
|
|
531
634
|
// We use these to style the fieldset border and spacing.
|
532
635
|
// $fieldset-border-style: solid;
|
533
636
|
// $fieldset-border-width: 1px;
|
534
|
-
// $fieldset-border-color:
|
637
|
+
// $fieldset-border-color: $gainsboro;
|
535
638
|
// $fieldset-padding: rem-calc(20);
|
536
639
|
// $fieldset-margin: rem-calc(18 0);
|
537
640
|
|
538
641
|
// We use these to style the legends when you use them
|
539
|
-
// $legend-bg:
|
642
|
+
// $legend-bg: $white;
|
540
643
|
// $legend-font-weight: $font-weight-bold;
|
541
644
|
// $legend-padding: rem-calc(0 3);
|
542
645
|
|
543
646
|
// We use these to style the prefix and postfix input elements
|
544
|
-
// $input-prefix-bg: scale-color(
|
545
|
-
// $input-prefix-border-color: scale-color(
|
647
|
+
// $input-prefix-bg: scale-color($white, $lightness: -5%);
|
648
|
+
// $input-prefix-border-color: scale-color($white, $lightness: -20%);
|
546
649
|
// $input-prefix-border-size: 1px;
|
547
650
|
// $input-prefix-border-type: solid;
|
548
651
|
// $input-prefix-overflow: hidden;
|
549
|
-
// $input-prefix-font-color:
|
550
|
-
// $input-prefix-font-color-alt:
|
652
|
+
// $input-prefix-font-color: $oil;
|
653
|
+
// $input-prefix-font-color-alt: $white;
|
654
|
+
|
655
|
+
// We use this setting to turn on/off HTML5 number spinners (the up/down arrows)
|
656
|
+
// $input-number-spinners: true;
|
551
657
|
|
552
658
|
// We use these to style the error states for inputs and labels
|
553
659
|
// $input-error-message-padding: rem-calc(6 9 9);
|
@@ -555,18 +661,36 @@
|
|
555
661
|
// $input-error-message-font-size: rem-calc(12);
|
556
662
|
// $input-error-message-font-weight: $font-weight-normal;
|
557
663
|
// $input-error-message-font-style: italic;
|
558
|
-
// $input-error-message-font-color:
|
559
|
-
// $input-error-message-font-color-alt:
|
664
|
+
// $input-error-message-font-color: $white;
|
665
|
+
// $input-error-message-font-color-alt: $oil;
|
560
666
|
|
561
667
|
// We use this to style the glowing effect of inputs when focused
|
668
|
+
// $input-include-glowing-effect: true;
|
562
669
|
// $glowing-effect-fade-time: 0.45s;
|
563
670
|
// $glowing-effect-color: $input-focus-border-color;
|
564
671
|
|
565
672
|
// Select variables
|
566
|
-
// $select-bg-color:
|
673
|
+
// $select-bg-color: $ghost;
|
567
674
|
// $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%);
|
568
675
|
|
569
|
-
//
|
676
|
+
// 12. Icon Bar
|
677
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
678
|
+
|
679
|
+
// We use these to style the icon-bar and items
|
680
|
+
// $include-html-icon-bar-classes: $include-html-classes;
|
681
|
+
// $icon-bar-bg: $oil;
|
682
|
+
// $icon-bar-font-color: $white;
|
683
|
+
// $icon-bar-font-size: 1rem;
|
684
|
+
// $icon-bar-hover-color: $primary-color;
|
685
|
+
// $icon-bar-icon-color: $white;
|
686
|
+
// $icon-bar-icon-size: 1.875rem;
|
687
|
+
// $icon-bar-image-width: 1.875rem;
|
688
|
+
// $icon-bar-image-height: 1.875rem;
|
689
|
+
// $icon-bar-active-color: $primary-color;
|
690
|
+
// $icon-bar-item-padding: 1.25rem;
|
691
|
+
|
692
|
+
// 13. Inline Lists
|
693
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
570
694
|
|
571
695
|
// $include-html-inline-list-classes: $include-html-classes;
|
572
696
|
|
@@ -585,23 +709,24 @@
|
|
585
709
|
// We use this to control the list items
|
586
710
|
// $inline-list-display: block;
|
587
711
|
|
588
|
-
// We use this to control any
|
712
|
+
// We use this to control any elements within list items
|
589
713
|
// $inline-list-children-display: block;
|
590
714
|
|
591
|
-
// Joyride
|
715
|
+
// 14. Joyride
|
716
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
592
717
|
|
593
718
|
// $include-html-joyride-classes: $include-html-classes;
|
594
719
|
|
595
720
|
// Controlling default Joyride styles
|
596
|
-
// $joyride-tip-bg:
|
721
|
+
// $joyride-tip-bg: $oil;
|
597
722
|
// $joyride-tip-default-width: 300px;
|
598
723
|
// $joyride-tip-padding: rem-calc(18 20 24);
|
599
|
-
// $joyride-tip-border: solid 1px
|
724
|
+
// $joyride-tip-border: solid 1px $charcoal;
|
600
725
|
// $joyride-tip-radius: 4px;
|
601
726
|
// $joyride-tip-position-offset: 22px;
|
602
727
|
|
603
|
-
// Here, we're setting the tip
|
604
|
-
// $joyride-tip-font-color:
|
728
|
+
// Here, we're setting the tip font styles
|
729
|
+
// $joyride-tip-font-color: $white;
|
605
730
|
// $joyride-tip-font-size: rem-calc(14);
|
606
731
|
// $joyride-tip-header-weight: $font-weight-bold;
|
607
732
|
|
@@ -611,38 +736,40 @@
|
|
611
736
|
// This adjusts the styles for the timer when its enabled
|
612
737
|
// $joyride-tip-timer-width: 50px;
|
613
738
|
// $joyride-tip-timer-height: 3px;
|
614
|
-
// $joyride-tip-timer-color:
|
739
|
+
// $joyride-tip-timer-color: $steel;
|
615
740
|
|
616
741
|
// This changes up the styles for the close button
|
617
|
-
// $joyride-tip-close-color:
|
742
|
+
// $joyride-tip-close-color: $monsoon;
|
618
743
|
// $joyride-tip-close-size: 24px;
|
619
744
|
// $joyride-tip-close-weight: $font-weight-normal;
|
620
745
|
|
621
746
|
// When Joyride is filling the screen, we use this style for the bg
|
622
747
|
// $joyride-screenfill: rgba(0,0,0,0.5);
|
623
748
|
|
624
|
-
// Keystrokes
|
749
|
+
// 15. Keystrokes
|
750
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
625
751
|
|
626
752
|
// $include-html-keystroke-classes: $include-html-classes;
|
627
753
|
|
628
754
|
// We use these to control text styles.
|
629
755
|
// $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
|
630
756
|
// $keystroke-font-size: inherit;
|
631
|
-
// $keystroke-font-color:
|
632
|
-
// $keystroke-font-color-alt:
|
757
|
+
// $keystroke-font-color: $jet;
|
758
|
+
// $keystroke-font-color-alt: $white;
|
633
759
|
// $keystroke-function-factor: -7%;
|
634
760
|
|
635
761
|
// We use this to control keystroke padding.
|
636
762
|
// $keystroke-padding: rem-calc(2 4 0);
|
637
763
|
|
638
764
|
// We use these to control background and border styles.
|
639
|
-
// $keystroke-bg: scale-color(
|
765
|
+
// $keystroke-bg: scale-color($white, $lightness: $keystroke-function-factor);
|
640
766
|
// $keystroke-border-style: solid;
|
641
767
|
// $keystroke-border-width: 1px;
|
642
768
|
// $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
|
643
769
|
// $keystroke-radius: $global-radius;
|
644
770
|
|
645
|
-
// Labels
|
771
|
+
// 16. Labels
|
772
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
646
773
|
|
647
774
|
// $include-html-label-classes: $include-html-classes;
|
648
775
|
|
@@ -653,25 +780,28 @@
|
|
653
780
|
// We use these to style the label text
|
654
781
|
// $label-font-sizing: rem-calc(11);
|
655
782
|
// $label-font-weight: $font-weight-normal;
|
656
|
-
// $label-font-color:
|
657
|
-
// $label-font-color-alt:
|
783
|
+
// $label-font-color: $oil;
|
784
|
+
// $label-font-color-alt: $white;
|
658
785
|
// $label-font-family: $body-font-family;
|
659
786
|
|
660
|
-
// Magellan
|
787
|
+
// 17. Magellan
|
788
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
661
789
|
|
662
790
|
// $include-html-magellan-classes: $include-html-classes;
|
663
791
|
|
664
|
-
// $magellan-bg:
|
665
|
-
// $magellan-padding:
|
792
|
+
// $magellan-bg: $white;
|
793
|
+
// $magellan-padding: 0 !important;
|
666
794
|
|
667
|
-
// Off-canvas
|
795
|
+
// 18. Off-canvas
|
796
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
668
797
|
|
669
798
|
// $include-html-off-canvas-classes: $include-html-classes;
|
670
799
|
|
671
|
-
// $tabbar-bg:
|
800
|
+
// $tabbar-bg: $oil;
|
672
801
|
// $tabbar-height: rem-calc(45);
|
802
|
+
// $tabbar-icon-width: $tabbar-height;
|
673
803
|
// $tabbar-line-height: $tabbar-height;
|
674
|
-
// $tabbar-color:
|
804
|
+
// $tabbar-color: $white;
|
675
805
|
// $tabbar-middle-padding: 0 rem-calc(10);
|
676
806
|
|
677
807
|
// Off Canvas Divider Styles
|
@@ -679,62 +809,70 @@
|
|
679
809
|
// $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
|
680
810
|
|
681
811
|
// Off Canvas Tab Bar Headers
|
682
|
-
// $tabbar-header-color:
|
812
|
+
// $tabbar-header-color: $white;
|
683
813
|
// $tabbar-header-weight: $font-weight-bold;
|
684
814
|
// $tabbar-header-line-height: $tabbar-height;
|
685
815
|
// $tabbar-header-margin: 0;
|
686
816
|
|
687
817
|
// Off Canvas Menu Variables
|
688
818
|
// $off-canvas-width: rem-calc(250);
|
689
|
-
// $off-canvas-bg:
|
819
|
+
// $off-canvas-bg: $oil;
|
820
|
+
// $off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%);
|
690
821
|
|
691
822
|
// Off Canvas Menu List Variables
|
692
823
|
// $off-canvas-label-padding: 0.3rem rem-calc(15);
|
693
|
-
// $off-canvas-label-color:
|
824
|
+
// $off-canvas-label-color: $aluminum;
|
694
825
|
// $off-canvas-label-text-transform: uppercase;
|
826
|
+
// $off-canvas-label-font-size: rem-calc(12);
|
695
827
|
// $off-canvas-label-font-weight: $font-weight-bold;
|
696
|
-
// $off-canvas-label-bg:
|
697
|
-
// $off-canvas-label-border-top: 1px solid scale-color(
|
828
|
+
// $off-canvas-label-bg: $tuatara;
|
829
|
+
// $off-canvas-label-border-top: 1px solid scale-color($tuatara, $lightness: 14%);
|
698
830
|
// $off-canvas-label-border-bottom: none;
|
699
831
|
// $off-canvas-label-margin:0;
|
700
832
|
// $off-canvas-link-padding: rem-calc(10, 15);
|
701
|
-
// $off-canvas-link-color: rgba(
|
833
|
+
// $off-canvas-link-color: rgba($white, 0.7);
|
702
834
|
// $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
|
835
|
+
// $off-canvas-back-bg: $tuatara;
|
836
|
+
// $off-canvas-back-border-top: $off-canvas-label-border-top;
|
837
|
+
// $off-canvas-back-border-bottom: $off-canvas-label-border-bottom;
|
838
|
+
// $off-canvas-back-hover-bg: scale-color($off-canvas-back-bg, $lightness: -30%);
|
839
|
+
// $off-canvas-back-hover-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%);
|
840
|
+
// $off-canvas-back-hover-border-bottom: none;
|
703
841
|
|
704
842
|
// Off Canvas Menu Icon Variables
|
705
|
-
// $tabbar-menu-icon-color:
|
843
|
+
// $tabbar-menu-icon-color: $white;
|
706
844
|
// $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
|
707
845
|
|
708
846
|
// $tabbar-menu-icon-text-indent: rem-calc(35);
|
709
847
|
// $tabbar-menu-icon-width: $tabbar-height;
|
710
848
|
// $tabbar-menu-icon-height: $tabbar-height;
|
711
|
-
// $tabbar-menu-icon-line-height: rem-calc(33);
|
712
849
|
// $tabbar-menu-icon-padding: 0;
|
713
850
|
|
714
851
|
// $tabbar-hamburger-icon-width: rem-calc(16);
|
715
852
|
// $tabbar-hamburger-icon-left: false;
|
716
853
|
// $tabbar-hamburger-icon-top: false;
|
717
|
-
// $
|
718
|
-
// $
|
854
|
+
// $tabbar-hamburger-icon-thickness: 1px;
|
855
|
+
// $tabbar-hamburger-icon-gap: 6px;
|
719
856
|
|
720
857
|
// Off Canvas Back-Link Overlay
|
721
858
|
// $off-canvas-overlay-transition: background 300ms ease;
|
722
859
|
// $off-canvas-overlay-cursor: pointer;
|
723
|
-
// $off-canvas-overlay-box-shadow: -4px 0 4px rgba(
|
724
|
-
// $off-canvas-overlay-background: rgba(
|
725
|
-
// $off-canvas-overlay-background-hover: rgba(
|
860
|
+
// $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, 0.5), 4px 0 4px rgba($black, 0.5);
|
861
|
+
// $off-canvas-overlay-background: rgba($white, 0.2);
|
862
|
+
// $off-canvas-overlay-background-hover: rgba($white, 0.05);
|
726
863
|
|
727
864
|
// Transition Variables
|
728
865
|
// $menu-slide: "transform 500ms ease";
|
729
866
|
|
730
|
-
// Orbit
|
867
|
+
// 19. Orbit
|
868
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
731
869
|
|
732
870
|
// $include-html-orbit-classes: $include-html-classes;
|
733
871
|
|
734
872
|
// We use these to control the caption styles
|
735
873
|
// $orbit-container-bg: none;
|
736
874
|
// $orbit-caption-bg: rgba(51,51,51, 0.8);
|
737
|
-
// $orbit-caption-font-color:
|
875
|
+
// $orbit-caption-font-color: $white;
|
738
876
|
// $orbit-caption-font-size: rem-calc(14);
|
739
877
|
// $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
|
740
878
|
// $orbit-caption-padding: rem-calc(10 14);
|
@@ -743,27 +881,23 @@
|
|
743
881
|
// We use these to control the left/right nav styles
|
744
882
|
// $orbit-nav-bg: transparent;
|
745
883
|
// $orbit-nav-bg-hover: rgba(0,0,0,0.3);
|
746
|
-
// $orbit-nav-arrow-color:
|
747
|
-
// $orbit-nav-arrow-color-hover:
|
884
|
+
// $orbit-nav-arrow-color: $white;
|
885
|
+
// $orbit-nav-arrow-color-hover: $white;
|
748
886
|
|
749
887
|
// We use these to control the timer styles
|
750
888
|
// $orbit-timer-bg: rgba(255,255,255,0.3);
|
751
889
|
// $orbit-timer-show-progress-bar: true;
|
752
890
|
|
753
891
|
// We use these to control the bullet nav styles
|
754
|
-
// $orbit-bullet-nav-color:
|
755
|
-
// $orbit-bullet-nav-color-active:
|
892
|
+
// $orbit-bullet-nav-color: $iron;
|
893
|
+
// $orbit-bullet-nav-color-active: $aluminum;
|
756
894
|
// $orbit-bullet-radius: rem-calc(9);
|
757
895
|
|
758
896
|
// We use these to controls the style of slide numbers
|
759
897
|
// $orbit-slide-number-bg: rgba(0,0,0,0);
|
760
|
-
// $orbit-slide-number-font-color:
|
898
|
+
// $orbit-slide-number-font-color: $white;
|
761
899
|
// $orbit-slide-number-padding: rem-calc(5);
|
762
900
|
|
763
|
-
// We use these to controls the css animation
|
764
|
-
// $orbit-animation-speed: 500ms;
|
765
|
-
// $orbit-animation-ease: ease-in-out;
|
766
|
-
|
767
901
|
// Hide controls on small
|
768
902
|
// $orbit-nav-hide-for-small: true;
|
769
903
|
// $orbit-bullet-hide-for-small: true;
|
@@ -773,7 +907,8 @@
|
|
773
907
|
// $wrapper-class: "slideshow-wrapper";
|
774
908
|
// $preloader-class: "preloader";
|
775
909
|
|
776
|
-
// Pagination
|
910
|
+
// 20. Pagination
|
911
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
777
912
|
|
778
913
|
// $include-pagination-classes: $include-html-classes;
|
779
914
|
|
@@ -784,33 +919,34 @@
|
|
784
919
|
// We use these to set the list-item properties
|
785
920
|
// $pagination-li-float: $default-float;
|
786
921
|
// $pagination-li-height: rem-calc(24);
|
787
|
-
// $pagination-li-font-color:
|
922
|
+
// $pagination-li-font-color: $jet;
|
788
923
|
// $pagination-li-font-size: rem-calc(14);
|
789
924
|
// $pagination-li-margin: rem-calc(5);
|
790
925
|
|
791
926
|
// We use these for the pagination anchor links
|
792
927
|
// $pagination-link-pad: rem-calc(1 10 1);
|
793
|
-
// $pagination-link-font-color:
|
794
|
-
// $pagination-link-active-bg: scale-color(
|
928
|
+
// $pagination-link-font-color: $aluminum;
|
929
|
+
// $pagination-link-active-bg: scale-color($white, $lightness: -10%);
|
795
930
|
|
796
931
|
// We use these for disabled anchor links
|
797
932
|
// $pagination-link-unavailable-cursor: default;
|
798
|
-
// $pagination-link-unavailable-font-color:
|
933
|
+
// $pagination-link-unavailable-font-color: $aluminum;
|
799
934
|
// $pagination-link-unavailable-bg-active: transparent;
|
800
935
|
|
801
936
|
// We use these for currently selected anchor links
|
802
937
|
// $pagination-link-current-background: $primary-color;
|
803
|
-
// $pagination-link-current-font-color:
|
938
|
+
// $pagination-link-current-font-color: $white;
|
804
939
|
// $pagination-link-current-font-weight: $font-weight-bold;
|
805
940
|
// $pagination-link-current-cursor: default;
|
806
941
|
// $pagination-link-current-active-bg: $primary-color;
|
807
942
|
|
808
|
-
// Panels
|
943
|
+
// 21. Panels
|
944
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
809
945
|
|
810
946
|
// $include-html-panel-classes: $include-html-classes;
|
811
947
|
|
812
948
|
// We use these to control the background and border styles
|
813
|
-
// $panel-bg: scale-color(
|
949
|
+
// $panel-bg: scale-color($white, $lightness: -5%);
|
814
950
|
// $panel-border-style: solid;
|
815
951
|
// $panel-border-size: 1px;
|
816
952
|
|
@@ -823,74 +959,75 @@
|
|
823
959
|
// $panel-padding: rem-calc(20);
|
824
960
|
|
825
961
|
// We use these to set default font colors
|
826
|
-
// $panel-font-color:
|
827
|
-
// $panel-font-color-alt:
|
962
|
+
// $panel-font-color: $oil;
|
963
|
+
// $panel-font-color-alt: $white;
|
828
964
|
|
829
965
|
// $panel-header-adjust: true;
|
830
966
|
// $callout-panel-link-color: $primary-color;
|
831
967
|
|
832
|
-
// Pricing Tables
|
968
|
+
// 22. Pricing Tables
|
969
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
833
970
|
|
834
971
|
// $include-html-pricing-classes: $include-html-classes;
|
835
972
|
|
836
973
|
// We use this to control the border color
|
837
|
-
// $price-table-border: solid 1px
|
974
|
+
// $price-table-border: solid 1px $gainsboro;
|
838
975
|
|
839
976
|
// We use this to control the bottom margin of the pricing table
|
840
977
|
// $price-table-margin-bottom: rem-calc(20);
|
841
978
|
|
842
979
|
// We use these to control the title styles
|
843
|
-
// $price-title-bg:
|
980
|
+
// $price-title-bg: $oil;
|
844
981
|
// $price-title-padding: rem-calc(15 20);
|
845
982
|
// $price-title-align: center;
|
846
|
-
// $price-title-color:
|
983
|
+
// $price-title-color: $smoke;
|
847
984
|
// $price-title-weight: $font-weight-normal;
|
848
985
|
// $price-title-size: rem-calc(16);
|
849
986
|
// $price-title-font-family: $body-font-family;
|
850
987
|
|
851
988
|
// We use these to control the price styles
|
852
|
-
// $price-money-bg:
|
989
|
+
// $price-money-bg: $vapor ;
|
853
990
|
// $price-money-padding: rem-calc(15 20);
|
854
991
|
// $price-money-align: center;
|
855
|
-
// $price-money-color:
|
992
|
+
// $price-money-color: $oil;
|
856
993
|
// $price-money-weight: $font-weight-normal;
|
857
994
|
// $price-money-size: rem-calc(32);
|
858
995
|
// $price-money-font-family: $body-font-family;
|
859
996
|
|
860
|
-
|
861
997
|
// We use these to control the description styles
|
862
|
-
// $price-bg:
|
863
|
-
// $price-desc-color:
|
998
|
+
// $price-bg: $white;
|
999
|
+
// $price-desc-color: $monsoon;
|
864
1000
|
// $price-desc-padding: rem-calc(15);
|
865
1001
|
// $price-desc-align: center;
|
866
1002
|
// $price-desc-font-size: rem-calc(12);
|
867
1003
|
// $price-desc-weight: $font-weight-normal;
|
868
1004
|
// $price-desc-line-height: 1.4;
|
869
|
-
// $price-desc-bottom-border: dotted 1px
|
1005
|
+
// $price-desc-bottom-border: dotted 1px $gainsboro;
|
870
1006
|
|
871
1007
|
// We use these to control the list item styles
|
872
|
-
// $price-item-color:
|
1008
|
+
// $price-item-color: $oil;
|
873
1009
|
// $price-item-padding: rem-calc(15);
|
874
1010
|
// $price-item-align: center;
|
875
1011
|
// $price-item-font-size: rem-calc(14);
|
876
1012
|
// $price-item-weight: $font-weight-normal;
|
877
|
-
// $price-item-bottom-border: dotted 1px
|
1013
|
+
// $price-item-bottom-border: dotted 1px $gainsboro;
|
878
1014
|
|
879
1015
|
// We use these to control the CTA area styles
|
880
|
-
// $price-cta-bg:
|
1016
|
+
// $price-cta-bg: $white;
|
881
1017
|
// $price-cta-align: center;
|
882
1018
|
// $price-cta-padding: rem-calc(20 20 0);
|
883
1019
|
|
884
|
-
// Progress Bar
|
1020
|
+
// 23. Progress Bar
|
1021
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
885
1022
|
|
886
1023
|
// $include-html-media-classes: $include-html-classes;
|
887
1024
|
|
888
1025
|
// We use this to set the progress bar height
|
889
1026
|
// $progress-bar-height: rem-calc(25);
|
890
|
-
// $progress-bar-color:
|
1027
|
+
// $progress-bar-color: $vapor ;
|
891
1028
|
|
892
1029
|
// We use these to control the border styles
|
893
|
-
// $progress-bar-border-color: scale-color(
|
1030
|
+
// $progress-bar-border-color: scale-color($white, $lightness: 20%);
|
894
1031
|
// $progress-bar-border-size: 1px;
|
895
1032
|
// $progress-bar-border-style: solid;
|
896
1033
|
// $progress-bar-border-radius: $global-radius;
|
@@ -905,26 +1042,60 @@
|
|
905
1042
|
// $progress-meter-success-color: $success-color;
|
906
1043
|
// $progress-meter-alert-color: $alert-color;
|
907
1044
|
|
908
|
-
//
|
1045
|
+
// 24. Range Slider
|
1046
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1047
|
+
|
1048
|
+
// $include-html-range-slider-classes: $include-html-classes;
|
1049
|
+
|
1050
|
+
// These variables define the slider bar styles
|
1051
|
+
// $range-slider-bar-width: 100%;
|
1052
|
+
// $range-slider-bar-height: rem-calc(16);
|
1053
|
+
|
1054
|
+
// $range-slider-bar-border-width: 1px;
|
1055
|
+
// $range-slider-bar-border-style: solid;
|
1056
|
+
// $range-slider-bar-border-color: $gainsboro;
|
1057
|
+
// $range-slider-radius: $global-radius;
|
1058
|
+
// $range-slider-round: $global-rounded;
|
1059
|
+
// $range-slider-bar-bg-color: $ghost;
|
1060
|
+
|
1061
|
+
// Vertical bar styles
|
1062
|
+
// $range-slider-vertical-bar-width: rem-calc(16);
|
1063
|
+
// $range-slider-vertical-bar-height: rem-calc(200);
|
1064
|
+
|
1065
|
+
// These variables define the slider handle styles
|
1066
|
+
// $range-slider-handle-width: rem-calc(32);
|
1067
|
+
// $range-slider-handle-height: rem-calc(22);
|
1068
|
+
// $range-slider-handle-position-top: rem-calc(-5);
|
1069
|
+
// $range-slider-handle-bg-color: $primary-color;
|
1070
|
+
// $range-slider-handle-border-width: 1px;
|
1071
|
+
// $range-slider-handle-border-style: solid;
|
1072
|
+
// $range-slider-handle-border-color: none;
|
1073
|
+
// $range-slider-handle-radius: $global-radius;
|
1074
|
+
// $range-slider-handle-round: $global-rounded;
|
1075
|
+
// $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
|
1076
|
+
// $range-slider-handle-cursor: pointer;
|
1077
|
+
|
1078
|
+
// 25. Reveal
|
1079
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
909
1080
|
|
910
1081
|
// $include-html-reveal-classes: $include-html-classes;
|
911
1082
|
|
912
1083
|
// We use these to control the style of the reveal overlay.
|
913
|
-
// $reveal-overlay-bg: rgba(
|
914
|
-
// $reveal-overlay-bg-old:
|
1084
|
+
// $reveal-overlay-bg: rgba($black, .45);
|
1085
|
+
// $reveal-overlay-bg-old: $black;
|
915
1086
|
|
916
1087
|
// We use these to control the style of the modal itself.
|
917
|
-
// $reveal-modal-bg:
|
1088
|
+
// $reveal-modal-bg: $white;
|
918
1089
|
// $reveal-position-top: rem-calc(100);
|
919
1090
|
// $reveal-default-width: 80%;
|
920
1091
|
// $reveal-modal-padding: rem-calc(20);
|
921
|
-
// $reveal-box-shadow: 0 0 10px rgba(
|
1092
|
+
// $reveal-box-shadow: 0 0 10px rgba($black,.4);
|
922
1093
|
|
923
1094
|
// We use these to style the reveal close button
|
924
1095
|
// $reveal-close-font-size: rem-calc(40);
|
925
1096
|
// $reveal-close-top: rem-calc(8);
|
926
1097
|
// $reveal-close-side: rem-calc(11);
|
927
|
-
// $reveal-close-color:
|
1098
|
+
// $reveal-close-color: $base;
|
928
1099
|
// $reveal-close-weight: $font-weight-bold;
|
929
1100
|
|
930
1101
|
// We use this to set the default radius used throughout the core.
|
@@ -934,12 +1105,13 @@
|
|
934
1105
|
// We use these to control the modal border
|
935
1106
|
// $reveal-border-style: solid;
|
936
1107
|
// $reveal-border-width: 1px;
|
937
|
-
// $reveal-border-color:
|
1108
|
+
// $reveal-border-color: $steel;
|
938
1109
|
|
939
1110
|
// $reveal-modal-class: "reveal-modal";
|
940
1111
|
// $close-reveal-modal-class: "close-reveal-modal";
|
941
1112
|
|
942
|
-
// Side Nav
|
1113
|
+
// 26. Side Nav
|
1114
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
943
1115
|
|
944
1116
|
// $include-html-nav-classes: $include-html-classes;
|
945
1117
|
|
@@ -955,27 +1127,35 @@
|
|
955
1127
|
// $side-nav-link-color: $primary-color;
|
956
1128
|
// $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%);
|
957
1129
|
// $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
|
1130
|
+
// $side-nav-link-bg-hover: hsla(0, 0, 0, 0.025);
|
1131
|
+
// $side-nav-link-margin: 0;
|
1132
|
+
// $side-nav-link-padding: rem-calc(7 14);
|
958
1133
|
// $side-nav-font-size: rem-calc(14);
|
959
1134
|
// $side-nav-font-weight: $font-weight-normal;
|
960
1135
|
// $side-nav-font-weight-active: $side-nav-font-weight;
|
961
1136
|
// $side-nav-font-family: $body-font-family;
|
962
1137
|
// $side-nav-active-font-family: $side-nav-font-family;
|
963
1138
|
|
964
|
-
|
1139
|
+
// We use these to control heading styles.
|
1140
|
+
// $side-nav-heading-color: $side-nav-link-color;
|
1141
|
+
// $side-nav-heading-font-size: $side-nav-font-size;
|
1142
|
+
// $side-nav-heading-font-weight: bold;
|
1143
|
+
// $side-nav-heading-text-transform: uppercase;
|
965
1144
|
|
966
1145
|
// We use these to control border styles
|
967
1146
|
// $side-nav-divider-size: 1px;
|
968
1147
|
// $side-nav-divider-style: solid;
|
969
|
-
// $side-nav-divider-color: scale-color(
|
1148
|
+
// $side-nav-divider-color: scale-color($white, $lightness: 10%);
|
970
1149
|
|
971
|
-
// Split Buttons
|
1150
|
+
// 27. Split Buttons
|
1151
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
972
1152
|
|
973
1153
|
// $include-html-button-classes: $include-html-classes;
|
974
1154
|
|
975
1155
|
// We use these to control different shared styles for Split Buttons
|
976
1156
|
// $split-button-function-factor: 10%;
|
977
|
-
// $split-button-pip-color:
|
978
|
-
// $split-button-pip-color-alt:
|
1157
|
+
// $split-button-pip-color: $white;
|
1158
|
+
// $split-button-pip-color-alt: $oil;
|
979
1159
|
// $split-button-active-bg-tint: rgba(0,0,0,0.1);
|
980
1160
|
|
981
1161
|
// We use these to control tiny split buttons
|
@@ -1006,7 +1186,8 @@
|
|
1006
1186
|
// $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5);
|
1007
1187
|
// $split-button-pip-default-float-lrg: rem-calc(-6);
|
1008
1188
|
|
1009
|
-
// Sub Nav
|
1189
|
+
// 28. Sub Nav
|
1190
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1010
1191
|
|
1011
1192
|
// $include-html-nav-classes: $include-html-classes;
|
1012
1193
|
|
@@ -1017,42 +1198,40 @@
|
|
1017
1198
|
// We use this to control the definition
|
1018
1199
|
// $sub-nav-font-family: $body-font-family;
|
1019
1200
|
// $sub-nav-font-size: rem-calc(14);
|
1020
|
-
// $sub-nav-font-color:
|
1201
|
+
// $sub-nav-font-color: $aluminum;
|
1021
1202
|
// $sub-nav-font-weight: $font-weight-normal;
|
1022
1203
|
// $sub-nav-text-decoration: none;
|
1023
1204
|
// $sub-nav-padding: rem-calc(3 16);
|
1024
1205
|
// $sub-nav-border-radius: 3px;
|
1025
1206
|
// $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
|
1026
1207
|
|
1027
|
-
|
1028
1208
|
// We use these to control the active item styles
|
1029
1209
|
// $sub-nav-active-font-weight: $font-weight-normal;
|
1030
1210
|
// $sub-nav-active-bg: $primary-color;
|
1031
1211
|
// $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
|
1032
|
-
// $sub-nav-active-color:
|
1212
|
+
// $sub-nav-active-color: $white;
|
1033
1213
|
// $sub-nav-active-padding: $sub-nav-padding;
|
1034
1214
|
// $sub-nav-active-cursor: default;
|
1035
1215
|
|
1036
1216
|
// $sub-nav-item-divider: "";
|
1037
1217
|
// $sub-nav-item-divider-margin: rem-calc(12);
|
1038
1218
|
|
1039
|
-
//
|
1040
|
-
//
|
1041
|
-
//
|
1219
|
+
// 29. Switch
|
1220
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1042
1221
|
|
1043
1222
|
// $include-html-form-classes: $include-html-classes;
|
1044
1223
|
|
1045
1224
|
// Controlling border styles and background colors for the switch container
|
1046
|
-
// $switch-border-color: scale-color(
|
1225
|
+
// $switch-border-color: scale-color($white, $lightness: -20%);
|
1047
1226
|
// $switch-border-style: solid;
|
1048
1227
|
// $switch-border-width: 1px;
|
1049
|
-
// $switch-bg:
|
1228
|
+
// $switch-bg: $white;
|
1050
1229
|
|
1051
1230
|
// We use these to control the switch heights for our default classes
|
1052
|
-
// $switch-height-tny:
|
1053
|
-
// $switch-height-sml:
|
1054
|
-
// $switch-height-med:
|
1055
|
-
// $switch-height-lrg:
|
1231
|
+
// $switch-height-tny: rem-calc(22);
|
1232
|
+
// $switch-height-sml: rem-calc(28);
|
1233
|
+
// $switch-height-med: rem-calc(36);
|
1234
|
+
// $switch-height-lrg: rem-calc(44);
|
1056
1235
|
// $switch-bottom-margin: rem-calc(20);
|
1057
1236
|
|
1058
1237
|
// We use these to control default font sizes for our classes.
|
@@ -1063,7 +1242,7 @@
|
|
1063
1242
|
// $switch-label-side-padding: 6px;
|
1064
1243
|
|
1065
1244
|
// We use these to style the switch-paddle
|
1066
|
-
// $switch-paddle-bg:
|
1245
|
+
// $switch-paddle-bg: $white;
|
1067
1246
|
// $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
|
1068
1247
|
// $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
|
1069
1248
|
// $switch-paddle-border-width: 1px;
|
@@ -1071,52 +1250,53 @@
|
|
1071
1250
|
// $switch-paddle-transition-speed: .1s;
|
1072
1251
|
// $switch-paddle-transition-ease: ease-out;
|
1073
1252
|
// $switch-positive-color: scale-color($success-color, $lightness: 94%);
|
1074
|
-
// $switch-negative-color:
|
1253
|
+
// $switch-negative-color: $white-smoke;
|
1075
1254
|
|
1076
1255
|
// Outline Style for tabbing through switches
|
1077
|
-
// $switch-label-outline: 1px dotted
|
1256
|
+
// $switch-label-outline: 1px dotted $jumbo;
|
1078
1257
|
|
1079
|
-
// Tables
|
1258
|
+
// 30. Tables
|
1259
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1080
1260
|
|
1081
1261
|
// $include-html-table-classes: $include-html-classes;
|
1082
1262
|
|
1083
1263
|
// These control the background color for the table and even rows
|
1084
|
-
// $table-bg:
|
1085
|
-
// $table-even-row-bg:
|
1264
|
+
// $table-bg: $white;
|
1265
|
+
// $table-even-row-bg: $snow ;
|
1086
1266
|
|
1087
1267
|
// These control the table cell border style
|
1088
1268
|
// $table-border-style: solid;
|
1089
1269
|
// $table-border-size: 1px;
|
1090
|
-
// $table-border-color:
|
1270
|
+
// $table-border-color: $gainsboro;
|
1091
1271
|
|
1092
1272
|
// These control the table head styles
|
1093
|
-
// $table-head-bg:
|
1273
|
+
// $table-head-bg: $white-smoke ;
|
1094
1274
|
// $table-head-font-size: rem-calc(14);
|
1095
|
-
// $table-head-font-color:
|
1275
|
+
// $table-head-font-color: $jet;
|
1096
1276
|
// $table-head-font-weight: $font-weight-bold;
|
1097
1277
|
// $table-head-padding: rem-calc(8 10 10);
|
1098
1278
|
|
1099
1279
|
// These control the row padding and font styles
|
1100
1280
|
// $table-row-padding: rem-calc(9 10);
|
1101
1281
|
// $table-row-font-size: rem-calc(14);
|
1102
|
-
// $table-row-font-color:
|
1282
|
+
// $table-row-font-color: $jet;
|
1103
1283
|
// $table-line-height: rem-calc(18);
|
1104
1284
|
|
1105
|
-
// These are for controlling the display and margin of tables
|
1285
|
+
// These are for controlling the layout, display and margin of tables
|
1286
|
+
// $table-layout: auto;
|
1106
1287
|
// $table-display: table-cell;
|
1107
1288
|
// $table-margin-bottom: rem-calc(20);
|
1108
1289
|
|
1109
|
-
//
|
1110
|
-
//
|
1111
|
-
//
|
1290
|
+
// 31. Tabs
|
1291
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1112
1292
|
|
1113
1293
|
// $include-html-tabs-classes: $include-html-classes;
|
1114
1294
|
|
1115
1295
|
// $tabs-navigation-padding: rem-calc(16);
|
1116
|
-
// $tabs-navigation-bg-color:
|
1117
|
-
// $tabs-navigation-active-bg-color:
|
1296
|
+
// $tabs-navigation-bg-color: $silver ;
|
1297
|
+
// $tabs-navigation-active-bg-color: $white;
|
1118
1298
|
// $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
|
1119
|
-
// $tabs-navigation-font-color:
|
1299
|
+
// $tabs-navigation-font-color: $jet;
|
1120
1300
|
// $tabs-navigation-active-font-color: $tabs-navigation-font-color;
|
1121
1301
|
// $tabs-navigation-font-size: rem-calc(16);
|
1122
1302
|
// $tabs-navigation-font-family: $body-font-family;
|
@@ -1126,58 +1306,56 @@
|
|
1126
1306
|
|
1127
1307
|
// $tabs-vertical-navigation-margin-bottom: 1.25rem;
|
1128
1308
|
|
1129
|
-
//
|
1130
|
-
//
|
1131
|
-
//
|
1309
|
+
// 32. Thumbnails
|
1310
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1132
1311
|
|
1133
1312
|
// $include-html-media-classes: $include-html-classes;
|
1134
1313
|
|
1135
1314
|
// We use these to control border styles
|
1136
1315
|
// $thumb-border-style: solid;
|
1137
1316
|
// $thumb-border-width: 4px;
|
1138
|
-
// $thumb-border-color:
|
1139
|
-
// $thumb-box-shadow: 0 0 0 1px rgba(
|
1317
|
+
// $thumb-border-color: $white;
|
1318
|
+
// $thumb-box-shadow: 0 0 0 1px rgba($black,.2);
|
1140
1319
|
// $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
|
1141
1320
|
|
1142
1321
|
// Radius and transition speed for thumbs
|
1143
1322
|
// $thumb-radius: $global-radius;
|
1144
1323
|
// $thumb-transition-speed: 200ms;
|
1145
1324
|
|
1146
|
-
//
|
1147
|
-
//
|
1148
|
-
//
|
1325
|
+
// 33. Tooltips
|
1326
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1149
1327
|
|
1150
1328
|
// $include-html-tooltip-classes: $include-html-classes;
|
1151
1329
|
|
1152
|
-
// $has-tip-border-bottom: dotted 1px
|
1330
|
+
// $has-tip-border-bottom: dotted 1px $iron;
|
1153
1331
|
// $has-tip-font-weight: $font-weight-bold;
|
1154
|
-
// $has-tip-font-color:
|
1332
|
+
// $has-tip-font-color: $oil;
|
1155
1333
|
// $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
|
1156
1334
|
// $has-tip-font-color-hover: $primary-color;
|
1157
1335
|
// $has-tip-cursor-type: help;
|
1158
1336
|
|
1159
1337
|
// $tooltip-padding: rem-calc(12);
|
1160
|
-
// $tooltip-bg:
|
1338
|
+
// $tooltip-bg: $oil;
|
1161
1339
|
// $tooltip-font-size: rem-calc(14);
|
1162
1340
|
// $tooltip-font-weight: $font-weight-normal;
|
1163
|
-
// $tooltip-font-color:
|
1341
|
+
// $tooltip-font-color: $white;
|
1164
1342
|
// $tooltip-line-height: 1.3;
|
1165
1343
|
// $tooltip-close-font-size: rem-calc(10);
|
1166
1344
|
// $tooltip-close-font-weight: $font-weight-normal;
|
1167
|
-
// $tooltip-close-font-color:
|
1345
|
+
// $tooltip-close-font-color: $monsoon;
|
1168
1346
|
// $tooltip-font-size-sml: rem-calc(14);
|
1169
1347
|
// $tooltip-radius: $global-radius;
|
1170
1348
|
// $tooltip-rounded: $global-rounded;
|
1171
1349
|
// $tooltip-pip-size: 5px;
|
1350
|
+
// $tooltip-max-width: 300px;
|
1172
1351
|
|
1173
|
-
//
|
1174
|
-
//
|
1175
|
-
//
|
1352
|
+
// 34. Top Bar
|
1353
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1176
1354
|
|
1177
1355
|
// $include-html-top-bar-classes: $include-html-classes;
|
1178
1356
|
|
1179
1357
|
// Background color for the top bar
|
1180
|
-
// $topbar-bg-color:
|
1358
|
+
// $topbar-bg-color: $oil;
|
1181
1359
|
// $topbar-bg: $topbar-bg-color;
|
1182
1360
|
|
1183
1361
|
// Height and margin
|
@@ -1189,48 +1367,50 @@
|
|
1189
1367
|
// $topbar-title-font-size: rem-calc(17);
|
1190
1368
|
|
1191
1369
|
// Style the top bar dropdown elements
|
1192
|
-
// $topbar-dropdown-bg:
|
1193
|
-
// $topbar-dropdown-link-color:
|
1194
|
-
// $topbar-dropdown-link-bg:
|
1370
|
+
// $topbar-dropdown-bg: $oil;
|
1371
|
+
// $topbar-dropdown-link-color: $white;
|
1372
|
+
// $topbar-dropdown-link-bg: $oil;
|
1195
1373
|
// $topbar-dropdown-link-weight: $font-weight-normal;
|
1196
1374
|
// $topbar-dropdown-toggle-size: 5px;
|
1197
|
-
// $topbar-dropdown-toggle-color:
|
1375
|
+
// $topbar-dropdown-toggle-color: $white;
|
1198
1376
|
// $topbar-dropdown-toggle-alpha: 0.4;
|
1199
1377
|
|
1200
1378
|
// Set the link colors and styles for top-level nav
|
1201
|
-
// $topbar-link-color:
|
1202
|
-
// $topbar-link-color-hover:
|
1203
|
-
// $topbar-link-color-active:
|
1204
|
-
// $topbar-link-color-active-hover:
|
1379
|
+
// $topbar-link-color: $white;
|
1380
|
+
// $topbar-link-color-hover: $white;
|
1381
|
+
// $topbar-link-color-active: $white;
|
1382
|
+
// $topbar-link-color-active-hover: $white;
|
1205
1383
|
// $topbar-link-weight: $font-weight-normal;
|
1206
1384
|
// $topbar-link-font-size: rem-calc(13);
|
1207
1385
|
// $topbar-link-hover-lightness: -10%; // Darken by 10%
|
1208
1386
|
// $topbar-link-bg: $topbar-bg;
|
1209
|
-
// $topbar-link-bg-color-hover:
|
1387
|
+
// $topbar-link-bg-color-hover: $charcoal;
|
1210
1388
|
// $topbar-link-bg-hover: #272727;
|
1211
1389
|
// $topbar-link-bg-active: $primary-color;
|
1212
1390
|
// $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
|
1213
1391
|
// $topbar-link-font-family: $body-font-family;
|
1214
1392
|
// $topbar-link-text-transform: none;
|
1215
1393
|
// $topbar-link-padding: $topbar-height / 3;
|
1394
|
+
// $topbar-back-link-size: $h5-font-size;
|
1395
|
+
// $topbar-link-dropdown-padding: 20px;
|
1216
1396
|
|
1217
1397
|
// $topbar-button-font-size: 0.75rem;
|
1218
1398
|
// $topbar-button-top: 7px;
|
1219
1399
|
|
1220
|
-
// $topbar-dropdown-label-color:
|
1400
|
+
// $topbar-dropdown-label-color: $monsoon;
|
1221
1401
|
// $topbar-dropdown-label-text-transform: uppercase;
|
1222
1402
|
// $topbar-dropdown-label-font-weight: $font-weight-bold;
|
1223
1403
|
// $topbar-dropdown-label-font-size: rem-calc(10);
|
1224
|
-
// $topbar-dropdown-label-bg:
|
1404
|
+
// $topbar-dropdown-label-bg: $oil;
|
1225
1405
|
|
1226
1406
|
// Top menu icon styles
|
1227
1407
|
// $topbar-menu-link-transform: uppercase;
|
1228
1408
|
// $topbar-menu-link-font-size: rem-calc(13);
|
1229
1409
|
// $topbar-menu-link-weight: $font-weight-bold;
|
1230
|
-
// $topbar-menu-link-color:
|
1231
|
-
// $topbar-menu-icon-color:
|
1232
|
-
// $topbar-menu-link-color-toggled:
|
1233
|
-
// $topbar-menu-icon-color-toggled:
|
1410
|
+
// $topbar-menu-link-color: $white;
|
1411
|
+
// $topbar-menu-icon-color: $white;
|
1412
|
+
// $topbar-menu-link-color-toggled: $jumbo;
|
1413
|
+
// $topbar-menu-icon-color-toggled: $jumbo;
|
1234
1414
|
|
1235
1415
|
// Transitions and breakpoint styles
|
1236
1416
|
// $topbar-transition-speed: 300ms;
|
@@ -1246,44 +1426,10 @@
|
|
1246
1426
|
// $topbar-sticky-class: ".sticky";
|
1247
1427
|
// $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
|
1248
1428
|
|
1249
|
-
//
|
1250
|
-
//
|
1251
|
-
//
|
1429
|
+
// 36. Visibility Classes
|
1430
|
+
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
1252
1431
|
|
1253
1432
|
// $include-html-visibility-classes: $include-html-classes;
|
1254
1433
|
// $include-table-visibility-classes: true;
|
1255
1434
|
// $include-legacy-visibility-classes: true;
|
1256
|
-
|
1257
|
-
//
|
1258
|
-
// RANGE SLIDER
|
1259
|
-
//
|
1260
|
-
|
1261
|
-
// $include-html-range-slider-classes: $include-html-classes;
|
1262
|
-
|
1263
|
-
// These variabels define the slider bar styles
|
1264
|
-
// $range-slider-bar-width: 100%;
|
1265
|
-
// $range-slider-bar-height: rem-calc(16);
|
1266
|
-
|
1267
|
-
// $range-slider-bar-border-width: 1px;
|
1268
|
-
// $range-slider-bar-border-style: solid;
|
1269
|
-
// $range-slider-bar-border-color: #ddd;
|
1270
|
-
// $range-slider-radius: $global-radius;
|
1271
|
-
// $range-slider-round: $global-rounded;
|
1272
|
-
// $range-slider-bar-bg-color: #fafafa;
|
1273
|
-
|
1274
|
-
// Vertical bar styles
|
1275
|
-
// $range-slider-vertical-bar-width: rem-calc(16);
|
1276
|
-
// $range-slider-vertical-bar-height: rem-calc(200);
|
1277
|
-
|
1278
|
-
// These variabels define the slider handle styles
|
1279
|
-
// $range-slider-handle-width: rem-calc(32);
|
1280
|
-
// $range-slider-handle-height: rem-calc(22);
|
1281
|
-
// $range-slider-handle-position-top: rem-calc(-5);
|
1282
|
-
// $range-slider-handle-bg-color: $primary-color;
|
1283
|
-
// $range-slider-handle-border-width: 1px;
|
1284
|
-
// $range-slider-handle-border-style: solid;
|
1285
|
-
// $range-slider-handle-border-color: none;
|
1286
|
-
// $range-slider-handle-radius: $global-radius;
|
1287
|
-
// $range-slider-handle-round: $global-rounded;
|
1288
|
-
// $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
|
1289
|
-
// $range-slider-handle-cursor: pointer;
|
1435
|
+
// $include-accessibility-classes: true;
|