Skip to content

Instantly share code, notes, and snippets.

@ascottmccauley
Created April 8, 2013 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ascottmccauley/5337377 to your computer and use it in GitHub Desktop.
Save ascottmccauley/5337377 to your computer and use it in GitHub Desktop.
(work in progress) An adaptation of the _settings.scss for Foundation 4 that hinges colors based around the $body-bg color. I had to add the reverse-lightness function so that the settings would work for both light and dark schemes.
// Required global settings and mixins for Foundation
@import "foundation/foundation-global";
// Find the opposite lightness value of a color for more contrast. Neutral colors will see less difference
@function reverse-lightness($color, $percent: 'auto') {
@if(lightness($color) < 50%) { // dark colors
@if($percent == 'auto') {
$percent: 2* ( 50 - lightness($color));
}
$color: lighten($color, $percent);
} @else {
@if($percent == 'auto') { // light colors
$percent: 2* ( lightness($color)- 50 );
}
$color: darken($color, $percent);
}
@return $color;
}
// Settings file to override Foundation variables
// You can find the variables for each component at the bottom of their
// doc page. We tried to name them to where they'd make sense just by reading them.
// Go to http://foundation.zurb.com/docs/ to find what you need.
//
// Foundation Global Variables
//
// This is the default html and body font-size for the base em value.
$em-base: 16px;
// We use these to control various global styles
$body-bg: #333;
$body-font-color: reverse-lightness($body-bg);
$body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
$body-font-weight: normal;
$body-font-style: normal;
// We use this to control font-smoothing
$font-smoothing: antialiased;
// We use these to control text direction settings
$text-direction: ltr;
// We use these as default colors throughout
$primary-color: #2ba6cb;
$secondary-color: #e9e9e9;
$alert-color: #c60f13;
$success-color: #5da423;
// We use these to make sure border radius matches unless we want it different.
$global-radius: 3px;
$global-rounded: 1000px;
// We use these to control inset shadow shiny edges and depressions.
$shiny-edge-size: 0 1px 0;
$shiny-edge-color: rgba(#fff, .5);
$shiny-edge-active-color: rgba(#000, .2);
// We use this to control whether or not CSS classes come through in the gem files.
$include-html-classes: true;
$include-print-styles: true;
// Modular html classes
$include-html-grid-classes: $include-html-classes;
$include-html-visibility-classes: $include-html-classes;
$include-html-button-classes: $include-html-classes;
$include-html-form-classes: $include-html-classes;
$include-html-media-classes: $include-html-classes;
$include-html-section-classes: $include-html-classes;
$include-html-reveal-classes: $include-html-classes;
$include-html-alert-classes: $include-html-classes;
$include-html-nav-classes: $include-html-classes;
$include-html-label-classes: $include-html-classes;
$include-html-panel-classes: $include-html-classes;
$include-html-pricing-classes: $include-html-classes;
$include-html-progress-classes: $include-html-classes;
//
// Grid Variables
//
$row-width: 62.5em;
$column-gutter: 1.875em;
$total-columns: 12;
//
// Block Grid Variables
//
// We use this to control the maximum number of block grid elements per row
$block-grid-elements: 12;
$block-grid-default-spacing: 10px;
// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
$block-grid-media-queries: true;
//
// Typography Variables
//
// We use these to control header font styles
$header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
$header-font-weight: bold;
$header-font-style: normal;
$header-font-color: reverse-lightness($body-bg);
$header-line-height: 1.4;
$header-top-margin: .2em;
$header-bottom-margin: .5em;
$header-text-rendering: optimizeLegibility;
// We use these to control header font sizes
$h1-font-size: emCalc(44px);
$h2-font-size: emCalc(37px);
$h3-font-size: emCalc(27px);
$h4-font-size: emCalc(23px);
$h5-font-size: emCalc(18px);
$h6-font-size: 1em;
// These control how subheaders are styled.
$subheader-line-height: 1.4;
$subheader-font-color: reverse-lightness($header-font-color, 30%);
$subheader-font-weight: 300;
$subheader-top-margin: .2em;
$subheader-bottom-margin: .5em;
// A general <small> styling
$small-font-size: 60%;
$small-font-color: reverse-lightness($header-font-color, 30%);
// We use these to style paragraphs
$paragraph-font-family: inherit;
$paragraph-font-weight: normal;
$paragraph-font-size: 1em;
$paragraph-line-height: 1.6;
$paragraph-margin-bottom: emCalc(20px);
$paragraph-aside-font-size: emCalc(14px);
$paragraph-aside-line-height: 1.35;
$paragraph-aside-font-style: italic;
// We use these to style <code> tags
$code-color: reverse-lightness($alert-color, 15%);
$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: reverse-lightness($primary-color, 5%);
// We use these to style the <hr> element
$hr-border-width: 1px;
$hr-border-style: solid;
$hr-border-color: reverse-lightness($body-bg, 10%);
$hr-margin: emCalc(20px);
// We use these to style lists
$list-style-position: outside;
$list-side-margin: emCalc(18px);
$definition-list-header-weight: bold;
$definition-list-header-margin-bottom: .3em;
$definition-list-margin-bottom: emCalc(12px);
// We use these to style blockquotes
$blockquote-font-color: reverse-lightness($header-font-color, 30%);
$blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
$blockquote-border: 1px solid reverse-lightness($body-bg, 5%);
$blockquote-cite-font-size: emCalc(13px);
$blockquote-cite-font-color: reverse-lightness($header-font-color, 20%);
$blockquote-cite-link-color: $blockquote-cite-font-color;
// Acronym styles
$acronym-underline: 1px dotted reverse-lightness($body-bg);
// We use these to control padding and margin
$microformat-padding: emCalc(10px) emCalc(12px);
$microformat-margin: 0 0 emCalc(20px) 0;
// We use these to control the border styles
$microformat-border-width: 1px;
$microformat-border-style: solid;
$microformat-border-color: reverse-lightness($body-bg, 5%);
// We use these to control full name font styles
$microformat-fullname-font-weight: bold;
$microformat-fullname-font-size: emCalc(15px);
// We use this to control the summary font styles
$microformat-summary-font-weight: bold;
// We use this to control abbr padding
$microformat-abbr-padding: 0 emCalc(1px);
// We use this to control abbr font styles
$microformat-abbr-font-weight: bold;
$microformat-abbr-font-decoration: none;
//
// Form Variables
//
// We use this to set the base for lots of form spacing and positioning styles
$form-spacing: emCalc(16px);
// We use these to style the labels in different ways
$label-pointer: pointer;
$label-font-size: emCalc(14px);
$label-font-weight: 500;
$label-font-color: reverse-lightness($body-bg);
$label-bottom-margin: emCalc(3px);
$input-bg-color: reverse-lightness($body-bg, 2%);
$input-focus-bg-color: reverse-lightness($input-bg-color, 2%);
$input-border-color: reverse-lightness($input-bg-color, 10%);
$input-focus-border-color: reverse-lightness($input-bg-color, 20%);
$input-border-style: solid;
$input-border-width: 1px;
$input-disabled-bg: reverse-lightness($input-bg-color, 5%);
$input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
$input-font-family: inherit;
$input-font-color: reverse-lightness($body-bg);
$input-font-size: emCalc(14px);
// We use these to style the fieldset border and spacing.
$fieldset-border-style: solid;
$fieldset-border-width: 1px;
$fieldset-border-color: reverse-lightness($body-bg, 5%);
$fieldset-padding: emCalc(20px);
$fieldset-margin: emCalc(18px) 0;
// We use these to style the legends when you use them
$legend-bg: $body-bg;
$legend-font-weight: bold;
$legend-padding: 0 emCalc(3px);
// We use these to style the prefix and postfix input elements
$input-prefix-bg: reverse-lightness($body-bg, 5%);
$input-prefix-border-color: reverse-lightness($input-prefix-bg, 20%);
$input-prefix-border-size: 1px;
$input-prefix-border-type: solid;
$input-prefix-overflow: hidden;
$input-prefix-font-color: reverse-lightness($input-prefix-bg);
$input-prefix-font-color-alt: #fff;
// We use these to style the error states for inputs and labels
$input-error-message-padding: emCalc(6px) emCalc(4px);
$input-error-message-top: -($form-spacing) - emCalc(5px);
$input-error-message-font-size: emCalc(12px);
$input-error-message-font-weight: bold;
$input-error-message-font-color: #fff;
$input-error-message-font-color-alt: #333;
// We use these to build padding for buttons.
$button-med: emCalc(12px);
$button-tny: emCalc(7px);
$button-sml: emCalc(9px);
$button-lrg: emCalc(16px);
// We use this to control the display property.
$button-display: inline-block;
$button-margin-bottom: emCalc(20px);
// We use these to control button text styles.
$button-font-family: inherit;
$button-font-color: #fff;
$button-font-color-alt: #333;
$button-font-med: emCalc(16px);
$button-font-tny: emCalc(11px);
$button-font-sml: emCalc(13px);
$button-font-lrg: emCalc(20px);
$button-font-weight: bold;
$button-font-align: center;
// We use these to control various hover effects.
$button-function-factor: 10%;
// We use these to control button border styles.
$button-border-width: 1px;
$button-border-style: solid;
$button-border-color: reverse-lightness($primary-color, $button-function-factor);
// We use this to set the default radius used throughout the core.
$button-radius: $global-radius;
// We use this to set default opacity for disabled buttons.
$button-disabled-opacity: 0.6;
//
// Dropdown Button Variables
//
// We use these to set the color of the pip in dropdown buttons
$dropdown-button-pip-color: #fff;
$dropdown-button-pip-color-alt: #333;
// We use these to style tiny dropdown buttons
$dropdown-button-padding-tny: $button-tny * 5;
$dropdown-button-pip-size-tny: $button-tny;
$dropdown-button-pip-right-tny: $button-tny * 2;
$dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
// We use these to style small dropdown buttons
$dropdown-button-padding-sml: $button-sml * 5;
$dropdown-button-pip-size-sml: $button-sml;
$dropdown-button-pip-right-sml: $button-sml * 2;
$dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
// We use these to style medium dropdown buttons
$dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
$dropdown-button-pip-size-med: $button-med - emCalc(3px);
$dropdown-button-pip-right-med: $button-med * 2;
$dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
// We use these to style large dropdown buttons
$dropdown-button-padding-lrg: $button-lrg * 4;
$dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
$dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
$dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px);
//
// Split Button Variables
//
// We use these to control different shared styles for Split Buttons
$split-button-function-factor: 15%;
$split-button-pip-color: #fff;
$split-button-pip-color-alt: #333;
$split-button-active-bg-tint: rgba(0,0,0,0.1);
// We use these to control tiny split buttons
$split-button-padding-tny: $button-tny * 9;
$split-button-span-width-tny: $button-tny * 6.5;
$split-button-pip-size-tny: $button-tny;
$split-button-pip-top-tny: $button-tny * 2;
$split-button-pip-left-tny: emCalc(-5px);
// We use these to control small split buttons
$split-button-padding-sml: $button-sml * 7;
$split-button-span-width-sml: $button-sml * 5;
$split-button-pip-size-sml: $button-sml;
$split-button-pip-top-sml: $button-sml * 1.5;
$split-button-pip-left-sml: emCalc(-9px);
// We use these to control medium split buttons
$split-button-padding-med: $button-med * 6.4;
$split-button-span-width-med: $button-med * 4;
$split-button-pip-size-med: $button-med - emCalc(3px);
$split-button-pip-top-med: $button-med * 1.5;
$split-button-pip-left-med: emCalc(-9px);
// We use these to control large split buttons
$split-button-padding-lrg: $button-lrg * 6;
$split-button-span-width-lrg: $button-lrg * 3.75;
$split-button-pip-size-lrg: $button-lrg - emCalc(6px);
$split-button-pip-top-lrg: $button-lrg + emCalc(5px);
$split-button-pip-left-lrg: emCalc(-9px);
//
// Alert Variables
//
// We use this to control alert padding.
$alert-padding-top: emCalc(11px);
$alert-padding-left: $alert-padding-top;
$alert-padding-right: $alert-padding-top + emCalc(10px);
$alert-padding-bottom: $alert-padding-top + emCalc(1px);
// We use these to control text style.
$alert-font-weight: bold;
$alert-font-size: emCalc(14px);
$alert-font-color: #fff;
$alert-font-color-alt: reverse-lightness($secondary-color, 60%);
// We use this for close hover effect.
$alert-function-factor: 10%;
// We use these to control border styles.
$alert-border-style: solid;
$alert-border-width: 1px;
$alert-border-color: reverse-lightness($primary-color, $alert-function-factor);
$alert-bottom-margin: emCalc(20px);
// We use these to style the close buttons
$alert-close-color: #333;
$alert-close-position: emCalc(5px);
$alert-close-font-size: emCalc(22px);
$alert-close-opacity: 0.3;
$alert-close-opacity-hover: 0.5;
$alert-close-padding: 5px 4px 4px;
// We use this to control border radius
$alert-radius: $global-radius;
//
// Breadcrumb Variables
//
// We use this to set the background color for the breadcrumb container.
$crumb-bg: reverse-lightness($secondary-color, 5%);
// We use these to set the padding around the breadcrumbs.
$crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
$crumb-side-padding: emCalc(12px);
// We use these to control border styles.
$crumb-function-factor: 10%;
$crumb-border-size: 1px;
$crumb-border-style: solid;
$crumb-border-color: reverse-lightness($crumb-bg, $crumb-function-factor);
$crumb-radius: $global-radius;
// We use these to set various text styles for breadcrumbs.
$crumb-font-size: emCalc(11px);
$crumb-font-color: $primary-color;
$crumb-font-color-current: #333;
$crumb-font-color-unavailable: #999;
$crumb-font-transform: uppercase;
$crumb-link-decor: underline;
// We use these to control the slash between breadcrumbs
$crumb-slash-color: #aaa;
$crumb-slash: "/";
//
// Clearing Variables
//
// We use these to set the background colors for parts of Clearing.
$clearing-bg: #111;
$clearing-caption-bg: $clearing-bg;
$clearing-carousel-bg: #111;
$clearing-img-bg: $clearing-bg;
// We use these to style the close button
$clearing-close-color: #fff;
$clearing-close-size: 40px;
// We use these to style the arrows
$clearing-arrow-size: 16px;
$clearing-arrow-color: $clearing-close-color;
// We use these to style captions
$clearing-caption-font-color: #fff;
$clearing-caption-padding: 10px 30px;
// We use these to make the image and carousel height and style
$clearing-active-img-height: 75%;
$clearing-carousel-height: 150px;
$clearing-carousel-thumb-width: 175px;
$clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255);
//
// Custom Form Variables
//
// We use these to control the basic form styles input styles
$custom-form-border-color: #ccc;
$custom-form-bg: #fff;
$custom-form-bg-disabled: #ddd;
$custom-form-check-color: #222;
// We use these to style the custom select form element.
$custom-select-bg: #fff;
$custom-select-fade-to-color: #f3f3f3;
$custom-select-border-color: #ddd;
$custom-select-triangle-color: #aaa;
$custom-select-triangle-color-open: #222;
$custom-select-height: emCalc(13px) + ($form-spacing * 1.5);
$custom-select-margin-bottom: emCalc(20px);
$custom-select-font-color-selected: #141414;
$custom-select-disabled-color: #888;
// We use these to control the style of the custom select dropdown element.
$custom-dropdown-height: 200px;
$custom-dropdown-bg: #fff;
$custom-dropdown-border-color: reverse-lightness($custom-dropdown-bg, 20%);
$custom-dropdown-border-width: 1px;
$custom-dropdown-border-style: solid;
$custom-dropdown-font-color: #555;
$custom-dropdown-font-size: emCalc(14px);
$custom-dropdown-color-selected: #eeeeee;
$custom-dropdown-font-color-selected: #000;
$custom-dropdown-shadow: 0 2px 2px 0px rgba(0,0,0,0.1);
$custom-dropdown-offset-top: none;
$custom-dropdown-list-padding: emCalc(4px);
$custom-dropdown-left-padding: emCalc(6px);
$custom-dropdown-right-padding: emCalc(38px);
$custom-dropdown-list-item-min-height: emCalc(24px);
//
// Dropdown Variables
//
// We use these to controls height and width styles.
$f-dropdown-max-width: 200px;
$f-dropdown-height: auto;
$f-dropdown-max-height: none;
$f-dropdown-margin-top: 2px;
// We use this to control the background color
$f-dropdown-bg: #fff;
// We use this to set the border styles for dropdowns.
$f-dropdown-border-style: solid;
$f-dropdown-border-width: 1px;
$f-dropdown-border-color: reverse-lightness($f-dropdown-bg, 20%);
// We use these to style the triangle pip.
$f-dropdown-triangle-size: 6px;
$f-dropdown-triangle-color: #fff;
$f-dropdown-triangle-side-offset: 10px;
// We use these to control styles for the list elements.
$f-dropdown-list-style: none;
$f-dropdown-font-color: #555;
$f-dropdown-font-size: emCalc(14px);
$f-dropdown-list-padding: emCalc(5px) emCalc(10px);
$f-dropdown-line-height: emCalc(18px);
$f-dropdown-list-hover-bg: #eeeeee;
$dropdown-mobile-left: 0;
// We use this to control the styles for when the dropdown has custom content.
$f-dropdown-content-padding: emCalc(20px);
//
// Flex Video Variables
//
// We use these to control video container padding and margins
$flex-video-padding-top: emCalc(25px);
$flex-video-padding-bottom: 67.5%;
$flex-video-margin-bottom: emCalc(16px);
// We use this to control widescreen bottom padding
$flex-video-widescreen-padding-bottom: 57.25%;
//
// Inline List Variables
//
// We use this to control the margins and padding of the inline list.
$inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
$inline-list-margin: 0 0;
$inline-list-padding: 0;
// We use this to control the overflow of the inline list.
$inline-list-overflow: hidden;
// We use this to control the list items
$inline-list-display: block;
// We use this to control any elments within list items
$inline-list-children-display: block;
//
// Joyride Variables
//
// Controlling default Joyride styles
$joyride-tip-bg: rgb(0,0,0);
$joyride-tip-default-width: 300px;
$joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
$joyride-tip-border: solid 1px #555;
$joyride-tip-radius: 4px;
$joyride-tip-position-offset: 22px;
// Here, we're setting the tip dont styles
$joyride-tip-font-color: #fff;
$joyride-tip-font-size: emCalc(14px);
$joyride-tip-header-weight: bold;
// This changes the nub size
$joyride-tip-nub-size: 14px;
// This adjusts the styles for the timer when its enabled
$joyride-tip-timer-width: 50px;
$joyride-tip-timer-height: 3px;
$joyride-tip-timer-color: #666;
// This changes up the styles for the close button
$joyride-tip-close-color: #777;
$joyride-tip-close-size: 30px;
$joyride-tip-close-weight: normal;
// When Joyride is filling the screen, we use this style for the bg
$joyride-screenfill: rgba(0,0,0,0.5);
//
// Keystroke Variables
//
// We use these to control text styles.
$keystroke-font: "Consolas", "Menlo", "Courier", monospace;
$keystroke-font-size: emCalc(15px);
$keystroke-font-color: #222;
$keystroke-font-color-alt: #fff;
$keystroke-function-factor: 7%;
// We use this to control keystroke padding.
$keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
// We use these to control background and border styles.
$keystroke-bg: reverse-lightness($body-bg, $keystroke-function-factor);
$keystroke-border-style: solid;
$keystroke-border-width: 1px;
$keystroke-border-color: reverse-lightness($keystroke-bg, $keystroke-function-factor);
$keystroke-radius: $global-radius;
//
// Label Variables
//
// We use these to style the labels
$label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
$label-radius: $global-radius;
// We use these to style the label text
$label-font-sizing: emCalc(14px);
$label-font-weight: bold;
//
// Orbit Settings
//
// We use these to control the caption styles
$orbit-container-bg: #f5f5f5;
$orbit-caption-bg-old-browser: #000;
$orbit-caption-bg-old: rgb(0,0,0);
$orbit-caption-bg: rgba(0,0,0,0.6);
$orbit-caption-font-color: #fff;
// We use these to control the left/right nav styles
$orbit-nav-bg-old: rgb(0,0,0);
$orbit-nav-bg: rgba(0,0,0,0.6);
// We use these to control the timer styles
$orbit-timer-bg-old: rgb(0,0,0);
$orbit-timer-bg: rgba(0,0,0,0.6);
// We use these to control the bullet nav styles
$orbit-bullet-nav-color: #999;
$orbit-bullet-nav-color-active: #222;
// We use thes to controls the style of slide numbers
$orbit-slide-number-bg: rgb(0,0,0);
$orbit-slide-number-font-color: #fff;
$orbit-slide-number-padding: emCalc(5px);
// Margin for when Orbit is stacked on small screens
$stack-on-small-margin-bottom: emCalc(20px); // Doesn't quite work yet
//
// Pagination Variables
//
// We use these to control the pagination container
$pagination-height: emCalc(24px);
$pagination-margin: emCalc(-5px);
// We use these to set the list-item properties
$pagination-li-float: $default-float;
$pagination-li-height: emCalc(24px);
$pagination-li-font-color: #222;
$pagination-li-font-size: emCalc(14px);
$pagination-li-margin: emCalc(5px);
// We use these for the pagination anchor links
$pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
$pagination-link-active-bg: reverse-lightness($body-bg, 10%);
$pagination-link-font-color: reverse-lightness($pagination-link-active-bg);
// We use these for disabled anchor links
$pagination-link-unavailable-cursor: default;
$pagination-link-unavailable-font-color: reverse-lightness($pagination-link-active-bg);
$pagination-link-unavailable-bg-active: transparent;
// We use these for currently selected anchor links
$pagination-link-current-background: $primary-color;
$pagination-link-current-font-color: reverse-lightness($pagination-link-current-background, 100%);
$pagination-link-current-font-weight: bold;
$pagination-link-current-cursor: default;
$pagination-link-current-active-bg: $primary-color;
//
// Panel Variables
//
// We use these to control the background and border styles
$panel-bg: reverse-lightness($body-bg, 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: reverse-lightness($panel-bg, $panel-function-factor);
// We use these to set default inner padding and bottom margin
$panel-margin-bottom: emCalc(20px);
$panel-padding: emCalc(20px);
// We use these to set default font colors
$panel-font-color: reverse-lightness($panel-bg);
$panel-font-color-alt: #fff;
//
// Pricing Table Variables
//
// We use this to control the border color
$price-table-border: solid 1px #ddd;
// We use this to control the bottom margin of the pricing table
$price-table-margin-bottom: emCalc(20px);
// We use these to control the title styles
$price-title-bg: #ddd;
$price-title-padding: emCalc(15px) emCalc(20px);
$price-title-align: center;
$price-title-color: #333;
$price-title-weight: bold;
$price-title-size: emCalc(16px);
// We use these to control the price styles
$price-money-bg: #eee;
$price-money-padding: emCalc(15px) emCalc(20px);
$price-money-align: center;
$price-money-color: #333;
$price-money-weight: normal;
$price-money-size: emCalc(20px);
// We use these to control the description styles
$price-bg: #fff;
$price-desc-color: #777;
$price-desc-padding: emCalc(15px);
$price-desc-align: center;
$price-desc-font-size: emCalc(12px);
$price-desc-weight: normal;
$price-desc-line-height: 1.4;
$price-desc-bottom-border: dotted 1px #ddd;
// We use these to control the list item styles
$price-item-color: #333;
$price-item-padding: emCalc(15px);
$price-item-align: center;
$price-item-font-size: emCalc(14px);
$price-item-weight: normal;
$price-item-bottom-border: dotted 1px #ddd;
// We use these to control the CTA area styles
$price-cta-bg: #f5f5f5;
$price-cta-align: center;
$price-cta-padding: emCalc(20px) emCalc(20px) 0;
//
// Progress Bar Variables
//
// We use this to se the prog bar height
$progress-bar-height: emCalc(25px);
$progress-bar-color: transparent;
// We use these to control the border styles
$progress-bar-border-color: reverse-lightness($body-bg, 20%);
$progress-bar-border-size: 1px;
$progress-bar-border-style: solid;
$progress-bar-border-radius: $global-radius;
// We use these to control the margin & padding
$progress-bar-pad: emCalc(2px);
$progress-bar-margin-bottom: emCalc(10px);
// We use these to set the meter colors
$progress-meter-color: $primary-color;
$progress-meter-secondary-color: $secondary-color;
$progress-meter-success-color: $success-color;
$progress-meter-alert-color: $alert-color;
// NEED TO FINISH THE LOGIC HERE
//
// Reveal Variables
//
// We use these to control the style of the reveal overlay.
$reveal-overlay-bg: rgba(#000, .45);
$reveal-overlay-bg-old: #000;
// We use these to control the style of the modal itself.
$reveal-modal-bg: $body-bg;
$reveal-position-top: 50px;
$reveal-default-width: 80%;
$reveal-modal-padding: emCalc(20px);
$reveal-box-shadow: 0 0 10px rgba(#000,.4);
// We use these to style the reveal close button
$reveal-close-font-size: emCalc(22px);
$reveal-close-top: emCalc(8px);
$reveal-close-side: emCalc(11px);
$reveal-close-color: reverse-lightness($reveal-modal-bg);
$reveal-close-weight: bold;
// We use these to control the modal border
$reveal-border-style: solid;
$reveal-border-width: 1px;
$reveal-border-color: reverse-lightness($reveal-modal-bg);
//
// Section Variables
//
// We use these to set padding and hover factor
$section-padding: emCalc(15px);
$section-function-factor: 10%;
// Control the color of the background and some size options
$section-content-bg: $body-bg;
$section-vertical-nav-min-width: emCalc(200px);
$section-bottom-margin: emCalc(20px);
// Want to control border size, here ya go!
$section-border-size: 1px;
$section-border-style: solid;
$section-border-color: reverse-lightness($section-content-bg, 5%);
// These style the titles
$section-title-bg: reverse-lightness($section-content-bg, 5%);
$section-title-bg-active: reverse-lightness($section-title-bg, $section-function-factor);
$section-title-bg-active-tabs: $section-content-bg;
$section-title-color: reverse-lightness($section-content-bg);
//
// Side Nav Variables
//
// We use this to control padding.
$side-nav-padding: emCalc(14px) 0;
// We use these to control list styles.
$side-nav-list-type: none;
$side-nav-list-position: inside;
$side-nav-list-margin: 0 0 emCalc(7px) 0;
// We use these to control link styles.
$side-nav-link-color: $primary-color;
$side-nav-link-color-active: reverse-lightness($side-nav-link-color, 30%);
$side-nav-font-size: emCalc(14px);
$side-nav-font-weight: bold;
// We use these to control border styles
$side-nav-divider-size: 1px;
$side-nav-divider-style: solid;
$side-nav-divider-color: reverse-lightness($body-bg, 10%);
//
// Sub Nav Variables
//
// We use these to control margin and padding
$sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
$sub-nav-list-padding-top: emCalc(4px);
// We use this to control the definition
$sub-nav-font-size: emCalc(14px);
$sub-nav-font-color: #999;
$sub-nav-font-weight: normal;
$sub-nav-text-decoration: none;
$sub-nav-border-radius: 1000px;
// We use these to control the active item styles
$sub-nav-active-font-weight: bold;
$sub-nav-active-bg: $primary-color;
$sub-nav-active-color: #fff;
$sub-nav-active-padding: emCalc(3px) emCalc(9px);
$sub-nav-active-cursor: default;
//
// Switch Variables
//
// Controlling border styles and background colors for the switch container
$switch-bg: $body-bg;
$switch-border-color: reverse-lightness($switch-bg, 20%);
$switch-border-style: solid;
$switch-border-width: 1px;
// We use these to control the switch heights for our default classes
$switch-height-tny: 22px;
$switch-height-sml: 28px;
$switch-height-med: 36px;
$switch-height-lrg: 44px;
$switch-bottom-margin: emCalc(20px);
// We use these to control default font sizes for our classes.
$switch-font-size-tny: 11px;
$switch-font-size-sml: 12px;
$switch-font-size-med: 14px;
$switch-font-size-lrg: 17px;
$switch-label-side-padding: 6px;
// We use these to style the switch-paddle
$switch-paddle-bg: $body-bg;
$switch-paddle-fade-to-color: reverse-lightness($switch-paddle-bg, 10%);
$switch-paddle-border-color: reverse-lightness($switch-paddle-bg, 35%);
$switch-paddle-border-width: 1px;
$switch-paddle-border-style: solid;
$switch-paddle-transition-speed: .1s;
$switch-paddle-transition-ease: ease-out;
$switch-positive-color: reverse-lightness($success-color, 50%);
$switch-negative-color: #f5f5f5;
// Outline Style for tabbing through switches
$switch-label-outline: 1px dotted #888;
//
// Table Variables
//
// These control the background color for the table and even rows
$table-bg: $body-bg;
$table-even-row-bg: reverse-lightness($table-bg, 5%);
// These control the table cell border style
$table-border-style: solid;
$table-border-size: 1px;
$table-border-color: reverse-lightness($table-bg, 5%);
// These control the table head styles
$table-head-bg: reverse-lightness($table-bg, 5%);
$table-head-font-size: emCalc(14px);
$table-head-font-color: reverse-lightness($table-bg);
$table-head-font-weight: bold;
$table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
// These control the row padding and font styles
$table-row-padding: emCalc(9px) emCalc(10px);
$table-row-font-size: emCalc(14px);
$table-row-font-color: reverse-lightness($table-bg);
$table-line-height: emCalc(18px);
// These are for controlling the display and margin of tables
$table-display: table-cell;
$table-margin-bottom: emCalc(20px);
//
// Image Thumbnail Variables
//
// We use these to control border styles
$thumb-border-style: solid;
$thumb-border-width: 4px;
$thumb-border-color: #fff;
$thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
$thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
// Radius and transition speed for thumbs
$thumb-radius: $global-radius;
$thumb-transition-speed: 200ms;
//
// Tooltip Variables
//
$has-tip-border-bottom: dotted 1px #ccc;
$has-tip-font-weight: bold;
$has-tip-font-color: #333;
$has-tip-border-bottom-hover: dotted 1px reverse-lightness($primary-color, 20%);
$has-tip-font-color-hover: $primary-color;
$has-tip-cursor-type: help;
$tooltip-padding: emCalc(8px);
$tooltip-bg: #000;
$tooltip-font-size: emCalc(15px);
$tooltip-font-weight: bold;
$tooltip-font-color: #fff;
$tooltip-line-height: 1.3;
$tooltip-close-font-size: emCalc(10px);
$tooltip-close-font-weight: normal;
$tooltip-close-font-color: #888;
$tooltip-font-size-sml: emCalc(14px);
$tooltip-radius: $global-radius;
$tooltip-pip-size: 5px;
//
// Top Bar Variables
//
// Background color for the top bar
$topbar-bg: reverse-lightness($body-bg, 50%);
// Height and margin
$topbar-height: 45px;
$topbar-margin-bottom: emCalc(30px);
// Control Input height for top bar
$topbar-input-height: 2.45em;
// Controlling the styles for the title in the top bar
$topbar-title-weight: bold;
$topbar-title-font-size: emCalc(17px);
// Set the link colors and styles for top-level nav
$topbar-link-color: reverse-lightness($topbar-bg);
$topbar-link-weight: bold;
$topbar-link-font-size: emCalc(13px);
// Style the top bar dropdown elements
$topbar-dropdown-bg: reverse-lightness($topbar-bg, 5%);
$topbar-dropdown-link-color: reverse-lightness($topbar-dropdown-bg);
$topbar-dropdown-toggle-size: 5px;
$topbar-dropdown-toggle-color: $topbar-link-color;
$topbar-dropdown-toggle-alpha: 0.5;
$dropdown-label-color: revese-lightness($topbar-link-color, 10%);
// Top menu icon styles
$topbar-menu-link-transform: uppercase;
$topbar-menu-link-font-size: emCalc(13px);
$topbar-menu-link-weight: bold;
$topbar-menu-link-color: $topbar-link-color;
$topbar-menu-icon-color: $topbar-link-color;
$topbar-menu-link-color-toggled: reverse-lightness($topbar-link-color);
$topbar-menu-icon-color-toggled: reverse-lightness($topbar-link-color);
// Transitions and breakpoint styles
//$topbar-transition-speed: 300ms;
//$topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout
//$topbar-media-query: "only screen and (min-width "#{$topbar-breakpoint}")";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment