Vulcan/client/sass/modules/_header.scss

146 lines
2.7 KiB
SCSS
Raw Normal View History

2012-08-25 11:20:17 +09:00
// .header{
// background:url("../images/bg-black.png") top center;
// }
// @media only screen and (-webkit-min-device-pixel-ratio: 1.5){
// .header{
// background:url("../images/bg-black@2x.png") top center;
// background-size:10px 10px;
// }
// }
.header{
2012-08-31 18:58:12 +09:00
background:$highlight-color url("/img/bg-header.png") top center;
background-color:$highlight-color;
2012-08-25 11:20:17 +09:00
margin-bottom:$grid-margin;
height:$grid-unit;
position:relative;
@include cf;
2012-08-31 18:58:12 +09:00
@include border-radius(0 0 3px 3px);
@include box-shadow(0 1px 1px black(1));
2012-08-25 11:20:17 +09:00
.nav{
@include horizontal-list-container;
margin-top:20px;
li{
@include horizontal-list-item;
margin-right:10px;
a{
color:white;
font-size:16px;
line-height:26px;
height:26px;
font-weight:normal;
}
}
}
.site-nav{
float:left;
margin-left:20px;
2012-09-29 18:09:00 +09:00
position:relative;
z-index:20;
2012-08-25 11:20:17 +09:00
}
.logo{
position:absolute;
2012-09-29 18:09:00 +09:00
display:inline-block;
text-align:center;
2012-09-29 12:28:51 +09:00
top:10px;
width:100%;
color:white;
font-size:30px;
2012-09-29 18:09:00 +09:00
z-index:10;
2012-09-29 12:28:51 +09:00
a, a:visited{
color:white;
}
&.image{
position:absolute;
left:50%;
a{
display:block;
height:100%;
width:100%;
background: no-repeat center center;
font: 0/0 a;
text-shadow: none;
color: transparent;
}
2012-08-25 11:20:17 +09:00
}
}
.user-nav{
float:right;
margin-right:10px;
2012-09-29 18:09:00 +09:00
position:relative;
z-index:20;
2012-08-25 11:20:17 +09:00
.submit{
2012-08-31 18:58:12 +09:00
// background:$red;
// display:block;
// padding:0px 10px;
}
}
}
2012-09-05 10:27:10 +09:00
// @media only screen and (-webkit-min-device-pixel-ratio: 1.5){
// .header{
// // background-image:url("/img/bg-header@2x.png");
// // background-size: 10px 10px;
// .logo a{
// background-image: url('/img/logo@2x.png');
// background-size: 124px 37px;
// }
// }
// }
2012-09-05 09:55:09 +09:00
.auth-buttons{
2012-09-29 18:09:00 +09:00
position:relative;
z-index:20;
2012-09-05 09:55:09 +09:00
float:right;
margin:20px 10px 0 0;
#login-buttons{
position:relative;
2012-09-05 10:13:13 +09:00
line-height:26px;
2012-09-05 09:55:09 +09:00
.accounts-dialog{
@extend .popover;
}
a{
text-decoration:none;
color:$text;
}
a.login-link-text{
color:#fff;
font-weight:normal;
display:inline-block;
height:26px;
2012-09-05 10:13:13 +09:00
font-size:0;
&:after{
content:"Sign Up/Sign In";
font-size:16px;
}
2012-09-05 09:55:09 +09:00
}
#login-buttons-password{
@extend .button;
float:none !important;
@include text-shadow(none);
width:auto;
line-height:1.5;
height:26px;
margin:10px 0 !important;
2012-09-05 10:13:13 +09:00
}
.login-header{
font-family:inherit;
height:26px;
2012-09-19 09:03:25 +09:00
margin-right:10px;
cursor:pointer;
color:white;
2012-09-05 10:13:13 +09:00
&:before{
2012-09-19 09:03:25 +09:00
color:white(0.5);
2012-09-05 10:13:13 +09:00
content:"Welcome, ";
2012-09-05 09:55:09 +09:00
}
2012-09-05 10:13:13 +09:00
}
#login-buttons-logout{
color:white;
background:none;
border:none;
font-family:inherit;
font-size:inherit;
padding:0;
height:26px;
margin-right:10px;
2012-09-19 09:03:25 +09:00
text-shadow:none;
2012-09-05 10:13:13 +09:00
}
2012-09-05 09:55:09 +09:00
}
2012-08-25 11:20:17 +09:00
}