ama_layout 3.2.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ama_layout.gemspec +2 -1
- data/app/assets/images/ama-logo-blue.svg +44 -0
- data/app/assets/images/ama-logo.png +0 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-custom.js +21 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-equalizer-reflow.coffee +5 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-ready.coffee +2 -0
- data/app/assets/javascripts/ama_layout/desktop/index.js +2 -8
- data/app/assets/stylesheets/ama_layout/_settings.scss +66 -66
- data/app/assets/stylesheets/ama_layout/application.scss +0 -1
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +1 -24
- data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +2 -72
- data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +98 -43
- data/app/assets/stylesheets/ama_layout/layout/index.scss +2 -0
- data/app/assets/stylesheets/ama_layout/layout/mixins-grid.scss +847 -0
- data/app/assets/stylesheets/ama_layout/layout/print.scss +23 -0
- data/app/assets/stylesheets/ama_layout/layout/variables.scss +20 -4
- data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +32 -14
- data/app/assets/stylesheets/ama_layout/layout_components/banner.scss +17 -0
- data/app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss +81 -4
- data/app/assets/stylesheets/ama_layout/layout_components/breadcrumbs.scss +10 -0
- data/app/assets/stylesheets/ama_layout/layout_components/button-grouping.scss +111 -0
- data/app/assets/stylesheets/ama_layout/layout_components/buttons.scss +14 -0
- data/app/assets/stylesheets/ama_layout/layout_components/callouts.scss +106 -0
- data/app/assets/stylesheets/ama_layout/layout_components/cart.scss +98 -43
- data/app/assets/stylesheets/ama_layout/layout_components/comparison-radios.scss +113 -0
- data/app/assets/stylesheets/ama_layout/layout_components/content-toggle.scss +15 -0
- data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +3 -3
- data/app/assets/stylesheets/ama_layout/layout_components/footer.scss +65 -0
- data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +141 -43
- data/app/assets/stylesheets/ama_layout/layout_components/graph.scss +8 -7
- data/app/assets/stylesheets/ama_layout/layout_components/index.scss +13 -1
- data/app/assets/stylesheets/ama_layout/layout_components/link-list.scss +53 -0
- data/app/assets/stylesheets/ama_layout/layout_components/links.scss +8 -0
- data/app/assets/stylesheets/ama_layout/layout_components/notification.scss +27 -1
- data/app/assets/stylesheets/ama_layout/layout_components/progress-bar.scss +137 -0
- data/app/assets/stylesheets/ama_layout/layout_components/reveal-modal.scss +15 -0
- data/app/assets/stylesheets/ama_layout/layout_components/sections.scss +202 -0
- data/app/assets/stylesheets/ama_layout/layout_components/sidebar.scss +45 -119
- data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +70 -73
- data/app/assets/stylesheets/ama_layout/layout_components/tab-accordions.scss +1 -19
- data/app/assets/stylesheets/ama_layout/layout_components/tables.scss +96 -0
- data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +2 -2
- data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +2 -49
- data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +2 -10
- data/app/helpers/ama_layout_breadcrumb_helper.rb +5 -0
- data/app/views/ama_layout/_alert.html.erb +4 -2
- data/app/views/ama_layout/_breadcrumbs.html.erb +3 -0
- data/app/views/ama_layout/_footer.html.erb +68 -1
- data/app/views/ama_layout/_main_nav_item.html.erb +2 -3
- data/app/views/ama_layout/_notice.html.erb +2 -2
- data/app/views/ama_layout/_sidebar.html.erb +6 -9
- data/app/views/ama_layout/_siteheader.html.erb +40 -28
- data/app/views/ama_layout/_sub_nav.html.erb +1 -1
- data/app/views/ama_layout/_sub_nav_item.html.erb +2 -2
- data/app/views/ama_layout/_top_nav.html.erb +4 -4
- data/lib/ama_layout.rb +2 -0
- data/lib/ama_layout/breadcrumb_builder.rb +23 -0
- data/lib/ama_layout/decorators/navigation_decorator.rb +10 -2
- data/lib/ama_layout/decorators/navigation_item_decorator.rb +8 -2
- data/lib/ama_layout/moneris/textbox.txt +11 -15
- data/lib/ama_layout/navigation.rb +7 -2
- data/lib/ama_layout/navigation.yml +8 -13
- data/lib/ama_layout/version.rb +1 -1
- data/spec/ama_layout/breadcrumb_builder_spec.rb +32 -0
- data/spec/ama_layout/decorators/moneris_decorator_spec.rb +11 -15
- data/spec/ama_layout/decorators/navigation_decorator_spec.rb +37 -0
- data/spec/ama_layout/decorators/navigation_item_decorator_spec.rb +18 -3
- data/spec/ama_layout/navigation_spec.rb +19 -88
- data/spec/helpers/ama_layout_breadcrumb_helper_spec.rb +9 -0
- data/styles.scss +0 -0
- metadata +46 -16
- data/app/assets/javascripts/ama_layout/desktop/drop_down.coffee +0 -46
- data/app/assets/javascripts/ama_layout/desktop/foundation-namespace.coffee +0 -2
- data/app/assets/javascripts/ama_layout/desktop/header_menu.coffee +0 -7
- data/app/assets/javascripts/ama_layout/desktop/ready.coffee +0 -3
- data/app/assets/javascripts/ama_layout/desktop/sidebar.coffee +0 -4
- data/app/assets/javascripts/ama_layout/desktop/sticky-footer.coffee +0 -33
- data/app/assets/javascripts/ama_layout/desktop/toggle_menu.coffee +0 -8
- data/app/assets/stylesheets/ama_layout/layout_components/show-hide-content-box.scss +0 -11
- data/app/assets/stylesheets/ama_layout/old-ie.scss +0 -74
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons.js +0 -84
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aae080e7e58a7b87b9f3c453160a86457a7b586
|
4
|
+
data.tar.gz: 97813104e10861b8a16fe6fb7ef66aa03d55b16a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06cd712b5195469e83ab6ab2e12e3cc718a217f215eda117a6c15eba44df1668251587365b247c878f490d80729d239e00ddc9e5f00282d7016f5324431a58de
|
7
|
+
data.tar.gz: edee8ceebac42c1cc05093dbd8685ec0cd32bd1f6181c7ed949d4c954b2e290580d2726b679e060bc4b5c9673d2f5d999ecb292b850c3428c75e50d7c24b466c
|
data/ama_layout.gemspec
CHANGED
@@ -18,12 +18,13 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "foundation-rails", "~> 6.2.0"
|
21
|
+
spec.add_dependency "foundation-rails", "~> 6.2.3.0"
|
22
22
|
spec.add_dependency "rails", "~> 4.2"
|
23
23
|
spec.add_dependency "sass-rails", "~> 5.0"
|
24
24
|
spec.add_dependency "font-awesome-sass", "4.5.0"
|
25
25
|
spec.add_dependency "draper", "~> 2.1"
|
26
26
|
spec.add_dependency "browser", "~> 2.0"
|
27
|
+
spec.add_dependency "breadcrumbs_on_rails", "~> 2.3.0"
|
27
28
|
spec.add_development_dependency "bundler", "~> 1.11"
|
28
29
|
spec.add_development_dependency "rake", "~> 11.0"
|
29
30
|
spec.add_development_dependency "rspec-rails"
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 264 64" style="enable-background:new 0 0 264 64;" xml:space="preserve">
|
6
|
+
<style type="text/css">
|
7
|
+
.st0{fill:#00539B;}
|
8
|
+
.st1{fill:#FFFFFF;stroke:#FFFFFF;stroke-miterlimit:10;}
|
9
|
+
.st2{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.3594;}
|
10
|
+
.st3{fill:#FFFFFF;}
|
11
|
+
.st4{fill:#DA291C;}
|
12
|
+
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#DA291C;}
|
13
|
+
</style>
|
14
|
+
<g>
|
15
|
+
<g>
|
16
|
+
<path class="st0" d="M121.8,4.1h25.1l12.7,39.7h0.2L173,4.1h24.1v59.7h-15.6l0.3-45.9h-0.2l-15.2,45.9h-14.6L137.2,18H137
|
17
|
+
l0.3,45.9h-15.6V4.1z M79.8,4.1h19.5l23,59.7h-17.5l-4.5-12.8H78l-4.7,12.8H57.1L79.8,4.1z M89.5,16.4h-0.2l-7.7,23.4h15
|
18
|
+
L89.5,16.4z M219.5,4.1H239l23,59.7h-17.5l-4.4-12.8h-22.4L213,63.9h-16.2L219.5,4.1z M229.2,16.4h-0.2l-7.7,23.4h15L229.2,16.4z"
|
19
|
+
/>
|
20
|
+
</g>
|
21
|
+
</g>
|
22
|
+
<path class="st1" d="M1,26.5C0.9,12.3,17.7,0.8,38.6,0.8c20.9,0,37.9,11.5,38,25.7C76.7,40.7,59.9,52.2,39,52.2
|
23
|
+
C18.1,52.2,1.1,40.7,1,26.5z"/>
|
24
|
+
<path class="st2" d="M71.4,15.6c4,4.9,4.9,12.8,1.9,18.5c-7.1,12.2-20.4,16-33.7,16.6c-14,0.1-27.5-4-35.2-15.9
|
25
|
+
c-3-5.3-2.4-13.3,1.3-18.2C16.1,3.1,33.4,0.5,49.9,3.3C58,5.2,65.8,8.3,71.4,15.6L71.4,15.6z"/>
|
26
|
+
<path class="st0" d="M71.4,15.6c4,4.9,4.9,12.8,1.9,18.5c-7.1,12.2-20.4,16-33.7,16.6c-14,0.1-27.5-4-35.2-15.9
|
27
|
+
c-3-5.3-2.4-13.3,1.3-18.2C16.1,3.1,33.4,0.5,49.9,3.3C58,5.2,65.8,8.3,71.4,15.6L71.4,15.6z"/>
|
28
|
+
<path class="st3" d="M67.2,19.2c2,2.9,3,6.8,1.9,10.4c-3.6,10.1-14.6,13.9-24.2,15.2c-12.1,1.4-24.4-0.6-33-8.9
|
29
|
+
C8.6,32.4,7,27.2,8.8,22.5c5-10.6,16.5-13.6,27-14.8C48.1,7.4,59.5,9.7,67.2,19.2L67.2,19.2z"/>
|
30
|
+
<path class="st4" d="M47.6,24.7l0.5,1.6c-1,3.2-1.9,6.3-2.8,9.6l5.8-0.1l2.4,5.4L46.9,43c-1.2-3-2.1-6.1-3.2-9.1l-11.1,0
|
31
|
+
c-1,2.9-1.9,5.8-2.7,8.7c-2.2-0.2-4.4-0.9-6.7-1.3c0.3-1.5,1-3.1,1.5-4.6c3.2-1.5,5.8-5,5.8-8.7l-2.8-0.1l6.3-18.7
|
32
|
+
C36.8,9,39.1,9,41.7,9L47.6,24.7L47.6,24.7z"/>
|
33
|
+
<path class="st4" d="M65.5,35.1l-5.3,0c-0.3-1.3-0.7-2.6-1.1-3.9l-6.4-0.1c-0.4,1.3-0.6,2.6-0.9,3.9l-5.4,0.1l6.1-20.8l6.1,0
|
34
|
+
L65.5,35.1L65.5,35.1z"/>
|
35
|
+
<path class="st4" d="M28.3,18.1c0.7,1,1.1,2.2,1.1,3.5l-5.2,0.1c-0.1-0.8-0.2-1.6-0.9-2.1c-0.8-0.7-2-0.7-3-0.5
|
36
|
+
c-3.2,1.7-2.9,5.4-2.6,8.7c0.3,1.7,0.9,3.7,2.8,4.2c1,0,2,0,2.7-0.6c0.7-0.8,1.1-1.7,1.3-2.7h5.2c-0.4,3.6-3.1,6.7-6.5,7.6
|
37
|
+
c-3.2,0.6-6.2-0.3-8.3-2.7c-3.2-3.7-3.6-9.3-1.5-13.6c1.3-2.8,4.3-5.1,7.4-5.4C23.8,14.5,26.4,15.6,28.3,18.1L28.3,18.1z"/>
|
38
|
+
<path class="st3" d="M41.7,28.4h-7.5l3.6-12C39.1,20.4,40.6,24.3,41.7,28.4L41.7,28.4z"/>
|
39
|
+
<path class="st3" d="M53.8,26.6c0.4-2.1,1-4.4,1.6-6.5l2,6.5H53.8L53.8,26.6z"/>
|
40
|
+
<path class="st5" d="M66.2,31.4c0.7,0,1.2-0.5,1.2-1.2c0-0.7-0.6-1.2-1.2-1.2c-0.7,0-1.2,0.5-1.2,1.2C65,30.9,65.6,31.4,66.2,31.4
|
41
|
+
L66.2,31.4z M65.2,30.2c0-0.6,0.4-1,1-1c0.5,0,1,0.4,1,1c0,0.6-0.4,1-1,1C65.7,31.2,65.2,30.7,65.2,30.2L65.2,30.2z M66,30.3h0.2
|
42
|
+
l0.4,0.6h0.2l-0.4-0.6c0.2,0,0.4-0.1,0.4-0.4c0-0.3-0.2-0.4-0.5-0.4h-0.5v1.4H66V30.3L66,30.3z M66,30.1v-0.4h0.3
|
43
|
+
c0.1,0,0.3,0,0.3,0.2c0,0.2-0.2,0.2-0.3,0.2H66L66,30.1z"/>
|
44
|
+
</svg>
|
Binary file
|
@@ -0,0 +1,21 @@
|
|
1
|
+
//= require foundation.core.js
|
2
|
+
//= require foundation.abide.js
|
3
|
+
//= require foundation.accordion.js
|
4
|
+
//= require foundation.drilldown.js
|
5
|
+
//= require foundation.dropdown.js
|
6
|
+
//= require foundation.dropdownMenu.js
|
7
|
+
//= require foundation.equalizer.js
|
8
|
+
//= require foundation.offcanvas.js
|
9
|
+
//= require foundation.responsiveMenu.js
|
10
|
+
//= require foundation.responsiveToggle.js
|
11
|
+
//= require foundation.reveal.js
|
12
|
+
//= require foundation.tabs.js
|
13
|
+
//= require foundation.toggler.js
|
14
|
+
//= require foundation.tooltip.js
|
15
|
+
//= require foundation.util.box.js
|
16
|
+
//= require foundation.util.keyboard.js
|
17
|
+
//= require foundation.util.mediaQuery.js
|
18
|
+
//= require foundation.util.motion.js
|
19
|
+
//= require foundation.util.nest.js
|
20
|
+
//= require foundation.util.timerAndImageLoader.js
|
21
|
+
//= require foundation.util.triggers.js
|
@@ -1,12 +1,6 @@
|
|
1
1
|
//= require ../ama_layout_namespace
|
2
|
-
//= require ./
|
3
|
-
//= require ./toggle_menu
|
4
|
-
//= require ./header_menu
|
5
|
-
//= require ./ready
|
6
|
-
//= require foundation
|
2
|
+
//= require ./foundation-custom
|
7
3
|
//= require ./foundation-ready
|
8
|
-
//= require ./
|
9
|
-
//= require ./foundation-namespace
|
10
|
-
//= require ./sidebar
|
4
|
+
//= require ./foundation-equalizer-reflow
|
11
5
|
//= require ./cookie.ready
|
12
6
|
//= require ../mailcheck/index
|
@@ -45,7 +45,7 @@
|
|
45
45
|
// 1. Global
|
46
46
|
// ---------
|
47
47
|
|
48
|
-
$global-font-size:
|
48
|
+
$global-font-size: 14px;
|
49
49
|
$global-width: rem-calc(1200);
|
50
50
|
$global-lineheight: 1.5;
|
51
51
|
$foundation-palette: (
|
@@ -60,12 +60,12 @@ $medium-gray: #cacaca;
|
|
60
60
|
$dark-gray: #8a8a8a;
|
61
61
|
$black: #0a0a0a;
|
62
62
|
$white: #ffffff;
|
63
|
-
$body-background: $
|
64
|
-
$body-font-color: $
|
63
|
+
$body-background: $stone;
|
64
|
+
$body-font-color: $slate;
|
65
65
|
$body-font-family: 'Open Sans', Helvetica, Roboto, Arial, sans-serif;
|
66
66
|
$body-antialiased: true;
|
67
|
-
$global-margin:
|
68
|
-
$global-padding:
|
67
|
+
$global-margin: $base-margin;
|
68
|
+
$global-padding: $base-padding;
|
69
69
|
$global-weight-normal: normal;
|
70
70
|
$global-weight-bold: bold;
|
71
71
|
$global-radius: 3px;
|
@@ -89,11 +89,11 @@ $breakpoint-classes: (small medium large);
|
|
89
89
|
|
90
90
|
// 3. The Grid
|
91
91
|
// -----------
|
92
|
-
|
93
|
-
$grid-row-width:
|
92
|
+
//change $grid-row-width to $global-width to give it a fixed width
|
93
|
+
$grid-row-width: 100%;
|
94
94
|
$grid-column-count: 12;
|
95
95
|
$grid-column-gutter: (
|
96
|
-
small:
|
96
|
+
small: 30px,
|
97
97
|
medium: 30px,
|
98
98
|
);
|
99
99
|
$grid-column-align-edge: true;
|
@@ -103,12 +103,12 @@ $block-grid-max: 8;
|
|
103
103
|
// ------------------
|
104
104
|
|
105
105
|
$header-font-family: $body-font-family;
|
106
|
-
$header-font-weight:
|
106
|
+
$header-font-weight: 700;
|
107
107
|
$header-font-style: normal;
|
108
108
|
$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
|
109
109
|
$header-sizes: (
|
110
110
|
small: (
|
111
|
-
'h1':
|
111
|
+
'h1': 20,
|
112
112
|
'h2': 20,
|
113
113
|
'h3': 19,
|
114
114
|
'h4': 18,
|
@@ -116,22 +116,22 @@ $header-sizes: (
|
|
116
116
|
'h6': 16,
|
117
117
|
),
|
118
118
|
medium: (
|
119
|
-
'h1':
|
120
|
-
'h2':
|
121
|
-
'h3':
|
122
|
-
'h4':
|
123
|
-
'h5':
|
124
|
-
'h6':
|
119
|
+
'h1': 20,
|
120
|
+
'h2': 20,
|
121
|
+
'h3': 18,
|
122
|
+
'h4': 16,
|
123
|
+
'h5': 14,
|
124
|
+
'h6': 12,
|
125
125
|
),
|
126
126
|
);
|
127
127
|
$header-color: inherit;
|
128
|
-
$header-lineheight: 1.
|
129
|
-
$header-margin-bottom: 0
|
128
|
+
$header-lineheight: 1.5;
|
129
|
+
$header-margin-bottom: 0;
|
130
130
|
$header-text-rendering: optimizeLegibility;
|
131
131
|
$small-font-size: 80%;
|
132
132
|
$header-small-font-color: $medium-gray;
|
133
|
-
$paragraph-lineheight: 1.
|
134
|
-
$paragraph-margin-bottom:
|
133
|
+
$paragraph-lineheight: 1.5;
|
134
|
+
$paragraph-margin-bottom: $base-margin;
|
135
135
|
$paragraph-text-rendering: optimizeLegibility;
|
136
136
|
$code-color: $black;
|
137
137
|
$code-font-family: $font-family-monospace;
|
@@ -139,18 +139,18 @@ $code-font-weight: $global-weight-normal;
|
|
139
139
|
$code-background: $light-gray;
|
140
140
|
$code-border: 1px solid $medium-gray;
|
141
141
|
$code-padding: rem-calc(2 5 1);
|
142
|
-
$anchor-color: $
|
143
|
-
$anchor-color-hover: scale-color($anchor-color, $lightness:
|
142
|
+
$anchor-color: $cerulean;
|
143
|
+
$anchor-color-hover: scale-color($anchor-color, $lightness: 24%);
|
144
144
|
$anchor-text-decoration: none;
|
145
|
-
$anchor-text-decoration-hover:
|
146
|
-
$hr-width: $
|
147
|
-
$hr-border:
|
148
|
-
$hr-margin:
|
145
|
+
$anchor-text-decoration-hover: underline;
|
146
|
+
$hr-width: $grid-row-width;
|
147
|
+
$hr-border: 2px solid $stone;
|
148
|
+
$hr-margin: $base-margin auto;
|
149
149
|
$list-lineheight: $paragraph-lineheight;
|
150
150
|
$list-margin-bottom: $paragraph-margin-bottom;
|
151
151
|
$list-style-type: disc;
|
152
|
-
$list-style-position:
|
153
|
-
$list-side-margin:
|
152
|
+
$list-style-position: inside;
|
153
|
+
$list-side-margin: 0;
|
154
154
|
$list-nested-side-margin: 1.25rem;
|
155
155
|
$defnlist-margin-bottom: 1rem;
|
156
156
|
$defnlist-term-weight: $global-weight-bold;
|
@@ -199,8 +199,8 @@ $accordion-item-color: foreground($accordion-background, $primary-color);
|
|
199
199
|
$accordion-item-background-hover: $brand-blue-light;
|
200
200
|
$accordion-item-padding: 1.25rem 1rem;
|
201
201
|
$accordion-content-background: $white;
|
202
|
-
$accordion-content-border:
|
203
|
-
$accordion-content-color:
|
202
|
+
$accordion-content-border: 0;
|
203
|
+
$accordion-content-color: $body-font-color;
|
204
204
|
$accordion-content-padding: 1rem;
|
205
205
|
|
206
206
|
// 8. Accordion Menu
|
@@ -221,13 +221,13 @@ $badge-font-size: 0.6rem;
|
|
221
221
|
// 10. Breadcrumbs
|
222
222
|
// ---------------
|
223
223
|
|
224
|
-
$breadcrumbs-margin: 0 0 $
|
225
|
-
$breadcrumbs-item-font-size: rem-calc(
|
226
|
-
$breadcrumbs-item-color: $
|
227
|
-
$breadcrumbs-item-color-current: $
|
228
|
-
$breadcrumbs-item-color-disabled: $
|
224
|
+
$breadcrumbs-margin: 0 0 $base-margin 0;
|
225
|
+
$breadcrumbs-item-font-size: rem-calc(12);
|
226
|
+
$breadcrumbs-item-color: $cerulean;
|
227
|
+
$breadcrumbs-item-color-current: $stormcloud;
|
228
|
+
$breadcrumbs-item-color-disabled: $stormcloud;
|
229
229
|
$breadcrumbs-item-margin: 0.75rem;
|
230
|
-
$breadcrumbs-item-uppercase:
|
230
|
+
$breadcrumbs-item-uppercase: false;
|
231
231
|
$breadcrumbs-item-slash: true;
|
232
232
|
|
233
233
|
// 11. Button
|
@@ -236,15 +236,15 @@ $breadcrumbs-item-slash: true;
|
|
236
236
|
$button-padding: 1em 1.75em;
|
237
237
|
$button-margin: 0 0 $global-margin 0;
|
238
238
|
$button-fill: solid;
|
239
|
-
$button-background: $
|
239
|
+
$button-background: $cerulean;
|
240
240
|
$button-background-hover: scale-color($button-background, $lightness: -15%);
|
241
241
|
$button-color: $white;
|
242
242
|
$button-color-alt: $black;
|
243
243
|
$button-radius: $global-radius;
|
244
244
|
$button-sizes: (
|
245
245
|
tiny: 0.6rem,
|
246
|
-
small: 0.
|
247
|
-
default:
|
246
|
+
small: 0.85rem,
|
247
|
+
default: 1rem,
|
248
248
|
large: 1.25rem,
|
249
249
|
);
|
250
250
|
$button-opacity-disabled: 0.25;
|
@@ -261,10 +261,10 @@ $buttongroup-expand-max: 6;
|
|
261
261
|
// -----------
|
262
262
|
|
263
263
|
$callout-background: $white;
|
264
|
-
$callout-background-fade:
|
265
|
-
$callout-border:
|
264
|
+
$callout-background-fade: 0%;
|
265
|
+
$callout-border: 0;
|
266
266
|
$callout-margin: 0 0 1rem 0;
|
267
|
-
$callout-padding:
|
267
|
+
$callout-padding: $base-padding;
|
268
268
|
$callout-font-color: $body-font-color;
|
269
269
|
$callout-font-color-alt: $body-background;
|
270
270
|
$callout-radius: 0;
|
@@ -309,7 +309,7 @@ $dropdown-sizes: (
|
|
309
309
|
$dropdownmenu-arrows: true;
|
310
310
|
$dropdownmenu-arrow-color: $anchor-color;
|
311
311
|
$dropdownmenu-min-width: 200px;
|
312
|
-
$dropdownmenu-background:
|
312
|
+
$dropdownmenu-background: none;
|
313
313
|
$dropdownmenu-border: 1px solid $medium-gray;
|
314
314
|
|
315
315
|
// 18. Flex Video
|
@@ -326,7 +326,7 @@ $fieldset-border: none;
|
|
326
326
|
$fieldset-padding: none;
|
327
327
|
$fieldset-margin: none;
|
328
328
|
$legend-padding: rem-calc(0 3);
|
329
|
-
$form-spacing:
|
329
|
+
$form-spacing: 1.25rem;
|
330
330
|
$helptext-color: $black;
|
331
331
|
$helptext-font-size: rem-calc(13);
|
332
332
|
$helptext-font-style: italic;
|
@@ -334,7 +334,7 @@ $input-prefix-color: $black;
|
|
334
334
|
$input-prefix-background: $light-gray;
|
335
335
|
$input-prefix-border: 1px solid $medium-gray;
|
336
336
|
$input-prefix-padding: 1rem;
|
337
|
-
$form-label-color: $
|
337
|
+
$form-label-color: $slate;
|
338
338
|
$form-label-font-size: rem-calc(14);
|
339
339
|
$form-label-font-weight: $global-weight-normal;
|
340
340
|
$form-label-line-height: 1.8;
|
@@ -342,16 +342,16 @@ $select-background: $white;
|
|
342
342
|
$select-triangle-color: $dark-gray;
|
343
343
|
$select-radius: 0;
|
344
344
|
$input-color: $black;
|
345
|
-
$input-placeholder-color: $
|
345
|
+
$input-placeholder-color: $smoke;
|
346
346
|
$input-font-family: inherit;
|
347
|
-
$input-font-size: rem-calc(
|
347
|
+
$input-font-size: rem-calc(14);
|
348
348
|
$input-background: $white;
|
349
349
|
$input-background-focus: $white;
|
350
350
|
$input-background-disabled: $light-gray;
|
351
|
-
$input-border:
|
352
|
-
$input-border-focus:
|
353
|
-
$input-shadow: inset 0
|
354
|
-
$input-shadow-focus: 0 0
|
351
|
+
$input-border: 2px solid #e5e5e5;
|
352
|
+
$input-border-focus: 2px solid $ocean;
|
353
|
+
$input-shadow: inset 0 0px 0px rgba($black, 0.1);
|
354
|
+
$input-shadow-focus: 0 0 0px $medium-gray;
|
355
355
|
$input-cursor-disabled: default;
|
356
356
|
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
|
357
357
|
$input-number-spinners: true;
|
@@ -379,7 +379,7 @@ $mediaobject-image-width-stacked: 100%;
|
|
379
379
|
$menu-margin: 0;
|
380
380
|
$menu-margin-nested: 1rem;
|
381
381
|
$menu-item-padding: 1.2rem 1rem;
|
382
|
-
$menu-item-color-active: $
|
382
|
+
$menu-item-color-active: $cerulean;
|
383
383
|
$menu-item-background-active: map-get($foundation-palette, primary);
|
384
384
|
$menu-icon-spacing: 0.25rem;
|
385
385
|
|
@@ -397,14 +397,14 @@ $meter-fill-bad: $alert-color;
|
|
397
397
|
// --------------
|
398
398
|
|
399
399
|
$offcanvas-size: 250px;
|
400
|
-
$offcanvas-background: $
|
400
|
+
$offcanvas-background: $white;
|
401
401
|
$offcanvas-zindex: -1;
|
402
402
|
$offcanvas-transition-length: 0.5s;
|
403
403
|
$offcanvas-transition-timing: ease;
|
404
404
|
$offcanvas-fixed-reveal: true;
|
405
|
-
$offcanvas-exit-background:
|
405
|
+
$offcanvas-exit-background: none;
|
406
406
|
$maincontent-class: 'off-canvas-content';
|
407
|
-
$maincontent-shadow:
|
407
|
+
$maincontent-shadow: none;
|
408
408
|
|
409
409
|
// 25. Orbit
|
410
410
|
// ---------
|
@@ -510,14 +510,14 @@ $show-header-for-stacked: false;
|
|
510
510
|
// --------
|
511
511
|
|
512
512
|
$tab-margin: 0;
|
513
|
-
$tab-background: $
|
514
|
-
$tab-background-active: $
|
513
|
+
$tab-background: $stone;
|
514
|
+
$tab-background-active: lighten($button-background, 10%);
|
515
515
|
$tab-item-font-size: $base-font-size;
|
516
|
-
$tab-item-background-hover: $
|
516
|
+
$tab-item-background-hover: lighten($button-background, 10%);
|
517
517
|
$tab-item-padding: 0;
|
518
518
|
$tab-expand-max: 6;
|
519
519
|
$tab-content-background: $white;
|
520
|
-
$tab-content-border:
|
520
|
+
$tab-content-border: none;
|
521
521
|
$tab-content-color: foreground($tab-background, $primary-color);
|
522
522
|
$tab-content-padding: 0;
|
523
523
|
|
@@ -534,13 +534,13 @@ $thumbnail-radius: $global-radius;
|
|
534
534
|
// 34. Title Bar
|
535
535
|
// -------------
|
536
536
|
|
537
|
-
$titlebar-background: $
|
538
|
-
$titlebar-color: $
|
539
|
-
$titlebar-padding: 0
|
537
|
+
$titlebar-background: $white;
|
538
|
+
$titlebar-color: $cerulean;
|
539
|
+
$titlebar-padding: 0;
|
540
540
|
$titlebar-text-font-weight: bold;
|
541
|
-
$titlebar-icon-color: $
|
541
|
+
$titlebar-icon-color: $cerulean;
|
542
542
|
$titlebar-icon-color-hover: $medium-gray;
|
543
|
-
$titlebar-icon-spacing: 0
|
543
|
+
$titlebar-icon-spacing: 0;
|
544
544
|
|
545
545
|
// 35. Tooltip
|
546
546
|
// -----------
|
@@ -559,8 +559,8 @@ $tooltip-radius: $global-radius;
|
|
559
559
|
// -----------
|
560
560
|
|
561
561
|
$topbar-padding: 0;
|
562
|
-
$topbar-background:
|
563
|
-
$topbar-submenu-background:
|
562
|
+
$topbar-background: none;
|
563
|
+
$topbar-submenu-background: none;
|
564
564
|
$topbar-title-spacing: 1rem;
|
565
565
|
$topbar-input-width: 200px;
|
566
566
|
$topbar-unstack-breakpoint: medium;
|
@@ -3,12 +3,6 @@
|
|
3
3
|
@import 'settings';
|
4
4
|
@import 'foundation';
|
5
5
|
|
6
|
-
// If you'd like to include motion-ui the foundation-rails gem comes prepackaged with it, uncomment the 3 @imports, if you are not using the gem you need to install the motion-ui sass package.
|
7
|
-
//
|
8
|
-
// @import 'motion-ui/motion-ui';
|
9
|
-
|
10
|
-
// We include everything by default. To slim your CSS, remove components you don't use.
|
11
|
-
|
12
6
|
@include foundation-global-styles;
|
13
7
|
@include foundation-grid;
|
14
8
|
@include foundation-typography;
|
@@ -17,35 +11,18 @@
|
|
17
11
|
@include foundation-visibility-classes;
|
18
12
|
@include foundation-float-classes;
|
19
13
|
@include foundation-accordion;
|
20
|
-
@include foundation-accordion-menu;
|
21
|
-
@include foundation-badge;
|
22
14
|
@include foundation-breadcrumbs;
|
23
|
-
@include foundation-button-group;
|
24
15
|
@include foundation-callout;
|
25
16
|
@include foundation-close-button;
|
26
17
|
@include foundation-drilldown-menu;
|
27
18
|
@include foundation-dropdown;
|
28
19
|
@include foundation-dropdown-menu;
|
29
|
-
@include foundation-flex-video;
|
30
|
-
@include foundation-label;
|
31
|
-
@include foundation-media-object;
|
32
20
|
@include foundation-menu;
|
33
21
|
@include foundation-off-canvas;
|
34
|
-
@include foundation-orbit;
|
35
|
-
@include foundation-pagination;
|
36
|
-
@include foundation-progress-bar;
|
37
|
-
@include foundation-slider;
|
38
|
-
@include foundation-sticky;
|
39
22
|
@include foundation-reveal;
|
40
|
-
@include foundation-switch;
|
41
23
|
@include foundation-table;
|
42
24
|
@include foundation-tabs;
|
43
|
-
@include foundation-
|
25
|
+
@include foundation-reveal;
|
44
26
|
@include foundation-title-bar;
|
45
27
|
@include foundation-tooltip;
|
46
28
|
@include foundation-top-bar;
|
47
|
-
|
48
|
-
// If you'd like to include motion-ui the foundation-rails gem comes prepackaged with it, uncomment the 3 @imports, if you are not using the gem you need to install the motion-ui sass package.
|
49
|
-
//
|
50
|
-
// @include motion-ui-transitions;
|
51
|
-
// @include motion-ui-animations;
|