neocities/files/new-Design/assets/css/_project-sass/_project-Header.scss
2013-07-15 03:26:34 -05:00

339 lines
6.6 KiB
SCSS

// ----------------------------------------------------------------
// Project Specific: Header Area
// ----------------------------------------------------------------
// Apply to header for styling
.header-Base{
background:#65a0ad;
border-bottom:6px solid #e93250;
min-height:42px;
overflow:hidden;
}
.header-Content{
padding-top: 22px;
@extend .content;
@media (max-device-width:480px), screen and (max-width:800px){
padding:0
}
}
.blurb{background:#fff}
.header-Intro{
background:url(../img/neocity.jpg) 95% bottom no-repeat;
min-height:214px;
@media (max-device-width:480px), screen and (max-width:800px){
@include vendor(background-size, cover);
min-height:2px
}
}
$outroShadow:inset 0px 7px 10px 0px rgba(0, 0, 0, 0.10);
.header-Outro{
background:#30424b;
background: -moz-linear-gradient(top, #2b3c43 0%, #354751 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2b3c43), color-stop(100%,#354751)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #2b3c43 0%,#354751 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #2b3c43 0%,#354751 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #2b3c43 0%,#354751 100%); /* IE10+ */
background: linear-gradient(to bottom, #2b3c43 0%,#354751 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b3c43', endColorstr='#354751',GradientType=0 ); /* IE6-9 */
-moz-box-shadow:$outroShadow;
-webkit-box-shadow:$outroShadow;
box-shadow:$outroShadow;
color:#fafafa;
}
.intro-List{
@extend %kill-List;
@media (max-device-width:480px), screen and (max-width:800px){
margin-bottom:20px;
padding:20px!important;
}
li{
padding-left:$spacing*9;
padding-right:$spacing*3;
margin-bottom: 18px;
}
h2{
font-size:22px;
margin-bottom:2px;
}
p {
color: #B2BCC1;
}
}
.intro-Icon{
background:url(../img/icons.png) no-repeat;
display:block;
height:37px;
left:-10px;
position:absolute;
top:2px;
width:37px;
}
.intro-Tools{position:relative}
.intro-Question{
position:relative;
.intro-Icon{
background-position:0 -40px;
}
}
.signup-Area{
min-height:100px;
position:relative
}
$signupShadow: 1px 2px 12px 2px rgba(0, 0, 0, 0.15);
.signup-Form{
background:#354751;
border-radius:4px 4px 0 0;
height:600%;
overflow:hidden;
position:absolute;
top:-45px;
-moz-box-shadow:$signupShadow;
-webkit-box-shadow:$signupShadow;
box-shadow:$signupShadow;
@media (max-device-width:480px), screen and (max-width:800px){
height:auto;
margin:0;
overflow:visible;
position:static;
}
h2{
margin-bottom:0;
text-shadow:0 1px 1px rgba(0,0,0,.5);
font-size: 1.8em;
}
hr{
border-bottom:1px solid #4a6677;
border-top:1px solid #1d282d;
margin:4px 0 22px;
}
fieldset{
background:url(../img/sign-up-bg.png) repeat-x center top;
padding: 20px 33px;
}
label{
color:#81b8c6;
@media (max-device-width:480px), screen and (max-width:800px){
font-size:70%
}
}
$inputAreaShadow:inset 1px 3px 10px 0px rgba(0, 0, 0, 0.20);
.input-Area{
background:#29383f;
border:0px solid black;
color:#557380;
margin-bottom:$spacing*7;
margin-right:$spacing;
padding: 11px 12px 9px 12px;
width:62%;
-moz-box-shadow:$inputAreaShadow;
-webkit-box-shadow:$inputAreaShadow;
box-shadow:$inputAreaShadow;
&:focus{color:#eee}
}
$placeholderColor: #5E7F8D;
::-webkit-input-placeholder { /* WebKit browsers */
color:$placeholderColor;
font-style: italic;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color:$placeholderColor;
font-style: italic;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color:$placeholderColor;
font-style: italic;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color:$placeholderColor;
font-style: italic;
}
.btn-Action{
padding:10px 25px;
}
}
.small-Nav{
background:#30424B;
display:none;
position:fixed;
right:0;
top:0;
width:50px;
z-index:9999;
@media (max-device-width:480px), screen and (max-width:800px){
display:block
}
}
// Top nav area
.header-Nav{
background:#5e95a1;
border-bottom:1px solid #a1cad4;
@include vendor(transition, all 0.35s);
@media (max-device-width:480px), screen and (max-width:800px){
position:fixed;
top:-900px!important;
}
&.show-Nav{
top:0!important;
}
a, a:visited{
color:#fff;
padding:$spacing*2 $spacing*3;
text-decoration:none;
@media (max-device-width:480px), screen and (max-width:800px){
display:block;
}
&:hover{background:#528995; text-decoration:underline}
&.selected, &:active{background:#528995; text-decoration:underline}
}
}
.constant-Nav{
float:left;
position:relative;
@media (max-device-width:480px), screen and (max-width:800px){
float:none;
li{float:none;}
}
}
.status-Nav{
float:right;
@media (max-device-width:480px), screen and (max-width:800px){
float:none;
}
li{
float:left;
@media (max-device-width:480px), screen and (max-width:800px){
float:none
}
}
}
// hp CSS
.hp .header-Base{
padding-top:46px;
}
.hp .header-Nav{
left:0;
position:fixed;
top:0;
width:100%;
z-index:3
}
.hp .hp-Logo{
left:-90px;
position:fixed;
@include vendor(transition, all 0.35s);
&.in-View{
left:0!important;
z-index:99;
@media (max-device-width:480px), screen and (max-width:800px){
left:-90px!important;
}
}
}
.hp h1.logo {
padding-top: 45px;
padding-bottom: 0;
}
.hp h1.logo img {
margin-left: -10px;
@media (max-device-width:480px), screen and (max-width:800px){
margin-left: 20px;
}
}
.constant-Nav{
margin-left:-88px;
@include vendor(transition, all 0.35s);
@media (max-device-width:480px), screen and (max-width:800px){
margin-left:0;
}
&.in-View{
margin-left:0;
padding-left:70px;
@media (max-device-width:480px), screen and (max-width:800px){
padding-left:0
}
}
}
.add-Stripe{
border-bottom:6px solid #E93250;
@media (max-device-width:480px), screen and (max-width:800px){
border:0;
}
}
// Interior CSS
.interior .page{
padding-top:46px
}
.interior .header-Base{
left:0;
overflow:visible;
position:fixed;
top:0;
width:100%;
z-index:9;
}
.int-Logo{
left:0;
position:absolute;
top:0;
width:70px;
}
.interior .header-Nav{
padding-left:70px;
@media (max-device-width:480px), screen and (max-width:800px){
width:100%;
}
}
.interior .constant-Nav{margin:0}