open-nomad/website/source/assets/stylesheets/_header.scss

79 lines
1.4 KiB
SCSS
Raw Normal View History

2015-09-12 00:01:02 +00:00
#header {
2017-03-28 03:37:59 +00:00
background: $header-background-color;
2017-03-15 01:56:38 +00:00
.navbar-toggle {
height: $header-height;
margin: 0;
padding-right: 15px;
border-radius: 0;
.icon-bar {
2017-03-28 03:37:59 +00:00
border: 1px solid $white;
2017-03-15 01:56:38 +00:00
border-radius: 0;
}
}
2015-11-07 06:08:46 +00:00
.navbar-brand {
2017-03-15 01:56:38 +00:00
display: block;
margin: 0;
padding: 0;
2017-03-28 03:37:59 +00:00
a {
display: flex;
align-items: center;
2017-03-15 01:56:38 +00:00
height: $header-height;
line-height: $header-height;
2017-02-17 19:40:15 +00:00
2017-03-28 03:37:59 +00: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-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-12-20 05:13:00 +00:00
2017-03-15 01:56:38 +00:00
ul.nav {
li {
a {
color: $header-link-color;
font-size: $header-font-size;
font-family: $font-family-open-sans;
2017-03-28 03:37:59 +00:00
font-weight: $font-weight-bold;
2017-03-15 01:56:38 +00:00
height: $header-height;
line-height: $header-height;
padding: 0 10px;
margin: 0;
text-decoration: none;
&:hover, &:focus, &:active {
background-color: transparent;
color: $header-link-color-hover;
outline: 0;
2015-09-12 00:01:02 +00:00
2017-03-15 01:56:38 +00:00
svg {
fill: $header-link-color-hover;
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
}
2017-03-15 01:56:38 +00:00
svg {
fill: $header-link-color;
position: relative;
top: 2px;
width: 14px;
height: 14px;
margin-right: 3px;
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
2017-03-15 01:56:38 +00:00
.buttons {
margin-top: 2px;
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
}