packer-cn/website/source/assets/stylesheets/_header.scss

79 lines
1.4 KiB
SCSS
Raw Normal View History

2015-11-10 14:06:50 -05:00
#header {
2017-03-28 16:04:27 -04:00
background: $header-background-color;
.navbar-toggle {
height: $header-height;
margin: 0;
padding-right: 15px;
border-radius: 0;
2015-11-10 14:06:50 -05:00
.icon-bar {
2017-03-28 16:04:27 -04:00
border: 1px solid $white;
border-radius: 0;
2015-11-10 14:06:50 -05:00
}
}
.navbar-brand {
display: block;
margin: 0;
padding: 0;
2015-11-10 14:06:50 -05:00
2017-03-28 16:04:27 -04:00
a {
display: flex;
align-items: center;
height: $header-height;
line-height: $header-height;
2015-11-10 14:06:50 -05:00
2017-03-28 16:04:27 -04:00
svg.logo {
transition: opacity 0.15s ease-in-out;
@extend svg.logo.white;
&:hover, &:focus, &:active {
opacity: 0.6;
outline: 0;
text-decoration: none;
}
}
2015-11-10 14:06:50 -05:00
}
}
2015-11-10 15:19:17 -05:00
ul.nav {
li {
a {
color: $header-link-color;
font-size: $header-font-size;
font-family: $font-family-open-sans;
2017-03-28 16:04:27 -04:00
font-weight: $font-weight-bold;
height: $header-height;
line-height: $header-height;
padding: 0 10px;
margin: 0;
text-decoration: none;
2015-11-10 15:19:17 -05:00
&:hover, &:focus, &:active {
background-color: transparent;
color: $header-link-color-hover;
outline: 0;
svg {
fill: $header-link-color-hover;
}
}
2015-11-10 14:06:50 -05:00
svg {
fill: $header-link-color;
position: relative;
top: 2px;
width: 14px;
height: 14px;
margin-right: 3px;
}
2015-11-10 14:06:50 -05:00
}
}
}
.buttons {
margin-top: 2px;
2015-11-10 14:06:50 -05:00
}
}