first commit
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
/**
|
||||
* Footer bottom
|
||||
*/
|
||||
#footer-bottom {
|
||||
background-color: $color-12;
|
||||
padding: 15px 0;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
|
||||
#footer-bottom-menu, #copyright {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#footer-bottom-menu {
|
||||
float: right;
|
||||
text-align: right;
|
||||
padding-left: 15px;
|
||||
|
||||
ul {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
float: left;
|
||||
|
||||
&:after {
|
||||
content: '|';
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
&:last-child:after {
|
||||
content: '';
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: $color-1;
|
||||
|
||||
&:hover {
|
||||
color: $color-5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.no-footer-nav #copyright {
|
||||
float: none;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
#copyright {
|
||||
float: left;
|
||||
text-align: left;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $color-1;
|
||||
|
||||
&:hover {
|
||||
color: $color-5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
|
||||
/* center footer bottom */
|
||||
#footer-bottom {
|
||||
#copyright,
|
||||
#footer-bottom-menu {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#footer-bottom-menu {
|
||||
margin-bottom: 15px;
|
||||
|
||||
li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
#footer-bottom #footer-bottom-menu li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,187 @@
|
||||
.site-footer {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/**
|
||||
* Footer widgets
|
||||
*/
|
||||
#footer-widgets {
|
||||
background-color: $color-3;
|
||||
padding: 30px 0;
|
||||
margin: 0;
|
||||
|
||||
.footer-box {
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
|
||||
.footer-widget {
|
||||
margin-bottom: 20px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
|
||||
.widget-title {
|
||||
color: $color-1;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $color-1;
|
||||
|
||||
&:hover {
|
||||
color: $color-5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#wp-calendar caption,
|
||||
#wp-calendar th,
|
||||
#wp-calendar tbody,
|
||||
.contact-info-widget i,
|
||||
.mailchimp-widget input[type="email"],
|
||||
.posts-thumbnails-widget li,
|
||||
.social-widget li a {
|
||||
border-color: $color-11;
|
||||
}
|
||||
|
||||
.mailchimp-widget input[type="email"]:focus {
|
||||
border-color: $color-5;
|
||||
}
|
||||
|
||||
.tagcloud a {
|
||||
background-color: $color-3;
|
||||
border-color: $color-2;
|
||||
|
||||
&:hover {
|
||||
background-color: $color-14;
|
||||
color: $color-1;
|
||||
border-color: $color-11;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Parallax footer
|
||||
*/
|
||||
.parallax-footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.has-parallax-footer #main {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.has-parallax-footer:not(.boxed-layout) #main {
|
||||
@include box-shadow( 0 0 40px 0 rgba(0,0,0,0.10) );
|
||||
}
|
||||
|
||||
.has-parallax-footer:not(.separate-layout) #main {
|
||||
background-color: $color-1;
|
||||
}
|
||||
|
||||
.has-parallax-footer.separate-layout #main {
|
||||
background-color: $color-9;
|
||||
}
|
||||
|
||||
.boxed-layout .parallax-footer {
|
||||
width: 1280px;
|
||||
left: auto;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
|
||||
/* margin footer columns */
|
||||
#footer-widgets {
|
||||
.col {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Parallax footer */
|
||||
.has-parallax-footer #main {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.parallax-footer {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Responsive columns */
|
||||
@media only screen and (min-width: 481px) and (max-width: 768px) {
|
||||
#footer-widgets.tablet-1-col .footer-box {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#footer-widgets.tablet-2-col .footer-box {
|
||||
width: 50% !important;
|
||||
|
||||
&:nth-child(3n) {
|
||||
clear: left;
|
||||
}
|
||||
}
|
||||
|
||||
#footer-widgets.tablet-3-col .footer-box {
|
||||
width: 33.33% !important;
|
||||
clear: none;
|
||||
|
||||
&:nth-child(4n) {
|
||||
clear: left;
|
||||
}
|
||||
}
|
||||
|
||||
#footer-widgets.tablet-4-col .footer-box {
|
||||
width: 25% !important;
|
||||
|
||||
&:nth-child(5n) {
|
||||
clear: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
#footer-widgets.mobile-1-col .footer-box {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#footer-widgets.mobile-2-col .footer-box {
|
||||
width: 50% !important;
|
||||
|
||||
&:nth-child(3n) {
|
||||
clear: left;
|
||||
}
|
||||
}
|
||||
|
||||
#footer-widgets.mobile-3-col .footer-box {
|
||||
width: 33.33% !important;
|
||||
clear: none;
|
||||
|
||||
&:nth-child(4n) {
|
||||
clear: left;
|
||||
}
|
||||
}
|
||||
|
||||
#footer-widgets.mobile-4-col .footer-box {
|
||||
width: 25% !important;
|
||||
|
||||
&:nth-child(5n) {
|
||||
clear: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* Scroll top
|
||||
*/
|
||||
#scroll-top {
|
||||
display: none;
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
color: $color-1;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
@include border-radius( 2px );
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
@include box-sizing( content-box );
|
||||
|
||||
> span {
|
||||
line-height: inherit;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
&.scroll-top-left {
|
||||
left: 20px;
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
#scroll-top {
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
line-height: 24px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user