diff --git a/src/sunstone/public/Gruntfile.js b/src/sunstone/public/Gruntfile.js index 4936c28d66..0b5c03dd29 100644 --- a/src/sunstone/public/Gruntfile.js +++ b/src/sunstone/public/Gruntfile.js @@ -20,7 +20,7 @@ module.exports = function(grunt) { sass: { options: { - includePaths: ['bower_components/foundation/scss'] + includePaths: ['bower_components/foundation-sites/scss'] }, dist: { options: { @@ -38,7 +38,7 @@ module.exports = function(grunt) { }, sass: { - files: 'scss/**/*.scss', + files: 'scss/*.scss', tasks: ['sass'] }, diff --git a/src/sunstone/public/app/app.js b/src/sunstone/public/app/app.js index f271b96e2c..4add75af25 100644 --- a/src/sunstone/public/app/app.js +++ b/src/sunstone/public/app/app.js @@ -16,7 +16,7 @@ define(function(require) { require('jquery'); - require('foundation.dropdown'); + require('foundation'); var DASHBOARD_TAB_ID = require('tabs/dashboard-tab/tabId'); var SETTINGS_TAB_ID = require('tabs/settings-tab/tabId'); diff --git a/src/sunstone/public/app/main.js b/src/sunstone/public/app/main.js index a5796717ea..75c254f421 100644 --- a/src/sunstone/public/app/main.js +++ b/src/sunstone/public/app/main.js @@ -30,33 +30,28 @@ require.config({ 'jgrowl': '../bower_components/jgrowl/jquery.jgrowl', /* Foundation */ - 'foundation.core': '../bower_components/foundation/js/foundation/foundation', - 'foundation.abide': '../bower_components/foundation/js/foundation/foundation.abide', - 'foundation.accordion': '../bower_components/foundation/js/foundation/foundation.accordion', - 'foundation.alert': '../bower_components/foundation/js/foundation/foundation.alert', - 'foundation.clearing': '../bower_components/foundation/js/foundation/foundation.clearing', - 'foundation.dropdown': '../bower_components/foundation/js/foundation/foundation.dropdown', - 'foundation.equalizer': '../bower_components/foundation/js/foundation/foundation.equalizer', - 'foundation.interchange': '../bower_components/foundation/js/foundation/foundation.interchange', - 'foundation.joyride': '../bower_components/foundation/js/foundation/foundation.joyride', - 'foundation.magellan': '../bower_components/foundation/js/foundation/foundation.magellan', - 'foundation.offcanvas': '../bower_components/foundation/js/foundation/foundation.offcanvas', - 'foundation.orbit': '../bower_components/foundation/js/foundation/foundation.orbit', - 'foundation.reveal': '../bower_components/foundation/js/foundation/foundation.reveal', - 'foundation.slider': '../bower_components/foundation/js/foundation/foundation.slider', - 'foundation.tab': '../bower_components/foundation/js/foundation/foundation.tab', - 'foundation.tooltip': '../bower_components/foundation/js/foundation/foundation.tooltip', - 'foundation.topbar': '../bower_components/foundation/js/foundation/foundation.topbar', + 'foundation': '../bower_components/foundation-sites/dist/foundation', + //'foundation.core': '../bower_components/foundation/js/foundation/foundation', + //'foundation.abide': '../bower_components/foundation/js/foundation/foundation.abide', + //'foundation.accordion': '../bower_components/foundation/js/foundation/foundation.accordion', + //'foundation.alert': '../bower_components/foundation/js/foundation/foundation.alert', + //'foundation.clearing': '../bower_components/foundation/js/foundation/foundation.clearing', + //'foundation.dropdown': '../bower_components/foundation/js/foundation/foundation.dropdown', + //'foundation.equalizer': '../bower_components/foundation/js/foundation/foundation.equalizer', + //'foundation.interchange': '../bower_components/foundation/js/foundation/foundation.interchange', + //'foundation.joyride': '../bower_components/foundation/js/foundation/foundation.joyride', + //'foundation.magellan': '../bower_components/foundation/js/foundation/foundation.magellan', + //'foundation.offcanvas': '../bower_components/foundation/js/foundation/foundation.offcanvas', + //'foundation.orbit': '../bower_components/foundation/js/foundation/foundation.orbit', + //'foundation.reveal': '../bower_components/foundation/js/foundation/foundation.reveal', + //'foundation.slider': '../bower_components/foundation/js/foundation/foundation.slider', + //'foundation.tab': '../bower_components/foundation/js/foundation/foundation.tab', + //'foundation.tooltip': '../bower_components/foundation/js/foundation/foundation.tooltip', + //'foundation.topbar': '../bower_components/foundation/js/foundation/foundation.topbar', /* Handlebars */ 'hbs': '../bower_components/require-handlebars-plugin/hbs', - /* Vendor Scripts */ - 'jquery.cookie': '../bower_components/foundation/js/vendor/jquery.cookie', - 'fastclick': '../bower_components/foundation/js/vendor/fastclick', - 'modernizr': '../bower_components/foundation/js/vendor/modernizr', - 'placeholder': '../bower_components/foundation/js/vendor/placeholder', - /* Resumable */ 'resumable': '../bower_components/resumablejs/resumable', @@ -118,6 +113,7 @@ require.config({ /* Tabs */ 'app': { deps: [ + 'foundation', 'tabs/provision-tab', 'tabs/dashboard-tab', 'tabs/system-tab', @@ -165,72 +161,75 @@ require.config({ }, /* Foundation */ - 'foundation.core': { - deps: ['jquery', 'modernizr'], - exports: 'Foundation' - }, - 'foundation.abide': { - deps: ['foundation.core'] - }, - 'foundation.accordion': { - deps: ['foundation.core'] - }, - 'foundation.alert': { - deps: ['foundation.core'] - }, - 'foundation.clearing': { - deps: ['foundation.core'] - }, - 'foundation.dropdown': { - deps: ['foundation.core'] - }, - 'foundation.equalizer': { - deps: ['foundation.core'] - }, - 'foundation.interchange': { - deps: ['foundation.core'] - }, - 'foundation.joyride': { - deps: ['foundation.core', 'jquery.cookie'] - }, - 'foundation.magellan': { - deps: ['foundation.core'] - }, - 'foundation.offcanvas': { - deps: ['foundation.core'] - }, - 'foundation.orbit': { - deps: ['foundation.core'] - }, - 'foundation.reveal': { - deps: ['foundation.core'] - }, - 'foundation.slider': { - deps: ['foundation.core'] - }, - 'foundation.tab': { - deps: ['foundation.core'] - }, - 'foundation.tooltip': { - deps: ['foundation.core'] - }, - 'foundation.topbar': { - deps: ['foundation.core'] + 'foundation': { + deps: ['jquery'] }, + //'foundation.core': { + // deps: ['jquery', 'modernizr'], + // exports: 'Foundation' + //}, + //'foundation.abide': { + // deps: ['foundation.core'] + //}, + //'foundation.accordion': { + // deps: ['foundation.core'] + //}, + //'foundation.alert': { + // deps: ['foundation.core'] + //}, + //'foundation.clearing': { + // deps: ['foundation.core'] + //}, + //'foundation.dropdown': { + // deps: ['foundation.core'] + //}, + //'foundation.equalizer': { + // deps: ['foundation.core'] + //}, + //'foundation.interchange': { + // deps: ['foundation.core'] + //}, + //'foundation.joyride': { + // deps: ['foundation.core', 'jquery.cookie'] + //}, + //'foundation.magellan': { + // deps: ['foundation.core'] + //}, + //'foundation.offcanvas': { + // deps: ['foundation.core'] + //}, + //'foundation.orbit': { + // deps: ['foundation.core'] + //}, + //'foundation.reveal': { + // deps: ['foundation.core'] + //}, + //'foundation.slider': { + // deps: ['foundation.core'] + //}, + //'foundation.tab': { + // deps: ['foundation.core'] + //}, + //'foundation.tooltip': { + // deps: ['foundation.core'] + //}, + //'foundation.topbar': { + // deps: ['foundation.core'] + //}, /* Vendor Scripts */ - 'jquery.cookie': { - deps: ['jquery'] - }, - 'fastclick': { - exports: 'FastClick' - }, - 'modernizr': { - exports: 'Modernizr' - }, - 'placeholder': { - exports: 'Placeholders' - }, + //'jquery.cookie': { + // deps: ['jquery'] + //}, + //'fastclick': { + // exports: 'FastClick' + //}, + //'modernizr': { + // exports: 'Modernizr' + //}, + //'placeholder': { + // exports: 'Placeholders' + //}, /* Flot Graphs */ 'flot': { diff --git a/src/sunstone/public/bower.json b/src/sunstone/public/bower.json index 95ccc74db3..d8fc524428 100644 --- a/src/sunstone/public/bower.json +++ b/src/sunstone/public/bower.json @@ -9,7 +9,6 @@ "css/login.css" ], "dependencies": { - "jquery": "2.1.4", "flot": "0.8.3", "jgrowl": "1.4.2", "fontawesome": "4.3.0", @@ -21,9 +20,10 @@ "require-handlebars-plugin": "0.11.2", "almond": "0.3.1", "datatables": "1.10.7", - "foundation": "5.5.2", "vis": "4.12.0", - "requirejs": "2.1.22" + "requirejs": "2.1.22", + "foundation-sites": "^6.2.0", + "jquery": "^2.2.1", }, "version": "4.14", "authors": [ @@ -41,8 +41,5 @@ "bower_components", "test", "tests" - ], - "resolutions": { - "foundation": "5.5.1" - } + ] } diff --git a/src/sunstone/public/scss/_settings.scss b/src/sunstone/public/scss/_settings.scss index 433dd8a4fe..72c515ca90 100644 --- a/src/sunstone/public/scss/_settings.scss +++ b/src/sunstone/public/scss/_settings.scss @@ -1,1231 +1,566 @@ +// Foundation for Sites Settings +// ----------------------------- // -// FOUNDATION SETTINGS +// Table of Contents: // - -// This is the default html and body font-size for the base rem value. -// $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% -// $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; -// $include-html-global-classes: $include-html-classes; - -// Grid - -// $include-html-grid-classes: $include-html-classes; -// $include-xl-html-grid-classes: false; - -$row-width: rem-calc(1200); -// $column-gutter: rem-calc(30); -// $total-columns: 12; - -// We use these to control various global styles -// $body-bg: #fff; -$body-font-color: #555; -$body-font-family: "Open Sans", 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; -// $opposite-direction: right; -// $default-float: left; - -// We use these as default colors throughout -//$primary-color: #2ba6cb; -$primary-color: #0098c3; -$secondary-color: #f7f7f7; -// $alert-color: #f04124; -// $success-color: #43AC6A; -// $warning-color: #f08a24; -// $info-color: #a0d3e8; - -// 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); - -// Media Query Ranges -// $small-range: (0em, 40em); -// $medium-range: (40.063em, 64em); -// $large-range: (64.063em, 90em); -// $xlarge-range: (90.063em, 120em); -// $xxlarge-range: (120.063em); - -// $screen: "only screen"; - -// $landscape: "#{$screen} and (orientation: landscape)"; -// $portrait: "#{$screen} and (orientation: portrait)"; - -// $small-up: $screen; -// $small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})"; - -// $medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})"; -// $medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})"; - -// $large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})"; -// $large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})"; - -// $xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})"; -// $xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})"; - -// $xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})"; -// $xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})"; - -// Legacy -// $small: $medium-up; -// $medium: $medium-up; -// $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-pointer-value: pointer; -// $cursor-help-value: help; -// $cursor-text-value: text; - -// -// TYPOGRAPHY -// - -// $include-html-type-classes: $include-html-classes; - -// We use these to control header font styles -// $header-font-family: $body-font-family; -// $header-font-weight: 300; -// $header-font-style: normal; -// $header-font-color: #222; -// $header-line-height: 1.4; -// $header-top-margin: .2rem; -// $header-bottom-margin: .5rem; -// $header-text-rendering: optimizeLegibility; - -// We use these to control header font sizes -// $h1-font-size: rem-calc(44); -$h2-font-size: rem-calc(30); -$h3-font-size: rem-calc(24); -// $h4-font-size: rem-calc(23); -// $h5-font-size: rem-calc(18); -// $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: 300; -// $subheader-top-margin: .2rem; -// $subheader-bottom-margin: .5rem; - -// A general 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-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; -// $paragraph-aside-font-style: italic; -// $paragraph-text-rendering: optimizeLegibility; - -// We use these to style tags -// $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: scale-color($primary-color, $lightness: -14%); - -// We use these to style the
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-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-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%); -// $blockquote-padding: rem-calc(9 20 0 19); -// $blockquote-border: 1px solid #ddd; -// $blockquote-cite-font-size: rem-calc(13); -// $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%); -// $blockquote-cite-link-color: $blockquote-cite-font-color; - -// Acronym styles -// $acronym-underline: 1px dotted #ddd; - -// We use these to control padding and margin -// $microformat-padding: rem-calc(10 12); -// $microformat-margin: rem-calc(0 0 20 0); - -// We use these to control the border styles -// $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-size: rem-calc(15); - -// We use this to control the summary font styles -// $microformat-summary-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-decoration: none; - -// Accordion - -// $include-html-accordion-classes: $include-html-classes; - -// $accordion-navigation-padding: rem-calc(16); -$accordion-navigation-bg-color: #f7f7f7 ; -// $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%); -//$accordion-navigation-active-bg-color: #fff; -$accordion-navigation-font-color: #333; -// $accordion-navigation-font-size: rem-calc(16); -// $accordion-navigation-font-family: $body-font-family; - -$accordion-content-padding: 0px 10px; -// $accordion-content-active-bg-color: #fff; - -// Alert Boxes - -// $include-html-alert-classes: $include-html-classes; - -// We use this to control alert padding. -// $alert-padding-top: rem-calc(14); -// $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-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. -// $alert-function-factor: -14%; - -// We use these to control border styles. -// $alert-border-style: solid; -// $alert-border-width: 1px; -$alert-border-color: #dfdfdf; -// $alert-bottom-margin: rem-calc(20); - -// We use these to style the close buttons -// $alert-close-color: #333; -// $alert-close-top: 50%; -// $alert-close-position: rem-calc(5); -// $alert-close-font-size: rem-calc(22); -// $alert-close-opacity: 0.3; -// $alert-close-opacity-hover: 0.5; -// $alert-close-padding: 9px 6px 4px; - -// We use this to control border radius -// $alert-radius: $global-radius; - -// Block Grid - -// $include-html-grid-classes: $include-html-classes; - -// 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); - -// Enables media queries for block-grid classes. Set to false if writing semantic HTML. -// $block-grid-media-queries: true; - -// Breadcrumbs - -// $include-html-nav-classes: $include-html-classes; - -// We use this to set the background color for the breadcrumb container. -// $crumb-bg: scale-color($secondary-color, $lightness: 55%); - -// We use these to set the padding around the breadcrumbs. -// $crumb-padding: rem-calc(9 14 9); -// $crumb-side-padding: rem-calc(12); - -// We use these to control border styles. -// $crumb-function-factor: -10%; -// $crumb-border-size: 1px; -// $crumb-border-style: solid; -// $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. -// $crumb-font-size: rem-calc(11); -// $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: "/"; - -// -// BUTTONS -// - -// $include-html-button-classes: $include-html-classes; - -// We use these to build padding for buttons. -$button-tny: rem-calc(5); -$button-sml: rem-calc(7); -$button-med: rem-calc(8); -$button-lrg: rem-calc(9); - -// We use this to control the display property. -// $button-display: inline-block; -$button-margin-bottom: rem-calc(5); - -// We use these to control button text styles. -// $button-font-family: $body-font-family; -// $button-font-color: #555; -// $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-align: center; - -// We use these to control various hover effects. -// $button-function-factor: 5%; - -// We use these to control button border styles. -$button-border-width: 0px; -$button-border-style: solid; -$secondary-button-border-color: #efefef; -// We use this to set the default radius used throughout the core. -// $button-radius: $global-radius; -// $button-round: $global-rounded; - -// We use this to set default opacity for disabled buttons. -//$button-disabled-opacity: 0.5; - -// Button Groups - -// $include-html-button-classes: $include-html-classes; - -// Sets the margin for the right side by default, and the left margin if right-to-left direction is used -// $button-bar-margin-opposite: rem-calc(10); -// $button-group-border-width: 1px; - -// Clearing - -// $include-html-clearing-classes: $include-html-classes; - -// We use these to set the background colors for parts of Clearing. -// $clearing-bg: #333; -// $clearing-caption-bg: $clearing-bg; -// $clearing-carousel-bg: rgba (51,51,51,0.8); -// $clearing-img-bg: $clearing-bg; - -// We use these to style the close button -// $clearing-close-color: #ccc; -// $clearing-close-size: 30px; - -// We use these to style the arrows -// $clearing-arrow-size: 12px; -// $clearing-arrow-color: $clearing-close-color; - -// We use these to style captions -// $clearing-caption-font-color: #ccc; -// $clearing-caption-font-size: 0.875em; -// $clearing-caption-padding: 10px 30px 20px; - -// We use these to make the image and carousel height and style -// $clearing-active-img-height: 85%; -// $clearing-carousel-height: 120px; -// $clearing-carousel-thumb-width: 120px; -// $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255); - -// Dropdown - -// $include-html-dropdown-classes: $include-html-classes; - -// 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: scale-color(#fff, $lightness: -20%); - -// We use these to style the triangle pip. -//$f-dropdown-triangle-size: 3px; -//$f-dropdown-triangle-color: #c3c3c3; -//$f-dropdown-triangle-side-offset: 5px; - -// We use these to control styles for the list elements. -// $f-dropdown-list-style: none; -// $f-dropdown-font-color: #555; -// $f-dropdown-font-size: rem-calc(14); -// $f-dropdown-list-padding: rem-calc(5, 10); -// $f-dropdown-line-height: rem-calc(18); -// $f-dropdown-list-hover-bg: #eeeeee ; -// $dropdown-mobile-default-float: 0; - -// We use this to control the styles for when the dropdown has custom content. -$f-dropdown-content-padding: rem-calc(5); - -// Dropdown Buttons - -// $include-html-button-classes: $include-html-classes; - -// We use these to set the color of the pip in dropdown buttons -$dropdown-button-pip-color: #cfcfcf; -$dropdown-button-pip-color-alt: #cfcfcf; - -// $button-pip-tny: rem-calc(6); -$button-pip-sml: rem-calc(5); -// $button-pip-med: rem-calc(9); -// $button-pip-lrg: rem-calc(11); - -// We use these to style tiny dropdown buttons -// $dropdown-button-padding-tny: $button-pip-tny * 7; -// $dropdown-button-pip-size-tny: $button-pip-tny; -// $dropdown-button-pip-opposite-tny: $button-pip-tny * 3; -// $dropdown-button-pip-top-tny: -$button-pip-tny / 2 + rem-calc(1); - -// We use these to style small dropdown buttons -// $dropdown-button-padding-sml: $button-pip-sml * 7; -// $dropdown-button-pip-size-sml: $button-pip-sml; -// $dropdown-button-pip-opposite-sml: $button-pip-sml * 3; -// $dropdown-button-pip-top-sml: -$button-pip-sml / 2 + rem-calc(1); - -// We use these to style medium dropdown buttons -// $dropdown-button-padding-med: $button-pip-med * 6 + rem-calc(3); -// $dropdown-button-pip-size-med: $button-pip-med - rem-calc(3); -// $dropdown-button-pip-opposite-med: $button-pip-med * 2.5; -// $dropdown-button-pip-top-med: -$button-pip-med / 2 + rem-calc(2); - -// We use these to style large dropdown buttons -// $dropdown-button-padding-lrg: $button-pip-lrg * 5 + rem-calc(3); -// $dropdown-button-pip-size-lrg: $button-pip-lrg - rem-calc(6); -// $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5; -// $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3); - -// Flex Video - -// $include-html-media-classes: $include-html-classes; - -// We use these to control video container padding and margins -// $flex-video-padding-top: rem-calc(25); -// $flex-video-padding-bottom: 67.5%; -// $flex-video-margin-bottom: rem-calc(16); - -// We use this to control widescreen bottom padding -// $flex-video-widescreen-padding-bottom: 57.25%; - -// Forms - -// $include-html-form-classes: $include-html-classes; - -// We use this to set the base for lots of form spacing and positioning styles -// $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-line-height: 1.0; -// $form-label-font-color: scale-color(#000, $lightness: 30%); -// $form-label-bottom-margin: 0; -// $input-font-family: inherit; -// $input-font-color: rgba(0,0,0,0.75); -$input-font-size: rem-calc(14); -// $input-bg-color: #fff; -// $input-focus-bg-color: scale-color(#fff, $lightness: -2%); -$input-border-color: #d3d3d3; -// $input-focus-border-color: scale-color(#fff, $lightness: -40%); -// $input-border-style: solid; -// $input-border-width: 1px; -// $input-border-radius: $global-radius; -// $input-disabled-bg: #ddd; -// $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: #efefef; +// 1. Global +// 2. Breakpoints +// 3. The Grid +// 4. Base Typography +// 5. Typography Helpers +// 6. Abide +// 7. Accordion +// 8. Accordion Menu +// 9. Badge +// 10. Breadcrumbs +// 11. Button +// 12. Button Group +// 13. Callout +// 14. Close Button +// 15. Drilldown +// 16. Dropdown +// 17. Dropdown Menu +// 18. Flex Video +// 19. Forms +// 20. Label +// 21. Media Object +// 22. Menu +// 23. Meter +// 24. Off-canvas +// 25. Orbit +// 26. Pagination +// 27. Progress Bar +// 28. Reveal +// 29. Slider +// 30. Switch +// 31. Table +// 32. Tabs +// 33. Thumbnail +// 34. Title Bar +// 35. Tooltip +// 36. Top Bar + +@import 'util/util'; + +// 1. Global +// --------- + +$global-font-size: 14px; +$global-width: rem-calc(1200); +$global-lineheight: 1.5; +$foundation-palette: ( + primary: #2199e8, + secondary: #777, + success: #3adb76, + warning: #ffae00, + alert: #ec5840, +); +$light-gray: #e6e6e6; +$medium-gray: #cacaca; +$dark-gray: #8a8a8a; +$black: #0a0a0a; +$white: #fefefe; +$body-background: $white; +$body-font-color: $black; +$body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; +$body-antialiased: true; +$global-margin: 1rem; +$global-padding: 1rem; +$global-weight-normal: normal; +$global-weight-bold: bold; +$global-radius: 0; +$global-text-direction: ltr; +$global-flexbox: false; +$print-transparent-backgrounds: true; + +@include add-foundation-colors; + +// 2. Breakpoints +// -------------- + +$breakpoints: ( + small: 0, + medium: 640px, + large: 1024px, + xlarge: 1200px, + xxlarge: 1440px, +); +$breakpoint-classes: (small medium large); + +// 3. The Grid +// ----------- + +$grid-row-width: $global-width; +$grid-column-count: 12; +$grid-column-gutter: ( + small: 20px, + medium: 30px, +); +$grid-column-align-edge: true; +$block-grid-max: 8; + +// 4. Base Typography +// ------------------ + +$header-font-family: $body-font-family; +$header-font-weight: $global-weight-normal; +$header-font-style: normal; +$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace; +$header-sizes: ( + small: ( + 'h1': 24, + 'h2': 20, + 'h3': 19, + 'h4': 18, + 'h5': 17, + 'h6': 16, + ), + medium: ( + 'h1': 48, + 'h2': 40, + 'h3': 31, + 'h4': 25, + 'h5': 20, + 'h6': 16, + ), +); +$header-color: inherit; +$header-lineheight: 1.4; +$header-margin-bottom: 0.5rem; +$header-text-rendering: optimizeLegibility; +$small-font-size: 80%; +$header-small-font-color: $medium-gray; +$paragraph-lineheight: 1.6; +$paragraph-margin-bottom: 1rem; +$paragraph-text-rendering: optimizeLegibility; +$code-color: $black; +$code-font-family: $font-family-monospace; +$code-font-weight: $global-weight-normal; +$code-background: $light-gray; +$code-border: 1px solid $medium-gray; +$code-padding: rem-calc(2 5 1); +$anchor-color: $primary-color; +$anchor-color-hover: scale-color($anchor-color, $lightness: -14%); +$anchor-text-decoration: none; +$anchor-text-decoration-hover: none; +$hr-width: $global-width; +$hr-border: 1px solid $medium-gray; +$hr-margin: rem-calc(20) auto; +$list-lineheight: $paragraph-lineheight; +$list-margin-bottom: $paragraph-margin-bottom; +$list-style-type: disc; +$list-style-position: outside; +$list-side-margin: 1.25rem; +$list-nested-side-margin: 1.25rem; +$defnlist-margin-bottom: 1rem; +$defnlist-term-weight: $global-weight-bold; +$defnlist-term-margin-bottom: 0.3rem; +$blockquote-color: $dark-gray; +$blockquote-padding: rem-calc(9 20 0 19); +$blockquote-border: 1px solid $medium-gray; +$cite-font-size: rem-calc(13); +$cite-color: $dark-gray; +$keystroke-font: $font-family-monospace; +$keystroke-color: $black; +$keystroke-background: $light-gray; +$keystroke-padding: rem-calc(2 4 0); +$keystroke-radius: $global-radius; +$abbr-underline: 1px dotted $black; + +// 5. Typography Helpers +// --------------------- + +$lead-font-size: $global-font-size * 1.25; +$lead-lineheight: 1.6; +$subheader-lineheight: 1.4; +$subheader-color: $dark-gray; +$subheader-font-weight: $global-weight-normal; +$subheader-margin-top: 0.2rem; +$subheader-margin-bottom: 0.5rem; +$stat-font-size: 2.5rem; + +// 6. Abide +// -------- + +$abide-inputs: true; +$abide-labels: true; +$input-background-invalid: map-get($foundation-palette, alert); +$form-label-color-invalid: map-get($foundation-palette, alert); +$input-error-color: map-get($foundation-palette, alert); +$input-error-font-size: rem-calc(12); +$input-error-font-weight: $global-weight-bold; + +// 7. Accordion +// ------------ + +$accordion-background: $white; +$accordion-plusminus: true; +$accordion-item-color: foreground($accordion-background, $primary-color); +$accordion-item-background-hover: $light-gray; +$accordion-item-padding: 1.25rem 1rem; +$accordion-content-background: $white; +$accordion-content-border: 1px solid $light-gray; +$accordion-content-color: foreground($accordion-background, $primary-color); +$accordion-content-padding: 1rem; + +// 8. Accordion Menu +// ----------------- + +$accordionmenu-arrows: true; +$accordionmenu-arrow-color: $primary-color; + +// 9. Badge +// -------- + +$badge-background: $primary-color; +$badge-color: foreground($badge-background); +$badge-padding: 0.3em; +$badge-minwidth: 2.1em; +$badge-font-size: 0.6rem; + +// 10. Breadcrumbs +// --------------- + +$breadcrumbs-margin: 0 0 $global-margin 0; +$breadcrumbs-item-font-size: rem-calc(11); +$breadcrumbs-item-color: $primary-color; +$breadcrumbs-item-color-current: $black; +$breadcrumbs-item-color-disabled: $medium-gray; +$breadcrumbs-item-margin: 0.75rem; +$breadcrumbs-item-uppercase: true; +$breadcrumbs-item-slash: true; + +// 11. Button +// ---------- + +$button-padding: 0.85em 1em; +$button-margin: 0 0 $global-margin 0; +$button-fill: solid; +$button-background: $primary-color; +$button-background-hover: scale-color($button-background, $lightness: -15%); +$button-color: $white; +$button-color-alt: $black; +$button-radius: $global-radius; +$button-sizes: ( + tiny: 0.6rem, + small: 0.75rem, + default: 0.9rem, + large: 1.25rem, +); +$button-opacity-disabled: 0.25; + +// 12. Button Group +// ---------------- + +$buttongroup-margin: 1rem; +$buttongroup-spacing: 1px; +$buttongroup-child-selector: '.button'; +$buttongroup-expand-max: 6; + +// 13. Callout +// ----------- + +$callout-background: $white; +$callout-background-fade: 85%; +$callout-border: 1px solid rgba($black, 0.25); +$callout-margin: 0 0 1rem 0; +$callout-padding: 1rem; +$callout-font-color: $body-font-color; +$callout-font-color-alt: $body-background; +$callout-radius: $global-radius; +$callout-link-tint: 30%; + +// 14. Close Button +// ---------------- + +$closebutton-position: right top; +$closebutton-offset-horizontal: 1rem; +$closebutton-offset-vertical: 0.5rem; +$closebutton-size: 2em; +$closebutton-lineheight: 1; +$closebutton-color: $dark-gray; +$closebutton-color-hover: $black; + +// 15. Drilldown +// ------------- + +$drilldown-transition: transform 0.15s linear; +$drilldown-arrows: true; +$drilldown-arrow-color: $primary-color; +$drilldown-background: $white; + +// 16. Dropdown +// ------------ + +$dropdown-padding: 1rem; +$dropdown-border: 1px solid $medium-gray; +$dropdown-font-size: 1rem; +$dropdown-width: 300px; +$dropdown-radius: $global-radius; +$dropdown-sizes: ( + tiny: 100px, + small: 200px, + large: 400px, +); + +// 17. Dropdown Menu +// ----------------- + +$dropdownmenu-arrows: true; +$dropdownmenu-arrow-color: $anchor-color; +$dropdownmenu-min-width: 200px; +$dropdownmenu-background: $white; +$dropdownmenu-border: 1px solid $medium-gray; + +// 18. Flex Video +// -------------- + +$flexvideo-margin-bottom: rem-calc(16); +$flexvideo-ratio: 4 by 3; +$flexvideo-ratio-widescreen: 16 by 9; + +// 19. Forms +// --------- + +$fieldset-border: 1px solid $medium-gray; $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-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%); -// $input-prefix-border-size: 1px; -// $input-prefix-border-type: solid; -// $input-prefix-overflow: hidden; -// $input-prefix-font-color: #333; -// $input-prefix-font-color-alt: #fff; - -// 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-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 -// $glowing-effect-fade-time: 0.45s; -// $glowing-effect-color: $input-focus-border-color; - -// Select variables -// $select-bg-color: #fafafa; - -// Inline Lists - -// $include-html-inline-list-classes: $include-html-classes; - -// 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-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 - -// $include-html-joyride-classes: $include-html-classes; - -// Controlling default Joyride styles -// $joyride-tip-bg: #333; -// $joyride-tip-default-width: 300px; -// $joyride-tip-padding: rem-calc(18 20 24); -// $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: rem-calc(14); -// $joyride-tip-header-weight: bold; - -// This changes the nub size -// $joyride-tip-nub-size: 10px; - -// 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: 24px; -// $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); - -// Keystrokes - -// $include-html-type-classes: $include-html-classes; - -// We use these to control text styles. -// $keystroke-font: "Consolas", "Menlo", "Courier", monospace; -// $keystroke-font-size: rem-calc(14); -// $keystroke-font-color: #222; -// $keystroke-font-color-alt: #fff; -// $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: scale-color(#fff, $lightness: $keystroke-function-factor); -// $keystroke-border-style: solid; -// $keystroke-border-width: 1px; -// $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor); -// $keystroke-radius: $global-radius; - -// Labels - -// $include-html-label-classes: $include-html-classes; - -// We use these to style the labels -// $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-color: #333; -// $label-font-color-alt: #fff; -// $label-font-family: $body-font-family; - -// Magellan - -// $include-html-magellan-classes: $include-html-classes; - -// $magellan-bg: #fff; -// $magellan-padding: 10px; - -// Off-canvas - -// $tabbar-bg: #333; -// $tabbar-height: rem-calc(45); -// $tabbar-line-height: $tabbar-height; -// $tabbar-color: #FFF; -// $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%); - -// Off Canvas Tab Bar Headers -// $tabbar-header-color: #FFF; -// $tabbar-header-weight: bold; -// $tabbar-header-line-height: $tabbar-height; -// $tabbar-header-margin: 0; - -// Off Canvas Menu Variables -// $off-canvas-width: 250px; -// $off-canvas-bg: #333; - -// 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-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); -// $off-canvas-link-color: rgba(#FFF, 0.7); -// $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: 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-height: $tabbar-height; -// $tabbar-menu-icon-line-height: rem-calc(33); -// $tabbar-menu-icon-padding: 0; - -// $tabbar-hamburger-icon-width: rem-calc(16); -// $tabbar-hamburger-icon-left: rem-calc(13); -// $tabbar-hamburger-icon-top: rem-calc(5); - -// Off Canvas Back-Link Overlay -// $off-canvas-overlay-transition: background 300ms ease; -// $off-canvas-overlay-cursor: pointer; -// $off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5); -// $off-canvas-overlay-background: rgba(#FFF, 0.2); -// $off-canvas-overlay-background-hover: rgba(#FFF, 0.05); - -// Transition Variables -// $menu-slide: "transform 500ms ease"; - -// Orbit - -// $include-html-orbit-classes: $include-html-classes; - -// We use these to control the caption styles -// $orbit-container-bg: none; -// $orbit-caption-bg: rgba(51,51,51, 0.8); -// $orbit-caption-font-color: #fff; -// $orbit-caption-font-size: rem-calc(14); -// $orbit-caption-position: "bottom"; // Supported values: "bottom", "under" -// $orbit-caption-padding: rem-calc(10 14); -// $orbit-caption-height: auto; - -// We use these to control the left/right nav styles -// $orbit-nav-bg: none; -// $orbit-nav-bg-hover: rgba(0,0,0,0.3); -// $orbit-nav-arrow-color: #fff; -// $orbit-nav-arrow-color-hover: #fff; - -// We use these to control the timer styles -// $orbit-timer-bg: rgba(255,255,255,0.3); -// $orbit-timer-show-progress-bar: true; - -// We use these to control the bullet nav styles -// $orbit-bullet-nav-color: #ccc; -// $orbit-bullet-nav-color-active: #999; -// $orbit-bullet-radius: rem-calc(9); - -// We use these to controls the style of slide numbers -// $orbit-slide-number-bg: rgba(0,0,0,0); -// $orbit-slide-number-font-color: #fff; -// $orbit-slide-number-padding: rem-calc(5); - -// Graceful Loading Wrapper and preloader -// $wrapper-class: "slideshow-wrapper"; -// $preloader-class: "preloader"; - -// Pagination - -// $include-html-nav-classes: $include-html-classes; - -// We use these to control the pagination container -// $pagination-height: rem-calc(24); -// $pagination-margin: rem-calc(-5); - -// We use these to set the list-item properties -// $pagination-li-float: $default-float; -// $pagination-li-height: rem-calc(24); -// $pagination-li-font-color: #222; -// $pagination-li-font-size: rem-calc(14); -// $pagination-li-margin: rem-calc(5); - -// 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: scale-color(#fff, $lightness: -10%); - -// We use these for disabled anchor links -// $pagination-link-unavailable-cursor: default; -// $pagination-link-unavailable-font-color: #999; -// $pagination-link-unavailable-bg-active: transparent; - -// We use these for currently selected anchor links -// $pagination-link-current-background: $secondary-color; -// $pagination-link-current-font-color: #fff; -// $pagination-link-current-font-weight: bold; -// $pagination-link-current-cursor: default; -// $pagination-link-current-active-bg: $primary-color; - -// Panels - -// $include-html-panel-classes: $include-html-classes; - -// We use these to control the background and border styles -$panel-bg: #f7f7f7; -// $panel-border-style: solid; -// $panel-border-size: 1px; - -// We use this % to control how much we darken things on hover -// $panel-function-factor: -11%; -$panel-border-color: #dfdfdf; - -// We use these to set default inner padding and bottom margin -// $panel-margin-bottom: rem-calc(20); -// $panel-padding: rem-calc(20); - -// We use these to set default font colors -// $panel-font-color: #333; -// $panel-font-color-alt: #fff; - -// $panel-header-adjust: true; -// $callout-panel-link-color: $primary-color; - -// Pricing Tables - -// $include-html-pricing-classes: $include-html-classes; - -// We use this to control the border color -$price-table-border: 1px; - -// We use this to control the bottom margin of the pricing table -$price-table-margin-bottom: rem-calc(0); - -// We use these to control the title styles -$price-title-bg: #f7f7f7; -$price-title-padding: rem-calc(10); -// $price-title-align: center; -$price-title-color: #555; -$price-title-weight: bold; -$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-size: rem-calc(32); -// $price-money-font-family: $body-font-family; - - -// We use these to control the description styles -$price-desc-color: #999; -$price-desc-padding: rem-calc(10); -// $price-desc-align: center; -// $price-desc-font-size: rem-calc(12); -// $price-desc-weight: normal; -// $price-desc-line-height: 1.4; -$price-desc-bottom-border: none; - -// We use these to control the list item styles -$price-bg: #fff; -$price-item-color: #777; -$price-item-padding: rem-calc(5); -// $price-item-align: center; -$price-item-font-size: rem-calc(14); -// $price-item-weight: normal; -$price-item-bottom-border: none; - -// We use these to control the CTA area styles -// $price-cta-bg: #fff; -// $price-cta-align: center; -// $price-cta-padding: rem-calc(20 20 0); - -// Progress Meters - -// $include-html-media-classes: $include-html-classes; - -// We use this to se the prog bar height -$progress-bar-height: rem-calc(10); -// $progress-bar-color: #f6f6f6 ; - -// We use these to control the border styles -$progress-bar-border-color: #fff; -// $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; -// $progress-meter-success-color: $success-color; -// $progress-meter-alert-color: $alert-color; - -// Reveal - -// $include-html-reveal-classes: $include-html-classes; - -// 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: #fff; -$reveal-position-top: 30px; -$reveal-default-width: 30%; -$reveal-modal-padding: rem-calc(25); -// $reveal-box-shadow: 0 0 10px rgba(#000,.4); - -// We use these to style the reveal close button -$reveal-close-font-size: rem-calc(24); -// $reveal-close-top: rem-calc(8); -// $reveal-close-side: rem-calc(11); -// $reveal-close-color: #aaa; -// $reveal-close-weight: bold; - -// We use these to control the modal border -// $reveal-border-style: solid; -// $reveal-border-width: 1px; -// $reveal-border-color: #666; - -// $reveal-modal-class: "reveal-modal"; -// $close-reveal-modal-class: "close-reveal-modal"; - -// Side Nav - -// $include-html-nav-classes: $include-html-classes; - -// 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-margin: rem-calc(0 0 0 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%); -// $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-family: $body-font-family; -// $side-nav-active-font-family: $side-nav-font-family; - - - -// We use these to control border styles -// $side-nav-divider-size: 1px; -// $side-nav-divider-style: solid; -// $side-nav-divider-color: scale-color(#fff, $lightness: -10%); - -// Split Buttons - -// $include-html-button-classes: $include-html-classes; - -// We use these to control different shared styles for Split Buttons -// $split-button-function-factor: 10%; -// $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-pip-tny * 10; -// $split-button-span-width-tny: $button-pip-tny * 6; -// $split-button-pip-size-tny: $button-pip-tny; -// $split-button-pip-top-tny: $button-pip-tny * 2; -// $split-button-pip-default-float-tny: rem-calc(-6); - -// We use these to control small split buttons -// $split-button-padding-sml: $button-pip-sml * 10; -// $split-button-span-width-sml: $button-pip-sml * 6; -// $split-button-pip-size-sml: $button-pip-sml; -// $split-button-pip-top-sml: $button-pip-sml * 1.5; -// $split-button-pip-default-float-sml: rem-calc(-6); - -// We use these to control medium split buttons -// $split-button-padding-med: $button-pip-med * 9; -// $split-button-span-width-med: $button-pip-med * 5.5; -// $split-button-pip-size-med: $button-pip-med - rem-calc(3); -// $split-button-pip-top-med: $button-pip-med * 1.5; -// $split-button-pip-default-float-med: rem-calc(-6); - -// We use these to control large split buttons -// $split-button-padding-lrg: $button-pip-lrg * 8; -// $split-button-span-width-lrg: $button-pip-lrg * 5; -// $split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6); -// $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5); -// $split-button-pip-default-float-lrg: rem-calc(-6); - -// Sub Nav - -// $include-html-nav-classes: $include-html-classes; - -// We use these to control margin and padding -// $sub-nav-list-margin: rem-calc(-4 0 18); -// $sub-nav-list-padding-top: rem-calc(4); - -// 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-text-decoration: none; -// $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-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: rem-calc(3 16); -// $sub-nav-active-cursor: default; - -// $sub-nav-item-divider: ""; -// $sub-nav-item-divider-margin: rem-calc(12); - -// -// SWITCH -// - -// $include-html-form-classes: $include-html-classes; - -// Controlling border styles and background colors for the switch container -// $switch-border-color: scale-color(#fff, $lightness: -20%); -// $switch-border-style: solid; -// $switch-border-width: 1px; -// $switch-bg: #fff; - -// 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: rem-calc(20); - -// 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: #fff; -// $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-ease: ease-out; -// $switch-positive-color: scale-color($success-color, $lightness: 94%); -// $switch-negative-color: #f5f5f5; - -// Outline Style for tabbing through switches -// $switch-label-outline: 1px dotted #888; - -// Tables - -// $include-html-table-classes: $include-html-classes; - -// These control the background color for the table and even rows -// $table-bg: #fff; -// $table-even-row-bg: #f9f9f9 ; - -// These control the table cell border style -// $table-border-style: solid; -// $table-border-size: 1px; -// $table-border-color: #ddd; - -// 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-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); -// $table-row-font-color: #222; -// $table-line-height: rem-calc(18); - -// These are for controlling the display and margin of tables -// $table-display: table-cell; -// $table-margin-bottom: rem-calc(20); - -// -// TABS -// - -// $include-html-tabs-classes: $include-html-classes; - -$tabs-navigation-padding: rem-calc(8); -$tabs-navigation-bg-color: $secondary-color; -// $tabs-navigation-active-bg-color: #fff; -// $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%); -$tabs-navigation-font-color: #333; -$tabs-navigation-font-size: rem-calc(14); -// $tabs-navigation-font-family: $body-font-family; - -$tabs-content-margin-bottom: rem-calc(0); -// $tabs-content-padding: $column-gutter/2; - -// $tabs-vertical-navigation-margin-bottom: 1.25rem; - -// -// THUMBNAILS -// - -// $include-html-media-classes: $include-html-classes; - -// 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; - -// -// TOOLTIPS -// - -// $include-html-tooltip-classes: $include-html-classes; - -$has-tip-border-bottom: none; -// $has-tip-font-weight: bold; -// $has-tip-font-color: #333; -$has-tip-border-bottom-hover: none; -// $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-color: #fff; -// $tooltip-line-height: 1.3; -// $tooltip-close-font-size: rem-calc(10); -// $tooltip-close-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; - -// -// TOP BAR -// - -// $include-html-top-bar-classes: $include-html-classes; - -// Background color for the top bar -// $topbar-bg-color: #333; -// $topbar-bg: $topbar-bg-color; - -// 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-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-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-font-size: rem-calc(13); -// $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-button-font-size: 0.75rem; - -// $topbar-dropdown-label-color: #777; -// $topbar-dropdown-label-text-transform: uppercase; -// $topbar-dropdown-label-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-color: #fff; -// $topbar-menu-icon-color: #fff; -// $topbar-menu-link-color-toggled: #888; -// $topbar-menu-icon-color-toggled: #888; - -// Transitions and breakpoint styles -// $topbar-transition-speed: 300ms; -// Using rem-calc for the below breakpoint causes issues with top bar -// $topbar-breakpoint: #{upper-bound($medium-range)}; // Change to 9999px for always mobile layout -// $topbar-media-query: "only screen and (min-width: #{upper-bound($medium-range)})"; - -// Divider Styles -// $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 - -// -// VISIBILITY CLASSES -// - -// $include-html-visibility-classes: $include-html-classes; - - - -// -// RANGE SLIDER -// - -// $include-html-range-slider-classes: $include-html-classes; - -// These variabels define the slider bar styles -// $range-slider-bar-width: 100%; -$range-slider-bar-height: rem-calc(12); - -// ยก$range-slider-bar-border-width: 1px; -// $range-slider-bar-border-style: solid; -$range-slider-bar-border-color: #bfbfbf; -// $range-slider-radius: $global-radius; -// $range-slider-round: $global-rounded; -$range-slider-bar-bg-color: #fff; - -// Vertical bar styles -// $range-slider-vertical-bar-width: rem-calc(16); -// $range-slider-vertical-bar-height: rem-calc(200); - -// 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; -// $range-slider-handle-border-style: solid; -// $range-slider-handle-border-color: none; -// $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; +$fieldset-margin: rem-calc(18 0); +$legend-padding: rem-calc(0 3); +$form-spacing: rem-calc(16); +$helptext-color: $black; +$helptext-font-size: rem-calc(13); +$helptext-font-style: italic; +$input-prefix-color: $black; +$input-prefix-background: $light-gray; +$input-prefix-border: 1px solid $medium-gray; +$input-prefix-padding: 1rem; +$form-label-color: $black; +$form-label-font-size: rem-calc(14); +$form-label-font-weight: $global-weight-normal; +$form-label-line-height: 1.8; +$select-background: $white; +$select-triangle-color: $dark-gray; +$select-radius: $global-radius; +$input-color: $black; +$input-placeholder-color: $medium-gray; +$input-font-family: inherit; +$input-font-size: rem-calc(16); +$input-background: $white; +$input-background-focus: $white; +$input-background-disabled: $light-gray; +$input-border: 1px solid $medium-gray; +$input-border-focus: 1px solid $dark-gray; +$input-shadow: inset 0 1px 2px rgba($black, 0.1); +$input-shadow-focus: 0 0 5px $medium-gray; +$input-cursor-disabled: default; +$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out; +$input-number-spinners: true; +$input-radius: $global-radius; + +// 20. Label +// --------- + +$label-background: $primary-color; +$label-color: foreground($label-background); +$label-font-size: 0.8rem; +$label-padding: 0.33333rem 0.5rem; +$label-radius: $global-radius; + +// 21. Media Object +// ---------------- + +$mediaobject-margin-bottom: $global-margin; +$mediaobject-section-padding: $global-padding; +$mediaobject-image-width-stacked: 100%; + +// 22. Menu +// -------- + +$menu-margin: 0; +$menu-margin-nested: 1rem; +$menu-item-padding: 0.7rem 1rem; +$menu-item-color-active: $white; +$menu-item-background-active: map-get($foundation-palette, primary); +$menu-icon-spacing: 0.25rem; + +// 23. Meter +// --------- + +$meter-height: 1rem; +$meter-radius: $global-radius; +$meter-background: $medium-gray; +$meter-fill-good: $success-color; +$meter-fill-medium: $warning-color; +$meter-fill-bad: $alert-color; + +// 24. Off-canvas +// -------------- + +$offcanvas-size: 250px; +$offcanvas-background: $light-gray; +$offcanvas-zindex: -1; +$offcanvas-transition-length: 0.5s; +$offcanvas-transition-timing: ease; +$offcanvas-fixed-reveal: true; +$offcanvas-exit-background: rgba($white, 0.25); +$maincontent-class: 'off-canvas-content'; +$maincontent-shadow: 0 0 10px rgba($black, 0.5); + +// 25. Orbit +// --------- + +$orbit-bullet-background: $medium-gray; +$orbit-bullet-background-active: $dark-gray; +$orbit-bullet-diameter: 1.2rem; +$orbit-bullet-margin: 0.1rem; +$orbit-bullet-margin-top: 0.8rem; +$orbit-bullet-margin-bottom: 0.8rem; +$orbit-caption-background: rgba($black, 0.5); +$orbit-caption-padding: 1rem; +$orbit-control-background-hover: rgba($black, 0.5); +$orbit-control-padding: 1rem; +$orbit-control-zindex: 10; + +// 26. Pagination +// -------------- + +$pagination-font-size: rem-calc(14); +$pagination-margin-bottom: $global-margin; +$pagination-item-color: $black; +$pagination-item-padding: rem-calc(3 10); +$pagination-item-spacing: rem-calc(1); +$pagination-radius: $global-radius; +$pagination-item-background-hover: $light-gray; +$pagination-item-background-current: $primary-color; +$pagination-item-color-current: foreground($pagination-item-background-current); +$pagination-item-color-disabled: $medium-gray; +$pagination-ellipsis-color: $black; +$pagination-mobile-items: false; +$pagination-arrows: true; + +// 27. Progress Bar +// ---------------- + +$progress-height: 1rem; +$progress-background: $medium-gray; +$progress-margin-bottom: $global-margin; +$progress-meter-background: $primary-color; +$progress-radius: $global-radius; + +// 28. Reveal +// ---------- + +$reveal-background: $white; +$reveal-width: 600px; +$reveal-max-width: $global-width; +$reveal-padding: $global-padding; +$reveal-border: 1px solid $medium-gray; +$reveal-radius: $global-radius; +$reveal-zindex: 1005; +$reveal-overlay-background: rgba($black, 0.45); + +// 29. Slider +// ---------- + +$slider-width-vertical: 0.5rem; +$slider-transition: all 0.2s ease-in-out; +$slider-height: 0.5rem; +$slider-background: $light-gray; +$slider-fill-background: $medium-gray; +$slider-handle-height: 1.4rem; +$slider-handle-width: 1.4rem; +$slider-handle-background: $primary-color; +$slider-opacity-disabled: 0.25; +$slider-radius: $global-radius; + +// 30. Switch +// ---------- + +$switch-background: $medium-gray; +$switch-background-active: $primary-color; +$switch-height: 2rem; +$switch-height-tiny: 1.5rem; +$switch-height-small: 1.75rem; +$switch-height-large: 2.5rem; +$switch-radius: $global-radius; +$switch-margin: $global-margin; +$switch-paddle-background: $white; +$switch-paddle-offset: 0.25rem; +$switch-paddle-radius: $global-radius; +$switch-paddle-transition: all 0.25s ease-out; + +// 31. Table +// --------- + +$table-background: $white; +$table-color-scale: 5%; +$table-border: 1px solid smart-scale($table-background, $table-color-scale); +$table-padding: rem-calc(8 10 10); +$table-hover-scale: 2%; +$table-row-hover: darken($table-background, $table-hover-scale); +$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale); +$table-striped-background: smart-scale($table-background, $table-color-scale); +$table-stripe: even; +$table-head-background: smart-scale($table-background, $table-color-scale / 2); +$table-foot-background: smart-scale($table-background, $table-color-scale); +$table-head-font-color: $body-font-color; +$show-header-for-stacked: false; + +// 32. Tabs +// -------- + +$tab-margin: 0; +$tab-background: $white; +$tab-background-active: $light-gray; +$tab-item-font-size: rem-calc(12); +$tab-item-background-hover: $white; +$tab-item-padding: 1.25rem 1.5rem; +$tab-expand-max: 6; +$tab-content-background: $white; +$tab-content-border: $light-gray; +$tab-content-color: foreground($tab-background, $primary-color); +$tab-content-padding: 1rem; + +// 33. Thumbnail +// ------------- + +$thumbnail-border: solid 4px $white; +$thumbnail-margin-bottom: $global-margin; +$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2); +$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5); +$thumbnail-transition: box-shadow 200ms ease-out; +$thumbnail-radius: $global-radius; + +// 34. Title Bar +// ------------- + +$titlebar-background: $black; +$titlebar-color: $white; +$titlebar-padding: 0.5rem; +$titlebar-text-font-weight: bold; +$titlebar-icon-color: $white; +$titlebar-icon-color-hover: $medium-gray; +$titlebar-icon-spacing: 0.25rem; + +// 35. Tooltip +// ----------- + +$has-tip-font-weight: $global-weight-bold; +$has-tip-border-bottom: dotted 1px $dark-gray; +$tooltip-background-color: $black; +$tooltip-color: $white; +$tooltip-padding: 0.75rem; +$tooltip-font-size: $small-font-size; +$tooltip-pip-width: 0.75rem; +$tooltip-pip-height: $tooltip-pip-width * 0.866; +$tooltip-radius: $global-radius; + +// 36. Top Bar +// ----------- + +$topbar-padding: 0.5rem; +$topbar-background: $light-gray; +$topbar-submenu-background: $topbar-background; +$topbar-title-spacing: 1rem; +$topbar-input-width: 200px; +$topbar-unstack-breakpoint: medium; diff --git a/src/sunstone/public/scss/app.scss b/src/sunstone/public/scss/app.scss index 4bf35ae01f..87b4047654 100644 --- a/src/sunstone/public/scss/app.scss +++ b/src/sunstone/public/scss/app.scss @@ -1,46 +1,13 @@ @import "../bower_components/fontawesome/css/font-awesome.min.css"; @import "../bower_components/jgrowl/jquery.jgrowl.min.css"; +@import "../bower_components/datatables/media/css/dataTables.foundation.min.css"; @import "../bower_components/vis/dist/vis.min.css"; + @import "settings"; @import "foundation"; -// Or selectively include components -// @import -// "foundation/components/accordion", -// "foundation/components/alert-boxes", -// "foundation/components/block-grid", -// "foundation/components/breadcrumbs", -// "foundation/components/button-groups", -// "foundation/components/buttons", -// "foundation/components/clearing", -// "foundation/components/dropdown", -// "foundation/components/dropdown-buttons", -// "foundation/components/flex-video", -// "foundation/components/forms", -// "foundation/components/grid", -// "foundation/components/inline-lists", -// "foundation/components/joyride", -// "foundation/components/keystrokes", -// "foundation/components/labels", -// "foundation/components/magellan", -// "foundation/components/orbit", -// "foundation/components/pagination", -// "foundation/components/panels", -// "foundation/components/pricing-tables", -// "foundation/components/progress-bars", -// "foundation/components/reveal", -// "foundation/components/side-nav", -// "foundation/components/split-buttons", -// "foundation/components/sub-nav", -// "foundation/components/switch", -// "foundation/components/tables", -// "foundation/components/tabs", -// "foundation/components/thumbs", -// "foundation/components/tooltips", -// "foundation/components/top-bar", -// "foundation/components/type", -// "foundation/components/offcanvas", -// "foundation/components/visibility"; +@include foundation-everything; + @font-face { font-family: 'Open Sans'; @@ -50,1440 +17,6 @@ src: local('Open Sans'), local('OpenSans'), url('opensans/opensans.woff') format('woff'); } -.hidden { - display: none; -} -#footer { - margin-top: 20px; - margin-bottom: 10px; - font-size: 12px; - color: #999; - - a { - color: #999; - } - - a:hover { - color: #333; - } -} - -.left-content { - padding-top: 40px; - padding-left: 20px; -} - -.left-header { -} - -.right-content { - padding-top: 10px; - padding-left: 50px; - padding-right: 50px; -} - -.right-info { - margin-top: 15px; -} - -.log-tab { - background: #6f6f6f; - color: #f2f2f2; - padding: 20px; - font-size: 14px; -} - -table { - border: 0px; - border-collapse:collapse; - border-spacing:0; - - - th { - font-weight: normal !important; - font-size: 16px !important; - background-color: #fff !important; - border-bottom: 1px solid #efefef !important;; - color: #333 !important; - } - - td { - font-size: rem-calc(13px); - color: #555 !important; - } - - tfoot { - background-color: #fff !important; - } -} - -table.dataTable { - td, th { - font-size: rem-calc(13px); - text-align: left; - padding: 5px 10px; - - .button { - margin: 0px; - } - } - input[type="checkbox"] { - margin: 3px 0.5ex !important; - } - textarea { - min-height: 33px !important; - height: 33px; - padding: 5px 10px; - margin: 0px !important; - } - select,input[type="text"] { - margin: 0px !important; - } -} - -table:not(.no-hover) { - - tr.odd:hover td:not(.dataTables_empty) { - background-color: #2ba6cb !important; - cursor: pointer; - color: #FFF !important; - } - - tr.even:hover td:not(.dataTables_empty) { - background-color: #2ba6cb !important; - cursor: pointer; - color: #FFF !important; - } -} - -td.open-control:hover { - cursor: pointer; - -} - -input.search { - margin: 0px; -} - -.markrow { background-color:#cdebf5 !important; } -.markrowselected { background-color:#2ba6cb !important; color: #FFF; } -.markrowchecked { background-color:#cdebf5; } - - -// User settings and zone - -.user-zone-info { - .button { - background: #fff; - border: none; - } - - .button:hover { - background: #F5F5F5; - } -} - -.white_button { - background-color: #fff !important; - border: none; - - &:hover { - color: $primary-color !important; - } -} - -// Navigation side bar -#logo { - margin-top: 10px; -} - -.side-nav { - - .topTab { - - a { - color: #333 !important; - } - - margin-top: 10px; - margin-bottom: 5px; - } - - .subTab { - margin-left: 25px; - - &:hover { - border-left: 2px solid #999; - } - - border-left: 2px solid #efefef; - - a { - color: #777 !important; - - &:hover { - color: #555 !important; - } - } - - .labels-tree { - display: none; - } - } - - li { - font-size: rem-calc(12px); - - a { - padding: 0.2323rem 0.875rem !important; - } - } - - .navigation-active-li { - a { - color: #222 !important; - } - - .labels-tree { - display: block; - } - - background: rgba(0,0,0,0.025); - border-left: 2px solid #008cba !important; - } - - i { - margin-right: 3px - } - - padding-bottom: 5px; - padding-top: 0px; - border-right: 1px solid #efefef -} - -.header-row { - margin-bottom: 20px !important; - - .resource-id { - color: #999; - } - - .resource-info-header { - color: #777; - } -} - -// action block - -input[type="text"], -select { - height: rem-calc(33px) !important; - padding: rem-calc(5px) !important; - color: rgba(0, 0, 0, 0.75) !important; -} - -.subheader { - color: #555; -} - -.header-info { - margin-top: -5px; - margin-bottom: 5px; - - input { - //margin-top: -10px !important; - } -} - -.button.secondary { - color: #555; -} - -.button { - margin-right: 3px; -} - -// Dropdown -.f-dropdown { - text-align: left; - li { - padding: 0px 10px; - } -} - -// Form -.fa-question-circle { - color: #afafaf !important; -} - -.value_td { - text-overflow:ellipsis; -} - -.key_td { - color: #999 !important; -} - -.configuration_attrs { - .key_td { - width: 30%; - } -} - -.reveal-modal { - fieldset { - margin-bottom: 30px !important; - } -} - -.has-tip { - margin-left: 10px; - color: #555; - font-weight: normal; -} - -// Totals - -.dashboard-widget-footer { - margin-bottom: 50px !important; -} - -.totals-info { - span { - color: #777; - - } - - a { - color: #777 !important; - - &:hover { - color: #0098c3 !important - } - } - - small { - color: #ACACAC; - } -} - -.noUiSlider { - border: none; - margin-top: 12px; - - &.horizontal { - width: 100% !important; - } -} - - -// Dashboard - -fieldset { - margin-top: 0px; - margin-bottom: 20px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 15px; - - legend { - font-weight: normal !important; - font-size: 16px !important; - color: #555; - } -} - -.label.allocated { - background-color: rgb(43,166,203); - color: #fff; -} -.label.real { - background-color: rgb(112,125,133); - color: #fff; -} -.label.total { - background-color: rgb(172,90,98); - color: #fff; -} - -.success-color { - color: $success-color !important; -} - -.alert-color { - color: rgb(172,90,98) !important; -} - - -// Tabs -//.tabs.vertical { -// dd { -// border-right: 1px solid #dfdfdf;// - -// }// - -// dd.active { -// border-left: 1px solid #dfdfdf; -// border-top: 1px solid #dfdfdf; -// border-bottom: 1px solid #dfdfdf; -// border-right: 1px solid #FFFFFF;// - -// a { -// font-weight: bold !important; -// } -// } -//} - -.tabs { - dd { - border: 1px solid #efefef; - } - - dd.active { - a { - font-weight: bold !important; - } - } - - &.wizard_tabs dd { - border: 1px solid #dfdfdf !important; - } -} - -.bordered-tabs { - .tabs-content { - border-right: 0px; - border-bottom: 0px; - border-left: 0px; - border-radius: 3px; - min-height: 300px; - - &.vertical { - border-left: 1px solid #cfcfcf; - } - - &:not(.vertical) { - border-top: 1px solid #cfcfcf; - margin-top: -2px - } - } - - dl { - dd { - border: 0px; - } - - &.vertical { - .remove-tab { - float: right !important; - margin-top: 4px; - } - - dd.active { - border-left: 3px solid #008cba; - } - - dd:not(.active) { - border-left: 3px solid #fff; - - &:hover { - border-left: 3px solid #999; - } - } - } - - &:not(.vertical) { - dd.active { - border-bottom: 2px solid #008cba; - } - - dd:not(.active) { - &:hover { - border-bottom: 2px solid #999; - } - } - - dd { - border-bottom: 2px solid transparent; - } - } - - dd.active { - a { - background: #fff; - color: #222; - font-weight: normal !important; - } - } - - dd:not(.active) { - a { - color: #777 !important; - background: #fff; - - &:hover { - color: #333 !important; - } - } - } - } -} - -.remove-tab:hover { - color: $alert-color; - cursor: pointer; -} - -/*.tabs:not(.vertical) { - dd.active { - border-bottom: 0px; - } -} - -.tabs.vertical { - dd.active { - border-right: 0px; - } -}*/ - -// Right info - -.right-info-tabs { - dd { - width: 84px; - } - - i { - font-size: 20px; - margin-bottom: -10px; - } - - a { - color: #555 !important; - padding: 10px 0px !important; - font-size: 12px !important; - } - - dd.active { - a { - color: #333 !important; - } - } -} - -// Reveal - -.reveal-modal h3 { - margin-bottom: 25px !important; -} - -.reveal-body { - padding: 5px 20px; -} - - -.max-height{ -} - -.form_buttons { - padding-top: 30px; -} - - -// Progress bar - -.quotas { - fieldset { - padding-top: 5px; - padding-bottom: 0px; - } -} - -.provision-bullet-item { - - .progress { - height: 10px; - border: 1px solid #efefef; - margin-bottom: 0px; - } - - .progress-text { - } -} -.provision-header { - font-size: rem-calc(14px); - border-bottom: 1px solid #efefef; - - li { - padding-bottom: 5px; - } - - li.active { - border-bottom: 2px solid #0098c3; - } -} - -.quota_table { - margin-top: 0px !important; - margin-bottom: 0px !important; - clear: both; - max-width: none !important; - width: 100%; -} - -ul.pagination li a { - background: #f5f5f5; - border: 1px solid #efefef; - color: #555; -} - -ul.pagination li.unavailable a { - background: #fff; - border: 0px; - color: #999; -} - -ul.pagination li.current a { - background: #fff; - border: 1px solid #efefef; - color: #333; - - &:hover { - background: #fff; - border: 1px solid #efefef; - color: #333; - } -} - -div.dataTables_length label, -div.dataTables_filter label, -div.dataTables_info { - color: #999; - font-weight: normal; -} - -div.dataTables_length label { - float: left; - text-align: left; - margin-bottom: 0; -} - -div.dataTables_length { - float: right !important; -} - -div.dataTables_length select { - width: 75px; - margin-bottom: 0; - font-size: 10px !important; - height: 26px !important; - margin-left: 15px; -} - -div.dataTables_filter label { - float: right; - margin-bottom: 0; -} -div.dataTables_filter input { - display: inline-block !important; - width: auto !important; - margin-bottom: 0; -} - -div.dataTables_info { - padding-top: 2px; - font-size: 0.875em; -} - -div.dataTables_paginate { - float: right; - margin: 0; -} - -table.dataTable { - clear: both; - margin: 0.5em 0 !important; - max-width: none !important; - width: 100%; - - tr { - background: none !important; - } -} - -table.dataTable thead .sorting, -table.dataTable thead .sorting_asc, -table.dataTable thead .sorting_desc, -table.dataTable thead .sorting_asc_disabled, -table.dataTable thead .sorting_desc_disabled { - cursor: pointer; - *cursor: hand; -} - -table.dataTable thead .sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; } -table.dataTable thead .sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; } - -table.dataTable th:active { - outline: none; -} - -/* Scrolling */ -div.dataTables_scrollHead table { - margin-bottom: 0 !important; -} - -div.dataTables_scrollBody table { - border-top: none; - margin-top: 0 !important; - margin-bottom: 0 !important; -} - -div.dataTables_scrollBody tbody tr:first-child th, -div.dataTables_scrollBody tbody tr:first-child td { - border-top: none; -} - -div.dataTables_scrollFoot table { - margin-top: 0 !important; - border-top: none; -} - - - - - -/* Growl */ -.jGrowl-notification h1 { - display: none !important; -} - -.jGrowl-notification, .jGrowl-notify-submit { - background-color: #dfdfdf!important; - color: #333; - width: 335px !important; -} - -.jGrowl-notify-error { - background-color: #F39999!important; - color: #660000; -} - -.jGrowl-closer { - background-color: #555!important; - width: 335px !important; -} - -.jGrowl-close { - font-size: 1.5em !important; -} - -.alert-box-error { - border: 0px!important; - background-color: #F39999!important; - color: #660000; -} - - -.custom-panel { - @include panel(); - - border-color: #efefef; - margin-bottom: 0px; -} - -.provision-pricing-table { - @include pricing-table-container; - //border: 1px solid #efefef; - //box-shadow: 0px 1px #dfdfdf; - //padding: 5px; - border: 1px solid #efefef !important; - background: #fff !important; - padding-bottom: 5px !important; - - .provision-title { - @include pricing-table-title; - background-color: #f8f8f8 !important; - border-bottom: 1px solid #efefef; - font-size: rem-calc(14px); - margin-bottom: 5px; - - font-weight: normal; - color: #555; - } - .provision-price { - @include pricing-table-price; - font-size: rem-calc(13px); - } - .provision-description { - @include pricing-table-description; - font-size: rem-calc(13px); - } - .provision-description:hover { - white-space: normal; - } - .provision-bullet-item { - @include pricing-table-bullet; - font-size: rem-calc(13px); - - padding: 5px 10px; - } - .provision-bullet-item-last { - @include pricing-table-bullet; - font-size: rem-calc(13px); - color: #999; - margin-top: 10px; - padding: 5px 10px; - } - .provision-cta { - @include pricing-table-cta; - font-size: rem-calc(13px); - } - - - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - - background: #f7f7f7; - - li { - background: none !important; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - } - - &.hoverable.only-one:not(.selected):hover { - cursor: pointer; - } - - &.hoverable.more-than-one:hover { - cursor: pointer; - } - - .only-on-hover { - color: #cfcfcf !important - } - - &:not(.selected):hover { - border-color: #afafaf !important; - - .only-on-hover { - color: #0099c3 !important - } - } - - &.selected { - //border: 1px solid #0099c3; - border: 1px solid #0099c3 !important; - } -} - -.provision-pricing-table_vm_info, -.provision-pricing-table_flow_info, -.provision-pricing-table_user_info { - li { - padding: 5px 0px !important; - font-size: rem-calc(14px) !important; - } -} - -.deploying-bg { - background-color: #C7731F !important; -} - -.error-bg { - background-color: #cf280e !important; -} - - -.powering_off-bg { - background-color: #cf280e !important; -} - -.off-bg { - background-color: #999; -} - -.running-bg { - background-color: #368a54 !important; -} - - -.deploying-color { - color: #C7731F; -} - -.error-color { - color: #cf280e; -} - -.powering_off-color { - color: #cf280e; -} - -.off-color { - color: #555; -} - -.running-color { - color: #368a54; -} - -.provision_back, -.provision_show_vm_accordion, -.provision_show_user_accordion, -.provision_show_flow_accordion { - padding: 0px !important; -} - -.provision-input { - border-color: #dfdfdf; - border-radius: 3px; -} - -.provision-search-input { - width: 200px !important; - height:34px !important; - border-radius: 3px; - border-color: #efefef; - margin: 0px !important; -} - -#provision_list_vms_filter select, -#provision_list_templates_filter select, -#provision_list_flows_filter select { - width: 200px !important; - height:35px !important; - border-radius: 3px; - border-color: #efefef; - float: right !important; - margin: 5px 10px 0px 0px; -} - -.accordion { - a.accordion-a { - border: 1px solid #efefef; - background: #f7f7f7; - border-radius: 5px; - color: #555 !important; - } -} - -.alert-box.secondary { - margin-top: 10px; -} - -hr { - border-color: #dfdfdf; -} - - -.provision-logo img { - padding: 10px; - border-radius: 3px; - height: 80px; -} - -.provision_action_icons { - margin-bottom: 5px; - font-size: 14px; - - .white { - color: #007d9c; - background: #fff ; - //border-width: 1px ; - border-color: $primary-color ; - } - - .button { - margin-right: 3px; - } - - a{ - &:hover { - //color: $primary-color; - } - - //color: #007d9c; - font-weight: bold; - - //i { - // color: #555; - //} - - } -} - -.policies_table { - th { - font-size: 14px !important; - } -} - -.accordion_advanced { - margin-bottom: 10px; - &>a { - padding: 10px 20px; - font-size: 13px; - color: #555; - background: #f7f7f7; - border: 1px solid #f7f7f7; - //margin-left: 20px; - - - .fa { - margin-right: 10px; - color: #777; - } - - &.active { - background: #fff; - border: 0px; - border-bottom: 2px solid #008cba; - font-weight: bold; - - .fa-chevron-down { - display: none; - } - } - - &:not(.active){ - border: 1px solid #efefef; - border-radius: 3px; - - .fa-chevron-up { - display: none; - } - } - - &:hover { - background: #dfdfdf; - color: #333333; - } - } - - &>.content { - border-top: 1px solid #cfcfcf; - //border-radius: 3px; - padding: 20px; - margin-top: 8px; - } -} - -.accordion { - dd { - &.active { - .only-not-active { - display: none; - } - .only-active { - display: inline-block; - } - } - - &:not(.active) { - .only-active { - display: none; - } - .only-not-active { - display: inline-block; - } - } - } -} - -.accordion_list { - dd { - &>a { - padding: 0px; - background: #fff !important; - } - - &>.content { - padding-top: 5px !important; - padding: 0px !important; - } - - &:first-child>h3 { - border-bottom: 1px solid #efefef; - padding-bottom: 10px; - - .button { - margin: 0px 3px; - } - - select { - height: 33px !important; - margin: 0px 5px 0px 0px !important; - float: right !important; - width: auto !important; - } - - input { - margin: 0px !important; - } - } - } - -} - -.vm_info_inline_list { - .fa:not(.fa-square) { - color: #afafaf; - } - - li { - margin-right: 30px; - } -} - -.range-slider-active-segment { - background: #cfcfcf; -} - -// There is a bug in zurb foundation and the tooltip z-index is < than modal -.tooltip { - z-index: 2000; -} - -.flot-tick-label { - color: #999; -} - -#li_support-tab { - background: #f7f7f7; - border-radius: 3px; - padding: 5px 0px; - margin-top: 30px; - //text-align: center !important; - - .support_title { - color: #333; - } - .support_info { - margin-top: 10px; - width: 100%; - } - .support_pending { - color: #777; - } - .support_open { - color: #777; - } - .support_button { - margin-top: 15px; - } - .support_connect { - margin-top: 10px; - width: 100%; - color: #777; - } - .support_connect_button { - margin-top: 15px; - } -} - -#user_ssh_public_key_text, -#config_ssh_public_key_text { - font-size: 0.875rem; - color: #777; - padding: 0px 10px; - overflow-x:hidden; - text-overflow: ellipsis; - height: 120px; -} - -.info_text { - color: #777; - padding: 0px 10px; -} - -.vm-action-disabled { - //color: red !important; - color: #cfcfcf !important; -/* - &:hover { - color: $alert-color !important; - } -*/ - cursor: default !important; -} -/* -.vm-action-enabled { - &:hover { - color: $primary-color !important; - } -} -*/ - -.inline-list { - margin: 0px; - - li:not(.right) { - margin-left: 0px; - margin-right: 1.375rem; - } - - li.right { - margin-left: 0px; - margin-right: 0px; - } -} - -#loading { - width: 100%; - height: 100%; - top: 0px; - left: 0px; - position: fixed; - display: block; - opacity: 0.7; - background-color: #fff; - z-index: 99; - text-align: center; -} - -#loading-content { - position: absolute; - top: 200px; - z-index: 100; -} - -.actions_row { - input { - height: 34px; - } -} - - -.nowrap { - white-space: nowrap; -} - - -/* Tree lists */ - -.tree, .tree ul{ - font: inherit; - list-style-type: none; - margin-left: 1em; - padding: 0; - position: relative; -} - -.tree li{ - margin: 0; - padding: 0 1em; - position: relative; -} - -.tree li::before, .tree li::after{ - content: ''; - position: absolute; - left: 0; -} - -/* horizontal line on inner list items */ -.tree li::before{ - border-top: 1px solid #999; - top: 0.5em; - width: 10px; - height: 0; -} - -/* vertical line on list items */ -.tree li:after{ - border-left: 1px solid #999; - height: 100%; - width: 0px; - top: -0.5em; -} - -/* lower line on list items from the first level because they don't have parents */ -.tree > li::after{ - top: 0.5em; -} - -/* hide line from the last of the first level list items */ -.tree > li:last-child::after{ - display: none; -} - -.tree ul:last-child li:last-child:after{ - height:1em; -} - -.diskSlider { - label { - font-size: 24px; - color: #777; - padding: 0 0.5rem; - } -} - -.menu-small { - position: absolute; - z-index: 20; - box-shadow: 5px 10px 15px 5px rgba(0,0,0,.1); -} - -#menu-wrapper { - padding-top: 5px; - background-color: white -} - -#menu-toggle { - padding: 0px -} - -.custom_tags td { - vertical-align: top; -} - -// Overwrite vis.js tooltip css -div.vis-network-tooltip { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - font-stretch: condensed; - - background-color: #ffffff; -} - -.labels-tree input[type="checkbox"] { - margin: 0px; -} - -.labels-tree { - font: inherit; - list-style-type: none; - padding-right: 1em; - margin-left: 0; - margin-bottom: 0; - - & > li:last-child { - padding-bottom: 1em; - } - - .fa-angle-down, .fa-angle-right { - padding: 3px; - cursor: pointer; - - &:hover { - background: #bfbfbf; - } - } - - .fa-tag { - color: #999; - } - - .one-label { - cursor: pointer; - - &:hover, &.active { - font-weight: bold; - } - } -} - -.labels-tree ul{ - font: inherit; - list-style-type: none; - margin-left: 1em; - padding: 0; - position: relative; -} - -.labels-tree li{ - margin: 0; - padding: 0 0 0 1em; - position: relative; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; -} - -.labels-tree li:before, .labels-tree li:after{ - content: ''; - position: absolute; - left: 0; -} - -/* horizontal line on inner list items */ -.labels-tree li:before{ - //border-top: 1px solid #999; - top: 0.5em; - width: 10px; - height: 0; -} - -/* vertical line on list items */ -.labels-tree li:after{ - //border-left: 1px solid #999; - height: 100%; - width: 0px; - top: -0.5em; -} - -/* lower line on list items from the first level because they don't have parents */ -/*.labels-tree > li::after{ - top: 0.5em; -}*/ - -/* hide line from the last of the first level list items */ -/*.labels-tree > li:last-child::after{ - display: none; -}*/ - -.labels-tree li:last-child:after{ - height:1em; -} - -.labels-dropdown { - margin: 0px; - padding-top: 1em; - - h6 { - margin: 0.5em 1em; - border-bottom: 1px solid #efefef; - } - - .input-container { - margin: 0 1em; - } - - li { - cursor: auto; - - &:hover { - background: none; - } - } - - .fa-check-square-o, - .fa-square-o, - .fa-minus-square-o { - position: absolute; - right: 0; - padding: 2px; - background: #fff; - - &:hover { - cursor: pointer; - background: #bfbfbf; - } - } -} - -// For abide validation - -.error input { - border-bottom-color: $alert-color !important; -} - -.error textarea { - border-bottom-color: $alert-color !important; -} \ No newline at end of file +.right { + float: right !important; } \ No newline at end of file