first commit
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
.owp-header {
|
||||
display: table;
|
||||
width: 100%;
|
||||
-webkit-box-shadow: 0 5px 8px rgba(0,0,0,.05);
|
||||
box-shadow: 0 5px 8px rgba(0,0,0,.05);
|
||||
margin: 0 -12px 8px;
|
||||
padding: 0 12px 12px;
|
||||
}
|
||||
|
||||
.owp-header .owp-logo,
|
||||
.owp-header .owp-versions {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.owp-header .owp-logo {
|
||||
width: 40px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.owp-header .owp-logo img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.owp-header .owp-versions {
|
||||
padding: 0 10px;
|
||||
font-size: 1em;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.owp-dashboard-widget .rss-widget {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#dashboard-widgets .owp-dashboard-widget .owp-heading {
|
||||
font-weight: 700;
|
||||
border-bottom: 1px solid #eee;
|
||||
margin: 0 -12px 12px;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
.owp-dashboard-widget .rssSummary {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.owp-news-footer {
|
||||
margin: 15px -12px -12px;
|
||||
padding: 12px;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.owp-news-footer a {
|
||||
padding: 0 10px;
|
||||
border-left: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.owp-news-footer a:first-child {
|
||||
padding-left: 0;
|
||||
border: none;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.owp-header{display:table;width:100%;-webkit-box-shadow:0 5px 8px rgba(0,0,0,.05);box-shadow:0 5px 8px rgba(0,0,0,.05);margin:0 -12px 8px;padding:0 12px 12px}.owp-header .owp-logo,.owp-header .owp-versions{display:table-cell;vertical-align:middle}.owp-header .owp-logo{width:40px;line-height:1}.owp-header .owp-logo img{width:100%}.owp-header .owp-versions{padding:0 10px;font-size:1em;line-height:1.5}.owp-dashboard-widget .rss-widget{font-size:14px}#dashboard-widgets .owp-dashboard-widget .owp-heading{font-weight:700;border-bottom:1px solid #eee;margin:0 -12px 12px;padding:6px 12px}.owp-dashboard-widget .rssSummary{color:#333}.owp-news-footer{margin:15px -12px -12px;padding:12px;border-top:1px solid #eee}.owp-news-footer a{padding:0 10px;border-left:1px solid #ddd}.owp-news-footer a:first-child{padding-left:0;border:none}
|
||||
@@ -0,0 +1,299 @@
|
||||
/*------------------------------------*
|
||||
$BLOG
|
||||
*------------------------------------*/
|
||||
#blog-entries {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.blog-entry.post {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.blog-entry.post .thumbnail {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.blog-entry.post .thumbnail .overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
opacity: 0;
|
||||
text-align: center;
|
||||
transition: all .3s ease-in-out;
|
||||
-webkit-transition: all .3s ease-in-out;
|
||||
-moz-transition: all .3s ease-in-out;
|
||||
-o-transition: all .3s ease-in-out;
|
||||
-ms-transition: all .3s ease-in-out;
|
||||
}
|
||||
|
||||
.blog-entry.post .thumbnail:hover .overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.blog-entry.post .thumbnail img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.blog-entry.post ul.meta {
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.blog-entry.post .blog-entry-header {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.blog-entry.post .blog-entry-header h2 {
|
||||
font-size: 24px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.blog-entry.post .blog-entry-header h2 a {
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
|
||||
.blog-entry.post .blog-entry-summary {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.blog-entry.post .blog-entry-summary p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gallery Format
|
||||
*/
|
||||
.gallery-format {
|
||||
display: none;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.gallery-format img {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.gallery-format .slick-prev,
|
||||
.gallery-format .slick-next {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.gallery-format:hover .slick-prev,
|
||||
.gallery-format:hover .slick-next {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Video/audio format
|
||||
*/
|
||||
.wp-video {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Link Format
|
||||
*/
|
||||
.link-entry i {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
font-size: 22px;
|
||||
line-height: 60px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
transition: all .3s ease;
|
||||
}
|
||||
|
||||
.thumbnail:hover i {
|
||||
background-color: #13aff0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Quote format
|
||||
*/
|
||||
.post-quote-content,
|
||||
.post-quote-author {
|
||||
position: relative;
|
||||
background-color: #13aff0;
|
||||
color: #fff;
|
||||
font-size: 20px;
|
||||
padding: 20px 30px;
|
||||
line-height: 1.6;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.post-quote-icon {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
bottom: 10px;
|
||||
font-size: 48px;
|
||||
opacity: 0.2;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.post-quote-author {
|
||||
background-color: #0b7cac;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
padding: 10px 30px;
|
||||
margin-top: 1px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
|
||||
.single-post .post-quote-wrap {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Meta
|
||||
*/
|
||||
ul.meta {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
color: #777;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
margin: 0 0 20px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul.meta li {
|
||||
float: left;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
ul.meta li:after {
|
||||
content: '-';
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
ul.meta li:last-child:after {
|
||||
display: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.meta li a {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
ul.meta li a:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
ul.meta li i {
|
||||
display: inline-block;
|
||||
color: #929292;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Single Post
|
||||
*/
|
||||
.single .thumbnail {
|
||||
position: relative;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.single .thumbnail img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.single h2.entry-title {
|
||||
font-size: 34px;
|
||||
padding: 0 0 20px;
|
||||
margin: 0 0 15px;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Single Post Content
|
||||
*/
|
||||
.single .entry-content {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.dropcap {
|
||||
float: left;
|
||||
color: #13aff0;
|
||||
font-size: 120px;
|
||||
line-height: 80px;
|
||||
margin-top: 6px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.entry-footer {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Single Post Tags
|
||||
*/
|
||||
.single .post-tags {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
margin: 30px 0 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
$SEARCH
|
||||
*------------------------------------*/
|
||||
#blog-entries .type-page {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 20px;
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
}
|
||||
|
||||
#blog-entries .type-page .entry-summary p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
.blog-entry {
|
||||
width: 100% !important;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* blog */
|
||||
.single-post.media-above-content .thumbnail {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.single-post h2.entry-title {
|
||||
font-size: 26px;
|
||||
}
|
||||
ul.meta {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
ul.meta li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
blockquote {
|
||||
margin: 20px 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
/*------------------------------------*
|
||||
$BLOG GRID
|
||||
*------------------------------------*/
|
||||
.blog-entry.grid-entry {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry .blog-entry-inner {
|
||||
padding: 0 20px 20px;
|
||||
border: 1px solid #e9e9e9;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry .thumbnail {
|
||||
margin: 0 -20px;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry ul.meta {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry .blog-entry-header {
|
||||
margin: 20px 0 12px;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry .blog-entry-header h2 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry .blog-entry-summary {
|
||||
line-height: 1.6;
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry .blog-entry-readmore {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry .blog-entry-readmore a {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
padding-bottom: 3px;
|
||||
border-bottom: 1px solid;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.blog-entry.grid-entry .blog-entry-readmore a i {
|
||||
margin-left: 5px;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*------------------------------------*
|
||||
$BLOG LARGE
|
||||
*------------------------------------*/
|
||||
.blog-entry.large-entry {
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.blog-entry.large-entry .thumbnail {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.blog-entry.large-entry .blog-entry-readmore a {
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
border: 1px solid #ddd;
|
||||
padding: 10px 16px;
|
||||
border-radius: 2px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.blog-entry.large-entry .blog-entry-readmore a:hover {
|
||||
color: #13aff0;
|
||||
border-color: #13aff0;
|
||||
}
|
||||
|
||||
.blog-entry.large-entry .blog-entry-readmore a i {
|
||||
margin-left: 8px;
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
/*------------------------------------*
|
||||
$CENTER HEADER
|
||||
*------------------------------------*/
|
||||
#site-header.center-header #site-logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#site-header.center-header #site-navigation-wrap {
|
||||
float: none;
|
||||
right: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#site-header.center-header #site-navigation-wrap .dropdown-menu > li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#site-header.center-header #site-navigation-wrap .dropdown-menu > li > a {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
padding: 0 18px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#site-header.center-header #site-navigation {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#site-header.center-header #site-navigation .middle-site-logo {
|
||||
margin: 15px 25px;
|
||||
}
|
||||
|
||||
#site-header.center-header #site-navigation .middle-site-logo a {
|
||||
background-color: transparent !important;
|
||||
padding: 0 !important;
|
||||
line-height: 1 !important;
|
||||
}
|
||||
|
||||
#site-header.center-header #site-navigation .middle-site-logo a img {
|
||||
width: auto;
|
||||
vertical-align: middle;
|
||||
-webkit-transition: opacity .3s ease-out;
|
||||
-moz-transition: opacity .3s ease-out;
|
||||
-o-transition: opacity .3s ease-out;
|
||||
transition: opacity .3s ease-out;
|
||||
}
|
||||
|
||||
#site-header.center-header #site-navigation .middle-site-logo a:hover img {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Retina Logo
|
||||
*------------------------------------*/
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
|
||||
/* logo */
|
||||
#site-navigation-wrap .dropdown-menu > li.middle-site-logo.has-retina-logo > a.custom-logo-link {
|
||||
display: none;
|
||||
}
|
||||
#site-navigation-wrap .dropdown-menu > li.middle-site-logo.has-retina-logo > a.retina-logo-link {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* header > logo */
|
||||
#site-header.center-header #site-logo {
|
||||
display: table;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* logo */
|
||||
#site-navigation-wrap .dropdown-menu > li.middle-site-logo.has-retina-logo > a.custom-logo-link {
|
||||
display: none;
|
||||
}
|
||||
#site-navigation-wrap .dropdown-menu > li.middle-site-logo.has-retina-logo > a.retina-logo-link {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,225 @@
|
||||
/*------------------------------------*
|
||||
$COMMENT
|
||||
*------------------------------------*/
|
||||
#respond {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#respond form {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#respond .comment-textarea,
|
||||
#respond .comment-form-author,
|
||||
#respond .comment-form-email,
|
||||
#respond .comment-form-url {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#respond .comment-form-author,
|
||||
#respond .comment-form-email,
|
||||
#respond .comment-form-url {
|
||||
float: left;
|
||||
width: 33.33%;
|
||||
}
|
||||
|
||||
#respond .comment-form-author {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#respond .comment-form-email {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
#respond .comment-form-url {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
#respond input[type="text"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#respond .form-submit {
|
||||
float: right;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#comments {
|
||||
margin-top: 30px;
|
||||
padding-top: 30px;
|
||||
border-top: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
#comments ol {
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#comments ol.children {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
#comments.empty-closed-comments {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.comment-body {
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 30px;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
.comment-body img {
|
||||
float: left;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin-right: 30px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.comment-body .comment-content {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.comment-author {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.comment-author .comment-link, .comment-author .comment-meta {
|
||||
font-weight: 600;
|
||||
margin: 5px 0 8px;
|
||||
}
|
||||
|
||||
.comment-author .comment-link {
|
||||
float: left;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.comment-author .comment-meta {
|
||||
float: right;
|
||||
text-align: right;
|
||||
font-size: 10px;
|
||||
line-height: 2.5;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
.comment-author .comment-meta .comment-reply-link, .comment-author .comment-meta .comment-edit-link {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.comment-author .comment-meta .comment-reply-link {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
.comment-author .comment-meta .comment-reply-link:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#respond #cancel-comment-reply-link {
|
||||
font-size: 10px;
|
||||
color: #929292;
|
||||
float: right;
|
||||
border: 2px solid #f1f1f1;
|
||||
padding: 3px 10px;
|
||||
border-radius: 3px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
#respond #cancel-comment-reply-link:hover {
|
||||
color: #13aff0;
|
||||
border-color: #13aff0;
|
||||
}
|
||||
|
||||
span.required {
|
||||
position: relative;
|
||||
top: -4px;
|
||||
font-size: 10px;
|
||||
margin-left: 3px;
|
||||
color: #F00;
|
||||
}
|
||||
|
||||
.comment-body p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.no-comments {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.no-comments i {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.comment-navigation {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-links a {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
padding-bottom: 3px;
|
||||
border-bottom: 1px solid;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-links .nav-previous {
|
||||
float: left;
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-links .nav-previous i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-links .nav-next {
|
||||
float: right;
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-links .nav-next i {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* comments */
|
||||
#comments ol.children {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
#respond .comment-form-author,
|
||||
#respond .comment-form-email,
|
||||
#respond .comment-form-url {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding-right: 0;
|
||||
padding: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* comments */
|
||||
.comment-body img {
|
||||
display: none;
|
||||
}
|
||||
.comment-author {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.comment-author .comment-link,
|
||||
.comment-author .comment-meta {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
/*------------------------------------*
|
||||
$CUSTOM HEADER
|
||||
*------------------------------------*/
|
||||
#site-header.custom-header ul.oceanwp-custom-menu {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#site-header.custom-header ul.oceanwp-custom-menu li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#site-header.custom-header ul.oceanwp-custom-menu li a {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
line-height: 40px;
|
||||
padding: 0 15px;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
|
||||
.custom-header-logo.left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.custom-header-logo.right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.custom-header-logo.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.custom-header-logo #site-logo {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.custom-header-logo #site-logo #site-logo-inner {
|
||||
display: block;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.custom-header-nav.left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.custom-header-nav.right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.custom-header-nav.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.custom-header-nav #site-navigation-wrap {
|
||||
float: none;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.custom-header-nav #site-navigation-wrap #site-navigation {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.custom-header-nav #site-navigation-wrap .dropdown-menu > li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
/*------------------------------------*
|
||||
$CUSTOM SELECTS
|
||||
*------------------------------------*/
|
||||
.hasCustomSelect {
|
||||
width: 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.theme-select {
|
||||
position: relative;
|
||||
border: 1px solid #ddd;
|
||||
color: #555;
|
||||
height: 34px;
|
||||
line-height: 32px;
|
||||
padding: 0 45px 0 15px;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.theme-select:after {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
content: '\f107';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
display: block;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: #929292;
|
||||
border-left: 1px solid #ddd;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
/*------------------------------------*
|
||||
$SEARCHFORM DROPDOWN
|
||||
*------------------------------------*/
|
||||
#searchform-dropdown {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
background-color: #fff;
|
||||
border-top: 3px solid #13aff0;
|
||||
top: 100%;
|
||||
padding: 15px;
|
||||
width: 260px;
|
||||
-webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
|
||||
-moz-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: all 0.25s ease-in-out;
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
#searchform-dropdown input {
|
||||
display: block;
|
||||
background-color: transparent;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.oceanwp-dropdown-top-border #searchform-dropdown {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* display search on click */
|
||||
#searchform-dropdown.show {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/*------------------------------------*
|
||||
$404 PAGE
|
||||
*------------------------------------*/
|
||||
.error404-content {
|
||||
position: relative;
|
||||
width: 65%;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.error404-content .error-title {
|
||||
font-size: 46px;
|
||||
margin: 0 0 25px;
|
||||
}
|
||||
|
||||
.error404-content .error-text {
|
||||
font-size: 18px;
|
||||
color: #555;
|
||||
font-weight: 300;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
.error404-content .searchform {
|
||||
width: 50%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.error404-content .error-btn {
|
||||
font-size: 13px;
|
||||
padding: 14px 26px;
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.error404-content .error-btn:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* 404 page */
|
||||
.error404-content {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* 404 page */
|
||||
.error404-content .searchform {
|
||||
width: 100%;
|
||||
}
|
||||
.error404-content .error-btn {
|
||||
margin-top: 40px;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,105 @@
|
||||
/*------------------------------------*
|
||||
$FOOTER BOTTOM
|
||||
*------------------------------------*/
|
||||
#footer-bottom {
|
||||
background-color: #1B1B1B;
|
||||
padding: 15px 0;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
#footer-bottom #footer-bottom-menu, #footer-bottom #copyright {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#footer-bottom #footer-bottom-menu {
|
||||
float: right;
|
||||
text-align: right;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
#footer-bottom #footer-bottom-menu ul {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#footer-bottom #footer-bottom-menu li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#footer-bottom #footer-bottom-menu li:after {
|
||||
content: '|';
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#footer-bottom #footer-bottom-menu li:last-child:after {
|
||||
content: '';
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#footer-bottom #footer-bottom-menu a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#footer-bottom #footer-bottom-menu a:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
#footer-bottom.no-footer-nav #copyright {
|
||||
float: none;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
#footer-bottom #copyright {
|
||||
float: left;
|
||||
text-align: left;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
#footer-bottom a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#footer-bottom a:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* center footer bottom */
|
||||
#footer-bottom #copyright,
|
||||
#footer-bottom #footer-bottom-menu {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
text-align: center;
|
||||
}
|
||||
#footer-bottom #footer-bottom-menu {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
#footer-bottom #footer-bottom-menu li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* footer bottom links menu */
|
||||
#footer-bottom #footer-bottom-menu li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
/*------------------------------------*
|
||||
$FOOTER
|
||||
*------------------------------------*/
|
||||
.site-footer {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/**
|
||||
* Footer widgets
|
||||
*/
|
||||
#footer-widgets {
|
||||
background-color: #222;
|
||||
padding: 30px 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#footer-widgets .footer-box {
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#footer-widgets .footer-box .footer-widget {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#footer-widgets .footer-box .footer-widget:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#footer-widgets .footer-box .footer-widget ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#footer-widgets .footer-box .widget-title {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#footer-widgets .footer-box a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#footer-widgets .footer-box a:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
#footer-widgets #wp-calendar caption,
|
||||
#footer-widgets #wp-calendar th,
|
||||
#footer-widgets #wp-calendar tbody,
|
||||
#footer-widgets .contact-info-widget i,
|
||||
#footer-widgets .mailchimp-widget input[type="email"],
|
||||
#footer-widgets .posts-thumbnails-widget li,
|
||||
#footer-widgets .social-widget li a {
|
||||
border-color: #555;
|
||||
}
|
||||
|
||||
#footer-widgets .mailchimp-widget input[type="email"]:focus {
|
||||
border-color: #13aff0;
|
||||
}
|
||||
|
||||
#footer-widgets .tagcloud a {
|
||||
background-color: #222;
|
||||
border-color: #333;
|
||||
}
|
||||
|
||||
#footer-widgets .tagcloud a:hover {
|
||||
background-color: #444;
|
||||
color: #fff;
|
||||
border-color: #555;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
#footer-widgets.tablet-2-col .footer-box:nth-child(3n) {
|
||||
clear: left;
|
||||
}
|
||||
#footer-widgets.tablet-3-col .footer-box {
|
||||
width: 33.33% !important;
|
||||
clear: none;
|
||||
}
|
||||
#footer-widgets.tablet-3-col .footer-box:nth-child(4n) {
|
||||
clear: left;
|
||||
}
|
||||
#footer-widgets.tablet-4-col .footer-box {
|
||||
width: 25% !important;
|
||||
}
|
||||
#footer-widgets.tablet-4-col .footer-box: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;
|
||||
}
|
||||
#footer-widgets.mobile-2-col .footer-box:nth-child(3n) {
|
||||
clear: left;
|
||||
}
|
||||
#footer-widgets.mobile-3-col .footer-box {
|
||||
width: 33.33% !important;
|
||||
clear: none;
|
||||
}
|
||||
#footer-widgets.mobile-3-col .footer-box:nth-child(4n) {
|
||||
clear: left;
|
||||
}
|
||||
#footer-widgets.mobile-4-col .footer-box {
|
||||
width: 25% !important;
|
||||
}
|
||||
#footer-widgets.mobile-4-col .footer-box:nth-child(5n) {
|
||||
clear: left;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* margin footer columns */
|
||||
#footer-widgets .col {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,369 @@
|
||||
/*------------------------------------*
|
||||
$FULL SCREEN HEADER
|
||||
*------------------------------------*/
|
||||
#site-header.full_screen-header #site-header-inner {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #site-navigation-wrap {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #site-logo.has-full-screen-logo {
|
||||
position: relative;
|
||||
z-index: 101;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #site-logo.has-full-screen-logo .full-screen-logo-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #site-logo.has-full-screen-logo.opened .custom-logo-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #site-logo.has-full-screen-logo.opened .full-screen-logo-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar-wrap {
|
||||
float: right;
|
||||
height: 100%;
|
||||
display: table;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar-inner {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
height: 74px;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-left: 10px;
|
||||
min-width: 38px;
|
||||
height: 33px;
|
||||
text-align: center;
|
||||
z-index: 101;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar .ham {
|
||||
display: inline-block;
|
||||
width: 23px;
|
||||
height: 2px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
background-color: #333;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
-webkit-transition: all ease .3s;
|
||||
-moz-transition: all ease .3s;
|
||||
-o-transition: all ease .3s;
|
||||
transition: all ease .3s;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar .ham:before, #site-header.full_screen-header .menu-bar .ham:after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 23px;
|
||||
height: 2px;
|
||||
left: 0;
|
||||
background-color: #333;
|
||||
outline: 1px solid transparent;
|
||||
-webkit-transition: all ease .3s;
|
||||
-moz-transition: all ease .3s;
|
||||
-o-transition: all ease .3s;
|
||||
transition: all ease .3s;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar .ham:before {
|
||||
top: -8px;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar .ham:after {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar.exit .ham {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar.exit .ham:before, #site-header.full_screen-header .menu-bar.exit .ham:after {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar.exit .ham:before {
|
||||
-webkit-transform: translateY(8px) rotateZ(-45deg);
|
||||
-moz-transform: translateY(8px) rotateZ(-45deg);
|
||||
-ms-transform: translateY(8px) rotateZ(-45deg);
|
||||
-o-transform: translateY(8px) rotateZ(-45deg);
|
||||
transform: translateY(8px) rotateZ(-45deg);
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .menu-bar.exit .ham:after {
|
||||
-webkit-transform: translateY(-8px) rotateZ(45deg);
|
||||
-moz-transform: translateY(-8px) rotateZ(45deg);
|
||||
-ms-transform: translateY(-8px) rotateZ(45deg);
|
||||
-o-transform: translateY(-8px) rotateZ(45deg);
|
||||
transform: translateY(-8px) rotateZ(45deg);
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #full-screen-menu {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
overflow-y: scroll;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #full-screen-menu #full-screen-menu-inner {
|
||||
display: table;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 40px;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #full-screen-menu #site-navigation {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
padding: 100px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu li a {
|
||||
display: block;
|
||||
color: #fff;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu li a:hover {
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu li > a .nav-arrow {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu li > a .nav-arrow:before {
|
||||
content: '+';
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu li.open-sub > a .nav-arrow:before {
|
||||
content: '-';
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu ul.sub-menu {
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu ul.sub-menu li a {
|
||||
font-size: 16px;
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li > a {
|
||||
font-size: 24px;
|
||||
line-height: 1.2;
|
||||
padding: 12px 0;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li {
|
||||
max-width: 220px;
|
||||
margin: 10px auto 0;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li form {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li input, #site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li label {
|
||||
font-size: 20px;
|
||||
padding: 4px 0;
|
||||
color: #fff;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li input {
|
||||
position: relative;
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #666;
|
||||
border-radius: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li input:hover, #site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li input:focus {
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li label {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
cursor: text;
|
||||
opacity: .5;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li label i {
|
||||
display: inline-block;
|
||||
background-color: #fff;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
margin-left: 3px;
|
||||
-webkit-animation: blink 1s linear infinite;
|
||||
-moz-animation: blink 1s linear infinite;
|
||||
-o-animation: blink 1s linear infinite;
|
||||
animation: blink 1s linear infinite;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li label i + i {
|
||||
-webkit-animation-delay: .2s;
|
||||
-moz-animation-delay: .2s;
|
||||
-o-animation-delay: .2s;
|
||||
animation-delay: .2s;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li label i + i + i {
|
||||
-webkit-animation-delay: .4s;
|
||||
-moz-animation-delay: .4s;
|
||||
-o-animation-delay: .4s;
|
||||
animation-delay: .4s;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header .fs-dropdown-menu > li.search-toggle-li form.search-filled label {
|
||||
opacity: 0;
|
||||
-webkit-transition-duration: 150ms;
|
||||
-moz-transition-duration: 150ms;
|
||||
-o-transition-duration: 150ms;
|
||||
transition-duration: 150ms;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #oceanwp-social-menu {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-top: 30px;
|
||||
text-align: center;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #oceanwp-social-menu .social-menu-inner {
|
||||
display: block;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #oceanwp-social-menu ul li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #oceanwp-social-menu.simple-social ul li a {
|
||||
color: #fff;
|
||||
font-size: 24px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #oceanwp-social-menu.simple-social ul li a:hover {
|
||||
color: #929292;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #oceanwp-social-menu .colored ul li a,
|
||||
#site-header.full_screen-header #oceanwp-social-menu .minimal ul li a,
|
||||
#site-header.full_screen-header #oceanwp-social-menu .dark ul li a {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
#site-header.full_screen-header #oceanwp-social-menu .colored ul li a span,
|
||||
#site-header.full_screen-header #oceanwp-social-menu .minimal ul li a span,
|
||||
#site-header.full_screen-header #oceanwp-social-menu .dark ul li a span {
|
||||
font-size: 16px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
}
|
||||
|
||||
@-webkit-keyframes blink {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes blink {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-o-keyframes blink {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* header > logo */
|
||||
#site-header.full_screen-header #site-logo.has-full-screen-logo.opened .custom-logo-link {
|
||||
display: block;
|
||||
}
|
||||
#site-header.full_screen-header #site-logo.has-full-screen-logo.opened .full-screen-logo-link {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
#site-header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.no-header-border #site-header {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.is-sticky #site-header.transparent-header {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#site-header-inner {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#site-logo {
|
||||
float: left;
|
||||
height: 100%;
|
||||
display: table;
|
||||
}
|
||||
|
||||
#site-logo.has-transparent-logo .transparent-logo-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#site-logo #site-logo-inner {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
height: 74px;
|
||||
}
|
||||
|
||||
#site-logo #site-logo-inner a {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
#site-logo #site-logo-inner a img {
|
||||
width: auto;
|
||||
vertical-align: middle;
|
||||
-webkit-transition: opacity .3s ease-out;
|
||||
-moz-transition: opacity .3s ease-out;
|
||||
-o-transition: opacity .3s ease-out;
|
||||
transition: opacity .3s ease-out;
|
||||
}
|
||||
|
||||
#site-logo #site-logo-inner a:hover img {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
#site-logo a.site-logo-text {
|
||||
font-size: 24px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#site-logo-fa-icon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#site-logo-fa-icon.fa-oceanwp-hidden {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Video header
|
||||
*/
|
||||
#site-header .custom-header-media {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#site-header .custom-header-media:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: block;
|
||||
height: 100%;
|
||||
z-index: 2;
|
||||
background: -moz-linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%);
|
||||
background: -webkit-linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%);
|
||||
background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0);
|
||||
}
|
||||
|
||||
#site-header .custom-header-media video, #site-header .custom-header-media iframe {
|
||||
position: absolute;
|
||||
height: auto;
|
||||
left: 50%;
|
||||
max-width: 1000%;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
min-width: 100vw;
|
||||
width: auto;
|
||||
top: 50%;
|
||||
-ms-transform: translateX(-50%) translateY(-50%);
|
||||
-moz-transform: translateX(-50%) translateY(-50%);
|
||||
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
#site-header .custom-header-media .wp-custom-header-video-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.has-header-video #site-header-inner {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Mobile Menu
|
||||
*------------------------------------*/
|
||||
#site-logo .retina-logo-link,
|
||||
#site-logo .transparent-retina-logo-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Retina Logo
|
||||
*------------------------------------*/
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
|
||||
/* logo */
|
||||
#site-logo.has-retina-logo .custom-logo-link {
|
||||
display: none;
|
||||
}
|
||||
#site-logo.has-retina-logo .retina-logo-link {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* header > logo */
|
||||
.has-left-menu #site-logo {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
#site-logo {
|
||||
margin-top: 0px !important;
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
#site-logo.has-retina-logo .custom-logo-link {
|
||||
display: none;
|
||||
}
|
||||
#site-logo.has-retina-logo .retina-logo-link {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
/*------------------------------------*
|
||||
$SEARCHFORM HEADER REPLACE
|
||||
*------------------------------------*/
|
||||
#site-header.header-replace #site-navigation .dropdown-menu {
|
||||
transition: opacity 0.25s ease-in-out;
|
||||
-webkit-transition: opacity 0.25s ease-in-out;
|
||||
-moz-transition: opacity 0.25s ease-in-out;
|
||||
-o-transition: opacity 0.25s ease-in-out;
|
||||
-ms-transition: opacity 0.25s ease-in-out;
|
||||
}
|
||||
|
||||
#site-header.header-replace #site-navigation.hide .dropdown-menu {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#searchform-header-replace {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.25s ease-in-out;
|
||||
-webkit-transition: opacity 0.25s ease-in-out;
|
||||
-moz-transition: opacity 0.25s ease-in-out;
|
||||
-o-transition: opacity 0.25s ease-in-out;
|
||||
-ms-transition: opacity 0.25s ease-in-out;
|
||||
}
|
||||
|
||||
#searchform-header-replace form {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#searchform-header-replace input {
|
||||
height: 100%;
|
||||
width: 94%;
|
||||
font-size: 22px;
|
||||
background-color: transparent;
|
||||
color: #bbb;
|
||||
padding: 0;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#searchform-header-replace-close {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
margin-top: -20px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
font-size: 26px;
|
||||
color: #bbb;
|
||||
cursor: pointer;
|
||||
transition: all .3s ease;
|
||||
}
|
||||
|
||||
#searchform-header-replace-close:hover {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
/* display search on click */
|
||||
#searchform-header-replace.show {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
@@ -0,0 +1,231 @@
|
||||
/*------------------------------------*
|
||||
$CHOCOLAT
|
||||
*------------------------------------*/
|
||||
.chocolat-zoomable.chocolat-zoomed .chocolat-img {
|
||||
cursor: zoom-out;
|
||||
}
|
||||
|
||||
.chocolat-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.chocolat-overlay {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
background-color: #000;
|
||||
display: none;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.chocolat-wrapper {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 99999;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.chocolat-zoomable .chocolat-img {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.chocolat-loader{
|
||||
display:none;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
margin-left: -16px;
|
||||
margin-top: -16px;
|
||||
border-left: 3px solid rgba(255, 255, 255, 0.15);
|
||||
border-right: 3px solid rgba(255, 255, 255, 0.15);
|
||||
border-bottom: 3px solid rgba(255, 255, 255, 0.15);
|
||||
border-top: 3px solid rgba(255, 255, 255, 0.8);
|
||||
border-radius: 100%;
|
||||
-webkit-animation: rotation .6s infinite linear;
|
||||
-moz-animation: rotation .6s infinite linear;
|
||||
-o-animation: rotation .6s infinite linear;
|
||||
animation: rotation .6s infinite linear;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
@-webkit-keyframes rotation {
|
||||
from {-webkit-transform: rotate(0deg);}
|
||||
to {-webkit-transform: rotate(359deg);}
|
||||
}
|
||||
@-moz-keyframes rotation {
|
||||
from {-moz-transform: rotate(0deg);}
|
||||
to {-moz-transform: rotate(359deg);}
|
||||
}
|
||||
@-o-keyframes rotation {
|
||||
from {-o-transform: rotate(0deg);}
|
||||
to {-o-transform: rotate(359deg);}
|
||||
}
|
||||
@keyframes rotation {
|
||||
from {transform: rotate(0deg);}
|
||||
to {transform: rotate(359deg);}
|
||||
}
|
||||
|
||||
.chocolat-content {
|
||||
position: fixed;
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
z-index: 14;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.chocolat-content .chocolat-img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-left {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 50px;
|
||||
height: 100px;
|
||||
top: 50%;
|
||||
margin-top: -50px;
|
||||
cursor: pointer;
|
||||
background: url(../../themes/oceanwp/assets/img/left.png) 50% 50% no-repeat;
|
||||
z-index: 17;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-right {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 50px;
|
||||
height: 100px;
|
||||
top: 50%;
|
||||
margin-top: -50px;
|
||||
cursor: pointer;
|
||||
background: url(../../themes/oceanwp/assets/img/right.png) 50% 50% no-repeat;
|
||||
z-index: 17;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-right.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-left.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-top {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
line-height: 50px;
|
||||
height: 50px;
|
||||
overflow: hidden;
|
||||
z-index: 17;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-close {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background: url(../../themes/oceanwp/assets/img/close.png) 50% 50% no-repeat;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-bottom {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
line-height: 40px;
|
||||
height: 40px;
|
||||
font-size: 12px;
|
||||
z-index: 17;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
text-align: right;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-set-title {
|
||||
display: inline-block;
|
||||
padding-right: 15px;
|
||||
line-height: 1;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-pagination {
|
||||
float: right;
|
||||
display: inline-block;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
margin-right: 15px;
|
||||
/*border-right: 1px solid rgba(255, 255, 255, 0.2);*/
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-fullscreen {
|
||||
width: 16px;
|
||||
height: 40px;
|
||||
background: url(../../themes/oceanwp/assets/img/fullscreen.png) 50% 50% no-repeat;
|
||||
display: block;
|
||||
margin: auto;
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.chocolat-wrapper .chocolat-description {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* no container mode*/
|
||||
body.chocolat-open > .chocolat-overlay {
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
body.chocolat-open > .chocolat-loader {
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
body.chocolat-open > .chocolat-content {
|
||||
z-index: 17;
|
||||
}
|
||||
|
||||
/* container mode*/
|
||||
.chocolat-in-container .chocolat-wrapper,
|
||||
.chocolat-in-container .chocolat-content,
|
||||
.chocolat-in-container .chocolat-overlay {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.chocolat-in-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* RTL */
|
||||
body.rtl .chocolat-overlay { right: 0; left: auto; }
|
||||
body.rtl .chocolat-wrapper { right: 0; left: auto; }
|
||||
body.rtl .chocolat-loader { right: 50%; left: auto; margin-right: -16px; margin-left: 0; }
|
||||
body.rtl .chocolat-content { text-align: right; }
|
||||
body.rtl .chocolat-wrapper .chocolat-left { right: 0; left: auto; }
|
||||
body.rtl .chocolat-wrapper .chocolat-right { left: 0; right: auto; }
|
||||
body.rtl .chocolat-wrapper .chocolat-close { left: 0; right: auto; }
|
||||
body.rtl .chocolat-wrapper .chocolat-bottom { text-align: left; }
|
||||
body.rtl .chocolat-wrapper .chocolat-set-title { padding-left: 15px; padding-right: 0; border-left: 1px solid rgba(255, 255, 255, 0.3); border-right: none; }
|
||||
body.rtl .chocolat-wrapper .chocolat-pagination { float: left; margin-left: 15px; margin-right: 0; }
|
||||
body.rtl .chocolat-wrapper .chocolat-fullscreen { float: left; }
|
||||
body.rtl .chocolat-wrapper .chocolat-description { float: right; }
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,293 @@
|
||||
/*------------------------------------*
|
||||
$MEDIUM HEADER
|
||||
*------------------------------------*/
|
||||
#site-header.medium-header {
|
||||
background-color: transparent;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#site-header.medium-header .top-header-wrap {
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
padding: 30px 0;
|
||||
-webkit-transition: padding .4s ease-in-out;
|
||||
-moz-transition: padding .4s ease-in-out;
|
||||
-o-transition: padding .4s ease-in-out;
|
||||
-ms-transition: padding .4s ease-in-out;
|
||||
transition: padding .4s ease-in-out;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#site-header.medium-header .top-header-inner {
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-align-items: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#site-header.medium-header .top-col {
|
||||
-webkit-flex: 1 0 0;
|
||||
flex: 1 0 0;
|
||||
}
|
||||
|
||||
#site-header.medium-header .top-col.logo-col {
|
||||
-webkit-flex: auto 0 0;
|
||||
flex: auto 0 0;
|
||||
}
|
||||
|
||||
#site-header.medium-header .top-col.col-1 {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#site-header.medium-header .top-col.col-2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#site-header.medium-header .top-col.col-3 {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform form {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform form.search-filled label {
|
||||
opacity: 0;
|
||||
-webkit-transition-duration: 150ms;
|
||||
-moz-transition-duration: 150ms;
|
||||
-o-transition-duration: 150ms;
|
||||
transition-duration: 150ms;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform input {
|
||||
position: relative;
|
||||
background-color: transparent !important;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 6px 38px 6px 12px;
|
||||
max-width: 178px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform input:focus {
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform label, #site-header.medium-header #medium-searchform button {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
line-height: 40px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform label {
|
||||
left: 12px;
|
||||
color: #333;
|
||||
cursor: text;
|
||||
opacity: .5;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform button {
|
||||
right: 0;
|
||||
width: 38px;
|
||||
background-color: transparent;
|
||||
color: #555;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
z-index: 2;
|
||||
transition: all .3s ease;
|
||||
-webkit-transition: all .3s ease;
|
||||
-moz-transition: all .3s ease;
|
||||
-o-transition: all .3s ease;
|
||||
-ms-transition: all .3s ease;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform button:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
#site-header.medium-header #medium-searchform .search-bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
#site-header.medium-header #site-logo {
|
||||
float: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#site-header.medium-header #site-logo #site-logo-inner {
|
||||
display: block;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
#site-header.medium-header #oceanwp-social-menu {
|
||||
float: none;
|
||||
display: block;
|
||||
right: auto !important;
|
||||
left: auto !important;
|
||||
}
|
||||
|
||||
#site-header.medium-header #oceanwp-social-menu .social-menu-inner {
|
||||
display: block;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#site-header.medium-header #oceanwp-social-menu ul li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#site-header.medium-header #site-navigation-wrap {
|
||||
position: relative;
|
||||
background-color: #f9f9f9;
|
||||
float: none;
|
||||
position: relative;
|
||||
right: auto !important;
|
||||
left: auto !important;
|
||||
-ms-transform: none;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
#site-header.medium-header #site-navigation-wrap.left-menu #site-navigation {
|
||||
float: left;
|
||||
left: -22px;
|
||||
}
|
||||
|
||||
#site-header.medium-header #site-navigation-wrap.center-menu #site-navigation .dropdown-menu > li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#site-header.medium-header #site-navigation-wrap.right-menu #site-navigation {
|
||||
float: right;
|
||||
right: -22px;
|
||||
}
|
||||
|
||||
#site-header.medium-header #site-navigation-wrap #site-navigation {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#site-header.medium-header #site-navigation-wrap .dropdown-menu > li > a {
|
||||
font-size: 12px;
|
||||
line-height: 60px;
|
||||
padding: 0 22px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
#site-header.medium-header.hidden-menu #site-navigation-wrap,
|
||||
#site-header.medium-header.hidden-menu #site-navigation,
|
||||
#site-header.medium-header.hidden-menu #oceanwp-mobile-menu-icon {
|
||||
max-height: 150px;
|
||||
-webkit-transition: all .4s ease-in-out;
|
||||
-moz-transition: all .4s ease-in-out;
|
||||
-o-transition: all .4s ease-in-out;
|
||||
-ms-transition: all .4s ease-in-out;
|
||||
transition: all .4s ease-in-out;
|
||||
}
|
||||
|
||||
.is-sticky #site-header.medium-header .top-header-wrap {
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.is-sticky #site-header.medium-header .top-header-wrap #oceanwp-social-menu .social-menu-inner {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.is-sticky #site-header.medium-header.hidden-menu #site-navigation-wrap,
|
||||
.is-sticky #site-header.medium-header.hidden-menu #site-navigation,
|
||||
.is-sticky #site-header.medium-header.hidden-menu #oceanwp-mobile-menu-icon {
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.is-sticky #site-header.medium-header.hidden-menu:hover #site-navigation-wrap,
|
||||
.is-sticky #site-header.medium-header.hidden-menu:hover #site-navigation,
|
||||
.is-sticky #site-header.medium-header.hidden-menu:hover #oceanwp-mobile-menu-icon {
|
||||
max-height: 150px;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
/* Medium header mobile menu */
|
||||
#site-header.medium-header #oceanwp-mobile-menu-icon {
|
||||
float: none;
|
||||
right: auto !important;
|
||||
left: auto !important;
|
||||
}
|
||||
|
||||
#site-header.medium-header #oceanwp-mobile-menu-icon a {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
padding: 0 22px;
|
||||
line-height: 60px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* Hide social and search form in sidr for the medium header style */
|
||||
.medium-header-style .sidr-class-social-menu-inner,
|
||||
.medium-header-style .sidr-class-mobile-searchform {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* medium header style */
|
||||
#site-header.medium-header .top-header-inner {
|
||||
display: block;
|
||||
}
|
||||
#site-header.medium-header .top-col:not(.logo-col) {
|
||||
display: none;
|
||||
}
|
||||
#site-header.medium-header .top-col.logo-col {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
}
|
||||
/* Show social and search form in sidr for the medium header style */
|
||||
.medium-header-style .sidr-class-social-menu-inner,
|
||||
.medium-header-style .sidr-class-mobile-searchform {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* medium header style */
|
||||
#site-header.medium-header .header-top-wrap {
|
||||
padding: 20px 0;
|
||||
}
|
||||
#site-header.medium-header #oceanwp-mobile-menu-icon a {
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,223 @@
|
||||
/*------------------------------------*
|
||||
$MEGAMENU
|
||||
*------------------------------------*/
|
||||
/**
|
||||
* Megamenu
|
||||
*/
|
||||
.navigation .megamenu a .nav-arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navigation .megamenu > li > a.menu-link {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.navigation .megamenu li ul.sub-menu {
|
||||
border-top: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
.navigation .megamenu li a.menu-link {
|
||||
padding: 12px 20px;
|
||||
}
|
||||
|
||||
.navigation .megamenu .sidebar-box {
|
||||
padding: 20px;
|
||||
margin-bottom: 0;
|
||||
line-height: 1.8;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.navigation > ul > li > ul.megamenu.sub-menu > li {
|
||||
float: left;
|
||||
border-bottom: 0;
|
||||
border-left-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #f1f1f1;
|
||||
}
|
||||
|
||||
.navigation > ul > li > ul.megamenu.sub-menu > li:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.navigation li.megamenu-li.hide-headings > .megamenu > li > a,
|
||||
.navigation li.megamenu-li > .megamenu > li.hide-heading > a {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navigation .megamenu .sub-menu {
|
||||
display: block !important;
|
||||
opacity: 1 !important;
|
||||
min-width: 100%;
|
||||
position: static;
|
||||
background: transparent;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Megamenu columns
|
||||
*/
|
||||
.navigation li.megamenu-li .megamenu.col-1 > li {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.navigation li.megamenu-li .megamenu.col-2 > li {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.navigation li.megamenu-li .megamenu.col-3 > li {
|
||||
width: 33.33333333%;
|
||||
}
|
||||
|
||||
.navigation li.megamenu-li .megamenu.col-4 > li {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.navigation li.megamenu-li .megamenu.col-5 > li {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.navigation li.megamenu-li .megamenu.col-6 > li {
|
||||
width: 16.66666667%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Megamenu auto width
|
||||
*/
|
||||
@media only screen and (min-width: 959px) {
|
||||
.navigation li.megamenu-li.auto-mega .megamenu.col-1 {
|
||||
width: 320px;
|
||||
}
|
||||
.navigation li.megamenu-li.auto-mega .megamenu.col-2 {
|
||||
width: 440px;
|
||||
}
|
||||
.navigation li.megamenu-li.auto-mega .megamenu.col-3 {
|
||||
width: 660px;
|
||||
}
|
||||
.navigation li.megamenu-li.auto-mega .megamenu.col-4 {
|
||||
width: 780px;
|
||||
}
|
||||
.navigation li.megamenu-li.auto-mega .megamenu.col-5 {
|
||||
width: 980px;
|
||||
}
|
||||
.navigation li.megamenu-li.auto-mega .megamenu.col-6 {
|
||||
width: 1080px;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Elementor Template
|
||||
*/
|
||||
.navigation > ul > li > ul.megamenu.sub-menu > li .elementor {
|
||||
white-space: normal;
|
||||
line-height: initial;
|
||||
}
|
||||
|
||||
/**
|
||||
* Latest Posts Categories
|
||||
*/
|
||||
.navigation li.mega-cat .megamenu {
|
||||
padding: 30px 20px;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat .mega-cat-title {
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
font-weight: 400;
|
||||
background-color: #f8f8f8;
|
||||
color: #222;
|
||||
letter-spacing: 2px;
|
||||
margin: 0 -20px 30px;
|
||||
padding: 15px 35px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat > ul > li {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li a.mega-post-link {
|
||||
display: block;
|
||||
position: relative;
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li a.mega-post-link img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li a.mega-post-link .overlay {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 3px;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
opacity: 0;
|
||||
text-align: center;
|
||||
transition: all .3s ease;
|
||||
-webkit-transition: all .3s ease;
|
||||
-moz-transition: all .3s ease;
|
||||
-o-transition: all .3s ease;
|
||||
-ms-transition: all .3s ease;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li a.mega-post-link:hover .overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li .mega-post-title {
|
||||
display: block;
|
||||
margin: 15px 0 8px;
|
||||
white-space: initial;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li .mega-post-title a {
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
letter-spacing: 0.6px;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li .mega-post-title a:hover {
|
||||
background-color: transparent;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li .mega-post-date {
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
color: #bbb;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.navigation li.mega-cat ul li .mega-post-date i {
|
||||
font-size: 9px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.navigation > ul > li.mega-cat > ul.megamenu.sub-menu > li.first {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Tablet & Small Desktop Widths
|
||||
*------------------------------------*/
|
||||
@media only screen and (min-width: 768px) and (max-width: 1280px) {
|
||||
/* megamenu */
|
||||
.navigation li.megamenu.auto-width.col-6 > .sub-menu {
|
||||
width: 980px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,330 @@
|
||||
/*------------------------------------*
|
||||
$NAVIGATIONS
|
||||
*------------------------------------*/
|
||||
#site-navigation-wrap {
|
||||
float: right;
|
||||
position: relative;
|
||||
right: -15px;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu > li {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu > li > a {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
line-height: 74px;
|
||||
color: #555;
|
||||
padding: 0 15px;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu > li > a.site-search-toggle {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu > li > a:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu > li > a .nav-arrow {
|
||||
padding-left: 6px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu > li.btn > a > span {
|
||||
background-color: #13aff0;
|
||||
color: #fff;
|
||||
padding: 12px 22px;
|
||||
font-weight: 600;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
transition: background-color .3s ease;
|
||||
-webkit-transition: background-color .3s ease;
|
||||
-moz-transition: background-color .3s ease;
|
||||
-o-transition: background-color .3s ease;
|
||||
-ms-transition: background-color .3s ease;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu > li.btn > a:hover > span {
|
||||
background-color: #0b7cac;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .dropdown-menu > li.btn.rounded > a > span {
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .has-current-style .dropdown-menu > .current-menu-item > a,
|
||||
#site-navigation-wrap .has-current-style .dropdown-menu > .current-menu-parent > a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#site-navigation-wrap .has-current-style .dropdown-menu > .current-menu-item > a > span,
|
||||
#site-navigation-wrap .has-current-style .dropdown-menu > .current-menu-parent > a > span {
|
||||
padding: 12px 15px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.has-social #site-navigation-wrap {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.minimal-header.left-menu #site-navigation-wrap,
|
||||
.transparent-header.left-menu #site-navigation-wrap {
|
||||
float: left;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.minimal-header.left-menu #site-logo,
|
||||
.transparent-header.left-menu #site-logo {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.center-menu #site-navigation-wrap {
|
||||
position: absolute;
|
||||
float: none;
|
||||
left: 50%;
|
||||
right: auto;
|
||||
-ms-transform: translateX(-50%);
|
||||
-webkit-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
/**
|
||||
* SuperFish
|
||||
*/
|
||||
.sf-menu,
|
||||
.sf-menu * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.sf-menu li.menu-item {
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
*white-space: normal;
|
||||
}
|
||||
|
||||
.sf-menu li:hover,
|
||||
.sf-menu li.sfHover {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.sf-menu ul.sub-menu {
|
||||
position: absolute;
|
||||
display: none;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.sf-menu > li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.sf-menu li:hover > ul,
|
||||
.sf-menu li.sfHover > ul {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sf-menu a.menu-link {
|
||||
display: block;
|
||||
position: relative;
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
.sf-menu ul.sub-menu ul {
|
||||
top: 0;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dropdown
|
||||
*/
|
||||
.dropdown-menu,
|
||||
.dropdown-menu * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.dropdown-menu .sub-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
background-color: #fff;
|
||||
border-top: 3px solid #13aff0;
|
||||
min-width: 180px;
|
||||
line-height: 1;
|
||||
text-align: left;
|
||||
z-index: 999;
|
||||
-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
|
||||
-moz-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.dropdown-menu li .sub-menu li.menu-item {
|
||||
display: block;
|
||||
float: none;
|
||||
}
|
||||
|
||||
.dropdown-menu ul .sub-menu {
|
||||
top: 0;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.oceanwp-dropdown-top-border .sub-menu {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.dropdown-menu ul li.menu-item {
|
||||
display: block;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
.dropdown-menu ul li.menu-item:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.dropdown-menu ul li a.menu-link {
|
||||
display: block;
|
||||
position: relative;
|
||||
float: none;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
line-height: 1.2em;
|
||||
letter-spacing: 0.6px;
|
||||
padding: 12px 15px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.dropdown-menu ul li a.menu-link:hover {
|
||||
background-color: #f8f8f8;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.dropdown-menu ul li a.menu-link .nav-arrow {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 15px;
|
||||
margin-top: -6.5px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.dropdown-menu ul li a.menu-link i {
|
||||
position: relative;
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Icons
|
||||
*/
|
||||
.dropdown-menu li a.menu-link i {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Item description
|
||||
*/
|
||||
.nav-content {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
line-height: 1em;
|
||||
padding: 5px 0;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* Hide navigation on mobile menu */
|
||||
#site-navigation-wrap .dropdown-menu > li.middle-site-logo > a.retina-logo-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu Icons
|
||||
*/
|
||||
.navigation li a i.icon,
|
||||
.navigation li a span.icon-wrap,
|
||||
.navigation li a img.icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.navigation li a i.icon {
|
||||
margin-top: -.265em;
|
||||
width: auto;
|
||||
height: auto;
|
||||
font-size: 1.2em;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.navigation li a i.before {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.navigation li a i.after {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.navigation li a i.elusive {
|
||||
margin-top: -.3em;
|
||||
}
|
||||
|
||||
.navigation li a span.icon-wrap {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navigation li a span.icon-wrap i.below,
|
||||
.navigation li a span.icon-wrap img {
|
||||
display: block;
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
.navigation li a span.icon-wrap img {
|
||||
margin: 0 auto 8px auto;
|
||||
}
|
||||
|
||||
.navigation li a span.icon-wrap span.menu-text {
|
||||
display: block;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.navigation li a img.before {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.navigation li a img.after {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.navigation li a .svg {
|
||||
width: 1em;
|
||||
}
|
||||
|
||||
.navigation li a .hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* header > navbar */
|
||||
#site-navigation-wrap, #oceanwp-social-menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
/*------------------------------------*
|
||||
$SEARCHFORM OVERLAY
|
||||
*------------------------------------*/
|
||||
#searchform-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#searchform-overlay .container {
|
||||
position: relative;
|
||||
max-width: 550px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#searchform-overlay a.search-overlay-close {
|
||||
position: absolute;
|
||||
top: -50px;
|
||||
left: 50%;
|
||||
margin-left: -30px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background-color: rgba(255,255,255,0.2);
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
#searchform-overlay a.search-overlay-close:hover {
|
||||
background-color: rgba(255,255,255,0.3);
|
||||
}
|
||||
|
||||
#searchform-overlay a.search-overlay-close span {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
#searchform-overlay a.search-overlay-close:before,
|
||||
#searchform-overlay a.search-overlay-close:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
margin-top: 6px;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#searchform-overlay a.search-overlay-close:before {
|
||||
-webkit-transform: rotate(45deg);
|
||||
-moz-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
-o-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
#searchform-overlay a.search-overlay-close:after {
|
||||
-webkit-transform: rotate(-45deg);
|
||||
-moz-transform: rotate(-45deg);
|
||||
-ms-transform: rotate(-45deg);
|
||||
-o-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
body.admin-bar #searchform-overlay a.search-overlay-close {
|
||||
top: 50px;
|
||||
}
|
||||
|
||||
#searchform-overlay form {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
margin-top: -33px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#searchform-overlay form input, #searchform-overlay form label {
|
||||
font-size: 22px;
|
||||
line-height: 1.3;
|
||||
padding: 18px 0;
|
||||
margin: 0;
|
||||
min-height: 50px;
|
||||
color: #fff;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#searchform-overlay form input {
|
||||
position: relative;
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #444;
|
||||
z-index: 2;
|
||||
transition: border-color .3s ease;
|
||||
-webkit-transition: border-color .3s ease;
|
||||
-moz-transition: border-color .3s ease;
|
||||
-o-transition: border-color .3s ease;
|
||||
-ms-transition: border-color .3s ease;
|
||||
}
|
||||
|
||||
#searchform-overlay form input:hover {
|
||||
border-color: #777;
|
||||
}
|
||||
|
||||
#searchform-overlay form input:focus {
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
#searchform-overlay form label {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
cursor: text;
|
||||
opacity: .5;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#searchform-overlay form label i {
|
||||
display: inline-block;
|
||||
background-color: #fff;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
margin-left: 3px;
|
||||
-webkit-animation: blink 1s linear infinite;
|
||||
-moz-animation: blink 1s linear infinite;
|
||||
-o-animation: blink 1s linear infinite;
|
||||
animation: blink 1s linear infinite;
|
||||
}
|
||||
|
||||
#searchform-overlay form label i + i {
|
||||
-webkit-animation-delay: .2s;
|
||||
-moz-animation-delay: .2s;
|
||||
-o-animation-delay: .2s;
|
||||
animation-delay: .2s;
|
||||
}
|
||||
|
||||
#searchform-overlay form label i + i + i {
|
||||
-webkit-animation-delay: .4s;
|
||||
-moz-animation-delay: .4s;
|
||||
-o-animation-delay: .4s;
|
||||
animation-delay: .4s;
|
||||
}
|
||||
|
||||
#searchform-overlay form.search-filled label {
|
||||
opacity: 0;
|
||||
-webkit-transition-duration: 150ms;
|
||||
-moz-transition-duration: 150ms;
|
||||
-o-transition-duration: 150ms;
|
||||
transition-duration: 150ms;
|
||||
}
|
||||
|
||||
body #wrap #searchform-overlay .container {
|
||||
max-width: 550px;
|
||||
}
|
||||
@@ -0,0 +1,281 @@
|
||||
/*------------------------------------*
|
||||
$PAGE HEADER
|
||||
*------------------------------------*/
|
||||
.page-header {
|
||||
position: relative;
|
||||
background-color: #f5f5f5;
|
||||
padding: 34px 0;
|
||||
}
|
||||
|
||||
.page-header .container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.has-transparent-header .page-header {
|
||||
padding: 120px 0 36px 0;
|
||||
}
|
||||
|
||||
body.home .page-header-inner {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.page-header-title {
|
||||
display: block;
|
||||
font-size: 24px;
|
||||
line-height: 1.4em;
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
body.breadcrumbs-position-default .page-header-title {
|
||||
max-width: 70%;
|
||||
}
|
||||
|
||||
.page-subheading {
|
||||
font-size: 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.page-subheading p:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.centered-page-header .page-header-title,
|
||||
.centered-minimal-page-header .page-header-title {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Page Header Centered
|
||||
*/
|
||||
.centered-page-header {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.centered-page-header .page-header-title {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.centered-page-header .page-subheading {
|
||||
font-size: 18px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/**
|
||||
* Page Header Minimal Centered
|
||||
*/
|
||||
.centered-minimal-page-header {
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.centered-minimal-page-header .page-header-title {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.centered-minimal-page-header .page-subheading {
|
||||
font-size: 18px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/**
|
||||
* Page Header Solid Color
|
||||
*/
|
||||
.solid-color-page-header .page-header-title {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.solid-color-page-header .site-breadcrumbs,
|
||||
.solid-color-page-header .site-breadcrumbs a {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.solid-color-page-header .page-subheading {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/**
|
||||
* Page Header Background Image
|
||||
*/
|
||||
.background-image-page-header {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
background-color: #000;
|
||||
height: 400px;
|
||||
background-position: 50% 0;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.background-image-page-header .page-header-inner {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.background-image-page-header .page-subheading {
|
||||
position: relative;
|
||||
color: #fff;
|
||||
font-size: 24px;
|
||||
font-weight: 300;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page-header.background-image-page-header .page-header-title {
|
||||
position: relative;
|
||||
color: #fff;
|
||||
font-size: 44px;
|
||||
font-weight: 400;
|
||||
max-width: 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.background-image-page-header-overlay {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: #000;
|
||||
z-index: 1;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/**
|
||||
* Breadcrumbs
|
||||
*/
|
||||
.site-breadcrumbs {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
max-width: 50%;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
margin-top: -16px;
|
||||
font-size: 13px;
|
||||
color: #c6c6c6;
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.site-breadcrumbs ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.site-breadcrumbs ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.site-breadcrumbs ul li:after {
|
||||
content: '\f105';
|
||||
margin: 0 6px;
|
||||
display: inline-block;
|
||||
font: normal normal 600 14px/1 'Font Awesome 5 Free';
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.site-breadcrumbs ul li:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-breadcrumbs .breadcrumb-title {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.site-breadcrumbs.position-under-title,
|
||||
.centered-page-header .site-breadcrumbs,
|
||||
.centered-minimal-page-header .site-breadcrumbs {
|
||||
position: inherit;
|
||||
top: auto;
|
||||
right: auto;
|
||||
margin-top: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Breadcrumbs Hide
|
||||
*/
|
||||
.background-image-page-header .site-breadcrumbs {
|
||||
display: none;
|
||||
position: inherit;
|
||||
margin: 20px 0 0;
|
||||
top: auto;
|
||||
right: auto;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* boxed */
|
||||
.boxed-main-layout .site-breadcrumbs {
|
||||
right: auto;
|
||||
}
|
||||
/* page title */
|
||||
body.has-breadcrumbs .page-header-title {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Tablet Portrait
|
||||
*------------------------------------*/
|
||||
@media only screen and (min-width: 768px) and (max-width: 959px) {
|
||||
/* page header */
|
||||
.site-breadcrumbs {
|
||||
position: inherit;
|
||||
top: auto;
|
||||
left: auto;
|
||||
right: auto;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* page header */
|
||||
.page-header-with-background .page-header-title {
|
||||
font-size: 36px;
|
||||
}
|
||||
.centered-page-header .page-header-title,
|
||||
.centered-minimal-page-header .page-header-title,
|
||||
.page-header.background-image-page-header .page-header-title {
|
||||
font-size: 24px;
|
||||
}
|
||||
.centered-page-header .page-subheading,
|
||||
.centered-minimal-page-header .page-header-subheading,
|
||||
.page-header.background-image-page-header .page-subheading {
|
||||
font-size: 14px;
|
||||
}
|
||||
.background-image-page-header {
|
||||
display: block;
|
||||
height: auto !important;
|
||||
}
|
||||
/* breadcrumbs */
|
||||
body.has-breadcrumbs .page-header-title {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.site-breadcrumbs {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
/*------------------------------------*
|
||||
$PAGINATION
|
||||
*------------------------------------*/
|
||||
ul.page-numbers {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 10px 0 0;
|
||||
list-style: none;
|
||||
text-align: right;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
ul.page-numbers li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.page-links {
|
||||
text-align: center;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.page-numbers a,
|
||||
.page-numbers span,
|
||||
.page-links span {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
line-height: 38px;
|
||||
margin: 0 8px 0 0;
|
||||
text-align: center;
|
||||
color: #555;
|
||||
border: 1px solid #e9e9e9;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
border-radius: 2px;
|
||||
transition: all .3s ease-in-out;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.page-numbers a span {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.page-numbers a:hover,
|
||||
.page-links a:hover span,
|
||||
.page-numbers.current,
|
||||
.page-numbers.current:hover {
|
||||
background-color: #f8f8f8;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.oceanwp-pagination.oceanwp-center ul.page-numbers,
|
||||
.oceanwp-pagination.oceanwp-center .page-links {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.oceanwp-pagination.oceanwp-left ul.page-numbers,
|
||||
.oceanwp-pagination.oceanwp-left .page-links {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* next/prev */
|
||||
.page-jump a {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
padding-bottom: 3px;
|
||||
border-bottom: 1px solid;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* infinite scroll */
|
||||
.infinite-scroll-loader {
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 50%;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
margin-left: -9px;
|
||||
border-left: 2px solid rgba(0, 0, 0, 0.15);
|
||||
border-right: 2px solid rgba(0, 0, 0, 0.15);
|
||||
border-bottom: 2px solid rgba(0, 0, 0, 0.15);
|
||||
border-top: 2px solid rgba(0, 0, 0, 0.8);
|
||||
border-radius: 100%;
|
||||
-webkit-animation: rotation .6s infinite linear;
|
||||
-moz-animation: rotation .6s infinite linear;
|
||||
-o-animation: rotation .6s infinite linear;
|
||||
animation: rotation .6s infinite linear;
|
||||
}
|
||||
|
||||
@-webkit-keyframes rotation {
|
||||
from {-webkit-transform: rotate(0deg);}
|
||||
to {-webkit-transform: rotate(359deg);}
|
||||
}
|
||||
@-moz-keyframes rotation {
|
||||
from {-moz-transform: rotate(0deg);}
|
||||
to {-moz-transform: rotate(359deg);}
|
||||
}
|
||||
@-o-keyframes rotation {
|
||||
from {-o-transform: rotate(0deg);}
|
||||
to {-o-transform: rotate(359deg);}
|
||||
}
|
||||
@keyframes rotation {
|
||||
from {transform: rotate(0deg);}
|
||||
to {transform: rotate(359deg);}
|
||||
}
|
||||
|
||||
#infscr-loading img {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.infinite-scroll-nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Add some padding */
|
||||
.infinite-scroll-wrap {
|
||||
position: relative;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
/*------------------------------------*
|
||||
Mobile Menu
|
||||
*------------------------------------*/
|
||||
#oceanwp-mobile-menu-icon {
|
||||
display: none;
|
||||
float: right;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#oceanwp-mobile-menu-icon a {
|
||||
font-size: 13px;
|
||||
line-height: 74px;
|
||||
color: #555;
|
||||
padding-left: 15px;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
|
||||
#oceanwp-mobile-menu-icon a:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#oceanwp-mobile-menu-icon a:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
#oceanwp-mobile-menu-icon a.mobile-menu i {
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* boxed */
|
||||
.boxed-main-layout #wrap {
|
||||
overflow: hidden;
|
||||
}
|
||||
/* container */
|
||||
.container, body.content-full-screen .elementor-section.elementor-section-boxed > .elementor-container {
|
||||
max-width: 90%;
|
||||
}
|
||||
/* full width content and sidebar */
|
||||
.content-area,
|
||||
.content-left-sidebar .content-area {
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin-bottom: 40px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.no-margins .content-area,
|
||||
.no-margins.content-left-sidebar .content-area {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.widget-area,
|
||||
.content-left-sidebar .widget-area {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
body.has-composer.has-sidebar #primary {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
#main #content-wrap.container {
|
||||
width: auto !important;
|
||||
}
|
||||
/* header > navbar */
|
||||
#oceanwp-mobile-menu-icon {
|
||||
display: block;
|
||||
}
|
||||
/* header > search overlay */
|
||||
#searchform-overlay {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Tablet Portrait
|
||||
*------------------------------------*/
|
||||
@media only screen and (min-width: 768px) and (max-width: 959px) {
|
||||
/* main */
|
||||
body.boxed-main-layout #wrap {
|
||||
width: auto !important;
|
||||
}
|
||||
/* turn 4 column masonry grids into 2 columns */
|
||||
body .oceanwp-row .span_1_of_4.col-3.col,
|
||||
body .oceanwp-row .span_1_of_4.col.product:nth-child(2n+3) {
|
||||
margin-left: 0;
|
||||
clear: both;
|
||||
}
|
||||
body .oceanwp-row .span_1_of_4.col,
|
||||
body .oceanwp-isotope-grid .span_1_of_4.col {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* Visibility */
|
||||
.hide-tablet-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
/* grid & main */
|
||||
#wrap {
|
||||
width: 100% !important;
|
||||
}
|
||||
body.boxed-main-layout #wrap {
|
||||
width: auto !important;
|
||||
}
|
||||
.boxed-main-layout #top-bar-social.top-bar-right {
|
||||
right: auto;
|
||||
}
|
||||
.boxed-main-layout #top-bar-social.top-bar-left {
|
||||
left: auto;
|
||||
}
|
||||
.col {
|
||||
width: 100% !important;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* Visibility */
|
||||
.hide-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
/* boxed */
|
||||
.boxed-main-layout #wrap .container {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
/* grid */
|
||||
.col {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Visibility
|
||||
*------------------------------------*/
|
||||
@media only screen and (min-width: 481px) and (max-width: 767px) {
|
||||
/* Visibility */
|
||||
.hide-tablet {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/* About me */
|
||||
.oceanwp-about-me .oceanwp-about-me-social li { margin-right: 6px; margin-left: 0; }
|
||||
.oceanwp-about-me .oceanwp-about-me-social li:first-child { margin-right: 0; }
|
||||
|
||||
/* Contact info */
|
||||
.contact-info-widget.default .oceanwp-info-wrap { padding-right: 55px; padding-left: 0; }
|
||||
.contact-info-widget.default i { float: right; margin-left: 15px; margin-right: 0; }
|
||||
.contact-info-widget.big-icons i { float: right; margin-left: 20px; margin-right: 0; }
|
||||
|
||||
/* Custom links */
|
||||
.custom-links-widget .oceanwp-custom-links li a::before { margin-left: 10px; margin-right: 0; }
|
||||
.custom-links-widget .oceanwp-custom-links li a:hover { margin-right: 8px; margin-left: 0; }
|
||||
|
||||
/* Flickr */
|
||||
.flickr_badge_image { float: right; margin: 0 0 10px 4%; }
|
||||
.flickr_badge_image#flickr_badge_image3,
|
||||
.flickr_badge_image#flickr_badge_image6,
|
||||
.flickr_badge_image#flickr_badge_image9 { margin-left: 0; }
|
||||
p.flickr_stream_wrap a { background-position: right center; padding-right: 25px; padding-left: 0; }
|
||||
|
||||
/* MailChimp */
|
||||
.oceanwp-newsletter-form-wrap button { left: 15px; right: auto; }
|
||||
|
||||
/* Posts thumbnails */
|
||||
.oceanwp-recent-posts .recent-posts-thumbnail { float: right; margin-left: 10px; margin-right: 0; }
|
||||
.oceanwp-recent-posts .recent-posts-info .sep { padding-right: 3px; padding-left: 0; }
|
||||
.oceanwp-recent-posts .recent-posts-date { margin-left: 8px; margin-right: 0; }
|
||||
@@ -0,0 +1,46 @@
|
||||
/*------------------------------------*
|
||||
$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: #fff;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
z-index: 10;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
#scroll-top > span {
|
||||
line-height: inherit;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#scroll-top:hover {
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* scroll top button */
|
||||
#scroll-top {
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
line-height: 24px;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
/*------------------------------------*
|
||||
$SIDEBAR
|
||||
*------------------------------------*/
|
||||
#sidebar {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.sidebar-box {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.sidebar-box ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.widget-title {
|
||||
display: block;
|
||||
line-height: 1;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
border-width: 0 0 0 3px;
|
||||
border-style: solid;
|
||||
border-color: #13aff0;
|
||||
letter-spacing: 1px;
|
||||
padding-left: 15px;
|
||||
margin: 0 0 20px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/**
|
||||
* Widgets > Borders
|
||||
*/
|
||||
.oceanwp-widget-recent-posts-li,
|
||||
.widget_categories li,
|
||||
.widget_recent_entries li,
|
||||
.widget_archive li,
|
||||
.widget_recent_comments li,
|
||||
.widget_layered_nav li,
|
||||
.widget-recent-posts-icons li,
|
||||
.site-footer .widget_nav_menu li {
|
||||
padding: 6px 0;
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
}
|
||||
|
||||
.oceanwp-widget-recent-posts-li:first-child,
|
||||
.widget_categories li:first-child,
|
||||
.widget_recent_entries li:first-child,
|
||||
.widget_archive li:first-child,
|
||||
.widget_recent_comments li:first-child,
|
||||
.widget_layered_nav li:first-child,
|
||||
.widget-recent-posts-icons li:first-child,
|
||||
.site-footer .widget_nav_menu li:first-child {
|
||||
border-top: 1px solid #e9e9e9;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* sidebar */
|
||||
#main .widget_nav_menu li a:before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,281 @@
|
||||
/*------------------------------------*
|
||||
$SIDR
|
||||
*------------------------------------*/
|
||||
#sidr-close,
|
||||
#mobile-nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#sidr {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
z-index: 999999;
|
||||
width: 300px;
|
||||
max-width: 100%;
|
||||
padding-bottom: 30px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
font-size: 15px;
|
||||
background-color: #fff;
|
||||
color: #555;
|
||||
-webkit-touch-callout: none;
|
||||
user-select: none;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
#sidr ul {
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.sidr.right {
|
||||
left: auto;
|
||||
right: -300px;
|
||||
}
|
||||
|
||||
.sidr.left {
|
||||
left: -300px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.sidr a {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.sidr a:hover,
|
||||
.sidr-class-dropdown-toggle:hover,
|
||||
.sidr-class-menu-item-has-children.active > a,
|
||||
.sidr-class-menu-item-has-children.active > a > .sidr-class-dropdown-toggle {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
.sidr-class-clr:after {
|
||||
content: '';
|
||||
display: block;
|
||||
visibility: hidden;
|
||||
clear: both;
|
||||
zoom: 1;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
a.sidr-class-toggle-sidr-close {
|
||||
display: block;
|
||||
background-color: #f8f8f8;
|
||||
color: #333;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
padding: 20px;
|
||||
letter-spacing: 0.6px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
a.sidr-class-toggle-sidr-close i {
|
||||
display: inline-block;
|
||||
padding-right: 8px;
|
||||
margin: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
line-height: 18px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu ul,
|
||||
.sidr-class-fs-dropdown-menu ul {
|
||||
display: none;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.035);
|
||||
margin-left: 0;
|
||||
background-color: rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu li,
|
||||
.sidr-class-fs-dropdown-menu li {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.035);
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu > li:first-child,
|
||||
.sidr-class-fs-dropdown-menu > li:first-child {
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.035);
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu li a,
|
||||
.sidr-class-fs-dropdown-menu li a {
|
||||
padding: 12px 20px;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu li a.sidr-class-sf-with-ul,
|
||||
.sidr-class-fs-dropdown-menu li a.sidr-class-sf-with-ul {
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu ul li:last-child,
|
||||
.sidr-class-fs-dropdown-menu ul li:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.sidr-class-top-bar-menu > li:first-child {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.sidr-class-menu-item-has-children {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu li.sidr-class-menu-item-has-children > a {
|
||||
padding-right: 60px;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-toggle {
|
||||
font-size: 11px;
|
||||
height: 100%;
|
||||
width: 60px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
cursor: pointer;
|
||||
color: #555;
|
||||
text-align: right;
|
||||
padding-right: 20px;
|
||||
text-align: center;
|
||||
transition: all .3s ease;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-toggle:before {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
content: '+';
|
||||
font-size: 20px;
|
||||
Font-weight: 600;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
margin-top: -15px;
|
||||
margin-left: -15px;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu li.active > a > .sidr-class-dropdown-toggle:before {
|
||||
content: '-';
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu ul a:before {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
content: '\f105';
|
||||
display: inline-block;
|
||||
margin: 0 10px;
|
||||
Font-weight: 600;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu ul ul a:before {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu ul ul ul a:before {
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.sidr-class-middle-site-logo,
|
||||
.sidr #searchform-header-replace-close,
|
||||
.sidr #sidr-id-searchform-overlay,
|
||||
.sidr .nav-arrow,
|
||||
.sidr-class-sidebar-box,
|
||||
.sidr-class-mega-cat .sidr-class-dropdown-toggle,
|
||||
.sidr-class-mega-cat .sidr-class-megamenu,
|
||||
.sidr-class-elementor {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu li.sidr-class-menu-item-has-children.sidr-class-mega-cat > a {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
.sidr-class-dropdown-menu a i {
|
||||
font-size: inherit !important;
|
||||
vertical-align: initial !important;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu a i.before,
|
||||
.sidr-class-dropdown-menu a i.below {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.sidr-class-dropdown-menu a i.after {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* Overlay */
|
||||
.oceanwp-sidr-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
/* Search */
|
||||
#mobile-menu-search,
|
||||
.sidr-class-woo-cart-link,
|
||||
.sidr-class-search-toggle-li,
|
||||
#sidr-id-searchform-dropdown,
|
||||
#sidr-id-searchform-header-replace {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidr-class-mobile-searchform {
|
||||
position: relative;
|
||||
margin: 30px 20px 0;
|
||||
}
|
||||
|
||||
.sidr-class-mobile-searchform input {
|
||||
padding: 6px 45px 6px 12px !important;
|
||||
margin-top: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
-webkit-box-sizing: inherit;
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
.sidr-class-mobile-searchform button {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
width: 30px;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
top: 50%;
|
||||
margin-top: -15px;
|
||||
background: none;
|
||||
color: #555;
|
||||
border: 0;
|
||||
transition: all .3s ease;
|
||||
}
|
||||
|
||||
.sidr-class-mobile-searchform button:hover {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
/* Social */
|
||||
.sidr-class-social-menu-inner ul {
|
||||
display: table;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.sidr-class-social-menu-inner ul li {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.sidr-class-social-menu-inner ul li a {
|
||||
display: block;
|
||||
padding: 12px 10px;
|
||||
}
|
||||
@@ -0,0 +1,766 @@
|
||||
@font-face {
|
||||
font-family: 'simple-line-icons';
|
||||
src: url('../../themes/oceanwp/assets/fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.3.2');
|
||||
src: url('../../themes/oceanwp/assets/fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.3.2#iefix') format('embedded-opentype'), url('../../themes/oceanwp/assets/fonts/simple-line-icons/Simple-Line-Icons.woff2?v=2.3.2') format('woff2'), url('../../themes/oceanwp/assets/fonts/simple-line-icons/Simple-Line-Icons.ttf?v=2.3.2') format('truetype'), url('../../themes/oceanwp/assets/fonts/simple-line-icons/Simple-Line-Icons.woff?v=2.3.2') format('woff'), url('../../themes/oceanwp/assets/fonts/simple-line-icons/Simple-Line-Icons.svg?v=2.3.2#simple-line-icons') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
/*
|
||||
Use the following CSS code if you want to have a class per icon.
|
||||
Instead of a list of all class selectors, you can use the generic [class*="icon-"] selector, but it's slower:
|
||||
*/
|
||||
.icon-user,
|
||||
.icon-people,
|
||||
.icon-user-female,
|
||||
.icon-user-follow,
|
||||
.icon-user-following,
|
||||
.icon-user-unfollow,
|
||||
.icon-login,
|
||||
.icon-logout,
|
||||
.icon-emotsmile,
|
||||
.icon-phone,
|
||||
.icon-call-end,
|
||||
.icon-call-in,
|
||||
.icon-call-out,
|
||||
.icon-map,
|
||||
.icon-location-pin,
|
||||
.icon-direction,
|
||||
.icon-directions,
|
||||
.icon-compass,
|
||||
.icon-layers,
|
||||
.icon-menu,
|
||||
.icon-list,
|
||||
.icon-options-vertical,
|
||||
.icon-options,
|
||||
.icon-arrow-down,
|
||||
.icon-arrow-left,
|
||||
.icon-arrow-right,
|
||||
.icon-arrow-up,
|
||||
.icon-arrow-up-circle,
|
||||
.icon-arrow-left-circle,
|
||||
.icon-arrow-right-circle,
|
||||
.icon-arrow-down-circle,
|
||||
.icon-check,
|
||||
.icon-clock,
|
||||
.icon-plus,
|
||||
.icon-minus,
|
||||
.icon-close,
|
||||
.icon-exclamation,
|
||||
.icon-organization,
|
||||
.icon-trophy,
|
||||
.icon-screen-smartphone,
|
||||
.icon-screen-desktop,
|
||||
.icon-plane,
|
||||
.icon-notebook,
|
||||
.icon-mustache,
|
||||
.icon-mouse,
|
||||
.icon-magnet,
|
||||
.icon-energy,
|
||||
.icon-disc,
|
||||
.icon-cursor,
|
||||
.icon-cursor-move,
|
||||
.icon-crop,
|
||||
.icon-chemistry,
|
||||
.icon-speedometer,
|
||||
.icon-shield,
|
||||
.icon-screen-tablet,
|
||||
.icon-magic-wand,
|
||||
.icon-hourglass,
|
||||
.icon-graduation,
|
||||
.icon-ghost,
|
||||
.icon-game-controller,
|
||||
.icon-fire,
|
||||
.icon-eyeglass,
|
||||
.icon-envelope-open,
|
||||
.icon-envelope-letter,
|
||||
.icon-bell,
|
||||
.icon-badge,
|
||||
.icon-anchor,
|
||||
.icon-wallet,
|
||||
.icon-vector,
|
||||
.icon-speech,
|
||||
.icon-puzzle,
|
||||
.icon-printer,
|
||||
.icon-present,
|
||||
.icon-playlist,
|
||||
.icon-pin,
|
||||
.icon-picture,
|
||||
.icon-handbag,
|
||||
.icon-globe-alt,
|
||||
.icon-globe,
|
||||
.icon-folder-alt,
|
||||
.icon-folder,
|
||||
.icon-film,
|
||||
.icon-feed,
|
||||
.icon-drop,
|
||||
.icon-drawer,
|
||||
.icon-docs,
|
||||
.icon-doc,
|
||||
.icon-diamond,
|
||||
.icon-cup,
|
||||
.icon-calculator,
|
||||
.icon-bubbles,
|
||||
.icon-briefcase,
|
||||
.icon-book-open,
|
||||
.icon-basket-loaded,
|
||||
.icon-basket,
|
||||
.icon-bag,
|
||||
.icon-action-undo,
|
||||
.icon-action-redo,
|
||||
.icon-wrench,
|
||||
.icon-umbrella,
|
||||
.icon-trash,
|
||||
.icon-tag,
|
||||
.icon-support,
|
||||
.icon-frame,
|
||||
.icon-size-fullscreen,
|
||||
.icon-size-actual,
|
||||
.icon-shuffle,
|
||||
.icon-share-alt,
|
||||
.icon-share,
|
||||
.icon-rocket,
|
||||
.icon-question,
|
||||
.icon-pie-chart,
|
||||
.icon-pencil,
|
||||
.icon-note,
|
||||
.icon-loop,
|
||||
.icon-home,
|
||||
.icon-grid,
|
||||
.icon-graph,
|
||||
.icon-microphone,
|
||||
.icon-music-tone-alt,
|
||||
.icon-music-tone,
|
||||
.icon-earphones-alt,
|
||||
.icon-earphones,
|
||||
.icon-equalizer,
|
||||
.icon-like,
|
||||
.icon-dislike,
|
||||
.icon-control-start,
|
||||
.icon-control-rewind,
|
||||
.icon-control-play,
|
||||
.icon-control-pause,
|
||||
.icon-control-forward,
|
||||
.icon-control-end,
|
||||
.icon-volume-1,
|
||||
.icon-volume-2,
|
||||
.icon-volume-off,
|
||||
.icon-calendar,
|
||||
.icon-bulb,
|
||||
.icon-chart,
|
||||
.icon-ban,
|
||||
.icon-bubble,
|
||||
.icon-camrecorder,
|
||||
.icon-camera,
|
||||
.icon-cloud-download,
|
||||
.icon-cloud-upload,
|
||||
.icon-envelope,
|
||||
.icon-eye,
|
||||
.icon-flag,
|
||||
.icon-heart,
|
||||
.icon-info,
|
||||
.icon-key,
|
||||
.icon-link,
|
||||
.icon-lock,
|
||||
.icon-lock-open,
|
||||
.icon-magnifier,
|
||||
.icon-magnifier-add,
|
||||
.icon-magnifier-remove,
|
||||
.icon-paper-clip,
|
||||
.icon-paper-plane,
|
||||
.icon-power,
|
||||
.icon-refresh,
|
||||
.icon-reload,
|
||||
.icon-settings,
|
||||
.icon-star,
|
||||
.icon-symbol-female,
|
||||
.icon-symbol-male,
|
||||
.icon-target,
|
||||
.icon-credit-card,
|
||||
.icon-paypal,
|
||||
.icon-social-tumblr,
|
||||
.icon-social-twitter,
|
||||
.icon-social-facebook,
|
||||
.icon-social-instagram,
|
||||
.icon-social-linkedin,
|
||||
.icon-social-pinterest,
|
||||
.icon-social-github,
|
||||
.icon-social-google,
|
||||
.icon-social-reddit,
|
||||
.icon-social-skype,
|
||||
.icon-social-dribbble,
|
||||
.icon-social-behance,
|
||||
.icon-social-foursqare,
|
||||
.icon-social-soundcloud,
|
||||
.icon-social-spotify,
|
||||
.icon-social-stumbleupon,
|
||||
.icon-social-youtube,
|
||||
.icon-social-dropbox {
|
||||
font-family: 'simple-line-icons';
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.icon-user:before {
|
||||
content: "\e005";
|
||||
}
|
||||
.icon-people:before {
|
||||
content: "\e001";
|
||||
}
|
||||
.icon-user-female:before {
|
||||
content: "\e000";
|
||||
}
|
||||
.icon-user-follow:before {
|
||||
content: "\e002";
|
||||
}
|
||||
.icon-user-following:before {
|
||||
content: "\e003";
|
||||
}
|
||||
.icon-user-unfollow:before {
|
||||
content: "\e004";
|
||||
}
|
||||
.icon-login:before {
|
||||
content: "\e066";
|
||||
}
|
||||
.icon-logout:before {
|
||||
content: "\e065";
|
||||
}
|
||||
.icon-emotsmile:before {
|
||||
content: "\e021";
|
||||
}
|
||||
.icon-phone:before {
|
||||
content: "\e600";
|
||||
}
|
||||
.icon-call-end:before {
|
||||
content: "\e048";
|
||||
}
|
||||
.icon-call-in:before {
|
||||
content: "\e047";
|
||||
}
|
||||
.icon-call-out:before {
|
||||
content: "\e046";
|
||||
}
|
||||
.icon-map:before {
|
||||
content: "\e033";
|
||||
}
|
||||
.icon-location-pin:before {
|
||||
content: "\e096";
|
||||
}
|
||||
.icon-direction:before {
|
||||
content: "\e042";
|
||||
}
|
||||
.icon-directions:before {
|
||||
content: "\e041";
|
||||
}
|
||||
.icon-compass:before {
|
||||
content: "\e045";
|
||||
}
|
||||
.icon-layers:before {
|
||||
content: "\e034";
|
||||
}
|
||||
.icon-menu:before {
|
||||
content: "\e601";
|
||||
}
|
||||
.icon-list:before {
|
||||
content: "\e067";
|
||||
}
|
||||
.icon-options-vertical:before {
|
||||
content: "\e602";
|
||||
}
|
||||
.icon-options:before {
|
||||
content: "\e603";
|
||||
}
|
||||
.icon-arrow-down:before {
|
||||
content: "\e604";
|
||||
}
|
||||
.icon-arrow-left:before {
|
||||
content: "\e605";
|
||||
}
|
||||
.icon-arrow-right:before {
|
||||
content: "\e606";
|
||||
}
|
||||
.icon-arrow-up:before {
|
||||
content: "\e607";
|
||||
}
|
||||
.icon-arrow-up-circle:before {
|
||||
content: "\e078";
|
||||
}
|
||||
.icon-arrow-left-circle:before {
|
||||
content: "\e07a";
|
||||
}
|
||||
.icon-arrow-right-circle:before {
|
||||
content: "\e079";
|
||||
}
|
||||
.icon-arrow-down-circle:before {
|
||||
content: "\e07b";
|
||||
}
|
||||
.icon-check:before {
|
||||
content: "\e080";
|
||||
}
|
||||
.icon-clock:before {
|
||||
content: "\e081";
|
||||
}
|
||||
.icon-plus:before {
|
||||
content: "\e095";
|
||||
}
|
||||
.icon-minus:before {
|
||||
content: "\e615";
|
||||
}
|
||||
.icon-close:before {
|
||||
content: "\e082";
|
||||
}
|
||||
.icon-exclamation:before {
|
||||
content: "\e617";
|
||||
}
|
||||
.icon-organization:before {
|
||||
content: "\e616";
|
||||
}
|
||||
.icon-trophy:before {
|
||||
content: "\e006";
|
||||
}
|
||||
.icon-screen-smartphone:before {
|
||||
content: "\e010";
|
||||
}
|
||||
.icon-screen-desktop:before {
|
||||
content: "\e011";
|
||||
}
|
||||
.icon-plane:before {
|
||||
content: "\e012";
|
||||
}
|
||||
.icon-notebook:before {
|
||||
content: "\e013";
|
||||
}
|
||||
.icon-mustache:before {
|
||||
content: "\e014";
|
||||
}
|
||||
.icon-mouse:before {
|
||||
content: "\e015";
|
||||
}
|
||||
.icon-magnet:before {
|
||||
content: "\e016";
|
||||
}
|
||||
.icon-energy:before {
|
||||
content: "\e020";
|
||||
}
|
||||
.icon-disc:before {
|
||||
content: "\e022";
|
||||
}
|
||||
.icon-cursor:before {
|
||||
content: "\e06e";
|
||||
}
|
||||
.icon-cursor-move:before {
|
||||
content: "\e023";
|
||||
}
|
||||
.icon-crop:before {
|
||||
content: "\e024";
|
||||
}
|
||||
.icon-chemistry:before {
|
||||
content: "\e026";
|
||||
}
|
||||
.icon-speedometer:before {
|
||||
content: "\e007";
|
||||
}
|
||||
.icon-shield:before {
|
||||
content: "\e00e";
|
||||
}
|
||||
.icon-screen-tablet:before {
|
||||
content: "\e00f";
|
||||
}
|
||||
.icon-magic-wand:before {
|
||||
content: "\e017";
|
||||
}
|
||||
.icon-hourglass:before {
|
||||
content: "\e018";
|
||||
}
|
||||
.icon-graduation:before {
|
||||
content: "\e019";
|
||||
}
|
||||
.icon-ghost:before {
|
||||
content: "\e01a";
|
||||
}
|
||||
.icon-game-controller:before {
|
||||
content: "\e01b";
|
||||
}
|
||||
.icon-fire:before {
|
||||
content: "\e01c";
|
||||
}
|
||||
.icon-eyeglass:before {
|
||||
content: "\e01d";
|
||||
}
|
||||
.icon-envelope-open:before {
|
||||
content: "\e01e";
|
||||
}
|
||||
.icon-envelope-letter:before {
|
||||
content: "\e01f";
|
||||
}
|
||||
.icon-bell:before {
|
||||
content: "\e027";
|
||||
}
|
||||
.icon-badge:before {
|
||||
content: "\e028";
|
||||
}
|
||||
.icon-anchor:before {
|
||||
content: "\e029";
|
||||
}
|
||||
.icon-wallet:before {
|
||||
content: "\e02a";
|
||||
}
|
||||
.icon-vector:before {
|
||||
content: "\e02b";
|
||||
}
|
||||
.icon-speech:before {
|
||||
content: "\e02c";
|
||||
}
|
||||
.icon-puzzle:before {
|
||||
content: "\e02d";
|
||||
}
|
||||
.icon-printer:before {
|
||||
content: "\e02e";
|
||||
}
|
||||
.icon-present:before {
|
||||
content: "\e02f";
|
||||
}
|
||||
.icon-playlist:before {
|
||||
content: "\e030";
|
||||
}
|
||||
.icon-pin:before {
|
||||
content: "\e031";
|
||||
}
|
||||
.icon-picture:before {
|
||||
content: "\e032";
|
||||
}
|
||||
.icon-handbag:before {
|
||||
content: "\e035";
|
||||
}
|
||||
.icon-globe-alt:before {
|
||||
content: "\e036";
|
||||
}
|
||||
.icon-globe:before {
|
||||
content: "\e037";
|
||||
}
|
||||
.icon-folder-alt:before {
|
||||
content: "\e039";
|
||||
}
|
||||
.icon-folder:before {
|
||||
content: "\e089";
|
||||
}
|
||||
.icon-film:before {
|
||||
content: "\e03a";
|
||||
}
|
||||
.icon-feed:before {
|
||||
content: "\e03b";
|
||||
}
|
||||
.icon-drop:before {
|
||||
content: "\e03e";
|
||||
}
|
||||
.icon-drawer:before {
|
||||
content: "\e03f";
|
||||
}
|
||||
.icon-docs:before {
|
||||
content: "\e040";
|
||||
}
|
||||
.icon-doc:before {
|
||||
content: "\e085";
|
||||
}
|
||||
.icon-diamond:before {
|
||||
content: "\e043";
|
||||
}
|
||||
.icon-cup:before {
|
||||
content: "\e044";
|
||||
}
|
||||
.icon-calculator:before {
|
||||
content: "\e049";
|
||||
}
|
||||
.icon-bubbles:before {
|
||||
content: "\e04a";
|
||||
}
|
||||
.icon-briefcase:before {
|
||||
content: "\e04b";
|
||||
}
|
||||
.icon-book-open:before {
|
||||
content: "\e04c";
|
||||
}
|
||||
.icon-basket-loaded:before {
|
||||
content: "\e04d";
|
||||
}
|
||||
.icon-basket:before {
|
||||
content: "\e04e";
|
||||
}
|
||||
.icon-bag:before {
|
||||
content: "\e04f";
|
||||
}
|
||||
.icon-action-undo:before {
|
||||
content: "\e050";
|
||||
}
|
||||
.icon-action-redo:before {
|
||||
content: "\e051";
|
||||
}
|
||||
.icon-wrench:before {
|
||||
content: "\e052";
|
||||
}
|
||||
.icon-umbrella:before {
|
||||
content: "\e053";
|
||||
}
|
||||
.icon-trash:before {
|
||||
content: "\e054";
|
||||
}
|
||||
.icon-tag:before {
|
||||
content: "\e055";
|
||||
}
|
||||
.icon-support:before {
|
||||
content: "\e056";
|
||||
}
|
||||
.icon-frame:before {
|
||||
content: "\e038";
|
||||
}
|
||||
.icon-size-fullscreen:before {
|
||||
content: "\e057";
|
||||
}
|
||||
.icon-size-actual:before {
|
||||
content: "\e058";
|
||||
}
|
||||
.icon-shuffle:before {
|
||||
content: "\e059";
|
||||
}
|
||||
.icon-share-alt:before {
|
||||
content: "\e05a";
|
||||
}
|
||||
.icon-share:before {
|
||||
content: "\e05b";
|
||||
}
|
||||
.icon-rocket:before {
|
||||
content: "\e05c";
|
||||
}
|
||||
.icon-question:before {
|
||||
content: "\e05d";
|
||||
}
|
||||
.icon-pie-chart:before {
|
||||
content: "\e05e";
|
||||
}
|
||||
.icon-pencil:before {
|
||||
content: "\e05f";
|
||||
}
|
||||
.icon-note:before {
|
||||
content: "\e060";
|
||||
}
|
||||
.icon-loop:before {
|
||||
content: "\e064";
|
||||
}
|
||||
.icon-home:before {
|
||||
content: "\e069";
|
||||
}
|
||||
.icon-grid:before {
|
||||
content: "\e06a";
|
||||
}
|
||||
.icon-graph:before {
|
||||
content: "\e06b";
|
||||
}
|
||||
.icon-microphone:before {
|
||||
content: "\e063";
|
||||
}
|
||||
.icon-music-tone-alt:before {
|
||||
content: "\e061";
|
||||
}
|
||||
.icon-music-tone:before {
|
||||
content: "\e062";
|
||||
}
|
||||
.icon-earphones-alt:before {
|
||||
content: "\e03c";
|
||||
}
|
||||
.icon-earphones:before {
|
||||
content: "\e03d";
|
||||
}
|
||||
.icon-equalizer:before {
|
||||
content: "\e06c";
|
||||
}
|
||||
.icon-like:before {
|
||||
content: "\e068";
|
||||
}
|
||||
.icon-dislike:before {
|
||||
content: "\e06d";
|
||||
}
|
||||
.icon-control-start:before {
|
||||
content: "\e06f";
|
||||
}
|
||||
.icon-control-rewind:before {
|
||||
content: "\e070";
|
||||
}
|
||||
.icon-control-play:before {
|
||||
content: "\e071";
|
||||
}
|
||||
.icon-control-pause:before {
|
||||
content: "\e072";
|
||||
}
|
||||
.icon-control-forward:before {
|
||||
content: "\e073";
|
||||
}
|
||||
.icon-control-end:before {
|
||||
content: "\e074";
|
||||
}
|
||||
.icon-volume-1:before {
|
||||
content: "\e09f";
|
||||
}
|
||||
.icon-volume-2:before {
|
||||
content: "\e0a0";
|
||||
}
|
||||
.icon-volume-off:before {
|
||||
content: "\e0a1";
|
||||
}
|
||||
.icon-calendar:before {
|
||||
content: "\e075";
|
||||
}
|
||||
.icon-bulb:before {
|
||||
content: "\e076";
|
||||
}
|
||||
.icon-chart:before {
|
||||
content: "\e077";
|
||||
}
|
||||
.icon-ban:before {
|
||||
content: "\e07c";
|
||||
}
|
||||
.icon-bubble:before {
|
||||
content: "\e07d";
|
||||
}
|
||||
.icon-camrecorder:before {
|
||||
content: "\e07e";
|
||||
}
|
||||
.icon-camera:before {
|
||||
content: "\e07f";
|
||||
}
|
||||
.icon-cloud-download:before {
|
||||
content: "\e083";
|
||||
}
|
||||
.icon-cloud-upload:before {
|
||||
content: "\e084";
|
||||
}
|
||||
.icon-envelope:before {
|
||||
content: "\e086";
|
||||
}
|
||||
.icon-eye:before {
|
||||
content: "\e087";
|
||||
}
|
||||
.icon-flag:before {
|
||||
content: "\e088";
|
||||
}
|
||||
.icon-heart:before {
|
||||
content: "\e08a";
|
||||
}
|
||||
.icon-info:before {
|
||||
content: "\e08b";
|
||||
}
|
||||
.icon-key:before {
|
||||
content: "\e08c";
|
||||
}
|
||||
.icon-link:before {
|
||||
content: "\e08d";
|
||||
}
|
||||
.icon-lock:before {
|
||||
content: "\e08e";
|
||||
}
|
||||
.icon-lock-open:before {
|
||||
content: "\e08f";
|
||||
}
|
||||
.icon-magnifier:before {
|
||||
content: "\e090";
|
||||
}
|
||||
.icon-magnifier-add:before {
|
||||
content: "\e091";
|
||||
}
|
||||
.icon-magnifier-remove:before {
|
||||
content: "\e092";
|
||||
}
|
||||
.icon-paper-clip:before {
|
||||
content: "\e093";
|
||||
}
|
||||
.icon-paper-plane:before {
|
||||
content: "\e094";
|
||||
}
|
||||
.icon-power:before {
|
||||
content: "\e097";
|
||||
}
|
||||
.icon-refresh:before {
|
||||
content: "\e098";
|
||||
}
|
||||
.icon-reload:before {
|
||||
content: "\e099";
|
||||
}
|
||||
.icon-settings:before {
|
||||
content: "\e09a";
|
||||
}
|
||||
.icon-star:before {
|
||||
content: "\e09b";
|
||||
}
|
||||
.icon-symbol-female:before {
|
||||
content: "\e09c";
|
||||
}
|
||||
.icon-symbol-male:before {
|
||||
content: "\e09d";
|
||||
}
|
||||
.icon-target:before {
|
||||
content: "\e09e";
|
||||
}
|
||||
.icon-credit-card:before {
|
||||
content: "\e025";
|
||||
}
|
||||
.icon-paypal:before {
|
||||
content: "\e608";
|
||||
}
|
||||
.icon-social-tumblr:before {
|
||||
content: "\e00a";
|
||||
}
|
||||
.icon-social-twitter:before {
|
||||
content: "\e009";
|
||||
}
|
||||
.icon-social-facebook:before {
|
||||
content: "\e00b";
|
||||
}
|
||||
.icon-social-instagram:before {
|
||||
content: "\e609";
|
||||
}
|
||||
.icon-social-linkedin:before {
|
||||
content: "\e60a";
|
||||
}
|
||||
.icon-social-pinterest:before {
|
||||
content: "\e60b";
|
||||
}
|
||||
.icon-social-github:before {
|
||||
content: "\e60c";
|
||||
}
|
||||
.icon-social-google:before {
|
||||
content: "\e60d";
|
||||
}
|
||||
.icon-social-reddit:before {
|
||||
content: "\e60e";
|
||||
}
|
||||
.icon-social-skype:before {
|
||||
content: "\e60f";
|
||||
}
|
||||
.icon-social-dribbble:before {
|
||||
content: "\e00d";
|
||||
}
|
||||
.icon-social-behance:before {
|
||||
content: "\e610";
|
||||
}
|
||||
.icon-social-foursqare:before {
|
||||
content: "\e611";
|
||||
}
|
||||
.icon-social-soundcloud:before {
|
||||
content: "\e612";
|
||||
}
|
||||
.icon-social-spotify:before {
|
||||
content: "\e613";
|
||||
}
|
||||
.icon-social-stumbleupon:before {
|
||||
content: "\e614";
|
||||
}
|
||||
.icon-social-youtube:before {
|
||||
content: "\e008";
|
||||
}
|
||||
.icon-social-dropbox:before {
|
||||
content: "\e00c";
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
/*------------------------------------*
|
||||
$AUTHOR BOX
|
||||
*------------------------------------*/
|
||||
#author-bio {
|
||||
position: relative;
|
||||
margin-top: 30px;
|
||||
padding: 30px 0 0 130px;
|
||||
border-top-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#author-bio .author-bio-avatar,
|
||||
#author-bio .author-bio-avatar img {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
#author-bio .author-bio-avatar {
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
left: 20px;
|
||||
border: 3px solid #e9e9e9;
|
||||
}
|
||||
|
||||
#author-bio .author-bio-avatar img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
#author-bio .author-bio-content {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#author-bio .author-bio-title {
|
||||
display: inline-block;
|
||||
font-size: 18px;
|
||||
margin: 0 0 10px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
#author-bio .author-bio-description p:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.author #author-bio {
|
||||
margin: 0 0 30px;
|
||||
padding-bottom: 30px;
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* author bio */
|
||||
#author-bio {
|
||||
padding: 30px 0 0 0;
|
||||
}
|
||||
#author-bio .author-bio-avatar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
/*------------------------------------*
|
||||
$SINGLE POST NEXT/PREV
|
||||
*------------------------------------*/
|
||||
.single nav.post-navigation {
|
||||
margin-top: 30px;
|
||||
padding-top: 30px;
|
||||
border-top: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
.single nav.post-navigation:after {
|
||||
content: '';
|
||||
display: block;
|
||||
visibility: hidden;
|
||||
clear: both;
|
||||
zoom: 1;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.single nav.post-navigation .nav-links .title {
|
||||
display: block;
|
||||
color: #13aff0;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.single nav.post-navigation .nav-links a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.single nav.post-navigation .nav-links i {
|
||||
font-size: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.single nav.post-navigation .nav-links .post-title {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
margin: 5px 0 0;
|
||||
}
|
||||
|
||||
.single nav.post-navigation .nav-previous {
|
||||
float: left;
|
||||
width: 50%;
|
||||
text-align: left;
|
||||
border-right-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #f1f1f1;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.single nav.post-navigation .nav-previous i {
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.single nav.post-navigation .nav-next {
|
||||
float: right;
|
||||
width: 50%;
|
||||
text-align: right;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.single nav.post-navigation .nav-next i {
|
||||
float: right;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
.single nav.post-navigation .nav-links .nav-previous,
|
||||
.single nav.post-navigation .nav-links .nav-next {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
.single nav.post-navigation .nav-links .nav-previous {
|
||||
border-right-width: 0;
|
||||
border-left-width: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
/*------------------------------------*
|
||||
$RELATED POSTS
|
||||
*------------------------------------*/
|
||||
#related-posts {
|
||||
margin-top: 30px;
|
||||
padding-top: 30px;
|
||||
border-top: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
#related-posts .title-wrap {
|
||||
display: block;
|
||||
color: #333;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.6px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
#related-posts ul {
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#related-posts .col {
|
||||
float: left;
|
||||
position: relative;
|
||||
min-height: 100px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#related-posts .span_1_of_3 {
|
||||
width: 33.3333333333%;
|
||||
}
|
||||
|
||||
.related-thumb {
|
||||
display: block;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.related-thumb img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
transition: opacity .3s;
|
||||
}
|
||||
|
||||
.related-thumb:hover img {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.related-post-title {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
margin: 12px 12px 3px 12px;
|
||||
}
|
||||
|
||||
.related-post-title a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
time.published {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
time.published i {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
#related-posts .col {
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
#related-posts .col:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,242 @@
|
||||
/*------------------------------------*
|
||||
$SLICK
|
||||
*------------------------------------*/
|
||||
/* Slider */
|
||||
.slick-slider {
|
||||
position: relative;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-ms-touch-action: pan-y;
|
||||
touch-action: pan-y;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.slick-list {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.slick-list:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.slick-list.dragging {
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.slick-slider .slick-track,
|
||||
.slick-slider .slick-list {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate3d(0, 0, 0);
|
||||
-ms-transform: translate3d(0, 0, 0);
|
||||
-o-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.slick-track {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.slick-track:before, .slick-track:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.slick-track:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.slick-loading .slick-track {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.slick-slide {
|
||||
float: left;
|
||||
height: 100%;
|
||||
min-height: 1px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
[dir="rtl"] .slick-slide {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.slick-slide img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.slick-slide.slick-loading img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.slick-slide.dragging img {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.slick-initialized .slick-slide {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.slick-loading .slick-slide {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.slick-vertical .slick-slide {
|
||||
display: block;
|
||||
height: auto;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.slick-arrow.slick-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
@font-face {
|
||||
font-family: "slick";
|
||||
src: url("../../themes/oceanwp/assets/fonts/slick/slick.eot");
|
||||
src: url("../../themes/oceanwp/assets/fonts/slick/slick.eot?#iefix") format("embedded-opentype"), url("../../themes/oceanwp/assets/fonts/slick/slick.woff") format("woff"), url("../../themes/oceanwp/assets/fonts/slick/slick.ttf") format("truetype"), url("../../themes/oceanwp/assets/fonts/slick/slick.svg#slick") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* Arrows */
|
||||
.slick-prev,
|
||||
.slick-next {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
display: inline-block;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
color: #fff;
|
||||
width: 30px;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
font-size: 20px;
|
||||
border: 0;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
z-index: 10;
|
||||
transition: all .3s ease-in-out;
|
||||
-webkit-transition: all .3s ease-in-out;
|
||||
-moz-transition: all .3s ease-in-out;
|
||||
-o-transition: all .3s ease-in-out;
|
||||
-ms-transition: all .3s ease-in-out;
|
||||
}
|
||||
|
||||
.slick-prev:hover, .slick-prev:focus,
|
||||
.slick-next:hover,
|
||||
.slick-next:focus {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.slick-prev {
|
||||
right: 30px;
|
||||
}
|
||||
|
||||
[dir="rtl"] .slick-prev {
|
||||
right: auto;
|
||||
left: 30px;
|
||||
}
|
||||
|
||||
[dir="rtl"] .slick-prev span:before {
|
||||
content: '\f105';
|
||||
}
|
||||
|
||||
.slick-next {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
[dir="rtl"] .slick-next {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
[dir="rtl"] .slick-next span:before {
|
||||
content: '\f104';
|
||||
}
|
||||
|
||||
/* Dots */
|
||||
.slick-dotted.slick-slider {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.slick-dots {
|
||||
position: absolute;
|
||||
bottom: -25px;
|
||||
list-style: none;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.slick-dots li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
margin: 0 5px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.slick-dots li button {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
outline: none;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
color: transparent;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.slick-dots li button:hover, .slick-dots li button:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.slick-dots li button:hover:before, .slick-dots li button:focus:before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.slick-dots li button:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: "•";
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-family: "slick";
|
||||
font-size: 6px;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
color: black;
|
||||
opacity: 0.25;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.slick-dots li.slick-active button:before {
|
||||
color: black;
|
||||
opacity: 0.75;
|
||||
}
|
||||
@@ -0,0 +1,474 @@
|
||||
/*------------------------------------*
|
||||
$SOCIAL MENU
|
||||
*------------------------------------*/
|
||||
#oceanwp-social-menu {
|
||||
float: right;
|
||||
display: table;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu.simple-social {
|
||||
right: -8px;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu.social-with-style {
|
||||
right: -2px;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .social-menu-inner {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
height: 74px;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li a {
|
||||
display: inline-block;
|
||||
background-color: transparent;
|
||||
color: #929292;
|
||||
padding: 0 8px;
|
||||
text-align: center;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li a span {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li a:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-twitter a:hover {
|
||||
color: #46d4fe;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-facebook a:hover {
|
||||
color: #37589b;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-googleplus a:hover {
|
||||
color: #de5a49;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-pinterest a:hover {
|
||||
color: #cb2027;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-dribbble a:hover {
|
||||
color: #ea4c89;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-vk a:hover {
|
||||
color: #597BA5;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-instagram a:hover {
|
||||
color: #3F729B;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-linkedin a:hover {
|
||||
color: #3399CC;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-tumblr a:hover {
|
||||
color: #2C4762;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-github a:hover {
|
||||
color: #60b044;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-flickr a:hover {
|
||||
color: #fa4086;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-skype a:hover {
|
||||
color: #00AFF0;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-youtube a:hover {
|
||||
color: #C4302B;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-vimeo a:hover {
|
||||
color: #1ab7ea;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-vine a:hover {
|
||||
color: #00bf8f;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-xing a:hover {
|
||||
color: #006464;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-yelp a:hover {
|
||||
color: #C41200;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-tripadvisor a:hover {
|
||||
color: #589442;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-rss a:hover {
|
||||
color: #ff7900;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu ul li.oceanwp-email a:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li {
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li a {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
line-height: 1;
|
||||
padding: 1em;
|
||||
border-radius: 50%;
|
||||
vertical-align: middle;
|
||||
-webkit-transition: all .3s ease-out;
|
||||
-moz-transition: all .3s ease-out;
|
||||
-o-transition: all .3s ease-out;
|
||||
transition: all .3s ease-out;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li a span {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-twitter a {
|
||||
background-color: #46d4fe;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-twitter a:hover {
|
||||
background-color: #39b4d8;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-facebook a {
|
||||
background-color: #37589b;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-facebook a:hover {
|
||||
background-color: #2d477c;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-googleplus a {
|
||||
background-color: #de5a49;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-googleplus a:hover {
|
||||
background-color: #bb4c3e;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-pinterest a {
|
||||
background-color: #cb2027;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-pinterest a:hover {
|
||||
background-color: #a91d23;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-dribbble a {
|
||||
background-color: #ea4c89;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-dribbble a:hover {
|
||||
background-color: #c64174;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-vk a {
|
||||
background-color: #597BA5;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-vk a:hover {
|
||||
background-color: #486384;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-instagram a {
|
||||
background-color: #3F729B;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-instagram a:hover {
|
||||
background-color: #315a7c;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-linkedin a {
|
||||
background-color: #3399CC;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-linkedin a:hover {
|
||||
background-color: #2678a1;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-tumblr a {
|
||||
background-color: #2C4762;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-tumblr a:hover {
|
||||
background-color: #1d3042;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-github a {
|
||||
background-color: #60b044;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-github a:hover {
|
||||
background-color: #4f9237;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-flickr a {
|
||||
background-color: #fa4086;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-flickr a:hover {
|
||||
background-color: #c63169;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-skype a {
|
||||
background-color: #00AFF0;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-skype a:hover {
|
||||
background-color: #0291c6;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-youtube a {
|
||||
background-color: #C4302B;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-youtube a:hover {
|
||||
background-color: #982420;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-vimeo a {
|
||||
background-color: #1ab7ea;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-vimeo a:hover {
|
||||
background-color: #1494bd;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-vine a {
|
||||
background-color: #00bf8f;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-vine a:hover {
|
||||
background-color: #01906c;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-xing a {
|
||||
background-color: #006464;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-xing a:hover {
|
||||
background-color: #014646;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-yelp a {
|
||||
background-color: #C41200;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-yelp a:hover {
|
||||
background-color: #940f01;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-tripadvisor a {
|
||||
background-color: #589442;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-tripadvisor a:hover {
|
||||
background-color: #426f32;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-rss a {
|
||||
background-color: #ff7900;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-rss a:hover {
|
||||
background-color: #d46603;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-email a {
|
||||
background-color: #13aff0;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .colored ul li.oceanwp-email a:hover {
|
||||
background-color: #0f8dc2;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li {
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li a {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
color: #bbb;
|
||||
border: 1px solid #ccc;
|
||||
line-height: 1;
|
||||
padding: 1em;
|
||||
border-radius: 50%;
|
||||
vertical-align: middle;
|
||||
-webkit-transition: all .3s ease-out;
|
||||
-moz-transition: all .3s ease-out;
|
||||
-o-transition: all .3s ease-out;
|
||||
transition: all .3s ease-out;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li a span {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-twitter a:hover {
|
||||
color: #46d4fe;
|
||||
border-color: #46d4fe;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-facebook a:hover {
|
||||
color: #37589b;
|
||||
border-color: #37589b;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-googleplus a:hover {
|
||||
color: #de5a49;
|
||||
border-color: #de5a49;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-pinterest a:hover {
|
||||
color: #cb2027;
|
||||
border-color: #cb2027;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-dribbble a:hover {
|
||||
color: #ea4c89;
|
||||
border-color: #ea4c89;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-vk a:hover {
|
||||
color: #597BA5;
|
||||
border-color: #597BA5;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-instagram a:hover {
|
||||
color: #3F729B;
|
||||
border-color: #3F729B;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-linkedin a:hover {
|
||||
color: #3399CC;
|
||||
border-color: #3399CC;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-tumblr a:hover {
|
||||
color: #2C4762;
|
||||
border-color: #2C4762;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-github a:hover {
|
||||
color: #60b044;
|
||||
border-color: #60b044;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-flickr a:hover {
|
||||
color: #fa4086;
|
||||
border-color: #fa4086;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-skype a:hover {
|
||||
color: #00AFF0;
|
||||
border-color: #00AFF0;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-youtube a:hover {
|
||||
color: #C4302B;
|
||||
border-color: #C4302B;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-vimeo a:hover {
|
||||
color: #1ab7ea;
|
||||
border-color: #1ab7ea;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-vine a:hover {
|
||||
color: #00bf8f;
|
||||
border-color: #00bf8f;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-xing a:hover {
|
||||
color: #006464;
|
||||
border-color: #006464;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-yelp a:hover {
|
||||
color: #C41200;
|
||||
border-color: #C41200;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-tripadvisor a:hover {
|
||||
color: #589442;
|
||||
border-color: #589442;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-rss a:hover {
|
||||
color: #ff7900;
|
||||
border-color: #ff7900;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .minimal ul li.oceanwp-email a:hover {
|
||||
color: #13aff0;
|
||||
border-color: #13aff0;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .dark ul li {
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .dark ul li a {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
line-height: 1;
|
||||
padding: 1em;
|
||||
border-radius: 50%;
|
||||
vertical-align: middle;
|
||||
-webkit-transition: all .3s ease-out;
|
||||
-moz-transition: all .3s ease-out;
|
||||
-o-transition: all .3s ease-out;
|
||||
transition: all .3s ease-out;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .dark ul li a:hover {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#oceanwp-social-menu .dark ul li a span {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
@@ -0,0 +1,324 @@
|
||||
/*------------------------------------*
|
||||
$TOP BAR
|
||||
*------------------------------------*/
|
||||
#top-bar-wrap {
|
||||
background-color: #fff;
|
||||
font-size: 12px;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Top Bar Content
|
||||
*/
|
||||
#top-bar-content strong {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#top-bar-content > a {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
#top-bar-content > a:hover {
|
||||
color: #13aff0;
|
||||
}
|
||||
|
||||
#top-bar-content select {
|
||||
background-color: transparent;
|
||||
padding: 5px;
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
border-color: rgba(0, 0, 0, 0.2);
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#top-bar-content #lang_sel {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
top: 3px;
|
||||
margin-right: 10px;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
#top-bar-nav > ul > li:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#top-bar-nav > ul > li a .nav-arrow {
|
||||
margin-left: 4px;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Hide middle logo if is not in main menu */
|
||||
#top-bar-nav > ul > li.middle-site-logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Top Bar Social
|
||||
*/
|
||||
#top-bar-social ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#top-bar-social li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#top-bar-social li a {
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
color: #bbb;
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
#top-bar-social li:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#top-bar-social.top-bar-left li:first-child a {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#top-bar-social.top-bar-right li:last-child a {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-twitter a:hover {
|
||||
color: #46d4fe;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-facebook a:hover {
|
||||
color: #37589b;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-googleplus a:hover {
|
||||
color: #de5a49;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-pinterest a:hover {
|
||||
color: #cb2027;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-dribbble a:hover {
|
||||
color: #ea4c89;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-vk a:hover {
|
||||
color: #597BA5;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-instagram a:hover {
|
||||
color: #3F729B;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-linkedin a:hover {
|
||||
color: #3399CC;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-tumblr a:hover {
|
||||
color: #2C4762;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-github a:hover {
|
||||
color: #60b044;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-flickr a:hover {
|
||||
color: #fa4086;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-skype a:hover {
|
||||
color: #00AFF0;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-youtube a:hover {
|
||||
color: #C4302B;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-vimeo a:hover {
|
||||
color: #1ab7ea;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-vine a:hover {
|
||||
color: #00bf8f;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-xing a:hover {
|
||||
color: #006464;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-yelp a:hover {
|
||||
color: #C41200;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-tripadvisor a:hover {
|
||||
color: #589442;
|
||||
}
|
||||
|
||||
#top-bar-social li.oceanwp-rss a:hover {
|
||||
color: #ff7900;
|
||||
}
|
||||
|
||||
#top-bar-social li.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;
|
||||
}
|
||||
|
||||
#top-bar-social.top-bar-centered li {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* hide navbar */
|
||||
#top-bar-nav {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* top-bar */
|
||||
#top-bar {
|
||||
padding: 20px 0;
|
||||
}
|
||||
#top-bar > div:nth-child(2) {
|
||||
padding-top: 20px;
|
||||
}
|
||||
#top-bar-content, #top-bar-social-alt {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
#top-bar-social {
|
||||
text-align: center;
|
||||
}
|
||||
#top-bar-social.top-bar-left, #top-bar-social.top-bar-right {
|
||||
position: inherit;
|
||||
left: auto;
|
||||
right: auto;
|
||||
float: none;
|
||||
height: auto;
|
||||
line-height: 1.5em;
|
||||
margin-top: 0;
|
||||
}
|
||||
.top-bar-right {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
#top-bar-social li,
|
||||
#top-bar #top-bar-nav > li {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
}
|
||||
#top-bar-nav {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
#top-bar #lang_sel {
|
||||
text-align: left;
|
||||
}
|
||||
body.rtl #top-bar #lang_sel {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,222 @@
|
||||
/*------------------------------------*
|
||||
$TOP HEADER
|
||||
*------------------------------------*/
|
||||
#site-header.top-header {
|
||||
border-bottom: 0 !important;
|
||||
}
|
||||
|
||||
#site-header.top-header .header-top {
|
||||
background-color: #fff;
|
||||
-webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
|
||||
-moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#site-header.top-header .header-top .left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#site-header.top-header .header-top .right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#site-header.top-header .header-top .right .inner {
|
||||
display: table;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#site-header.top-header #searchform-header-replace {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#site-header.top-header.header-replace .left, #site-header.top-header.header-replace .right {
|
||||
transition: opacity 0.25s ease-in-out;
|
||||
-webkit-transition: opacity 0.25s ease-in-out;
|
||||
-moz-transition: opacity 0.25s ease-in-out;
|
||||
-o-transition: opacity 0.25s ease-in-out;
|
||||
-ms-transition: opacity 0.25s ease-in-out;
|
||||
}
|
||||
|
||||
#site-header.top-header.header-replace .left.hide, #site-header.top-header.header-replace .right.hide {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#site-header.top-header #site-navigation-wrap {
|
||||
float: none;
|
||||
right: auto !important;
|
||||
left: -15px;
|
||||
}
|
||||
|
||||
#site-header.top-header #site-navigation-wrap .dropdown-menu > li > a {
|
||||
font-size: 10px;
|
||||
line-height: 40px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#site-header.top-header #oceanwp-social-menu,
|
||||
#site-header.top-header #search-toggle {
|
||||
float: none;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
#site-header.top-header #oceanwp-social-menu .social-menu-inner {
|
||||
display: block;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#site-header.top-header #oceanwp-social-menu {
|
||||
right: 0;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
#site-header.top-header #oceanwp-social-menu .colored ul li a,
|
||||
#site-header.top-header #oceanwp-social-menu .minimal ul li a,
|
||||
#site-header.top-header #oceanwp-social-menu .dark ul li a {
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
#site-header.top-header #oceanwp-social-menu .colored ul li a span,
|
||||
#site-header.top-header #oceanwp-social-menu .minimal ul li a span,
|
||||
#site-header.top-header #oceanwp-social-menu .dark ul li a span {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
#site-header.top-header #search-toggle {
|
||||
border-right: 1px solid #f1f1f1;
|
||||
border-left: 1px solid #f1f1f1;
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
#site-header.top-header #search-toggle a {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
width: 28px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#site-header.top-header.search-overlay #search-toggle .search-overlay-toggle {
|
||||
position: relative;
|
||||
z-index: 101;
|
||||
}
|
||||
|
||||
#site-header.top-header.search-overlay #search-toggle .search-overlay-toggle.exit > span:before {
|
||||
content: '✕';
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#site-header.top-header #searchform-header-replace input {
|
||||
color: #222;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
#site-header.top-header #searchform-header-replace-close {
|
||||
font-size: 16px;
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
#site-header.top-header .header-bottom {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#site-header.top-header #site-logo {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
#site-header.top-header #site-logo #site-logo-inner {
|
||||
display: block;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#site-header.top-header #site-logo #site-description {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
#site-header.top-header #site-logo #site-description h2 {
|
||||
color: #929292;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Top Menu header mobile menu */
|
||||
#site-header.top-header #oceanwp-mobile-menu-icon {
|
||||
float: none;
|
||||
left: -15px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
#site-header.top-header #oceanwp-mobile-menu-icon a {
|
||||
font-size: 10px;
|
||||
line-height: 40px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
All Devices under 960px
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 959px) {
|
||||
/* Hide social and search form in sidr for the top menu header style */
|
||||
.top-header-style .sidr-class-social-menu-inner,
|
||||
.top-header-style .sidr-class-mobile-searchform {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 480px) {
|
||||
/* Hide social and search in menu and show them in sidr for the top menu header style */
|
||||
#site-header.top-header .right {
|
||||
display: none;
|
||||
}
|
||||
#site-header.top-header.header-replace .left.hide,
|
||||
#site-header.top-header.header-replace .right.hide {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
#site-header.top-header .header-top .left,
|
||||
#site-header.top-header .header-top .right {
|
||||
float: none !important;
|
||||
text-align: center;
|
||||
}
|
||||
#site-header.top-header #oceanwp-mobile-menu-icon {
|
||||
float: none;
|
||||
left: auto !important;
|
||||
right: auto !important;
|
||||
}
|
||||
#site-header.top-header #oceanwp-mobile-menu-icon a {
|
||||
float: none;
|
||||
}
|
||||
#site-header.top-header .header-top .right .inner {
|
||||
display: block;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
#site-header.top-header #oceanwp-social-menu,
|
||||
#site-header.top-header #search-toggle {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
}
|
||||
.top-header-style .sidr-class-social-menu-inner,
|
||||
.top-header-style .sidr-class-mobile-searchform {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
/*------------------------------------*
|
||||
$TRANSPARENT HEADER
|
||||
*------------------------------------*/
|
||||
#transparent-header-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#site-header.transparent-header {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
background-color: transparent;
|
||||
height: auto;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#site-header.transparent-header #site-logo.has-transparent-logo .custom-logo-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#site-header.transparent-header #site-logo.has-transparent-logo .transparent-logo-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.is-sticky #site-header.transparent-header #site-logo.has-transparent-logo .custom-logo-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.is-sticky #site-header.transparent-header #site-logo.has-transparent-logo .transparent-logo-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.has-transparent-header .oceanwp-sticky-header-holder {
|
||||
height: auto !important;
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Retina Logo
|
||||
*------------------------------------*/
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
|
||||
/* Transparent logo */
|
||||
#site-header.transparent-header #site-logo.has-transparent-logo .transparent-logo-link,
|
||||
.is-sticky #site-header.transparent-header #site-logo.has-transparent-logo .custom-logo-link {
|
||||
display: none;
|
||||
}
|
||||
#site-logo.has-transparent-logo .retina-logo-link {
|
||||
display: none;
|
||||
}
|
||||
#site-logo.has-transparent-logo .transparent-retina-logo-link {
|
||||
display: block;
|
||||
}
|
||||
.is-sticky #site-header.transparent-header #site-logo.has-transparent-logo .retina-logo-link {
|
||||
display: block;
|
||||
}
|
||||
.is-sticky #site-header.transparent-header #site-logo.has-transparent-logo .transparent-retina-logo-link {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* Transparent logo */
|
||||
#site-header.transparent-header #site-logo.has-transparent-logo .transparent-logo-link,
|
||||
.is-sticky #site-header.transparent-header #site-logo.has-transparent-logo .custom-logo-link {
|
||||
display: none;
|
||||
}
|
||||
#site-logo.has-transparent-logo .retina-logo-link {
|
||||
display: none;
|
||||
}
|
||||
#site-logo.has-transparent-logo .transparent-retina-logo-link {
|
||||
display: block;
|
||||
}
|
||||
.is-sticky #site-header.transparent-header #site-logo.has-transparent-logo .retina-logo-link {
|
||||
display: block;
|
||||
}
|
||||
.is-sticky #site-header.transparent-header #site-logo.has-transparent-logo .transparent-retina-logo-link {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,26 @@
|
||||
/* About me */
|
||||
.oceanwp-about-me .oceanwp-about-me-social li { margin-right: 6px; margin-left: 0; }
|
||||
.oceanwp-about-me .oceanwp-about-me-social li:first-child { margin-right: 0; }
|
||||
|
||||
/* Contact info */
|
||||
.contact-info-widget .oceanwp-info-wrap { padding-right: 55px; padding-left: 0; }
|
||||
.contact-info-widget i { float: right; margin-left: 15px; margin-right: 0; }
|
||||
|
||||
/* Custom links */
|
||||
.custom-links-widget .oceanwp-custom-links li a::before { margin-left: 10px; margin-right: 0; }
|
||||
.custom-links-widget .oceanwp-custom-links li a:hover { margin-right: 8px; margin-left: 0; }
|
||||
|
||||
/* Flickr */
|
||||
.flickr_badge_image { float: right; margin: 0 0 10px 4%; }
|
||||
.flickr_badge_image#flickr_badge_image3,
|
||||
.flickr_badge_image#flickr_badge_image6,
|
||||
.flickr_badge_image#flickr_badge_image9 { margin-left: 0; }
|
||||
p.flickr_stream_wrap a { background-position: right center; padding-right: 25px; padding-left: 0; }
|
||||
|
||||
/* MailChimp */
|
||||
.oceanwp-newsletter-form-wrap button { left: 15px; right: auto; }
|
||||
|
||||
/* Posts thumbnails */
|
||||
.oceanwp-recent-posts .recent-posts-thumbnail { float: right; margin-left: 10px; margin-right: 0; }
|
||||
.oceanwp-recent-posts .recent-posts-info .sep { padding-right: 3px; padding-left: 0; }
|
||||
.oceanwp-recent-posts .recent-posts-date { margin-left: 8px; margin-right: 0; }
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
|
||||
/*------------------------------------------------------------------
|
||||
Woo Categories WidgetCart
|
||||
-------------------------------------------------------------------*/
|
||||
.widget_product_categories li { position: relative; }
|
||||
.widget_product_categories li a { display: block; font-size: 12px; line-height: 1.6; font-weight: 600; text-transform: uppercase; padding: 10px 22px 10px 40px; border-bottom: 1px dotted; }
|
||||
.widget_product_categories li .open-this { position: absolute; left: 0; width: 40px; height: 40px; line-height: 40px; font-size: 14px; text-align: center; cursor: pointer; }
|
||||
.widget_product_categories .count { position: absolute; top: 0; right: 0; color: #999; padding: 10px 20px 0 0; z-index: 10; }
|
||||
.widget_product_categories li ul.children { display: none; margin: 0 0 0 16px; }
|
||||
.widget_product_categories li ul a { font-weight: 400; text-transform: none; border-bottom: 0; }
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
/*------------------------------------------------------------------
|
||||
Header Cart
|
||||
-------------------------------------------------------------------*/
|
||||
#current-shop-items-dropdown { position: absolute; top: 100%; right: 0; background-color: #fff; z-index: 10000; padding: 20px; border-top: 3px solid transparent; text-align: left; box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); max-height: 450px; width: 260px; overflow-y: auto; visibility: hidden; opacity: 0; -moz-opacity: 0; -webkit-opacity: 0; transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out; -webkit-transition: all 0.25s ease-in-out; }
|
||||
#current-shop-items-dropdown.show { visibility: visible; opacity: 1; -moz-opacity: 1; -webkit-opacity: 1; }
|
||||
.boxed-main-layout #current-shop-items-dropdown { right: 30px }
|
||||
#current-shop-items-dropdown .widgettitle { display: none }
|
||||
#current-shop-items-dropdown li:first-child { border-top: none }
|
||||
@@ -0,0 +1,13 @@
|
||||
/*------------------------------------------------------------------
|
||||
Quantity Button
|
||||
-------------------------------------------------------------------*/
|
||||
.quantity input { -webkit-appearance: textfield !important; -moz-appearance: textfield !important }
|
||||
.quantity { position: relative; float: left; overflow: hidden; zoom: 1; }
|
||||
.quantity .qty { display: block; float: left; width: 36px; min-height: 36px; border: 1px solid #e4e4e4; margin: 0; padding: 0; text-align: center; vertical-align: middle; font-size: 12px; color: #777; cursor: pointer; }
|
||||
.quantity .qty-changer { float: left; margin-left: 6px; }
|
||||
.quantity .qty-changer a { display: block; width: 16px; height: 16px; font-size: 8px; line-height: 14px; border: 1px solid #e1e1e1; color: #ccc; text-align: center; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
|
||||
.quantity .qty-changer a.plus { margin-bottom: 4px; }
|
||||
.quantity .qty-changer a:hover { border-color: #e0e0e0; }
|
||||
.quantity input::-webkit-outer-spin-button,
|
||||
.quantity input::-webkit-inner-spin-button { display: none }
|
||||
.woocommerce form input[type="number"] { max-width: 58px; min-height: 36px; }
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 159 B |
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 466 B |
@@ -0,0 +1,19 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Custom select
|
||||
oceanwpCustomSelects();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
CUSTOM SELECT
|
||||
============================================== */
|
||||
function oceanwpCustomSelects() {
|
||||
"use strict"
|
||||
|
||||
$j( oceanwpLocalize.customSelects ).customSelect( {
|
||||
customClass: 'theme-select'
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Drop down search
|
||||
oceanwpDropDownSearch();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
DROP DOWN SEARCH
|
||||
============================================== */
|
||||
function oceanwpDropDownSearch() {
|
||||
"use strict"
|
||||
|
||||
// Return if is the not this search style
|
||||
if ( 'drop_down' != oceanwpLocalize.menuSearchStyle ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var $searchDropdownToggle = $j( 'a.search-dropdown-toggle' ),
|
||||
$searchDropdownForm = $j( '#searchform-dropdown' );
|
||||
|
||||
$searchDropdownToggle.click( function( event ) {
|
||||
// Display search form
|
||||
$searchDropdownForm.toggleClass( 'show' );
|
||||
// Active menu item
|
||||
$j( this ).parent( 'li' ).toggleClass( 'active' );
|
||||
// Focus
|
||||
var $transitionDuration = $searchDropdownForm.css( 'transition-duration' );
|
||||
$transitionDuration = $transitionDuration.replace( 's', '' ) * 1000;
|
||||
if ( $transitionDuration ) {
|
||||
setTimeout( function() {
|
||||
$searchDropdownForm.find( 'input[type="search"]' ).focus();
|
||||
}, $transitionDuration );
|
||||
}
|
||||
// Hide other things
|
||||
$j( 'div#current-shop-items-dropdown' ).removeClass( 'show' );
|
||||
$j( 'li.wcmenucart-toggle-drop_down' ).removeClass( 'active' );
|
||||
// Return false
|
||||
return false;
|
||||
} );
|
||||
|
||||
// Close on doc click
|
||||
$j( document ).on( 'click', function( event ) {
|
||||
if ( ! $j( event.target ).closest( '#searchform-dropdown.show' ).length ) {
|
||||
$searchDropdownToggle.parent( 'li' ).removeClass( 'active' );
|
||||
$searchDropdownForm.removeClass( 'show' );
|
||||
}
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Responsive Video
|
||||
oceanwpInitFitVids();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
RESPONSIVE VIDEOS
|
||||
============================================== */
|
||||
function oceanwpInitFitVids() {
|
||||
"use strict"
|
||||
|
||||
$j( '.responsive-video-wrap, .responsive-audio-wrap' ).fitVids();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
var $j = jQuery.noConflict(),
|
||||
$window = $j( window ),
|
||||
$lastWindowWidth = $window.width(),
|
||||
$lastWindowHeight = $window.height();
|
||||
|
||||
$window.on( 'load', function() {
|
||||
"use strict";
|
||||
// Fixed footer
|
||||
oceanwpFixedFooter();
|
||||
} );
|
||||
|
||||
$window.resize( function() {
|
||||
"use strict";
|
||||
|
||||
var $windowWidth = $window.width(),
|
||||
$windowHeight = $window.height();
|
||||
|
||||
if ( $lastWindowWidth !== $windowWidth
|
||||
|| $lastWindowHeight !== $windowHeight ) {
|
||||
oceanwpFixedFooter();
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
FIXED FOOTER
|
||||
============================================== */
|
||||
function oceanwpFixedFooter() {
|
||||
"use strict"
|
||||
|
||||
if ( ! $j( 'body' ).hasClass( 'has-fixed-footer' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set main vars
|
||||
var $mainHeight = $j( '#main' ).outerHeight(),
|
||||
$htmlHeight = $j( 'html' ).height(),
|
||||
$adminbarHeight = oceanwpGetAdminbarHeight(),
|
||||
$minHeight = $mainHeight + ( $window.height() - $htmlHeight - $adminbarHeight );
|
||||
|
||||
// Add min height
|
||||
$j( '#main' ).css( 'min-height', $minHeight );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Full Screen header menu
|
||||
oceanwpFullScreenMenu();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
FULL SCREEN MENU
|
||||
============================================== */
|
||||
function oceanwpFullScreenMenu() {
|
||||
"use strict"
|
||||
|
||||
var $menuWrap = $j( '#site-header.full_screen-header #full-screen-menu' ),
|
||||
$menuBar = $j( '#site-header.full_screen-header .menu-bar' ),
|
||||
$customLogo = $j( '#site-logo.has-full-screen-logo' );
|
||||
|
||||
if ( $menuBar.length ) {
|
||||
|
||||
$menuBar.on( 'click', function( e ) {
|
||||
e.preventDefault();
|
||||
|
||||
if ( ! $j( this ).hasClass( 'exit' ) ) {
|
||||
|
||||
$j( this ).addClass( 'exit' );
|
||||
$customLogo.addClass( 'opened' );
|
||||
$menuWrap.addClass( 'active' );
|
||||
$menuWrap.fadeIn( 200 );
|
||||
|
||||
setTimeout( function() {
|
||||
$j( 'html' ).css( 'overflow', 'hidden' );
|
||||
}, 400);
|
||||
|
||||
} else {
|
||||
|
||||
$j( this ).removeClass( 'exit' );
|
||||
$customLogo.removeClass( 'opened' );
|
||||
$menuWrap.removeClass( 'active' );
|
||||
$menuWrap.fadeOut( 200 );
|
||||
|
||||
setTimeout( function() {
|
||||
$j( 'html' ).css( 'overflow', 'visible' );
|
||||
$j( '#full-screen-menu #site-navigation ul > li.dropdown' ).removeClass( 'open-sub' );
|
||||
$j( '#full-screen-menu #site-navigation ul.sub-menu' ).slideUp( 200 );
|
||||
}, 400);
|
||||
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
// Logic for open sub menus
|
||||
$j( '#full-screen-menu #site-navigation ul > li.dropdown > a' ).on( 'tap click', function ( e ) {
|
||||
e.preventDefault();
|
||||
|
||||
if ( $j( this ).closest( 'li.dropdown' ).find( '> ul.sub-menu' ).is( ':visible' ) ) {
|
||||
$j( this ).closest( 'li.dropdown' ).removeClass( 'open-sub' );
|
||||
$j( this ).closest( 'li.dropdown' ).find( '> ul.sub-menu' ).slideUp( 200 );
|
||||
} else {
|
||||
$j( this ).closest( 'li.dropdown' ).addClass( 'open-sub' );
|
||||
$j( this ).closest( 'li.dropdown' ).find( '> ul.sub-menu' ).slideDown( 200 );
|
||||
}
|
||||
|
||||
return false;
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Header replace search
|
||||
oceanwpHeaderReplaceSearch();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
HEADER REPLACE SEARCH
|
||||
============================================== */
|
||||
function oceanwpHeaderReplaceSearch() {
|
||||
"use strict"
|
||||
|
||||
// Return if is the not this search style
|
||||
if ( 'header_replace' != oceanwpLocalize.menuSearchStyle ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Header
|
||||
var $header = $j( '#site-header' );
|
||||
|
||||
// If is top menu header style
|
||||
if ( $header.hasClass( 'top-header' ) ) {
|
||||
|
||||
// Show
|
||||
var $headerReplace = $j( '#searchform-header-replace' ),
|
||||
$siteLeft = $j( '#site-header.top-header .header-top .left' ),
|
||||
$siteRight = $j( '#site-header.top-header .header-top .right' );
|
||||
|
||||
$j( 'a.search-header-replace-toggle' ).click( function( event ) {
|
||||
// Display search form
|
||||
$headerReplace.toggleClass( 'show' );
|
||||
$siteLeft.toggleClass( 'hide' );
|
||||
$siteRight.toggleClass( 'hide' );
|
||||
// Focus
|
||||
var $transitionDuration = $headerReplace.css( 'transition-duration' );
|
||||
$transitionDuration = $transitionDuration.replace( 's', '' ) * 1000;
|
||||
if ( $transitionDuration ) {
|
||||
setTimeout( function() {
|
||||
$headerReplace.find( 'input[type="search"]' ).focus();
|
||||
}, $transitionDuration );
|
||||
}
|
||||
// Return false
|
||||
return false;
|
||||
} );
|
||||
|
||||
// Close on click
|
||||
$j( '#searchform-header-replace-close' ).click( function() {
|
||||
$headerReplace.removeClass( 'show' );
|
||||
$siteLeft.removeClass( 'hide' );
|
||||
$siteRight.removeClass( 'hide' );
|
||||
return false;
|
||||
} );
|
||||
|
||||
// Close on doc click
|
||||
$j( document ).on( 'click', function( event ) {
|
||||
if ( ! $j( event.target ).closest( $j( '#searchform-header-replace.show' ) ).length ) {
|
||||
$headerReplace.removeClass( 'show' );
|
||||
$siteLeft.removeClass( 'hide' );
|
||||
$siteRight.removeClass( 'hide' );
|
||||
}
|
||||
} );
|
||||
|
||||
} else {
|
||||
|
||||
// Show
|
||||
var $headerReplace = $j( '#searchform-header-replace' ),
|
||||
$siteNavigation = $j( '#site-header.header-replace #site-navigation' );
|
||||
|
||||
$j( 'a.search-header-replace-toggle' ).click( function( event ) {
|
||||
// Display search form
|
||||
$headerReplace.toggleClass( 'show' );
|
||||
$siteNavigation.toggleClass( 'hide' );
|
||||
var menu_width = $j( '#site-navigation > ul.dropdown-menu' ).width();
|
||||
$headerReplace.css( 'max-width', menu_width + 60 );
|
||||
// Focus
|
||||
var $transitionDuration = $headerReplace.css( 'transition-duration' );
|
||||
$transitionDuration = $transitionDuration.replace( 's', '' ) * 1000;
|
||||
if ( $transitionDuration ) {
|
||||
setTimeout( function() {
|
||||
$headerReplace.find( 'input[type="search"]' ).focus();
|
||||
}, $transitionDuration );
|
||||
}
|
||||
// Return false
|
||||
return false;
|
||||
} );
|
||||
|
||||
// Close on click
|
||||
$j( '#searchform-header-replace-close' ).click( function() {
|
||||
$headerReplace.removeClass( 'show' );
|
||||
$siteNavigation.removeClass( 'hide' );
|
||||
return false;
|
||||
} );
|
||||
|
||||
// Close on doc click
|
||||
$j( document ).on( 'click', function( event ) {
|
||||
if ( ! $j( event.target ).closest( $j( '#searchform-header-replace.show' ) ).length ) {
|
||||
$headerReplace.removeClass( 'show' );
|
||||
$siteNavigation.removeClass( 'hide' );
|
||||
}
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Header search form label
|
||||
oceanwpHeaderSearchForm();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
HEADER SEARCH FORM LABEL
|
||||
============================================== */
|
||||
function oceanwpHeaderSearchForm() {
|
||||
"use strict"
|
||||
|
||||
// Add class when the search input is not empty
|
||||
$j( 'form.header-searchform' ).each( function() {
|
||||
|
||||
var form = $j( this ),
|
||||
listener = form.find( 'input' ),
|
||||
$label = form.find( 'label' );
|
||||
|
||||
if ( listener.val().length ) {
|
||||
form.addClass( 'search-filled' );
|
||||
}
|
||||
|
||||
listener.on( 'keyup blur', function() {
|
||||
if ( listener.val().length > 0 ) {
|
||||
form.addClass( 'search-filled' );
|
||||
} else {
|
||||
form.removeClass( 'search-filled' );
|
||||
}
|
||||
} );
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
var $j = jQuery.noConflict(),
|
||||
$window = $j( window );
|
||||
|
||||
$window.on( 'load', function() {
|
||||
"use strict";
|
||||
if ( $j.fn.infinitescroll !== undefined && $j( 'div.infinite-scroll-nav' ).length ) {
|
||||
// Infinite scroll
|
||||
oceanwpInfiniteScrollInit();
|
||||
}
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
INFINITE SCROLL
|
||||
============================================== */
|
||||
function oceanwpInfiniteScrollInit() {
|
||||
"use strict"
|
||||
|
||||
// Get infinite scroll container
|
||||
var $container = $j( '#blog-entries' );
|
||||
|
||||
// Start infinite sccroll
|
||||
$container.infinitescroll( {
|
||||
loading : {
|
||||
msg : null,
|
||||
finishedMsg : null,
|
||||
msgText : '<div class="infinite-scroll-loader"></div>',
|
||||
},
|
||||
navSelector : 'div.infinite-scroll-nav',
|
||||
nextSelector : 'div.infinite-scroll-nav div.older-posts a',
|
||||
itemSelector : '.blog-entry',
|
||||
},
|
||||
|
||||
// Callback function
|
||||
function( newElements ) {
|
||||
|
||||
var $newElems = $j( newElements ).css( 'opacity', 0 );
|
||||
|
||||
$newElems.imagesLoaded( function() {
|
||||
|
||||
// Isotope
|
||||
if ( $container.hasClass( 'blog-masonry-grid' ) ) {
|
||||
$container.isotope( 'appended', $newElems );
|
||||
$newElems.css( 'opacity', 0 );
|
||||
}
|
||||
|
||||
// Animate new Items
|
||||
$newElems.animate( {
|
||||
opacity : 1
|
||||
} );
|
||||
|
||||
// Add trigger
|
||||
$container.trigger( 'oceanwpinfiniteScrollLoaded' );
|
||||
|
||||
// Re-run functions
|
||||
if ( ! $j( 'body' ).hasClass( 'no-carousel' ) ) {
|
||||
oceanwpInitCarousel( $newElems );
|
||||
}
|
||||
|
||||
if ( ! $j( 'body' ).hasClass( 'no-lightbox' ) ) {
|
||||
oceanwpInitLightbox( $newElems );
|
||||
}
|
||||
|
||||
// Match heights
|
||||
if ( ! $j( 'body' ).hasClass( 'no-matchheight' ) ) {
|
||||
$j( '.blog-equal-heights .blog-entry-inner' ).matchHeight({ property: 'min-height' });
|
||||
}
|
||||
|
||||
// Gallery posts
|
||||
if ( $j( '.gallery-format' ).parent( '.thumbnail' ) && $j( '.blog-masonry-grid' ).length ) {
|
||||
setTimeout( function() {
|
||||
$j( '.blog-masonry-grid' ).isotope( 'layout' );
|
||||
}, 600 + 1 );
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Masonry grids
|
||||
oceanwpMasonryGrids();
|
||||
} );
|
||||
|
||||
$j( window ).on( 'orientationchange', function() {
|
||||
"use strict";
|
||||
// Masonry grids
|
||||
oceanwpMasonryGrids();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
MASONRY
|
||||
============================================== */
|
||||
function oceanwpMasonryGrids() {
|
||||
"use strict"
|
||||
|
||||
$j( '.blog-masonry-grid' ).each( function() {
|
||||
|
||||
var $this = $j( this ),
|
||||
$transitionDuration = '0.0',
|
||||
$layoutMode = 'masonry';
|
||||
|
||||
// Load isotope after images loaded
|
||||
$this.imagesLoaded( function() {
|
||||
$this.isotope( {
|
||||
itemSelector : '.isotope-entry',
|
||||
transformsEnabled : true,
|
||||
isOriginLeft : oceanwpLocalize.isRTL ? false : true,
|
||||
transitionDuration : $transitionDuration + 's'
|
||||
} );
|
||||
} );
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Auto lightbox
|
||||
oceanwpAutoLightbox();
|
||||
// Lightbox
|
||||
oceanwpInitLightbox();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
AUTO LIGHTBOX
|
||||
============================================== */
|
||||
function oceanwpAutoLightbox() {
|
||||
"use strict"
|
||||
|
||||
$j( 'body .entry-content a:has(img), body .entry a:has(img)' ).each( function() {
|
||||
|
||||
// Make sure the lightbox is only used for image links and not for links to external pages
|
||||
var $image_formats = ['bmp', 'gif', 'jpeg', 'jpg', 'png', 'tiff', 'tif', 'jfif', 'jpe', 'svg', 'mp4', 'ogg', 'webm'],
|
||||
$image_formats_mask = 0;
|
||||
|
||||
// Loop through the image extensions array to see if we have an image link
|
||||
for ( var $i = 0; $i < $image_formats.length; $i++ ) {
|
||||
$image_formats_mask += String( $j( this ).attr( 'href' ) ).indexOf( '.' + $image_formats[$i] );
|
||||
}
|
||||
|
||||
// If no image extension was found add the no lightbox class
|
||||
if ( $image_formats_mask == -13 ) {
|
||||
$j( this ).addClass( 'no-lightbox' );
|
||||
}
|
||||
|
||||
if ( ! $j( this ).hasClass( 'no-lightbox' )
|
||||
&& ! $j( this ).hasClass( 'gallery-lightbox' )
|
||||
&& ! $j( this ).parent().hasClass( 'gallery-icon' )
|
||||
&& ! $j( this ).hasClass( 'woo-lightbox' )
|
||||
&& ! $j( this ).hasClass( 'woo-thumbnail' ) ) {
|
||||
|
||||
$j( this ).addClass( 'oceanwp-lightbox' );
|
||||
|
||||
}
|
||||
|
||||
if ( ! $j( this ).hasClass( 'no-lightbox' )
|
||||
&& $j( this ).parent().hasClass( 'gallery-icon' ) ) {
|
||||
|
||||
$j( this ).addClass( 'gallery-lightbox' );
|
||||
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
/* ==============================================
|
||||
LIGHTBOX
|
||||
============================================== */
|
||||
function oceanwpInitLightbox( $context ) {
|
||||
"use strict"
|
||||
|
||||
// Lightbox
|
||||
$j( 'body .site-content, body .entry' ).Chocolat( {
|
||||
imageSelector : '.oceanwp-lightbox'
|
||||
} );
|
||||
|
||||
// Gallery lightbox
|
||||
$j( '.gallery-format, .gallery', $context ).Chocolat( {
|
||||
loop : true,
|
||||
imageSelector : '.gallery-lightbox:not(.slick-cloned)'
|
||||
} );
|
||||
|
||||
// Product lightbox
|
||||
$j( '.product-images-slider' ).Chocolat( {
|
||||
loop : true,
|
||||
imageSelector : '.product-image:not(.slick-cloned) .woo-lightbox'
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Match height elements
|
||||
oceanwpInitMatchHeight();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
MATCH HEIGHTS
|
||||
============================================== */
|
||||
function oceanwpInitMatchHeight() {
|
||||
"use strict"
|
||||
|
||||
// Add match heights grid
|
||||
$j( '.match-height-grid .match-height-content' ).matchHeight({ property: 'min-height' });
|
||||
|
||||
// Blog entries
|
||||
$j( '.blog-equal-heights .blog-entry-inner' ).matchHeight({ property: 'min-height' });
|
||||
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
var $j = jQuery.noConflict(),
|
||||
$window = $j( window );
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Mega menu
|
||||
oceanwpMegaMenu();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
MEGA MENU
|
||||
============================================== */
|
||||
function oceanwpMegaMenu() {
|
||||
"use strict"
|
||||
|
||||
// Mega menu in top bar menu
|
||||
$j( '#top-bar-nav .megamenu-li.full-mega' ).hover( function() {
|
||||
var topBar = $j( '#top-bar' ),
|
||||
menuWidth = topBar.width(),
|
||||
menuPosition = topBar.offset(),
|
||||
menuItemPosition = $j( this ).offset(),
|
||||
PositionLeft = menuItemPosition.left-menuPosition.left+1;
|
||||
|
||||
$j( this ).find( '.megamenu' ).css( { left: '-'+PositionLeft+'px', width: menuWidth } );
|
||||
} );
|
||||
|
||||
// Mega menu in principal menu
|
||||
$j( '#site-navigation .megamenu-li.full-mega' ).hover( function() {
|
||||
var siteHeader = $j( '#site-header-inner' ),
|
||||
menuWidth = siteHeader.width(),
|
||||
menuPosition = siteHeader.offset(),
|
||||
menuItemPosition = $j( this ).offset(),
|
||||
PositionLeft = menuItemPosition.left-menuPosition.left+1;
|
||||
|
||||
if ( $j( '#site-header' ).hasClass( 'medium-header' ) ) {
|
||||
siteHeader = $j( '#site-navigation-wrap > .container' ),
|
||||
menuWidth = siteHeader.width(),
|
||||
menuPosition = siteHeader.offset(),
|
||||
PositionLeft = menuItemPosition.left-menuPosition.left+1;
|
||||
}
|
||||
|
||||
$j( this ).find( '.megamenu' ).css( { left: '-'+PositionLeft+'px', width: menuWidth } );
|
||||
} );
|
||||
|
||||
// Megamenu auto width
|
||||
$j( '.navigation .megamenu-li.auto-mega .megamenu' ).each( function() {
|
||||
var li = $j( this ).parent();
|
||||
var liOffset = li.offset().left;
|
||||
var liOffsetTop = li.offset().top;
|
||||
var liWidth = $j( this ).parent().width();
|
||||
var dropdowntMarginLeft = liWidth/2;
|
||||
var dropdownWidth = $j( this ).outerWidth();
|
||||
var dropdowntLeft = liOffset - dropdownWidth/2;
|
||||
|
||||
if ( dropdowntLeft < 0 ) {
|
||||
var left = liOffset - 10;
|
||||
dropdowntMarginLeft = 0;
|
||||
} else {
|
||||
var left = dropdownWidth/2;
|
||||
|
||||
}
|
||||
|
||||
if ( oceanwpLocalize.isRTL ) {
|
||||
$j( this ).css( {
|
||||
'right': - left,
|
||||
'marginRight': dropdowntMarginLeft
|
||||
} );
|
||||
} else {
|
||||
$j( this ).css( {
|
||||
'left': - left,
|
||||
'marginLeft': dropdowntMarginLeft
|
||||
} );
|
||||
}
|
||||
|
||||
var dropdownRight = ( $window.width() ) - ( liOffset - left + dropdownWidth + dropdowntMarginLeft );
|
||||
|
||||
if ( dropdownRight < 0 ) {
|
||||
$j( this ).css( {
|
||||
'left': 'auto',
|
||||
'right': - ( $window.width() - liOffset - liWidth - 10 )
|
||||
} );
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Nav no click
|
||||
oceanwpNavNoClick();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
NAV NO CLICK
|
||||
============================================== */
|
||||
function oceanwpNavNoClick() {
|
||||
"use strict"
|
||||
|
||||
$j( 'li.nav-no-click > a, li.sidr-class-nav-no-click > a' ).on( 'click', function() {
|
||||
return false;
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Overlay search
|
||||
oceanwpOverlaySearch();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
OVERLAY SEARCH
|
||||
============================================== */
|
||||
function oceanwpOverlaySearch() {
|
||||
"use strict"
|
||||
|
||||
// Return if is the not this search style
|
||||
if ( 'overlay' != oceanwpLocalize.menuSearchStyle ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var $searchOverlayToggle = $j( 'a.search-overlay-toggle' ),
|
||||
$searchOverlay = $j( '#searchform-overlay' );
|
||||
|
||||
if ( $searchOverlayToggle.length ) {
|
||||
|
||||
$searchOverlayToggle.on( 'click', function( e ) {
|
||||
e.preventDefault();
|
||||
|
||||
if ( ! $j( this ).hasClass( 'exit' ) ) {
|
||||
|
||||
$j( this ).addClass( 'exit' );
|
||||
$searchOverlay.addClass( 'active' );
|
||||
$searchOverlay.fadeIn( 200 );
|
||||
|
||||
setTimeout( function() {
|
||||
$j( 'html' ).css( 'overflow', 'hidden' );
|
||||
}, 400);
|
||||
|
||||
} else {
|
||||
|
||||
$j( this ).removeClass( 'exit' );
|
||||
$searchOverlay.removeClass( 'active' );
|
||||
$searchOverlay.fadeOut( 200 );
|
||||
|
||||
setTimeout( function() {
|
||||
$j( 'html' ).css( 'overflow', 'visible' );
|
||||
}, 400);
|
||||
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
$searchOverlayToggle.on( 'click', function() {
|
||||
if ( $j( this ).hasClass( 'exit' ) ) {
|
||||
$j( '#searchform-overlay input' ).focus();
|
||||
}
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
var $j = jQuery.noConflict(),
|
||||
$window = $j( window );
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Scroll effect
|
||||
oceanwpScrollEffect();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
SCROLL EFFECT
|
||||
============================================== */
|
||||
function oceanwpScrollEffect() {
|
||||
"use strict"
|
||||
|
||||
if ( ! $j( 'body' ).hasClass( 'single-product' )
|
||||
&& ! $j( 'body' ).hasClass( 'no-local-scroll' ) ) {
|
||||
|
||||
$j( 'a[href*="#"]:not([href="#"])' ).on( 'click', function() {
|
||||
|
||||
if ( ! $j( this ).hasClass( 'no-effect' )
|
||||
&& ! $j( this ).hasClass( 'page-numbers' )
|
||||
&& ! $j( this ).hasClass( 'omw-open-modal' )
|
||||
&& ! $j( this ).parent().hasClass( 'omw-open-modal' )
|
||||
&& ! $j( this ).parent().parent().parent().hasClass( 'omw-open-modal' ) ) {
|
||||
|
||||
var $href = $j( this ).attr( 'href' ),
|
||||
$hrefHash = $href.substr( $href.indexOf( '#' ) ).slice( 1 ),
|
||||
$target = $j( '#' + $hrefHash ),
|
||||
$adminbarHeight = oceanwpGetAdminbarHeight(),
|
||||
$topbarHeight = oceanwpGetTopbarHeight(),
|
||||
$stickyHeaderHeight = oceanwpGetStickyHeaderHeight(),
|
||||
$scrollPosition;
|
||||
|
||||
if ( $target.length && '' !== $hrefHash ) {
|
||||
$scrollPosition = $target.offset().top - $adminbarHeight - $topbarHeight - $stickyHeaderHeight;
|
||||
|
||||
$j( 'html, body' ).stop().animate( {
|
||||
scrollTop: Math.round( $scrollPosition )
|
||||
}, 1000 );
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Admin bar height
|
||||
function oceanwpGetAdminbarHeight() {
|
||||
"use strict"
|
||||
|
||||
var $adminbarHeight = 0;
|
||||
|
||||
if ( $j( '#wpadminbar' ).length ) {
|
||||
$adminbarHeight = parseInt( $j( '#wpadminbar' ).outerHeight() );
|
||||
}
|
||||
|
||||
return $adminbarHeight;
|
||||
}
|
||||
|
||||
// Top bar height
|
||||
function oceanwpGetTopbarHeight() {
|
||||
"use strict"
|
||||
|
||||
var $topbarHeight = 0;
|
||||
|
||||
if ( $j( '#top-bar-wrap' ).hasClass( 'oceanwp-top-bar-sticky' )
|
||||
&& $j( '#top-bar-wrap' ).length ) {
|
||||
$topbarHeight = parseInt( $j( '#top-bar-wrap' ).outerHeight() );
|
||||
}
|
||||
|
||||
return $topbarHeight;
|
||||
}
|
||||
|
||||
// Header height
|
||||
function oceanwpGetStickyHeaderHeight() {
|
||||
"use strict"
|
||||
|
||||
var $stickyHeaderHeight = 0;
|
||||
|
||||
if ( $j( '#site-header' ).hasClass( 'fixed-scroll' )
|
||||
&& $j( '#site-header' ).length ) {
|
||||
$stickyHeaderHeight = $j( '#site-header' ).attr( 'data-height' );
|
||||
}
|
||||
|
||||
if ( $window.width() <= 960
|
||||
&& ! $j( '#site-header' ).hasClass( 'has-sticky-mobile' )
|
||||
&& $j( '#site-header' ).length ) {
|
||||
$stickyHeaderHeight = 0;
|
||||
}
|
||||
|
||||
return $stickyHeaderHeight;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
var $j = jQuery.noConflict(),
|
||||
$window = $j( window );
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Scroll top
|
||||
oceanwpScrollTop();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
SCROLL TOP
|
||||
============================================== */
|
||||
function oceanwpScrollTop() {
|
||||
"use strict"
|
||||
|
||||
var selectors = {
|
||||
scrollTop : '#scroll-top',
|
||||
topLink : 'a[href="#go-top"]',
|
||||
slashTopLink : 'body.home a[href="/#go-top"]'
|
||||
}
|
||||
|
||||
$window.on( 'scroll', function() {
|
||||
if ( $j( this ).scrollTop() > 100 ) {
|
||||
$j( '#scroll-top' ).fadeIn();
|
||||
} else {
|
||||
$j( '#scroll-top' ).fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
$j.each( selectors, function( key, value ){
|
||||
$j( value ).on( 'click', function(e){
|
||||
e.preventDefault();
|
||||
$j( 'html, body' ).animate( { scrollTop:0 }, 400 );
|
||||
$j( this ).parent().removeClass( 'sfHover' );
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Mobile menu
|
||||
oceanwpMobileMenu();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
MOBILE SCRIPT
|
||||
============================================== */
|
||||
function oceanwpMobileMenu( event ) {
|
||||
"use strict"
|
||||
|
||||
if ( typeof oceanwpLocalize.sidrSource !== 'undefined' ) {
|
||||
|
||||
// Add sidr
|
||||
$j( '.mobile-menu' ).sidr( {
|
||||
name : 'sidr', // Name for the 'sidr'
|
||||
source : oceanwpLocalize.sidrSource, // Override the source of the content
|
||||
side : oceanwpLocalize.sidrSide, // Accepts 'left' or 'right'
|
||||
displace : oceanwpLocalize.sidrDisplace, // Displace the body content or not
|
||||
speed : 300, // Accepts standard jQuery effects speeds (i.e. fast, normal or milliseconds)
|
||||
renaming : true, // The ids and classes will be prepended with a prefix when loading existent content
|
||||
onOpen : function() {
|
||||
|
||||
// Declare useful vars
|
||||
var $hasChildren = $j( '.sidr-class-menu-item-has-children' );
|
||||
|
||||
// Add dropdown toggle (plus)
|
||||
$hasChildren.children( 'a' ).append( '<span class="sidr-class-dropdown-toggle"></span>' );
|
||||
|
||||
// Toggle dropdowns
|
||||
var $sidrDropdownTarget = $j( '.sidr-class-dropdown-toggle' );
|
||||
|
||||
// Check localization
|
||||
if ( oceanwpLocalize.sidrDropdownTarget == 'link' ) {
|
||||
$sidrDropdownTarget = $j( '.sidr-class-sf-with-ul' );
|
||||
}
|
||||
|
||||
// Add toggle click event
|
||||
$sidrDropdownTarget.on( 'click', function( event ) {
|
||||
|
||||
// Define toggle vars
|
||||
if ( oceanwpLocalize.sidrDropdownTarget == 'link' ) {
|
||||
var $toggleParentLi = $j( this ).parent( 'li' );
|
||||
} else {
|
||||
var $toggleParentLink = $j( this ).parent( 'a' ),
|
||||
$toggleParentLi = $toggleParentLink.parent( 'li' );
|
||||
}
|
||||
|
||||
// Get parent items and dropdown
|
||||
var $allParentLis = $toggleParentLi.parents( 'li' ),
|
||||
$dropdown = $toggleParentLi.children( 'ul' );
|
||||
|
||||
// Toogle items
|
||||
if ( ! $toggleParentLi.hasClass( 'active' ) ) {
|
||||
$hasChildren.not( $allParentLis ).removeClass( 'active' ).children( 'ul' ).slideUp( 'fast' );
|
||||
$toggleParentLi.addClass( 'active' ).children( 'ul' ).slideDown( 'fast' );
|
||||
} else {
|
||||
$toggleParentLi.removeClass( 'active' ).children( 'ul' ).slideUp( 'fast' );
|
||||
}
|
||||
|
||||
// Return false
|
||||
return false;
|
||||
|
||||
} );
|
||||
|
||||
// Add light overlay to content
|
||||
$j( 'body' ).append( '<div class="oceanwp-sidr-overlay"></div>' );
|
||||
$j( '.oceanwp-sidr-overlay' ).fadeIn( 300 );
|
||||
|
||||
// Close sidr when clicking overlay
|
||||
$j( '.oceanwp-sidr-overlay' ).on( 'click', function() {
|
||||
$j.sidr( 'close', 'sidr' );
|
||||
return false;
|
||||
} );
|
||||
|
||||
// Close on resize
|
||||
$window.resize( function() {
|
||||
if ( $window.width() >= 960 ) {
|
||||
$j.sidr( 'close', 'sidr' );
|
||||
}
|
||||
} );
|
||||
|
||||
},
|
||||
onClose : function() {
|
||||
|
||||
// Remove active dropdowns
|
||||
$j( '.sidr-class-menu-item-has-children.active' ).removeClass( 'active' ).children( 'ul' ).hide();
|
||||
|
||||
// FadeOut overlay
|
||||
$j( '.oceanwp-sidr-overlay' ).fadeOut( 300, function() {
|
||||
$j( this ).remove();
|
||||
} );
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
// Replace sidr class in the icons classes
|
||||
$j( '#sidr li.sidr-class-menu-item a i[class*="sidr-class-icon"]' ).each( function() {
|
||||
var old_class = $j( this ).attr( 'class' ),
|
||||
old_class = old_class.replace( 'sidr-class-icon-', 'icon-' );
|
||||
$j( this ).attr( 'class', old_class );
|
||||
} );
|
||||
|
||||
// Close sidr when clicking on close button
|
||||
$j( 'a.sidr-class-toggle-sidr-close' ).on( 'click', function() {
|
||||
$j.sidr( 'close', 'sidr' );
|
||||
return false;
|
||||
} );
|
||||
|
||||
// Close when clicking local scroll link
|
||||
$j( 'li.sidr-class-local-scroll > a' ).on( 'click', function() {
|
||||
$j.sidr( 'close', 'sidr' );
|
||||
oceanwpScrollEffect();
|
||||
return false;
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Carousel
|
||||
oceanwpInitCarousel();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
CAROUSEL
|
||||
============================================== */
|
||||
function oceanwpInitCarousel( $context ) {
|
||||
"use strict"
|
||||
|
||||
var $carousel = $j( '.gallery-format, .product-entry-slider', $context );
|
||||
|
||||
// If RTL
|
||||
if ( $j( 'body' ).hasClass( 'rtl' ) ) {
|
||||
var rtl = true;
|
||||
} else {
|
||||
var rtl = false;
|
||||
}
|
||||
|
||||
// Return autoplay to false if woo slider
|
||||
if ( $j( 'body' ).hasClass( 'woocommerce' ) ) {
|
||||
var autoplay = false;
|
||||
} else {
|
||||
var autoplay = true;
|
||||
}
|
||||
|
||||
// Slide speed
|
||||
var speed = 7000;
|
||||
|
||||
// Gallery slider
|
||||
$carousel.imagesLoaded( function() {
|
||||
$carousel.slick( {
|
||||
autoplay: autoplay,
|
||||
autoplaySpeed: speed,
|
||||
prevArrow: '<button type="button" class="slick-prev"><span class="fa fa-angle-left"></span></button>',
|
||||
nextArrow: '<button type="button" class="slick-next"><span class="fa fa-angle-right"></span></button>',
|
||||
rtl: rtl,
|
||||
} );
|
||||
} );
|
||||
|
||||
// WooCommerce slider
|
||||
$j( '.product .main-images' ).slick( {
|
||||
prevArrow: '<button type="button" class="slick-prev"><span class="fa fa-angle-left"></span></button>',
|
||||
nextArrow: '<button type="button" class="slick-next"><span class="fa fa-angle-right"></span></button>',
|
||||
asNavFor: '.product-thumbnails',
|
||||
rtl: rtl,
|
||||
} );
|
||||
|
||||
// WooCommerce thumbnails slider
|
||||
$j( '.product .product-thumbnails' ).slick( {
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 1,
|
||||
prevArrow: '<button type="button" class="slick-prev"><span class="fa fa-angle-left"></span></button>',
|
||||
nextArrow: '<button type="button" class="slick-next"><span class="fa fa-angle-right"></span></button>',
|
||||
asNavFor: '.product .main-images',
|
||||
focusOnSelect: true,
|
||||
rtl: rtl,
|
||||
responsive: [
|
||||
{
|
||||
breakpoint: 480,
|
||||
settings: {
|
||||
slidesToShow: 2,
|
||||
}
|
||||
}
|
||||
]
|
||||
} );
|
||||
|
||||
// WooCommerce: prevent clicking
|
||||
$j( '.product .main-images a, .product .product-thumbnails a' ).click( function(e) {
|
||||
e.preventDefault();
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Superfish menus
|
||||
oceanwpSuperFish();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
SUPERFISH MENUS
|
||||
============================================== */
|
||||
function oceanwpSuperFish() {
|
||||
"use strict"
|
||||
|
||||
$j( 'ul.sf-menu' ).superfish( {
|
||||
delay: 600,
|
||||
animation: {
|
||||
opacity: 'show'
|
||||
},
|
||||
animationOut: {
|
||||
opacity: 'hide'
|
||||
},
|
||||
speed: 'fast',
|
||||
speedOut: 'fast',
|
||||
cssArrows: false,
|
||||
disableHI: false,
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Woo categories widget
|
||||
oceanwpWooCategoriesWidget();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
WOOCOMMERCE CATEGORIES WIDGET
|
||||
============================================== */
|
||||
function oceanwpWooCategoriesWidget() {
|
||||
"use strict"
|
||||
|
||||
$j( '.product-categories' ).each( function() {
|
||||
|
||||
var IconDown = '<i class="fa fa-angle-down"></i>';
|
||||
var IconUp = '<i class="fa fa-angle-up"></i>';
|
||||
|
||||
$j( this ).find( 'li' ).has( '.children' ).has( 'li' ).prepend( '<div class="open-this">'+ IconDown +'</div>' );
|
||||
|
||||
$j( this ).find( '.open-this' ).on( 'click', function(){
|
||||
if ( $j( this ).parent().hasClass( 'opened' ) ) {
|
||||
$j( this ).html( IconDown ).parent().removeClass( 'opened' ).find( '> ul' ).slideUp( 200 );
|
||||
} else {
|
||||
$j( this ).html( IconUp ).parent().addClass( 'opened' ).find( '> ul' ).slideDown( 200 );
|
||||
}
|
||||
} );
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Woo catalog view
|
||||
oceanwpWooGridList();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
WOOCOMMERCE GRID LIST VIEW
|
||||
============================================== */
|
||||
function oceanwpWooGridList() {
|
||||
"use strict"
|
||||
|
||||
if ( $j( 'body' ).hasClass( 'has-grid-list' ) ) {
|
||||
|
||||
$j( '#oceanwp-grid' ).on( 'click', function() {
|
||||
$j( this ).addClass( 'active' );
|
||||
$j( '#oceanwp-list' ).removeClass( 'active' );
|
||||
Cookies.set( 'gridcookie', 'grid', { path: '' } );
|
||||
$j( '.archive.woocommerce ul.products' ).fadeOut( 300, function() {
|
||||
$j( this ).addClass( 'grid' ).removeClass( 'list' ).fadeIn( 300 );
|
||||
} );
|
||||
return false;
|
||||
} );
|
||||
|
||||
$j( '#oceanwp-list' ).on( 'click', function() {
|
||||
$j( this ).addClass( 'active' );
|
||||
$j( '#oceanwp-grid' ).removeClass( 'active' );
|
||||
Cookies.set( 'gridcookie', 'list', { path: '' } );
|
||||
$j( '.archive.woocommerce ul.products' ).fadeOut( 300, function() {
|
||||
$j( this ).addClass( 'list' ).removeClass( 'grid' ).fadeIn( 300 );
|
||||
} );
|
||||
return false;
|
||||
} );
|
||||
|
||||
if ( Cookies.get( 'gridcookie' ) == 'grid' ) {
|
||||
$j( '.oceanwp-grid-list #oceanwp-grid' ).addClass( 'active' );
|
||||
$j( '.oceanwp-grid-list #oceanwp-list' ).removeClass( 'active' );
|
||||
$j( '.archive.woocommerce ul.products' ).addClass( 'grid' ).removeClass( 'list' );
|
||||
}
|
||||
|
||||
if ( Cookies.get( 'gridcookie' ) == 'list' ) {
|
||||
$j( '.oceanwp-grid-list #oceanwp-list' ).addClass( 'active' );
|
||||
$j( '.oceanwp-grid-list #oceanwp-grid' ).removeClass( 'active' );
|
||||
$j( '.archive.woocommerce ul.products' ).addClass( 'list' ).removeClass( 'grid' );
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Cookies.remove( 'gridcookie', { path: '' } );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Woo image zoom
|
||||
oceanwpWooImageZoom();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
WOOCOMMERCE IMAGE ZOOM
|
||||
============================================== */
|
||||
function oceanwpWooImageZoom() {
|
||||
"use strict"
|
||||
|
||||
// wc_single_product_params is required to continue.
|
||||
if ( typeof wc_single_product_params === 'undefined' ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Product gallery class.
|
||||
*/
|
||||
var ProductGallery = function( $target, args ) {
|
||||
this.$target = $target;
|
||||
this.$images = $j( '.woocommerce-product-gallery__image', $target );
|
||||
|
||||
// No images? Abort.
|
||||
if ( 0 === this.$images.length ) {
|
||||
this.$target.css( 'opacity', 1 );
|
||||
return;
|
||||
}
|
||||
|
||||
// Make this object available.
|
||||
$target.data( 'product_gallery', this );
|
||||
|
||||
// Pick functionality to initialize...
|
||||
this.zoom_enabled = $j.isFunction( $j.fn.zoom ) && wc_single_product_params.zoom_enabled;
|
||||
|
||||
// ...also taking args into account.
|
||||
if ( args ) {
|
||||
this.zoom_enabled = false === args.zoom_enabled ? false : this.zoom_enabled;
|
||||
}
|
||||
|
||||
// Bind functions to this.
|
||||
this.initZoom = this.initZoom.bind( this );
|
||||
|
||||
if ( this.zoom_enabled ) {
|
||||
this.initZoom();
|
||||
$target.on( 'woocommerce_gallery_init_zoom', this.initZoom );
|
||||
}
|
||||
};
|
||||
|
||||
ProductGallery.prototype.initZoom = function() {
|
||||
var zoomTarget = this.$images,
|
||||
galleryWidth = this.$target.width(),
|
||||
zoomEnabled = false;
|
||||
|
||||
$j( zoomTarget ).each( function( index, target ) {
|
||||
var image = $j( target ).find( 'img' );
|
||||
|
||||
if ( image.data( 'large_image_width' ) > galleryWidth ) {
|
||||
zoomEnabled = true;
|
||||
return false;
|
||||
}
|
||||
} );
|
||||
|
||||
// But only zoom if the img is larger than its container.
|
||||
if ( zoomEnabled ) {
|
||||
var zoom_options = {
|
||||
touch: false
|
||||
};
|
||||
|
||||
if ( 'ontouchstart' in window ) {
|
||||
zoom_options.on = 'click';
|
||||
}
|
||||
|
||||
zoomTarget.trigger( 'zoom.destroy' );
|
||||
zoomTarget.zoom( zoom_options );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Function to call wc_product_gallery on jquery selector.
|
||||
*/
|
||||
$j.fn.wc_product_gallery = function( args ) {
|
||||
new ProductGallery( this, args );
|
||||
return this;
|
||||
};
|
||||
|
||||
/*
|
||||
* Initialize all galleries on page.
|
||||
*/
|
||||
$j( '.woocommerce-product-gallery' ).each( function() {
|
||||
$j( this ).wc_product_gallery();
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Woo menu cart
|
||||
oceanwpWooMenuCart();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
WOOCOMMERCE MENU CART
|
||||
============================================== */
|
||||
function oceanwpWooMenuCart() {
|
||||
"use strict"
|
||||
|
||||
if ( $j( 'a.wcmenucart' ).hasClass( 'go-to-shop' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Drop-down
|
||||
if ( 'drop_down' == oceanwpLocalize.wooCartStyle ) {
|
||||
|
||||
// Display cart dropdown
|
||||
$j( '.toggle-cart-widget' ).click( function( event ) {
|
||||
$j( '#searchform-dropdown' ).removeClass( 'show' );
|
||||
$j( 'a.search-dropdown-toggle' ).parent( 'li' ).removeClass( 'active' );
|
||||
$j( 'div#current-shop-items-dropdown' ).toggleClass( 'show' );
|
||||
$j( this ).toggleClass( 'active' );
|
||||
return false;
|
||||
} );
|
||||
|
||||
// Hide cart dropdown
|
||||
$j( 'div#current-shop-items-dropdown' ).click( function( event ) {
|
||||
event.stopPropagation();
|
||||
} );
|
||||
$j( document ).click( function() {
|
||||
$j( 'div#current-shop-items-dropdown' ).removeClass( 'show' );
|
||||
$j( 'li.wcmenucart-toggle-dropdown' ).removeClass( 'active' );
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( window ).on( 'load', function() {
|
||||
"use strict";
|
||||
// Woo quantity buttons
|
||||
oceanwpWooQuantityButtons();
|
||||
} );
|
||||
|
||||
$j( document ).ajaxComplete( function() {
|
||||
"use strict";
|
||||
// Woo quantity buttons
|
||||
oceanwpWooQuantityButtons();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
WOOCOMMERCE QUANTITY BUTTONS
|
||||
============================================== */
|
||||
function oceanwpWooQuantityButtons( $quantitySelector ) {
|
||||
|
||||
var $quantityBoxes;
|
||||
|
||||
if ( ! $quantitySelector ) {
|
||||
$quantitySelector = '.qty';
|
||||
}
|
||||
|
||||
$quantityBoxes = $j( 'div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)' ).find( $quantitySelector );
|
||||
|
||||
if ( $quantityBoxes && 'date' !== $quantityBoxes.prop( 'type' ) && 'hidden' !== $quantityBoxes.prop( 'type' ) ) {
|
||||
|
||||
// Add plus and minus icons
|
||||
$quantityBoxes.parent().addClass( 'buttons_added' ).append('<div class="qty-changer"><a href="javascript:void(0)" class="plus"><i class="fa fa-angle-up"></i></a><a href="javascript:void(0)" class="minus"><i class="fa fa-angle-down"></i></a></div>');
|
||||
|
||||
// Target quantity inputs on product pages
|
||||
$j( 'input' + $quantitySelector + ':not(.product-quantity input' + $quantitySelector + ')' ).each( function() {
|
||||
var $min = parseFloat( $j( this ).attr( 'min' ) );
|
||||
|
||||
if ( $min && $min > 0 && parseFloat( $j( this ).val() ) < $min ) {
|
||||
$j( this ).val( $min );
|
||||
}
|
||||
});
|
||||
|
||||
$j( '.plus, .minus' ).unbind( 'click' );
|
||||
|
||||
$j( '.plus, .minus' ).on( 'click', function() {
|
||||
|
||||
// Get values
|
||||
var $quantityBox = $j( this ).closest( '.quantity' ).find( $quantitySelector ),
|
||||
$currentQuantity = parseFloat( $quantityBox.val() ),
|
||||
$maxQuantity = parseFloat( $quantityBox.attr( 'max' ) ),
|
||||
$minQuantity = parseFloat( $quantityBox.attr( 'min' ) ),
|
||||
$step = $quantityBox.attr( 'step' );
|
||||
|
||||
// Fallback default values
|
||||
if ( ! $currentQuantity || '' === $currentQuantity || 'NaN' === $currentQuantity ) {
|
||||
$currentQuantity = 0;
|
||||
}
|
||||
if ( '' === $maxQuantity || 'NaN' === $maxQuantity ) {
|
||||
$maxQuantity = '';
|
||||
}
|
||||
|
||||
if ( '' === $minQuantity || 'NaN' === $minQuantity ) {
|
||||
$minQuantity = 0;
|
||||
}
|
||||
if ( 'any' === $step || '' === $step || undefined === $step || 'NaN' === parseFloat( $step ) ) {
|
||||
$step = 1;
|
||||
}
|
||||
|
||||
// Change the value
|
||||
if ( $j( this ).is( '.plus' ) ) {
|
||||
|
||||
if ( $maxQuantity && ( $maxQuantity == $currentQuantity || $currentQuantity > $maxQuantity ) ) {
|
||||
$quantityBox.val( $maxQuantity );
|
||||
} else {
|
||||
$quantityBox.val( $currentQuantity + parseFloat( $step ) );
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
if ( $minQuantity && ( $minQuantity == $currentQuantity || $currentQuantity < $minQuantity ) ) {
|
||||
$quantityBox.val( $minQuantity );
|
||||
} else if ( $currentQuantity > 0 ) {
|
||||
$quantityBox.val( $currentQuantity - parseFloat( $step ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Trigger change event
|
||||
$quantityBox.trigger( 'change' );
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
var $j = jQuery.noConflict();
|
||||
|
||||
$j( document ).ready( function() {
|
||||
"use strict";
|
||||
// Woo reviews scroll
|
||||
oceanwpWooReviewsScroll();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
WOOCOMMERCE REVIEWS SCROLL
|
||||
============================================== */
|
||||
function oceanwpWooReviewsScroll() {
|
||||
"use strict"
|
||||
|
||||
$j( '.woocommerce div.product .woocommerce-review-link' ).click( function( event ) {
|
||||
$j( '.woocommerce-tabs .description_tab' ).removeClass( 'active' );
|
||||
$j( '.woocommerce-tabs .reviews_tab' ).addClass( 'active' );
|
||||
$j( '.woocommerce-tabs #tab-description' ).css( 'display', 'none' );
|
||||
$j( '.woocommerce-tabs #tab-reviews' ).css( 'display', 'block' );
|
||||
|
||||
$j( 'html, body' ).stop(true,true).animate( {
|
||||
scrollTop: $j( this.hash ).offset().top -120
|
||||
}, 'normal' );
|
||||
return false;
|
||||
} );
|
||||
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
var $j = jQuery.noConflict(),
|
||||
$window = $j( window );
|
||||
|
||||
$window.on( 'load', function() {
|
||||
"use strict";
|
||||
// Variable image product
|
||||
oceanwpWooVariableImage();
|
||||
} );
|
||||
|
||||
/* ==============================================
|
||||
WOOCOMMERCE VARIABLE IMAGE PRODUCT
|
||||
============================================== */
|
||||
function oceanwpWooVariableImage() {
|
||||
"use strict"
|
||||
|
||||
/**
|
||||
* Stores a default attribute for an element so it can be reset later
|
||||
*/
|
||||
$j.fn.wc_set_variation_attr = function( attr, value ) {
|
||||
if ( undefined === this.attr( 'data-o_' + attr ) ) {
|
||||
this.attr( 'data-o_' + attr, ( ! this.attr( attr ) ) ? '' : this.attr( attr ) );
|
||||
}
|
||||
this.attr( attr, value );
|
||||
};
|
||||
|
||||
/**
|
||||
* Reset a default attribute for an element so it can be reset later
|
||||
*/
|
||||
$j.fn.wc_reset_variation_attr = function( attr ) {
|
||||
if ( undefined !== this.attr( 'data-o_' + attr ) ) {
|
||||
this.attr( attr, this.attr( 'data-o_' + attr ) );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Sets product images for the chosen variation
|
||||
*/
|
||||
$j.fn.wc_variations_image_update = function( variation ) {
|
||||
var $form = this,
|
||||
$product = $form.closest( '.product' ),
|
||||
$product_gallery = $product.find( '.images' ),
|
||||
$product_img = $product.find( 'div.images .main-images img:eq(0), div.images .main-images img:eq(1), div.images .product-thumbnails .first-thumbnail:not(.slick-cloned) img' ),
|
||||
$product_link = $product.find( 'div.images a.woocommerce-main-image:eq(0), div.images a.woocommerce-main-image:eq(1), div.images a.oceanwp-lightbox-trigger:eq(0), div.images a.oceanwp-lightbox-trigger:eq(1), div.images .first-thumbnail:not(.slick-cloned) a.woo-thumbnail:eq(3)' );
|
||||
|
||||
if ( variation && variation.image && variation.image.src && variation.image.src.length > 1 ) {
|
||||
// Image attrs
|
||||
$product_img.wc_set_variation_attr( 'src', variation.image.src );
|
||||
$product_img.wc_set_variation_attr( 'height', variation.image.src_h );
|
||||
$product_img.wc_set_variation_attr( 'width', variation.image.src_w );
|
||||
$product_img.wc_set_variation_attr( 'srcset', variation.image.srcset );
|
||||
$product_img.wc_set_variation_attr( 'sizes', variation.image.sizes );
|
||||
$product_img.wc_set_variation_attr( 'title', variation.image.title );
|
||||
$product_img.wc_set_variation_attr( 'alt', variation.image.alt );
|
||||
$product_img.wc_set_variation_attr( 'data-src', variation.image.full_src );
|
||||
$product_img.wc_set_variation_attr( 'data-large_image', variation.image.full_src );
|
||||
$product_img.wc_set_variation_attr( 'data-large_image_width', variation.image.full_src_w );
|
||||
$product_img.wc_set_variation_attr( 'data-large_image_height', variation.image.full_src_h );
|
||||
$product_link.wc_set_variation_attr( 'href', variation.image.full_src );
|
||||
$product_link.wc_set_variation_attr( 'title', variation.image.title );
|
||||
} else {
|
||||
// Reset image attrs
|
||||
$product_img.wc_reset_variation_attr( 'src' );
|
||||
$product_img.wc_reset_variation_attr( 'width' );
|
||||
$product_img.wc_reset_variation_attr( 'height' );
|
||||
$product_img.wc_reset_variation_attr( 'srcset' );
|
||||
$product_img.wc_reset_variation_attr( 'sizes' );
|
||||
$product_img.wc_reset_variation_attr( 'title' );
|
||||
$product_img.wc_reset_variation_attr( 'alt' );
|
||||
$product_img.wc_reset_variation_attr( 'data-src' );
|
||||
$product_img.wc_reset_variation_attr( 'data-large_image' );
|
||||
$product_img.wc_reset_variation_attr( 'data-large_image_width' );
|
||||
$product_img.wc_reset_variation_attr( 'data-large_image_height' );
|
||||
$product_link.wc_reset_variation_attr( 'href' );
|
||||
$product_link.wc_reset_variation_attr( 'title' );
|
||||
}
|
||||
|
||||
window.setTimeout( function() {
|
||||
$product_gallery.trigger( 'woocommerce_gallery_init_zoom' );
|
||||
|
||||
// Refresh slide
|
||||
if ( $j( 'body' ).hasClass( 'single-product' ) ) {
|
||||
$j( '.product .main-images, .product .product-thumbnails' ).slick( 'refresh' );
|
||||
|
||||
// Refresh lightbox
|
||||
if ( ! $j( 'body' ).hasClass( 'no-lightbox' ) ) {
|
||||
$j( '.product-images-slider' ).removeData( 'chocolat' ).Chocolat( {
|
||||
loop : true,
|
||||
imageSelector : '.product-image:not(.slick-cloned) .woo-lightbox'
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
$j( window ).trigger( 'resize' );
|
||||
}, 10 );
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,426 @@
|
||||
== Changelog ==
|
||||
|
||||
= 1.6.6 =
|
||||
- Fixed: Security issue - If $_REQUEST['_wpnonce'] is not set, it won't be checked.
|
||||
- Fixed: Remove filter for 5 star rating from review link.
|
||||
- Updated: Freemius version.
|
||||
|
||||
= 1.6.5 =
|
||||
- Fixed: Data saving error - about me widget.
|
||||
- Removed: All affiliate links has been removed.
|
||||
|
||||
= 1.6.4 =
|
||||
- Fixed: Missing Dependencies script 'butterbean'
|
||||
- Fixed: Updated Mailchimp API
|
||||
- Added: SEO Improvement - added "noopener noreferrer" tags when link opens in a new tab: Custom Links, About Me, Social Icons, Contact Info.
|
||||
- Added: Accessibility Improvement - aria labels with warnings when link opens in a new tab: Custom Links, About Me, Social Icons, Contact Info.
|
||||
- Added: Accessibility Improvement - aria-hidden on icons for following widgets: About Me, Social Icons, Contact Info.
|
||||
- Added: Option to add a 'nofollow' link rel to following widgets: Custom Links, About Me, Social Icons, Contact Info.
|
||||
|
||||
= 1.6.3 =
|
||||
- Fixed: Uncaught ReferenceError: butterbean is not defined
|
||||
- Fixed: OceanWP javascripts doesn't execute on fast pages
|
||||
|
||||
= 1.6.2 =
|
||||
- Fixed: [oceanwp_nav] error.
|
||||
|
||||
= 1.6.1 =
|
||||
- Fixed: Shortocde [oceanwp_nav] is not working.
|
||||
|
||||
= 1.6.0 =
|
||||
- Fixed: Freemius account details display.
|
||||
- Added: Updated custom header nav widget with respect to theme for accessibitly.
|
||||
- Updated: Freemius SDK for better account and license management.
|
||||
- Fixed: [oceanwp_nav] shortcode mobile menu issue.
|
||||
- Fixed: Theme Panel > Scripts & Styles - PHP 7.4 Warning message after disabling/enabling styles & scripts.
|
||||
- Fixed: Replaced get_woocommerce_term_meta (deprecated) by get_term_meta.
|
||||
- Added: Accessibility Improvement - Added 'aria-hidden' labels to the social icon widget.
|
||||
|
||||
= 1.5.20 =
|
||||
- Fixed: Menu Icon Library: icon library loading blank.
|
||||
|
||||
= 1.5.19 =
|
||||
- Fixed: Icon issue.
|
||||
- Fixed: Compatibility with WP5.3
|
||||
|
||||
= 1.5.18 =
|
||||
- Fixed: Fatal Error.
|
||||
|
||||
= 1.5.17 =
|
||||
- Added: Updated to FontAwesome-5 to fix the version conflict.
|
||||
|
||||
= 1.5.16 =
|
||||
- New: Added white-labeling capabilities for client installations.
|
||||
|
||||
= 1.5.15 =
|
||||
- Fix: Fixed the WP Cron jobs issue.
|
||||
|
||||
= 1.5.14 =
|
||||
- Update: Added special logging and troubleshooting for the migration logic.
|
||||
|
||||
= 1.5.13 =
|
||||
- Fixed: Free label in Freemius.
|
||||
|
||||
= 1.5.12 =
|
||||
- Fixed: Security issue.
|
||||
|
||||
= 1.5.11 =
|
||||
- Added: Important codes for the Freemius switch.
|
||||
|
||||
= 1.5.10 =
|
||||
- Fixed: Errors issue with the updater.php file.
|
||||
|
||||
= 1.5.8 =
|
||||
- Tweak: Gutenberg support removed for the My Library post type to avoid conflict with Ocean Hooks.
|
||||
|
||||
= 1.5.7 =
|
||||
- Added: Gutenberg support.
|
||||
|
||||
= 1.5.6 =
|
||||
- Added: Some codes for an upcoming release.
|
||||
|
||||
= 1.5.5 =
|
||||
- Tweak: Small improvement on the setup wizard.
|
||||
|
||||
= 1.5.4 =
|
||||
- Tweak: Import demo improved.
|
||||
|
||||
= 1.5.3 =
|
||||
- Fixed: White screen error with older PHP version.
|
||||
|
||||
= 1.5.2 =
|
||||
- Fixed: White screen error.
|
||||
|
||||
= 1.5.1 =
|
||||
- Added: Meta tags directly added to this plugin as it is not allowed in a theme.
|
||||
|
||||
= 1.5.0 =
|
||||
- Added: Setup Wizard to help you to create very easily your website.
|
||||
- Tweak: You can now select a post type for the [oceanwp_search] shortcode.
|
||||
- Tweak: The WooCommerce shortcodes take into account the taxes calculation if activated.
|
||||
- Fixed: Import issue with the contact form of the demos.
|
||||
- Fixed: WPML issue to translate pages.
|
||||
- Fixed: The MailChimp and Social Share JS files are now only loaded if the widgets are used on a post.
|
||||
- Removed: First box in Theme Panel sidebar.
|
||||
|
||||
= 1.4.29 =
|
||||
- Tweak: Some tweaks for an upcoming big update.
|
||||
|
||||
= 1.4.28 =
|
||||
- Tweak: Notices will not be displayed if Ocean White Label is used (you don't need to update if you don't use this white label plugin).
|
||||
|
||||
= 1.4.27 =
|
||||
- Added: Dismiss button for the theme panel rating box so you can easily remove it.
|
||||
|
||||
= 1.4.26 =
|
||||
- Fixed: Missing CSS issue.
|
||||
|
||||
= 1.4.25 =
|
||||
- Tweak: Contact Forms 7 replaced by WPForms for all free demos, which is a much better and flexible form plugin.
|
||||
|
||||
= 1.4.24 =
|
||||
- Fixed: Issue with the [oceanwp_woo_free_shipping_left} shortcode.
|
||||
|
||||
= 1.4.23 =
|
||||
- Fixed: White screen if PHP under 5.6 is used.
|
||||
|
||||
= 1.4.22 =
|
||||
- Tweak: Slick script in Theme Panel > Scripts & Styles.
|
||||
|
||||
= 1.4.21 =
|
||||
- Fixed: Issue with the About Me widget in the customizer.
|
||||
|
||||
= 1.4.20 =
|
||||
- Added: New setting in OceanWP Settings to select a custom footer per page/post.
|
||||
- Tweak: Sticky Header notice automatically removed if one premium extension is activated.
|
||||
|
||||
= 1.4.19 =
|
||||
- Tweak: New setting for the Custom Menu widget to allow you to open the sub menus at the parent link hover or via an icon click.
|
||||
|
||||
= 1.4.18 =
|
||||
- Fixed: issue with some shortcodes and Yoast SEO.
|
||||
|
||||
= 1.4.17 =
|
||||
- Tweak: Theme Panel sidebar improved.
|
||||
|
||||
= 1.4.16 =
|
||||
- Fixed: Social Share widget not displayed in the widget page.
|
||||
|
||||
= 1.4.15 =
|
||||
- Added: New widget Social Share.
|
||||
- Added: New premium extension Full Screen in the extensions page.
|
||||
|
||||
= 1.4.14 =
|
||||
- Added: New premium extension "Ocean Cookie Notice" in the Extensions admin page.
|
||||
|
||||
= 1.4.13 =
|
||||
- Tweak: MailChimp widget improved, you just need to add your MailChimp API Key and List ID in Theme Panel > Integration, and the form will don't redirect anymore.
|
||||
|
||||
= 1.4.12 =
|
||||
- Added: Typography settings for the Menu in the OceanWP Settings metabox.
|
||||
- Removed: Push Monkey integration, if you used it in the Theme Panel, you just need to install the official plugin: https://wordpress.org/plugins/push-monkey-desktop-push-notifications/
|
||||
|
||||
= 1.4.11 =
|
||||
-Tweak: Theme Panel edited.
|
||||
|
||||
= 1.4.10 =
|
||||
-Tweak: OceanWP dashboard widget display the theme version.
|
||||
|
||||
= 1.4.9 =
|
||||
-Added: OceanWP News & Updates widget in the WordPress dashboard so you can see the latest news of the theme.
|
||||
-Tweak: Licenses tab moved to an admin panel, more easier to access, Theme Panel > Licenses.
|
||||
-Fixed: Color picker that close on Safari browser.
|
||||
-Fixed: $hashtag and $blocked_users user variables not defined for the Instagram widget.
|
||||
-Fixed: Mini cart issue on the Cart and Checkout page if the woo cart icon shortcode is used.
|
||||
|
||||
= 1.4.8 =
|
||||
-Added: Switch button to easily check or un-check every script for the Scripts & Styles page.
|
||||
-Added: Upload setting for the Instagram widget if you want to add a profile picture, as it is not possible anymore to get it from the username.
|
||||
-Fixed: Instagram widget issue "Images not found".
|
||||
|
||||
= 1.4.7 =
|
||||
-Fixed: Error in Theme Panel > Extensions.
|
||||
|
||||
= 1.4.6 =
|
||||
-Fixed: 500 error on PHP 5.4.
|
||||
|
||||
= 1.4.5 =
|
||||
-Tweak: The activation/deactivation of the scripts and styles work on every hosts now.
|
||||
-Removed: Wishlist icon shortcode, with the TI WooCommerce Wishlist plugin you can use their "[ti_wishlist_products_counter]" shortcode, so if you use the theme shortcode, you need to replace it.
|
||||
-Removed: Rec. Plugins in Theme Panel, it can be confusing for new users.
|
||||
|
||||
= 1.4.4 =
|
||||
- Added: Cart icon shortcode.
|
||||
- Added: Wishlist icon shortcode.
|
||||
- Added: Twiiter widget.
|
||||
- Fixed: Menu icons issue.
|
||||
- Fixed: Font Awesome and Simple Line Icons styles was not disabled if no other styles was not un-checked.
|
||||
|
||||
= 1.4.3 =
|
||||
- Added: Popup Login extension in Theme Panel > Extensions.
|
||||
|
||||
= 1.4.2 =
|
||||
- Added: Core Extensions Bundle block in Theme Panel > Licenses, so now, you just need to add one license to activate all premium extensions.
|
||||
- Fixed: Theme Panel issue with PHP 5.6.
|
||||
|
||||
= 1.4.1 =
|
||||
- Fixed: Scripts & Styles issue on the Theme Panel page.
|
||||
- Fixed: Licenses issue on mulsite, now you can enable your premium extensions licenses for all your subsites.
|
||||
|
||||
= 1.4.0 =
|
||||
- Added: Integration with Push Monkey, see Theme Panel > Push Notifications.
|
||||
- Added: Instagram and White Label extensions added in the extensions tab.
|
||||
- Added: New options for the Contact Info widget to add a target to the links.
|
||||
- Tweak: Better approch for the Scripts & Styles, now the files are automatically updated after the theme update, no need to do it manually.
|
||||
- Fixed: Icons issue of the contact info widget on RTL.
|
||||
|
||||
= 1.3.10 =
|
||||
- Fixed: Small issue on the Scripts & Styles page.
|
||||
|
||||
= 1.3.9 =
|
||||
- Added: New fields in the Contact Info widget to allow you to add a URL for the Address, Phone and Mobile fields.
|
||||
- Added: Three styles for the Contact Info widget, default, big icons and no icons.
|
||||
- Deleted: Post tab in the OceanWP Settings metabox if it is not the Post post type.
|
||||
- Deleted: Admin notice if OceanWP is not the theme used.
|
||||
|
||||
= 1.3.8 =
|
||||
- Added: Color fields in the Social Icons widget.
|
||||
- Added: Custom JS textarea in the customizer.
|
||||
- Fixed: Issue with the breadcrumb shortcode in the elementor editor mode.
|
||||
- Fixed: Issue with the color control on the OceanWP Settings metabox.
|
||||
- Fixed: Issue with the Magnific Popup script when you disable a script in the Scripts and Styles page with external plugins who are using the same script.
|
||||
- Fixed: Save button for the About Me and Social widgets.
|
||||
|
||||
= 1.3.7 =
|
||||
- Fixed: Issue with some admin pages style.
|
||||
|
||||
= 1.3.6 =
|
||||
- Added: Spanish language, thanks to Angel Julian Mena.
|
||||
- Added: Filter to remove the admin notice to get Ocean Hooks.
|
||||
- Tweak: The fields to enter your licenses key are now hidden so you can use them for your customers..
|
||||
- Fixed: Page header, page header heading and breadcrumb issue if there disabled in the customizer and you want enable them per page/post.
|
||||
|
||||
= 1.3.5 =
|
||||
- Added: OceanWP Settings metabox in Anywhere Elementor post type.
|
||||
|
||||
= 1.3.4 =
|
||||
- Fixed: 500 error issue if you use an outdated OceanWP version.
|
||||
|
||||
= 1.3.3 =
|
||||
- Added: New "Both Sidebars" layout in OceanWP Settings.
|
||||
- Added: New option in OceanWP Settings to select a header per page/post, the header style options need to be set via the customizer.
|
||||
- Added: New options in OceanWP Settings to add a different logo and retina logo per page/post.
|
||||
- Added: New options in OceanWP Settings to add a different max width and max height for your logo per page/post.
|
||||
- Added: New options in OceanWP Settings to add different parent menu items color per page/post.
|
||||
- Added: New options in the Title tab in OceanWP Settings to disable the page title heading per page/post.
|
||||
- Added: New shortcode to display the breadcrumb where you want: [oceanwp_breadcrumb].
|
||||
- Added: Parallax Footer script in Theme Panel > Scripts & Styles, so you can disable it.
|
||||
- Tweak: Scripts and styles files path.
|
||||
|
||||
= 1.3.2 =
|
||||
- Added: Capabilities for the OceanWP Settings metabox with "manage_options" by default, you can change it with the "ocean_main_metaboxes_capabilities" filter.
|
||||
- Tweak: Now you can add HTML code in the text field of the About Me widget.
|
||||
|
||||
= 1.3.1 =
|
||||
- Fixed: Transparent header style issue in the edit mode of elementor.
|
||||
- Fixed: Blog entries CSS issue.
|
||||
|
||||
= 1.3.0 =
|
||||
- Added: Shortcode in the My Library post type, now you can create a template via this post type and insert it where you want via the Shortcodes tab of the OceanWP Settings metabox, work with any page builder.
|
||||
- Added: Links Effect style in Scripts & Styles.
|
||||
|
||||
= 1.2.10 =
|
||||
- Added: New "My Library" tab in Theme Panel, this post type will be used for your custom header, custom footer, custom error page, etc... The old way (pages select) still work but it is better to import your content directly into this new post type.
|
||||
- Added: French translation, thanks a lot to Jean of freepixel.net.
|
||||
- Tweak: Your posts can be displayed on the Recent Posts widget even if there is no thumbnails.
|
||||
- Tweak: Improvement for the Scripts & Styles feature. If you see that your site's CSS is malfunctioning, go to your WordPress dashboard, click Theme Panel > Scripts & Styles, and click Save Changes. This will create a new JS and CSS files if you have disabled an JS or CSS field.
|
||||
|
||||
= 1.2.9 =
|
||||
- Added: Portfolio extension in the Extensions tab.
|
||||
|
||||
= 1.2.8 =
|
||||
- Fixed: Issue with the top bar menu with the center header style.
|
||||
|
||||
= 1.2.7 =
|
||||
- Added: New Typography control for the metabox to use it in extensions.
|
||||
- Fixed: JS error with the Fixed Footer script.
|
||||
|
||||
= 1.2.6 =
|
||||
- Added: Admin notice.
|
||||
- Tweak: Some code improvements.
|
||||
|
||||
= 1.2.5 =
|
||||
- Fixed: Double lighbox icon on the single product images.
|
||||
|
||||
= 1.2.4 =
|
||||
- Tweak: Code improvements for the metabox.
|
||||
|
||||
= 1.2.3 =
|
||||
- Added: Ajax for the [oceanwp_woo_free_shipping_left] shortcode, now when you'll add a product on your cart, the free shipping left amount will updated automatically.
|
||||
- Added: Review box instead of the affiliate box.
|
||||
|
||||
= 1.2.2.3 =
|
||||
- Fixed: Mobile menu with the Custom Header Nav widget.
|
||||
|
||||
= 1.2.2.2 =
|
||||
- Deleted: Customizer unnecessary sections.
|
||||
|
||||
= 1.2.2.1 =
|
||||
- Fixed: Theme Panel issue.
|
||||
- Fixed: Issue when disabling Font Awesome and Simple Line Icons, did not work anymore.
|
||||
|
||||
= 1.2.2 =
|
||||
- Added: New way to add an icon for your menu items, now you can see available icons, change the size, put your icon before/after or above text, hide text, etc.
|
||||
- Added: New "Rec. Plugins" tab in Theme Panel to easily allow you to install recommended plugins.
|
||||
- Added: New "Shortcodes" tab in the OceanWP Settings metabox to allow you to add shortcodes before/after elements.
|
||||
- Added: New "Breadcrumbs" tab and fields in the OceanWP Settings metabox to show/hide and customizer the breadcrumbs per page/post.
|
||||
- Added: New WooCommerce shortcode "[oceanwp_woo_total_cart]" to display the total amount of your cart.
|
||||
- Added: New WooCommerce shortcode "[oceanwp_woo_cart_items]" to display the total items number of your cart.
|
||||
- Added: New WooCommerce shortcode "[oceanwp_woo_free_shipping_left]" to display the amount left to get free shipping.
|
||||
- Fixed: Issue when you add the OceanWP widgets in your page with Elementor.
|
||||
- Fixed: Issue with disabling customizer's panels via Theme Panel, if you have disabled customizer panels, you have to do it again, sorry for that.
|
||||
- Fixed: Issue when you add HTML code in the content of the contact info widget.
|
||||
- Tweak: Improved Theme Panel page.
|
||||
- Tweak: Improved Extensions admin page.
|
||||
|
||||
= 1.2.1.2 =
|
||||
- Fixed: WooCommerce CSS updated to fix the small issue with the products categories images.
|
||||
|
||||
= 1.2.1.1 =
|
||||
- Fixed: Small issue with some scripts.
|
||||
|
||||
= 1.2.1 =
|
||||
- Added: Scripts Panel tab to allow you to enable or disable any scripts from the theme to improve your loading speed, thank you a lot to Steeve Lefebvre for helping me with this.
|
||||
- Added: New shortcode "[oceanwp_current_user]", see the [documentation](http://docs.oceanwp.org/article/433-oceanwpcurrentuser-shortcode).
|
||||
- Added: Tags cloud widget, now you can add your own style (background, color, font size, text-transform, etc...).
|
||||
- Tweak: Layouts names modified, from No Sidebar to Full Width and Full Screen to 100% Full Width.
|
||||
- Fixed: Small issue with the Custom Menu widget.
|
||||
- Deleted: oceanwp_insta_square image size, no need anymore.
|
||||
|
||||
= 1.2.0.1 =
|
||||
- Fixed: Small issue with the post type select in the recent post widget.
|
||||
|
||||
= 1.2.0 =
|
||||
- Added: All widgets have been added in this plugin because some things are not allowed in a theme.
|
||||
|
||||
= 1.1.9 =
|
||||
- Added: New shortcodes: [see the documentation](http://docs.oceanwp.org/category/369-shortcodes)
|
||||
- Tweak: The [ocean_logo] and [ocean_nav] shortcodes have changed to [oceanwp_logo] and [oceanwp_nav], so if you use its shortcodes on your site, you need to update them.
|
||||
|
||||
= 1.1.8 =
|
||||
- Added: New fields to add image attributs for the background image of the page header.
|
||||
- Added: Dynamic date shortcode: [see the documentation](http://docs.oceanwp.org/article/367-add-a-dynamic-date-in-the-footer-bottom)
|
||||
|
||||
= Added: 1.1.7 =
|
||||
- Added: Ocean Sticky Footer in the extension tab.
|
||||
- Tweak: Improvement of the licenses fields.
|
||||
|
||||
= 1.1.6 =
|
||||
- Tweak: Select2 script replaced by Selective to prevent conflict.
|
||||
|
||||
= 1.1.5.1 =
|
||||
- Fixed: Error 500 fixed.
|
||||
|
||||
= 1.1.5 =
|
||||
- Added: Ocean Modal Window added in the extension tab.
|
||||
- Fixed: Issue with select on the admin product page.
|
||||
|
||||
= 1.1.4.2 =
|
||||
- Tweak: Color picker script moved to use it in all metaboxes.
|
||||
|
||||
= 1.1.4.1 =
|
||||
- Tweak: Admin script loaded only when necessary.
|
||||
|
||||
= 1.1.4 =
|
||||
- Fixed: Import issue with WordPress 4.7.1/4.7.2 bug affecting uploads.
|
||||
|
||||
= 1.1.3 =
|
||||
- Added: New "Sidebar" section in the Theme Panel.
|
||||
- Added: New "Ocean Hooks" and "Ocean Posts Slider" extensions in the extensions tab.
|
||||
- Deleted: Posts Slider shorcode from this plugin, added directly into the free Ocean Posts Slider extension.
|
||||
|
||||
= 1.1.2 =
|
||||
- Added: New settings to enabled/disabled the top bar, header, footer widgets and footer bottom per page or per post.
|
||||
- Tweak: Large improvement of metabox options.
|
||||
|
||||
= 1.1.1 =
|
||||
- Added: OceanWP Settings into the Library post type of Elementor.
|
||||
- Added: Shortcodes for the custom header (available in OceanWP 1.1.1).
|
||||
|
||||
= 1.1.0 =
|
||||
- Added: RTL support for the metaboxes.
|
||||
- Added: Support OceanWP 1.1.
|
||||
- Deleted: Custom CSS tab (Since version 1.0.9 the CSS is imported directly into the customizer).
|
||||
|
||||
= 1.0.9 =
|
||||
- Tweak: Improvement of referral urls for affiliation.
|
||||
|
||||
= 1.0.8 =
|
||||
- Added: New field in the Title tab in the metabox to add a custom color to the overlay title.
|
||||
- Tweak: Improved style for the Import/Export tab.
|
||||
|
||||
= 1.0.7 =
|
||||
- Added: New "Ocean Demo Import" extension in the extensions tab.
|
||||
|
||||
= 1.0.6 =
|
||||
- Tweak: Improvement exporter settings.
|
||||
|
||||
= 1.0.5 =
|
||||
- Added: New import/export tab to easily import or export your settings.
|
||||
|
||||
= 1.0.4 =
|
||||
- Tweak: Modified capability to manage options for the Custom CSS tab.
|
||||
|
||||
= 1.0.3 =
|
||||
- Added: New field in the OceanWP Settings meta box to add an overlay to the background image title.
|
||||
|
||||
= 1.0.2 =
|
||||
- Added: New "Custom Sidebar" extension in the extensions tab.
|
||||
- Added: New field in the Main tab in the metabox to add shorcode to the top of the page.
|
||||
- Added: Posts Slider shortcode, see the documentation for more infos.
|
||||
|
||||
= 1.0.1 =
|
||||
- Added: Add documentation link in the panel.
|
||||
|
||||
= 1.0.0 =
|
||||
- Initial release.
|
||||
+238
@@ -0,0 +1,238 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Freemius Migration
|
||||
* @copyright Copyright (c) 2016, Freemius, Inc.
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* Class FS_Client_Addon_Migration_Abstract_v2
|
||||
*/
|
||||
abstract class FS_Client_Addon_Migration_Abstract_v2 {
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $_addon_shortcode;
|
||||
/**
|
||||
* @var Freemius
|
||||
*/
|
||||
protected $_addon_fs;
|
||||
|
||||
/**
|
||||
* @param array $config
|
||||
*
|
||||
* @return Freemius
|
||||
*/
|
||||
public function init_sdk( array $config ) {
|
||||
if ( ! isset( $this->_addon_fs ) ) {
|
||||
if ( empty( $config['premium_slug'] ) ) {
|
||||
// Currently all premium add-ons are premium-only.
|
||||
$config['premium_slug'] = $config['slug'];
|
||||
}
|
||||
|
||||
$this->_addon_fs = fs_dynamic_init( array_merge(
|
||||
$this->get_addons_sdk_init_common_config(),
|
||||
$config
|
||||
) );
|
||||
}
|
||||
|
||||
return $this->_addon_fs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize the add-on client migration logic.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public function init() {
|
||||
if ( ! $this->is_parent_included() ) {
|
||||
if ( is_admin() ) {
|
||||
// Add error admin notice telling the add-on cannot work without the theme.
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// Init Freemius.
|
||||
call_user_func( $this->_addon_shortcode );
|
||||
|
||||
$migration_fun_name = "{$this->_addon_shortcode}_try_migrate";
|
||||
|
||||
if ( function_exists( $migration_fun_name ) ) {
|
||||
$parent_shortcode = $this->get_parent_shortcode();
|
||||
|
||||
if ( did_action( "{$parent_shortcode}_client_migration_loaded" ) ) {
|
||||
call_user_func( $migration_fun_name );
|
||||
} else {
|
||||
add_action( "{$parent_shortcode}_client_migration_loaded", $migration_fun_name );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param string $addon_edd_download_id
|
||||
* @param string $addon_class
|
||||
* @param string $addon_name
|
||||
*/
|
||||
function try_migrate_addon(
|
||||
$addon_edd_download_id,
|
||||
$addon_class,
|
||||
$addon_name
|
||||
) {
|
||||
$is_migration_debug = self::is_migration_debug();
|
||||
|
||||
if ( self::is_migration_on() ) {
|
||||
if ( ! $is_migration_debug ||
|
||||
( ! self::is_wp_ajax() && ! self::is_wp_cron() )
|
||||
) {
|
||||
new FS_EDD_Client_Migration_v2(
|
||||
// This should be replaced with your custom Freemius shortcode.
|
||||
$this->_addon_fs,
|
||||
|
||||
// This should point to your EDD store root URL.
|
||||
$this->get_store_url(),
|
||||
|
||||
// The EDD download ID of your product.
|
||||
$addon_edd_download_id,
|
||||
|
||||
$this->get_new_license_key_manager( false, $addon_class, $addon_name ),
|
||||
|
||||
// Migration type.
|
||||
FS_Client_Migration_Abstract_v2::TYPE_PRODUCT_TO_PRODUCT,
|
||||
|
||||
// Freemius was NOT included in the previous (last) version of the product.
|
||||
false,
|
||||
|
||||
// For testing, you can change that argument to TRUE to trigger the migration in the same HTTP request.
|
||||
$is_migration_debug
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The parent product's shortcode.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
abstract protected function get_parent_shortcode();
|
||||
|
||||
/**
|
||||
* Check if add-on's parent product is running.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
abstract protected function is_parent_included();
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
abstract protected function get_addons_sdk_init_common_config();
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param bool $is_bundle
|
||||
* @param string $addon_class
|
||||
* @param string $addon_name
|
||||
*
|
||||
* @return FS_Client_License_Abstract_v2
|
||||
*/
|
||||
abstract protected function get_new_license_key_manager( $is_bundle, $addon_class = '', $addon_name = '' );
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
abstract protected function get_store_url();
|
||||
|
||||
#region Helper Methods
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function is_migration_debug() {
|
||||
return (
|
||||
defined( 'WP_FS__MIGRATION_DEBUG' ) &&
|
||||
true === WP_FS__MIGRATION_DEBUG
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function is_migration_off() {
|
||||
return (
|
||||
defined( 'WP_FS__MIGRATION_OFF' ) &&
|
||||
true === WP_FS__MIGRATION_OFF
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function is_migration_on() {
|
||||
return ! self::is_migration_off();
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function is_wp_ajax() {
|
||||
return (
|
||||
defined( 'DOING_AJAX' ) &&
|
||||
true === DOING_AJAX
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function is_wp_cron() {
|
||||
return (
|
||||
defined( 'DOING_CRON' ) &&
|
||||
true === DOING_CRON
|
||||
);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Freemius Migration
|
||||
* @copyright Copyright (c) 2016, Freemius, Inc.
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
||||
* @since 1.0.3
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( class_exists( 'FS_Client_License_Abstract_v2' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
abstract class FS_Client_License_Abstract_v2 {
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @param int|null $blog_id Since 1.1.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
abstract function get( $blog_id = null );
|
||||
|
||||
/**
|
||||
* When migrating a bundle license and the sales platform creates a different
|
||||
* license key for every product in the bundle which is the key that actually
|
||||
* used for activation, this method should return the collection of all
|
||||
* child license keys that were activated on the current website.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @param int|null $blog_id Since 1.1.0
|
||||
*
|
||||
* @return string[]
|
||||
*
|
||||
* @throws \Exception
|
||||
*/
|
||||
function get_children( $blog_id = null ) {
|
||||
throw new Exception( 'get_children() is not implemented' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @param string $license_key
|
||||
* @param int|null $blog_id Since 1.1.0
|
||||
*
|
||||
* @return bool True if successfully updated.
|
||||
*/
|
||||
abstract function set( $license_key, $blog_id = null );
|
||||
|
||||
/**
|
||||
* Checks if a given sub-site has the license key set.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @param int|null $blog_id
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function site_has_key( $blog_id = null ) {
|
||||
$key = $this->get( $blog_id );
|
||||
|
||||
return ! empty( $key );
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if a given sub-site has any bundle products keys.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @param int|null $blog_id
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function site_has_children_keys( $blog_id = null ) {
|
||||
$children_keys = $this->get_children( $blog_id );
|
||||
|
||||
return ! empty( $children_keys );
|
||||
}
|
||||
|
||||
/**
|
||||
* Override this only when the product supports a network level integration.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function is_network_migration() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Override this when licenses are identical across the network. I.E. if a license
|
||||
* is activated it has to be the same license for all the product installation's in the
|
||||
* network.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function are_licenses_network_identical() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Activates a bundle license on the installed child products, after successfully migrating the license.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param \FS_User $user
|
||||
* @param string|null $bundle_license_key
|
||||
*/
|
||||
abstract function activate_bundle_license_after_migration( FS_User $user, $bundle_license_key = null );
|
||||
}
|
||||
+1253
File diff suppressed because it is too large
Load Diff
+55
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Freemius Migration
|
||||
* @copyright Copyright (c) 2016, Freemius, Inc.
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
||||
* @since 1.0.3
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( class_exists( 'FS_EDD_Client_Migration_v2' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Include abstract class.
|
||||
require_once dirname( __FILE__ ) . '/class-fs-client-migration-abstract.php';
|
||||
|
||||
/**
|
||||
* Class My_EDD_Freemius_Migration
|
||||
*/
|
||||
class FS_EDD_Client_Migration_v2 extends FS_Client_Migration_Abstract_v2 {
|
||||
/**
|
||||
*
|
||||
* @param Freemius $freemius
|
||||
* @param string $edd_store_url Your EDD store URL.
|
||||
* @param int $edd_download_id The context EDD download ID (from your store).
|
||||
* @param FS_Client_License_Abstract_v2 $edd_license_accessor License accessor.
|
||||
* @param string $migration_type Migration type.
|
||||
* @param bool $was_freemius_in_prev_version By default, the migration process will only be executed upon activation of the product for the 1st time with Freemius. By modifying this flag to `true`, it will also initiate a migration request even if the user already opted into Freemius. This flag is particularly relevant when the developer already released a Freemius powered version before releasing a version with the migration code.
|
||||
* @param bool $is_blocking Special argument for testing. When false, will
|
||||
* initiate the migration in the same HTTP request.
|
||||
*/
|
||||
public function __construct(
|
||||
Freemius $freemius,
|
||||
$edd_store_url,
|
||||
$edd_download_id,
|
||||
FS_Client_License_Abstract_v2 $edd_license_accessor,
|
||||
$migration_type = FS_Client_Migration_Abstract_v2::TYPE_PRODUCT_TO_PRODUCT,
|
||||
$was_freemius_in_prev_version = false,
|
||||
$is_blocking = false
|
||||
) {
|
||||
$this->init(
|
||||
'edd',
|
||||
$freemius,
|
||||
$edd_store_url,
|
||||
$edd_download_id,
|
||||
$edd_license_accessor,
|
||||
$migration_type,
|
||||
$was_freemius_in_prev_version,
|
||||
$is_blocking
|
||||
);
|
||||
}
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Freemius Migration
|
||||
* @copyright Copyright (c) 2016, Freemius, Inc.
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
||||
* @since 1.0.3
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( class_exists( 'FS_WC_Client_Migration_v2' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Include abstract class.
|
||||
require_once dirname( __FILE__ ) . '/class-fs-client-migration-abstract.php';
|
||||
|
||||
/**
|
||||
* Class FS_WC_Client_Migration_v2
|
||||
*/
|
||||
class FS_WC_Client_Migration_v2 extends FS_Client_Migration_Abstract_v2 {
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @param Freemius $freemius
|
||||
* @param string $wc_store_url Your WC store URL.
|
||||
* @param int $wc_product_id The context WC product ID (from your store).
|
||||
* Important: If you have variants to the product,
|
||||
* use the the ID should be of the parent product.
|
||||
* @param FS_Client_License_Abstract_v2 $wc_license_accessor License accessor.
|
||||
* @param bool $migration_type Migration type.
|
||||
* @param bool $was_freemius_in_prev_version By default, the migration process will only be executed upon activation of the product for the 1st time with Freemius. By modifying this flag to `true`, it will also initiate a migration request even if the user already opted into Freemius. This flag is particularly relevant when the developer already released a Freemius powered version before releasing a version with the migration code.
|
||||
* @param bool $is_blocking Special argument for testing. When false, will
|
||||
* initiate the migration in the same HTTP request.
|
||||
*/
|
||||
public function __construct(
|
||||
Freemius $freemius,
|
||||
$wc_store_url,
|
||||
$wc_product_id,
|
||||
FS_Client_License_Abstract_v2 $wc_license_accessor,
|
||||
$migration_type = false,
|
||||
$was_freemius_in_prev_version = false,
|
||||
$is_blocking = false
|
||||
) {
|
||||
$this->init(
|
||||
'wc',
|
||||
$freemius,
|
||||
$wc_store_url,
|
||||
$wc_product_id,
|
||||
$wc_license_accessor,
|
||||
$migration_type,
|
||||
$was_freemius_in_prev_version,
|
||||
$is_blocking
|
||||
);
|
||||
|
||||
$freemius->add_filter( 'license_key', array( &$this, 'convert_wc_to_fs_license_key' ) );
|
||||
|
||||
add_action( 'admin_footer', 'allow_more_than_32_chars_key' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert WC long license key to FS 32 chars key.
|
||||
*
|
||||
* WC Format: 'wc_order_5645bbd42dbfb_am_kii0TEYjrxEZ'
|
||||
* Converted to: 'er_5645bbd42dbfb_am_kii0TEYjrxEZ'
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @param string $license_key
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function convert_wc_to_fs_license_key( $license_key ) {
|
||||
$len = strlen( $license_key );
|
||||
|
||||
if ( $len > 32 ) {
|
||||
$license_key = substr( $license_key, $len - 32 );
|
||||
}
|
||||
|
||||
return $license_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tweak license key input box of the opt-in view to support
|
||||
* longer WC licenses.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*/
|
||||
function allow_more_than_32_chars_key() {
|
||||
if ( ! is_admin() ) {
|
||||
// Don't add logic in frontend.
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! $this->_fs->is_activation_mode() ) {
|
||||
// Don't add code if not in activation mode.
|
||||
return;
|
||||
}
|
||||
|
||||
if ( $this->_fs->_is_plugin_page() ) {
|
||||
// Don't add code if not on module's main page.
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
jQuery(function ($) {
|
||||
var $fsConn = $('#fs_connect');
|
||||
if ($fsConn.length) {
|
||||
/**
|
||||
* Increase max license key length to 38 characters to
|
||||
* support WC longer license keys.
|
||||
*/
|
||||
$fsConn.find('#fs_license_key').attr('maxlength', 38);
|
||||
|
||||
// Resize license key input container to show the all key.
|
||||
$fsConn.find('.fs-license-key-container').css('width', '322px');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,499 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Freemius Migration
|
||||
* @copyright Copyright (c) 2016, Freemius, Inc.
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
||||
* @since 1.0.3
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'FS_Client_License_Abstract_v2' ) ) {
|
||||
require_once dirname( __FILE__ ) . '/class-fs-client-license-abstract.php';
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'FS_EDD_Client_Migration_v2' ) ) {
|
||||
require_once dirname( __FILE__ ) . '/class-fs-edd-client-migration.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* You should use your own unique CLASS name, and be sure to replace it
|
||||
* throughout this file. For example, if your product's name is "Awesome Product"
|
||||
* then you can rename it to "Awesome_Product_EDD_License_Key".
|
||||
*/
|
||||
class OceanWP_EDD_License_Key extends FS_Client_License_Abstract_v2 {
|
||||
/**
|
||||
* @var array<string,string>
|
||||
*/
|
||||
public static $paid_addons = array(
|
||||
'Ocean_Cookie_Notice' => array(
|
||||
'name' => 'Cookie Notice',
|
||||
'fs_id' => '3765',
|
||||
'fs_shortcode' => 'ocean_cookie_notice_fs',
|
||||
),
|
||||
'Ocean_Elementor_Widgets' => array(
|
||||
'name' => 'Elementor Widgets',
|
||||
'fs_id' => '3757',
|
||||
'fs_shortcode' => 'ocean_elementor_widgets_fs',
|
||||
),
|
||||
'Ocean_Footer_Callout' => array(
|
||||
'name' => 'Footer Callout',
|
||||
'fs_id' => '3754',
|
||||
'fs_shortcode' => 'ocean_footer_callout_fs',
|
||||
),
|
||||
'Ocean_Full_Screen' => array(
|
||||
'name' => 'Full Screen',
|
||||
'fs_id' => '3766',
|
||||
'fs_shortcode' => 'ocean_full_screen_fs',
|
||||
),
|
||||
'Ocean_Hooks' => array(
|
||||
'name' => 'Ocean Hooks',
|
||||
'fs_id' => '3758',
|
||||
'fs_shortcode' => 'oh_fs',
|
||||
),
|
||||
'Ocean_Instagram' => array(
|
||||
'name' => 'Instagram',
|
||||
'fs_id' => '3763',
|
||||
'fs_shortcode' => 'ocean_instagram_fs',
|
||||
),
|
||||
'Ocean_Popup_Login' => array(
|
||||
'name' => 'Popup Login',
|
||||
'fs_id' => '3764',
|
||||
'fs_shortcode' => 'ocean_popup_login_fs',
|
||||
),
|
||||
'Ocean_Portfolio' => array(
|
||||
'name' => 'Portfolio',
|
||||
'fs_id' => '3761',
|
||||
'fs_shortcode' => 'ocean_portfolio_fs',
|
||||
),
|
||||
'Ocean_Pro_Demos' => array(
|
||||
'name' => 'Pro Demos',
|
||||
'fs_id' => '3797',
|
||||
'fs_shortcode' => 'ocean_pro_demos_fs',
|
||||
),
|
||||
'Ocean_Side_Panel' => array(
|
||||
'name' => 'Side Panel',
|
||||
'fs_id' => '3756',
|
||||
'fs_shortcode' => 'ocean_side_panel_fs',
|
||||
),
|
||||
'Ocean_Sticky_Footer' => array(
|
||||
'name' => 'Sticky Footer',
|
||||
'fs_id' => '3759',
|
||||
'fs_shortcode' => 'ocean_sticky_footer_fs',
|
||||
),
|
||||
'Ocean_Sticky_Header' => array(
|
||||
'name' => 'Sticky Header',
|
||||
'fs_id' => '3755',
|
||||
'fs_shortcode' => 'ocean_sticky_header_fs',
|
||||
),
|
||||
'Ocean_White_Label' => array(
|
||||
'name' => 'White Label',
|
||||
'fs_id' => '3762',
|
||||
'fs_shortcode' => 'ocean_white_label_fs',
|
||||
),
|
||||
'Ocean_Woo_Popup' => array(
|
||||
'name' => 'Woo Popup',
|
||||
'fs_id' => '3760',
|
||||
'fs_shortcode' => 'ocean_woo_popup_fs',
|
||||
),
|
||||
);
|
||||
|
||||
private $_is_valid;
|
||||
private $_is_bundle;
|
||||
private $_addon_class;
|
||||
private $_addon_license_index;
|
||||
private $_logger;
|
||||
|
||||
/**
|
||||
* OceanWP_EDD_License_Key constructor.
|
||||
*
|
||||
* @param bool $is_bundle
|
||||
* @param string $addon_class
|
||||
* @param string $addon_name
|
||||
*/
|
||||
function __construct( $is_bundle, $addon_class = '', $addon_name = '' ) {
|
||||
$this->_is_bundle = $is_bundle;
|
||||
$this->_addon_class = $addon_class;
|
||||
$this->_addon_license_index = sprintf(
|
||||
'oceanwp_%s_license_key',
|
||||
preg_replace( '/[^a-zA-Z0-9_\s]/', '', str_replace( ' ', '_', strtolower( $addon_name ) ) )
|
||||
);
|
||||
$this->_is_valid = true;
|
||||
|
||||
if ( ! $is_bundle ) {
|
||||
$this->_is_valid = (
|
||||
isset( self::$paid_addons[ $addon_class ] ) &&
|
||||
$addon_name === self::$paid_addons[ $addon_class ]['name']
|
||||
);
|
||||
}
|
||||
|
||||
$this->_logger = FS_Logger::get_logger(
|
||||
WP_FS__SLUG . '_oceanwp_migration_' . ($is_bundle ? 'bundle' : $addon_class),
|
||||
WP_FS__DEBUG_SDK,
|
||||
WP_FS__ECHO_DEBUG_SDK
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.0.3
|
||||
*
|
||||
* @param int|null $blog_id
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function get( $blog_id = null ) {
|
||||
if ( ! $this->_is_valid ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if ( $this->_is_bundle ) {
|
||||
return trim( get_option( 'oceanwp_bundle_key', '' ) );
|
||||
}
|
||||
|
||||
$oceanwp_options = get_option( 'oceanwp_options', '' );
|
||||
|
||||
if ( ! is_array( $oceanwp_options ) || ! isset( $oceanwp_options['licenses'] ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return isset( $oceanwp_options['licenses'][ $this->_addon_license_index ] ) ?
|
||||
trim( $oceanwp_options['licenses'][ $this->_addon_license_index ] ) :
|
||||
'';
|
||||
}
|
||||
|
||||
/**
|
||||
* When migrating a bundle license and the sales platform creates a different
|
||||
* license key for every product in the bundle which is the key that actually
|
||||
* used for activation, this method should return the collection of all
|
||||
* child license keys that were activated on the current website.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @param int|null $blog_id
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
function get_children( $blog_id = null ) {
|
||||
if ( ! $this->_is_valid ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$oceanwp_options = get_option( 'oceanwp_options', '' );
|
||||
|
||||
if ( ! is_array( $oceanwp_options ) || ! isset( $oceanwp_options['licenses'] ) ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$children_license_keys = array();
|
||||
foreach ( self::$paid_addons as $class_name => $data ) {
|
||||
$index = sprintf(
|
||||
'oceanwp_%s_license_key',
|
||||
preg_replace( '/[^a-zA-Z0-9_\s]/', '', str_replace( ' ', '_', strtolower( $data['name'] ) ) )
|
||||
);;
|
||||
|
||||
if ( isset( $oceanwp_options['licenses'][ $index ] ) ) {
|
||||
$children_license_keys[] = trim( $oceanwp_options['licenses'][ $index ] );
|
||||
}
|
||||
}
|
||||
|
||||
return $children_license_keys;
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.0.3
|
||||
*
|
||||
* @param string $license_key
|
||||
* @param int|null $blog_id
|
||||
*
|
||||
* @return bool True if successfully updated.
|
||||
*/
|
||||
function set( $license_key, $blog_id = null ) {
|
||||
if ( ! $this->_is_valid ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( $this->_is_bundle ) {
|
||||
$option_name = 'oceanwp_bundle_key';
|
||||
$option_value = $license_key;
|
||||
} else {
|
||||
$option_name = 'oceanwp_options';
|
||||
|
||||
$oceanwp_options = get_option( $option_name, '' );
|
||||
|
||||
if ( ! is_array( $oceanwp_options ) ) {
|
||||
$oceanwp_options = array( 'licenses' => array() );
|
||||
} else if ( ! isset( $oceanwp_options['licenses'] ) ) {
|
||||
$oceanwp_options['licenses'] = array();
|
||||
}
|
||||
|
||||
$oceanwp_options['licenses'][ $this->_addon_license_index ] = $license_key;
|
||||
|
||||
$option_value = $oceanwp_options;
|
||||
}
|
||||
|
||||
if ( ! is_multisite() ) {
|
||||
return update_option( $option_name, $option_value );
|
||||
}
|
||||
|
||||
$blog_ids = FS_Client_Migration_Abstract_v2::get_blog_ids();
|
||||
|
||||
$is_updated = false;
|
||||
foreach ( $blog_ids as $blog_id ) {
|
||||
switch_to_blog( $blog_id );
|
||||
$is_updated = $is_updated || update_option( $option_name, $option_value );
|
||||
restore_current_blog();
|
||||
}
|
||||
|
||||
return $is_updated;
|
||||
}
|
||||
|
||||
/**
|
||||
* Override this only when the product supports a network level integration.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 1.1.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function is_network_migration() {
|
||||
/**
|
||||
* Comment the line below if you'd like to support network level licenses migration.
|
||||
* This is only relevant if you have a special network level integration with your plugin
|
||||
* and you're utilizing the Freemius SDK's multisite network integration mode.
|
||||
*/
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is only relevant when you're using the network level migration mode.
|
||||
* The method should return true only if you restrict a network level license activation
|
||||
* to apply the exact same license for the products network wide.
|
||||
*
|
||||
* For example, if a network with 5-sites can have license1 on sub-sites 1-3,
|
||||
* and license2 on sub-sites 4-5, then the result of this method should be set to `false`.
|
||||
* BUT, if you the only way to activate the license is that it will be the same license on
|
||||
* all sub-sites 1-5, then this method should return `true`.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function are_licenses_network_identical() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Activates a bundle license on the installed child products, after successfully migrating the license.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param \FS_User $user
|
||||
* @param string|null $bundle_license_key
|
||||
*/
|
||||
public function activate_bundle_license_after_migration( FS_User $user, $bundle_license_key = null ) {
|
||||
$this->_logger->entrance("bundle_license_key=" . var_export( $bundle_license_key, true ));
|
||||
|
||||
if ( $this->_is_bundle || empty( $bundle_license_key ) ) {
|
||||
$bundle_license_key = $this->get();
|
||||
}
|
||||
|
||||
// Iterate over the installed add-ons and try to activate the bundle's license for each add-on.
|
||||
foreach ( self::$paid_addons as $class_name => $data ) {
|
||||
if ( ! class_exists( $class_name ) ) {
|
||||
$this->_logger->log( "Class {$class_name} does not exist." );
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( ! function_exists( $data['fs_shortcode'] ) ) {
|
||||
$this->_logger->log( "Function {$data['fs_shortcode']} does not exist." );
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initiate the Freemius instance before migrating.
|
||||
*
|
||||
* @var Freemius $addon_fs
|
||||
*/
|
||||
$addon_fs = call_user_func( $data['fs_shortcode'] );
|
||||
|
||||
$this->_logger->log( 'Starting activation of the migrated license for ' . str_replace( '_', ' ', $class_name) . '.' );
|
||||
|
||||
$addon_fs->activate_migrated_license( $bundle_license_key );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'FS_Client_Addon_Migration_Abstract_v2' ) ) {
|
||||
require_once dirname( __FILE__ ) . '/class-fs-client-addon-migration-abstract.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo For add-ons migration change the if condition from `false` to `true` an update the class according to the inline instructions.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*/
|
||||
if ( true ) {
|
||||
/**
|
||||
* You should use your own unique CLASS name, and be sure to replace it
|
||||
* throughout this file. For example, if your product's name is "Awesome Product"
|
||||
* then you can rename it to "Awesome_Product_EDD_Addon_Migration".
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* Class OceanWP_EDD_Addon_Migration
|
||||
*/
|
||||
class OceanWP_EDD_Addon_Migration extends FS_Client_Addon_Migration_Abstract_v2 {
|
||||
|
||||
#region Singleton
|
||||
|
||||
/**
|
||||
* @var FS_Client_Addon_Migration_Abstract_v2[]
|
||||
*/
|
||||
protected static $_INSTANCES = array();
|
||||
|
||||
/**
|
||||
* @param string $addon_shortcode
|
||||
*
|
||||
* @return FS_Client_Addon_Migration_Abstract_v2
|
||||
*/
|
||||
public static function instance( $addon_shortcode ) {
|
||||
if ( ! isset( self::$_INSTANCES[ $addon_shortcode ] ) ) {
|
||||
self::$_INSTANCES[ $addon_shortcode ] = new self( $addon_shortcode );
|
||||
}
|
||||
|
||||
return self::$_INSTANCES[ $addon_shortcode ];
|
||||
}
|
||||
|
||||
/**
|
||||
* OceanWP_EDD_Addon_Migration constructor.
|
||||
*
|
||||
* @param string $addon_shortcode
|
||||
*/
|
||||
private function __construct( $addon_shortcode ) {
|
||||
$this->_addon_shortcode = $addon_shortcode;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/**
|
||||
* The parent product's shortcode.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_parent_shortcode() {
|
||||
return 'owp_fs';
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected function is_parent_included() {
|
||||
return class_exists( 'OCEANWP_Theme_Class' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function get_addons_sdk_init_common_config() {
|
||||
return array(
|
||||
'type' => 'plugin',
|
||||
'is_premium' => true,
|
||||
'is_premium_only' => true,
|
||||
'has_paid_plans' => true,
|
||||
'parent' => array(
|
||||
'id' => '3752',
|
||||
'slug' => 'oceanwp',
|
||||
'public_key' => 'pk_043077b34f20f5e11334af3c12493',
|
||||
'name' => 'OceanWP',
|
||||
),
|
||||
'menu' => array(
|
||||
'first-path' => 'plugins.php',
|
||||
'support' => false,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param bool $is_bundle
|
||||
* @param string $addon_class
|
||||
* @param string $addon_name
|
||||
*
|
||||
* @return FS_Client_License_Abstract_v2
|
||||
*/
|
||||
protected function get_new_license_key_manager( $is_bundle, $addon_class = '', $addon_name = '' ) {
|
||||
return new OceanWP_EDD_License_Key( $is_bundle, $addon_class, $addon_name );
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo This should point to your EDD store root URL.
|
||||
*
|
||||
* @author Vova Feldman (@svovaf)
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_store_url() {
|
||||
return 'https://oceanwp.org';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$is_migration_debug = FS_Client_Addon_Migration_Abstract_v2::is_migration_debug();
|
||||
|
||||
if ( FS_Client_Addon_Migration_Abstract_v2::is_migration_on() ) {
|
||||
if ( ! $is_migration_debug ||
|
||||
( ! FS_Client_Addon_Migration_Abstract_v2::is_wp_ajax() && ! FS_Client_Addon_Migration_Abstract_v2::is_wp_cron() )
|
||||
) {
|
||||
$bundle_license_manager = new OceanWP_EDD_License_Key( true );
|
||||
|
||||
// @todo We need to make sure that if there's both a bundle license and individual add-on license, it first migrates the bundle’s license, and only later migrate the individual license, but only if the bundle’s migration failed.
|
||||
|
||||
if ( empty( $bundle_license_manager->get() ) ) {
|
||||
// Bundle license is not set, try to migrate per add-on.
|
||||
do_action( 'owp_fs_client_migration_loaded' );
|
||||
} else {
|
||||
// Bundle license is set, try to migrate the bundle's license.
|
||||
new FS_EDD_Client_Migration_v2(
|
||||
// This should be replaced with your custom Freemius shortcode.
|
||||
owp_fs(),
|
||||
|
||||
// This should point to your EDD store root URL.
|
||||
'https://oceanwp.org',
|
||||
|
||||
// The bundle's download ID.
|
||||
'37394',
|
||||
|
||||
$bundle_license_manager,
|
||||
|
||||
// Migration type.
|
||||
FS_Client_Migration_Abstract_v2::TYPE_BUNDLE_TO_BUNDLE,
|
||||
|
||||
// Freemius was NOT included in the previous (last) version of the product.
|
||||
true,
|
||||
|
||||
// For testing, you can change that argument to TRUE to trigger the migration in the same HTTP request.
|
||||
$is_migration_debug
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
// Silence is golden.
|
||||
// Hide file structure from users on unprotected servers.
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/**
|
||||
* Custom Code Customizer Options
|
||||
*
|
||||
* @package OceanWP WordPress theme
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'OceanWP_Custom_Code_Customizer' ) ) :
|
||||
|
||||
class OceanWP_Custom_Code_Customizer {
|
||||
|
||||
/**
|
||||
* Setup class.
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
public function __construct() {
|
||||
|
||||
add_action( 'customize_register', array( $this, 'customizer_options' ) );
|
||||
add_action( 'ocean_footer_js', array( $this, 'output_custom_js' ), 9999 );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Customizer options
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function customizer_options( $wp_customize ) {
|
||||
|
||||
/**
|
||||
* Section
|
||||
*/
|
||||
$section = 'ocean_custom_code_panel';
|
||||
$wp_customize->add_section( $section , array(
|
||||
'title' => esc_html__( 'Custom CSS/JS', 'ocean-extra' ),
|
||||
'priority' => 210,
|
||||
) );
|
||||
|
||||
/**
|
||||
* Custom JS
|
||||
*/
|
||||
$wp_customize->add_setting( 'ocean_custom_js', array(
|
||||
'transport' => 'postMessage',
|
||||
'sanitize_callback' => false,
|
||||
) );
|
||||
|
||||
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'ocean_custom_js', array(
|
||||
'label' => esc_html__( 'Custom JS', 'ocean-extra' ),
|
||||
'description' => esc_html__( 'You need to reload to see the changes. No need to add the <script> tags.', 'ocean-extra' ),
|
||||
'type' => 'textarea',
|
||||
'section' => $section,
|
||||
'settings' => 'ocean_custom_js',
|
||||
'priority' => 10,
|
||||
) ) );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the custom JS
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function output_custom_js( $output ) {
|
||||
|
||||
if ( $js = get_theme_mod( 'ocean_custom_js', false ) ) {
|
||||
$output .= $js;
|
||||
}
|
||||
return $output;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
return new OceanWP_Custom_Code_Customizer();
|
||||
@@ -0,0 +1,243 @@
|
||||
<?php
|
||||
/**
|
||||
* OceanWP News
|
||||
*
|
||||
* @package OceanWP WordPress theme
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'OceanWP_Dashboard_News' ) ) :
|
||||
|
||||
class OceanWP_Dashboard_News {
|
||||
|
||||
/**
|
||||
* Feed URL.
|
||||
*
|
||||
* @since 1.4.9
|
||||
*/
|
||||
private static $feed = 'https://oceanwp.org/feed/';
|
||||
|
||||
/**
|
||||
* Setup class.
|
||||
*
|
||||
* @since 1.4.9
|
||||
*/
|
||||
public function __construct() {
|
||||
add_action( 'wp_dashboard_setup', array( $this, 'register_dashboard_news' ) );
|
||||
add_action( 'admin_enqueue_scripts', array( $this, 'script' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the news block on the WordPress dashboard
|
||||
*
|
||||
* @since 1.4.9
|
||||
*/
|
||||
public function register_dashboard_news() {
|
||||
if ( apply_filters( 'oceanwp_news_enabled', false ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
wp_add_dashboard_widget( 'owp_dashboard_news', __( 'OceanWP Overview', 'ocean-extra' ), array( $this, 'dashboard_news_widget' ) );
|
||||
|
||||
// Move our widget to top.
|
||||
global $wp_meta_boxes;
|
||||
|
||||
$dashboard = $wp_meta_boxes['dashboard']['normal']['core'];
|
||||
$widget = array(
|
||||
'owp_dashboard_news' => $dashboard['owp_dashboard_news'],
|
||||
);
|
||||
|
||||
$wp_meta_boxes['dashboard']['normal']['core'] = array_merge( $widget, $dashboard );
|
||||
}
|
||||
|
||||
/**
|
||||
* OceanWP News & Updates
|
||||
*
|
||||
* @since 1.4.9
|
||||
*/
|
||||
public function dashboard_news_widget() {
|
||||
|
||||
// Get theme
|
||||
$owp = wp_get_theme( 'oceanwp' );
|
||||
|
||||
// OceanWP img url
|
||||
$owp_img = OE_URL . 'assets/img/oceanwp.png'; ?>
|
||||
|
||||
<div class="owp-dashboard-widget">
|
||||
<div class="owp-header">
|
||||
<div class="owp-logo"><img src="<?php echo esc_url( $owp_img ); ?>" alt="OceanWP" /></div>
|
||||
<div class="owp-versions"><?php echo __( 'OceanWP', 'ocean-extra' ); ?> v<?php echo esc_html( $owp->get( 'Version' ) ); ?></div>
|
||||
</div>
|
||||
<div class="rss-widget">
|
||||
<h3 class="owp-heading"><?php echo __( 'News & Updates', 'ocean-extra' ); ?></h3>
|
||||
<?php
|
||||
$this->oceanwp_cached_rss_widget( 'owp_dashboard_news', array( $this, 'oceanwp_news_output' ) ); ?>
|
||||
</div>
|
||||
<div class="owp-news-footer">
|
||||
<?php
|
||||
printf(
|
||||
'<a href="%1$s" class="owp-post-link" target="_blank">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
|
||||
'https://oceanwp.org/demos/',
|
||||
__( 'Demos' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new window)' )
|
||||
);
|
||||
printf(
|
||||
'<a href="%1$s" class="owp-post-link" target="_blank">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
|
||||
'https://oceanwp.org/blog/',
|
||||
__( 'Blog' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new window)' )
|
||||
);
|
||||
printf(
|
||||
'<a href="%1$s" class="owp-post-link" target="_blank">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
|
||||
'https://oceanwp.org/support/',
|
||||
__( 'Help' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new window)' )
|
||||
);
|
||||
|
||||
// If no premium extensions
|
||||
if ( true != apply_filters( 'oceanwp_licence_tab_enable', false ) ) {
|
||||
printf(
|
||||
'<a href="%1$s" class="owp-post-link" target="_blank"><span style="color: #fe5252;">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></span></a>',
|
||||
'https://oceanwp.org/extensions/?utm_source=extensions&utm_medium=wp-dash&utm_campaign=news-feed',
|
||||
__( 'Extensions' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new window)' )
|
||||
);
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the WordPress news feeds.
|
||||
*
|
||||
* @since 1.4.9
|
||||
*/
|
||||
public function oceanwp_news_output() {
|
||||
$this->oceanwp_rss_output( self::$feed );
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the RSS entries in a list.
|
||||
*
|
||||
* @since 1.4.9
|
||||
*/
|
||||
public function oceanwp_rss_output( $rss, $args = array() ) {
|
||||
if ( is_string( $rss ) ) {
|
||||
$rss = fetch_feed($rss);
|
||||
} elseif ( is_array($rss) && isset($rss['url']) ) {
|
||||
$args = $rss;
|
||||
$rss = fetch_feed($rss['url']);
|
||||
} elseif ( !is_object($rss) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( is_wp_error($rss) ) {
|
||||
if ( is_admin() || current_user_can('manage_options') )
|
||||
echo '<p><strong>' . __( 'RSS Error:', 'ocean-extra' ) . '</strong> ' . $rss->get_error_message() . '</p>';
|
||||
return;
|
||||
}
|
||||
|
||||
$default_args = array( 'show_summary' => 1, 'items' => 4 );
|
||||
$args = wp_parse_args( $args, $default_args );
|
||||
|
||||
$items = (int) $args['items'];
|
||||
$show_summary = (int) $args['show_summary'];
|
||||
|
||||
if ( !$rss->get_item_quantity() ) {
|
||||
echo '<ul><li>' . __( 'An error has occurred, which probably means the feed is down. Try again later.', 'ocean-extra' ) . '</li></ul>';
|
||||
$rss->__destruct();
|
||||
unset($rss);
|
||||
return;
|
||||
}
|
||||
|
||||
echo '<ul>';
|
||||
foreach ( $rss->get_items( 0, $items ) as $item ) {
|
||||
$link = $item->get_link();
|
||||
while ( stristr( $link, 'http' ) != $link ) {
|
||||
$link = substr( $link, 1 );
|
||||
}
|
||||
$link = esc_url( strip_tags( $link ) );
|
||||
|
||||
$title = esc_html( trim( strip_tags( $item->get_title() ) ) );
|
||||
if ( empty( $title ) ) {
|
||||
$title = __( 'Untitled' );
|
||||
}
|
||||
|
||||
$desc = @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) );
|
||||
$desc = esc_attr( wp_trim_words( $desc, 30, '…' ) );
|
||||
|
||||
$summary = '';
|
||||
if ( $show_summary ) {
|
||||
$summary = $desc;
|
||||
$summary = '<div class="rssSummary">' . esc_html( $summary ) . '</div>';
|
||||
}
|
||||
|
||||
echo "<li><a class='rsswidget' href='$link?utm_source=wp-news-widget&utm_medium=wp-dash&utm_campaign=news-feed' target='_blank'>$title</a>{$summary}</li>";
|
||||
}
|
||||
echo '</ul>';
|
||||
$rss->__destruct();
|
||||
unset($rss);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks to see if all of the feed url in $check_urls are cached.
|
||||
*
|
||||
* @since 1.4.9
|
||||
*
|
||||
* @param string $widget_id
|
||||
* @param callable $callback
|
||||
* @param array $check_urls RSS feeds
|
||||
* @return bool False on failure. True on success.
|
||||
*/
|
||||
function oceanwp_cached_rss_widget( $widget_id, $callback ) {
|
||||
$loading = '<p class="widget-loading hide-if-no-js">' . __( 'Loading…' ) . '</p><div class="hide-if-js notice notice-error inline"><p>' . __( 'This widget requires JavaScript.', 'ocean-extra' ) . '</p></div>';
|
||||
$check_urls = self::$feed;
|
||||
|
||||
$locale = get_user_locale();
|
||||
$cache_key = 'owp_feed_data_' . md5( $widget_id . '_' . $locale );
|
||||
if ( false !== ( $output = get_transient( $cache_key ) ) ) {
|
||||
echo $output;
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( empty( $check_urls ) ) {
|
||||
echo $loading;
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( $callback && is_callable( $callback ) ) {
|
||||
$args = array_slice( func_get_args(), 3 );
|
||||
array_unshift( $args, $widget_id, $check_urls );
|
||||
ob_start();
|
||||
call_user_func_array( $callback, $args );
|
||||
set_transient( $cache_key, ob_get_flush(), 12 * HOUR_IN_SECONDS ); // Default lifetime in cache of 12 hours (same as the feeds)
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Script
|
||||
*
|
||||
* @since 1.4.9
|
||||
*/
|
||||
public function script( $hook ) {
|
||||
$screen = get_current_screen();
|
||||
if ( 'dashboard' === $screen->id ) {
|
||||
wp_enqueue_style( 'oceanwp-news', plugins_url( '/assets/css/admin.min.css', dirname( __FILE__ ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
new OceanWP_Dashboard_News();
|
||||
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,282 @@
|
||||
Freemius WordPress SDK
|
||||
======================
|
||||
|
||||
Welcome to the official repository for the Freemius SDK! Adding the SDK to your WordPress plugin, theme, or add-ons, enables all the benefits that come with using the [Freemius platform](https://freemius.com) such as:
|
||||
|
||||
* [Software Licensing](https://freemius.com/wordpress/software-licensing/)
|
||||
* [Secure Checkout](https://freemius.com/wordpress/checkout/)
|
||||
* [Subscriptions](https://freemius.com/wordpress/recurring-payments-subscriptions/)
|
||||
* [Automatic Updates](https://freemius.com/wordpress/automatic-software-updates/)
|
||||
* [Seamless EU VAT](https://freemius.com/wordpress/collecting-eu-vat-europe/)
|
||||
* [Cart Abandonment Recovery](https://freemius.com/wordpress/cart-abandonment-recovery/)
|
||||
* [Affiliate Platform](https://freemius.com/wordpress/affiliate-platform/)
|
||||
* [Analytics & Usage Tracking](https://freemius.com/wordpress/insights/)
|
||||
* [User Dashboard](https://freemius.com/wordpress/user-dashboard/)
|
||||
|
||||
* [Monetization](https://freemius.com/wordpress/)
|
||||
* [Analytics](https://freemius.com/wordpress/insights/)
|
||||
* [More...](https://freemius.com/wordpress/features-comparison/)
|
||||
|
||||
Freemius truly empowers developers to create prosperous subscription-based businesses.
|
||||
|
||||
If you're new to Freemius then we recommend taking a look at our [Getting Started](https://freemius.com/help/documentation/getting-started/) guide first.
|
||||
|
||||
If you're a WordPress plugin or theme developer and are interested in monetizing with Freemius then you can [sign-up for a FREE account](https://dashboard.freemius.com/register/):
|
||||
|
||||
https://dashboard.freemius.com/register/
|
||||
|
||||
Once you have your account setup and are familiar with how it all works you're ready to begin [integrating Freemius](https://freemius.com/help/documentation/wordpress-sdk/integrating-freemius-sdk/) into your WordPress product
|
||||
|
||||
You can see some of the existing WordPress.org plugins & themes that are already utilizing the power of Freemius here:
|
||||
|
||||
* https://profiles.wordpress.org/freemius/#content-plugins
|
||||
* https://includewp.com/freemius/#focus
|
||||
|
||||
## Code Documentation
|
||||
|
||||
You can find the SDK's documentation here:
|
||||
https://freemius.com/help/documentation/wordpress-sdk/
|
||||
|
||||
## Integrating & Initializing the SDK
|
||||
|
||||
As part of the integration process, you'll need to [add the latest version](https://freemius.com/help/documentation/getting-started/#add_the_latest_wordpress_sdk_into_your_product) of the Freemius SDK into your WordPress project.
|
||||
|
||||
Then, when you've completed the [SDK integration form](https://freemius.com/help/documentation/getting-started/#fill_out_the_sdk_integration_form) a snippet of code is generated which you'll need to copy and paste into the top of your main plugin's PHP file, right after the plugin's header comment.
|
||||
|
||||
Note: For themes, this will be in the root `functions.php` file instead.
|
||||
|
||||
A typical SDK snippet will look similar to the following (your particular snippet may differ slightly depending on your integration):
|
||||
|
||||
```php
|
||||
if ( ! function_exists( 'my_prefix_fs' ) ) {
|
||||
// Create a helper function for easy SDK access.
|
||||
function my_prefix_fs() {
|
||||
global $my_prefix_fs;
|
||||
|
||||
if ( ! isset( $my_prefix_fs ) ) {
|
||||
// Include Freemius SDK.
|
||||
require_once dirname(__FILE__) . '/freemius/start.php';
|
||||
|
||||
$my_prefix_fs = fs_dynamic_init( array(
|
||||
'id' => '1234',
|
||||
'slug' => 'my-new-plugin',
|
||||
'premium_slug' => 'my-new-plugin-premium',
|
||||
'type' => 'plugin',
|
||||
'public_key' => 'pk_bAEfta69seKymZzmf2xtqq8QXHz9y',
|
||||
'is_premium' => true,
|
||||
// If your plugin is a serviceware, set this option to false.
|
||||
'has_premium_version' => true,
|
||||
'has_paid_plans' => true,
|
||||
'is_org_compliant' => true,
|
||||
'menu' => array(
|
||||
'slug' => 'my-new-plugin',
|
||||
'parent' => array(
|
||||
'slug' => 'options-general.php',
|
||||
),
|
||||
),
|
||||
// Set the SDK to work in a sandbox mode (for development & testing).
|
||||
// IMPORTANT: MAKE SURE TO REMOVE SECRET KEY BEFORE DEPLOYMENT.
|
||||
'secret_key' => 'sk_ubb4yN3mzqGR2x8#P7r5&@*xC$utE',
|
||||
) );
|
||||
}
|
||||
|
||||
return $my_prefix_fs;
|
||||
}
|
||||
|
||||
// Init Freemius.
|
||||
my_prefix_fs();
|
||||
// Signal that SDK was initiated.
|
||||
do_action( 'my_prefix_fs_loaded' );
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Usage example
|
||||
|
||||
You can call anySDK methods by prefixing them with the shortcode function for your particular plugin/theme (specified when completing the SDK integration form in the Developer Dashboard):
|
||||
|
||||
```php
|
||||
<?php my_prefix_fs()->get_upgrade_url(); ?>
|
||||
```
|
||||
|
||||
Or when calling Freemius multiple times in a scope, it's recommended to use it with the global variable:
|
||||
|
||||
```php
|
||||
<?php
|
||||
global $my_prefix_fs;
|
||||
$my_prefix_fs->get_account_url();
|
||||
?>
|
||||
```
|
||||
|
||||
There are many other SDK methods available that you can use to enhance the functionality of your WordPress product. Some of the more common use-cases are covered in the [Freemius SDK Gists](https://freemius.com/help/documentation/wordpress-sdk/gists/) documentation.
|
||||
|
||||
## Adding license based logic examples
|
||||
|
||||
Add marketing content to encourage your users to upgrade for your paid version:
|
||||
|
||||
```php
|
||||
<?php
|
||||
if ( my_prefix_fs()->is_not_paying() ) {
|
||||
echo '<section><h1>' . esc_html__('Awesome Premium Features', 'my-plugin-slug') . '</h1>';
|
||||
echo '<a href="' . my_prefix_fs()->get_upgrade_url() . '">' .
|
||||
esc_html__('Upgrade Now!', 'my-plugin-slug') .
|
||||
'</a>';
|
||||
echo '</section>';
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
Add logic which will only be available in your premium plugin version:
|
||||
|
||||
```php
|
||||
<?php
|
||||
// This "if" block will be auto removed from the Free version.
|
||||
if ( my_prefix_fs()->is__premium_only() ) {
|
||||
|
||||
// ... premium only logic ...
|
||||
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
To add a function which will only be available in your premium plugin version, simply add __premium_only as the suffix of the function name. Just make sure that all lines that call that method directly or by hooks, are also wrapped in premium only logic:
|
||||
|
||||
```php
|
||||
<?php
|
||||
class My_Plugin {
|
||||
function init() {
|
||||
...
|
||||
|
||||
// This "if" block will be auto removed from the free version.
|
||||
if ( my_prefix_fs()->is__premium_only() ) {
|
||||
// Init premium version.
|
||||
$this->admin_init__premium_only();
|
||||
|
||||
add_action( 'admin_init', array( &$this, 'admin_init_hook__premium_only' );
|
||||
}
|
||||
|
||||
...
|
||||
}
|
||||
|
||||
// This method will be only included in the premium version.
|
||||
function admin_init__premium_only() {
|
||||
...
|
||||
}
|
||||
|
||||
// This method will be only included in the premium version.
|
||||
function admin_init_hook__premium_only() {
|
||||
...
|
||||
}
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
Add logic which will only be executed for customers in your 'professional' plan:
|
||||
|
||||
```php
|
||||
<?php
|
||||
if ( my_prefix_fs()->is_plan('professional', true) ) {
|
||||
// .. logic related to Professional plan only ...
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
Add logic which will only be executed for customers in your 'professional' plan or higher plans:
|
||||
|
||||
```php
|
||||
<?php
|
||||
if ( my_prefix_fs()->is_plan('professional') ) {
|
||||
// ... logic related to Professional plan and higher plans ...
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
Add logic which will only be available in your premium plugin version AND will only be executed for customers in your 'professional' plan (and higher plans):
|
||||
|
||||
```php
|
||||
<?php
|
||||
// This "if" block will be auto removed from the Free version.
|
||||
if ( my_prefix_fs()->is_plan__premium_only('professional') ) {
|
||||
// ... logic related to Professional plan and higher plans ...
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
Add logic only for users in trial:
|
||||
|
||||
```php
|
||||
<?php
|
||||
if ( my_prefix_fs()->is_trial() ) {
|
||||
// ... logic for users in trial ...
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
Add logic for specified paid plan:
|
||||
|
||||
```php
|
||||
<?php
|
||||
// This "if" block will be auto removed from the Free version.
|
||||
if ( my_prefix_fs()->is__premium_only() ) {
|
||||
if ( my_prefix_fs()->is_plan( 'professional', true ) ) {
|
||||
|
||||
// ... logic related to Professional plan only ...
|
||||
|
||||
} else if ( my_prefix_fs()->is_plan( 'business' ) ) {
|
||||
|
||||
// ... logic related to Business plan and higher plans ...
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
## Excluding files and folders from the free plugin version
|
||||
There are [two ways](https://freemius.com/help/documentation/wordpress-sdk/software-licensing/#excluding_files_and_folders_from_the_free_plugin_version) to exclude files from your free version.
|
||||
|
||||
1. Add `__premium_only` just before the file extension. For example, functions__premium_only.php will be only included in the premium plugin version. This works for all types of files, not only PHP.
|
||||
2. Add `@fs_premium_only` a special meta tag to the plugin's main PHP file header. Example:
|
||||
```php
|
||||
<?php
|
||||
/**
|
||||
* Plugin Name: My Very Awesome Plugin
|
||||
* Plugin URI: http://my-awesome-plugin.com
|
||||
* Description: Create and manage Awesomeness right in WordPress.
|
||||
* Version: 1.0.0
|
||||
* Author: Awesomattic
|
||||
* Author URI: http://my-awesome-plugin.com/me/
|
||||
* License: GPLv2
|
||||
* Text Domain: myplugin
|
||||
* Domain Path: /langs
|
||||
*
|
||||
* @fs_premium_only /lib/functions.php, /premium-files/
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
// ... my code ...
|
||||
?>
|
||||
```
|
||||
In the example plugin header above, the file `/lib/functions.php` and the directory `/premium-files/` will be removed from the free plugin version.
|
||||
|
||||
# WordPress.org Compliance
|
||||
Based on [WordPress.org Guidelines](https://wordpress.org/plugins/about/guidelines/) you are not allowed to submit a plugin that has premium code in it:
|
||||
> All code hosted by WordPress.org servers must be free and fully-functional. If you want to sell advanced features for a plugin (such as a "pro" version), then you must sell and serve that code from your own site, we will not host it on our servers.
|
||||
|
||||
Therefore, if you want to deploy your free plugin's version to WordPress.org, make sure you wrap all your premium code with `if ( my_prefix_fs()->{{ method }}__premium_only() )` or use [some of the other methods](https://freemius.com/help/documentation/wordpress-sdk/software-licensing/) provided by the SDK to exclude premium features & files from the free version.
|
||||
|
||||
## Deployment
|
||||
Zip your Freemius product’s root folder and [upload it in the Deployment section](https://freemius.com/help/documentation/selling-with-freemius/deployment/) in the *Freemius Developer's Dashboard*.
|
||||
The plugin/theme will automatically be scanned and processed by a custom-developed *PHP Processor* which will auto-generate two versions of your plugin:
|
||||
|
||||
1. **Premium version**: Identical to your uploaded version, including all code (except your `secret_key`). Will be enabled for download ONLY for your paying or in trial customers.
|
||||
2. **Free version**: The code stripped from all your paid features (based on the logic added wrapped in `{ method }__premium_only()`).
|
||||
|
||||
The free version is the one that you should give your users to download. Therefore, download the free generated version and upload to your site. Or, if your plugin was WordPress.org compliant and you made sure to exclude all your premium code with the different provided techniques, you can deploy the downloaded free version to the .org repo.
|
||||
|
||||
## License
|
||||
Copyright (c) Freemius®, Inc.
|
||||
|
||||
Licensed under the GNU general public license (version 3).
|
||||
@@ -0,0 +1 @@
|
||||
label.fs-tag,span.fs-tag{background:#ffba00;color:#fff;display:inline-block;border-radius:3px;padding:5px;font-size:11px;line-height:11px;vertical-align:baseline}label.fs-tag.fs-warn,span.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-info,span.fs-tag.fs-info{background:#00a0d2}label.fs-tag.fs-success,span.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error,span.fs-tag.fs-error{background:#dc3232}#fs_account .postbox,#fs_account .widefat{max-width:800px}#fs_account h3{font-size:1.3em;padding:12px 15px;margin:0 0 12px 0;line-height:1.4;border-bottom:1px solid #F1F1F1}#fs_account h3 .dashicons{width:26px;height:26px;font-size:1.3em}#fs_account i.dashicons{font-size:1.2em;height:1.2em;width:1.2em}#fs_account .dashicons{vertical-align:middle}#fs_account .fs-header-actions{position:absolute;top:17px;right:15px;font-size:0.9em}#fs_account .fs-header-actions ul{margin:0}#fs_account .fs-header-actions li{float:left}#fs_account .fs-header-actions li form{display:inline-block}#fs_account .fs-header-actions li a{text-decoration:none}#fs_account_details .button-group{float:right}.rtl #fs_account .fs-header-actions{left:15px;right:auto}.fs-key-value-table{width:100%}.fs-key-value-table form{display:inline-block}.fs-key-value-table tr td:first-child{text-align:right}.fs-key-value-table tr td:first-child nobr{font-weight:bold}.fs-key-value-table tr td:first-child form{display:block}.fs-key-value-table tr td.fs-right{text-align:right}.fs-key-value-table tr.fs-odd{background:#ebebeb}.fs-key-value-table td,.fs-key-value-table th{padding:10px}.fs-key-value-table code{line-height:28px}.fs-key-value-table var,.fs-key-value-table code,.fs-key-value-table input[type="text"]{color:#0073AA;font-size:16px;background:none}.fs-key-value-table input[type="text"]{width:100%;font-weight:bold}.fs-field-beta_program label{margin-left:7px}label.fs-tag{background:#ffba00;color:#fff;display:inline-block;border-radius:3px;padding:5px;font-size:11px;line-height:11px;vertical-align:baseline}label.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error{background:#dc3232}#fs_sites .fs-scrollable-table .fs-table-body{max-height:200px;overflow:auto;border:1px solid #e5e5e5}#fs_sites .fs-scrollable-table .fs-table-body>table.widefat{border:none !important}#fs_sites .fs-scrollable-table .fs-main-column{width:100%}#fs_sites .fs-scrollable-table .fs-site-details td:first-of-type{text-align:right;color:grey;width:1px}#fs_sites .fs-scrollable-table .fs-site-details td:last-of-type{text-align:right}#fs_sites .fs-scrollable-table .fs-install-details table tr td{width:1px;white-space:nowrap}#fs_sites .fs-scrollable-table .fs-install-details table tr td:last-of-type{width:auto}#fs_addons h3{border:none;margin-bottom:0;padding:4px 5px}#fs_addons td{vertical-align:middle}#fs_addons thead{white-space:nowrap}#fs_addons td:first-child,#fs_addons th:first-child{text-align:left;font-weight:bold}#fs_addons td:last-child,#fs_addons th:last-child{text-align:right}#fs_addons th{font-weight:bold}#fs_billing_address{width:100%}#fs_billing_address tr td{width:50%;padding:5px}#fs_billing_address tr:first-of-type td{padding-top:0}#fs_billing_address span{font-weight:bold}#fs_billing_address input,#fs_billing_address select{display:block;width:100%;margin-top:5px}#fs_billing_address input::-moz-placeholder,#fs_billing_address select::-moz-placeholder{color:transparent;opacity:1}#fs_billing_address input:-ms-input-placeholder,#fs_billing_address select:-ms-input-placeholder{color:transparent}#fs_billing_address input::-webkit-input-placeholder,#fs_billing_address select::-webkit-input-placeholder{color:transparent}#fs_billing_address input.fs-read-mode,#fs_billing_address select.fs-read-mode{border-color:transparent;color:#777;border-bottom:1px dashed #ccc;padding-left:0;background:none}#fs_billing_address.fs-read-mode td span{display:none}#fs_billing_address.fs-read-mode input,#fs_billing_address.fs-read-mode select{border-color:transparent;color:#777;border-bottom:1px dashed #ccc;padding-left:0;background:none}#fs_billing_address.fs-read-mode input::-moz-placeholder,#fs_billing_address.fs-read-mode select::-moz-placeholder{color:#ccc;opacity:1}#fs_billing_address.fs-read-mode input:-ms-input-placeholder,#fs_billing_address.fs-read-mode select:-ms-input-placeholder{color:#ccc}#fs_billing_address.fs-read-mode input::-webkit-input-placeholder,#fs_billing_address.fs-read-mode select::-webkit-input-placeholder{color:#ccc}#fs_billing_address button{display:block;width:100%}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
@charset "UTF-8";#fs_affiliation_content_wrapper #messages{margin-top:25px}#fs_affiliation_content_wrapper h3{font-size:24px;padding:0;margin-left:0}#fs_affiliation_content_wrapper ul li{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;list-style-type:none}#fs_affiliation_content_wrapper ul li:before{content:'✓';margin-right:10px;font-weight:bold}#fs_affiliation_content_wrapper p:not(.description),#fs_affiliation_content_wrapper li,#fs_affiliation_content_wrapper label{font-size:16px !important;line-height:26px !important}#fs_affiliation_content_wrapper .button{margin-top:20px;margin-bottom:7px;line-height:35px;height:40px;font-size:16px}#fs_affiliation_content_wrapper .button#cancel_button{margin-right:5px}#fs_affiliation_content_wrapper form .input-container{margin-bottom:15px}#fs_affiliation_content_wrapper form .input-container .input-label{font-weight:bold;display:block;width:100%}#fs_affiliation_content_wrapper form .input-container.input-container-text label,#fs_affiliation_content_wrapper form .input-container.input-container-text input,#fs_affiliation_content_wrapper form .input-container.input-container-text textarea{display:block}#fs_affiliation_content_wrapper form .input-container #add_domain,#fs_affiliation_content_wrapper form .input-container .remove-domain{text-decoration:none;display:inline-block;margin-top:3px}#fs_affiliation_content_wrapper form .input-container #add_domain:focus,#fs_affiliation_content_wrapper form .input-container .remove-domain:focus{box-shadow:none}#fs_affiliation_content_wrapper form .input-container #add_domain.disabled,#fs_affiliation_content_wrapper form .input-container .remove-domain.disabled{color:#aaa;cursor:default}#fs_affiliation_content_wrapper form #extra_domains_container .description{margin-top:0;position:relative;top:-4px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container{margin-bottom:15px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container .domain{display:inline-block;margin-right:5px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container .domain:last-of-type{margin-bottom:0}
|
||||
@@ -0,0 +1 @@
|
||||
@media screen and (max-width: 782px){#wpbody-content{padding-bottom:0 !important}}
|
||||
@@ -0,0 +1,2 @@
|
||||
.fs-badge{position:absolute;top:10px;right:0;background:#71ae00;color:white;text-transform:uppercase;padding:5px 10px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;font-weight:bold;border-right:0;-moz-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);box-shadow:0 2px 1px -1px rgba(0,0,0,0.3)}.theme-browser .theme .fs-premium-theme-badge-container{position:absolute;right:0;top:0}.theme-browser .theme .fs-premium-theme-badge-container .fs-badge{position:relative;top:0;margin-top:10px;text-align:center}.theme-browser .theme .fs-premium-theme-badge-container .fs-badge.fs-premium-theme-badge{font-size:1.1em}.theme-browser .theme .fs-premium-theme-badge-container .fs-badge.fs-beta-theme-badge{background:#00a0d2}.fs-switch{position:relative;display:inline-block;color:#ccc;text-shadow:0 1px 1px rgba(255,255,255,0.8);height:18px;padding:6px 6px 5px 6px;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);background:#ececec;box-shadow:0 0 4px rgba(0,0,0,0.1),inset 0 1px 3px 0 rgba(0,0,0,0.1);cursor:pointer}.fs-switch span{display:inline-block;width:35px;text-transform:uppercase}.fs-switch .fs-toggle{position:absolute;top:1px;width:37px;height:25px;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.3);border-radius:4px;background:#fff;background-color:#fff;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #ececec), color-stop(1, #fff));background-image:-webkit-linear-gradient(top, #ececec, #fff);background-image:-moz-linear-gradient(top, #ececec, #fff);background-image:-ms-linear-gradient(top, #ececec, #fff);background-image:-o-linear-gradient(top, #ececec, #fff);background-image:linear-gradient(top, bottom, #ececec, #fff);box-shadow:inset 0 1px 0 0 rgba(255,255,255,0.5);z-index:999;-moz-transition:0.4s cubic-bezier(0.54, 1.6, 0.5, 1);-o-transition:0.4s cubic-bezier(0.54, 1.6, 0.5, 1);-ms-transition:0.4s cubic-bezier(0.54, 1.6, 0.5, 1);-webkit-transition:0.4s cubic-bezier(0.54, 1.6, 0.5, 1);transition:0.4s cubic-bezier(0.54, 1.6, 0.5, 1)}.fs-switch.fs-off .fs-toggle{left:2%}.fs-switch.fs-on .fs-toggle{left:54%}.fs-switch.fs-round{top:8px;padding:4px 25px;-moz-border-radius:24px;-webkit-border-radius:24px;border-radius:24px}.fs-switch.fs-round .fs-toggle{top:0;width:24px;height:24px;-moz-border-radius:24px;-webkit-border-radius:24px;border-radius:24px}.fs-switch.fs-round.fs-off .fs-toggle{left:-1px}.fs-switch.fs-round.fs-on{background:#0085ba}.fs-switch.fs-round.fs-on .fs-toggle{left:25px}.fs-switch.fs-small.fs-round{padding:1px 19px}.fs-switch.fs-small.fs-round .fs-toggle{top:0;width:18px;height:18px;-moz-border-radius:18px;-webkit-border-radius:18px;border-radius:18px}.fs-switch.fs-small.fs-round.fs-on .fs-toggle{left:19px}.fs-switch-feedback{margin-left:10px}.fs-switch-feedback.success{color:#71ae00}.rtl .fs-switch-feedback{margin-left:0;margin-right:10px}#fs_frame{line-height:0;font-size:0}.fs-full-size-wrapper{margin:40px 0 -65px -20px}@media (max-width: 600px){.fs-full-size-wrapper{margin:0 0 -65px -10px}}
|
||||
.fs-notice{position:relative}.fs-notice.fs-has-title{margin-bottom:30px !important}.fs-notice.success{color:green}.fs-notice.promotion{border-color:#00a0d2 !important;background-color:#f2fcff !important}.fs-notice .fs-notice-body{margin:.5em 0;padding:2px}.fs-notice .fs-close{cursor:pointer;color:#aaa;float:right}.fs-notice .fs-close:hover{color:#666}.fs-notice .fs-close>*{margin-top:7px;display:inline-block}.fs-notice label.fs-plugin-title{background:rgba(0,0,0,0.3);color:#fff;padding:2px 10px;position:absolute;top:100%;bottom:auto;right:auto;-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;left:10px;font-size:12px;font-weight:bold;cursor:auto}div.fs-notice.updated,div.fs-notice.success,div.fs-notice.promotion{display:block !important}.rtl .fs-notice .fs-close{float:left}.fs-secure-notice{position:fixed;top:32px;left:160px;right:0;background:#ebfdeb;padding:10px 20px;color:green;z-index:9999;-moz-box-shadow:0 2px 2px rgba(6,113,6,0.3);-webkit-box-shadow:0 2px 2px rgba(6,113,6,0.3);box-shadow:0 2px 2px rgba(6,113,6,0.3);opacity:0.95;filter:alpha(opacity=95)}.fs-secure-notice:hover{opacity:1;filter:alpha(opacity=100)}.fs-secure-notice a.fs-security-proof{color:green;text-decoration:none}@media screen and (max-width: 960px){.fs-secure-notice{left:36px}}@media screen and (max-width: 600px){.fs-secure-notice{display:none}}@media screen and (max-width: 500px){#fs_promo_tab{display:none}}@media screen and (max-width: 782px){.fs-secure-notice{left:0;top:46px;text-align:center}}span.fs-submenu-item.fs-sub:before{content:'\21B3';padding:0 5px}.rtl span.fs-submenu-item.fs-sub:before{content:'\21B2'}.fs-submenu-item.pricing.upgrade-mode{color:greenyellow}.fs-submenu-item.pricing.trial-mode{color:#83e2ff}#adminmenu .update-plugins.fs-trial{background-color:#00b9eb}.fs-ajax-spinner{border:0;width:20px;height:20px;margin-right:5px;vertical-align:sub;display:inline-block;background:url("/wp-admin/images/wpspin_light-2x.gif");background-size:contain;margin-bottom:-2px}.wrap.fs-section h2{text-align:left}.plugins p.fs-upgrade-notice{border:0;background-color:#d54e21;padding:10px;color:#f9f9f9;margin-top:10px}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.fs-switch-label{font-size:20px;line-height:31px;margin:0 5px}#fs_log_book table{font-family:Consolas,Monaco,monospace;font-size:12px}#fs_log_book table th{color:#ccc}#fs_log_book table tr{background:#232525}#fs_log_book table tr.alternate{background:#2b2b2b}#fs_log_book table tr td.fs-col--logger{color:#5a7435}#fs_log_book table tr td.fs-col--type{color:#ffc861}#fs_log_book table tr td.fs-col--function{color:#a7b7b1;font-weight:bold}#fs_log_book table tr td.fs-col--message,#fs_log_book table tr td.fs-col--message a{color:#9a73ac !important}#fs_log_book table tr td.fs-col--file{color:#d07922}#fs_log_book table tr td.fs-col--timestamp{color:#6596be}
|
||||
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
.fs-notice[data-id^="gdpr_optin_actions"] .underlined{text-decoration:underline}.fs-notice[data-id^="gdpr_optin_actions"] ul .button,.fs-notice[data-id^="gdpr_optin_actions"] ul .action-description{vertical-align:middle}.fs-notice[data-id^="gdpr_optin_actions"] ul .action-description{display:inline-block;margin-left:3px}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
// Silence is golden.
|
||||
// Hide file structure from users on unprotected servers.
|
||||
@@ -0,0 +1 @@
|
||||
label.fs-tag,span.fs-tag{background:#ffba00;color:#fff;display:inline-block;border-radius:3px;padding:5px;font-size:11px;line-height:11px;vertical-align:baseline}label.fs-tag.fs-warn,span.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-info,span.fs-tag.fs-info{background:#00a0d2}label.fs-tag.fs-success,span.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error,span.fs-tag.fs-error{background:#dc3232}.wp-list-table.plugins .plugin-title span.fs-tag{display:inline-block;margin-left:5px;line-height:10px}
|
||||
@@ -0,0 +1 @@
|
||||
#fs_customizer_upsell .fs-customizer-plan{padding:10px 20px 20px 20px;border-radius:3px;background:#fff}#fs_customizer_upsell .fs-customizer-plan h2{position:relative;margin:0;line-height:2em;text-transform:uppercase}#fs_customizer_upsell .fs-customizer-plan h2 .button-link{top:-2px}#fs_customizer_upsell .fs-feature{position:relative}#fs_customizer_upsell .dashicons-yes{color:#0085ba;font-size:2em;vertical-align:bottom;margin-left:-7px;margin-right:10px}.rtl #fs_customizer_upsell .dashicons-yes{margin-left:10px;margin-right:-7px}#fs_customizer_upsell .dashicons-editor-help{color:#bbb;cursor:help}#fs_customizer_upsell .dashicons-editor-help .fs-feature-desc{opacity:0;visibility:hidden;-moz-transition:opacity 0.3s ease-in-out;-o-transition:opacity 0.3s ease-in-out;-ms-transition:opacity 0.3s ease-in-out;-webkit-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;position:absolute;background:#000;color:#fff;font-family:'arial', serif;font-size:12px;padding:10px;z-index:999999;bottom:100%;margin-bottom:5px;left:0;right:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.2);box-shadow:1px 1px 1px rgba(0,0,0,0.2);line-height:1.3em;font-weight:bold;text-align:left}.rtl #fs_customizer_upsell .dashicons-editor-help .fs-feature-desc{text-align:right}#fs_customizer_upsell .dashicons-editor-help .fs-feature-desc::after{content:' ';display:block;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:#000 transparent transparent transparent;position:absolute;top:100%;left:21px}.rtl #fs_customizer_upsell .dashicons-editor-help .fs-feature-desc::after{right:21px;left:auto}#fs_customizer_upsell .dashicons-editor-help:hover .fs-feature-desc{visibility:visible;opacity:1}#fs_customizer_upsell .button-primary{display:block;text-align:center;margin-top:10px}#fs_customizer_support{display:block !important}#fs_customizer_support .button{float:right}#fs_customizer_support .button-group{width:100%;display:block;margin-top:10px}#fs_customizer_support .button-group .button{float:none;width:50%;text-align:center}#customize-theme-controls #accordion-section-freemius_upsell{border-top:1px solid #0085ba !important;border-bottom:1px solid #0085ba !important}#customize-theme-controls #accordion-section-freemius_upsell h3.accordion-section-title{color:#fff;background-color:#0085ba;border-left:4px solid #0085ba;transition:.15s background-color ease-in-out, .15s border-color ease-in-out;outline:none;border-bottom:none !important}#customize-theme-controls #accordion-section-freemius_upsell h3.accordion-section-title:hover{background-color:#008ec2;border-left-color:#0073aa}#customize-theme-controls #accordion-section-freemius_upsell h3.accordion-section-title:after{color:#fff}#customize-theme-controls #accordion-section-freemius_upsell .rtl h3.accordion-section-title{border-left:none;border-right:4px solid #0085ba}#customize-theme-controls #accordion-section-freemius_upsell .rtl h3.accordion-section-title:hover{border-right-color:#0073aa}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user