2014-07-30 09:07:23 +04:00
|
|
|
//
|
|
|
|
// Box
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.box {
|
|
|
|
padding: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
background: #fff;
|
|
|
|
position: relative;
|
|
|
|
box-shadow: $shadow;
|
|
|
|
|
|
|
|
header {
|
|
|
|
height:14px;
|
|
|
|
border-bottom: 1px solid $lightbrown;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size:0.85em;
|
|
|
|
color: $brown;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
height:14px;
|
|
|
|
border-top: 1px solid $lightbrown;
|
|
|
|
padding-top: 10px;
|
|
|
|
margin-top:15px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size:0.85em;
|
|
|
|
color: $brown;
|
|
|
|
}
|
|
|
|
|
|
|
|
header a,
|
|
|
|
footer a {
|
|
|
|
color:$brown;
|
|
|
|
&:hover {
|
|
|
|
color:$darkgrey;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Main
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
main {
|
|
|
|
position: absolute;
|
|
|
|
top: 55px;
|
|
|
|
right: 15px;
|
|
|
|
bottom: 0;
|
|
|
|
left: 15px;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
top: 40px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-07-30 08:59:43 +04:00
|
|
|
//
|
|
|
|
// Floating Header
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// Semi-opaque fixed-position headers - used on content/editor
|
|
|
|
.floatingheader {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 400;
|
|
|
|
height: 40px;
|
|
|
|
padding: 6px 15px 14px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: $brown;
|
|
|
|
//Transparent gradient to make bg fade out as it goes out the top.
|
|
|
|
@include linear-gradient(top, white 0%, white 25%, rgba(255,255,255,0.9) 100%, $fallback: transparent);
|
|
|
|
|
|
|
|
// button,
|
|
|
|
.button {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 10px;
|
|
|
|
min-height: 20px;
|
|
|
|
height: 20px;
|
|
|
|
padding: 3px 4px;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
&.button-back {
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
left: 3px;
|
|
|
|
display: none;
|
|
|
|
padding: 0 6px 0 3px;
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
left: -8px;
|
|
|
|
border-width: 10px 8px 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
small {
|
|
|
|
font-size: 0.85em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
|
|
|
button {
|
|
|
|
color: $brown;
|
|
|
|
&:hover {
|
|
|
|
color: $darkgrey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} // .floatingheader
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Scroll Shadows
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.scrolling {
|
|
|
|
|
|
|
|
.floatingheader {
|
|
|
|
box-shadow:
|
|
|
|
rgba(0,0,0,0.02) 0 1px 2px,
|
|
|
|
rgba(255, 255, 255, 0.5) 0 -1px 0 inset;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
height: 40px;
|
|
|
|
width: 80%;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -40%;
|
|
|
|
box-shadow: rgba(0,0,0,0.02) 0 2px 2px;
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
height: 40px;
|
|
|
|
width: 30%;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -15%;
|
|
|
|
box-shadow: rgba(0,0,0,0.02) 0 3px 3px;
|
|
|
|
}
|
|
|
|
} // .floatingheader
|
|
|
|
|
2014-07-30 09:09:57 +04:00
|
|
|
} // .scrolling
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Navs
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
nav {
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border-top: $lightbrown 1px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 15px;
|
|
|
|
color: $brown;
|
|
|
|
border-bottom: $lightbrown 1px solid;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $darkgrey;
|
|
|
|
background: $lightbrown;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
margin-right: 1em;
|
|
|
|
} // Make space for icons
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|