first commit
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
/**
|
||||
* Top Bar Content
|
||||
*/
|
||||
#top-bar-content {
|
||||
strong {
|
||||
color: $color-2;
|
||||
}
|
||||
|
||||
> a {
|
||||
color: $color-11;
|
||||
|
||||
&:hover {
|
||||
color: $color-5;
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
background-color: transparent;
|
||||
padding: 5px;
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
border-color: rgba(0, 0, 0, 0.2);
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#lang_sel {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
top: 3px;
|
||||
margin-right: 10px;
|
||||
z-index: 99;
|
||||
}
|
||||
}
|
||||
|
||||
#topbar-template {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#top-bar-wrap #lang_sel ul ul {
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.top-bar-right .polylang-switcher-shortcode {
|
||||
float: right;
|
||||
margin: 0;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.top-bar-left .polylang-switcher-shortcode {
|
||||
float: left;
|
||||
margin: 0;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
|
||||
#top-bar-content, #top-bar-social-alt {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#top-bar #lang_sel {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body.rtl #top-bar #lang_sel {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
* Top Bar Menu
|
||||
*/
|
||||
.top-bar-left.has-content #top-bar-nav,
|
||||
.top-bar-right.has-content #top-bar-nav {
|
||||
margin: 0;
|
||||
margin-right: 20px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#top-bar-nav,
|
||||
#top-bar-nav > li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#top-bar-content.top-bar-centered #top-bar-nav,
|
||||
#top-bar-content.top-bar-centered #top-bar-nav > li {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
}
|
||||
|
||||
#top-bar-nav > ul > li {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
margin-right: 15px;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
a .nav-arrow {
|
||||
margin-left: 4px;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
|
||||
#top-bar #top-bar-nav > li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#top-bar-nav {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
/**
|
||||
* Top Bar Social
|
||||
*/
|
||||
#top-bar-social {
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
color: $color-13;
|
||||
padding: 0 6px;
|
||||
}
|
||||
}
|
||||
|
||||
&.top-bar-left li:first-child a {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
&.top-bar-right li:last-child a {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
li a {
|
||||
&.oceanwp-twitter a:hover { color: #46d4fe; }
|
||||
&.oceanwp-facebook a:hover { color: #37589b; }
|
||||
&.oceanwp-googleplus a:hover { color: #de5a49; }
|
||||
&.oceanwp-pinterest a:hover { color: #cb2027; }
|
||||
&.oceanwp-dribbble a:hover { color: #ea4c89; }
|
||||
&.oceanwp-vk a:hover { color: #597BA5; }
|
||||
&.oceanwp-instagram a:hover { color: #3F729B; }
|
||||
&.oceanwp-linkedin a:hover { color: #3399CC; }
|
||||
&.oceanwp-tumblr a:hover { color: #2C4762; }
|
||||
&.oceanwp-github a:hover { color: #60b044; }
|
||||
&.oceanwp-flickr a:hover { color: #fa4086; }
|
||||
&.oceanwp-skype a:hover { color: #00AFF0; }
|
||||
&.oceanwp-youtube a:hover { color: #C4302B; }
|
||||
&.oceanwp-vimeo a:hover { color: #1ab7ea; }
|
||||
&.oceanwp-vine a:hover { color: #00bf8f; }
|
||||
&.oceanwp-xing a:hover { color: #006464; }
|
||||
&.oceanwp-yelp a:hover { color: #C41200; }
|
||||
&.oceanwp-tripadvisor a:hover { color: #589442; }
|
||||
&.oceanwp-rss a:hover { color: #ff7900; }
|
||||
&.oceanwp-email a:hover { color: #13aff0; }
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Top Bar Social Right
|
||||
*/
|
||||
#top-bar-social.top-bar-right {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Top Bar Social Left
|
||||
*/
|
||||
#top-bar-social.top-bar-left {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Top Bar Social Centered
|
||||
*/
|
||||
#top-bar-social.top-bar-centered {
|
||||
padding-top: 15px;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
|
||||
#top-bar-social {
|
||||
text-align: center;
|
||||
|
||||
&.top-bar-left,
|
||||
&.top-bar-right {
|
||||
position: inherit;
|
||||
left: auto;
|
||||
right: auto;
|
||||
float: none;
|
||||
height: auto;
|
||||
line-height: 1.5em;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
#top-bar-wrap {
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
font-size: 12px;
|
||||
border-bottom: 1px solid $color-9;
|
||||
z-index: 101;
|
||||
}
|
||||
|
||||
#top-bar {
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
#top-bar-inner {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.top-bar-left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.top-bar-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.top-bar-centered {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
|
||||
#top-bar {
|
||||
padding: 20px 0;
|
||||
|
||||
> div:nth-child(2) {
|
||||
padding-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.top-bar-right {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
#top-bar-wrap {
|
||||
z-index: 100;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user