blob: 9bbe7e89bfac721885ac5abd6ce11307ad252e3f [file] [log] [blame]
Michael Davisdfad5d52017-07-20 14:53:46 -05001
2$logoHeight: 40px;
Michael Davis51946552017-05-01 10:30:38 -05003$logoMaxHeight: 100px;
4$logoMaxWidth: 125px;
5
6#header__wrapper {
7 position: fixed;
Michael Davisdfad5d52017-07-20 14:53:46 -05008 top:0;
Michael Davis51946552017-05-01 10:30:38 -05009 left: 0;
Michael Davisdfad5d52017-07-20 14:53:46 -050010 right:0;
11 z-index: 100;
Michael Davis51946552017-05-01 10:30:38 -050012}
Michael Davis51946552017-05-01 10:30:38 -050013.app__version {
14 margin-left: 1em;
15 display: none;
16 @include mediaQuery(x-small) {
17 display: inline-block;
18 position: absolute;
19 top: 50%;
20 transform: translateY(-50%);
21 }
22}
Michael Davis51946552017-05-01 10:30:38 -050023header {
24 position: relative;
Michael Davisdfad5d52017-07-20 14:53:46 -050025 background: $black;
Michael Davis51946552017-05-01 10:30:38 -050026 color: $white;
Michael Davisdfad5d52017-07-20 14:53:46 -050027 padding: .8em;
Michael Davis51946552017-05-01 10:30:38 -050028
Michael Davis51946552017-05-01 10:30:38 -050029 .logo__wrapper {
Michael Davisdfad5d52017-07-20 14:53:46 -050030 display: inline-block;
Michael Davis51946552017-05-01 10:30:38 -050031 }
32
33 #header__logo {
34 vertical-align: middle;
Michael Davisdfad5d52017-07-20 14:53:46 -050035 margin-right: 1em;
Michael Davis51946552017-05-01 10:30:38 -050036 float: left;
Michael Davisdfad5d52017-07-20 14:53:46 -050037 height:$logoHeight; //required for <SVG> logos - can remove if using img
Michael Davis51946552017-05-01 10:30:38 -050038 max-height: $logoMaxHeight;
39 max-width: $logoMaxWidth;
40 width: auto;
41 }
Michael Davis51946552017-05-01 10:30:38 -050042
Michael Davis51946552017-05-01 10:30:38 -050043}
44
Michael Davisdfad5d52017-07-20 14:53:46 -050045.header__functions-wrapper {
46 color: $white;
47 background: green;
48 padding: 1em 1.1em;
49 box-sizing: border-box;
50 display: block;
51}