test-kitchen 1.23.2 → 1.23.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +7 -0
  3. data/.gitmodules +0 -0
  4. data/.travis.yml +0 -4
  5. data/CHANGELOG.md +40 -0
  6. data/MAINTAINERS.md +2 -1
  7. data/Rakefile +9 -0
  8. data/docs/CONTRIBUTING.md +8 -0
  9. data/docs/LICENSE +22 -0
  10. data/docs/README.md +78 -0
  11. data/docs/archetypes/default.md +6 -0
  12. data/docs/config.toml +36 -0
  13. data/docs/content/docs/_index.md +5 -0
  14. data/docs/content/docs/drivers/_index.md +27 -0
  15. data/docs/content/docs/drivers/azurerm.md +44 -0
  16. data/docs/content/docs/drivers/vagrant.md +39 -0
  17. data/docs/content/docs/getting-started/00-introduction.md +14 -0
  18. data/docs/content/docs/getting-started/01-installing.md +64 -0
  19. data/docs/content/docs/getting-started/02-getting-help.md +59 -0
  20. data/docs/content/docs/getting-started/03-creating-cookbook.md +46 -0
  21. data/docs/content/docs/getting-started/04-kitchen-yml.md +56 -0
  22. data/docs/content/docs/getting-started/05-instances.md +79 -0
  23. data/docs/content/docs/getting-started/06-writing-recipe.md +21 -0
  24. data/docs/content/docs/getting-started/07-running-converge.md +134 -0
  25. data/docs/content/docs/getting-started/08-manually-verifying.md +55 -0
  26. data/docs/content/docs/getting-started/09-writing-test.md +49 -0
  27. data/docs/content/docs/getting-started/10-running-verify.md +120 -0
  28. data/docs/content/docs/getting-started/11-running-test.md +168 -0
  29. data/docs/content/docs/getting-started/12-adding-platform.md +206 -0
  30. data/docs/content/docs/getting-started/13-adding-feature.md +30 -0
  31. data/docs/content/docs/getting-started/14-adding-suite.md +60 -0
  32. data/docs/content/docs/getting-started/15-adding-test.md +66 -0
  33. data/docs/content/docs/getting-started/16-adding-recipe.md +53 -0
  34. data/docs/content/docs/getting-started/17-excluding-platforms.md +101 -0
  35. data/docs/content/docs/getting-started/18-next-steps.md +23 -0
  36. data/docs/content/docs/getting-started/_index.md +5 -0
  37. data/docs/content/docs/provisioners/_index.md +36 -0
  38. data/docs/content/docs/provisioners/chef.md +69 -0
  39. data/docs/content/docs/provisioners/shell.md +31 -0
  40. data/docs/content/docs/reference/_index.md +5 -0
  41. data/docs/content/docs/reference/configuration.md +53 -0
  42. data/docs/content/docs/reference/examples.md +97 -0
  43. data/docs/content/docs/reference/faq.md +58 -0
  44. data/docs/content/docs/reference/fixtures.md +32 -0
  45. data/docs/content/docs/reference/glossary.md +34 -0
  46. data/docs/content/docs/reference/lifecycle-hooks.md +68 -0
  47. data/docs/content/docs/reference/reboots.md +24 -0
  48. data/docs/content/docs/verifiers/_index.md +14 -0
  49. data/docs/content/docs/verifiers/inspec.md +44 -0
  50. data/docs/content/docs/verifiers/serverspec.md +20 -0
  51. data/docs/static/images/chef-logo.png +0 -0
  52. data/docs/static/images/chef-logo.svg +1 -0
  53. data/docs/static/images/github-banner.png +0 -0
  54. data/docs/static/images/github-banner.svg +71 -0
  55. data/docs/static/images/kitchen-logo.png +0 -0
  56. data/docs/static/images/logo-block.svg +222 -0
  57. data/docs/static/images/logo.png +0 -0
  58. data/docs/static/images/logos-group.png +0 -0
  59. data/docs/static/images/terminal-1.png +0 -0
  60. data/docs/static/images/terminal-1.svg +589 -0
  61. data/docs/static/images/terminal-2.png +0 -0
  62. data/docs/static/images/terminal-2.svg +235 -0
  63. data/docs/static/images/terminal-3.png +0 -0
  64. data/docs/static/images/terminal-3.svg +439 -0
  65. data/docs/static/index.html +59 -0
  66. data/docs/static/javascripts/all.js +348 -0
  67. data/docs/static/javascripts/vendor/foundation.min.js +4 -0
  68. data/docs/static/javascripts/vendor/jquery.min.js +5 -0
  69. data/docs/static/javascripts/vendor/what-input.js +336 -0
  70. data/docs/static/stylesheets/site.css +4667 -0
  71. data/docs/themes/kitchen/layouts/_default/baseof.html +53 -0
  72. data/docs/themes/kitchen/layouts/_default/list.html +4 -0
  73. data/docs/themes/kitchen/layouts/_default/redirect.html +10 -0
  74. data/docs/themes/kitchen/layouts/_default/single.html +6 -0
  75. data/docs/themes/kitchen/layouts/partials/core/head.html +6 -0
  76. data/docs/themes/kitchen/layouts/partials/kitchen/footer.html +18 -0
  77. data/docs/themes/kitchen/layouts/partials/kitchen/head.html +4 -0
  78. data/docs/themes/kitchen/layouts/partials/kitchen/header.html +26 -0
  79. data/docs/themes/kitchen/layouts/partials/search-docs.html +3 -0
  80. data/docs/themes/kitchen/layouts/partials/sidebar.html +33 -0
  81. data/docs/themes/kitchen/layouts/shortcodes/button.html +1 -0
  82. data/docs/themes/kitchen/layouts/shortcodes/codeblock.html +8 -0
  83. data/docs/themes/kitchen/layouts/shortcodes/cta.html +5 -0
  84. data/docs/themes/kitchen/layouts/shortcodes/danger.html +1 -0
  85. data/docs/themes/kitchen/layouts/shortcodes/example_fqdn.html +1 -0
  86. data/docs/themes/kitchen/layouts/shortcodes/info.html +1 -0
  87. data/docs/themes/kitchen/layouts/shortcodes/ol-styled.html +3 -0
  88. data/docs/themes/kitchen/layouts/shortcodes/success.html +1 -0
  89. data/docs/themes/kitchen/layouts/shortcodes/tip.html +1 -0
  90. data/docs/themes/kitchen/layouts/shortcodes/warning.html +1 -0
  91. data/docs/themes/kitchen/static/css/kitchen.css +10 -0
  92. data/docs/themes/kitchen/static/css/kitchen.css.map +7 -0
  93. data/docs/themes/kitchen/static/fonts/Muli-Bold.ttf +0 -0
  94. data/docs/themes/kitchen/static/fonts/Muli-Regular.ttf +0 -0
  95. data/docs/themes/kitchen/static/fonts/Muli-SemiBold.ttf +0 -0
  96. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.eot +0 -0
  97. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.svg +1104 -0
  98. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.ttf +0 -0
  99. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.woff +0 -0
  100. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.woff2 +0 -0
  101. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.eot +0 -0
  102. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.svg +372 -0
  103. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.ttf +0 -0
  104. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.woff +0 -0
  105. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.woff2 +0 -0
  106. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.eot +0 -0
  107. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.svg +1896 -0
  108. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.ttf +0 -0
  109. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.woff +0 -0
  110. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.woff2 +0 -0
  111. data/docs/themes/kitchen/static/images/chef-logo-light.svg +36 -0
  112. data/docs/themes/kitchen/static/images/chef-logo-white.svg +38 -0
  113. data/docs/themes/kitchen/static/images/chef-logo.svg +37 -0
  114. data/docs/themes/kitchen/static/images/favicon.ico +0 -0
  115. data/docs/themes/kitchen/static/js/scripts-all.js +7 -0
  116. data/docs/themes/kitchen/static/js/source/chef-hugo.js +116 -0
  117. data/docs/themes/kitchen/static/js/source/omnitruck.js +82 -0
  118. data/docs/themes/kitchen/static/js/source/segment.js +52 -0
  119. data/docs/themes/kitchen/static/sass/_buttons.scss +161 -0
  120. data/docs/themes/kitchen/static/sass/_core.scss +24 -0
  121. data/docs/themes/kitchen/static/sass/_forms.scss +14 -0
  122. data/docs/themes/kitchen/static/sass/_mixins.scss +133 -0
  123. data/docs/themes/kitchen/static/sass/_typography.scss +34 -0
  124. data/docs/themes/kitchen/static/sass/_variables.scss +82 -0
  125. data/docs/themes/kitchen/static/sass/kitchen.scss +7 -0
  126. data/docs/themes/kitchen/static/sass/kitchen/_footer.scss +50 -0
  127. data/docs/themes/kitchen/static/sass/kitchen/_header.scss +187 -0
  128. data/docs/themes/kitchen/static/sass/kitchen/_homepage.scss +27 -0
  129. data/docs/themes/kitchen/static/sass/kitchen/_utility-bar.scss +173 -0
  130. data/docs/themes/kitchen/static/sass/partials/_alerts.scss +32 -0
  131. data/docs/themes/kitchen/static/sass/partials/_bg.scss +19 -0
  132. data/docs/themes/kitchen/static/sass/partials/_blurbs.scss +25 -0
  133. data/docs/themes/kitchen/static/sass/partials/_callout.scss +15 -0
  134. data/docs/themes/kitchen/static/sass/partials/_cards.scss +54 -0
  135. data/docs/themes/kitchen/static/sass/partials/_dropdown.scss +77 -0
  136. data/docs/themes/kitchen/static/sass/partials/_grid.scss +87 -0
  137. data/docs/themes/kitchen/static/sass/partials/_padding.scss +73 -0
  138. data/docs/themes/kitchen/static/sass/partials/_sidebar.scss +71 -0
  139. data/docs/themes/kitchen/static/sass/partials/_tabs.scss +125 -0
  140. data/docs/themes/kitchen/static/sass/typography/_chroma.scss +366 -0
  141. data/docs/themes/kitchen/static/sass/typography/_code.scss +72 -0
  142. data/docs/themes/kitchen/static/sass/typography/_headers.scss +90 -0
  143. data/docs/themes/kitchen/static/sass/typography/_links.scss +127 -0
  144. data/docs/themes/kitchen/static/sass/typography/_lists.scss +155 -0
  145. data/docs/themes/kitchen/static/sass/typography/_prose.scss +29 -0
  146. data/docs/themes/kitchen/static/sass/typography/_text.scss +221 -0
  147. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_animated.scss +20 -0
  148. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_bordered-pulled.scss +20 -0
  149. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_core.scss +16 -0
  150. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_fixed-width.scss +6 -0
  151. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_icons.scss +992 -0
  152. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_larger.scss +23 -0
  153. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_list.scss +18 -0
  154. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_mixins.scss +57 -0
  155. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_rotated-flipped.scss +23 -0
  156. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_screen-reader.scss +5 -0
  157. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_stacked.scss +31 -0
  158. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_variables.scss +1005 -0
  159. data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-brands.scss +21 -0
  160. data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-regular.scss +22 -0
  161. data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-solid.scss +23 -0
  162. data/docs/themes/kitchen/static/sass/vendor/fontawesome/fontawesome.scss +16 -0
  163. data/docs/themes/kitchen/theme.toml +8 -0
  164. data/lib/kitchen/provisioner/chef_base.rb +6 -6
  165. data/lib/kitchen/transport/ssh.rb +2 -2
  166. data/lib/kitchen/transport/winrm.rb +32 -9
  167. data/lib/kitchen/version.rb +1 -1
  168. data/spec/kitchen/data_munger_spec.rb +13 -13
  169. data/spec/kitchen/driver/exec_spec.rb +1 -1
  170. data/spec/kitchen/lifecycle_hooks_spec.rb +6 -6
  171. data/spec/kitchen/provisioner/chef_base_spec.rb +26 -26
  172. data/spec/kitchen/transport/winrm_spec.rb +46 -10
  173. metadata +160 -3
@@ -0,0 +1,24 @@
1
+
2
+ @import "variables";
3
+ @import "foundation";
4
+ @include foundation-everything;
5
+
6
+ @import "mixins";
7
+ @import "typography";
8
+ @import "buttons";
9
+ @import "forms";
10
+
11
+ body {
12
+ @include font-smoothing();
13
+ @include base-type();
14
+ }
15
+
16
+ @import "partials/alerts";
17
+ @import "partials/grid";
18
+ @import "partials/bg";
19
+ @import "partials/cards";
20
+ @import "partials/callout";
21
+ @import "partials/padding";
22
+ @import "partials/sidebar";
23
+ @import "partials/tabs";
24
+ @import "partials/blurbs";
@@ -0,0 +1,14 @@
1
+ input[type=text] {
2
+ padding: rem-calc(8 16);
3
+ color: $input-color;
4
+ border-radius: $border-radius-base;
5
+
6
+ &:focus {
7
+ border: 1px solid $lightgray;
8
+ box-shadow: 0 0 16px $ash;
9
+ }
10
+
11
+ &::placeholder {
12
+ color: $input-placeholder-color;
13
+ }
14
+ }
@@ -0,0 +1,133 @@
1
+ @import 'util/mixins';
2
+
3
+ // Font smoothing mixin
4
+ @mixin font-smoothing() {
5
+ -webkit-font-smoothing: antialiased;
6
+ -moz-osx-font-smoothing: grayscale;
7
+ text-rendering: optimizeLegibility;
8
+ }
9
+
10
+
11
+ //font calling
12
+ @mixin muli($weight:null){
13
+ font-family: 'Muli', sans-serif;
14
+
15
+ @if($weight){
16
+ font-weight: $weight;
17
+ }
18
+ }
19
+
20
+ //base typography
21
+ @mixin base-type(){
22
+ @include muli();
23
+ font-size: 16px;
24
+ line-height: 1.75;
25
+ font-weight: normal;
26
+ letter-spacing: 0.5px;
27
+ }
28
+
29
+ //animation
30
+ @mixin transition($speed:0.15s) {
31
+ transition: all $speed ease-in-out;
32
+ }
33
+
34
+ //button
35
+ @mixin button() {
36
+ box-sizing: border-box;
37
+ margin: 0;
38
+ padding: 0;
39
+ border: none;
40
+ border-radius: $border-radius-base;
41
+ outline: none;
42
+ background: none;
43
+ text-decoration: none;
44
+
45
+ @include muli();
46
+ @include transition();
47
+
48
+ font-size: 16px;
49
+ line-height: 1.6;
50
+ color: $charcoal;
51
+ font-weight: 700;
52
+ padding: 11px 36px;
53
+ background-color: $orange;
54
+ display: inline-block;
55
+ text-align: center;
56
+
57
+ body:not(.touch-device) & {
58
+ &:hover {
59
+ text-decoration: none;
60
+ color: $charcoal;
61
+ background-color: $orange-lighter;
62
+ }
63
+ }
64
+
65
+
66
+ &:visited {
67
+ color: $charcoal;
68
+ }
69
+
70
+ &:active, &:focus {
71
+ outline: none;
72
+ text-decoration: none;
73
+ }
74
+ }
75
+
76
+ //bg cover
77
+ @mixin bg-cover() {
78
+ background-position: center center;
79
+ background-size: cover;
80
+ background-repeat: no-repeat;
81
+ }
82
+
83
+ // fluid font size for shrinking fonts
84
+ @function strip-unit($value) {
85
+ @return $value / ($value * 0 + 1);
86
+ }
87
+
88
+ //gradients
89
+ @mixin gradient($left, $right, $dir:""){
90
+ @if($dir != ""){
91
+ background: linear-gradient($dir, $left, $right);
92
+ }
93
+ @else {
94
+ background: linear-gradient(to right, $left, $right);
95
+ }
96
+
97
+ }
98
+
99
+ @mixin fas() {
100
+ font-family: "Font Awesome 5 Solid";
101
+ }
102
+
103
+ @mixin transform($v){
104
+ -ms-transform: ($v);
105
+ -moz-transform: ($v);
106
+ -webkit-transform: ($v);
107
+ transform: ($v);
108
+ }
109
+
110
+ @mixin transform-origin($x){
111
+ -moz-transform-origin: $x;
112
+ -ms-transform-origin: $x;
113
+ -webkit-transform-origin: $x;
114
+ transform-origin: $x;
115
+ }
116
+
117
+ @mixin reset-ul(){
118
+ margin: 0;
119
+ padding: 0;
120
+
121
+ li {
122
+ padding: 0;
123
+ margin: 0;
124
+
125
+ &:before {
126
+ display: none;
127
+ }
128
+ }
129
+ }
130
+
131
+ @mixin box-shadow(){
132
+ box-shadow: 0 8px 24px 0 rgba(0,0,0,0.08);
133
+ }
@@ -0,0 +1,34 @@
1
+ $regular: 400;
2
+ $semibold: 600;
3
+ $bold: 700;
4
+ $extrabold: 800;
5
+
6
+ @font-face {
7
+ font-family: 'Muli';
8
+ font-weight: $regular;
9
+ src: url('/fonts/Muli-Regular.ttf');
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'Muli';
14
+ font-weight: $semibold;
15
+ src: url('/fonts/Muli-SemiBold.ttf');
16
+ }
17
+
18
+ @font-face {
19
+ font-family: 'Muli';
20
+ font-weight: $bold;
21
+ src: url('/fonts/Muli-Bold.ttf');
22
+ }
23
+
24
+ @import "vendor/fontawesome/fontawesome.scss";
25
+ @import "vendor/fontawesome/fa-solid.scss";
26
+ @import "vendor/fontawesome/fa-brands.scss";
27
+
28
+ @import "typography/code";
29
+ @import "typography/headers";
30
+ @import "typography/links";
31
+ @import "typography/lists";
32
+ @import "typography/prose";
33
+ @import "typography/text";
34
+
@@ -0,0 +1,82 @@
1
+ // Foundation overrides
2
+ // https://raw.githubusercontent.com/zurb/foundation-sites/master/scss/settings/_settings.scss
3
+
4
+ // TODO: Pull these colors into Sass variables.
5
+
6
+ $charcoal: #424242;
7
+ $blue: #92C1E9;
8
+ $blue-darker: #2a7ab0;
9
+ $orange: #EF9600;
10
+ $orange-lighter: #f9a51d;
11
+ $orange-darker: #e58e00;
12
+ $lightgray: #BABDBE;
13
+ $sidebargray: #f4f5f7;
14
+ $ash: #ECEFF1;
15
+ $slate: #243541;
16
+ $slate-light: #627b8f;
17
+ $footer-text: #f3f6f8;
18
+ $white: #FFFFFF;
19
+
20
+ $fa-font-path: "/fonts/fontawesome";
21
+ $font-family-monospace: "Consolas","Inconsolata","Menlo","Monaco","Courier New","monospace";
22
+
23
+ $grid-container-max: rem-calc(1400);
24
+ $body-font-color: #424242;
25
+ $body-font-family: Muli, sans-serif;
26
+ $border-radius-base: 4px;
27
+ $topbar-background: #fff;
28
+ $code-border: transparent;
29
+ $code-background: rgba(237, 237, 237, 0.5);
30
+ $code-font-weight: 300;
31
+ $menu-item-color-active:#424242;
32
+ $menu-item-background-active: #e0e1e5;
33
+ $accordionmenu-arrow-color: #898a8d;
34
+ $input-border: 1px solid #eceff1;
35
+ $input-color: $body-font-color;
36
+ $input-placeholder-color: rgba($input-color, 0.5);
37
+ $input-font-size: .94rem;
38
+ $input-shadow: none;
39
+ $dropdown-background: $charcoal;
40
+ $offcanvas-background: $white;
41
+ $tab-content-padding: 0;
42
+
43
+ $callout-font-color: $body-font-color;
44
+ $callout-radius: $border-radius-base;
45
+ $callout-padding: .5rem 1rem;
46
+ $callout-margin: .5rem 0 1rem 0;
47
+ $info-color: $blue-darker;
48
+
49
+ $foundation-palette: (
50
+ primary: $blue-darker,
51
+ secondary: #767676,
52
+ success: #3adb76,
53
+ warning: #ffae00,
54
+ alert: #cc4b37,
55
+ );
56
+
57
+ $breakpoints: (
58
+ small: 0px,
59
+ medium: 768px,
60
+ large: 991px,
61
+ xlarge: 1200px,
62
+ xxlarge: 1440px,
63
+ );
64
+
65
+ $header-styles: (
66
+ 'small': (
67
+ 'h1': ('font-size': 24),
68
+ 'h2': ('font-size': 20),
69
+ 'h3': ('font-size': 18),
70
+ 'h4': ('font-size': 16),
71
+ 'h5': ('font-size': 14),
72
+ 'h6': ('font-size': 14),
73
+ ),
74
+ 'medium': (
75
+ 'h1': ('font-size': 36),
76
+ 'h2': ('font-size': 32),
77
+ 'h3': ('font-size': 24),
78
+ 'h4': ('font-size': 18),
79
+ 'h5': ('font-size': 16),
80
+ 'h6': ('font-size': 16),
81
+ )
82
+ );
@@ -0,0 +1,7 @@
1
+ @charset "utf-8";
2
+
3
+ @import "core";
4
+
5
+ @import "kitchen/header";
6
+ @import "kitchen/footer";
7
+ @import "kitchen/homepage";
@@ -0,0 +1,50 @@
1
+ nav > footer {
2
+ background-color: $body-font-color;
3
+ padding: rem-calc(32px 0px);
4
+
5
+ .logo {
6
+ margin-left: rem-calc(16);
7
+
8
+ img {
9
+ width: 100px;
10
+ }
11
+
12
+ a {
13
+ opacity: 1;
14
+ padding-left: 0;
15
+
16
+ &:hover {
17
+ opacity: 1;
18
+ }
19
+ }
20
+ }
21
+
22
+ .legal {
23
+ color: $footer-text;
24
+ opacity: 0.4;
25
+ font-size: 12px;
26
+ line-height: 1.4;
27
+ margin: rem-calc(16) 0 0 rem-calc(16);
28
+ }
29
+
30
+ .menu {
31
+ margin-top: rem-calc(32);
32
+
33
+ li {
34
+ font-size: 14px;
35
+
36
+ a {
37
+ color: $footer-text;
38
+ opacity: 0.7;
39
+
40
+ &:last-child {
41
+ padding-right: 0px;
42
+ }
43
+
44
+ &:hover {
45
+ opacity: 1;
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,187 @@
1
+ nav {
2
+
3
+ &.is-stuck {
4
+ // Make sure sticky nav is above all other elements on the page
5
+ z-index: 20 !important;
6
+
7
+ @include transition();
8
+
9
+ header {
10
+ border-bottom: 1px solid $ash;
11
+
12
+ #header-logo {
13
+
14
+ img {
15
+ @include transition();
16
+ padding: 8px 0;
17
+ width: 90px;
18
+ margin-top: 2px;
19
+ }
20
+ }
21
+
22
+ #header-menu {
23
+ margin-bottom: 0px;
24
+ }
25
+ }
26
+ }
27
+
28
+ header {
29
+ background-color: $white;
30
+
31
+ #header-logo {
32
+ img {
33
+ padding: 24px 0;
34
+ width: 121px;
35
+ }
36
+ }
37
+
38
+ #header-menu {
39
+ margin-bottom: rem-calc(24);
40
+
41
+ .pre {
42
+ font-size: 14px;
43
+ color: $blue;
44
+ margin-right: 5px;
45
+ }
46
+
47
+ ul.menu {
48
+ li {
49
+ text-transform: uppercase;
50
+ }
51
+
52
+ a {
53
+ // Override Foundation Defaults to get the styling we want
54
+ background-color: $white !important;
55
+
56
+ color: $body-font-color;
57
+ font-weight: 700;
58
+ font-size: 15px;
59
+ opacity: 0.7;
60
+ transition: opacity 0.2s;
61
+
62
+ &:hover {
63
+ opacity: 1;
64
+ color: $body-font-color;
65
+ }
66
+ }
67
+ }
68
+
69
+ @include breakpoint(small only) {
70
+ ul.menu {
71
+ margin: 0;
72
+ padding-bottom: rem-calc(16);
73
+ border-bottom: 1px solid $lightgray;
74
+
75
+ li {
76
+ &.active {
77
+ a {
78
+ border-left: 3px solid $blue;
79
+ }
80
+ }
81
+ }
82
+
83
+ a {
84
+ border-left: 3px solid $white;
85
+ }
86
+ }
87
+ }
88
+
89
+ @include breakpoint(medium) {
90
+ ul.menu {
91
+ height: 100%;
92
+ float: right;
93
+ margin: rem-calc(0px 24px 0 32px);
94
+
95
+ li {
96
+ text-transform: uppercase;
97
+ margin-right: rem-calc(30px);
98
+
99
+ &:last-child {
100
+ margin-right: 0px;
101
+ }
102
+
103
+ &.active {
104
+ position: relative;
105
+
106
+ &:after {
107
+ content: "";
108
+ height: 3px;
109
+ width: 100%;
110
+ background-color: $blue;
111
+ position: absolute;
112
+ bottom: 0;
113
+ left: 0;
114
+ }
115
+
116
+ a {
117
+ opacity: 1;
118
+ }
119
+ }
120
+
121
+ a {
122
+ // Override Foundation Defaults to get the styling we want
123
+ top: 50%;
124
+ position: relative;
125
+ transform: translateY(-50%);
126
+ padding: 0 !important;
127
+ }
128
+ }
129
+ }
130
+ }
131
+
132
+ @include breakpoint(large) {
133
+ ul.menu {
134
+ margin: rem-calc(0px 0 0 32px);
135
+ }
136
+ };
137
+ }
138
+
139
+ #header-toggle {
140
+ @include breakpoint(medium) {
141
+ display: none;
142
+ }
143
+
144
+ text-align: center;
145
+
146
+ button {
147
+ color: $charcoal;
148
+ cursor: pointer;
149
+ }
150
+ }
151
+ }
152
+ }
153
+
154
+ .has-sidebar {
155
+ @include breakpoint(medium) {
156
+ header {
157
+ background: $white;
158
+ border-bottom: 1px solid $sidebargray;
159
+ }
160
+
161
+ #header-menu {
162
+ margin-bottom: 0;
163
+ background-color: $white;
164
+
165
+ ul.menu {
166
+ float: right;
167
+
168
+ li a {
169
+ padding: rem-calc(16) 0 rem-calc(24) !important;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ @include breakpoint(large) {
176
+ header {
177
+ background: linear-gradient(90deg, $sidebargray 50%, $white 50%);
178
+ }
179
+
180
+ #header-menu ul.menu {
181
+ float: left;
182
+ }
183
+ }
184
+ }
185
+
186
+
187
+ @import "utility-bar";