on-standards-rails 1.5.1.1 → 2.0.0.pre.alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -3
  3. data/lib/on-standards-rails.rb +0 -3
  4. data/lib/on/standards/rails/version.rb +1 -1
  5. data/on-standards-rails.gemspec +1 -4
  6. data/vendor/assets/javascripts/on-standards.js +17552 -18
  7. data/vendor/assets/stylesheets/on-standards.scss +67 -0
  8. data/vendor/assets/stylesheets/on-standards/_alert.scss +65 -0
  9. data/vendor/assets/stylesheets/on-standards/_animation.scss +27 -0
  10. data/vendor/assets/stylesheets/on-standards/_baseline.scss +351 -0
  11. data/vendor/assets/stylesheets/on-standards/_block-grid.scss +501 -0
  12. data/vendor/assets/stylesheets/on-standards/_breadcrumb.scss +23 -0
  13. data/vendor/assets/stylesheets/on-standards/_button-group.scss +293 -0
  14. data/vendor/assets/stylesheets/on-standards/_buttons.scss +241 -0
  15. data/vendor/assets/stylesheets/on-standards/_card.scss +292 -0
  16. data/vendor/assets/stylesheets/on-standards/_carousel.scss +252 -0
  17. data/vendor/assets/stylesheets/on-standards/_close.scss +27 -0
  18. data/vendor/assets/stylesheets/on-standards/_code.scss +58 -0
  19. data/vendor/assets/stylesheets/on-standards/_colors.scss +85 -0
  20. data/vendor/assets/stylesheets/on-standards/_custom-forms.scss +226 -0
  21. data/vendor/assets/stylesheets/on-standards/_dropdown.scss +193 -0
  22. data/vendor/assets/stylesheets/on-standards/_forms.scss +489 -0
  23. data/vendor/assets/stylesheets/on-standards/_functions.scss +19 -0
  24. data/vendor/assets/stylesheets/on-standards/_grid.scss +76 -0
  25. data/vendor/assets/stylesheets/on-standards/_images.scss +53 -0
  26. data/vendor/assets/stylesheets/on-standards/_input-group.scss +194 -0
  27. data/vendor/assets/stylesheets/on-standards/_jumbotron.scss +20 -0
  28. data/vendor/assets/stylesheets/on-standards/_list-group.scss +140 -0
  29. data/vendor/assets/stylesheets/on-standards/_media.scss +90 -0
  30. data/vendor/assets/stylesheets/on-standards/_mixins.scss +56 -0
  31. data/vendor/assets/stylesheets/on-standards/_modal.scss +143 -0
  32. data/vendor/assets/stylesheets/on-standards/_nav.scss +162 -0
  33. data/vendor/assets/stylesheets/on-standards/_navbar.scss +230 -0
  34. data/vendor/assets/stylesheets/on-standards/_normalize.scss +417 -0
  35. data/vendor/assets/stylesheets/on-standards/_off-canvas.scss +201 -0
  36. data/vendor/assets/stylesheets/on-standards/_pager.scss +57 -0
  37. data/vendor/assets/stylesheets/on-standards/_pagination.scss +73 -0
  38. data/vendor/assets/stylesheets/on-standards/_popover.scss +140 -0
  39. data/vendor/assets/stylesheets/on-standards/_print.scss +88 -0
  40. data/vendor/assets/stylesheets/on-standards/_progress.scss +156 -0
  41. data/vendor/assets/stylesheets/on-standards/_responsive-embed.scss +39 -0
  42. data/vendor/assets/stylesheets/on-standards/_tables.scss +193 -0
  43. data/vendor/assets/stylesheets/on-standards/_tags.scss +94 -0
  44. data/vendor/assets/stylesheets/on-standards/_tooltip.scss +85 -0
  45. data/vendor/assets/stylesheets/on-standards/_utilities-background.scss +19 -0
  46. data/vendor/assets/stylesheets/on-standards/_utilities-responsive.scss +49 -0
  47. data/vendor/assets/stylesheets/on-standards/_utilities-spacing.scss +39 -0
  48. data/vendor/assets/stylesheets/on-standards/_utilities.scss +93 -0
  49. data/vendor/assets/stylesheets/on-standards/_variables.scss +727 -0
  50. data/vendor/assets/stylesheets/on-standards/mixins/_alert.scss +18 -0
  51. data/vendor/assets/stylesheets/on-standards/mixins/_background-variant.scss +13 -0
  52. data/vendor/assets/stylesheets/on-standards/mixins/_border-radius.scss +35 -0
  53. data/vendor/assets/stylesheets/on-standards/mixins/_breakpoints.scss +86 -0
  54. data/vendor/assets/stylesheets/on-standards/mixins/_buttons.scss +157 -0
  55. data/vendor/assets/stylesheets/on-standards/mixins/_cards.scss +38 -0
  56. data/vendor/assets/stylesheets/on-standards/mixins/_center-block.scss +7 -0
  57. data/vendor/assets/stylesheets/on-standards/mixins/_clearfix.scss +7 -0
  58. data/vendor/assets/stylesheets/on-standards/mixins/_forms.scss +89 -0
  59. data/vendor/assets/stylesheets/on-standards/mixins/_gradients.scss +43 -0
  60. data/vendor/assets/stylesheets/on-standards/mixins/_grid-framework.scss +44 -0
  61. data/vendor/assets/stylesheets/on-standards/mixins/_grid.scss +75 -0
  62. data/vendor/assets/stylesheets/on-standards/mixins/_hover.scss +59 -0
  63. data/vendor/assets/stylesheets/on-standards/mixins/_image.scss +34 -0
  64. data/vendor/assets/stylesheets/on-standards/mixins/_list-group.scss +30 -0
  65. data/vendor/assets/stylesheets/on-standards/mixins/_lists.scss +7 -0
  66. data/vendor/assets/stylesheets/on-standards/mixins/_modernizr.scss +11 -0
  67. data/vendor/assets/stylesheets/on-standards/mixins/_nav-divider.scss +10 -0
  68. data/vendor/assets/stylesheets/on-standards/mixins/_navbar-align.scss +9 -0
  69. data/vendor/assets/stylesheets/on-standards/mixins/_pagination.scss +22 -0
  70. data/vendor/assets/stylesheets/on-standards/mixins/_progress.scss +18 -0
  71. data/vendor/assets/stylesheets/on-standards/mixins/_pulls.scss +6 -0
  72. data/vendor/assets/stylesheets/on-standards/mixins/_reset-filter.scss +8 -0
  73. data/vendor/assets/stylesheets/on-standards/mixins/_reset-text.scss +18 -0
  74. data/vendor/assets/stylesheets/on-standards/mixins/_resize.scss +6 -0
  75. data/vendor/assets/stylesheets/on-standards/mixins/_screen-reader.scss +32 -0
  76. data/vendor/assets/stylesheets/on-standards/mixins/_size.scss +6 -0
  77. data/vendor/assets/stylesheets/on-standards/mixins/_tab-focus.scss +5 -0
  78. data/vendor/assets/stylesheets/on-standards/mixins/_table-row.scss +30 -0
  79. data/vendor/assets/stylesheets/on-standards/mixins/_tag.scss +30 -0
  80. data/vendor/assets/stylesheets/on-standards/mixins/_text-emphasis.scss +12 -0
  81. data/vendor/assets/stylesheets/on-standards/mixins/_text-hide.scss +8 -0
  82. data/vendor/assets/stylesheets/on-standards/mixins/_text-truncate.scss +8 -0
  83. data/vendor/assets/stylesheets/on-standards/modules/_type.scss +171 -0
  84. metadata +83 -58
  85. data/vendor/assets/javascripts/on-standards/vendor/chosen.jquery.min.js +0 -2
  86. data/vendor/assets/javascripts/on-standards/vendor/jquery.tooltipster.min.js +0 -1
  87. data/vendor/assets/javascripts/on-standards/vendor/sweet-alert.min.js +0 -1
  88. data/vendor/assets/stylesheets/foundation_and_overrides.scss +0 -1450
  89. data/vendor/assets/stylesheets/on-overrides.sass +0 -0
  90. data/vendor/assets/stylesheets/on-standards.sass +0 -7
  91. data/vendor/assets/stylesheets/on-standards/church_to_church.sass +0 -1323
  92. data/vendor/assets/stylesheets/on-standards/vendor/chosen.min.css +0 -3
  93. data/vendor/assets/stylesheets/on-standards/vendor/sweet-alert.scss +0 -429
  94. data/vendor/assets/stylesheets/on-standards/vendor/tooltipster.css +0 -274
@@ -1,2 +0,0 @@
1
- /* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
2
- !function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};SelectParser=function(){function SelectParser(){this.options_index=0,this.parsed=[]}return SelectParser.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},SelectParser.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),children:0,disabled:a.disabled}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},SelectParser.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},SelectParser.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&amp;"})):a},SelectParser}(),SelectParser.select_to_array=function(a){var b,c,d,e,f;for(c=new SelectParser,f=a.childNodes,d=0,e=f.length;e>d;d++)b=f[d],c.add_node(b);return c.parsed},AbstractChosen=function(){function AbstractChosen(a,b){this.form_field=a,this.options=null!=b?b:{},AbstractChosen.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers())}return AbstractChosen.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0},AbstractChosen.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||AbstractChosen.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||AbstractChosen.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||AbstractChosen.default_no_result_text},AbstractChosen.prototype.mouse_enter=function(){return this.mouse_on_container=!0},AbstractChosen.prototype.mouse_leave=function(){return this.mouse_on_container=!1},AbstractChosen.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},AbstractChosen.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},AbstractChosen.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(c.text));return b},AbstractChosen.prototype.result_add_option=function(a){var b,c;return a.search_match?this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.style.cssText=a.style,c.setAttribute("data-option-array-index",a.array_index),c.innerHTML=a.search_text,this.outerHTML(c)):"":""},AbstractChosen.prototype.result_add_group=function(a){var b;return a.search_match||a.group_match?a.active_options>0?(b=document.createElement("li"),b.className="group-result",b.innerHTML=a.search_text,this.outerHTML(b)):"":""},AbstractChosen.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},AbstractChosen.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],a.selected?e.push(a.selected=!1):e.push(void 0);return e},AbstractChosen.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},AbstractChosen.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},AbstractChosen.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;for(this.no_results_clear(),e=0,g=this.get_search_text(),a=g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),d=this.search_contains?"":"^",c=new RegExp(d+a,"i"),j=new RegExp(a,"i"),m=this.results_data,k=0,l=m.length;l>k;k++)b=m[k],b.search_match=!1,f=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(f=this.results_data[b.group_array_index],0===f.active_options&&f.search_match&&(e+=1),f.active_options+=1),(!b.group||this.group_search)&&(b.search_text=b.group?b.label:b.html,b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(e+=1),b.search_match?(g.length&&(h=b.search_text.search(j),i=b.search_text.substr(0,h+g.length)+"</em>"+b.search_text.substr(h+g.length),b.search_text=i.substr(0,h)+"<em>"+i.substr(h)),null!=f&&(f.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>e&&g.length?(this.update_results_content(""),this.no_results(g)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},AbstractChosen.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},AbstractChosen.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},AbstractChosen.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},AbstractChosen.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},AbstractChosen.prototype.clipboard_event_checker=function(){var a=this;return setTimeout(function(){return a.results_search()},50)},AbstractChosen.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},AbstractChosen.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},AbstractChosen.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},AbstractChosen.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},AbstractChosen.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},AbstractChosen.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement("div"),b.appendChild(a),b.innerHTML)},AbstractChosen.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},AbstractChosen.default_multiple_text="Select Some Options",AbstractChosen.default_single_text="Select an Option",AbstractChosen.default_no_result_text="No results match",AbstractChosen}(),a=jQuery,a.fn.extend({chosen:function(b){return AbstractChosen.browser_is_supported()?this.each(function(){var c,d;c=a(this),d=c.data("chosen"),"destroy"===b&&d?d.destroy():d||c.data("chosen",new Chosen(this,b))}):this}}),Chosen=function(c){function Chosen(){return b=Chosen.__super__.constructor.apply(this,arguments)}return d(Chosen,c),Chosen.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},Chosen.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",c),this.is_multiple?this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>'):this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("chosen:ready",{chosen:this})},Chosen.prototype.register_observers=function(){var a=this;return this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},Chosen.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},Chosen.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},Chosen.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},Chosen.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},Chosen.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},Chosen.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},Chosen.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},Chosen.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},Chosen.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},Chosen.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},Chosen.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},Chosen.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},Chosen.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},Chosen.prototype.update_results_content=function(a){return this.search_results.html(a)},Chosen.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},Chosen.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},Chosen.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},Chosen.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},Chosen.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},Chosen.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},Chosen.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},Chosen.prototype.choice_build=function(b){var c,d,e=this;return c=a("<li />",{"class":"search-choice"}).html("<span>"+b.html+"</span>"),b.disabled?c.addClass("search-choice-disabled"):(d=a("<a />",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},Chosen.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},Chosen.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},Chosen.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},Chosen.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},Chosen.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(c.text),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())):void 0},Chosen.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(a)},Chosen.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},Chosen.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")):void 0},Chosen.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":a("<div/>").text(a.trim(this.search_field.val())).html()},Chosen.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},Chosen.prototype.no_results=function(b){var c;return c=a('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},Chosen.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},Chosen.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},Chosen.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},Chosen.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},Chosen.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},Chosen.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},Chosen.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("<div />",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},Chosen}(AbstractChosen)}.call(this);
@@ -1 +0,0 @@
1
- /* Tooltipster v3.2.6 */;(function(e,t,n){function s(t,n){this.bodyOverflowX;this.callbacks={hide:[],show:[]};this.checkInterval=null;this.Content;this.$el=e(t);this.$elProxy;this.elProxyPosition;this.enabled=true;this.options=e.extend({},i,n);this.mouseIsOverProxy=false;this.namespace="tooltipster-"+Math.round(Math.random()*1e5);this.Status="hidden";this.timerHide=null;this.timerShow=null;this.$tooltip;this.options.iconTheme=this.options.iconTheme.replace(".","");this.options.theme=this.options.theme.replace(".","");this._init()}function o(t,n){var r=true;e.each(t,function(e,i){if(typeof n[e]==="undefined"||t[e]!==n[e]){r=false;return false}});return r}function f(){return!a&&u}function l(){var e=n.body||n.documentElement,t=e.style,r="transition";if(typeof t[r]=="string"){return true}v=["Moz","Webkit","Khtml","O","ms"],r=r.charAt(0).toUpperCase()+r.substr(1);for(var i=0;i<v.length;i++){if(typeof t[v[i]+r]=="string"){return true}}return false}var r="tooltipster",i={animation:"fade",arrow:true,arrowColor:"",autoClose:true,content:null,contentAsHTML:false,contentCloning:true,debug:true,delay:200,minWidth:0,maxWidth:null,functionInit:function(e,t){},functionBefore:function(e,t){t()},functionReady:function(e,t){},functionAfter:function(e){},icon:"(?)",iconCloning:true,iconDesktop:false,iconTouch:false,iconTheme:"tooltipster-icon",interactive:false,interactiveTolerance:350,multiple:false,offsetX:0,offsetY:0,onlyOne:false,position:"top",positionTracker:false,speed:350,timer:0,theme:"tooltipster-default",touchDevices:true,trigger:"hover",updateAnimation:true};s.prototype={_init:function(){var t=this;if(n.querySelector){if(t.options.content!==null){t._content_set(t.options.content)}else{var r=t.$el.attr("title");if(typeof r==="undefined")r=null;t._content_set(r)}var i=t.options.functionInit.call(t.$el,t.$el,t.Content);if(typeof i!=="undefined")t._content_set(i);t.$el.removeAttr("title").addClass("tooltipstered");if(!u&&t.options.iconDesktop||u&&t.options.iconTouch){if(typeof t.options.icon==="string"){t.$elProxy=e('<span class="'+t.options.iconTheme+'"></span>');t.$elProxy.text(t.options.icon)}else{if(t.options.iconCloning)t.$elProxy=t.options.icon.clone(true);else t.$elProxy=t.options.icon}t.$elProxy.insertAfter(t.$el)}else{t.$elProxy=t.$el}if(t.options.trigger=="hover"){t.$elProxy.on("mouseenter."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=true;t._show()}}).on("mouseleave."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=false}});if(u&&t.options.touchDevices){t.$elProxy.on("touchstart."+t.namespace,function(){t._showNow()})}}else if(t.options.trigger=="click"){t.$elProxy.on("click."+t.namespace,function(){if(!f()||t.options.touchDevices){t._show()}})}}},_show:function(){var e=this;if(e.Status!="shown"&&e.Status!="appearing"){if(e.options.delay){e.timerShow=setTimeout(function(){if(e.options.trigger=="click"||e.options.trigger=="hover"&&e.mouseIsOverProxy){e._showNow()}},e.options.delay)}else e._showNow()}},_showNow:function(n){var r=this;r.options.functionBefore.call(r.$el,r.$el,function(){if(r.enabled&&r.Content!==null){if(n)r.callbacks.show.push(n);r.callbacks.hide=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;if(r.options.onlyOne){e(".tooltipstered").not(r.$el).each(function(t,n){var r=e(n),i=r.data("tooltipster-ns");e.each(i,function(e,t){var n=r.data(t),i=n.status(),s=n.option("autoClose");if(i!=="hidden"&&i!=="disappearing"&&s){n.hide()}})})}var i=function(){r.Status="shown";e.each(r.callbacks.show,function(e,t){t.call(r.$el)});r.callbacks.show=[]};if(r.Status!=="hidden"){var s=0;if(r.Status==="disappearing"){r.Status="appearing";if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-"+r.options.animation+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.stop().fadeIn(i)}}else if(r.Status==="shown"){i()}}else{r.Status="appearing";var s=r.options.speed;r.bodyOverflowX=e("body").css("overflow-x");e("body").css("overflow-x","hidden");var o="tooltipster-"+r.options.animation,a="-webkit-transition-duration: "+r.options.speed+"ms; -webkit-animation-duration: "+r.options.speed+"ms; -moz-transition-duration: "+r.options.speed+"ms; -moz-animation-duration: "+r.options.speed+"ms; -o-transition-duration: "+r.options.speed+"ms; -o-animation-duration: "+r.options.speed+"ms; -ms-transition-duration: "+r.options.speed+"ms; -ms-animation-duration: "+r.options.speed+"ms; transition-duration: "+r.options.speed+"ms; animation-duration: "+r.options.speed+"ms;",f=r.options.minWidth?"min-width:"+Math.round(r.options.minWidth)+"px;":"",c=r.options.maxWidth?"max-width:"+Math.round(r.options.maxWidth)+"px;":"",h=r.options.interactive?"pointer-events: auto;":"";r.$tooltip=e('<div class="tooltipster-base '+r.options.theme+'" style="'+f+" "+c+" "+h+" "+a+'"><div class="tooltipster-content"></div></div>');if(l())r.$tooltip.addClass(o);r._content_insert();r.$tooltip.appendTo("body");r.reposition();r.options.functionReady.call(r.$el,r.$el,r.$tooltip);if(l()){r.$tooltip.addClass(o+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.css("display","none").fadeIn(r.options.speed,i)}r._interval_set();e(t).on("scroll."+r.namespace+" resize."+r.namespace,function(){r.reposition()});if(r.options.autoClose){e("body").off("."+r.namespace);if(r.options.trigger=="hover"){if(u){setTimeout(function(){e("body").on("touchstart."+r.namespace,function(){r.hide()})},0)}if(r.options.interactive){if(u){r.$tooltip.on("touchstart."+r.namespace,function(e){e.stopPropagation()})}var p=null;r.$elProxy.add(r.$tooltip).on("mouseleave."+r.namespace+"-autoClose",function(){clearTimeout(p);p=setTimeout(function(){r.hide()},r.options.interactiveTolerance)}).on("mouseenter."+r.namespace+"-autoClose",function(){clearTimeout(p)})}else{r.$elProxy.on("mouseleave."+r.namespace+"-autoClose",function(){r.hide()})}}else if(r.options.trigger=="click"){setTimeout(function(){e("body").on("click."+r.namespace+" touchstart."+r.namespace,function(){r.hide()})},0);if(r.options.interactive){r.$tooltip.on("click."+r.namespace+" touchstart."+r.namespace,function(e){e.stopPropagation()})}}}}if(r.options.timer>0){r.timerHide=setTimeout(function(){r.timerHide=null;r.hide()},r.options.timer+s)}}})},_interval_set:function(){var t=this;t.checkInterval=setInterval(function(){if(e("body").find(t.$el).length===0||e("body").find(t.$elProxy).length===0||t.Status=="hidden"||e("body").find(t.$tooltip).length===0){if(t.Status=="shown"||t.Status=="appearing")t.hide();t._interval_cancel()}else{if(t.options.positionTracker){var n=t._repositionInfo(t.$elProxy),r=false;if(o(n.dimension,t.elProxyPosition.dimension)){if(t.$elProxy.css("position")==="fixed"){if(o(n.position,t.elProxyPosition.position))r=true}else{if(o(n.offset,t.elProxyPosition.offset))r=true}}if(!r){t.reposition()}}}},200)},_interval_cancel:function(){clearInterval(this.checkInterval);this.checkInterval=null},_content_set:function(e){if(typeof e==="object"&&e!==null&&this.options.contentCloning){e=e.clone(true)}this.Content=e},_content_insert:function(){var e=this,t=this.$tooltip.find(".tooltipster-content");if(typeof e.Content==="string"&&!e.options.contentAsHTML){t.text(e.Content)}else{t.empty().append(e.Content)}},_update:function(e){var t=this;t._content_set(e);if(t.Content!==null){if(t.Status!=="hidden"){t._content_insert();t.reposition();if(t.options.updateAnimation){if(l()){t.$tooltip.css({width:"","-webkit-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!="hidden"){t.$tooltip.removeClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!=="hidden"){t.$tooltip.css({"-webkit-transition":t.options.speed+"ms","-moz-transition":t.options.speed+"ms","-o-transition":t.options.speed+"ms","-ms-transition":t.options.speed+"ms",transition:t.options.speed+"ms"})}},t.options.speed)}},t.options.speed)}else{t.$tooltip.fadeTo(t.options.speed,.5,function(){if(t.Status!="hidden"){t.$tooltip.fadeTo(t.options.speed,1)}})}}}}else{t.hide()}},_repositionInfo:function(e){return{dimension:{height:e.outerHeight(false),width:e.outerWidth(false)},offset:e.offset(),position:{left:parseInt(e.css("left")),top:parseInt(e.css("top"))}}},hide:function(n){var r=this;if(n)r.callbacks.hide.push(n);r.callbacks.show=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;var i=function(){e.each(r.callbacks.hide,function(e,t){t.call(r.$el)});r.callbacks.hide=[]};if(r.Status=="shown"||r.Status=="appearing"){r.Status="disappearing";var s=function(){r.Status="hidden";if(typeof r.Content=="object"&&r.Content!==null){r.Content.detach()}r.$tooltip.remove();r.$tooltip=null;e(t).off("."+r.namespace);e("body").off("."+r.namespace).css("overflow-x",r.bodyOverflowX);e("body").off("."+r.namespace);r.$elProxy.off("."+r.namespace+"-autoClose");r.options.functionAfter.call(r.$el,r.$el);i()};if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-"+r.options.animation+"-show").addClass("tooltipster-dying");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(s)}else{r.$tooltip.stop().fadeOut(r.options.speed,s)}}else if(r.Status=="hidden"){i()}return r},show:function(e){this._showNow(e);return this},update:function(e){return this.content(e)},content:function(e){if(typeof e==="undefined"){return this.Content}else{this._update(e);return this}},reposition:function(){var n=this;if(e("body").find(n.$tooltip).length!==0){n.$tooltip.css("width","");n.elProxyPosition=n._repositionInfo(n.$elProxy);var r=null,i=e(t).width(),s=n.elProxyPosition,o=n.$tooltip.outerWidth(false),u=n.$tooltip.innerWidth()+1,a=n.$tooltip.outerHeight(false);if(n.$elProxy.is("area")){var f=n.$elProxy.attr("shape"),l=n.$elProxy.parent().attr("name"),c=e('img[usemap="#'+l+'"]'),h=c.offset().left,p=c.offset().top,d=n.$elProxy.attr("coords")!==undefined?n.$elProxy.attr("coords").split(","):undefined;if(f=="circle"){var v=parseInt(d[0]),m=parseInt(d[1]),g=parseInt(d[2]);s.dimension.height=g*2;s.dimension.width=g*2;s.offset.top=p+m-g;s.offset.left=h+v-g}else if(f=="rect"){var v=parseInt(d[0]),m=parseInt(d[1]),y=parseInt(d[2]),b=parseInt(d[3]);s.dimension.height=b-m;s.dimension.width=y-v;s.offset.top=p+m;s.offset.left=h+v}else if(f=="poly"){var w=[],E=[],S=0,x=0,T=0,N=0,C="even";for(var k=0;k<d.length;k++){var L=parseInt(d[k]);if(C=="even"){if(L>T){T=L;if(k===0){S=T}}if(L<S){S=L}C="odd"}else{if(L>N){N=L;if(k==1){x=N}}if(L<x){x=L}C="even"}}s.dimension.height=N-x;s.dimension.width=T-S;s.offset.top=p+x;s.offset.left=h+S}else{s.dimension.height=c.outerHeight(false);s.dimension.width=c.outerWidth(false);s.offset.top=p;s.offset.left=h}}var A=0,O=0,M=0,_=parseInt(n.options.offsetY),D=parseInt(n.options.offsetX),P=n.options.position;function H(){var n=e(t).scrollLeft();if(A-n<0){r=A-n;A=n}if(A+o-n>i){r=A-(i+n-o);A=i+n-o}}function B(n,r){if(s.offset.top-e(t).scrollTop()-a-_-12<0&&r.indexOf("top")>-1){P=n}if(s.offset.top+s.dimension.height+a+12+_>e(t).scrollTop()+e(t).height()&&r.indexOf("bottom")>-1){P=n;M=s.offset.top-a-_-12}}if(P=="top"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left+D-j/2;M=s.offset.top-a-_-12;H();B("bottom","top")}if(P=="top-left"){A=s.offset.left+D;M=s.offset.top-a-_-12;H();B("bottom-left","top-left")}if(P=="top-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top-a-_-12;H();B("bottom-right","top-right")}if(P=="bottom"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left-j/2+D;M=s.offset.top+s.dimension.height+_+12;H();B("top","bottom")}if(P=="bottom-left"){A=s.offset.left+D;M=s.offset.top+s.dimension.height+_+12;H();B("top-left","bottom-left")}if(P=="bottom-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top+s.dimension.height+_+12;H();B("top-right","bottom-right")}if(P=="left"){A=s.offset.left-D-o-12;O=s.offset.left+D+s.dimension.width+12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A<0&&O+o>i){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=o+A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);A=s.offset.left-D-q-12-I;F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A<0){A=s.offset.left+D+s.dimension.width+12;r="left"}}if(P=="right"){A=s.offset.left+D+s.dimension.width+12;O=s.offset.left-D-o-12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A+o>i&&O<0){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=i-A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A+o>i){A=s.offset.left-D-o-12;r="right"}}if(n.options.arrow){var R="tooltipster-arrow-"+P;if(n.options.arrowColor.length<1){var U=n.$tooltip.css("background-color")}else{var U=n.options.arrowColor}if(!r){r=""}else if(r=="left"){R="tooltipster-arrow-right";r=""}else if(r=="right"){R="tooltipster-arrow-left";r=""}else{r="left:"+Math.round(r)+"px;"}if(P=="top"||P=="top-left"||P=="top-right"){var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}else if(P=="bottom"||P=="bottom-left"||P=="bottom-right"){var z=parseFloat(n.$tooltip.css("border-top-width")),W=n.$tooltip.css("border-top-color")}else if(P=="left"){var z=parseFloat(n.$tooltip.css("border-right-width")),W=n.$tooltip.css("border-right-color")}else if(P=="right"){var z=parseFloat(n.$tooltip.css("border-left-width")),W=n.$tooltip.css("border-left-color")}else{var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}if(z>1){z++}var X="";if(z!==0){var V="",J="border-color: "+W+";";if(R.indexOf("bottom")!==-1){V="margin-top: -"+Math.round(z)+"px;"}else if(R.indexOf("top")!==-1){V="margin-bottom: -"+Math.round(z)+"px;"}else if(R.indexOf("left")!==-1){V="margin-right: -"+Math.round(z)+"px;"}else if(R.indexOf("right")!==-1){V="margin-left: -"+Math.round(z)+"px;"}X='<span class="tooltipster-arrow-border" style="'+V+" "+J+';"></span>'}n.$tooltip.find(".tooltipster-arrow").remove();var K='<div class="'+R+' tooltipster-arrow" style="'+r+'">'+X+'<span style="border-color:'+U+';"></span></div>';n.$tooltip.append(K)}n.$tooltip.css({top:Math.round(M)+"px",left:Math.round(A)+"px"})}return n},enable:function(){this.enabled=true;return this},disable:function(){this.hide();this.enabled=false;return this},destroy:function(){var t=this;t.hide();if(t.$el[0]!==t.$elProxy[0])t.$elProxy.remove();t.$el.removeData(t.namespace).off("."+t.namespace);var n=t.$el.data("tooltipster-ns");if(n.length===1){var r=typeof t.Content==="string"?t.Content:e("<div></div>").append(t.Content).html();t.$el.removeClass("tooltipstered").attr("title",r).removeData(t.namespace).removeData("tooltipster-ns").off("."+t.namespace)}else{n=e.grep(n,function(e,n){return e!==t.namespace});t.$el.data("tooltipster-ns",n)}return t},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:undefined},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:undefined},option:function(e,t){if(typeof t=="undefined")return this.options[e];else{this.options[e]=t;return this}},status:function(){return this.Status}};e.fn[r]=function(){var t=arguments;if(this.length===0){if(typeof t[0]==="string"){var n=true;switch(t[0]){case"setDefaults":e.extend(i,t[1]);break;default:n=false;break}if(n)return true;else return this}else{return this}}else{if(typeof t[0]==="string"){var r="#*$~&";this.each(function(){var n=e(this).data("tooltipster-ns"),i=n?e(this).data(n[0]):null;if(i){if(typeof i[t[0]]==="function"){var s=i[t[0]](t[1],t[2])}else{throw new Error('Unknown method .tooltipster("'+t[0]+'")')}if(s!==i){r=s;return false}}else{throw new Error("You called Tooltipster's \""+t[0]+'" method on an uninitialized element')}});return r!=="#*$~&"?r:this}else{var o=[],u=t[0]&&typeof t[0].multiple!=="undefined",a=u&&t[0].multiple||!u&&i.multiple,f=t[0]&&typeof t[0].debug!=="undefined",l=f&&t[0].debug||!f&&i.debug;this.each(function(){var n=false,r=e(this).data("tooltipster-ns"),i=null;if(!r){n=true}else if(a){n=true}else if(l){console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.')}if(n){i=new s(this,t[0]);if(!r)r=[];r.push(i.namespace);e(this).data("tooltipster-ns",r);e(this).data(i.namespace,i)}o.push(i)});if(a)return o;else return this}}};var u=!!("ontouchstart"in t);var a=false;e("body").one("mousemove",function(){a=true})})(jQuery,window,document);
@@ -1 +0,0 @@
1
- !function(e,t){function n(){var e='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert" tabIndex="-1"><div class="icon error"><span class="x-mark"><span class="line left"></span><span class="line right"></span></span></div><div class="icon warning"> <span class="body"></span> <span class="dot"></span> </div> <div class="icon info"></div> <div class="icon success"> <span class="line tip"></span> <span class="line long"></span> <div class="placeholder"></div> <div class="fix"></div> </div> <div class="icon custom"></div> <h2>Title</h2><p>Text</p><button class="cancel" tabIndex="2">Cancel</button><button class="confirm" tabIndex="1">OK</button></div>',n=t.createElement("div");n.innerHTML=e,t.body.appendChild(n)}function o(t){var n=y(),o=n.querySelector("h2"),r=n.querySelector("p"),a=n.querySelector("button.cancel"),c=n.querySelector("button.confirm");if(o.innerHTML=b(t.title).split("\n").join("<br>"),r.innerHTML=b(t.text||"").split("\n").join("<br>"),t.text&&w(r),x(n.querySelectorAll(".icon")),t.type){for(var l=!1,s=0;s<f.length;s++)if(t.type===f[s]){l=!0;break}if(!l)return e.console.error("Unknown alert type: "+t.type),!1;var u=n.querySelector(".icon."+t.type);switch(w(u),t.type){case"success":g(u,"animate"),g(u.querySelector(".tip"),"animateSuccessTip"),g(u.querySelector(".long"),"animateSuccessLong");break;case"error":g(u,"animateErrorIcon"),g(u.querySelector(".x-mark"),"animateXMark");break;case"warning":g(u,"pulseWarning"),g(u.querySelector(".body"),"pulseWarningIns"),g(u.querySelector(".dot"),"pulseWarningIns")}}if(t.imageUrl){var d=n.querySelector(".icon.custom");d.style.backgroundImage="url("+t.imageUrl+")",w(d);var p=80,m=80;if(t.imageSize){var v=t.imageSize.split("x")[0],h=t.imageSize.split("x")[1];v&&h?(p=v,m=h,d.css({width:v+"px",height:h+"px"})):e.console.error("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+t.imageSize)}d.setAttribute("style",d.getAttribute("style")+"width:"+p+"px; height:"+m+"px")}n.setAttribute("data-has-cancel-button",t.showCancelButton),t.showCancelButton?a.style.display="inline-block":x(a),t.cancelButtonText&&(a.innerHTML=b(t.cancelButtonText)),t.confirmButtonText&&(c.innerHTML=b(t.confirmButtonText)),c.style.backgroundColor=t.confirmButtonColor,i(c,t.confirmButtonColor),n.setAttribute("data-allow-ouside-click",t.allowOutsideClick);var S=t.doneFunction?!0:!1;n.setAttribute("data-has-done-function",S)}function r(e,t){e=String(e).replace(/[^0-9a-f]/gi,""),e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;var n="#",o,r;for(r=0;3>r;r++)o=parseInt(e.substr(2*r,2),16),o=Math.round(Math.min(Math.max(0,o+o*t),255)).toString(16),n+=("00"+o).substr(o.length);return n}function a(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?parseInt(t[1],16)+", "+parseInt(t[2],16)+", "+parseInt(t[3],16):null}function i(e,t){var n=a(t);e.style.boxShadow="0 0 2px rgba("+n+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)"}function c(){var e=y();B(p(),10),w(e),g(e,"showSweetAlert"),v(e,"hideSweetAlert"),I=t.activeElement;var n=e.querySelector("button.confirm");n.focus(),setTimeout(function(){g(e,"visible")},500)}function l(){var n=y();T(p(),5),T(n,5),v(n,"showSweetAlert"),g(n,"hideSweetAlert"),v(n,"visible");var o=n.querySelector(".icon.success");v(o,"animate"),v(o.querySelector(".tip"),"animateSuccessTip"),v(o.querySelector(".long"),"animateSuccessLong");var r=n.querySelector(".icon.error");v(r,"animateErrorIcon"),v(r.querySelector(".x-mark"),"animateXMark");var a=n.querySelector(".icon.warning");v(a,"pulseWarning"),v(a.querySelector(".body"),"pulseWarningIns"),v(a.querySelector(".dot"),"pulseWarningIns"),e.onkeydown=M,t.onclick=A,I&&I.focus(),L=void 0}function s(){var e=y();e.style.marginTop=C(y())}var u=".sweet-alert",d=".sweet-overlay",f=["error","warning","info","success"],y=function(){return t.querySelector(u)},p=function(){return t.querySelector(d)},m=function(e,t){return new RegExp(" "+t+" ").test(" "+e.className+" ")},g=function(e,t){m(e,t)||(e.className+=" "+t)},v=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(m(e,t)){for(;n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},b=function(e){var n=t.createElement("div");return n.appendChild(t.createTextNode(e)),n.innerHTML},h=function(e){e.style.opacity="",e.style.display="block"},w=function(e){if(e&&!e.length)return h(e);for(var t=0;t<e.length;++t)h(e[t])},S=function(e){e.style.opacity="",e.style.display="none"},x=function(e){if(e&&!e.length)return S(e);for(var t=0;t<e.length;++t)S(e[t])},k=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},C=function(e){e.style.left="-9999px",e.style.display="block";var t=e.clientHeight,n=parseInt(getComputedStyle(e).getPropertyValue("padding"),10);return e.style.left="",e.style.display="none","-"+parseInt(t/2+n)+"px"},B=function(e,t){t=t||16,e.style.opacity=0,e.style.display="block";var n=+new Date,o=function(){e.style.opacity=+e.style.opacity+(new Date-n)/100,n=+new Date,+e.style.opacity<1&&setTimeout(o,t)};o()},T=function(e,t){t=t||16,e.style.opacity=1;var n=+new Date,o=function(){e.style.opacity=+e.style.opacity-(new Date-n)/100,n=+new Date,+e.style.opacity>0?setTimeout(o,t):e.style.display="none"};o()},E=function(n){if(MouseEvent){var o=new MouseEvent("click",{view:e,bubbles:!1,cancelable:!0});n.dispatchEvent(o)}else if(t.createEvent){var r=t.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r)}else t.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},q=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):e.event&&e.event.hasOwnProperty("cancelBubble")&&(e.event.cancelBubble=!0)},I,A,M,L;e.sweetAlert=e.swal=function(){function n(e){var t=e.keyCode||e.which;if(-1!==[9,13,32,27].indexOf(t)){for(var n=e.target||e.srcElement,o=-1,r=0;r<h.length;r++)if(n===h[r]){o=r;break}9===t?(n=-1===o?v:o===h.length-1?h[0]:h[o+1],q(e),n.focus(),i(n,u.confirmButtonColor)):(n=13===t||32===t?-1===o?v:void 0:27!==t||b.hidden||"none"===b.style.display?void 0:b,void 0!==n&&E(n,e))}}function a(e){var t=e.target||e.srcElement,n=e.relatedTarget,o=m(d,"visible");if(o){var r=-1;if(null!==n){for(var a=0;a<h.length;a++)if(n===h[a]){r=a;break}-1===r&&t.focus()}else L=t}}var u={title:"",text:"",type:null,allowOutsideClick:!1,showCancelButton:!1,confirmButtonText:"OK",confirmButtonColor:"#AEDEF4",cancelButtonText:"Cancel",imageUrl:null,imageSize:null};if(void 0===arguments[0])return e.console.error("sweetAlert expects at least 1 attribute!"),!1;switch(typeof arguments[0]){case"string":u.title=arguments[0],u.text=arguments[1]||"",u.type=arguments[2]||"";break;case"object":if(void 0===arguments[0].title)return e.console.error('Missing "title" argument!'),!1;u.title=arguments[0].title,u.text=arguments[0].text||u.text,u.type=arguments[0].type||u.type,u.allowOutsideClick=arguments[0].allowOutsideClick||u.allowOutsideClick,u.showCancelButton=arguments[0].showCancelButton||u.showCancelButton,u.confirmButtonText=u.showCancelButton?"Confirm":u.confirmButtonText,u.confirmButtonText=arguments[0].confirmButtonText||u.confirmButtonText,u.confirmButtonColor=arguments[0].confirmButtonColor||u.confirmButtonColor,u.cancelButtonText=arguments[0].cancelButtonText||u.cancelButtonText,u.imageUrl=arguments[0].imageUrl||u.imageUrl,u.imageSize=arguments[0].imageSize||u.imageSize,u.doneFunction=arguments[1]||null;break;default:return e.console.error('Unexpected type of argument! Expected "string" or "object", got '+typeof arguments[0]),!1}o(u),s(),c();for(var d=y(),f=function(e){var t=e.target||e.srcElement,n="confirm"===t.className,o=m(d,"visible"),a=u.doneFunction&&"true"===d.getAttribute("data-has-done-function");switch(e.type){case"mouseover":n&&(e.target.style.backgroundColor=r(u.confirmButtonColor,-.04));break;case"mouseout":n&&(e.target.style.backgroundColor=u.confirmButtonColor);break;case"mousedown":n&&(e.target.style.backgroundColor=r(u.confirmButtonColor,-.14));break;case"mouseup":n&&(e.target.style.backgroundColor=r(u.confirmButtonColor,-.04));break;case"focus":var i=d.querySelector("button.confirm"),c=d.querySelector("button.cancel");n?c.style.boxShadow="none":i.style.boxShadow="none";break;case"click":n&&a&&o&&u.doneFunction(),l()}},p=d.querySelectorAll("button"),g=0;g<p.length;g++)p[g].onclick=f,p[g].onmouseover=f,p[g].onmouseout=f,p[g].onmousedown=f,p[g].onfocus=f;A=t.onclick,t.onclick=function(e){var t=e.target||e.srcElement,n=d===t,o=k(d,e.target),r=m(d,"visible"),a="true"===d.getAttribute("data-allow-ouside-click");!n&&!o&&r&&a&&l()};var v=d.querySelector("button.confirm"),b=d.querySelector("button.cancel"),h=d.querySelectorAll("button:not([type=hidden])");M=e.onkeydown,e.onkeydown=n,v.onblur=a,b.onblur=a,e.onfocus=function(){e.setTimeout(function(){void 0!==L&&(L.focus(),L=void 0)},0)}},function(){"complete"===t.readyState||"interactive"===t.readyState?n():t.addEventListener?t.addEventListener("DOMContentLoaded",function e(){t.removeEventListener("DOMContentLoaded",arguments.callee,!1),n()},!1):t.attachEvent&&t.attachEvent("onreadystatechange",function(){"complete"===t.readyState&&(t.detachEvent("onreadystatechange",arguments.callee),n())})}()}(window,document);
@@ -1,1450 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- //
6
-
7
- // Table of Contents
8
- // Foundation Settings
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
- // - - - - - - - - - - - - - - - - - - - - - - - - -
53
-
54
- // This is the default html and body font-size for the base rem value.
55
- // $rem-base: 16px;
56
-
57
- // Allows the use of rem-calc() or lower-bound() in your settings
58
- @import "foundation/functions";
59
-
60
- // The default font-size is set to 100% of the browser style sheet (usually 16px)
61
- // for compatibility with browser-based text zoom or user-set defaults.
62
-
63
- // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
64
- // If you want your base font-size to be different and not have it affect the grid breakpoints,
65
- // set $rem-base to $base-font-size and make sure $base-font-size is a px value.
66
- // $base-font-size: 100%;
67
-
68
- // The $base-font-size is 100% while $base-line-height is 150%
69
- // $base-line-height: 150%;
70
-
71
- // We use this to control whether or not CSS classes come through in the gem files.
72
- $include-html-classes: true;
73
- // $include-print-styles: true;
74
- $include-html-global-classes: $include-html-classes;
75
-
76
- // b. Grid
77
- // - - - - - - - - - - - - - - - - - - - - - - - - -
78
-
79
- // $include-html-grid-classes: $include-html-classes;
80
- // $include-xl-html-grid-classes: false;
81
-
82
- // $row-width: rem-calc(1000);
83
- // $total-columns: 12;
84
- $column-gutter: 2rem;
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
- // Global
94
-
95
- // We use these to define default font weights
96
- // $font-weight-normal: normal !default;
97
- // $font-weight-bold: bold !default;
98
-
99
- // We use these to control various global styles
100
- // $body-bg: $white;
101
- // $body-font-color: $jet;
102
- $body-font-family: $font-family;
103
- // $body-font-weight: $font-weight-normal;
104
- // $body-font-style: normal;
105
-
106
- // We use this to control font-smoothing
107
- // $font-smoothing: antialiased;
108
-
109
- // We use these to control text direction settings
110
- // $text-direction: ltr;
111
- // $opposite-direction: right;
112
- // $default-float: left;
113
- // $last-child-float: $opposite-direction;
114
-
115
- // We use these as default colors throughout
116
- // $primary-color: #008CBA;
117
- // $secondary-color: #e7e7e7;
118
- $alert-color: $red;
119
- $success-color: $blue;
120
- $warning-color: $yellow;
121
- // $info-color: #a0d3e8;
122
-
123
- // $white : #FFFFFF;
124
- // $ghost : #FAFAFA;
125
- // $snow : #F9F9F9;
126
- // $vapor : #F6F6F6;
127
- // $white-smoke : #F5F5F5;
128
- // $silver : #EFEFEF;
129
- // $smoke : #EEEEEE;
130
- // $gainsboro : #DDDDDD;
131
- // $iron : #CCCCCC;
132
- // $base : #AAAAAA;
133
- // $aluminum : #999999;
134
- // $jumbo : #888888;
135
- // $monsoon : #777777;
136
- // $steel : #666666;
137
- // $charcoal : #555555;
138
- // $tuatara : #444444;
139
- // $oil : #333333;
140
- // $jet : #222222;
141
- // $black : #000000;
142
-
143
- // We use these to make sure border radius matches unless we want it different.
144
- // $global-rounded: 1000px;
145
-
146
- // We use these to control inset shadow shiny edges and depressions.
147
- // $shiny-edge-size: 0 1px 0;
148
- // $shiny-edge-color: rgba($white, .5);
149
- // $shiny-edge-active-color: rgba($black, .2);
150
-
151
- // d. Media Query Ranges
152
- // - - - - - - - - - - - - - - - - - - - - - - - - -
153
-
154
- $small-range: (0em, 40em);
155
- $medium-range: (40.063em, 64em);
156
- $large-range: (64.063em, 90em);
157
- $xlarge-range: (90.063em, 120em);
158
- $xxlarge-range: (120.063em, 99999999em);
159
-
160
- $screen: "only screen";
161
-
162
- $landscape: "#{$screen} and (orientation: landscape)";
163
- $portrait: "#{$screen} and (orientation: portrait)";
164
-
165
- $small-up: $screen;
166
- $small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})";
167
-
168
- $medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})";
169
- $medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})";
170
-
171
- $large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})";
172
- $large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})";
173
-
174
- $xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})";
175
- $xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})";
176
-
177
- $xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})";
178
- $xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})";
179
-
180
- // Legacy
181
- // $small: $medium-up;
182
- // $medium: $medium-up;
183
- // $large: $large-up;
184
-
185
- // We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
186
- // $cursor-crosshair-value: crosshair;
187
- // $cursor-default-value: default;
188
- // $cursor-pointer-value: pointer;
189
- // $cursor-help-value: help;
190
- // $cursor-text-value: text;
191
-
192
- // e. Typography
193
- // - - - - - - - - - - - - - - - - - - - - - - - - -
194
-
195
- // $include-html-type-classes: $include-html-classes;
196
-
197
- // We use these to control header font styles
198
- // $header-font-family: $body-font-family;
199
- // $header-font-weight: $font-weight-normal;
200
- // $header-font-style: normal;
201
- // $header-font-color: $jet;
202
- // $header-line-height: 1.4;
203
- // $header-top-margin: .2rem;
204
- // $header-bottom-margin: .5rem;
205
- // $header-text-rendering: optimizeLegibility;
206
-
207
- // We use these to control header font sizes
208
- // $h1-font-size: rem-calc(44);
209
- // $h2-font-size: rem-calc(37);
210
- // $h3-font-size: rem-calc(27);
211
- // $h4-font-size: rem-calc(23);
212
- // $h5-font-size: rem-calc(18);
213
- // $h6-font-size: 1rem;
214
-
215
- // We use these to control header size reduction on small screens
216
- // $h1-font-reduction: rem-calc(10) !default;
217
- // $h2-font-reduction: rem-calc(10) !default;
218
- // $h3-font-reduction: rem-calc(5) !default;
219
- // $h4-font-reduction: rem-calc(5) !default;
220
- // $h5-font-reduction: 0 !default;
221
- // $h6-font-reduction: 0 !default;
222
-
223
- // These control how subheaders are styled.
224
- // $subheader-line-height: 1.4;
225
- // $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
226
- // $subheader-font-weight: $font-weight-normal;
227
- // $subheader-top-margin: .2rem;
228
- // $subheader-bottom-margin: .5rem;
229
-
230
- // A general <small> styling
231
- $small-font-size: 0.75rem;
232
- // $small-font-color: scale-color($header-font-color, $lightness: 35%);
233
-
234
- // We use these to style paragraphs
235
- // $paragraph-font-family: inherit;
236
- // $paragraph-font-weight: $font-weight-normal;
237
- // $paragraph-font-size: 1rem;
238
- $paragraph-line-height: 1.4;
239
- // $paragraph-margin-bottom: rem-calc(20);
240
- // $paragraph-aside-font-size: rem-calc(14);
241
- $paragraph-aside-line-height: 1.4;
242
- // $paragraph-aside-font-style: italic;
243
- // $paragraph-text-rendering: optimizeLegibility;
244
-
245
- // We use these to style <code> tags
246
- // $code-color: $oil;
247
- // $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
248
- // $code-font-weight: $font-weight-normal;
249
- // $code-background-color: scale-color($secondary-color, $lightness: 70%);
250
- // $code-border-size: 1px;
251
- // $code-border-style: solid;
252
- // $code-border-color: scale-color($code-background-color, $lightness: -10%);
253
- // $code-padding: rem-calc(2) rem-calc(5) rem-calc(1);
254
-
255
- // We use these to style anchors
256
- // $anchor-text-decoration: none;
257
- // $anchor-text-decoration-hover: none;
258
- // $anchor-font-color: $primary-color;
259
- // $anchor-font-color-hover: scale-color($primary-color, $lightness: -14%);
260
-
261
- // We use these to style the <hr> element
262
- // $hr-border-width: 1px;
263
- // $hr-border-style: solid;
264
- // $hr-border-color: $gainsboro;
265
- // $hr-margin: rem-calc(20);
266
-
267
- // We use these to style lists
268
- // $list-font-family: $paragraph-font-family;
269
- // $list-font-size: $paragraph-font-size;
270
- // $list-line-height: $paragraph-line-height;
271
- // $list-margin-bottom: $paragraph-margin-bottom;
272
- // $list-style-position: outside;
273
- // $list-side-margin: 1.1rem;
274
- // $list-ordered-side-margin: 1.4rem;
275
- // $list-side-margin-no-bullet: 0;
276
- // $list-nested-margin: rem-calc(20);
277
- // $definition-list-header-weight: $font-weight-bold;
278
- // $definition-list-header-margin-bottom: .3rem;
279
- // $definition-list-margin-bottom: rem-calc(12);
280
-
281
- // We use these to style blockquotes
282
- // $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
283
- // $blockquote-padding: rem-calc(9 20 0 19);
284
- // $blockquote-border: 1px solid $gainsboro;
285
- // $blockquote-cite-font-size: rem-calc(13);
286
- // $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
287
- // $blockquote-cite-link-color: $blockquote-cite-font-color;
288
-
289
- // Acronym styles
290
- // $acronym-underline: 1px dotted $gainsboro;
291
-
292
- // We use these to control padding and margin
293
- // $microformat-padding: rem-calc(10 12);
294
- // $microformat-margin: rem-calc(0 0 20 0);
295
-
296
- // We use these to control the border styles
297
- // $microformat-border-width: 1px;
298
- // $microformat-border-style: solid;
299
- // $microformat-border-color: $gainsboro;
300
-
301
- // We use these to control full name font styles
302
- // $microformat-fullname-font-weight: $font-weight-bold;
303
- // $microformat-fullname-font-size: rem-calc(15);
304
-
305
- // We use this to control the summary font styles
306
- // $microformat-summary-font-weight: $font-weight-bold;
307
-
308
- // We use this to control abbr padding
309
- // $microformat-abbr-padding: rem-calc(0 1);
310
-
311
- // We use this to control abbr font styles
312
- // $microformat-abbr-font-weight: $font-weight-bold;
313
- // $microformat-abbr-font-decoration: none;
314
-
315
-
316
- // 01. Accordion
317
- // - - - - - - - - - - - - - - - - - - - - - - - - -
318
-
319
- // $include-html-accordion-classes: $include-html-classes;
320
-
321
- // $accordion-navigation-padding: rem-calc(16);
322
- // $accordion-navigation-bg-color: $silver ;
323
- // $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
324
- // $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
325
- // $accordion-navigation-font-color: $jet;
326
- // $accordion-navigation-font-size: rem-calc(16);
327
- // $accordion-navigation-font-family: $body-font-family;
328
-
329
- // $accordion-content-padding: $column-gutter/2;
330
- // $accordion-content-active-bg-color: $white;
331
-
332
- // 02. Alert Boxes
333
- // - - - - - - - - - - - - - - - - - - - - - - - - -
334
-
335
- // $include-html-alert-classes: $include-html-classes;
336
-
337
- // We use this to control alert padding.
338
- // $alert-padding-top: rem-calc(14);
339
- // $alert-padding-default-float: $alert-padding-top;
340
- // $alert-padding-opposite-direction: $alert-padding-top + rem-calc(10);
341
- // $alert-padding-bottom: $alert-padding-top;
342
-
343
- // We use these to control text style.
344
- // $alert-font-weight: $font-weight-normal;
345
- // $alert-font-size: rem-calc(13);
346
- // $alert-font-color: $white;
347
- // $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
348
-
349
- // We use this for close hover effect.
350
- // $alert-function-factor: -14%;
351
-
352
- // We use these to control border styles.
353
- // $alert-border-style: solid;
354
- // $alert-border-width: 1px;
355
- // $alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
356
- // $alert-bottom-margin: rem-calc(20);
357
-
358
- // We use these to style the close buttons
359
- // $alert-close-color: $oil;
360
- // $alert-close-top: 50%;
361
- // $alert-close-position: rem-calc(4);
362
- // $alert-close-font-size: rem-calc(22);
363
- // $alert-close-opacity: 0.3;
364
- // $alert-close-opacity-hover: 0.5;
365
- // $alert-close-padding: 9px 6px 4px;
366
-
367
- // We use this to control border radius
368
- // $alert-radius: $global-radius;
369
-
370
- // We use this to control transition effects
371
- // $alert-transition-speed: 300ms;
372
- // $alert-transition-ease: ease-out;
373
-
374
- // 03. Block Grid
375
- // - - - - - - - - - - - - - - - - - - - - - - - - -
376
-
377
- // $include-html-block-grid-classes: $include-html-classes;
378
- // $include-xl-html-block-grid-classes: false;
379
-
380
- // We use this to control the maximum number of block grid elements per row
381
- // $block-grid-elements: 12;
382
- // $block-grid-default-spacing: rem-calc(20);
383
- // $align-block-grid-to-grid: false;
384
-
385
-
386
- // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
387
- // $block-grid-media-queries: true;
388
-
389
- // 04. Breadcrumbs
390
- // - - - - - - - - - - - - - - - - - - - - - - - - -
391
-
392
- // $include-html-nav-classes: $include-html-classes;
393
-
394
- // We use this to set the background color for the breadcrumb container.
395
- // $crumb-bg: scale-color($secondary-color, $lightness: 55%);
396
-
397
- // We use these to set the padding around the breadcrumbs.
398
- // $crumb-padding: rem-calc(9 14 9);
399
- // $crumb-side-padding: rem-calc(12);
400
-
401
- // We use these to control border styles.
402
- // $crumb-function-factor: -10%;
403
- // $crumb-border-size: 1px;
404
- // $crumb-border-style: solid;
405
- // $crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor);
406
- // $crumb-radius: $global-radius;
407
-
408
- // We use these to set various text styles for breadcrumbs.
409
- // $crumb-font-size: rem-calc(11);
410
- // $crumb-font-color: $primary-color;
411
- // $crumb-font-color-current: $oil;
412
- // $crumb-font-color-unavailable: $aluminum;
413
- // $crumb-font-transform: uppercase;
414
- // $crumb-link-decor: underline;
415
-
416
- // We use these to control the slash between breadcrumbs
417
- // $crumb-slash-color: $base;
418
- // $crumb-slash: "/";
419
-
420
- // 05. Buttons
421
- // - - - - - - - - - - - - - - - - - - - - - - - - -
422
-
423
- // $include-html-button-classes: $include-html-classes;
424
-
425
- // We use these to build padding for buttons.
426
- // $button-tny: rem-calc(10);
427
- // $button-sml: rem-calc(14);
428
- // $button-med: rem-calc(16);
429
- // $button-lrg: rem-calc(18);
430
-
431
- // We use this to control the display property.
432
- // $button-display: inline-block;
433
- // $button-margin-bottom: rem-calc(20);
434
-
435
- // We use these to control button text styles.
436
- // $button-font-family: $body-font-family;
437
- // $button-font-color: $white;
438
- // $button-font-color-alt: $oil;
439
- // $button-font-tny: rem-calc(11);
440
- // $button-font-sml: rem-calc(13);
441
- // $button-font-med: rem-calc(16);
442
- // $button-font-lrg: rem-calc(20);
443
- // $button-font-weight: $font-weight-normal;
444
- // $button-font-align: center;
445
-
446
- // We use these to control various hover effects.
447
- // $button-function-factor: -20%;
448
-
449
- // We use these to control button border and hover styles.
450
- // $button-border-width: 0px;
451
- // $button-border-style: solid;
452
- // $button-bg-color: $primary-color;
453
- // $button-bg-hover: scale-color($button-bg-color, $lightness: $button-function-factor);
454
- // $button-border-color: $button-bg-hover;
455
- // $secondary-button-bg-hover: scale-color($secondary-color, $lightness: $button-function-factor);
456
- // $secondary-button-border-color: $secondary-button-bg-hover;
457
- // $success-button-bg-hover: scale-color($success-color, $lightness: $button-function-factor);
458
- // $success-button-border-color: $success-button-bg-hover;
459
- // $alert-button-bg-hover: scale-color($alert-color, $lightness: $button-function-factor);
460
- // $alert-button-border-color: $alert-button-bg-hover;
461
-
462
- // We use this to set the default radius used throughout the core.
463
- // $button-radius: $global-radius;
464
- // $button-round: $global-rounded;
465
-
466
- // We use this to set default opacity and cursor for disabled buttons.
467
- // $button-disabled-opacity: 0.7;
468
- // $button-disabled-cursor: $cursor-default-value;
469
-
470
- // 06. Button Groups
471
- // - - - - - - - - - - - - - - - - - - - - - - - - -
472
-
473
- // $include-html-button-classes: $include-html-classes;
474
-
475
- // Sets the margin for the right side by default, and the left margin if right-to-left direction is used
476
- // $button-bar-margin-opposite: rem-calc(10);
477
- // $button-group-border-width: 1px;
478
-
479
- // 07. Clearing
480
- // - - - - - - - - - - - - - - - - - - - - - - - - -
481
-
482
- // $include-html-clearing-classes: $include-html-classes;
483
-
484
- // We use these to set the background colors for parts of Clearing.
485
- // $clearing-bg: $oil;
486
- // $clearing-caption-bg: $clearing-bg;
487
- // $clearing-carousel-bg: rgba(51,51,51,0.8);
488
- // $clearing-img-bg: $clearing-bg;
489
-
490
- // We use these to style the close button
491
- // $clearing-close-color: $iron;
492
- // $clearing-close-size: 30px;
493
-
494
- // We use these to style the arrows
495
- // $clearing-arrow-size: 12px;
496
- // $clearing-arrow-color: $clearing-close-color;
497
-
498
- // We use these to style captions
499
- // $clearing-caption-font-color: $iron;
500
- // $clearing-caption-font-size: 0.875em;
501
- // $clearing-caption-padding: 10px 30px 20px;
502
-
503
- // We use these to make the image and carousel height and style
504
- // $clearing-active-img-height: 85%;
505
- // $clearing-carousel-height: 120px;
506
- // $clearing-carousel-thumb-width: 120px;
507
- // $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255);
508
-
509
- // 08. Dropdown
510
- // - - - - - - - - - - - - - - - - - - - - - - - - -
511
-
512
- // $include-html-dropdown-classes: $include-html-classes;
513
-
514
- // We use these to controls height and width styles.
515
- // $f-dropdown-max-width: 200px;
516
- // $f-dropdown-height: auto;
517
- // $f-dropdown-max-height: none;
518
-
519
- // Used for bottom position
520
- // $f-dropdown-margin-top: 2px;
521
-
522
- // Used for right position
523
- // $f-dropdown-margin-left: $f-dropdown-margin-top;
524
-
525
- // Used for left position
526
- // $f-dropdown-margin-right: $f-dropdown-margin-top;
527
-
528
- // Used for top position
529
- // $f-dropdown-margin-bottom: $f-dropdown-margin-top;
530
-
531
- // We use this to control the background color
532
- // $f-dropdown-bg: $white;
533
-
534
- // We use this to set the border styles for dropdowns.
535
- // $f-dropdown-border-style: solid;
536
- // $f-dropdown-border-width: 1px;
537
- // $f-dropdown-border-color: scale-color($white, $lightness: -20%);
538
-
539
- // We use these to style the triangle pip.
540
- // $f-dropdown-triangle-size: 6px;
541
- // $f-dropdown-triangle-color: $white;
542
- // $f-dropdown-triangle-side-offset: 10px;
543
-
544
- // We use these to control styles for the list elements.
545
- // $f-dropdown-list-style: none;
546
- // $f-dropdown-font-color: $charcoal;
547
- // $f-dropdown-font-size: rem-calc(14);
548
- // $f-dropdown-list-padding: rem-calc(5, 10);
549
- // $f-dropdown-line-height: rem-calc(18);
550
- // $f-dropdown-list-hover-bg: $smoke ;
551
- // $dropdown-mobile-default-float: 0;
552
-
553
- // We use this to control the styles for when the dropdown has custom content.
554
- // $f-dropdown-content-padding: rem-calc(20);
555
-
556
- // 09. Dropdown Buttons
557
- // - - - - - - - - - - - - - - - - - - - - - - - - -
558
-
559
- // $include-html-button-classes: $include-html-classes;
560
-
561
- // We use these to set the color of the pip in dropdown buttons
562
- // $dropdown-button-pip-color: $white;
563
- // $dropdown-button-pip-color-alt: $oil;
564
-
565
- // $button-pip-tny: rem-calc(6);
566
- // $button-pip-sml: rem-calc(7);
567
- // $button-pip-med: rem-calc(9);
568
- // $button-pip-lrg: rem-calc(11);
569
-
570
- // We use these to style tiny dropdown buttons
571
- // $dropdown-button-padding-tny: $button-pip-tny * 7;
572
- // $dropdown-button-pip-size-tny: $button-pip-tny;
573
- // $dropdown-button-pip-opposite-tny: $button-pip-tny * 3;
574
- // $dropdown-button-pip-top-tny: -$button-pip-tny / 2 + rem-calc(1);
575
-
576
- // We use these to style small dropdown buttons
577
- // $dropdown-button-padding-sml: $button-pip-sml * 7;
578
- // $dropdown-button-pip-size-sml: $button-pip-sml;
579
- // $dropdown-button-pip-opposite-sml: $button-pip-sml * 3;
580
- // $dropdown-button-pip-top-sml: -$button-pip-sml / 2 + rem-calc(1);
581
-
582
- // We use these to style medium dropdown buttons
583
- // $dropdown-button-padding-med: $button-pip-med * 6 + rem-calc(3);
584
- // $dropdown-button-pip-size-med: $button-pip-med - rem-calc(3);
585
- // $dropdown-button-pip-opposite-med: $button-pip-med * 2.5;
586
- // $dropdown-button-pip-top-med: -$button-pip-med / 2 + rem-calc(2);
587
-
588
- // We use these to style large dropdown buttons
589
- // $dropdown-button-padding-lrg: $button-pip-lrg * 5 + rem-calc(3);
590
- // $dropdown-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
591
- // $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5;
592
- // $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3);
593
-
594
- // 10. Flex Video
595
- // - - - - - - - - - - - - - - - - - - - - - - - - -
596
-
597
- // $include-html-media-classes: $include-html-classes;
598
-
599
- // We use these to control video container padding and margins
600
- // $flex-video-padding-top: rem-calc(25);
601
- // $flex-video-padding-bottom: 67.5%;
602
- // $flex-video-margin-bottom: rem-calc(16);
603
-
604
- // We use this to control widescreen bottom padding
605
- // $flex-video-widescreen-padding-bottom: 56.34%;
606
-
607
- // 11. Forms
608
- // - - - - - - - - - - - - - - - - - - - - - - - - -
609
-
610
- // $include-html-form-classes: $include-html-classes;
611
-
612
- // We use this to set the base for lots of form spacing and positioning styles
613
- // $form-spacing: rem-calc(16);
614
-
615
- // We use these to style the labels in different ways
616
- // $form-label-pointer: pointer;
617
- // $form-label-font-size: rem-calc(14);
618
- // $form-label-font-weight: $font-weight-normal;
619
- // $form-label-line-height: 1.5;
620
- // $form-label-font-color: scale-color($black, $lightness: 30%);
621
- // $form-label-small-transform: capitalize;
622
- // $form-label-bottom-margin: 0;
623
- // $input-font-family: inherit;
624
- // $input-font-color: rgba(0,0,0,0.75);
625
- // $input-font-size: rem-calc(14);
626
- // $input-bg-color: $white;
627
- $input-focus-bg-color: white
628
- // $input-border-color: scale-color($white, $lightness: -20%);
629
- // $input-focus-border-color: scale-color($white, $lightness: -40%);
630
- // $input-border-style: solid;
631
- // $input-border-width: 1px;
632
- // $input-border-radius: $global-radius;
633
- // $input-disabled-bg: $gainsboro;
634
- // $input-disabled-cursor: $cursor-default-value;
635
- // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
636
-
637
- // We use these to style the fieldset border and spacing.
638
- // $fieldset-border-style: solid;
639
- // $fieldset-border-width: 1px;
640
- // $fieldset-border-color: $gainsboro;
641
- // $fieldset-padding: rem-calc(20);
642
- // $fieldset-margin: rem-calc(18 0);
643
-
644
- // We use these to style the legends when you use them
645
- // $legend-bg: $white;
646
- // $legend-font-weight: $font-weight-bold;
647
- // $legend-padding: rem-calc(0 3);
648
-
649
- // We use these to style the prefix and postfix input elements
650
- $input-prefix-bg: $gray-lightest;
651
- $input-prefix-border-color: $gray-lighter;
652
- $input-prefix-border-size: 1px;
653
- $input-prefix-border-type: solid;
654
- $input-prefix-overflow: hidden;
655
- $input-prefix-font-color: $gray-dark;
656
- $input-prefix-font-color-alt: white;
657
-
658
- // We use this setting to turn on/off HTML5 number spinners (the up/down arrows)
659
- // $input-number-spinners: true;
660
-
661
- // We use these to style the error states for inputs and labels
662
- // $input-error-message-padding: rem-calc(6 9 9);
663
- // $input-error-message-top: -1px;
664
- // $input-error-message-font-size: rem-calc(12);
665
- // $input-error-message-font-weight: $font-weight-normal;
666
- // $input-error-message-font-style: italic;
667
- // $input-error-message-font-color: $white;
668
- // $input-error-message-font-color-alt: $oil;
669
-
670
- // We use this to style the glowing effect of inputs when focused
671
- // $input-include-glowing-effect: true;
672
- // $glowing-effect-fade-time: 0.45s;
673
- // $glowing-effect-color: $input-focus-border-color;
674
-
675
- // Select variables
676
- // $select-bg-color: $ghost;
677
- // $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%);
678
-
679
-
680
- // 12. Icon Bar
681
- // - - - - - - - - - - - - - - - - - - - - - - - - -
682
-
683
- // We use these to style the icon-bar and items
684
- // $include-html-icon-bar-classes: $include-html-classes;
685
- // $icon-bar-bg: $oil;
686
- // $icon-bar-font-color: $white;
687
- // $icon-bar-font-size: 1rem;
688
- // $icon-bar-hover-color: $primary-color;
689
- // $icon-bar-icon-color: $white;
690
- // $icon-bar-icon-size: 1.875rem;
691
- // $icon-bar-image-width: 1.875rem;
692
- // $icon-bar-image-height: 1.875rem;
693
- // $icon-bar-active-color: $primary-color;
694
- // $icon-bar-item-padding: 1.25rem;
695
-
696
- // 13. Inline Lists
697
- // - - - - - - - - - - - - - - - - - - - - - - - - -
698
-
699
- // $include-html-inline-list-classes: $include-html-classes;
700
-
701
- // We use this to control the margins and padding of the inline list.
702
- // $inline-list-top-margin: 0;
703
- // $inline-list-opposite-margin: 0;
704
- // $inline-list-bottom-margin: rem-calc(17);
705
- // $inline-list-default-float-margin: rem-calc(-22);
706
- // $inline-list-default-float-list-margin: rem-calc(22);
707
-
708
- // $inline-list-padding: 0;
709
-
710
- // We use this to control the overflow of the inline list.
711
- // $inline-list-overflow: hidden;
712
-
713
- // We use this to control the list items
714
- // $inline-list-display: block;
715
-
716
- // We use this to control any elments within list items
717
- // $inline-list-children-display: block;
718
-
719
- // 14. Joyride
720
- // - - - - - - - - - - - - - - - - - - - - - - - - -
721
-
722
- // $include-html-joyride-classes: $include-html-classes;
723
-
724
- // Controlling default Joyride styles
725
- // $joyride-tip-bg: $oil;
726
- // $joyride-tip-default-width: 300px;
727
- // $joyride-tip-padding: rem-calc(18 20 24);
728
- // $joyride-tip-border: solid 1px $charcoal;
729
- // $joyride-tip-radius: 4px;
730
- // $joyride-tip-position-offset: 22px;
731
-
732
- // Here, we're setting the tip dont styles
733
- // $joyride-tip-font-color: $white;
734
- // $joyride-tip-font-size: rem-calc(14);
735
- // $joyride-tip-header-weight: $font-weight-bold;
736
-
737
- // This changes the nub size
738
- // $joyride-tip-nub-size: 10px;
739
-
740
- // This adjusts the styles for the timer when its enabled
741
- // $joyride-tip-timer-width: 50px;
742
- // $joyride-tip-timer-height: 3px;
743
- // $joyride-tip-timer-color: $steel;
744
-
745
- // This changes up the styles for the close button
746
- // $joyride-tip-close-color: $monsoon;
747
- // $joyride-tip-close-size: 24px;
748
- // $joyride-tip-close-weight: $font-weight-normal;
749
-
750
- // When Joyride is filling the screen, we use this style for the bg
751
- // $joyride-screenfill: rgba(0,0,0,0.5);
752
-
753
- // 15. Keystrokes
754
- // - - - - - - - - - - - - - - - - - - - - - - - - -
755
-
756
- // $include-html-keystroke-classes: $include-html-classes;
757
-
758
- // We use these to control text styles.
759
- // $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
760
- // $keystroke-font-size: inherit;
761
- // $keystroke-font-color: $jet;
762
- // $keystroke-font-color-alt: $white;
763
- // $keystroke-function-factor: -7%;
764
-
765
- // We use this to control keystroke padding.
766
- // $keystroke-padding: rem-calc(2 4 0);
767
-
768
- // We use these to control background and border styles.
769
- // $keystroke-bg: scale-color($white, $lightness: $keystroke-function-factor);
770
- // $keystroke-border-style: solid;
771
- // $keystroke-border-width: 1px;
772
- // $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
773
- // $keystroke-radius: $global-radius;
774
-
775
- // 16. Labels
776
- // - - - - - - - - - - - - - - - - - - - - - - - - -
777
-
778
- // $include-html-label-classes: $include-html-classes;
779
-
780
- // We use these to style the labels
781
- // $label-padding: rem-calc(4 8 6);
782
- // $label-radius: $global-radius;
783
-
784
- // We use these to style the label text
785
- // $label-font-sizing: rem-calc(11);
786
- // $label-font-weight: $font-weight-normal;
787
- // $label-font-color: $oil;
788
- // $label-font-color-alt: $white;
789
- // $label-font-family: $body-font-family;
790
-
791
- // 17. Magellan
792
- // - - - - - - - - - - - - - - - - - - - - - - - - -
793
-
794
- // $include-html-magellan-classes: $include-html-classes;
795
-
796
- // $magellan-bg: $white;
797
- // $magellan-padding: 0 !important;
798
-
799
- // 18. Off-canvas
800
- // - - - - - - - - - - - - - - - - - - - - - - - - -
801
-
802
- // $include-html-off-canvas-classes: $include-html-classes;
803
-
804
- // $tabbar-bg: $oil;
805
- // $tabbar-height: rem-calc(45);
806
- // $tabbar-icon-width: $tabbar-height;
807
- // $tabbar-line-height: $tabbar-height;
808
- // $tabbar-color: $white;
809
- // $tabbar-middle-padding: 0 rem-calc(10);
810
-
811
- // Off Canvas Divider Styles
812
- // $tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%);
813
- // $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
814
-
815
- // Off Canvas Tab Bar Headers
816
- // $tabbar-header-color: $white;
817
- // $tabbar-header-weight: $font-weight-bold;
818
- // $tabbar-header-line-height: $tabbar-height;
819
- // $tabbar-header-margin: 0;
820
-
821
- // Off Canvas Menu Variables
822
- // $off-canvas-width: rem-calc(250);
823
- // $off-canvas-bg: $oil;
824
-
825
- // Off Canvas Menu List Variables
826
- // $off-canvas-label-padding: 0.3rem rem-calc(15);
827
- // $off-canvas-label-color: $aluminum;
828
- // $off-canvas-label-text-transform: uppercase;
829
- // $off-canvas-label-font-size: rem-calc(12);
830
- // $off-canvas-label-font-weight: $font-weight-bold;
831
- // $off-canvas-label-bg: $tuatara;
832
- // $off-canvas-label-border-top: 1px solid scale-color($tuatara, $lightness: 14%);
833
- // $off-canvas-label-border-bottom: none;
834
- // $off-canvas-label-margin:0;
835
- // $off-canvas-link-padding: rem-calc(10, 15);
836
- // $off-canvas-link-color: rgba($white, 0.7);
837
- // $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
838
- // $off-canvas-back-bg: $tuatara;
839
- // $off-canvas-back-border-top: $off-canvas-label-border-top;
840
- // $off-canvas-back-border-bottom: $off-canvas-label-border-bottom;
841
- // $off-canvas-back-hover-bg: scale-color($off-canvas-back-bg, $lightness: -30%);
842
- // $off-canvas-back-hover-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%);
843
- // $off-canvas-back-hover-border-bottom: none;
844
-
845
- // Off Canvas Menu Icon Variables
846
- // $tabbar-menu-icon-color: $white;
847
- // $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
848
-
849
- // $tabbar-menu-icon-text-indent: rem-calc(35);
850
- // $tabbar-menu-icon-width: $tabbar-height;
851
- // $tabbar-menu-icon-height: $tabbar-height;
852
- // $tabbar-menu-icon-padding: 0;
853
-
854
- // $tabbar-hamburger-icon-width: rem-calc(16);
855
- // $tabbar-hamburger-icon-left: false;
856
- // $tabbar-hamburger-icon-top: false;
857
- // $tabbar-hamburger-icon-thickness: 1px;
858
- // $tabbar-hamburger-icon-gap: 6px;
859
-
860
- // Off Canvas Back-Link Overlay
861
- // $off-canvas-overlay-transition: background 300ms ease;
862
- // $off-canvas-overlay-cursor: pointer;
863
- // $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, 0.5), 4px 0 4px rgba($black, 0.5);
864
- // $off-canvas-overlay-background: rgba($white, 0.2);
865
- // $off-canvas-overlay-background-hover: rgba($white, 0.05);
866
-
867
- // Transition Variables
868
- // $menu-slide: "transform 500ms ease";
869
-
870
- // 19. Orbit
871
- // - - - - - - - - - - - - - - - - - - - - - - - - -
872
-
873
- // $include-html-orbit-classes: $include-html-classes;
874
-
875
- // We use these to control the caption styles
876
- // $orbit-container-bg: none;
877
- // $orbit-caption-bg: rgba(51,51,51, 0.8);
878
- // $orbit-caption-font-color: $white;
879
- // $orbit-caption-font-size: rem-calc(14);
880
- // $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
881
- // $orbit-caption-padding: rem-calc(10 14);
882
- // $orbit-caption-height: auto;
883
-
884
- // We use these to control the left/right nav styles
885
- // $orbit-nav-bg: transparent;
886
- // $orbit-nav-bg-hover: rgba(0,0,0,0.3);
887
- // $orbit-nav-arrow-color: $white;
888
- // $orbit-nav-arrow-color-hover: $white;
889
-
890
- // We use these to control the timer styles
891
- // $orbit-timer-bg: rgba(255,255,255,0.3);
892
- // $orbit-timer-show-progress-bar: true;
893
-
894
- // We use these to control the bullet nav styles
895
- // $orbit-bullet-nav-color: $iron;
896
- // $orbit-bullet-nav-color-active: $aluminum;
897
- // $orbit-bullet-radius: rem-calc(9);
898
-
899
- // We use these to controls the style of slide numbers
900
- // $orbit-slide-number-bg: rgba(0,0,0,0);
901
- // $orbit-slide-number-font-color: $white;
902
- // $orbit-slide-number-padding: rem-calc(5);
903
-
904
- // Hide controls on small
905
- // $orbit-nav-hide-for-small: true;
906
- // $orbit-bullet-hide-for-small: true;
907
- // $orbit-timer-hide-for-small: true;
908
-
909
- // Graceful Loading Wrapper and preloader
910
- // $wrapper-class: "slideshow-wrapper";
911
- // $preloader-class: "preloader";
912
-
913
- // 20. Pagination
914
- // - - - - - - - - - - - - - - - - - - - - - - - - -
915
-
916
- // $include-pagination-classes: $include-html-classes;
917
-
918
- // We use these to control the pagination container
919
- // $pagination-height: rem-calc(24);
920
- // $pagination-margin: rem-calc(-5);
921
-
922
- // We use these to set the list-item properties
923
- // $pagination-li-float: $default-float;
924
- // $pagination-li-height: rem-calc(24);
925
- // $pagination-li-font-color: $jet;
926
- // $pagination-li-font-size: rem-calc(14);
927
- // $pagination-li-margin: rem-calc(5);
928
-
929
- // We use these for the pagination anchor links
930
- // $pagination-link-pad: rem-calc(1 10 1);
931
- // $pagination-link-font-color: $aluminum;
932
- // $pagination-link-active-bg: scale-color($white, $lightness: -10%);
933
-
934
- // We use these for disabled anchor links
935
- // $pagination-link-unavailable-cursor: default;
936
- // $pagination-link-unavailable-font-color: $aluminum;
937
- // $pagination-link-unavailable-bg-active: transparent;
938
-
939
- // We use these for currently selected anchor links
940
- // $pagination-link-current-background: $primary-color;
941
- // $pagination-link-current-font-color: $white;
942
- // $pagination-link-current-font-weight: $font-weight-bold;
943
- // $pagination-link-current-cursor: default;
944
- // $pagination-link-current-active-bg: $primary-color;
945
-
946
- // 21. Panels
947
- // - - - - - - - - - - - - - - - - - - - - - - - - -
948
-
949
- // $include-html-panel-classes: $include-html-classes;
950
-
951
- // We use these to control the background and border styles
952
- // $panel-bg: scale-color($white, $lightness: -5%);
953
- // $panel-border-style: solid;
954
- // $panel-border-size: 1px;
955
-
956
- // We use this % to control how much we darken things on hover
957
- // $panel-function-factor: -11%;
958
- // $panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor);
959
-
960
- // We use these to set default inner padding and bottom margin
961
- // $panel-margin-bottom: rem-calc(20);
962
- // $panel-padding: rem-calc(20);
963
-
964
- // We use these to set default font colors
965
- // $panel-font-color: $oil;
966
- // $panel-font-color-alt: $white;
967
-
968
- // $panel-header-adjust: true;
969
- // $callout-panel-link-color: $primary-color;
970
-
971
- // 22. Pricing Tables
972
- // - - - - - - - - - - - - - - - - - - - - - - - - -
973
-
974
- // $include-html-pricing-classes: $include-html-classes;
975
-
976
- // We use this to control the border color
977
- // $price-table-border: solid 1px $gainsboro;
978
-
979
- // We use this to control the bottom margin of the pricing table
980
- // $price-table-margin-bottom: rem-calc(20);
981
-
982
- // We use these to control the title styles
983
- // $price-title-bg: $oil;
984
- // $price-title-padding: rem-calc(15 20);
985
- // $price-title-align: center;
986
- // $price-title-color: $smoke;
987
- // $price-title-weight: $font-weight-normal;
988
- // $price-title-size: rem-calc(16);
989
- // $price-title-font-family: $body-font-family;
990
-
991
- // We use these to control the price styles
992
- // $price-money-bg: $vapor ;
993
- // $price-money-padding: rem-calc(15 20);
994
- // $price-money-align: center;
995
- // $price-money-color: $oil;
996
- // $price-money-weight: $font-weight-normal;
997
- // $price-money-size: rem-calc(32);
998
- // $price-money-font-family: $body-font-family;
999
-
1000
- // We use these to control the description styles
1001
- // $price-bg: $white;
1002
- // $price-desc-color: $monsoon;
1003
- // $price-desc-padding: rem-calc(15);
1004
- // $price-desc-align: center;
1005
- // $price-desc-font-size: rem-calc(12);
1006
- // $price-desc-weight: $font-weight-normal;
1007
- // $price-desc-line-height: 1.4;
1008
- // $price-desc-bottom-border: dotted 1px $gainsboro;
1009
-
1010
- // We use these to control the list item styles
1011
- // $price-item-color: $oil;
1012
- // $price-item-padding: rem-calc(15);
1013
- // $price-item-align: center;
1014
- // $price-item-font-size: rem-calc(14);
1015
- // $price-item-weight: $font-weight-normal;
1016
- // $price-item-bottom-border: dotted 1px $gainsboro;
1017
-
1018
- // We use these to control the CTA area styles
1019
- // $price-cta-bg: $white;
1020
- // $price-cta-align: center;
1021
- // $price-cta-padding: rem-calc(20 20 0);
1022
-
1023
-
1024
- // 23. Progress Bar
1025
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1026
-
1027
- // $include-html-media-classes: $include-html-classes;
1028
-
1029
- // We use this to set the progress bar height
1030
- // $progress-bar-height: rem-calc(25);
1031
- // $progress-bar-color: $vapor ;
1032
-
1033
- // We use these to control the border styles
1034
- // $progress-bar-border-color: scale-color($white, $lightness: 20%);
1035
- // $progress-bar-border-size: 1px;
1036
- // $progress-bar-border-style: solid;
1037
- // $progress-bar-border-radius: $global-radius;
1038
-
1039
- // We use these to control the margin & padding
1040
- // $progress-bar-pad: rem-calc(2);
1041
- // $progress-bar-margin-bottom: rem-calc(10);
1042
-
1043
- // We use these to set the meter colors
1044
- // $progress-meter-color: $primary-color;
1045
- // $progress-meter-secondary-color: $secondary-color;
1046
- // $progress-meter-success-color: $success-color;
1047
- // $progress-meter-alert-color: $alert-color;
1048
-
1049
- // 24. Range Slider
1050
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1051
-
1052
- // $include-html-range-slider-classes: $include-html-classes;
1053
-
1054
- // These variabels define the slider bar styles
1055
- // $range-slider-bar-width: 100%;
1056
- // $range-slider-bar-height: rem-calc(16);
1057
-
1058
- // $range-slider-bar-border-width: 1px;
1059
- // $range-slider-bar-border-style: solid;
1060
- // $range-slider-bar-border-color: $gainsboro;
1061
- // $range-slider-radius: $global-radius;
1062
- // $range-slider-round: $global-rounded;
1063
- // $range-slider-bar-bg-color: $ghost;
1064
-
1065
- // Vertical bar styles
1066
- // $range-slider-vertical-bar-width: rem-calc(16);
1067
- // $range-slider-vertical-bar-height: rem-calc(200);
1068
-
1069
- // These variabels define the slider handle styles
1070
- // $range-slider-handle-width: rem-calc(32);
1071
- // $range-slider-handle-height: rem-calc(22);
1072
- // $range-slider-handle-position-top: rem-calc(-5);
1073
- // $range-slider-handle-bg-color: $primary-color;
1074
- // $range-slider-handle-border-width: 1px;
1075
- // $range-slider-handle-border-style: solid;
1076
- // $range-slider-handle-border-color: none;
1077
- // $range-slider-handle-radius: $global-radius;
1078
- // $range-slider-handle-round: $global-rounded;
1079
- // $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
1080
- // $range-slider-handle-cursor: pointer;
1081
-
1082
- // 25. Reveal
1083
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1084
-
1085
- // $include-html-reveal-classes: $include-html-classes;
1086
-
1087
- // We use these to control the style of the reveal overlay.
1088
- $reveal-overlay-bg: $global-overlay;
1089
- $reveal-overlay-bg-old: $gray-darkest;
1090
-
1091
- // We use these to control the style of the modal itself.
1092
- // $reveal-modal-bg: $white;
1093
- $reveal-position-top: rem-calc(64);
1094
- // $reveal-default-width: 80%;
1095
- $reveal-modal-padding: rem-calc(10.66666);
1096
- $reveal-box-shadow: none;
1097
-
1098
- // We use these to style the reveal close button
1099
- // $reveal-close-font-size: rem-calc(40);
1100
- // $reveal-close-top: rem-calc(8);
1101
- $reveal-close-side: 0;
1102
- $reveal-close-color: $gray-light;
1103
- $reveal-close-weight: 100;
1104
-
1105
- // We use this to set the default radius used throughout the core.
1106
- // $reveal-radius: $global-radius;
1107
- // $reveal-round: $global-rounded;
1108
-
1109
- // We use these to control the modal border
1110
- // $reveal-border-style: solid;
1111
- $reveal-border-width: 0px;
1112
- $reveal-border-color: $gray-lighter;
1113
-
1114
- // $reveal-modal-class: "reveal-modal";
1115
- // $close-reveal-modal-class: "close-reveal-modal";
1116
-
1117
- // 26. Side Nav
1118
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1119
-
1120
- // $include-html-nav-classes: $include-html-classes;
1121
-
1122
- // We use this to control padding.
1123
- // $side-nav-padding: rem-calc(14 0);
1124
-
1125
- // We use these to control list styles.
1126
- // $side-nav-list-type: none;
1127
- // $side-nav-list-position: inside;
1128
- // $side-nav-list-margin: rem-calc(0 0 7 0);
1129
-
1130
- // We use these to control link styles.
1131
- // $side-nav-link-color: $primary-color;
1132
- // $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%);
1133
- // $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
1134
- // $side-nav-link-bg-hover: hsla(0, 0, 0, 0.025);
1135
- // $side-nav-link-margin: 0;
1136
- // $side-nav-link-padding: rem-calc(7 14);
1137
- // $side-nav-font-size: rem-calc(14);
1138
- // $side-nav-font-weight: $font-weight-normal;
1139
- // $side-nav-font-weight-active: $side-nav-font-weight;
1140
- // $side-nav-font-family: $body-font-family;
1141
- // $side-nav-active-font-family: $side-nav-font-family;
1142
-
1143
- // We use these to control heading styles.
1144
- // $side-nav-heading-color: $side-nav-link-color;
1145
- // $side-nav-heading-font-size: $side-nav-font-size;
1146
- // $side-nav-heading-font-weight: bold;
1147
- // $side-nav-heading-text-transform: uppercase;
1148
-
1149
- // We use these to control border styles
1150
- // $side-nav-divider-size: 1px;
1151
- // $side-nav-divider-style: solid;
1152
- // $side-nav-divider-color: scale-color($white, $lightness: 10%);
1153
-
1154
- // 27. Split Buttons
1155
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1156
-
1157
- // $include-html-button-classes: $include-html-classes;
1158
-
1159
- // We use these to control different shared styles for Split Buttons
1160
- // $split-button-function-factor: 10%;
1161
- // $split-button-pip-color: $white;
1162
- // $split-button-pip-color-alt: $oil;
1163
- // $split-button-active-bg-tint: rgba(0,0,0,0.1);
1164
-
1165
- // We use these to control tiny split buttons
1166
- // $split-button-padding-tny: $button-pip-tny * 10;
1167
- // $split-button-span-width-tny: $button-pip-tny * 6;
1168
- // $split-button-pip-size-tny: $button-pip-tny;
1169
- // $split-button-pip-top-tny: $button-pip-tny * 2;
1170
- // $split-button-pip-default-float-tny: rem-calc(-6);
1171
-
1172
- // We use these to control small split buttons
1173
- // $split-button-padding-sml: $button-pip-sml * 10;
1174
- // $split-button-span-width-sml: $button-pip-sml * 6;
1175
- // $split-button-pip-size-sml: $button-pip-sml;
1176
- // $split-button-pip-top-sml: $button-pip-sml * 1.5;
1177
- // $split-button-pip-default-float-sml: rem-calc(-6);
1178
-
1179
- // We use these to control medium split buttons
1180
- // $split-button-padding-med: $button-pip-med * 9;
1181
- // $split-button-span-width-med: $button-pip-med * 5.5;
1182
- // $split-button-pip-size-med: $button-pip-med - rem-calc(3);
1183
- // $split-button-pip-top-med: $button-pip-med * 1.5;
1184
- // $split-button-pip-default-float-med: rem-calc(-6);
1185
-
1186
- // We use these to control large split buttons
1187
- // $split-button-padding-lrg: $button-pip-lrg * 8;
1188
- // $split-button-span-width-lrg: $button-pip-lrg * 5;
1189
- // $split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
1190
- // $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5);
1191
- // $split-button-pip-default-float-lrg: rem-calc(-6);
1192
-
1193
- // 28. Sub Nav
1194
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1195
-
1196
- // $include-html-nav-classes: $include-html-classes;
1197
-
1198
- // We use these to control margin and padding
1199
- // $sub-nav-list-margin: rem-calc(-4 0 18);
1200
- // $sub-nav-list-padding-top: rem-calc(4);
1201
-
1202
- // We use this to control the definition
1203
- // $sub-nav-font-family: $body-font-family;
1204
- // $sub-nav-font-size: rem-calc(14);
1205
- // $sub-nav-font-color: $aluminum;
1206
- // $sub-nav-font-weight: $font-weight-normal;
1207
- // $sub-nav-text-decoration: none;
1208
- // $sub-nav-padding: rem-calc(3 16);
1209
- // $sub-nav-border-radius: 3px;
1210
- // $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
1211
-
1212
-
1213
- // We use these to control the active item styles
1214
- // $sub-nav-active-font-weight: $font-weight-normal;
1215
- // $sub-nav-active-bg: $primary-color;
1216
- // $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
1217
- // $sub-nav-active-color: $white;
1218
- // $sub-nav-active-padding: $sub-nav-padding;
1219
- // $sub-nav-active-cursor: default;
1220
-
1221
- // $sub-nav-item-divider: "";
1222
- // $sub-nav-item-divider-margin: rem-calc(12);
1223
-
1224
-
1225
- // 29. Switch
1226
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1227
-
1228
- // $include-html-form-classes: $include-html-classes;
1229
-
1230
- // Controlling border styles and background colors for the switch container
1231
- // $switch-border-color: scale-color($white, $lightness: -20%);
1232
- // $switch-border-style: solid;
1233
- // $switch-border-width: 1px;
1234
- // $switch-bg: $white;
1235
-
1236
- // We use these to control the switch heights for our default classes
1237
- // $switch-height-tny: rem-calc(22);
1238
- // $switch-height-sml: rem-calc(28);
1239
- // $switch-height-med: rem-calc(36);
1240
- // $switch-height-lrg: rem-calc(44);
1241
- // $switch-bottom-margin: rem-calc(20);
1242
-
1243
- // We use these to control default font sizes for our classes.
1244
- // $switch-font-size-tny: 11px;
1245
- // $switch-font-size-sml: 12px;
1246
- // $switch-font-size-med: 14px;
1247
- // $switch-font-size-lrg: 17px;
1248
- // $switch-label-side-padding: 6px;
1249
-
1250
- // We use these to style the switch-paddle
1251
- // $switch-paddle-bg: $white;
1252
- // $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
1253
- // $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
1254
- // $switch-paddle-border-width: 1px;
1255
- // $switch-paddle-border-style: solid;
1256
- // $switch-paddle-transition-speed: .1s;
1257
- // $switch-paddle-transition-ease: ease-out;
1258
- // $switch-positive-color: scale-color($success-color, $lightness: 94%);
1259
- // $switch-negative-color: $white-smoke;
1260
-
1261
- // Outline Style for tabbing through switches
1262
- // $switch-label-outline: 1px dotted $jumbo;
1263
-
1264
- // 30. Tables
1265
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1266
-
1267
- // $include-html-table-classes: $include-html-classes;
1268
-
1269
- // These control the background color for the table and even rows
1270
- // $table-bg: $white;
1271
- // $table-even-row-bg: $snow ;
1272
-
1273
- // These control the table cell border style
1274
- // $table-border-style: solid;
1275
- // $table-border-size: 1px;
1276
- // $table-border-color: $gainsboro;
1277
-
1278
- // These control the table head styles
1279
- // $table-head-bg: $white-smoke ;
1280
- // $table-head-font-size: rem-calc(14);
1281
- // $table-head-font-color: $jet;
1282
- // $table-head-font-weight: $font-weight-bold;
1283
- // $table-head-padding: rem-calc(8 10 10);
1284
-
1285
- // These control the row padding and font styles
1286
- $table-row-padding: rem-calc(0 8);
1287
- // $table-row-font-size: rem-calc(14);
1288
- // $table-row-font-color: $jet;
1289
- // $table-line-height: rem-calc(18);
1290
-
1291
- // These are for controlling the display and margin of tables
1292
- // $table-display: table-cell;
1293
- // $table-margin-bottom: rem-calc(20);
1294
-
1295
- // 31. Tabs
1296
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1297
-
1298
- // $include-html-tabs-classes: $include-html-classes;
1299
-
1300
- // $tabs-navigation-padding: rem-calc(16);
1301
- // $tabs-navigation-bg-color: $silver ;
1302
- // $tabs-navigation-active-bg-color: $white;
1303
- // $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
1304
- // $tabs-navigation-font-color: $jet;
1305
- // $tabs-navigation-active-font-color: $tabs-navigation-font-color;
1306
- // $tabs-navigation-font-size: rem-calc(16);
1307
- // $tabs-navigation-font-family: $body-font-family;
1308
-
1309
- // $tabs-content-margin-bottom: rem-calc(24);
1310
- // $tabs-content-padding: $column-gutter/2;
1311
-
1312
- // $tabs-vertical-navigation-margin-bottom: 1.25rem;
1313
-
1314
- // 32. Thumbnails
1315
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1316
-
1317
- // $include-html-media-classes: $include-html-classes;
1318
-
1319
- // We use these to control border styles
1320
- // $thumb-border-style: solid;
1321
- // $thumb-border-width: 4px;
1322
- // $thumb-border-color: $white;
1323
- // $thumb-box-shadow: 0 0 0 1px rgba($black,.2);
1324
- // $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
1325
-
1326
- // Radius and transition speed for thumbs
1327
- // $thumb-radius: $global-radius;
1328
- // $thumb-transition-speed: 200ms;
1329
-
1330
- // 33. Tooltips
1331
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1332
-
1333
- // $include-html-tooltip-classes: $include-html-classes;
1334
-
1335
- // $has-tip-border-bottom: dotted 1px $iron;
1336
- // $has-tip-font-weight: $font-weight-bold;
1337
- // $has-tip-font-color: $oil;
1338
- // $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
1339
- // $has-tip-font-color-hover: $primary-color;
1340
- // $has-tip-cursor-type: help;
1341
-
1342
- // $tooltip-padding: rem-calc(12);
1343
- // $tooltip-bg: $oil;
1344
- // $tooltip-font-size: rem-calc(14);
1345
- // $tooltip-font-weight: $font-weight-normal;
1346
- // $tooltip-font-color: $white;
1347
- // $tooltip-line-height: 1.3;
1348
- // $tooltip-close-font-size: rem-calc(10);
1349
- // $tooltip-close-font-weight: $font-weight-normal;
1350
- // $tooltip-close-font-color: $monsoon;
1351
- // $tooltip-font-size-sml: rem-calc(14);
1352
- // $tooltip-radius: $global-radius;
1353
- // $tooltip-rounded: $global-rounded;
1354
- // $tooltip-pip-size: 5px;
1355
- // $tooltip-max-width: 300px;
1356
-
1357
- // 34. Top Bar
1358
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1359
-
1360
- // $include-html-top-bar-classes: $include-html-classes;
1361
-
1362
- // Background color for the top bar
1363
- // $topbar-bg-color: $oil;
1364
- // $topbar-bg: $topbar-bg-color;
1365
-
1366
- // Height and margin
1367
- // $topbar-height: 45px;
1368
- // $topbar-margin-bottom: 0;
1369
-
1370
- // Controlling the styles for the title in the top bar
1371
- // $topbar-title-weight: $font-weight-normal;
1372
- // $topbar-title-font-size: rem-calc(17);
1373
-
1374
- // Style the top bar dropdown elements
1375
- // $topbar-dropdown-bg: $oil;
1376
- // $topbar-dropdown-link-color: $white;
1377
- // $topbar-dropdown-link-bg: $oil;
1378
- // $topbar-dropdown-link-weight: $font-weight-normal;
1379
- // $topbar-dropdown-toggle-size: 5px;
1380
- // $topbar-dropdown-toggle-color: $white;
1381
- // $topbar-dropdown-toggle-alpha: 0.4;
1382
-
1383
- // Set the link colors and styles for top-level nav
1384
- // $topbar-link-color: $white;
1385
- // $topbar-link-color-hover: $white;
1386
- // $topbar-link-color-active: $white;
1387
- // $topbar-link-color-active-hover: $white;
1388
- // $topbar-link-weight: $font-weight-normal;
1389
- // $topbar-link-font-size: rem-calc(13);
1390
- // $topbar-link-hover-lightness: -10%; // Darken by 10%
1391
- // $topbar-link-bg: $topbar-bg;
1392
- // $topbar-link-bg-color-hover: $charcoal;
1393
- // $topbar-link-bg-hover: #272727;
1394
- // $topbar-link-bg-active: $primary-color;
1395
- // $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
1396
- // $topbar-link-font-family: $body-font-family;
1397
- // $topbar-link-text-transform: none;
1398
- // $topbar-link-padding: $topbar-height / 3;
1399
- // $topbar-back-link-size: $h5-font-size;
1400
- // $topbar-link-dropdown-padding: 20px;
1401
-
1402
- // $topbar-button-font-size: 0.75rem;
1403
- // $topbar-button-top: 7px;
1404
-
1405
- // $topbar-dropdown-label-color: $monsoon;
1406
- // $topbar-dropdown-label-text-transform: uppercase;
1407
- // $topbar-dropdown-label-font-weight: $font-weight-bold;
1408
- // $topbar-dropdown-label-font-size: rem-calc(10);
1409
- // $topbar-dropdown-label-bg: $oil;
1410
-
1411
- // Top menu icon styles
1412
- // $topbar-menu-link-transform: uppercase;
1413
- // $topbar-menu-link-font-size: rem-calc(13);
1414
- // $topbar-menu-link-weight: $font-weight-bold;
1415
- // $topbar-menu-link-color: $white;
1416
- // $topbar-menu-icon-color: $white;
1417
- // $topbar-menu-link-color-toggled: $jumbo;
1418
- // $topbar-menu-icon-color-toggled: $jumbo;
1419
-
1420
- // Transitions and breakpoint styles
1421
- $topbar-transition-speed: 0ms;
1422
- // Using rem-calc for the below breakpoint causes issues with top bar
1423
- // $topbar-breakpoint: #{lower-bound($medium-range)}; // Change to 9999px for always mobile layout
1424
- // $topbar-media-query: $medium-up;
1425
-
1426
- // Divider Styles
1427
- // $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
1428
- // $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%);
1429
-
1430
- // Sticky Class
1431
- // $topbar-sticky-class: ".sticky";
1432
- // $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
1433
-
1434
- // 36. Visibility Classes
1435
- // - - - - - - - - - - - - - - - - - - - - - - - - -
1436
-
1437
- // $include-html-visibility-classes: $include-html-classes;
1438
- // $include-table-visibility-classes: true;
1439
- // $include-legacy-visibility-classes: true;
1440
- // $include-accessibility-classes: true;
1441
-
1442
- @import "normalize";
1443
- @import "foundation/settings";
1444
- @import "foundation/components/grid";
1445
- @import "foundation/components/global";
1446
- @import "foundation/components/reveal";
1447
- @import "foundation/components/dropdown";
1448
- @import "foundation/components/top-bar";
1449
- @import "foundation/components/type";
1450
- @import "foundation/components/visibility";