angular-cn/public/resources/css/module/_top-nav.scss

69 lines
1.2 KiB
SCSS
Raw Normal View History

2015-02-19 20:13:47 -05:00
.main-nav {
2015-02-24 09:38:30 -05:00
height: 56px;
min-height: 56px;
2015-02-25 10:15:46 -05:00
padding: 0px ($unit * 2);
box-shadow: 0px 2px 5px 0 rgba($coal, 0.26);
2015-02-24 09:38:30 -05:00
h1 {
2015-02-27 10:17:29 -05:00
margin: 0px ($unit * 9) 0px 0px;
2015-02-24 09:38:30 -05:00
padding: 0px;
2015-02-25 10:15:46 -05:00
height: 36px;
2015-02-28 11:11:13 -05:00
width: 136px;
2015-02-25 10:15:46 -05:00
float: left;
2015-02-24 16:44:23 -05:00
a {
2015-02-27 10:17:29 -05:00
background: url('/resources/images/logos/standard/logo-nav.png') 0px 8px no-repeat;
2015-02-24 16:44:23 -05:00
display: block;
2015-02-27 10:17:29 -05:00
height: 56px;
2015-02-25 10:15:46 -05:00
width: 135px;
2015-02-24 16:44:23 -05:00
overflow: hidden;
text-indent: -3000px;
}
2015-02-24 09:38:30 -05:00
}
2015-02-19 20:13:47 -05:00
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
2015-02-25 10:15:46 -05:00
float: left;
2015-02-19 20:13:47 -05:00
li {
2015-02-25 10:15:46 -05:00
margin: 0px 0px 0px 0px;
2015-02-24 09:38:30 -05:00
display: inline;
2015-02-19 20:13:47 -05:00
}
}
2015-02-24 09:38:30 -05:00
2015-02-25 10:15:46 -05:00
.main-nav-button {
line-height: 56px;
display: inline-block;
color: $snow;
text-decoration: none;
padding: 0px ($unit * 2);
text-transform: uppercase;
font-family: $brand-font;
font-weight: 300;
font-size: 16px;
&:hover {
background: $ocean;
}
// ICONS
&.has-icon {
position: relative;
padding-left: 30px + ($unit * 2);
}
.icon {
font-size: 22px;
position: absolute;
top: 15px;
left: ($unit * 2);
z-index: $layer-1;
}
}
2015-02-24 09:38:30 -05:00
.cta {
2015-02-25 10:15:46 -05:00
float: right;
2015-02-24 09:38:30 -05:00
}
2015-02-19 20:13:47 -05:00
}