Vulcan/packages/telescope-theme-hubble/lib/client/scss/modules/_nav.scss

127 lines
1.9 KiB
SCSS
Raw Normal View History

2012-08-25 11:20:17 +09:00
.header{
2012-08-31 18:58:12 +09:00
background-color:$highlight-color;
2014-08-05 12:25:26 +09:00
margin-bottom:$grid-margin;
2012-08-25 11:20:17 +09:00
position:relative;
2014-07-09 09:46:24 +09:00
height: 60px;
2012-08-25 11:20:17 +09:00
@include cf;
2014-07-10 11:45:34 +09:00
padding: 0 20px;
z-index: 100;
@include small{
padding: 0 10px;
}
2014-08-15 11:56:53 +09:00
.primary-nav{
2012-08-25 11:20:17 +09:00
float:left;
2014-07-11 10:38:21 +09:00
z-index: 20;
position: relative;
2012-08-25 11:20:17 +09:00
}
.logo{
2014-07-10 11:45:34 +09:00
@extend %vcenter;
2012-08-25 11:20:17 +09:00
position:absolute;
2014-07-09 09:46:24 +09:00
display:block;
2012-09-29 18:09:00 +09:00
text-align:center;
2012-09-29 12:28:51 +09:00
color:white;
2014-07-14 11:25:27 +09:00
@include small{
font-size: 18px;
2014-08-20 17:03:54 +09:00
a{
position: static;
}
2014-07-14 11:25:27 +09:00
}
@include medium-large{
font-size:24px;
}
2014-07-11 10:48:52 +09:00
left: 0px;
right: 0px;
2012-09-29 12:28:51 +09:00
a, a:visited{
color:white;
}
2014-08-12 17:34:56 +09:00
}
.logo-image{
line-height: 1;
a{
display:inline-block;
background: no-repeat center center;
font: 0/0 a;
text-shadow: none;
color: transparent;
2012-08-25 11:20:17 +09:00
}
}
2014-08-15 11:56:53 +09:00
.secondary-nav{
2014-07-11 10:38:21 +09:00
z-index: 20;
position: relative;
2012-08-25 11:20:17 +09:00
float:right;
.submit{
2012-08-31 18:58:12 +09:00
// background:$red;
// display:block;
// padding:0px 10px;
}
}
}
.sign-in{
2014-07-10 11:45:34 +09:00
margin-right: 10px;
2012-12-21 18:47:06 +01:00
}
.nav{
2012-12-22 11:02:53 +01:00
@include cf;
2014-07-10 11:45:34 +09:00
@extend %vcenter;
2012-12-22 11:02:53 +01:00
>li{
line-height: 2;
2014-07-10 11:45:34 +09:00
&:last-child{
margin-right: 0px;
}
2014-06-23 11:46:12 +09:00
>a, >div >a{
2012-12-22 11:02:53 +01:00
color:white;
2014-07-09 09:46:24 +09:00
font-size:15px;
2012-12-22 11:02:53 +01:00
font-weight:normal;
2012-12-21 18:47:06 +01:00
2012-12-22 11:02:53 +01:00
&.intercom em{
&:before{
content:'(';
}
&:after{
content:')';
2012-12-21 18:47:06 +01:00
}
}
}
2012-12-22 11:02:53 +01:00
}
2013-11-14 23:01:59 -05:00
}
2013-11-15 15:29:39 +09:00
.search{
position: relative;
.search-field{
font-size: 14px;
padding: 4px 12px;
line-height: 1.3;
border-radius: 20px;
border: 0px;
2014-11-20 14:55:58 +09:00
width: 120px;
2014-11-24 11:27:12 +09:00
-webkit-appearance: textfield;
-webkit-transition: 0.2s all;
-moz-transition: 0.2s all;
-webkit-appearance: textfield;
2013-11-15 15:29:39 +09:00
background: white;
&:focus{
outline:none;
}
}
&.empty{
.search-field{
background: white(0.1);
&:focus{
background: white;
}
}
.search-clear{
display: none;
}
}
}
2014-08-20 15:59:11 +09:00
.has-dropdown .user-menu .dropdown-menu{
left:auto;
right: 10px;
2014-08-20 17:03:54 +09:00
}
.has-dropdown .notifications-menu .dropdown-menu{
left:auto;
right: 10px;
}
.newsletter-dismiss{
line-height: 30px !important;
2014-08-20 15:59:11 +09:00
}