vendor/assets/stylesheets/foundation/_settings.scss in foundation-rails-5.5.1.0 vs vendor/assets/stylesheets/foundation/_settings.scss in foundation-rails-5.5.1.1

- old
+ new

@@ -81,21 +81,23 @@ // $row-width: rem-calc(1000); // $total-columns: 12; // $column-gutter: rem-calc(30); +// $last-child-float: $opposite-direction; + // c. Global // - - - - - - - - - - - - - - - - - - - - - - - - - // We use these to define default font stacks // $font-family-sans-serif: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; // $font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif; // $font-family-monospace: Consolas, "Liberation Mono", Courier, monospace; // We use these to define default font weights -// $font-weight-normal: normal !default; -// $font-weight-bold: bold !default; +// $font-weight-normal: normal; +// $font-weight-bold: bold; // $white : #FFFFFF; // $ghost : #FAFAFA; // $snow : #F9F9F9; // $vapor : #F6F6F6; @@ -183,10 +185,11 @@ // $large: $large-up; // We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet // $cursor-crosshair-value: crosshair; // $cursor-default-value: default; +// $cursor-disabled-value: not-allowed; // $cursor-pointer-value: pointer; // $cursor-help-value: help; // $cursor-text-value: text; // e. Typography @@ -211,16 +214,16 @@ // $h4-font-size: rem-calc(23); // $h5-font-size: rem-calc(18); // $h6-font-size: 1rem; // We use these to control header size reduction on small screens -// $h1-font-reduction: rem-calc(10) !default; -// $h2-font-reduction: rem-calc(10) !default; -// $h3-font-reduction: rem-calc(5) !default; -// $h4-font-reduction: rem-calc(5) !default; -// $h5-font-reduction: 0 !default; -// $h6-font-reduction: 0 !default; +// $h1-font-reduction: rem-calc(10); +// $h2-font-reduction: rem-calc(10); +// $h3-font-reduction: rem-calc(5); +// $h4-font-reduction: rem-calc(5); +// $h5-font-reduction: 0; +// $h6-font-reduction: 0; // These control how subheaders are styled. // $subheader-line-height: 1.4; // $subheader-font-color: scale-color($header-font-color, $lightness: 35%); // $subheader-font-weight: $font-weight-normal; @@ -254,11 +257,11 @@ // 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%); +// $anchor-font-color-hover: scale-color($anchor-font-color, $lightness: -14%); // We use these to style the <hr> element // $hr-border-width: 1px; // $hr-border-style: solid; // $hr-border-color: $gainsboro; @@ -360,15 +363,15 @@ // $alert-close-position: rem-calc(4); // $alert-close-font-size: rem-calc(22); // $alert-close-opacity: 0.3; // $alert-close-opacity-hover: 0.5; // $alert-close-padding: 9px 6px 4px; +// $alert-close-background: inherit; // We use this to control border radius // $alert-radius: $global-radius; -// We use this to control transition effects // $alert-transition-speed: 300ms; // $alert-transition-ease: ease-out; // 03. Block Grid // - - - - - - - - - - - - - - - - - - - - - - - - - @@ -377,11 +380,13 @@ // $include-xl-html-block-grid-classes: false; // We use this to control the maximum number of block grid elements per row // $block-grid-elements: 12; // $block-grid-default-spacing: rem-calc(20); + // $align-block-grid-to-grid: false; +// @if $align-block-grid-to-grid {$block-grid-default-spacing: $column-gutter;} // Enables media queries for block-grid classes. Set to false if writing semantic HTML. // $block-grid-media-queries: true; // 04. Breadcrumbs @@ -442,22 +447,26 @@ // $button-font-align: center; // We use these to control various hover effects. // $button-function-factor: -20%; -// We use these to control button border and hover styles. -// $button-border-width: 0px; +// We use these to control button border styles. +// $button-border-width: 0; // $button-border-style: solid; // $button-bg-color: $primary-color; // $button-bg-hover: scale-color($button-bg-color, $lightness: $button-function-factor); // $button-border-color: $button-bg-hover; // $secondary-button-bg-hover: scale-color($secondary-color, $lightness: $button-function-factor); // $secondary-button-border-color: $secondary-button-bg-hover; // $success-button-bg-hover: scale-color($success-color, $lightness: $button-function-factor); // $success-button-border-color: $success-button-bg-hover; // $alert-button-bg-hover: scale-color($alert-color, $lightness: $button-function-factor); // $alert-button-border-color: $alert-button-bg-hover; +// $warning-button-bg-hover: scale-color($warning-color, $lightness: $button-function-factor); +// $warning-button-border-color: $warning-button-bg-hover; +// $info-button-bg-hover: scale-color($info-color, $lightness: $button-function-factor); +// $info-button-border-color: $info-button-bg-hover; // We use this to set the default radius used throughout the core. // $button-radius: $global-radius; // $button-round: $global-rounded; @@ -562,10 +571,11 @@ // We use these to set the color of the pip in dropdown buttons // $dropdown-button-pip-color: $white; // $dropdown-button-pip-color-alt: $oil; +// We use these to set the size of the pip in dropdown buttons // $button-pip-tny: rem-calc(6); // $button-pip-sml: rem-calc(7); // $button-pip-med: rem-calc(9); // $button-pip-lrg: rem-calc(11); @@ -633,10 +643,11 @@ // $input-border-width: 1px; // $input-border-radius: $global-radius; // $input-disabled-bg: $gainsboro; // $input-disabled-cursor: $cursor-default-value; // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); +// $input-include-glowing-effect: true; // We use these to style the fieldset border and spacing. // $fieldset-border-style: solid; // $fieldset-border-width: 1px; // $fieldset-border-color: $gainsboro; @@ -669,23 +680,22 @@ // $input-error-message-font-color: $white; // $input-error-message-bg-color: $alert-color; // $input-error-message-font-color-alt: $oil; // We use this to style the glowing effect of inputs when focused -// $input-include-glowing-effect: true; // $glowing-effect-fade-time: 0.45s; // $glowing-effect-color: $input-focus-border-color; // Select variables // $select-bg-color: $ghost; // $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%); + // 12. Icon Bar // - - - - - - - - - - - - - - - - - - - - - - - - - // We use these to style the icon-bar and items -// $include-html-icon-bar-classes: $include-html-classes; // $icon-bar-bg: $oil; // $icon-bar-font-color: $white; // $icon-bar-font-color-hover: $icon-bar-font-color; // $icon-bar-font-size: 1rem; // $icon-bar-hover-color: $primary-color; @@ -695,10 +705,13 @@ // $icon-bar-image-width: 1.875rem; // $icon-bar-image-height: 1.875rem; // $icon-bar-active-color: $primary-color; // $icon-bar-item-padding: 1.25rem; +// We use this to set default opacity and cursor for disabled icons. +// $icon-bar-disabled-opacity: 0.7; + // 13. Inline Lists // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-inline-list-classes: $include-html-classes; @@ -796,53 +809,54 @@ // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-magellan-classes: $include-html-classes; // $magellan-bg: $white; -// $magellan-padding: 0 !important; +// $magellan-padding: 10px; // 18. Off-canvas // - - - - - - - - - - - - - - - - - - - - - - - - - +// Off Canvas Tab Bar Variables // $include-html-off-canvas-classes: $include-html-classes; // $tabbar-bg: $oil; // $tabbar-height: rem-calc(45); // $tabbar-icon-width: $tabbar-height; // $tabbar-line-height: $tabbar-height; // $tabbar-color: $white; // $tabbar-middle-padding: 0 rem-calc(10); // Off Canvas Divider Styles -// $tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%); // $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%); +// $tabbar-right-section-border: $tabbar-left-section-border; + // Off Canvas Tab Bar Headers // $tabbar-header-color: $white; // $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); // $off-canvas-bg: $oil; -// $off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%); // Off Canvas Menu List Variables // $off-canvas-label-padding: 0.3rem rem-calc(15); // $off-canvas-label-color: $aluminum; // $off-canvas-label-text-transform: uppercase; // $off-canvas-label-font-size: rem-calc(12); // $off-canvas-label-font-weight: $font-weight-bold; // $off-canvas-label-bg: $tuatara; -// $off-canvas-label-border-top: 1px solid scale-color($tuatara, $lightness: 14%); +// $off-canvas-label-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%); // $off-canvas-label-border-bottom: none; // $off-canvas-label-margin:0; // $off-canvas-link-padding: rem-calc(10, 15); // $off-canvas-link-color: rgba($white, 0.7); // $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%); -// $off-canvas-back-bg: $tuatara; +// $off-canvas-back-bg: #444; // $off-canvas-back-border-top: $off-canvas-label-border-top; // $off-canvas-back-border-bottom: $off-canvas-label-border-bottom; // $off-canvas-back-hover-bg: scale-color($off-canvas-back-bg, $lightness: -30%); // $off-canvas-back-hover-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%); // $off-canvas-back-hover-border-bottom: none; @@ -850,11 +864,11 @@ // Off Canvas Menu Icon Variables // $tabbar-menu-icon-color: $white; // $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; +// $tabbar-menu-icon-width: $tabbar-icon-width; // $tabbar-menu-icon-height: $tabbar-height; // $tabbar-menu-icon-padding: 0; // $tabbar-hamburger-icon-width: rem-calc(16); // $tabbar-hamburger-icon-left: false; @@ -904,19 +918,19 @@ // We use these to controls the style of slide numbers // $orbit-slide-number-bg: rgba(0,0,0,0); // $orbit-slide-number-font-color: $white; // $orbit-slide-number-padding: rem-calc(5); -// Hide controls on small -// $orbit-nav-hide-for-small: true; -// $orbit-bullet-hide-for-small: true; -// $orbit-timer-hide-for-small: true; - // Graceful Loading Wrapper and preloader // $wrapper-class: "slideshow-wrapper"; // $preloader-class: "preloader"; +// Hide controls on small +// $orbit-nav-hide-for-small: true; +// $orbit-bullet-hide-for-small: true; +// $orbit-timer-hide-for-small: true; + // 20. Pagination // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-pagination-classes: $include-html-classes; @@ -970,10 +984,11 @@ // $panel-font-color: $oil; // $panel-font-color-alt: $white; // $panel-header-adjust: true; // $callout-panel-link-color: $primary-color; +// $callout-panel-link-color-hover: scale-color($callout-panel-link-color, $lightness: -14%); // 22. Pricing Tables // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-pricing-classes: $include-html-classes; @@ -1000,10 +1015,11 @@ // $price-money-color: $oil; // $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: $white; // $price-desc-color: $monsoon; // $price-desc-padding: rem-calc(15); // $price-desc-align: center; @@ -1030,20 +1046,19 @@ // $include-html-media-classes: $include-html-classes; // We use this to set the progress bar height // $progress-bar-height: rem-calc(25); -// $progress-bar-color: $vapor ; +// $progress-bar-color: $vapor; // We use these to control the border styles // $progress-bar-border-color: scale-color($white, $lightness: 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: rem-calc(2); // $progress-bar-margin-bottom: rem-calc(10); // We use these to set the meter colors // $progress-meter-color: $primary-color; // $progress-meter-secondary-color: $secondary-color; @@ -1053,26 +1068,27 @@ // 24. Range Slider // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-range-slider-classes: $include-html-classes; -// These variables define the slider bar styles +// These variabels define the slider bar styles // $range-slider-bar-width: 100%; // $range-slider-bar-height: rem-calc(16); // $range-slider-bar-border-width: 1px; // $range-slider-bar-border-style: solid; // $range-slider-bar-border-color: $gainsboro; // $range-slider-radius: $global-radius; // $range-slider-round: $global-rounded; // $range-slider-bar-bg-color: $ghost; +// $range-slider-active-segment-bg-color: scale-color($secondary-color, $lightness: -1%); // Vertical bar styles // $range-slider-vertical-bar-width: rem-calc(16); // $range-slider-vertical-bar-height: rem-calc(200); -// These variables define the slider handle styles +// These variabels define the slider handle styles // $range-slider-handle-width: rem-calc(32); // $range-slider-handle-height: rem-calc(22); // $range-slider-handle-position-top: rem-calc(-5); // $range-slider-handle-bg-color: $primary-color; // $range-slider-handle-border-width: 1px; @@ -1081,10 +1097,13 @@ // $range-slider-handle-radius: $global-radius; // $range-slider-handle-round: $global-rounded; // $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%); // $range-slider-handle-cursor: pointer; +// $range-slider-disabled-opacity: 0.7; +// $range-slider-disabled-cursor: $cursor-disabled-value; + // 25. Reveal // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-reveal-classes: $include-html-classes; @@ -1100,12 +1119,12 @@ // $reveal-modal-padding: rem-calc(20); // $reveal-box-shadow: 0 0 10px rgba($black,.4); // 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-top: rem-calc(10); +// $reveal-close-side: rem-calc(22); // $reveal-close-color: $base; // $reveal-close-weight: $font-weight-bold; // We use this to set the default radius used throughout the core. // $reveal-radius: $global-radius; @@ -1127,11 +1146,11 @@ // We use this to control padding. // $side-nav-padding: rem-calc(14 0); // We use these to control list styles. // $side-nav-list-type: none; -// $side-nav-list-position: inside; +// $side-nav-list-position: outside; // $side-nav-list-margin: rem-calc(0 0 7 0); // 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%); @@ -1212,11 +1231,13 @@ // $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: $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: $white; // $sub-nav-active-padding: $sub-nav-padding; @@ -1228,44 +1249,26 @@ // 29. Switch // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-form-classes: $include-html-classes; -// Controlling border styles and background colors for the switch container -// $switch-border-color: scale-color($white, $lightness: -20%); -// $switch-border-style: solid; -// $switch-border-width: 1px; -// $switch-bg: $white; +// Controlling background color for the switch container +// $switch-bg: $gainsboro; // We use these to control the switch heights for our default classes -// $switch-height-tny: rem-calc(22); -// $switch-height-sml: rem-calc(28); -// $switch-height-med: rem-calc(36); -// $switch-height-lrg: rem-calc(44); -// $switch-bottom-margin: rem-calc(20); +// $switch-height-tny: 1.5rem; +// $switch-height-sml: 1.75rem; +// $switch-height-med: 2rem; +// $switch-height-lrg: 2.5rem; +// $switch-bottom-margin: 1.5rem; -// 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: $white; -// $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; +// $switch-paddle-transition-speed: .15s; // $switch-paddle-transition-ease: ease-out; -// $switch-positive-color: scale-color($success-color, $lightness: 94%); -// $switch-negative-color: $white-smoke; +// $switch-active-color: $primary-color; -// Outline Style for tabbing through switches -// $switch-label-outline: 1px dotted $jumbo; - // 30. Tables // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-table-classes: $include-html-classes; @@ -1277,16 +1280,29 @@ // $table-border-style: solid; // $table-border-size: 1px; // $table-border-color: $gainsboro; // These control the table head styles -// $table-head-bg: $white-smoke ; +// $table-head-bg: $white-smoke; // $table-head-font-size: rem-calc(14); // $table-head-font-color: $jet; // $table-head-font-weight: $font-weight-bold; // $table-head-padding: rem-calc(8 10 10); +// These control the table foot styles +// $table-foot-bg: $table-head-bg; +// $table-foot-font-size: $table-head-font-size; +// $table-foot-font-color: $table-head-font-color; +// $table-foot-font-weight: $table-head-font-weight; +// $table-foot-padding: $table-head-padding; + +// These control the caption +// table-caption-bg: transparent; +// $table-caption-font-color: $table-head-font-color; +// $table-caption-font-size: rem-calc(16); +// $table-caption-font-weight: bold; + // These control the row padding and font styles // $table-row-padding: rem-calc(9 10); // $table-row-font-size: rem-calc(14); // $table-row-font-color: $jet; // $table-line-height: rem-calc(18); @@ -1294,17 +1310,18 @@ // These are for controlling the layout, display and margin of tables // $table-layout: auto; // $table-display: table-cell; // $table-margin-bottom: rem-calc(20); + // 31. Tabs // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-tabs-classes: $include-html-classes; // $tabs-navigation-padding: rem-calc(16); -// $tabs-navigation-bg-color: $silver ; +// $tabs-navigation-bg-color: $silver; // $tabs-navigation-active-bg-color: $white; // $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%); // $tabs-navigation-font-color: $jet; // $tabs-navigation-active-font-color: $tabs-navigation-font-color; // $tabs-navigation-font-size: rem-calc(16); @@ -1373,42 +1390,42 @@ // Controlling the styles for the title in the top bar // $topbar-title-weight: $font-weight-normal; // $topbar-title-font-size: rem-calc(17); -// Style the top bar dropdown elements -// $topbar-dropdown-bg: $oil; -// $topbar-dropdown-link-color: $white; -// $topbar-dropdown-link-bg: $oil; -// $topbar-dropdown-link-bg-hover: $oil; -// $topbar-dropdown-link-weight: $font-weight-normal; -// $topbar-dropdown-toggle-size: 5px; -// $topbar-dropdown-toggle-color: $white; -// $topbar-dropdown-toggle-alpha: 0.4; - // Set the link colors and styles for top-level nav // $topbar-link-color: $white; // $topbar-link-color-hover: $white; // $topbar-link-color-active: $white; // $topbar-link-color-active-hover: $white; // $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: $charcoal; // $topbar-link-bg-hover: $oil; +// $topbar-link-bg-color-hover: $charcoal; // $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; // $topbar-link-padding: ($topbar-height / 3); -// $topbar-back-link-size: $h5-font-size; -// $topbar-link-dropdown-padding: 20px; - +// $topbar-back-link-size: rem-calc(18); +// $topbar-link-dropdown-padding: rem-calc(20); // $topbar-button-font-size: 0.75rem; // $topbar-button-top: 7px; +// Style the top bar dropdown elements +// $topbar-dropdown-bg: $oil; +// $topbar-dropdown-link-color: $white; +// $topbar-dropdown-link-color-hover: $topbar-link-color-hover; +// $topbar-dropdown-link-bg: $oil; +// $topbar-dropdown-link-bg-hover: $oil; +// $topbar-dropdown-link-weight: $font-weight-normal; +// $topbar-dropdown-toggle-size: 5px; +// $topbar-dropdown-toggle-color: $white; +// $topbar-dropdown-toggle-alpha: 0.4; + // $topbar-dropdown-label-color: $monsoon; // $topbar-dropdown-label-text-transform: uppercase; // $topbar-dropdown-label-font-weight: $font-weight-bold; // $topbar-dropdown-label-font-size: rem-calc(10); // $topbar-dropdown-label-bg: $oil; @@ -1419,27 +1436,32 @@ // $topbar-menu-link-weight: $font-weight-bold; // $topbar-menu-link-color: $white; // $topbar-menu-icon-color: $white; // $topbar-menu-link-color-toggled: $jumbo; // $topbar-menu-icon-color-toggled: $jumbo; +// $topbar-menu-icon-position: $opposite-direction; // Change to $default-float for a left menu icon // Transitions and breakpoint styles // $topbar-transition-speed: 300ms; // Using rem-calc for the below breakpoint causes issues with top bar // $topbar-breakpoint: #{lower-bound($medium-range)}; // Change to 9999px for always mobile layout // $topbar-media-query: $medium-up; +// Top-bar input styles +// $topbar-input-height: rem-calc(28); + // Divider Styles -// $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%); +// $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%); // $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%); // Sticky Class // $topbar-sticky-class: ".sticky"; // $topbar-arrows: true; //Set false to remove the triangle icon from the menu item +// $topbar-dropdown-arrows: true; //Set false to remove the \00bb >> text from dropdown subnavigation li// // 36. Visibility Classes // - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-visibility-classes: $include-html-classes; +// $include-accessibility-classes: true; // $include-table-visibility-classes: true; // $include-legacy-visibility-classes: true; -// $include-accessibility-classes: true;