|
@@ -122,47 +122,158 @@ a.button {
|
|
|
min-height: 100vh;
|
|
|
}
|
|
|
|
|
|
-.page-index .BuildBadge { margin-left: -2px !important; }
|
|
|
-.page-inner .BuildBadge { margin-top: 15px; }
|
|
|
-
|
|
|
-.MainLogo {
|
|
|
- display: block;
|
|
|
- margin: 0 auto;
|
|
|
- width: 120px;
|
|
|
+.page-inner .MainContent {
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
+ overflow-x: hidden;
|
|
|
+ padding: 2em 1.4em 0;
|
|
|
|
|
|
@media #{$screen-medium} {
|
|
|
- width: 150px;
|
|
|
+ padding: 0 60px 30px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.MainHeader {
|
|
|
- background-color: $color-white;
|
|
|
- padding: 25px 60px;
|
|
|
- position: relative;
|
|
|
- z-index: 2;
|
|
|
- border-top: 6px solid $color-primary;
|
|
|
+/**
|
|
|
+* MainLogo
|
|
|
+*/
|
|
|
+.MainLogo {
|
|
|
+ display: inline-block;
|
|
|
+ font-size: 1.5em;
|
|
|
+ line-height: $size-headerHeight;
|
|
|
+ color: $color-dark;
|
|
|
+ font-family: $fontFamily-logo;
|
|
|
+ font-weight: 500;
|
|
|
+
|
|
|
+ img {
|
|
|
+ vertical-align: middle;
|
|
|
+ margin-right: 6px;
|
|
|
+ width: $size-headerHeight;
|
|
|
+ height: $size-headerHeight;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- .page-inner .MainHeader {
|
|
|
+ .MainLogo-text {
|
|
|
display: none;
|
|
|
@media #{$screen-medium} {
|
|
|
- display: block;
|
|
|
+ display: inline;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+* MainHeader
|
|
|
+*/
|
|
|
+
|
|
|
+.page-index .MainHeader {
|
|
|
+ padding-top: 1.5em;
|
|
|
+ padding-bottom: 2.5em;
|
|
|
+ border-top: 6px solid $color-primary;
|
|
|
+}
|
|
|
+
|
|
|
+.page-inner .MainHeader {
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 40px;
|
|
|
+ z-index: 9;
|
|
|
+ box-shadow: 0 0 4px rgba(0,0,0,.25);
|
|
|
+ background-color: $color-white;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ @media #{$screen-medium} {
|
|
|
+ position: static;
|
|
|
+ height: auto;
|
|
|
+ padding: 25px 60px;
|
|
|
+ box-shadow: none;
|
|
|
+ position: relative;
|
|
|
+ z-index: 2;
|
|
|
+ border-top: 6px solid $color-primary;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.MainHeader-menuBtn {
|
|
|
+ display: block;
|
|
|
+
|
|
|
+ @media #{$screen-medium} {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+ .page-index .MainHeader-menuBtn {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .page-inner .MainHeader-menuBtn {
|
|
|
+ background: none;
|
|
|
+ border: 0;
|
|
|
+ position: absolute;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ top: 8px;
|
|
|
+ left: 12px;
|
|
|
+ background: svg('burger.svg', '[fill]: #{$color-gray}') center center no-repeat;
|
|
|
+ background-size: 22px;
|
|
|
+ }
|
|
|
+
|
|
|
+/**
|
|
|
+* MainMenu
|
|
|
+*/
|
|
|
+
|
|
|
.MainMenu {
|
|
|
text-transform: uppercase;
|
|
|
letter-spacing: 2px;
|
|
|
list-style-type: none;
|
|
|
margin: 2em 1.8em 0;
|
|
|
padding: 0;
|
|
|
+ font-size: $fontSize-s;
|
|
|
|
|
|
@media #{$screen-medium} {
|
|
|
margin: 0;
|
|
|
- font-size: $fontSize-s;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .MainMenu-searchQuery {
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ padding: 0 15px 0 30px;
|
|
|
+ border: 1px solid #e3e3e3;
|
|
|
+ outline: none;
|
|
|
+ border-radius: 15px;
|
|
|
+ margin-right: 10px;
|
|
|
+ transition: border-color .2s ease;
|
|
|
+ background: svg('search.svg', '[fill]: #{$color-gray}') 8px 5px no-repeat;
|
|
|
+ background-size: 18px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+
|
|
|
+ &:focus { border-color: $color-primary; }
|
|
|
+
|
|
|
+ @media #{$screen-medium} {
|
|
|
+ width: auto;
|
|
|
+ width: 200px;
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .page-inner .MainMenu {
|
|
|
+ display: none;
|
|
|
+ position: absolute;
|
|
|
+ right: 60px;
|
|
|
+ top: 25px;
|
|
|
+ height: $size-headerHeight;
|
|
|
+ line-height: $size-headerHeight;
|
|
|
+
|
|
|
+ li {
|
|
|
+ display: inline-block;
|
|
|
+ position: relative;
|
|
|
+ margin: 0 .6em;
|
|
|
+ }
|
|
|
+
|
|
|
+ @media #{$screen-medium} {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.nav-link {
|
|
|
color: $color-light;
|
|
|
padding-bottom: 3px;
|
|
@@ -178,3 +289,9 @@ a.button {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+/**
|
|
|
+* BuildBadge
|
|
|
+*/
|
|
|
+.page-index .BuildBadge { margin-left: -2px !important; }
|
|
|
+.page-inner .BuildBadge { margin-top: 15px; }
|