Left doc/assets/scss/docs.scss alone. Only framework sass and their docs have changed.
```scss
$accordion-navigation-padding: rem-calc(16);
$accordion-navigation-bg-color: #efefef;
-$accordion-navigation-hover-bg-color: darken($accordion-navigation-bg-color, 5%);
-$accordion-navigation-active-bg-color: darken($accordion-navigation-bg-color, 3%);
+$accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
+$accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
$accordion-navigation-font-color: #222;
$accordion-navigation-font-size: rem-calc(16);
$accordion-navigation-font-family: $body-font-family;
$alert-font-weight: bold;
$alert-font-size: rem-calc(14);
$alert-font-color: #fff;
-$alert-font-color-alt: darken($secondary-color, 60%);
+$alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
/* We use this for close hover effect. */
-$alert-function-factor: 10%;
+$alert-function-factor: -14%;
/* We use these to control border styles. */
$alert-border-style: solid;
$alert-border-width: 1px;
-$alert-border-color: darken($primary-color, $alert-function-factor);
+$alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
$alert-bottom-margin: rem-calc(20);
/* We use these to style the close buttons */
$crumb-side-padding: rem-calc(12);
// We use these to control border styles.
-$crumb-function-factor: 10%;
+$crumb-function-factor: -10%;
$crumb-border-size: 1px;
$crumb-border-style: solid;
-$crumb-border-color: darken($crumb-bg, $crumb-function-factor);
+$crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor);
$crumb-radius: $global-radius;
// We use these to set various text styles for breadcrumbs.
/* We use this to set the border styles for dropdowns. */
$f-dropdown-border-style: solid;
$f-dropdown-border-width: 1px;
-$f-dropdown-border-color: darken(#fff, 20%);
+$f-dropdown-border-color: scale-color(#fff, $lightness: -20%);
/* We use these to style the triangle pip. */
$f-dropdown-triangle-size: 6px;
$keystroke-font-size: rem-calc(14);
$keystroke-font-color: #222;
$keystroke-font-color-alt: #fff;
-$keystroke-function-factor: 7%;
+$keystroke-function-factor: -7%;
// We use this to control keystroke padding.
$keystroke-padding: rem-calc(2 4 0);
// We use these to control background and border styles.
-$keystroke-bg: darken(#fff, $keystroke-function-factor);
+$keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor);
$keystroke-border-style: solid;
$keystroke-border-width: 1px;
-$keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
+$keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
$keystroke-radius: $global-radius;
```
{{/markdown}}
\ No newline at end of file
$progress-bar-color: transparent;
// We use these to control the border styles
-$progress-bar-border-color: darken(#fff, 20%);
+$progress-bar-border-color: scale-color(#fff, $lightness: 20%);
$progress-bar-border-size: 1px;
$progress-bar-border-style: solid;
$progress-bar-border-radius: $global-radius;
// <code> tags
-$code-color: darken($alert-color, 15%);
+$code-color: scale-color($alert-color, $lightness: -27%);
$code-font-family: Consolas, "Liberation Mono", Courier, monospace;
$code-font-weight: bold;
$anchor-text-decoration: none;
$anchor-font-color: $primary-color;
-$anchor-font-color-hover: darken($primary-color, 5%);
+$anchor-font-color-hover: scale-color($primary-color, $lightness: -14%);
// <hr> element
$input-font-color: rgba(0,0,0,0.75);
$input-font-size: rem-calc(14);
$input-bg-color: #fff;
-$input-focus-bg-color: darken(#fff, 2%);
-$input-border-color: darken(#fff, 20%);
-$input-focus-border-color: darken(#fff, 40%);
+$input-focus-bg-color: scale-color(#fff, $lightness: -2%);
+$input-border-color: scale-color(#fff, $lightness: -20%);
+$input-focus-border-color: scale-color(#fff, $lightness: -40%);
$input-border-style: solid;
$input-border-width: 1px;
$input-disabled-bg: #ddd;
// Prefix and postfix input elements
-$input-prefix-bg: darken(#fff, 5%);
-$input-prefix-border-color: darken(#fff, 20%);
+$input-prefix-bg: scale-color(#fff, $lightness: -5%);
+$input-prefix-border-color: scale-color(#fff, $lightness: -20%);
$input-prefix-border-size: 1px;
$input-prefix-border-type: solid;
$input-prefix-overflow: hidden;
$button-border-width: 1px;
$button-border-style: solid;
-$button-border-color: darken($primary-color, $button-function-factor);
// Radius used throughout the core.
$alert-font-weight: bold;
$alert-font-size: rem-calc(14);
$alert-font-color: #fff;
-$alert-font-color-alt: darken($secondary-color, 60%);
+$alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
// Hover effect
-$alert-function-factor: 10%;
+$alert-function-factor: -14%;
// Border Styles
$alert-border-style: solid;
$alert-border-width: 1px;
-$alert-border-color: darken($primary-color, $alert-function-factor);
+$alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
$alert-bottom-margin: rem-calc(20);
// Close Button style
// Border styles.
-$crumb-function-factor: 10%;
+$crumb-function-factor: -10%;
$crumb-border-size: 1px;
$crumb-border-style: solid;
-$crumb-border-color: darken($crumb-bg, $crumb-function-factor);
+$crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor);
$crumb-radius: $global-radius;
// Various text styles for breadcrumbs.
$custom-dropdown-height: 200px;
$custom-dropdown-bg: #fff;
-$custom-dropdown-border-color: darken(#fff, 20%);
+$custom-dropdown-border-color: scale-color(#fff, $lightness: -20%);
$custom-dropdown-border-width: 1px;
$custom-dropdown-border-style: solid;
$custom-dropdown-font-color: #555;
$f-dropdown-border-style: solid;
$f-dropdown-border-width: 1px;
-$f-dropdown-border-color: darken(#fff, 20%);
+$f-dropdown-border-color: scale-color(#fff, $lightness: -20%);
// Triangle pip.
$keystroke-font-size: rem-calc(15);
$keystroke-font-color: #222;
$keystroke-font-color-alt: #fff;
-$keystroke-function-factor: 7%;
+$keystroke-function-factor: -7%;
// Keystroke padding.
// Background and border styles.
-$keystroke-bg: darken(#fff, $keystroke-function-factor);
+$keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor);
$keystroke-border-style: solid;
$keystroke-border-width: 1px;
-$keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
+$keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
$keystroke-radius: $global-radius;
$pagination-link-pad: rem-calc(1, 7, 1);
$pagination-link-font-color: #999;
-$pagination-link-active-bg: darken(#fff, 10%);
+$pagination-link-active-bg: scale-color(#fff, $lightness: -10%);
// Disabled anchor links
// Background and border styles
-$panel-bg: darken(#fff, 5%);
+$panel-bg: scale-color(#fff, $lightness: -5%);
$panel-border-style: solid;
$panel-border-size: 1px;
// Control how much we darken things on hover
-$panel-function-factor: 10%;
-$panel-border-color: darken($panel-bg, $panel-function-factor);
+$panel-function-factor: -11%;
+$panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor);
// Inner padding and bottom margin
// Border styles
-$progress-bar-border-color: darken(#fff, 20%);
+$progress-bar-border-color: scale-color(#fff, $lightness: -20%);
$progress-bar-border-size: 1px;
$progress-bar-border-style: solid;
$progress-bar-border-radius: $global-radius;
$section-title-padding: rem-calc(15);
$section-content-padding: rem-calc(15);
-$section-function-factor: 10%;
+$section-function-factor: -11%;
// Titles
$section-title-color: #333;
$section-title-bg: #efefef;
-$section-title-bg-active: darken($section-title-bg, $section-function-factor);
+$section-title-bg-active: scale-color($section-title-bg, $lightness: $section-function-factor);
$section-title-bg-active-tabs: #fff;
-$section-title-bg-hover: darken($section-title-bg, $section-function-factor/2);
+$section-title-bg-hover: scale-color($section-title-bg, $lightness: $section-function-factor/2);
// Border size
$side-nav-divider-size: 1px;
$side-nav-divider-style: solid;
-$side-nav-divider-color: darken(#fff, 10%);
+$side-nav-divider-color: scale-color(#fff, $lightness: -10%);
// Sub Nav Variables
// Border styles and background colors for the switch container
-$switch-border-color: darken(#fff, 20%);
+$switch-border-color: scale-color(#fff, $lightness: 20%);
$switch-border-style: solid;
$switch-border-width: 1px;
$switch-bg: #fff;
// Switch-paddle
$switch-paddle-bg: #fff;
-$switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
-$switch-paddle-border-color: darken($switch-paddle-bg, 35%);
+$switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
+$switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
$switch-paddle-border-width: 1px;
$switch-paddle-border-style: solid;
$switch-paddle-transition-speed: .1s;
$has-tip-border-bottom: dotted 1px #ccc;
$has-tip-font-weight: bold;
$has-tip-font-color: #333;
-$has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
+$has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
$has-tip-font-color-hover: $primary-color;
$has-tip-cursor-type: help;
$topbar-link-color: #fff;
$topbar-link-color-hover: #fff;
$topbar-link-color-active: #fff;
-$topbar-link-weight: bold;
+$topbar-link-weight: normal;
$topbar-link-font-size: rem-calc(13);
-$topbar-link-hover-lightness: -30%; Darken by 30%
-$topbar-link-bg-hover: darken($topbar-bg, 3%);
-$topbar-link-bg-active: darken($topbar-bg, 3%);
+$topbar-link-hover-lightness: -10%; // Darken by 10%
+$topbar-link-bg-hover: #272727 ;
+$topbar-link-bg-active: $primary-color;
+$topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
+$topbar-link-font-family: $body-font-family;
$topbar-dropdown-label-color: #555;
$topbar-dropdown-label-text-transform: uppercase;
// Divider Styles
$topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
-$topbar-divider-border-top: solid 1px darken($topbar-bg, 10%);
+$topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%);
// Sticky Class
$input-font-color: rgba(0,0,0,0.75);
$input-font-size: rem-calc(14);
$input-bg-color: #fff;
-$input-focus-bg-color: darken(#fff, 2%);
-$input-border-color: darken(#fff, 20%);
-$input-focus-border-color: darken(#fff, 40%);
+$input-focus-bg-color: scale-color(#fff, $lightness: -2%);
+$input-border-color: scale-color(#fff, $lightness: -20%);
+$input-focus-border-color: scale-color(#fff, $lightness: -40%);
$input-border-style: solid;
$input-border-width: 1px;
$input-disabled-bg: #ddd;
$legend-padding: rem-calc(0 3);
// We use these to style the prefix and postfix input elements
-$input-prefix-bg: darken(#fff, 5%);
-$input-prefix-border-color: darken(#fff, 20%);
+$input-prefix-bg: scale-color(#fff, $lightness: -5%);
+$input-prefix-border-color: scale-color(#fff, $lightness: -20%);
$input-prefix-border-size: 1px;
$input-prefix-border-type: solid;
$input-prefix-overflow: hidden;
// Off Canvas Divider Styles
$tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%) !default;
-$tabbar-left-section-border: solid 1px darken($tabbar-bg, 10%) !default;
+$tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
// Off Canvas Tab Bar Headers
$tabbar-header-color: #FFF !default;
$off-canvas-label-margin:0 !default;
$off-canvas-link-padding: rem-calc(10, 15) !default;
$off-canvas-link-color: rgba(#FFF, 0.7) !default;
-$off-canvas-link-border-bottom: 1px solid darken($off-canvas-bg, 5%) !default;
+$off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
// Off Canvas Menu Icon Variables
$tabbar-menu-icon-color: #FFF !default;
-$tabbar-menu-icon-hover: darken($tabbar-menu-icon-color, 30%) !default;
+$tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
$tabbar-menu-icon-text-indent: rem-calc(35) !default;
$tabbar-menu-icon-width: $tabbar-height !default;
// We use these for the pagination anchor links
$pagination-link-pad: rem-calc(1 7 1);
$pagination-link-font-color: #999;
-$pagination-link-active-bg: darken(#fff, 10%);
+$pagination-link-active-bg: scale-color(#fff, $lightness: -10%);
// We use these for disabled anchor links
$pagination-link-unavailable-cursor: default;
$include-html-panel-classes: $include-html-classes;
// We use these to control the background and border styles
-$panel-bg: darken(#fff, 5%);
+$panel-bg: scale-color(#fff, $lightness: -5%);
$panel-border-style: solid;
$panel-border-size: 1px;
// We use this % to control how much we darken things on hover
-$panel-function-factor: 10%;
-$panel-border-color: darken($panel-bg, $panel-function-factor);
+$panel-function-factor: -11%;
+$panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor);
// We use these to set default inner padding and bottom margin
$panel-margin-bottom: rem-calc(20);
// We use these to control border styles
$side-nav-divider-size: 1px;
$side-nav-divider-style: solid;
-$side-nav-divider-color: darken(#fff, 10%);
+$side-nav-divider-color: scale-color(#fff, $lightness: -10%);
```
{{/markdown}}
\ No newline at end of file
$include-html-form-classes: $include-html-classes;
/* Controlling border styles and background colors for the switch container */
-$switch-border-color: darken(#fff, 20%);
+$switch-border-color: scale-color(#fff, $lightness: -20%);
$switch-border-style: solid;
$switch-border-width: 1px;
$switch-bg: #fff;
/* We use these to style the switch-paddle */
$switch-paddle-bg: #fff;
-$switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
-$switch-paddle-border-color: darken($switch-paddle-bg, 35%);
+$switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
+$switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
$switch-paddle-border-width: 1px;
$switch-paddle-border-style: solid;
$switch-paddle-transition-speed: .1s;
```scss
$tabs-navigation-padding: rem-calc(16);
$tabs-navigation-bg-color: #efefef;
-$tabs-navigation-hover-bg-color: darken($tabs-navigation-bg-color, 5%);
+$tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
$tabs-navigation-font-color: #222;
$tabs-navigation-font-size: rem-calc(16);
$tabs-navigation-font-family: $body-font-family;
$has-tip-border-bottom: dotted 1px #ccc;
$has-tip-font-weight: bold;
$has-tip-font-color: #333;
-$has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
+$has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
$has-tip-font-color-hover: $primary-color;
$has-tip-cursor-type: help;
$topbar-link-color: #fff;
$topbar-link-color-hover: #fff;
$topbar-link-color-active: #fff;
-$topbar-link-weight: bold;
+$topbar-link-weight: normal;
$topbar-link-font-size: rem-calc(13);
-$topbar-link-hover-lightness: -30%; /* Darken by 30% */
-$topbar-link-bg-hover: darken($topbar-bg, 3%);
-$topbar-link-bg-active: darken($topbar-bg, 3%);
+$topbar-link-hover-lightness: -10%; // Darken by 10%
+$topbar-link-bg-hover: #272727 ;
+$topbar-link-bg-active: $primary-color;
+$topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
+$topbar-link-font-family: $body-font-family;
$topbar-dropdown-label-color: #555;
$topbar-dropdown-label-text-transform: uppercase;
/* Divider Styles */
$topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
-$topbar-divider-border-top: solid 1px darken($topbar-bg, 10%);
+$topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%);
/* Sticky Class */
$topbar-sticky-class: ".sticky";
$paragraph-text-rendering: optimizeLegibility;
// We use these to style code tags
-$code-color: darken($alert-color, 15%);
+$code-color: scale-color($alert-color, $lightness: -27%);
$code-font-family: Consolas, Liberation Mono, Courier, monospace;
$code-font-weight: bold;
// We use these to style anchors
$anchor-text-decoration: none;
$anchor-font-color: $primary-color;
-$anchor-font-color-hover: darken($primary-color, 5%);
+$anchor-font-color-hover: scale-color($primary-color, $lightness: -14%);
// We use these to style the hr element
$hr-border-width: 1px;
$alert-font-weight: bold;
$alert-font-size: rem-calc(14);
$alert-font-color: #fff;
-$alert-font-color-alt: darken($secondary-color, 60%);
+$alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
// We use this for close hover effect.
-$alert-function-factor: 10%;
+$alert-function-factor: -14%;
// We use these to control border styles.
$alert-border-style: solid;
$alert-border-width: 1px;
-$alert-border-color: darken($primary-color, $alert-function-factor);
+$alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
$alert-bottom-margin: rem-calc(20);
// We use these to style the close buttons
.custom-prefix-class {
@include prefix-postfix-base();
@include prefix(
- // Control the background color, which also effect the border and font color. Default:$input-prefix-bg (darken(#fff, 5%))
+ // Control the background color, which also effect the border and font color. Default:$input-prefix-bg (scale-color(#fff, $lightness: -5%))
$bg: $input-prefix-bg,
// Toggle position settings if prefix is a button. Default:false
$is-button: false
// $accordion-navigation-padding: rem-calc(16);
// $accordion-navigation-bg-color: #efefef ;
-// $accordion-navigation-hover-bg-color: darken($accordion-navigation-bg-color, 5%);
-// $accordion-navigation-active-bg-color: darken($accordion-navigation-bg-color, 3%);
+// $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
+// $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
// $accordion-navigation-font-color: #222;
// $accordion-navigation-font-size: rem-calc(16);
// $accordion-navigation-font-family: $body-font-family;
// $alert-font-weight: normal;
// $alert-font-size: rem-calc(13);
// $alert-font-color: #fff;
-// $alert-font-color-alt: darken($secondary-color, 60%);
+// $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
// We use this for close hover effect.
-// $alert-function-factor: 5%;
+// $alert-function-factor: -14%;
// We use these to control border styles.
// $alert-border-style: solid;
// $alert-border-width: 1px;
-// $alert-border-color: darken($primary-color, $alert-function-factor);
+// $alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
// $alert-bottom-margin: rem-calc(20);
// We use these to style the close buttons
// $crumb-side-padding: rem-calc(12);
// We use these to control border styles.
-// $crumb-function-factor: 10%;
+// $crumb-function-factor: -10%;
// $crumb-border-size: 1px;
// $crumb-border-style: solid;
-// $crumb-border-color: darken($crumb-bg, $crumb-function-factor);
+// $crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor);
// $crumb-radius: $global-radius;
// We use these to set various text styles for breadcrumbs.
// We use this to set the border styles for dropdowns.
// $f-dropdown-border-style: solid;
// $f-dropdown-border-width: 1px;
-// $f-dropdown-border-color: darken(#fff, 20%);
+// $f-dropdown-border-color: scale-color(#fff, $lightness: -20%);
// We use these to style the triangle pip.
// $f-dropdown-triangle-size: 6px;
// $input-font-color: rgba(0,0,0,0.75);
// $input-font-size: rem-calc(14);
// $input-bg-color: #fff;
-// $input-focus-bg-color: darken(#fff, 2%);
-// $input-border-color: darken(#fff, 20%);
-// $input-focus-border-color: darken(#fff, 40%);
+// $input-focus-bg-color: scale-color(#fff, $lightness: -2%);
+// $input-border-color: scale-color(#fff, $lightness: -20%);
+// $input-focus-border-color: scale-color(#fff, $lightness: -40%);
// $input-border-style: solid;
// $input-border-width: 1px;
// $input-disabled-bg: #ddd;
// $legend-padding: rem-calc(0 3);
// We use these to style the prefix and postfix input elements
-// $input-prefix-bg: darken(#fff, 5%);
-// $input-prefix-border-color: darken(#fff, 20%);
+// $input-prefix-bg: scale-color(#fff, $lightness: -5%);
+// $input-prefix-border-color: scale-color(#fff, $lightness: -20%);
// $input-prefix-border-size: 1px;
// $input-prefix-border-type: solid;
// $input-prefix-overflow: hidden;
// $keystroke-font-size: rem-calc(14);
// $keystroke-font-color: #222;
// $keystroke-font-color-alt: #fff;
-// $keystroke-function-factor: 7%;
+// $keystroke-function-factor: -7%;
// We use this to control keystroke padding.
// $keystroke-padding: rem-calc(2 4 0);
// We use these to control background and border styles.
-// $keystroke-bg: darken(#fff, $keystroke-function-factor);
+// $keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor);
// $keystroke-border-style: solid;
// $keystroke-border-width: 1px;
-// $keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
+// $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
// $keystroke-radius: $global-radius;
// Labels
// Off Canvas Divider Styles
// $tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%);
-// $tabbar-left-section-border: solid 1px darken($tabbar-bg, 10%);
+// $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
// Off Canvas Tab Bar Headers
// $tabbar-header-color: #FFF;
// $off-canvas-label-margin:0;
// $off-canvas-link-padding: rem-calc(10, 15);
// $off-canvas-link-color: rgba(#FFF, 0.7);
-// $off-canvas-link-border-bottom: 1px solid darken($off-canvas-bg, 5%);
+// $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
// Off Canvas Menu Icon Variables
// $tabbar-menu-icon-color: #FFF;
-// $tabbar-menu-icon-hover: darken($tabbar-menu-icon-color, 30%);
+// $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
// $tabbar-menu-icon-text-indent: rem-calc(35);
// $tabbar-menu-icon-width: $tabbar-height;
// We use these for the pagination anchor links
// $pagination-link-pad: rem-calc(1 10 1);
// $pagination-link-font-color: #999;
-// $pagination-link-active-bg: darken(#fff, 10%);
+// $pagination-link-active-bg: scale-color(#fff, $lightness: -10%);
// We use these for disabled anchor links
// $pagination-link-unavailable-cursor: default;
// $include-html-panel-classes: $include-html-classes;
// We use these to control the background and border styles
-// $panel-bg: darken(#fff, 5%);
+// $panel-bg: scale-color(#fff, $lightness: -5%);
// $panel-border-style: solid;
// $panel-border-size: 1px;
// We use this % to control how much we darken things on hover
-// $panel-function-factor: 10%;
-// $panel-border-color: darken($panel-bg, $panel-function-factor);
+// $panel-function-factor: -11%;
+// $panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor);
// We use these to set default inner padding and bottom margin
// $panel-margin-bottom: rem-calc(20);
// $progress-bar-color: #f6f6f6 ;
// We use these to control the border styles
-// $progress-bar-border-color: darken(#fff, 20%);
+// $progress-bar-border-color: scale-color(#fff, $lightness: -20%);
// $progress-bar-border-size: 1px;
// $progress-bar-border-style: solid;
// $progress-bar-border-radius: $global-radius;
// We use these to control border styles
// $side-nav-divider-size: 1px;
// $side-nav-divider-style: solid;
-// $side-nav-divider-color: darken(#fff, 10%);
+// $side-nav-divider-color: scale-color(#fff, $lightness: -10%);
// Split Buttons
// $sub-nav-font-weight: normal;
// $sub-nav-text-decoration: none;
// $sub-nav-border-radius: 3px;
-// $sub-nav-font-color-hover: darken($sub-nav-font-color, 15%);
+// $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
// We use these to control the active item styles
// $sub-nav-active-font-weight: normal;
// $sub-nav-active-bg: $primary-color;
-// $sub-nav-active-bg-hover: darken($sub-nav-active-bg, 5%);
+// $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
// $sub-nav-active-color: #fff;
// $sub-nav-active-padding: rem-calc(3 16);
// $sub-nav-active-cursor: default;
// $include-html-form-classes: $include-html-classes;
// Controlling border styles and background colors for the switch container
-// $switch-border-color: darken(#fff, 20%);
+// $switch-border-color: scale-color(#fff, $lightness: -20%);
// $switch-border-style: solid;
// $switch-border-width: 1px;
// $switch-bg: #fff;
// We use these to style the switch-paddle
// $switch-paddle-bg: #fff;
-// $switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
-// $switch-paddle-border-color: darken($switch-paddle-bg, 35%);
+// $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
+// $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
// $switch-paddle-border-width: 1px;
// $switch-paddle-border-style: solid;
// $switch-paddle-transition-speed: .1s;
// $tabs-navigation-padding: rem-calc(16);
// $tabs-navigation-bg-color: #efefef ;
-// $tabs-navigation-hover-bg-color: darken($tabs-navigation-bg-color, 5%);
+// $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
// $tabs-navigation-font-color: #222;
// $tabs-navigation-font-size: rem-calc(16);
// $tabs-navigation-font-family: $body-font-family;
// $has-tip-border-bottom: dotted 1px #ccc;
// $has-tip-font-weight: bold;
// $has-tip-font-color: #333;
-// $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
+// $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
// $has-tip-font-color-hover: $primary-color;
// $has-tip-cursor-type: help;
// $topbar-link-hover-lightness: -10%; // Darken by 10%
// $topbar-link-bg-hover: #272727 ;
// $topbar-link-bg-active: $primary-color;
-// $topbar-link-bg-active-hover: darken($primary-color, 5%);
+// $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
// $topbar-link-font-family: $body-font-family;
// $topbar-button-font-size: 0.75rem;
// Divider Styles
// $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
-// $topbar-divider-border-top: solid 1px darken($topbar-bg-color, 10%);
+// $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%);
// Sticky Class
// $topbar-sticky-class: ".sticky";
// $paragraph-text-rendering: optimizeLegibility;
// We use these to style <code> tags
-// $code-color: darken($alert-color, 15%);
+// $code-color: scale-color($alert-color, $lightness: -27%);
// $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
// $code-font-weight: bold;
// We use these to style anchors
// $anchor-text-decoration: none;
// $anchor-font-color: $primary-color;
-// $anchor-font-color-hover: darken($primary-color, 5%);
+// $anchor-font-color-hover: scale-color($primary-color, $lightness: -14%);
// We use these to style the <hr> element
// $hr-border-width: 1px;
$accordion-navigation-padding: rem-calc(16) !default;
$accordion-navigation-bg-color: #efefef !default;
-$accordion-navigation-hover-bg-color: darken($accordion-navigation-bg-color, 5%) !default;
-$accordion-navigation-active-bg-color: darken($accordion-navigation-bg-color, 3%) !default;
+$accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%) !default;
+$accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%) !default;
$accordion-navigation-font-color: #222 !default;
$accordion-navigation-font-size: rem-calc(16) !default;
$accordion-navigation-font-family: $body-font-family !default;
@include exports("accordion") {
@if $include-html-accordion-classes {
- .accordion {
+ .accordion {
@include clearfix; margin-bottom: 0;
- dd {
- display: block;
- margin-bottom: 0 !important;
+ dd {
+ display: block;
+ margin-bottom: 0 !important;
&.active a { background: $accordion-navigation-active-bg-color; }
- > a {
- background: $accordion-navigation-bg-color;
- color: $accordion-navigation-font-color;
- padding: $accordion-navigation-padding;
- display: block;
- font-family: $body-font-family;
+ > a {
+ background: $accordion-navigation-bg-color;
+ color: $accordion-navigation-font-color;
+ padding: $accordion-navigation-padding;
+ display: block;
+ font-family: $body-font-family;
font-size: $accordion-navigation-font-size;
&:hover { background: $accordion-navigation-hover-bg-color; }
}
}
- .content {
- display: none;
+ .content {
+ display: none;
padding: $accordion-content-padding;
&.active {
display: block;
$alert-font-weight: normal !default;
$alert-font-size: rem-calc(13) !default;
$alert-font-color: #fff !default;
-$alert-font-color-alt: darken($secondary-color, 60%) !default;
+$alert-font-color-alt: scale-color($secondary-color, $lightness: -66%) !default;
// We use this for close hover effect.
-$alert-function-factor: 5% !default;
+$alert-function-factor: -14% !default;
// We use these to control border styles.
$alert-border-style: solid !default;
$alert-border-width: 1px !default;
-$alert-border-color: darken($primary-color, $alert-function-factor) !default;
+$alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor) !default;
$alert-bottom-margin: rem-calc(20) !default;
// We use these to style the close buttons
// We control which background color and border come through.
background-color: $bg;
- border-color: darken($bg, $alert-function-factor);
+ border-color: scale-color($bg, $lightness: $alert-function-factor);
// We control the text color for you based on the background color.
@if $bg-lightness > 70% { color: $alert-font-color-alt; }
$crumb-side-padding: rem-calc(12) !default;
// We use these to control border styles.
-$crumb-function-factor: 10% !default;
+$crumb-function-factor: -10% !default;
$crumb-border-size: 1px !default;
$crumb-border-style: solid !default;
-$crumb-border-color: darken($crumb-bg, $crumb-function-factor) !default;
+$crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor) !default;
$crumb-radius: $global-radius !default;
// We use these to set various text styles for breadcrumbs.
padding-top: $is-input + rem-calc(.5);
padding-bottom: $is-input + rem-calc(.5);
-webkit-appearance: none;
- border: none;
+ border: none;
font-weight: $button-font-weight !important;
}
@else if $is-input {
padding-top: $is-input + rem-calc(1);
padding-bottom: $is-input;
-webkit-appearance: none;
- border: none;
+ border: none;
font-weight: $button-font-weight !important;
}
}
$bg-lightness: lightness($bg);
background-color: $bg;
- border-color: darken($bg, $button-function-factor);
+ border-color: scale-color($bg, $lightness: $button-function-factor);
&:hover,
- &:focus { background-color: darken($bg, $button-function-factor); }
+ &:focus { background-color: scale-color($bg, $lightness: $button-function-factor); }
// We control the text color for you based on the background color.
@if $bg-lightness > 70% {
// We use this to set the border styles for dropdowns.
$f-dropdown-border-style: solid !default;
$f-dropdown-border-width: 1px !default;
-$f-dropdown-border-color: darken(#fff, 20%) !default;
+$f-dropdown-border-color: scale-color(#fff, $lightness: -20%) !default;
// We use these to style the triangle pip.
$f-dropdown-triangle-size: 6px !default;
$input-font-color: rgba(0,0,0,0.75) !default;
$input-font-size: rem-calc(14) !default;
$input-bg-color: #fff !default;
-$input-focus-bg-color: darken(#fff, 2%) !default;
-$input-border-color: darken(#fff, 20%) !default;
-$input-focus-border-color: darken(#fff, 40%) !default;
+$input-focus-bg-color: scale-color(#fff, $lightness: -2%) !default;
+$input-border-color: scale-color(#fff, $lightness: -20%) !default;
+$input-focus-border-color: scale-color(#fff, $lightness: -40%) !default;
$input-border-style: solid !default;
$input-border-width: 1px !default;
$input-disabled-bg: #ddd !default;
$legend-padding: rem-calc(0 3) !default;
// We use these to style the prefix and postfix input elements
-$input-prefix-bg: darken(#fff, 5%) !default;
-$input-prefix-border-color: darken(#fff, 20%) !default;
+$input-prefix-bg: scale-color(#fff, $lightness: -5%) !default;
+$input-prefix-border-color: scale-color(#fff, $lightness: -20%) !default;
$input-prefix-border-size: 1px !default;
$input-prefix-border-type: solid !default;
$input-prefix-overflow: hidden !default;
// @MIXIN
//
// We use this mixin to create prefix label styles
-// $bg - Default:$input-prefix-bg || darken(#fff, 5%) !default;
+// $bg - Default:$input-prefix-bg || scale-color(#fff, $lightness: -5%) !default;
// $is-button - Toggle position settings if prefix is a button. Default:false
//
@mixin prefix($bg:$input-prefix-bg,$is-button:false) {
@if $bg {
$bg-lightness: lightness($bg);
background: $bg;
- border-color: darken($bg, 10%);
+ border-color: scale-color($bg, $lightness: -11%);
border-#{$opposite-direction}: none;
// Control the font color based on background brightness
// @MIXIN
//
// We use this mixin to create postfix label styles
-// $bg - Default:$input-prefix-bg || darken(#fff, 5%) !default;
+// $bg - Default:$input-prefix-bg || scale-color(#fff, $lightness: -5%) !default;
// $is-button - Toggle position settings if prefix is a button. Default: false
@mixin postfix($bg:$input-prefix-bg, $is-button:false) {
@if $bg {
$bg-lightness: lightness($bg);
background: $bg;
- border-color: darken($bg, 15%);
+ border-color: scale-color($bg, $lightness: -16%);
border-#{$default-float}: none;
// Control the font color based on background brightness
&.radius { @include radius($global-radius); }
&:hover {
background:
- darken($select-bg-color, 3%)
+ scale-color($select-bg-color, $lightness: -3%)
url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iM3B4IiB2aWV3Qm94PSIwIDAgNiAzIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA2IDMiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIHBvaW50cz0iNS45OTIsMCAyLjk5MiwzIC0wLjAwOCwwICIvPjwvc3ZnPg==') no-repeat;
background-position-x: 97%;
background-position-y: center;
}
@-moz-document url-prefix() {
select { background: $select-bg-color; }
- select:hover { background: darken($select-bg-color, 3%); }
+ select:hover { background: scale-color($select-bg-color, $lightness: -3%); }
}
/* Attach elements to the beginning or end of an input */
.prefix,
$keystroke-font-size: rem-calc(14) !default;
$keystroke-font-color: #222 !default;
$keystroke-font-color-alt: #fff !default;
-$keystroke-function-factor: 7% !default;
+$keystroke-function-factor: -7% !default;
// We use this to control keystroke padding.
$keystroke-padding: rem-calc(2 4 0) !default;
// We use these to control background and border styles.
-$keystroke-bg: darken(#fff, $keystroke-function-factor) !default;
+$keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor) !default;
$keystroke-border-style: solid !default;
$keystroke-border-width: 1px !default;
-$keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor) !default;
+$keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor) !default;
$keystroke-radius: $global-radius !default;
//
// @mixins
//
// We use this mixin to create keystroke styles.
-// $bg - Default: $keystroke-bg || darken(#fff, $keystroke-function-factor) !default;
+// $bg - Default: $keystroke-bg || scale-color(#fff, $lightness: $keystroke-function-factor) !default;
@mixin keystroke($bg:$keystroke-bg) {
// This find the lightness percentage of the background color.
$bg-lightness: lightness($bg);
background-color: $bg;
- border-color: darken($bg, $keystroke-function-factor);
+ border-color: scale-color($bg, $lightness: $keystroke-function-factor);
// We adjust the font color based on the brightness of the background.
@if $bg-lightness > 70% { color: $keystroke-font-color; }
// Off Canvas Divider Styles
$tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%) !default;
-$tabbar-left-section-border: solid 1px darken($tabbar-bg, 10%) !default;
+$tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%) !default;
// Off Canvas Tab Bar Headers
$tabbar-header-color: #FFF !default;
$off-canvas-label-margin:0 !default;
$off-canvas-link-padding: rem-calc(10, 15) !default;
$off-canvas-link-color: rgba(#FFF, 0.7) !default;
-$off-canvas-link-border-bottom: 1px solid darken($off-canvas-bg, 5%) !default;
+$off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%) !default;
// Off Canvas Menu Icon Variables
$tabbar-menu-icon-color: #FFF !default;
-$tabbar-menu-icon-hover: darken($tabbar-menu-icon-color, 30%) !default;
+$tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%) !default;
$tabbar-menu-icon-text-indent: rem-calc(35) !default;
$tabbar-menu-icon-width: $tabbar-height !default;
@mixin right-small-section {
@include tabbar-small-section;
border-left: $tabbar-right-section-border;
- box-shadow: -1px 0 0 darken($tabbar-bg, 10%);
+ box-shadow: -1px 0 0 scale-color($tabbar-bg, $lightness: -50%);
right:0;
}
// We use these for the pagination anchor links
$pagination-link-pad: rem-calc(1 10 1) !default;
$pagination-link-font-color: #999 !default;
-$pagination-link-active-bg: darken(#fff, 10%) !default;
+$pagination-link-active-bg: scale-color(#fff, $lightness: -10%) !default;
// We use these for disabled anchor links
$pagination-link-unavailable-cursor: default !default;
$include-html-panel-classes: $include-html-classes !default;
// We use these to control the background and border styles
-$panel-bg: darken(#fff, 5%) !default;
+$panel-bg: scale-color(#fff, $lightness: -5%) !default;
$panel-border-style: solid !default;
$panel-border-size: 1px !default;
// We use this % to control how much we darken things on hover
-$panel-function-factor: 10% !default;
-$panel-border-color: darken($panel-bg, $panel-function-factor) !default;
+$panel-function-factor: -11% !default;
+$panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor) !default;
// We use these to set default inner padding and bottom margin
$panel-margin-bottom: rem-calc(20) !default;
// @mixins
//
// We use this mixin to create panels.
-// $bg - Sets the panel background color. Default: $panel-pg || darken(#fff, 5%) !default
+// $bg - Sets the panel background color. Default: $panel-pg || scale-color(#fff, $lightness: -5%) !default
// $padding - Sets the panel padding amount. Default: $panel-padding || rem-calc(20)
// $adjust - Sets the font color based on the darkness of the bg & resets header line-heights for panels. Default: $panel-header-adjust || true
@mixin panel($bg:$panel-bg, $padding:$panel-padding, $adjust:$panel-header-adjust) {
border-style: $panel-border-style;
border-width: $panel-border-size;
- border-color: darken($bg, $panel-function-factor);
+ border-color: scale-color($bg, $lightness: $panel-function-factor);
margin-bottom: $panel-margin-bottom;
padding: $padding;
$progress-bar-color: #f6f6f6 !default;
// We use these to control the border styles
-$progress-bar-border-color: darken(#fff, 20%) !default;
+$progress-bar-border-color: scale-color(#fff, $lightness: 20%) !default;
$progress-bar-border-size: 1px !default;
$progress-bar-border-style: solid !default;
$progress-bar-border-radius: $global-radius !default;
// We use these to control border styles
$side-nav-divider-size: 1px !default;
$side-nav-divider-style: solid !default;
-$side-nav-divider-color: darken(#fff, 10%) !default;
+$side-nav-divider-color: scale-color(#fff, $lightness: 10%) !default;
//
$sub-nav-font-weight: normal !default;
$sub-nav-text-decoration: none !default;
$sub-nav-border-radius: 3px !default;
-$sub-nav-font-color-hover: darken($sub-nav-font-color, 15%) !default;
+$sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%) !default;
// We use these to control the active item styles
$sub-nav-active-font-weight: normal !default;
$sub-nav-active-bg: $primary-color !default;
-$sub-nav-active-bg-hover: darken($sub-nav-active-bg, 5%) !default;
+$sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%) !default;
$sub-nav-active-color: #fff !default;
$sub-nav-active-padding: rem-calc(3 16) !default;
$sub-nav-active-cursor: default !default;
$font-color:$sub-nav-font-color,
$font-size:$sub-nav-font-size,
$active-bg:$sub-nav-active-bg,
- $active-bg-hover:darken($active-bg, 5%)) {
+ $active-bg-hover:scale-color(#008CBA, $lightness: 5%)) {
display: block;
width: auto;
overflow: hidden;
$include-html-form-classes: $include-html-classes !default;
// Controlling border styles and background colors for the switch container
-$switch-border-color: darken(#fff, 20%) !default;
+$switch-border-color: scale-color(#fff, $lightness: -20%) !default;
$switch-border-style: solid !default;
$switch-border-width: 1px !default;
$switch-bg: #fff !default;
// We use these to style the switch-paddle
$switch-paddle-bg: #fff !default;
-$switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%) !default;
-$switch-paddle-border-color: darken($switch-paddle-bg, 35%) !default;
+$switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%) !default;
+$switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%) !default;
$switch-paddle-border-width: 1px !default;
$switch-paddle-border-style: solid !default;
$switch-paddle-transition-speed: .1s !default;
border-color: $switch-border-color;
span:last-child {
- border-color: darken($paddle-bg, 30%);
+ border-color: scale-color($paddle-bg, $lightness: -30%);
background: $paddle-bg;
@if $experimental {
- background: -moz-linear-gradient(top, $paddle-bg 0%, darken($paddle-bg, 5%) 100%);
- background: -webkit-linear-gradient(top, $paddle-bg 0%, darken($paddle-bg, 5%) 100%);
+ background: -moz-linear-gradient(top, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -5%) 100%);
+ background: -webkit-linear-gradient(top, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -5%) 100%);
}
- background: linear-gradient(to bottom, $paddle-bg 0%, darken($paddle-bg, 5%) 100%);
+ background: linear-gradient(to bottom, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -5%) 100%);
// Building the alternating colored sides of the switch
@if $experimental {
span:last-child {
background: $paddle-bg;
@if $experimental {
- background: -moz-linear-gradient(top, $paddle-bg 0%, darken($paddle-bg, 10%) 100%);
- background: -webkit-linear-gradient(top, $paddle-bg 0%, darken($paddle-bg, 10%) 100%);
+ background: -moz-linear-gradient(top, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -10%) 100%);
+ background: -webkit-linear-gradient(top, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -10%) 100%);
}
- background: linear-gradient(to bottom, $paddle-bg 0%, darken($paddle-bg, 10%) 100%);
+ background: linear-gradient(to bottom, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -10%) 100%);
}
}
$tabs-navigation-padding: rem-calc(16) !default;
$tabs-navigation-bg-color: #efefef !default;
-$tabs-navigation-hover-bg-color: darken($tabs-navigation-bg-color, 5%) !default;
+$tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%) !default;
$tabs-navigation-font-color: #222 !default;
$tabs-navigation-font-size: rem-calc(16) !default;
$tabs-navigation-font-family: $body-font-family !default;
@include exports("tab") {
@if $include-html-tabs-classes {
- .tabs {
- @include clearfix;
+ .tabs {
+ @include clearfix;
margin-bottom: 0 !important;
- dd {
- position: relative;
+ dd {
+ position: relative;
margin-bottom: 0 !important;
- top: 1px;
- float: $default-float;
- > a {
- display: block;
+ top: 1px;
+ float: $default-float;
+ > a {
+ display: block;
background: $tabs-navigation-bg-color;
- color: $tabs-navigation-font-color;
+ color: $tabs-navigation-font-color;
padding-top: $tabs-navigation-padding;
padding-#{$opposite-direction}: $tabs-navigation-padding * 2;
padding-bottom: $tabs-navigation-padding + rem-calc(1);
padding-#{$default-float}: $tabs-navigation-padding * 2;
font-family: $tabs-navigation-font-family;
- font-size: $tabs-navigation-font-size;
+ font-size: $tabs-navigation-font-size;
&:hover { background: $tabs-navigation-hover-bg-color; }
}
&.active a { background: #fff; }
a { @include side-radius($opposite-direction, $global-radius); }
}
}
- &.vertical {
+ &.vertical {
dd {
position: inherit;
float: none;
}
}
- .tabs-content {
- @include clearfix;
+ .tabs-content {
+ @include clearfix;
margin-bottom: $tabs-content-margin-bottom;
- > .content {
- display: none;
- float: $default-float;
- padding: $tabs-content-padding 0;
+ > .content {
+ display: none;
+ float: $default-float;
+ padding: $tabs-content-padding 0;
&.active { display: block; }
&.contained { padding: $tabs-content-padding; }
}
@media #{$medium-up} {
.tabs {
&.vertical {
- width: 20%;
- float: $default-float;
+ width: 20%;
+ float: $default-float;
margin-bottom: $tabs-vertical-navigation-margin-bottom;
}
}
.tabs-content {
&.vertical {
- width: 80%;
- float: $default-float;
+ width: 80%;
+ float: $default-float;
margin-#{$default-float}: -1px;
}
}
$has-tip-border-bottom: dotted 1px #ccc !default;
$has-tip-font-weight: bold !default;
$has-tip-font-color: #333 !default;
-$has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%) !default;
+$has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%) !default;
$has-tip-font-color-hover: $primary-color !default;
$has-tip-cursor-type: help !default;
$topbar-link-hover-lightness: -10% !default; // Darken by 10%
$topbar-link-bg-hover: #272727 !default;
$topbar-link-bg-active: $primary-color !default;
-$topbar-link-bg-active-hover: darken($primary-color, 5%) !default;
+$topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%) !default;
$topbar-link-font-family: $body-font-family !default;
$topbar-button-font-size: 0.75rem;
// Divider Styles
$topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%) !default;
-$topbar-divider-border-top: solid 1px darken($topbar-bg-color, 10%) !default;
+$topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%) !default;
// Sticky Class
$topbar-sticky-class: ".sticky" !default;
padding-#{$opposite-direction}: $topbar-height / 3;
padding-#{$default-float}: $topbar-height / 3;
&:hover {
- background: darken($primary-color, 10%);
+ background: scale-color($primary-color, $lightness: -27%);
}
}
&.button.secondary {
background: $secondary-color;
&:hover {
- background: darken($secondary-color, 10%);
+ background: scale-color($secondary-color, $lightness: -11%);
}
}
&.button.success {
background: $success-color;
&:hover {
- background: darken($success-color, 10%);
+ background: scale-color($success-color, $lightness: -21%);
}
}
&.button.alert {
background: $alert-color;
&:hover {
- background: darken($alert-color, 10%);
+ background: scale-color($alert-color, $lightness: -18%);
}
}
$paragraph-text-rendering: optimizeLegibility !default;
// We use these to style <code> tags
-$code-color: darken($alert-color, 15%) !default;
+$code-color: scale-color($alert-color, $lightness: -27%) !default;
$code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
$code-font-weight: bold !default;
// We use these to style anchors
$anchor-text-decoration: none !default;
$anchor-font-color: $primary-color !default;
-$anchor-font-color-hover: darken($primary-color, 5%) !default;
+$anchor-font-color-hover: scale-color($primary-color, $lightness: -14%) !default;
// We use these to style the <hr> element
$hr-border-width: 1px !default;