blob: 4b7d9bcc60ea5c2184881f5de54b002434dc9057 [file] [log] [blame]
/* ======= Base ======= */
body {
font-family: 'Open Sans', arial, sans-serif;
color: $text-color;
font-size: 14px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html, body {
height: 100%;
}
.page-wrapper {
min-height: 100%;
/* equal to footer height */
margin-bottom: -50px;
&:after {
content: "";
display: block;
height: 50px;
}
}
.footer {
height: 50px;
}
p {
line-height: 1.5;
}
a {
color: darken($color-primary, 5%);
@include transition (all 0.4s ease-in-out);
&:hover {
text-decoration: underline;
color: darken($color-primary, 10%);
}
&:focus {
text-decoration: none;
}
}
code {
background: #222;
color: #fff;
font-size: 14px;
font-weight: bold;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
padding:2px 8px;
padding-top: 4px;
display: inline-block;
}
.btn, a.btn {
@include transition (all 0.4s ease-in-out);
font-weight: 600;
font-size: 14px;
line-height: 1.5;
.svg-inline--fa {
margin-right: 5px;
position: relative;
top: -1px;
}
&:focus {
@include box-shadow(none);
}
}
.btn-primary, a.btn-primary {
background: $color-primary;
border: 1px solid $color-primary;
color: #fff !important;
&:hover, &:focus, &:active, &.active, &.hover, &:not(:disabled):not(.disabled):active:focus {
background: darken($color-primary, 5%);
color: #fff !important;
border: 1px solid darken($color-primary, 5%);
@include box-shadow(none);
}
}
.btn-green, a.btn-green {
background: $color-green;
border: 1px solid $color-green;
color: #fff !important;
&:hover, &:focus, &:active, &.active, &.hover {
background: darken($color-green, 5%);
color: #fff !important;
border: 1px solid darken($color-green, 5%);
}
.body-green & {
color: #fff !important;
&:hover, &:focus, &:active, &.active, &.hover {
color: #fff !important;
}
}
}
.btn-blue, a.btn-blue {
background: $color-blue;
border: 1px solid $color-blue;
color: #fff !important;
&:hover, &:focus, &:active, &.active, &.hover {
background: darken($color-blue, 5%);
color: #fff !important;
border: 1px solid darken($color-blue, 5%);
}
}
.btn-orange, a.btn-orange {
background: $color-orange;
border: 1px solid $color-orange;
color: #fff !important;
&:hover, &:focus, &:active, &.active, &.hover {
background: darken($color-orange, 5%);
color: #fff !important;
border: 1px solid darken($color-orange, 5%);
}
}
.btn-red, a.btn-red {
background: $color-red;
border: 1px solid $color-red;
color: #fff !important;
&:hover, &:focus, &:active, &.active, &.hover {
background: darken($color-red, 5%);
color: #fff !important;
border: 1px solid darken($color-red, 5%);
}
}
.btn-pink, a.btn-pink {
background: $color-pink;
border: 1px solid $color-pink;
color: #fff !important;
&:hover, &:focus, &:active, &.active, &.hover {
background: darken($color-pink, 5%);
color: #fff !important;
border: 1px solid darken($color-pink, 5%);
}
}
.btn-purple, a.btn-purple {
background: $color-purple;
border: 1px solid $color-purple;
color: #fff !important;
&:hover, &:focus, &:active, &.active, &.hover {
background: darken($color-purple, 5%);
color: #fff !important;
border: 1px solid darken($color-purple, 5%);
}
}
.btn-cta {
padding: 7px 15px;
}
.search-btn {
height: 40px;
.svg-inline--fa {
top: 0;
margin-right: 0;
}
}
.form-control {
@include box-shadow(none);
height: 40px;
border-color: $divider;
@include placeholder(lighten($grey, 5%));
&:focus {
border-color: darken($divider, 5%);
@include box-shadow(none);
}
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
input[type="button"],
textarea,
select {
appearance: none; /* for mobile safari */
-webkit-appearance: none;
}
/* ====== Header ====== */
.header {
background: $text-color;
color: rgba(256, 256, 256, 0.85);
border-top: 5px solid $color-primary;
padding: 30px 0;
a {
color: #fff;
}
.container {
position: relative;
}
}
.branding {
text-transform: uppercase;
margin-bottom: 10px;
.logo {
font-size: 28px;
margin-top: 0;
margin-bottom: 0;
a {
text-decoration: none;
}
}
.text-highlight {
color: $color-primary;
.body-green & {
color: $color-green;
}
.body-blue & {
color: $color-blue;
}
.body-orange & {
color: $color-orange;
}
.body-red & {
color: $color-red;
}
.body-pink & {
color: $color-pink;
}
.body-purple & {
color: $color-purple;
}
}
.text-bold {
font-weight: 800;
color: #fff;
}
.icon {
font-size: 24px;
color: $color-primary;
.body-green & {
color: $color-green;
}
.body-blue & {
color: $color-blue;
}
.body-orange & {
color: $color-orange;
}
.body-red & {
color: $color-red;
}
.body-pink & {
color: $color-pink;
}
.body-purple & {
color: $color-purple;
}
}
}
.breadcrumb {
background: none;
margin-bottom: 0;
padding: 0;
li {
color: rgba(256, 256, 256, 0.5);
&.active {
color: rgba(256, 256, 256, 0.5);
}
a {
color: rgba(256, 256, 256, 0.5);
&:hover {
color: #fff;
}
}
}
}
.breadcrumb>li+li:before {
color: rgba(0, 0, 0, 0.4);
}
.search-form {
position: relative;
.search-input {
font-size: 14px;
@include border-radius(20px);
padding-top: 4px;
&:focus {
border-color: $text-color-secondary;
}
}
.search-btn {
color: lighten($text-color-secondary, 10%);
background: none;
border: none;
position: absolute;
right: 5px;
top: 0px;
margin-right: 0;
&:active, &:focus, &:hover {
outline: none !important;
color: darken($text-color, 10%);
}
}
}
.top-search-box {
position: absolute;
right: 15px;
top: 15px;
}
/* ====== Footer ====== */
.footer {
background: darken($text-color, 15%);
color: rgba(256, 256, 256, 0.6);
padding: 15px 0;
a {
color: $color-primary;
}
.fa-heart {
color: $color-pink;
}
}
// Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) {
.top-search-box {
width: 100%;
position: static;
margin-top: 15px;
}
}