vendor/assets/stylesheets/foundation/_settings.scss in foundation-rails-5.2.2.0 vs vendor/assets/stylesheets/foundation/_settings.scss in foundation-rails-5.2.3.0

- old
+ new

@@ -10,19 +10,21 @@ // $rem-base: 16px; // Allows the use of rem-calc() or lower-bound() in your settings @import "foundation/functions"; +// $experimental: true; + // The default font-size is set to 100% of the browser style sheet (usually 16px) // for compatibility with browser-based text zoom or user-set defaults. // Since the typical default browser font-size is 16px, that makes the calculation for grid size. // If you want your base font-size to be different and not have it affect the grid breakpoints, // set $rem-base to $base-font-size and make sure $base-font-size is a px value. // $base-font-size: 100%; -// The $base-line-height is 100% while $base-font-size is 150% +// The $base-font-size is 100% while $base-line-height is 150% // $base-line-height: 150%; // We use this to control whether or not CSS classes come through in the gem files. // $include-html-classes: true; // $include-print-styles: true; @@ -40,11 +42,11 @@ // We use these to control various global styles // $body-bg: #fff; // $body-font-color: #222; // $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; -// $body-font-weight: normal; +// $body-font-weight: $font-weight-normal; // $body-font-style: normal; // We use this to control font-smoothing // $font-smoothing: antialiased; @@ -117,11 +119,11 @@ // $include-html-type-classes: $include-html-classes; // We use these to control header font styles // $header-font-family: $body-font-family; -// $header-font-weight: normal; +// $header-font-weight: $font-weight-normal; // $header-font-style: normal; // $header-font-color: #222; // $header-line-height: 1.4; // $header-top-margin: .2rem; // $header-bottom-margin: .5rem; @@ -136,21 +138,21 @@ // $h6-font-size: 1rem; // These control how subheaders are styled. // $subheader-line-height: 1.4; // $subheader-font-color: scale-color($header-font-color, $lightness: 35%); -// $subheader-font-weight: normal; +// $subheader-font-weight: $font-weight-normal; // $subheader-top-margin: .2rem; // $subheader-bottom-margin: .5rem; // A general <small> styling // $small-font-size: 60%; // $small-font-color: scale-color($header-font-color, $lightness: 35%); // We use these to style paragraphs // $paragraph-font-family: inherit; -// $paragraph-font-weight: normal; +// $paragraph-font-weight: $font-weight-normal; // $paragraph-font-size: 1rem; // $paragraph-line-height: 1.6; // $paragraph-margin-bottom: rem-calc(20); // $paragraph-aside-font-size: rem-calc(14); // $paragraph-aside-line-height: 1.35; @@ -158,30 +160,35 @@ // $paragraph-text-rendering: optimizeLegibility; // We use these to style <code> tags // $code-color: scale-color($alert-color, $lightness: -27%); // $code-font-family: Consolas, 'Liberation Mono', Courier, monospace; -// $code-font-weight: bold; +// $code-font-weight: $font-weight-bold; // We use these to style anchors // $anchor-text-decoration: none; +// $anchor-text-decoration-hover: none; // $anchor-font-color: $primary-color; // $anchor-font-color-hover: scale-color($primary-color, $lightness: -14%); // We use these to style the <hr> element // $hr-border-width: 1px; // $hr-border-style: solid; // $hr-border-color: #ddd; // $hr-margin: rem-calc(20); // We use these to style lists +// $list-font-family: $paragraph-font-family; +// $list-font-size: $paragraph-font-size; +// $list-line-height: $paragraph-line-height; +// $list-margin-bottom: $paragraph-margin-bottom; // $list-style-position: outside; // $list-side-margin: 1.1rem; // $list-ordered-side-margin: 1.4rem; // $list-side-margin-no-bullet: 0; // $list-nested-margin: rem-calc(20); -// $definition-list-header-weight: bold; +// $definition-list-header-weight: $font-weight-bold; // $definition-list-header-margin-bottom: .3rem; // $definition-list-margin-bottom: rem-calc(12); // We use these to style blockquotes // $blockquote-font-color: scale-color($header-font-color, $lightness: 35%); @@ -202,21 +209,21 @@ // $microformat-border-width: 1px; // $microformat-border-style: solid; // $microformat-border-color: #ddd; // We use these to control full name font styles -// $microformat-fullname-font-weight: bold; +// $microformat-fullname-font-weight: $font-weight-bold; // $microformat-fullname-font-size: rem-calc(15); // We use this to control the summary font styles -// $microformat-summary-font-weight: bold; +// $microformat-summary-font-weight: $font-weight-bold; // We use this to control abbr padding // $microformat-abbr-padding: rem-calc(0 1); // We use this to control abbr font styles -// $microformat-abbr-font-weight: bold; +// $microformat-abbr-font-weight: $font-weight-bold; // $microformat-abbr-font-decoration: none; // Accordion // $include-html-accordion-classes: $include-html-classes; @@ -241,11 +248,11 @@ // $alert-padding-default-float: $alert-padding-top; // $alert-padding-opposite-direction: $alert-padding-top + rem-calc(10); // $alert-padding-bottom: $alert-padding-top; // We use these to control text style. -// $alert-font-weight: normal; +// $alert-font-weight: $font-weight-normal; // $alert-font-size: rem-calc(13); // $alert-font-color: #fff; // $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%); // We use this for close hover effect. @@ -339,20 +346,20 @@ // $button-font-color-alt: #333; // $button-font-tny: rem-calc(11); // $button-font-sml: rem-calc(13); // $button-font-med: rem-calc(16); // $button-font-lrg: rem-calc(20); -// $button-font-weight: normal; +// $button-font-weight: $font-weight-normal; // $button-font-align: center; // We use these to control various hover effects. // $button-function-factor: -20%; // We use these to control button border styles. // $button-border-width: 0px; // $button-border-style: solid; -// $bg: $primary-color; +// $button-bg: $primary-color; // $button-border-color: scale-color($bg, $lightness: $button-function-factor); // We use this to set the default radius used throughout the core. // $button-radius: $global-radius; // $button-round: $global-rounded; @@ -500,11 +507,11 @@ // $form-spacing: rem-calc(16); // We use these to style the labels in different ways // $form-label-pointer: pointer; // $form-label-font-size: rem-calc(14); -// $form-label-font-weight: normal; +// $form-label-font-weight: $font-weight-normal; // $form-label-line-height: 1.5; // $form-label-font-color: scale-color(#000, $lightness: 30%); // $form-label-small-transform: capitalize; // $form-label-bottom-margin: 0; // $input-font-family: inherit; @@ -528,11 +535,11 @@ // $fieldset-padding: rem-calc(20); // $fieldset-margin: rem-calc(18 0); // We use these to style the legends when you use them // $legend-bg: #fff; -// $legend-font-weight: bold; +// $legend-font-weight: $font-weight-bold; // $legend-padding: rem-calc(0 3); // We use these to style the prefix and postfix input elements // $input-prefix-bg: scale-color(#fff, $lightness: -5%); // $input-prefix-border-color: scale-color(#fff, $lightness: -20%); @@ -544,11 +551,11 @@ // We use these to style the error states for inputs and labels // $input-error-message-padding: rem-calc(6 9 9); // $input-error-message-top: -1px; // $input-error-message-font-size: rem-calc(12); -// $input-error-message-font-weight: normal; +// $input-error-message-font-weight: $font-weight-normal; // $input-error-message-font-style: italic; // $input-error-message-font-color: #fff; // $input-error-message-font-color-alt: #333; // We use this to style the glowing effect of inputs when focused @@ -566,10 +573,11 @@ // We use this to control the margins and padding of the inline list. // $inline-list-top-margin: 0; // $inline-list-opposite-margin: 0; // $inline-list-bottom-margin: rem-calc(17); // $inline-list-default-float-margin: rem-calc(-22); +// $inline-list-default-float-list-margin: rem-calc(22); // $inline-list-padding: 0; // We use this to control the overflow of the inline list. // $inline-list-overflow: hidden; @@ -593,11 +601,11 @@ // $joyride-tip-position-offset: 22px; // Here, we're setting the tip dont styles // $joyride-tip-font-color: #fff; // $joyride-tip-font-size: rem-calc(14); -// $joyride-tip-header-weight: bold; +// $joyride-tip-header-weight: $font-weight-bold; // This changes the nub size // $joyride-tip-nub-size: 10px; // This adjusts the styles for the timer when its enabled @@ -606,11 +614,11 @@ // $joyride-tip-timer-color: #666; // This changes up the styles for the close button // $joyride-tip-close-color: #777; // $joyride-tip-close-size: 24px; -// $joyride-tip-close-weight: normal; +// $joyride-tip-close-weight: $font-weight-normal; // When Joyride is filling the screen, we use this style for the bg // $joyride-screenfill: rgba(0,0,0,0.5); // Keystrokes @@ -642,11 +650,11 @@ // $label-padding: rem-calc(4 8 6); // $label-radius: $global-radius; // We use these to style the label text // $label-font-sizing: rem-calc(11); -// $label-font-weight: normal; +// $label-font-weight: $font-weight-normal; // $label-font-color: #333; // $label-font-color-alt: #fff; // $label-font-family: $body-font-family; // Magellan @@ -670,11 +678,11 @@ // $tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%); // $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%); // Off Canvas Tab Bar Headers // $tabbar-header-color: #fff; -// $tabbar-header-weight: bold; +// $tabbar-header-weight: $font-weight-bold; // $tabbar-header-line-height: $tabbar-height; // $tabbar-header-margin: 0; // Off Canvas Menu Variables // $off-canvas-width: rem-calc(250); @@ -682,11 +690,11 @@ // Off Canvas Menu List Variables // $off-canvas-label-padding: 0.3rem rem-calc(15); // $off-canvas-label-color: #999; // $off-canvas-label-text-transform: uppercase; -// $off-canvas-label-font-weight: bold; +// $off-canvas-label-font-weight: $font-weight-bold; // $off-canvas-label-bg: #444; // $off-canvas-label-border-top: 1px solid scale-color(#444, $lightness: 14%); // $off-canvas-label-border-bottom: none; // $off-canvas-label-margin:0; // $off-canvas-link-padding: rem-calc(10, 15); @@ -765,11 +773,11 @@ // $wrapper-class: "slideshow-wrapper"; // $preloader-class: "preloader"; // Pagination -// $include-html-nav-classes: $include-html-classes; +// $include-pagination-classes: $include-html-classes; // We use these to control the pagination container // $pagination-height: rem-calc(24); // $pagination-margin: rem-calc(-5); @@ -791,11 +799,11 @@ // $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: #fff; -// $pagination-link-current-font-weight: bold; +// $pagination-link-current-font-weight: $font-weight-bold; // $pagination-link-current-cursor: default; // $pagination-link-current-active-bg: $primary-color; // Panels @@ -834,40 +842,40 @@ // We use these to control the title styles // $price-title-bg: #333; // $price-title-padding: rem-calc(15 20); // $price-title-align: center; // $price-title-color: #eee; -// $price-title-weight: normal; +// $price-title-weight: $font-weight-normal; // $price-title-size: rem-calc(16); // $price-title-font-family: $body-font-family; // We use these to control the price styles // $price-money-bg: #f6f6f6 ; // $price-money-padding: rem-calc(15 20); // $price-money-align: center; // $price-money-color: #333; -// $price-money-weight: normal; +// $price-money-weight: $font-weight-normal; // $price-money-size: rem-calc(32); // $price-money-font-family: $body-font-family; // We use these to control the description styles // $price-bg: #fff; // $price-desc-color: #777; // $price-desc-padding: rem-calc(15); // $price-desc-align: center; // $price-desc-font-size: rem-calc(12); -// $price-desc-weight: normal; +// $price-desc-weight: $font-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: rem-calc(15); // $price-item-align: center; // $price-item-font-size: rem-calc(14); -// $price-item-weight: normal; +// $price-item-weight: $font-weight-normal; // $price-item-bottom-border: dotted 1px #ddd; // We use these to control the CTA area styles // $price-cta-bg: #fff; // $price-cta-align: center; @@ -915,11 +923,11 @@ // We use these to style the reveal close button // $reveal-close-font-size: rem-calc(40); // $reveal-close-top: rem-calc(8); // $reveal-close-side: rem-calc(11); // $reveal-close-color: #aaa; -// $reveal-close-weight: bold; +// $reveal-close-weight: $font-weight-bold; // We use this to set the default radius used throughout the core. // $reveal-radius: $global-radius; // $reveal-round: $global-rounded; @@ -946,11 +954,11 @@ // We use these to control link styles. // $side-nav-link-color: $primary-color; // $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%); // $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%); // $side-nav-font-size: rem-calc(14); -// $side-nav-font-weight: normal; +// $side-nav-font-weight: $font-weight-normal; // $side-nav-font-weight-active: $side-nav-font-weight; // $side-nav-font-family: $body-font-family; // $side-nav-active-font-family: $side-nav-font-family; @@ -1008,19 +1016,19 @@ // We use this to control the definition // $sub-nav-font-family: $body-font-family; // $sub-nav-font-size: rem-calc(14); // $sub-nav-font-color: #999; -// $sub-nav-font-weight: normal; +// $sub-nav-font-weight: $font-weight-normal; // $sub-nav-text-decoration: none; // $sub-nav-padding: rem-calc(3 16); // $sub-nav-border-radius: 3px; // $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-font-weight: $font-weight-normal; // $sub-nav-active-bg: $primary-color; // $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%); // $sub-nav-active-color: #fff; // $sub-nav-active-padding: $sub-nav-padding; // $sub-nav-active-cursor: default; @@ -1083,11 +1091,11 @@ // These control the table head styles // $table-head-bg: #f5f5f5 ; // $table-head-font-size: rem-calc(14); // $table-head-font-color: #222; -// $table-head-font-weight: bold; +// $table-head-font-weight: $font-weight-bold; // $table-head-padding: rem-calc(8 10 10); // These control the row padding and font styles // $table-row-padding: rem-calc(9 10); // $table-row-font-size: rem-calc(14); @@ -1107,10 +1115,11 @@ // $tabs-navigation-padding: rem-calc(16); // $tabs-navigation-bg-color: #efefef ; // $tabs-navigation-active-bg-color: #fff; // $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%); // $tabs-navigation-font-color: #222; +// $tabs-navigation-active-font-color: $tabs-navigation-font-color; // $tabs-navigation-font-size: rem-calc(16); // $tabs-navigation-font-family: $body-font-family; // $tabs-content-margin-bottom: rem-calc(24); // $tabs-content-padding: $column-gutter/2; @@ -1139,24 +1148,24 @@ // // $include-html-tooltip-classes: $include-html-classes; // $has-tip-border-bottom: dotted 1px #ccc; -// $has-tip-font-weight: bold; +// $has-tip-font-weight: $font-weight-bold; // $has-tip-font-color: #333; // $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; // $tooltip-padding: rem-calc(12); // $tooltip-bg: #333; // $tooltip-font-size: rem-calc(14); -// $tooltip-font-weight: normal; +// $tooltip-font-weight: $font-weight-normal; // $tooltip-font-color: #fff; // $tooltip-line-height: 1.3; // $tooltip-close-font-size: rem-calc(10); -// $tooltip-close-font-weight: normal; +// $tooltip-close-font-weight: $font-weight-normal; // $tooltip-close-font-color: #777; // $tooltip-font-size-sml: rem-calc(14); // $tooltip-radius: $global-radius; // $tooltip-rounded: $global-rounded; // $tooltip-pip-size: 5px; @@ -1174,31 +1183,32 @@ // Height and margin // $topbar-height: 45px; // $topbar-margin-bottom: 0; // Controlling the styles for the title in the top bar -// $topbar-title-weight: normal; +// $topbar-title-weight: $font-weight-normal; // $topbar-title-font-size: rem-calc(17); // Style the top bar dropdown elements // $topbar-dropdown-bg: #333; // $topbar-dropdown-link-color: #fff; // $topbar-dropdown-link-bg: #333; -// $topbar-dropdown-link-weight: normal; +// $topbar-dropdown-link-weight: $font-weight-normal; // $topbar-dropdown-toggle-size: 5px; // $topbar-dropdown-toggle-color: #fff; // $topbar-dropdown-toggle-alpha: 0.4; // Set the link colors and styles for top-level nav // $topbar-link-color: #fff; // $topbar-link-color-hover: #fff; // $topbar-link-color-active: #fff; // $topbar-link-color-active-hover: #fff; -// $topbar-link-weight: normal; +// $topbar-link-weight: $font-weight-normal; // $topbar-link-font-size: rem-calc(13); // $topbar-link-hover-lightness: -10%; // Darken by 10% // $topbar-link-bg: $topbar-bg; +// $topbar-link-bg-color-hover: #272727; // $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-link-text-transform: none; @@ -1207,17 +1217,17 @@ // $topbar-button-font-size: 0.75rem; // $topbar-button-top: 7px; // $topbar-dropdown-label-color: #777; // $topbar-dropdown-label-text-transform: uppercase; -// $topbar-dropdown-label-font-weight: bold; +// $topbar-dropdown-label-font-weight: $font-weight-bold; // $topbar-dropdown-label-font-size: rem-calc(10); // $topbar-dropdown-label-bg: #333; // Top menu icon styles // $topbar-menu-link-transform: uppercase; // $topbar-menu-link-font-size: rem-calc(13); -// $topbar-menu-link-weight: bold; +// $topbar-menu-link-weight: $font-weight-bold; // $topbar-menu-link-color: #fff; // $topbar-menu-icon-color: #fff; // $topbar-menu-link-color-toggled: #888; // $topbar-menu-icon-color-toggled: #888;