Version Description
-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.
Download this release
Release Info
Developer | oceanwp |
Plugin | Ocean Extra |
Version | 1.4.9 |
Comparing to | |
See all releases |
Code changes from version 1.4.8 to 1.4.9
- assets/css/admin.css +5 -0
- includes/dashboard.php +225 -0
- includes/metabox/controls/assets/css/butterbean.css +29 -195
- includes/metabox/controls/assets/css/butterbean.min.css +1 -1
- includes/metabox/controls/assets/js/wp-color-picker-alpha.js +10 -1
- includes/panel/assets/css/licenses.css +43 -0
- includes/panel/assets/css/licenses.min.css +1 -0
- includes/panel/assets/css/panel.css +0 -26
- includes/panel/assets/css/panel.min.css +1 -1
- includes/panel/extensions.php +5 -0
- includes/panel/licenses.php +100 -0
- includes/panel/theme-panel.php +41 -55
- includes/panel/updater.php +0 -28
- includes/shortcodes/shortcodes.php +13 -11
- includes/widgets/instagram.php +0 -4
- ocean-extra.php +3 -2
- readme.txt +8 -1
assets/css/admin.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.owp-dashboard-widget .rss-widget { font-size: 14px; }
|
2 |
+
.owp-dashboard-widget .rssSummary { color: #333; }
|
3 |
+
.owp-news-footer { margin: 15px -12px -12px; padding: 12px; border-top: 1px solid #eee; }
|
4 |
+
.owp-news-footer a { padding: 0 10px; border-left: 1px solid #ddd; }
|
5 |
+
.owp-news-footer a:first-child { padding-left: 0; border: none; }
|
includes/dashboard.php
ADDED
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* OceanWP News
|
4 |
+
*
|
5 |
+
* @package OceanWP WordPress theme
|
6 |
+
*/
|
7 |
+
|
8 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
+
exit;
|
10 |
+
}
|
11 |
+
|
12 |
+
if ( ! class_exists( 'OceanWP_Dashboard_News' ) ) :
|
13 |
+
|
14 |
+
class OceanWP_Dashboard_News {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Feed URL.
|
18 |
+
*
|
19 |
+
* @since 1.4.9
|
20 |
+
*/
|
21 |
+
private static $feed = 'https://oceanwp.org/feed/';
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Setup class.
|
25 |
+
*
|
26 |
+
* @since 1.4.9
|
27 |
+
*/
|
28 |
+
public function __construct() {
|
29 |
+
add_action( 'wp_dashboard_setup', array( $this, 'register_dashboard_news' ) );
|
30 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'script' ) );
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Register the news block on the WordPress dashboard
|
35 |
+
*
|
36 |
+
* @since 1.4.9
|
37 |
+
*/
|
38 |
+
public function register_dashboard_news() {
|
39 |
+
if ( apply_filters( 'oceanwp_news_enabled', false ) ) {
|
40 |
+
return;
|
41 |
+
}
|
42 |
+
|
43 |
+
wp_add_dashboard_widget( 'owp_dashboard_news', __( 'OceanWP News & Updates', 'ocean-extra' ), array( $this, 'dashboard_news_widget' ) );
|
44 |
+
|
45 |
+
// Move our widget to top.
|
46 |
+
global $wp_meta_boxes;
|
47 |
+
|
48 |
+
$dashboard = $wp_meta_boxes['dashboard']['normal']['core'];
|
49 |
+
$widget = [
|
50 |
+
'owp_dashboard_news' => $dashboard['owp_dashboard_news'],
|
51 |
+
];
|
52 |
+
|
53 |
+
$wp_meta_boxes['dashboard']['normal']['core'] = array_merge( $widget, $dashboard );
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* OceanWP News & Updates
|
58 |
+
*
|
59 |
+
* @since 1.4.9
|
60 |
+
*/
|
61 |
+
public function dashboard_news_widget() { ?>
|
62 |
+
|
63 |
+
<div class="owp-dashboard-widget">
|
64 |
+
<?php
|
65 |
+
$this->oceanwp_cached_rss_widget( 'owp_dashboard_news', array( $this, 'oceanwp_news_output' ) ); ?>
|
66 |
+
<div class="owp-news-footer">
|
67 |
+
<?php
|
68 |
+
printf(
|
69 |
+
'<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>',
|
70 |
+
'https://oceanwp.org/blog/',
|
71 |
+
__( 'Blog' ),
|
72 |
+
/* translators: accessibility text */
|
73 |
+
__( '(opens in a new window)' )
|
74 |
+
);
|
75 |
+
printf(
|
76 |
+
'<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>',
|
77 |
+
'https://oceanwp.org/support/',
|
78 |
+
__( 'Help' ),
|
79 |
+
/* translators: accessibility text */
|
80 |
+
__( '(opens in a new window)' )
|
81 |
+
);
|
82 |
+
|
83 |
+
// If no premium extensions
|
84 |
+
if ( true != apply_filters( 'oceanwp_licence_tab_enable', false ) ) {
|
85 |
+
printf(
|
86 |
+
'<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>',
|
87 |
+
'https://oceanwp.org/extensions/?utm_source=extensions&utm_medium=wp-dash&utm_campaign=news-feed',
|
88 |
+
__( 'Extensions' ),
|
89 |
+
/* translators: accessibility text */
|
90 |
+
__( '(opens in a new window)' )
|
91 |
+
);
|
92 |
+
} ?>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<?php
|
96 |
+
}
|
97 |
+
|
98 |
+
/**
|
99 |
+
* Display the WordPress news feeds.
|
100 |
+
*
|
101 |
+
* @since 1.4.9
|
102 |
+
*/
|
103 |
+
public function oceanwp_news_output() {
|
104 |
+
echo '<div class="rss-widget">';
|
105 |
+
$this->oceanwp_rss_output( self::$feed );
|
106 |
+
echo "</div>";
|
107 |
+
}
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Display the RSS entries in a list.
|
111 |
+
*
|
112 |
+
* @since 1.4.9
|
113 |
+
*/
|
114 |
+
public function oceanwp_rss_output( $rss, $args = array() ) {
|
115 |
+
if ( is_string( $rss ) ) {
|
116 |
+
$rss = fetch_feed($rss);
|
117 |
+
} elseif ( is_array($rss) && isset($rss['url']) ) {
|
118 |
+
$args = $rss;
|
119 |
+
$rss = fetch_feed($rss['url']);
|
120 |
+
} elseif ( !is_object($rss) ) {
|
121 |
+
return;
|
122 |
+
}
|
123 |
+
|
124 |
+
if ( is_wp_error($rss) ) {
|
125 |
+
if ( is_admin() || current_user_can('manage_options') )
|
126 |
+
echo '<p><strong>' . __( 'RSS Error:', 'ocean-extra' ) . '</strong> ' . $rss->get_error_message() . '</p>';
|
127 |
+
return;
|
128 |
+
}
|
129 |
+
|
130 |
+
$default_args = array( 'show_summary' => 1, 'items' => 4 );
|
131 |
+
$args = wp_parse_args( $args, $default_args );
|
132 |
+
|
133 |
+
$items = (int) $args['items'];
|
134 |
+
$show_summary = (int) $args['show_summary'];
|
135 |
+
|
136 |
+
if ( !$rss->get_item_quantity() ) {
|
137 |
+
echo '<ul><li>' . __( 'An error has occurred, which probably means the feed is down. Try again later.', 'ocean-extra' ) . '</li></ul>';
|
138 |
+
$rss->__destruct();
|
139 |
+
unset($rss);
|
140 |
+
return;
|
141 |
+
}
|
142 |
+
|
143 |
+
echo '<ul>';
|
144 |
+
foreach ( $rss->get_items( 0, $items ) as $item ) {
|
145 |
+
$link = $item->get_link();
|
146 |
+
while ( stristr( $link, 'http' ) != $link ) {
|
147 |
+
$link = substr( $link, 1 );
|
148 |
+
}
|
149 |
+
$link = esc_url( strip_tags( $link ) );
|
150 |
+
|
151 |
+
$title = esc_html( trim( strip_tags( $item->get_title() ) ) );
|
152 |
+
if ( empty( $title ) ) {
|
153 |
+
$title = __( 'Untitled' );
|
154 |
+
}
|
155 |
+
|
156 |
+
$desc = @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) );
|
157 |
+
$desc = esc_attr( wp_trim_words( $desc, 30, '…' ) );
|
158 |
+
|
159 |
+
$summary = '';
|
160 |
+
if ( $show_summary ) {
|
161 |
+
$summary = $desc;
|
162 |
+
$summary = '<div class="rssSummary">' . esc_html( $summary ) . '</div>';
|
163 |
+
}
|
164 |
+
|
165 |
+
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>";
|
166 |
+
}
|
167 |
+
echo '</ul>';
|
168 |
+
$rss->__destruct();
|
169 |
+
unset($rss);
|
170 |
+
}
|
171 |
+
|
172 |
+
/**
|
173 |
+
* Checks to see if all of the feed url in $check_urls are cached.
|
174 |
+
*
|
175 |
+
* @since 1.4.9
|
176 |
+
*
|
177 |
+
* @param string $widget_id
|
178 |
+
* @param callable $callback
|
179 |
+
* @param array $check_urls RSS feeds
|
180 |
+
* @return bool False on failure. True on success.
|
181 |
+
*/
|
182 |
+
function oceanwp_cached_rss_widget( $widget_id, $callback ) {
|
183 |
+
$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>';
|
184 |
+
$check_urls = self::$feed;
|
185 |
+
|
186 |
+
$locale = get_user_locale();
|
187 |
+
$cache_key = 'owp_feed_data_' . md5( $widget_id . '_' . $locale );
|
188 |
+
if ( false !== ( $output = get_transient( $cache_key ) ) ) {
|
189 |
+
echo $output;
|
190 |
+
return true;
|
191 |
+
}
|
192 |
+
|
193 |
+
if ( empty( $check_urls ) ) {
|
194 |
+
echo $loading;
|
195 |
+
return false;
|
196 |
+
}
|
197 |
+
|
198 |
+
if ( $callback && is_callable( $callback ) ) {
|
199 |
+
$args = array_slice( func_get_args(), 3 );
|
200 |
+
array_unshift( $args, $widget_id, $check_urls );
|
201 |
+
ob_start();
|
202 |
+
call_user_func_array( $callback, $args );
|
203 |
+
set_transient( $cache_key, ob_get_flush(), 12 * HOUR_IN_SECONDS ); // Default lifetime in cache of 12 hours (same as the feeds)
|
204 |
+
}
|
205 |
+
|
206 |
+
return true;
|
207 |
+
}
|
208 |
+
|
209 |
+
/**
|
210 |
+
* Script
|
211 |
+
*
|
212 |
+
* @since 1.4.9
|
213 |
+
*/
|
214 |
+
public function script( $hook ) {
|
215 |
+
$screen = get_current_screen();
|
216 |
+
if ( 'dashboard' === $screen->id ) {
|
217 |
+
wp_enqueue_style( 'oceanwp-news', plugins_url( '/assets/css/admin.css', dirname( __FILE__ ) ) );
|
218 |
+
}
|
219 |
+
}
|
220 |
+
|
221 |
+
}
|
222 |
+
|
223 |
+
endif;
|
224 |
+
|
225 |
+
new OceanWP_Dashboard_News();
|
includes/metabox/controls/assets/css/butterbean.css
CHANGED
@@ -64,201 +64,35 @@ body .butterbean-manager .butterbean-content .butterbean-buttonset li input { di
|
|
64 |
body .butterbean-manager .butterbean-content .butterbean-buttonset li .buttonset-input:checked + .buttonset-label { background-color: #3498DB; color: #fff; }
|
65 |
|
66 |
/* Color */
|
67 |
-
|
68 |
-
body .butterbean-manager .butterbean-content .wp-
|
69 |
-
body .butterbean-manager .butterbean-content .wp-
|
70 |
-
body .butterbean-manager .butterbean-content .wp-
|
71 |
-
body .butterbean-manager .butterbean-content .wp-
|
72 |
-
body .butterbean-manager .butterbean-content .wp-
|
73 |
-
body .butterbean-manager .butterbean-content .wp-picker-container { width:
|
74 |
-
body .butterbean-manager .butterbean-content .
|
75 |
-
body .butterbean-manager .butterbean-content .wp-picker-container
|
76 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .
|
77 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.
|
78 |
-
body .butterbean-manager .butterbean-content .wp-picker-container
|
79 |
-
body .butterbean-manager .butterbean-content .wp-picker-
|
80 |
-
body .butterbean-manager .butterbean-content .wp-picker-
|
81 |
-
body .butterbean-manager .butterbean-content
|
82 |
-
body .butterbean-manager .butterbean-content .
|
83 |
-
body .butterbean-manager .butterbean-content .alpha-
|
84 |
-
body .butterbean-manager .butterbean-content .
|
85 |
-
body .butterbean-manager .butterbean-content .
|
86 |
-
body .butterbean-manager .butterbean-content .
|
87 |
-
body .butterbean-manager .butterbean-content .
|
88 |
-
body .butterbean-manager .butterbean-content .
|
89 |
-
body .butterbean-manager .butterbean-content .
|
90 |
-
body .butterbean-manager .butterbean-content .
|
91 |
-
body .butterbean-manager .butterbean-content .
|
92 |
-
body .butterbean-manager .butterbean-content .
|
93 |
-
body .butterbean-manager .butterbean-content .
|
94 |
-
body .butterbean-manager .butterbean-content .
|
95 |
-
body .butterbean-manager .butterbean-content .
|
96 |
-
body .butterbean-manager .butterbean-content .iris-picker .iris-palette { border: 1px solid #ddd; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; -webkit-box-shadow: none; box-shadow: none; }
|
97 |
-
body .butterbean-manager .butterbean-content .iris-picker .iris-square-inner { border: none; }
|
98 |
-
body .butterbean-manager .butterbean-content .iris-picker .iris-slider { margin-left: 8px !important; width: 25px !important; }
|
99 |
-
body .butterbean-manager .butterbean-content .iris-picker .iris-alpha-slider { margin-left: 17px !important; }*/
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
body .butterbean-manager .butterbean-content .wp-picker-container {
|
106 |
-
width: 317px;
|
107 |
-
}
|
108 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active {
|
109 |
-
display: -webkit-box;
|
110 |
-
display: -webkit-flex;
|
111 |
-
display: -ms-flexbox;
|
112 |
-
display: flex;
|
113 |
-
-webkit-flex-wrap: wrap;
|
114 |
-
-ms-flex-wrap: wrap;
|
115 |
-
flex-wrap: wrap;
|
116 |
-
-webkit-box-pack: justify;
|
117 |
-
-webkit-justify-content: space-between;
|
118 |
-
-ms-flex-pack: justify;
|
119 |
-
justify-content: space-between;
|
120 |
-
}
|
121 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap {
|
122 |
-
display: -webkit-inline-box;
|
123 |
-
display: -webkit-inline-flex;
|
124 |
-
display: -ms-inline-flexbox;
|
125 |
-
display: inline-flex;
|
126 |
-
-webkit-box-pack: justify;
|
127 |
-
-webkit-justify-content: space-between;
|
128 |
-
-ms-flex-pack: justify;
|
129 |
-
justify-content: space-between;
|
130 |
-
width: 200px;
|
131 |
-
}
|
132 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap label {
|
133 |
-
width: 100%;
|
134 |
-
padding-right: 3px;
|
135 |
-
margin-top: 0;
|
136 |
-
}
|
137 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap input[type="text"] {
|
138 |
-
margin-right: 5px;
|
139 |
-
width: 100% !important;
|
140 |
-
}
|
141 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .wp-picker-holder {
|
142 |
-
width: 100%;
|
143 |
-
}
|
144 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker {
|
145 |
-
width: 100% !important;
|
146 |
-
}
|
147 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner {
|
148 |
-
display: -webkit-box;
|
149 |
-
display: -webkit-flex;
|
150 |
-
display: -ms-flexbox;
|
151 |
-
display: flex;
|
152 |
-
}
|
153 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-slider {
|
154 |
-
width: 25px !important;
|
155 |
-
margin-left: 15px !important;
|
156 |
-
height: 100% !important;
|
157 |
-
border-radius: 0;
|
158 |
-
}
|
159 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-slider .ui-slider-handle {
|
160 |
-
margin-bottom: 0;
|
161 |
-
right: -3px;
|
162 |
-
left: -3px;
|
163 |
-
border-radius: 0;
|
164 |
-
}
|
165 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-square {
|
166 |
-
width: -webkit-calc(100% - 45px) !important;
|
167 |
-
width: calc(100% - 45px) !important;
|
168 |
-
margin-right: 0;
|
169 |
-
border-radius: 0;
|
170 |
-
}
|
171 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker.iris-border {
|
172 |
-
padding-bottom: 30px !important;
|
173 |
-
}
|
174 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container {
|
175 |
-
display: -webkit-box;
|
176 |
-
display: -webkit-flex;
|
177 |
-
display: -ms-flexbox;
|
178 |
-
display: flex;
|
179 |
-
width: -webkit-calc(100% - 45px) !important;
|
180 |
-
width: calc(100% - 45px) !important;
|
181 |
-
}
|
182 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container > .iris-palette {
|
183 |
-
border: 1px solid #e7e7e7;
|
184 |
-
margin-left: 2px !important;
|
185 |
-
margin-right: 0 !important;
|
186 |
-
width: 19px !important;
|
187 |
-
height: 19px !important;
|
188 |
-
border-radius: 0;
|
189 |
-
box-shadow: none;
|
190 |
-
}
|
191 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container > .iris-palette:first-child {
|
192 |
-
margin-left: 0 !important;
|
193 |
-
}
|
194 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container {
|
195 |
-
width: 365px;
|
196 |
-
}
|
197 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-picker .iris-square {
|
198 |
-
width: -webkit-calc(100% - 85px) !important;
|
199 |
-
width: calc(100% - 85px) !important;
|
200 |
-
margin-right: 15px;
|
201 |
-
}
|
202 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container > .iris-palette {
|
203 |
-
width: 20px !important;
|
204 |
-
height: 20px !important;
|
205 |
-
}
|
206 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container > .iris-palette:first-child {
|
207 |
-
margin-left: 0 !important;
|
208 |
-
}
|
209 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .wp-picker-input-wrap {
|
210 |
-
width: -webkit-calc(100% - 120px);
|
211 |
-
width: calc(100% - 120px);
|
212 |
-
}
|
213 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .wp-picker-input-wrap label input[type="text"] {
|
214 |
-
width: 100% !important;
|
215 |
-
}
|
216 |
-
body .butterbean-manager .butterbean-content .wp-color-result {
|
217 |
-
border-radius: 0;
|
218 |
-
box-shadow: none;
|
219 |
-
}
|
220 |
-
body .butterbean-manager .butterbean-content .button.wp-color-result {
|
221 |
-
height: 31px;
|
222 |
-
border-radius: 0;
|
223 |
-
box-shadow: none;
|
224 |
-
}
|
225 |
-
body .butterbean-manager .butterbean-content .wp-color-result-text {
|
226 |
-
height: 100%;
|
227 |
-
line-height: 30px;
|
228 |
-
}
|
229 |
-
body .butterbean-manager .butterbean-content .wp-picker-container input[type="text"] {
|
230 |
-
height: 31px;
|
231 |
-
min-height: 31px;
|
232 |
-
}
|
233 |
-
body .butterbean-manager .butterbean-content .wp-picker-container input[type="button"] {
|
234 |
-
height: 31px;
|
235 |
-
border-radius: 0;
|
236 |
-
box-shadow: none;
|
237 |
-
}
|
238 |
-
body .butterbean-manager .butterbean-content .wp-picker-container {
|
239 |
-
max-width: -webkit-calc(100% - 2px);
|
240 |
-
max-width: calc(100% - 2px);
|
241 |
-
}
|
242 |
-
body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container > .iris-palette {
|
243 |
-
max-width: -webkit-calc((100% - 60px) / 11) !important;
|
244 |
-
max-width: calc((100% - 60px) / 11) !important;
|
245 |
-
}
|
246 |
-
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container > .iris-palette {
|
247 |
-
max-width: -webkit-calc((100% - 100px) / 11) !important;
|
248 |
-
max-width: calc((100% - 100px) / 11) !important;
|
249 |
-
}
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
|
263 |
/* Range */
|
264 |
body .butterbean-manager .butterbean-content .range-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; -webkit-align-items: center; align-items: center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
|
64 |
body .butterbean-manager .butterbean-content .butterbean-buttonset li .buttonset-input:checked + .buttonset-label { background-color: #3498DB; color: #fff; }
|
65 |
|
66 |
/* Color */
|
67 |
+
body .butterbean-manager .butterbean-content .wp-picker-container { width: 317px; }
|
68 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; }
|
69 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; width: 200px; }
|
70 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap label { width: 100%; padding-right: 3px; margin-top: 0; }
|
71 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap input[type="text"] { margin-right: 5px; width: 100% !important; }
|
72 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .wp-picker-holder { width: 100%; }
|
73 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker { width: 100% !important; }
|
74 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; }
|
75 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-slider { width: 25px !important; margin-left: 15px !important; height: 100% !important; border-radius: 0; }
|
76 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-slider .ui-slider-handle { margin-bottom: 0; right: -3px; left: -3px; border-radius: 0; }
|
77 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-square { width: -webkit-calc(100% - 45px) !important; width: calc(100% - 45px) !important; margin-right: 0; border-radius: 0; }
|
78 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker.iris-border { padding-bottom: 30px !important; }
|
79 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: -webkit-calc(100% - 45px) !important; width: calc(100% - 45px) !important; }
|
80 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container > .iris-palette { border: 1px solid #e7e7e7; margin-left: 2px !important; margin-right: 0 !important; width: 19px !important; height: 19px !important; border-radius: 0; box-shadow: none; }
|
81 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container > .iris-palette:first-child { margin-left: 0 !important; }
|
82 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container { width: 365px; }
|
83 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-picker .iris-square { width: -webkit-calc(100% - 85px) !important; width: calc(100% - 85px) !important; margin-right: 15px; }
|
84 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container > .iris-palette { width: 20px !important; height: 20px !important; }
|
85 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container > .iris-palette:first-child { margin-left: 0 !important; }
|
86 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .wp-picker-input-wrap { width: -webkit-calc(100% - 120px); width: calc(100% - 120px); }
|
87 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .wp-picker-input-wrap label input[type="text"] { width: 100% !important; }
|
88 |
+
body .butterbean-manager .butterbean-content .wp-color-result { border-radius: 0; box-shadow: none; }
|
89 |
+
body .butterbean-manager .butterbean-content .button.wp-color-result { height: 31px; border-radius: 0; box-shadow: none; }
|
90 |
+
body .butterbean-manager .butterbean-content .wp-color-result-text { height: 100%; line-height: 30px; }
|
91 |
+
body .butterbean-manager .butterbean-content .wp-picker-container input[type="text"] { height: 31px; min-height: 31px; line-height: 1; }
|
92 |
+
body .butterbean-manager .butterbean-content .wp-picker-container input[type="button"] { height: 31px; border-radius: 0; box-shadow: none; }
|
93 |
+
body .butterbean-manager .butterbean-content .wp-picker-container { max-width: -webkit-calc(100% - 2px); max-width: calc(100% - 2px); }
|
94 |
+
body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container > .iris-palette { max-width: -webkit-calc((100% - 60px) / 11) !important; max-width: calc((100% - 60px) / 11) !important; }
|
95 |
+
body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container > .iris-palette { max-width: -webkit-calc((100% - 100px) / 11) !important; max-width: calc((100% - 100px) / 11) !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
|
97 |
/* Range */
|
98 |
body .butterbean-manager .butterbean-content .range-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; -webkit-align-items: center; align-items: center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
|
includes/metabox/controls/assets/css/butterbean.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body .butterbean-manager .butterbean-content .butterbean-control:after{content:'';display:block;height:0;clear:both;visibility:hidden;zoom:1}body .butterbean-manager .butterbean-nav li[aria-selected=true] a{font-weight:400;background-color:#fff;margin-right:-1px}body .butterbean-manager .butterbean-nav li a{color:#555}body .butterbean-manager .butterbean-nav .dashicons{margin-right:8px}body .butterbean-manager .butterbean-content .butterbean-control{border-top:1px solid #f1f1f1;padding:15px 0;margin:0}body .butterbean-manager .butterbean-content .butterbean-control:first-child{border-top:0;padding-top:0}body .butterbean-manager .butterbean-content .butterbean-control:last-child{padding-bottom:0}body .butterbean-manager .butterbean-content .butterbean-section{padding:20px 30px}body .butterbean-manager .butterbean-content .oceanwp-mb-desc{float:left;width:45%}body .butterbean-manager .butterbean-content .oceanwp-mb-field{position:relative;float:right;width:50%}body .butterbean-manager .butterbean-content .butterbean-label{font-size:13px;font-weight:400;color:#222}body .butterbean-manager .butterbean-content .butterbean-description{font-size:12px;font-weight:400;font-style:normal;margin:8px 0 0;padding:0;color:#939393}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple,body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single,body .butterbean-manager .butterbean-content input[type=text],body .butterbean-manager .butterbean-content input[type=number],body .butterbean-manager .butterbean-content select,body .butterbean-manager .butterbean-content textarea{background-color:#f5f5f5;color:#333;border:1px solid rgba(0,0,0,.05);font-size:13px;padding:5px 12px;height:34px;line-height:34px;width:100%;border-radius:0;margin:0;outline:0;box-shadow:none!important;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single:focus,body .butterbean-manager .butterbean-content .select2-container--default.select2-container--focus .select2-selection--multiple,body .butterbean-manager .butterbean-content input[type=text]:focus,body .butterbean-manager .butterbean-content input[type=number]:focus,body .butterbean-manager .butterbean-content textarea:focus{border-color:rgba(0,0,0,.08)}body .butterbean-manager .butterbean-content textarea{height:80px;line-height:20px}body .butterbean-manager .butterbean-content .select2-container{width:100%}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single,body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow{padding:2px 4px}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow b,body .butterbean-manager .butterbean-content .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-width:0;margin:0;right:0;left:auto}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow b:before{content:'\f347';font-family:dashicons;position:absolute;top:50%;right:0;margin-top:-6px;width:32px;font-size:12px;line-height:1;color:#777;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}body .butterbean-manager .butterbean-content .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b:before{-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.select2-dropdown.oceanwp-select2{background-color:#f5f5f5!important}.oceanwp-select2 .select2-results .select2-results__option--highlighted,.select2-drop.oceanwp-select2 .select2-result.select2-highlighted{background-color:#3498DB!important;color:#fff!important;box-shadow:none!important;-webkit-box-shadow:none!important;border-radius:0!important;-webkit-border-radius:none!important}.select2-dropdown.oceanwp-select2 .select2-results{margin:0!important;padding:0!important;max-height:300px!important}.oceanwp-select2 .select2-results li:last-child{margin-bottom:0}.oceanwp-select2 .select2-search{padding:6px;margin-bottom:6px}.oceanwp-select2 .select2-search input{padding:5px 15px;margin:0;box-shadow:none!important;-webkit-box-shadow:none!important;border:1px solid rgba(0,0,0,.12)!important;background-color:#fff}.select2-container--open .select2-dropdown.oceanwp-select2{margin-top:-1px;border:1px solid rgba(0,0,0,.05)!important;box-shadow:none!important;-webkit-box-shadow:none!important;border-radius:0!important;-webkit-border-radius:none!important}.select2-drop.oceanwp-select2 .select2-result,.select2-dropdown.oceanwp-select2 .select2-results .select2-results__option{padding:0 .75em!important;height:32px!important;line-height:29px!important;overflow:hidden!important}.oceanwp-select2 .select2-results__option[aria-selected=true]{background-color:transparent}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple{height:auto;min-height:34px;line-height:1;padding:0 2px 5px}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-selection__rendered{padding:0}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e0e0e0;color:#666;border:none;line-height:1.5;padding:0 6px;border-radius:0;margin:7px 0 0 6px}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-search{line-height:1.5;margin:0 0 0 6px}body .butterbean-manager .butterbean-content .butterbean-buttonset{display:inline-block;margin:0;border:1px solid rgba(0,0,0,.1)}body .butterbean-manager .butterbean-content .butterbean-buttonset:after{content:'';display:block;height:0;clear:both;visibility:hidden;zoom:1}body .butterbean-manager .butterbean-content .butterbean-buttonset li{float:left;margin:0}body .butterbean-manager .butterbean-content .butterbean-buttonset li label{display:block;background-color:#f5f5f5;color:#555;border-right:1px solid rgba(0,0,0,.1);min-width:60px;padding:12px 18px;margin:0;font-size:13px;line-height:1;letter-spacing:.6px;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-box-sizing:border-box}body .butterbean-manager .butterbean-content .butterbean-buttonset li:last-child label{border-right:0}body .butterbean-manager .butterbean-content .butterbean-buttonset li input{display:none}body .butterbean-manager .butterbean-content .butterbean-buttonset li .buttonset-input:checked+.buttonset-label{background-color:#3498DB;color:#fff}body .butterbean-manager .butterbean-content .wp-picker-container{width:317px;max-width:-webkit-calc(100% - 2px);max-width:calc(100% - 2px)}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:200px}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap label{width:100%;padding-right:3px;margin-top:0}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap input[type=text]{margin-right:5px;width:100%!important}body .butterbean-manager .butterbean-content .wp-picker-container .wp-picker-holder{width:100%}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker{width:100%!important}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-slider{width:25px!important;margin-left:15px!important;height:100%!important;border-radius:0}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-slider .ui-slider-handle{margin-bottom:0;right:-3px;left:-3px;border-radius:0}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-square{width:-webkit-calc(100% - 45px)!important;width:calc(100% - 45px)!important;margin-right:0;border-radius:0}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker.iris-border{padding-bottom:30px!important}body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:-webkit-calc(100% - 45px)!important;width:calc(100% - 45px)!important}body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container>.iris-palette{border:1px solid #e7e7e7;margin-left:2px!important;margin-right:0!important;width:19px!important;height:19px!important;border-radius:0;box-shadow:none;max-width:-webkit-calc((100% - 60px)/ 11)!important;max-width:calc((100% - 60px)/ 11)!important}body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container>.iris-palette:first-child,body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container>.iris-palette:first-child{margin-left:0!important}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container{width:365px}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-picker .iris-square{width:-webkit-calc(100% - 85px)!important;width:calc(100% - 85px)!important;margin-right:15px}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container>.iris-palette{width:20px!important;height:20px!important;max-width:-webkit-calc((100% - 100px)/ 11)!important;max-width:calc((100% - 100px)/ 11)!important}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .wp-picker-input-wrap{width:-webkit-calc(100% - 120px);width:calc(100% - 120px)}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .wp-picker-input-wrap label input[type=text]{width:100%!important}body .butterbean-manager .butterbean-content .wp-color-result{border-radius:0;box-shadow:none}body .butterbean-manager .butterbean-content .button.wp-color-result{height:31px;border-radius:0;box-shadow:none}body .butterbean-manager .butterbean-content .wp-color-result-text{height:100%;line-height:30px}body .butterbean-manager .butterbean-content .wp-picker-container input[type=text]{height:31px;min-height:31px}body .butterbean-manager .butterbean-content .wp-picker-container input[type=button]{height:31px;border-radius:0;box-shadow:none}body .butterbean-manager .butterbean-content .range-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:wrap;-webkit-align-items:center;align-items:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .butterbean-manager .butterbean-content .range-wrapper:after{content:'';display:block;height:0;clear:both;visibility:hidden;zoom:1}body .butterbean-manager .butterbean-content input[type=range]{display:block;background-color:rgba(0,0,0,.1);height:5px;width:76%;padding:0;cursor:pointer;-webkit-transition:background .5s;-moz-transition:background .5s;transition:background .5s;-webkit-appearance:none}body .butterbean-manager .butterbean-content input[type=range]:focus{box-shadow:none!important;outline:0!important}body .butterbean-manager .butterbean-content input[type=range]:hover{background-color:rgba(0,0,0,.15)}body .butterbean-manager .butterbean-content input[type=range]::-webkit-slider-thumb{-webkit-border-radius:15px}body .butterbean-manager .butterbean-content input[type=range]::-moz-range-track{border:inherit;background-color:transparent}body .butterbean-manager .butterbean-content input[type=range]::-ms-track{border:inherit;color:transparent;background-color:transparent}body .butterbean-manager .butterbean-content input[type=range]::-ms-fill-lower,body .butterbean-manager .butterbean-content input[type=range]::-ms-fill-upper{background-color:transparent}body .butterbean-manager .butterbean-content input[type=range]::-ms-tooltip{display:none}body .butterbean-manager .butterbean-content input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:15px;background-color:#2e86b9}body .butterbean-manager .butterbean-content input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:15px;background-color:#2e86b9}body .butterbean-manager .butterbean-content input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:15px;border:0;background-color:#2e86b9}body .butterbean-manager .butterbean-content input.oceanwp-range-input{width:15%;height:32px;text-align:center;border-radius:4px;padding:3px;font-size:13px;margin-left:3%;color:#555;-moz-appearance:textfield}body .butterbean-manager .butterbean-content input.oceanwp-range-input::-webkit-inner-spin-button,body .butterbean-manager .butterbean-content input.oceanwp-range-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}body .butterbean-manager .butterbean-content span.oceanwp-reset-slider{position:relative;width:3%;margin-left:2%;line-height:1;color:rgba(0,0,0,.2);text-align:center;cursor:pointer;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease}body .butterbean-manager .butterbean-content span.oceanwp-reset-slider:hover{color:#fe5252}body .butterbean-manager .butterbean-content span.oceanwp-reset-slider span{width:16px;height:16px;font-size:16px;line-height:1}body .butterbean-manager .butterbean-content .uploader input[type=text]{width:78%}body .butterbean-manager .butterbean-content .uploader .oceanwp-add-media{float:right;width:20%;height:34px;margin:0;border-radius:0;outline:0;-webkit-box-shadow:none!important;box-shadow:none!important;vertical-align:middle}body .butterbean-manager .butterbean-content .uploader .oceanwp-add-media:focus,body .butterbean-manager .butterbean-content .uploader .oceanwp-add-media:hover{border-color:#bbb}body .butterbean-manager .butterbean-control-typography ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0 -10px}body .butterbean-manager .butterbean-control-typography ul li{width:50%;padding:0 10px;margin:0 0 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .butterbean-manager .butterbean-control-typography ul li.typography-font-family{width:100%}body .butterbean-manager .butterbean-control-typography ul li span.label{display:block;margin:0 0 6px}@media only screen and (max-width:1280px){body .butterbean-manager .butterbean-content input[type=range]{width:70%}body .butterbean-manager .butterbean-content input.oceanwp-range-input{width:20%}}@media only screen and (min-width:959px) and (max-width:1280px){body .butterbean-manager .butterbean-content .oceanwp-mb-desc,body .butterbean-manager .butterbean-content .oceanwp-mb-field{float:none;width:100%}body .butterbean-manager .butterbean-content .oceanwp-mb-desc{margin-bottom:15px}}@media only screen and (max-width:959px){body .butterbean-manager .butterbean-content .uploader .oceanwp-add-media{padding:6px 4px}}@media only screen and (max-width:480px){body .butterbean-manager .butterbean-content .oceanwp-mb-desc,body .butterbean-manager .butterbean-content .oceanwp-mb-field{float:none;width:100%}body .butterbean-manager .butterbean-content .oceanwp-mb-desc{margin-bottom:15px}body .butterbean-manager .butterbean-control-typography ul{margin:0}body .butterbean-manager .butterbean-control-typography ul li{width:100%;padding:0}}body.rtl .butterbean-manager-default{background:linear-gradient(-90deg,#fafafa 0,#fafafa 180px,#fff 180px,#fff 100%)}body.rtl #side-sortables .butterbean-manager-default{background:linear-gradient(-90deg,#fafafa 0,#fafafa 48px,#fff 48px,#fff 100%)}body.rtl .butterbean-manager-default .butterbean-nav{float:right;border-left:1px solid #eee;border-right:0}body.rtl .butterbean-manager .butterbean-nav .dashicons{margin-left:8px;margin-right:0}body.rtl .butterbean-manager .butterbean-nav li[aria-selected=true] a{margin-left:-1px;margin-right:0}body.rtl .butterbean-manager-default .butterbean-content{float:right;margin-right:-1px;margin-left:0;border-right:1px solid #eee;border-left:0}body.rtl .butterbean-manager .butterbean-content .oceanwp-mb-desc{float:right}body.rtl .butterbean-manager .butterbean-content .oceanwp-mb-field{float:left}body.rtl .butterbean-manager .butterbean-content .butterbean-buttonset li,body.rtl .butterbean-manager .butterbean-content .wp-picker-container input[type=text].wp-color-picker{float:right}body.rtl .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow b{right:50%;left:auto;margin-right:-6px;margin-left:0}body.rtl .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow{border-right:1px solid rgba(0,0,0,.05);border-left:0}body.rtl .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-selection__choice{margin:5px 6px 0 0}body.rtl .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-search{margin:0 6px 0 0}body.rtl .butterbean-manager .butterbean-content .butterbean-buttonset li label{border-left:1px solid rgba(0,0,0,.1);border-right:0}body.rtl .butterbean-manager .butterbean-content .butterbean-buttonset li:last-child label{border-left:0}body.rtl .butterbean-manager .butterbean-content .wp-color-result{padding-right:34px;padding-left:0}body.rtl .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap{margin-right:7px;margin-left:0;float:left}body.rtl .butterbean-manager .butterbean-content .wp-picker-clear,body.rtl .butterbean-manager .butterbean-content input.wp-picker-clear{float:left}body.rtl .butterbean-manager .butterbean-content input[type=range]{float:right}body.rtl .butterbean-manager .butterbean-content input.oceanwp-range-input{float:right;margin-right:15px;margin-left:0}body.rtl .butterbean-manager .butterbean-content span.oceanwp-reset-slider{float:left;margin:8px 5px 0 0}body.rtl .butterbean-manager .butterbean-content .uploader .oceanwp-add-media{float:left}@media only screen and (max-width:480px){body.rtl .butterbean-manager .butterbean-content .oceanwp-mb-desc,body.rtl .butterbean-manager .butterbean-content .oceanwp-mb-field{float:none;width:100%}}@media only screen and (max-width:782px),(max-width:980px) and (min-width:851px){body.rtl .butterbean-manager-default{background:linear-gradient(-90deg,#fafafa 0,#fafafa 48px,#fff 48px,#fff 100%)}body.rtl .butterbean-manager-default .butterbean-nav .label{right:-1000em;left:auto}}@media only screen and (min-width:850px){body.rtl #side-sortables .butterbean-manager-default .butterbean-nav li{border-left:1px solid #eee;border-right:0}body.rtl #side-sortables .butterbean-manager-default .butterbean-nav li:last-of-type{border-left:none}body.rtl #side-sortables .butterbean-manager-default .butterbean-nav .label{right:-1000em;left:auto}}
|
1 |
+
body .butterbean-manager .butterbean-content .butterbean-control:after{content:'';display:block;height:0;clear:both;visibility:hidden;zoom:1}body .butterbean-manager .butterbean-nav li[aria-selected=true] a{font-weight:400;background-color:#fff;margin-right:-1px}body .butterbean-manager .butterbean-nav li a{color:#555}body .butterbean-manager .butterbean-nav .dashicons{margin-right:8px}body .butterbean-manager .butterbean-content .butterbean-control{border-top:1px solid #f1f1f1;padding:15px 0;margin:0}body .butterbean-manager .butterbean-content .butterbean-control:first-child{border-top:0;padding-top:0}body .butterbean-manager .butterbean-content .butterbean-control:last-child{padding-bottom:0}body .butterbean-manager .butterbean-content .butterbean-section{padding:20px 30px}body .butterbean-manager .butterbean-content .oceanwp-mb-desc{float:left;width:45%}body .butterbean-manager .butterbean-content .oceanwp-mb-field{position:relative;float:right;width:50%}body .butterbean-manager .butterbean-content .butterbean-label{font-size:13px;font-weight:400;color:#222}body .butterbean-manager .butterbean-content .butterbean-description{font-size:12px;font-weight:400;font-style:normal;margin:8px 0 0;padding:0;color:#939393}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple,body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single,body .butterbean-manager .butterbean-content input[type=text],body .butterbean-manager .butterbean-content input[type=number],body .butterbean-manager .butterbean-content select,body .butterbean-manager .butterbean-content textarea{background-color:#f5f5f5;color:#333;border:1px solid rgba(0,0,0,.05);font-size:13px;padding:5px 12px;height:34px;line-height:34px;width:100%;border-radius:0;margin:0;outline:0;box-shadow:none!important;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single:focus,body .butterbean-manager .butterbean-content .select2-container--default.select2-container--focus .select2-selection--multiple,body .butterbean-manager .butterbean-content input[type=text]:focus,body .butterbean-manager .butterbean-content input[type=number]:focus,body .butterbean-manager .butterbean-content textarea:focus{border-color:rgba(0,0,0,.08)}body .butterbean-manager .butterbean-content textarea{height:80px;line-height:20px}body .butterbean-manager .butterbean-content .select2-container{width:100%}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single,body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow{padding:2px 4px}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow b,body .butterbean-manager .butterbean-content .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-width:0;margin:0;right:0;left:auto}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow b:before{content:'\f347';font-family:dashicons;position:absolute;top:50%;right:0;margin-top:-6px;width:32px;font-size:12px;line-height:1;color:#777;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}body .butterbean-manager .butterbean-content .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b:before{-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.select2-dropdown.oceanwp-select2{background-color:#f5f5f5!important}.oceanwp-select2 .select2-results .select2-results__option--highlighted,.select2-drop.oceanwp-select2 .select2-result.select2-highlighted{background-color:#3498DB!important;color:#fff!important;box-shadow:none!important;-webkit-box-shadow:none!important;border-radius:0!important;-webkit-border-radius:none!important}.select2-dropdown.oceanwp-select2 .select2-results{margin:0!important;padding:0!important;max-height:300px!important}.oceanwp-select2 .select2-results li:last-child{margin-bottom:0}.oceanwp-select2 .select2-search{padding:6px;margin-bottom:6px}.oceanwp-select2 .select2-search input{padding:5px 15px;margin:0;box-shadow:none!important;-webkit-box-shadow:none!important;border:1px solid rgba(0,0,0,.12)!important;background-color:#fff}.select2-container--open .select2-dropdown.oceanwp-select2{margin-top:-1px;border:1px solid rgba(0,0,0,.05)!important;box-shadow:none!important;-webkit-box-shadow:none!important;border-radius:0!important;-webkit-border-radius:none!important}.select2-drop.oceanwp-select2 .select2-result,.select2-dropdown.oceanwp-select2 .select2-results .select2-results__option{padding:0 .75em!important;height:32px!important;line-height:29px!important;overflow:hidden!important}.oceanwp-select2 .select2-results__option[aria-selected=true]{background-color:transparent}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple{height:auto;min-height:34px;line-height:1;padding:0 2px 5px}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-selection__rendered{padding:0}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e0e0e0;color:#666;border:none;line-height:1.5;padding:0 6px;border-radius:0;margin:7px 0 0 6px}body .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-search{line-height:1.5;margin:0 0 0 6px}body .butterbean-manager .butterbean-content .butterbean-buttonset{display:inline-block;margin:0;border:1px solid rgba(0,0,0,.1)}body .butterbean-manager .butterbean-content .butterbean-buttonset:after{content:'';display:block;height:0;clear:both;visibility:hidden;zoom:1}body .butterbean-manager .butterbean-content .butterbean-buttonset li{float:left;margin:0}body .butterbean-manager .butterbean-content .butterbean-buttonset li label{display:block;background-color:#f5f5f5;color:#555;border-right:1px solid rgba(0,0,0,.1);min-width:60px;padding:12px 18px;margin:0;font-size:13px;line-height:1;letter-spacing:.6px;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-box-sizing:border-box}body .butterbean-manager .butterbean-content .butterbean-buttonset li:last-child label{border-right:0}body .butterbean-manager .butterbean-content .butterbean-buttonset li input{display:none}body .butterbean-manager .butterbean-content .butterbean-buttonset li .buttonset-input:checked+.buttonset-label{background-color:#3498DB;color:#fff}body .butterbean-manager .butterbean-content .wp-picker-container{width:317px;max-width:-webkit-calc(100% - 2px);max-width:calc(100% - 2px)}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:200px}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap label{width:100%;padding-right:3px;margin-top:0}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap input[type=text]{margin-right:5px;width:100%!important}body .butterbean-manager .butterbean-content .wp-picker-container .wp-picker-holder{width:100%}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker{width:100%!important}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-slider{width:25px!important;margin-left:15px!important;height:100%!important;border-radius:0}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-slider .ui-slider-handle{margin-bottom:0;right:-3px;left:-3px;border-radius:0}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker .iris-picker-inner .iris-square{width:-webkit-calc(100% - 45px)!important;width:calc(100% - 45px)!important;margin-right:0;border-radius:0}body .butterbean-manager .butterbean-content .wp-picker-container .iris-picker.iris-border{padding-bottom:30px!important}body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:-webkit-calc(100% - 45px)!important;width:calc(100% - 45px)!important}body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container>.iris-palette{border:1px solid #e7e7e7;margin-left:2px!important;margin-right:0!important;width:19px!important;height:19px!important;border-radius:0;box-shadow:none;max-width:-webkit-calc((100% - 60px)/ 11)!important;max-width:calc((100% - 60px)/ 11)!important}body .butterbean-manager .butterbean-content .wp-picker-container .iris-palette-container>.iris-palette:first-child,body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container>.iris-palette:first-child{margin-left:0!important}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container{width:365px}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-picker .iris-square{width:-webkit-calc(100% - 85px)!important;width:calc(100% - 85px)!important;margin-right:15px}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .iris-palette-container>.iris-palette{width:20px!important;height:20px!important;max-width:-webkit-calc((100% - 100px)/ 11)!important;max-width:calc((100% - 100px)/ 11)!important}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .wp-picker-input-wrap{width:-webkit-calc(100% - 120px);width:calc(100% - 120px)}body .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-alpha-container .wp-picker-input-wrap label input[type=text]{width:100%!important}body .butterbean-manager .butterbean-content .wp-color-result{border-radius:0;box-shadow:none}body .butterbean-manager .butterbean-content .button.wp-color-result{height:31px;border-radius:0;box-shadow:none}body .butterbean-manager .butterbean-content .wp-color-result-text{height:100%;line-height:30px}body .butterbean-manager .butterbean-content .wp-picker-container input[type=text]{height:31px;min-height:31px;line-height:1}body .butterbean-manager .butterbean-content .wp-picker-container input[type=button]{height:31px;border-radius:0;box-shadow:none}body .butterbean-manager .butterbean-content .range-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:wrap;-webkit-align-items:center;align-items:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .butterbean-manager .butterbean-content .range-wrapper:after{content:'';display:block;height:0;clear:both;visibility:hidden;zoom:1}body .butterbean-manager .butterbean-content input[type=range]{display:block;background-color:rgba(0,0,0,.1);height:5px;width:76%;padding:0;cursor:pointer;-webkit-transition:background .5s;-moz-transition:background .5s;transition:background .5s;-webkit-appearance:none}body .butterbean-manager .butterbean-content input[type=range]:focus{box-shadow:none!important;outline:0!important}body .butterbean-manager .butterbean-content input[type=range]:hover{background-color:rgba(0,0,0,.15)}body .butterbean-manager .butterbean-content input[type=range]::-webkit-slider-thumb{-webkit-border-radius:15px}body .butterbean-manager .butterbean-content input[type=range]::-moz-range-track{border:inherit;background-color:transparent}body .butterbean-manager .butterbean-content input[type=range]::-ms-track{border:inherit;color:transparent;background-color:transparent}body .butterbean-manager .butterbean-content input[type=range]::-ms-fill-lower,body .butterbean-manager .butterbean-content input[type=range]::-ms-fill-upper{background-color:transparent}body .butterbean-manager .butterbean-content input[type=range]::-ms-tooltip{display:none}body .butterbean-manager .butterbean-content input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:15px;background-color:#2e86b9}body .butterbean-manager .butterbean-content input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:15px;background-color:#2e86b9}body .butterbean-manager .butterbean-content input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:15px;border:0;background-color:#2e86b9}body .butterbean-manager .butterbean-content input.oceanwp-range-input{width:15%;height:32px;text-align:center;border-radius:4px;padding:3px;font-size:13px;margin-left:3%;color:#555;-moz-appearance:textfield}body .butterbean-manager .butterbean-content input.oceanwp-range-input::-webkit-inner-spin-button,body .butterbean-manager .butterbean-content input.oceanwp-range-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}body .butterbean-manager .butterbean-content span.oceanwp-reset-slider{position:relative;width:3%;margin-left:2%;line-height:1;color:rgba(0,0,0,.2);text-align:center;cursor:pointer;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease}body .butterbean-manager .butterbean-content span.oceanwp-reset-slider:hover{color:#fe5252}body .butterbean-manager .butterbean-content span.oceanwp-reset-slider span{width:16px;height:16px;font-size:16px;line-height:1}body .butterbean-manager .butterbean-content .uploader input[type=text]{width:78%}body .butterbean-manager .butterbean-content .uploader .oceanwp-add-media{float:right;width:20%;height:34px;margin:0;border-radius:0;outline:0;-webkit-box-shadow:none!important;box-shadow:none!important;vertical-align:middle}body .butterbean-manager .butterbean-content .uploader .oceanwp-add-media:focus,body .butterbean-manager .butterbean-content .uploader .oceanwp-add-media:hover{border-color:#bbb}body .butterbean-manager .butterbean-control-typography ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0 -10px}body .butterbean-manager .butterbean-control-typography ul li{width:50%;padding:0 10px;margin:0 0 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .butterbean-manager .butterbean-control-typography ul li.typography-font-family{width:100%}body .butterbean-manager .butterbean-control-typography ul li span.label{display:block;margin:0 0 6px}@media only screen and (max-width:1280px){body .butterbean-manager .butterbean-content input[type=range]{width:70%}body .butterbean-manager .butterbean-content input.oceanwp-range-input{width:20%}}@media only screen and (min-width:959px) and (max-width:1280px){body .butterbean-manager .butterbean-content .oceanwp-mb-desc,body .butterbean-manager .butterbean-content .oceanwp-mb-field{float:none;width:100%}body .butterbean-manager .butterbean-content .oceanwp-mb-desc{margin-bottom:15px}}@media only screen and (max-width:959px){body .butterbean-manager .butterbean-content .uploader .oceanwp-add-media{padding:6px 4px}}@media only screen and (max-width:480px){body .butterbean-manager .butterbean-content .oceanwp-mb-desc,body .butterbean-manager .butterbean-content .oceanwp-mb-field{float:none;width:100%}body .butterbean-manager .butterbean-content .oceanwp-mb-desc{margin-bottom:15px}body .butterbean-manager .butterbean-control-typography ul{margin:0}body .butterbean-manager .butterbean-control-typography ul li{width:100%;padding:0}}body.rtl .butterbean-manager-default{background:linear-gradient(-90deg,#fafafa 0,#fafafa 180px,#fff 180px,#fff 100%)}body.rtl #side-sortables .butterbean-manager-default{background:linear-gradient(-90deg,#fafafa 0,#fafafa 48px,#fff 48px,#fff 100%)}body.rtl .butterbean-manager-default .butterbean-nav{float:right;border-left:1px solid #eee;border-right:0}body.rtl .butterbean-manager .butterbean-nav .dashicons{margin-left:8px;margin-right:0}body.rtl .butterbean-manager .butterbean-nav li[aria-selected=true] a{margin-left:-1px;margin-right:0}body.rtl .butterbean-manager-default .butterbean-content{float:right;margin-right:-1px;margin-left:0;border-right:1px solid #eee;border-left:0}body.rtl .butterbean-manager .butterbean-content .oceanwp-mb-desc{float:right}body.rtl .butterbean-manager .butterbean-content .oceanwp-mb-field{float:left}body.rtl .butterbean-manager .butterbean-content .butterbean-buttonset li,body.rtl .butterbean-manager .butterbean-content .wp-picker-container input[type=text].wp-color-picker{float:right}body.rtl .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow b{right:50%;left:auto;margin-right:-6px;margin-left:0}body.rtl .butterbean-manager .butterbean-content .select2-container--default .select2-selection--single .select2-selection__arrow{border-right:1px solid rgba(0,0,0,.05);border-left:0}body.rtl .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-selection__choice{margin:5px 6px 0 0}body.rtl .butterbean-manager .butterbean-content .select2-container--default .select2-selection--multiple .select2-search{margin:0 6px 0 0}body.rtl .butterbean-manager .butterbean-content .butterbean-buttonset li label{border-left:1px solid rgba(0,0,0,.1);border-right:0}body.rtl .butterbean-manager .butterbean-content .butterbean-buttonset li:last-child label{border-left:0}body.rtl .butterbean-manager .butterbean-content .wp-color-result{padding-right:34px;padding-left:0}body.rtl .butterbean-manager .butterbean-content .wp-picker-container.wp-picker-active .wp-picker-input-wrap{margin-right:7px;margin-left:0;float:left}body.rtl .butterbean-manager .butterbean-content .wp-picker-clear,body.rtl .butterbean-manager .butterbean-content input.wp-picker-clear{float:left}body.rtl .butterbean-manager .butterbean-content input[type=range]{float:right}body.rtl .butterbean-manager .butterbean-content input.oceanwp-range-input{float:right;margin-right:15px;margin-left:0}body.rtl .butterbean-manager .butterbean-content span.oceanwp-reset-slider{float:left;margin:8px 5px 0 0}body.rtl .butterbean-manager .butterbean-content .uploader .oceanwp-add-media{float:left}@media only screen and (max-width:480px){body.rtl .butterbean-manager .butterbean-content .oceanwp-mb-desc,body.rtl .butterbean-manager .butterbean-content .oceanwp-mb-field{float:none;width:100%}}@media only screen and (max-width:782px),(max-width:980px) and (min-width:851px){body.rtl .butterbean-manager-default{background:linear-gradient(-90deg,#fafafa 0,#fafafa 48px,#fff 48px,#fff 100%)}body.rtl .butterbean-manager-default .butterbean-nav .label{right:-1000em;left:auto}}@media only screen and (min-width:850px){body.rtl #side-sortables .butterbean-manager-default .butterbean-nav li{border-left:1px solid #eee;border-right:0}body.rtl #side-sortables .butterbean-manager-default .butterbean-nav li:last-of-type{border-left:none}body.rtl #side-sortables .butterbean-manager-default .butterbean-nav .label{right:-1000em;left:auto}}
|
includes/metabox/controls/assets/js/wp-color-picker-alpha.js
CHANGED
@@ -222,4 +222,13 @@
|
|
222 |
this.picker.append( container );
|
223 |
}
|
224 |
} );
|
225 |
-
}( jQuery ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
this.picker.append( container );
|
223 |
}
|
224 |
} );
|
225 |
+
}( jQuery ) );
|
226 |
+
|
227 |
+
jQuery( document ).ready( function( $ ) {
|
228 |
+
|
229 |
+
// Fix Safari issue on input click
|
230 |
+
$( '.butterbean-color-picker, .wp-picker-clear, .iris-picker' ).on( 'click', function( e ) {
|
231 |
+
e.preventDefault();
|
232 |
+
} );
|
233 |
+
|
234 |
+
});
|
includes/panel/assets/css/licenses.css
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.clr:after { content: ''; display: block; height: 0; clear: both; visibility: hidden; zoom: 1; }
|
2 |
+
a:focus, .button, .wp-core-ui .button-link:focus,
|
3 |
+
.wp-core-ui .button-secondary:focus, .wp-core-ui .button.focus,
|
4 |
+
.wp-core-ui .button:focus { -webkit-box-shadow: none !important; box-shadow: none !important; }
|
5 |
+
body .button.owp-button { background-color: #13aff0; color: #fff; height: auto; font-size: 12px; line-height: 1; font-weight: 600; text-transform: uppercase; margin: 0; padding: 14px 20px; border: 0; cursor: pointer; text-align: center; letter-spacing: .1em; border-radius: 3px; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; -ms-transition: all .3s ease; transition: all .3s ease; }
|
6 |
+
body .button.owp-button:hover,
|
7 |
+
body .button.owp-button:focus,
|
8 |
+
body .button.owp-button:active { background-color: #0b7cac; color: #fff; }
|
9 |
+
body .button.owp-button:active { -webkit-transform: none; -ms-transform: none; transform: none; }
|
10 |
+
|
11 |
+
/* Licenses tab */
|
12 |
+
#oceanwp-license-form .form-table, #oceanwp-license-form thead, #oceanwp-license-form tbody, #oceanwp-license-form tfoot,
|
13 |
+
#oceanwp-license-form tr, #oceanwp-license-form td, #oceanwp-license-form th, #oceanwp-license-form caption { display: block; }
|
14 |
+
#oceanwp-license-form .form-table tr { float: left; margin: 0 15px 15px 0; background: #fff; border: 1px solid #ccc; width: 30.5%; max-width: 350px; padding: 14px; min-height: 220px; position: relative; box-sizing: border-box; }
|
15 |
+
#oceanwp-license-form .form-table th { background: #f9f9f9; padding: 14px; border-bottom: 1px solid #ccc; margin: -14px -14px 20px; width: 100%; }
|
16 |
+
#oceanwp-license-form .form-table td { padding: 0; }
|
17 |
+
#oceanwp-license-form td input.regular-text { margin: 0 0 8px; width: 100%; }
|
18 |
+
#oceanwp-license-form .oceanwp-license-data[class*="oceanwp-license-"] { position: absolute; background: #fafafa; padding: 14px; border-top: 1px solid #eee; margin: 20px -14px -14px; min-height: 67px; width: 100%; bottom: 14px; box-sizing: border-box; }
|
19 |
+
#oceanwp-license-form .oceanwp-license-data[class*="oceanwp-license-"] a { color: #444; }
|
20 |
+
#oceanwp-license-form .oceanwp-license-data[class*="oceanwp-license-"] a:hover { text-decoration: none; }
|
21 |
+
#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice { background-color: #00a0d2; color: #fff; border-color: #00a0d2; }
|
22 |
+
#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg { background-color: #e24e4e; color: #fff; border-color: #e24e4e; }
|
23 |
+
#oceanwp-license-form .oceanwp-license-data.oceanwp-license-error-msg { background-color: #ffebcd; border-color: #ffebcd; }
|
24 |
+
#oceanwp-license-form .oceanwp-license-data p { font-size: 13px; margin-top: 0; }
|
25 |
+
#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice a,
|
26 |
+
#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg a { color: #fff; }
|
27 |
+
#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice a:hover,
|
28 |
+
#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg a:hover { text-decoration: none; }
|
29 |
+
#oceanwp-license-form p.submit { clear: both; }
|
30 |
+
|
31 |
+
#oceanwp-license-form .form-table.bundle-block tr { max-width: 500px; }
|
32 |
+
#oceanwp-license-form .form-table.bundle-block th { background-color: #13aff0; color: #fff; }
|
33 |
+
|
34 |
+
/* RTL */
|
35 |
+
body.rtl #oceanwp-license-form .form-table tr { float: right; margin: 0 0 15px 15px; }
|
36 |
+
|
37 |
+
@media screen and ( max-width: 1100px ) {
|
38 |
+
#oceanwp-license-form .form-table tr { width: 46%; max-width: none; min-height: 230px; }
|
39 |
+
}
|
40 |
+
|
41 |
+
@media screen and ( max-width: 600px ) {
|
42 |
+
#oceanwp-license-form .form-table tr { width: 100%; min-height: 230px; }
|
43 |
+
}
|
includes/panel/assets/css/licenses.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#oceanwp-license-form .form-table,#oceanwp-license-form caption,#oceanwp-license-form tbody,#oceanwp-license-form td,#oceanwp-license-form tfoot,#oceanwp-license-form th,#oceanwp-license-form thead,#oceanwp-license-form tr,.clr:after{display:block}#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice a:hover,#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg a:hover,#oceanwp-license-form .oceanwp-license-data[class*=oceanwp-license-] a:hover{text-decoration:none}#oceanwp-license-form p.submit,.clr:after{clear:both}.clr:after{content:'';height:0;visibility:hidden;zoom:1}.button,.wp-core-ui .button-link:focus,.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus,a:focus{-webkit-box-shadow:none!important;box-shadow:none!important}body .button.owp-button{background-color:#13aff0;color:#fff;height:auto;font-size:12px;line-height:1;font-weight:600;text-transform:uppercase;margin:0;padding:14px 20px;border:0;cursor:pointer;text-align:center;letter-spacing:.1em;border-radius:3px;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease;transition:all .3s ease}body .button.owp-button:active,body .button.owp-button:focus,body .button.owp-button:hover{background-color:#0b7cac;color:#fff}body .button.owp-button:active{-webkit-transform:none;-ms-transform:none;transform:none}#oceanwp-license-form .form-table tr{float:left;margin:0 15px 15px 0;background:#fff;border:1px solid #ccc;width:30.5%;max-width:350px;padding:14px;min-height:220px;position:relative;box-sizing:border-box}#oceanwp-license-form .form-table th{background:#f9f9f9;padding:14px;border-bottom:1px solid #ccc;margin:-14px -14px 20px;width:100%}#oceanwp-license-form .form-table td{padding:0}#oceanwp-license-form td input.regular-text{margin:0 0 8px;width:100%}#oceanwp-license-form .oceanwp-license-data[class*=oceanwp-license-]{position:absolute;background:#fafafa;padding:14px;border-top:1px solid #eee;margin:20px -14px -14px;min-height:67px;width:100%;bottom:14px;box-sizing:border-box}#oceanwp-license-form .oceanwp-license-data[class*=oceanwp-license-] a{color:#444}#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg{background-color:#e24e4e;color:#fff;border-color:#e24e4e}#oceanwp-license-form .oceanwp-license-data.oceanwp-license-error-msg{background-color:#ffebcd;border-color:#ffebcd}#oceanwp-license-form .oceanwp-license-data p{font-size:13px;margin-top:0}#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice a,#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg a{color:#fff}#oceanwp-license-form .form-table.bundle-block tr{max-width:500px}#oceanwp-license-form .form-table.bundle-block th{background-color:#13aff0;color:#fff}body.rtl #oceanwp-license-form .form-table tr{float:right;margin:0 0 15px 15px}@media screen and (max-width:1100px){#oceanwp-license-form .form-table tr{width:46%;max-width:none;min-height:230px}}@media screen and (max-width:600px){#oceanwp-license-form .form-table tr{width:100%;min-height:230px}}
|
includes/panel/assets/css/panel.css
CHANGED
@@ -60,29 +60,6 @@ body .postbox.oceanwp-doc .hndle { cursor: inherit; }
|
|
60 |
.oceanwp-support p { font-size: 14px; line-height: 1.7; font-style: italic; margin-top: 0; }
|
61 |
.oceanwp-support .owp-button { float: right; margin: 15px 0 0; }
|
62 |
|
63 |
-
/* Licenses tab */
|
64 |
-
#oceanwp-license-form .form-table, #oceanwp-license-form thead, #oceanwp-license-form tbody, #oceanwp-license-form tfoot,
|
65 |
-
#oceanwp-license-form tr, #oceanwp-license-form td, #oceanwp-license-form th, #oceanwp-license-form caption { display: block; }
|
66 |
-
#oceanwp-license-form .form-table tr { float: left; margin: 0 15px 15px 0; background: #fff; border: 1px solid #ccc; width: 30.5%; max-width: 350px; padding: 14px; min-height: 220px; position: relative; box-sizing: border-box; }
|
67 |
-
#oceanwp-license-form .form-table th { background: #f9f9f9; padding: 14px; border-bottom: 1px solid #ccc; margin: -14px -14px 20px; width: 100%; }
|
68 |
-
#oceanwp-license-form .form-table td { padding: 0; }
|
69 |
-
#oceanwp-license-form td input.regular-text { margin: 0 0 8px; width: 100%; }
|
70 |
-
#oceanwp-license-form .oceanwp-license-data[class*="oceanwp-license-"] { position: absolute; background: #fafafa; padding: 14px; border-top: 1px solid #eee; margin: 20px -14px -14px; min-height: 67px; width: 100%; bottom: 14px; box-sizing: border-box; }
|
71 |
-
#oceanwp-license-form .oceanwp-license-data[class*="oceanwp-license-"] a { color: #444; }
|
72 |
-
#oceanwp-license-form .oceanwp-license-data[class*="oceanwp-license-"] a:hover { text-decoration: none; }
|
73 |
-
#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice { background-color: #00a0d2; color: #fff; border-color: #00a0d2; }
|
74 |
-
#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg { background-color: #e24e4e; color: #fff; border-color: #e24e4e; }
|
75 |
-
#oceanwp-license-form .oceanwp-license-data.oceanwp-license-error-msg { background-color: #ffebcd; border-color: #ffebcd; }
|
76 |
-
#oceanwp-license-form .oceanwp-license-data p { font-size: 13px; margin-top: 0; }
|
77 |
-
#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice a,
|
78 |
-
#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg a { color: #fff; }
|
79 |
-
#oceanwp-license-form .oceanwp-license-data.license-expires-soon-notice a:hover,
|
80 |
-
#oceanwp-license-form .oceanwp-license-data.oceanwp-license-expired-msg a:hover { text-decoration: none; }
|
81 |
-
#oceanwp-license-form p.submit { clear: both; }
|
82 |
-
|
83 |
-
#oceanwp-license-form .form-table.bundle-block tr { max-width: 500px; }
|
84 |
-
#oceanwp-license-form .form-table.bundle-block th { background-color: #13aff0; color: #fff; }
|
85 |
-
|
86 |
/* Push monkey tab */
|
87 |
.push-monkey-tab { position: relative; }
|
88 |
.push-monkey-tab:before { content: ''; display: block; background: url( '../img/push-monkey.png' ) no-repeat; background-size: 100% auto; position: absolute; right: 10px; top: -36px; width: 96px; height: 38px; }
|
@@ -105,7 +82,6 @@ body.rtl .oceanwp-bloc i { left: -26px; right: auto; }
|
|
105 |
body.rtl .oceanwp-doc .hndle a { float: left; }
|
106 |
body.rtl .oceanwp-doc .inside ul { margin: 0 20px 0 0; }
|
107 |
body.rtl .oceanwp-support .owp-button { float: left; }
|
108 |
-
body.rtl #oceanwp-license-form .form-table tr { float: right; margin: 0 0 15px 15px; }
|
109 |
|
110 |
@media screen and ( max-width: 1280px ) {
|
111 |
.wrap.oceanwp-theme-panel { margin-right: 20px; }
|
@@ -126,13 +102,11 @@ body.rtl #oceanwp-license-form .form-table tr { float: right; margin: 0 0 15px 1
|
|
126 |
@media screen and ( max-width: 1100px ) {
|
127 |
.oceanwp-panels .column-wrap,
|
128 |
.oceanwp-options .column-wrap { width: 49%; }
|
129 |
-
#oceanwp-license-form .form-table tr { width: 46%; max-width: none; min-height: 230px; }
|
130 |
}
|
131 |
|
132 |
@media screen and ( max-width: 600px ) {
|
133 |
.oceanwp-panels .column-wrap,
|
134 |
.oceanwp-options .column-wrap { width: 100%; }
|
135 |
-
#oceanwp-license-form .form-table tr { width: 100%; min-height: 230px; }
|
136 |
}
|
137 |
|
138 |
@media screen and ( max-width: 480px ) {
|
60 |
.oceanwp-support p { font-size: 14px; line-height: 1.7; font-style: italic; margin-top: 0; }
|
61 |
.oceanwp-support .owp-button { float: right; margin: 15px 0 0; }
|
62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
/* Push monkey tab */
|
64 |
.push-monkey-tab { position: relative; }
|
65 |
.push-monkey-tab:before { content: ''; display: block; background: url( '../img/push-monkey.png' ) no-repeat; background-size: 100% auto; position: absolute; right: 10px; top: -36px; width: 96px; height: 38px; }
|
82 |
body.rtl .oceanwp-doc .hndle a { float: left; }
|
83 |
body.rtl .oceanwp-doc .inside ul { margin: 0 20px 0 0; }
|
84 |
body.rtl .oceanwp-support .owp-button { float: left; }
|
|
|
85 |
|
86 |
@media screen and ( max-width: 1280px ) {
|
87 |
.wrap.oceanwp-theme-panel { margin-right: 20px; }
|
102 |
@media screen and ( max-width: 1100px ) {
|
103 |
.oceanwp-panels .column-wrap,
|
104 |
.oceanwp-options .column-wrap { width: 49%; }
|
|
|
105 |
}
|
106 |
|
107 |
@media screen and ( max-width: 600px ) {
|
108 |
.oceanwp-panels .column-wrap,
|
109 |
.oceanwp-options .column-wrap { width: 100%; }
|
|
|
110 |
}
|
111 |
|
112 |
@media screen and ( max-width: 480px ) {
|
includes/panel/assets/css/panel.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.clr:after,.push-monkey-tab:before{content:''}
|
1 |
+
.clr:after,.push-monkey-tab:before{content:''}.clr:after{display:block;height:0;clear:both;visibility:hidden;zoom:1}.button,.wp-core-ui .button-link:focus,.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus,a:focus{-webkit-box-shadow:none!important;box-shadow:none!important}body .button.owp-button{background-color:#13aff0;color:#fff;height:auto;font-size:12px;line-height:1;font-weight:600;text-transform:uppercase;margin:0;padding:14px 20px;border:0;cursor:pointer;text-align:center;letter-spacing:.1em;border-radius:3px;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease;transition:all .3s ease}body .button.owp-button:active,body .button.owp-button:focus,body .button.owp-button:hover{background-color:#0b7cac;color:#fff}body .button.owp-button:active{-webkit-transform:none;-ms-transform:none;transform:none}.wrap.oceanwp-theme-panel{margin-right:40px}.oceanwp-settings .left{float:left;width:75%;margin-top:20px}.oceanwp-settings .right{float:right;width:23%;margin-top:30px}.oceanwp-settings .oceanwp-title{font-size:26px;line-height:1.6;margin:0 0 3px 8px}.oceanwp-settings .oceanwp-desc{margin:0 0 30px 8px;font-size:15px}.oceanwp-settings .divider{display:block;height:1px;margin:40px 0 33px;border-bottom:1px solid #ccc}.oceanwp-panels .column-wrap{float:left;position:relative;width:32.33%;margin:0 .5% 1%;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.oceanwp-panels .column-name{display:block;background-color:#fff;border:2px solid #eee;padding:25px 25px 20px;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease;transition:all .3s ease}.oceanwp-panels .column-name:hover{border-color:#ddd}.oceanwp-panels .column-name h3.title{float:left;display:block;position:relative;font-size:18px;color:#333;margin:0;z-index:2}.oceanwp-panels .column-name .desc{display:block;position:relative;font-size:17px;line-height:1.6;font-weight:400;color:#777;z-index:2}.oceanwp-panels input[type=checkbox]{float:right;width:22px;height:22px;min-width:22px;margin:0}.oceanwp-panels input[type=checkbox]:checked:before{width:22px;font-size:27px}.oceanwp-panels p.submit{display:inline-block;width:100%;margin:10px 0 0 .5%;padding:0;clear:both}.oceanwp-options .options-inner{display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:wrap;margin-top:30px}.oceanwp-options .column-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;background:#fff;border:1px solid #ccc;width:24%;min-height:150px;margin:0 .5% 1%;padding:25px 25px 20px;overflow:hidden;box-sizing:border-box}.oceanwp-options .column-wrap.hidden{display:none!important}.oceanwp-options .column-inner{display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column}.oceanwp-options .title{display:block;position:relative;font-size:17px;color:#333;margin:0 0 20px;padding-bottom:20px;border-bottom:1px solid #eaeaea;text-transform:capitalize}.oceanwp-options .desc{flex:1 0 auto;display:block;margin:0 0 20px;font-size:14px;line-height:1.6;font-weight:400;color:#777}.oceanwp-options .bottom-column{padding:20px 0 0;border-top:1px solid #eaeaea;margin:0}.oceanwp-options .bottom-column .option-link{font-size:12px;font-weight:600;line-height:1.6;text-transform:uppercase;letter-spacing:.6px;text-decoration:none}.oceanwp-bloc{display:inline-block;position:relative;width:100%;background-color:#fff;margin:0 auto 24px;border-radius:3px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.oceanwp-bloc h3{display:block;font-size:14px;font-weight:600;padding:12px 10px;background-color:#13aff0;color:#fff;text-transform:uppercase;letter-spacing:.4px;margin:0 0 22px;text-align:center}.oceanwp-bloc .content-wrap{position:relative;padding:0 30px 25px;z-index:2;text-align:center}.oceanwp-bloc p.content{font-size:14px;color:#5a5a5a;margin:0}body .oceanwp-bloc .button.owp-button{margin:22px 0 10px}.oceanwp-bloc p.bottom-text{color:#5a5a5a;font-size:12px;font-weight:600;font-style:italic;margin:0}.oceanwp-bloc i{position:absolute;bottom:-30px;right:-26px;width:auto;height:auto;font-size:120px;opacity:.07;z-index:1}.oceanwp-youtube .yt-img{padding:30px 30px 0;margin:0 0 25px;text-align:center}.oceanwp-youtube .yt-img img{max-width:110px}body .oceanwp-youtube .button.owp-button{background-color:#e62117}body .oceanwp-youtube .button.owp-button:hover{background-color:#b31217}#wpbody-content .oceanwp-doc{min-width:100%;padding:0}.oceanwp-doc a{text-decoration:none}body .postbox.oceanwp-doc .hndle{cursor:inherit}.oceanwp-doc .hndle a{float:right;font-size:13px}.oceanwp-doc .inside{margin:15px 0 3px}.oceanwp-doc .inside ul{list-style:disc;margin:0 0 0 20px}.oceanwp-support p{font-size:14px;line-height:1.7;font-style:italic;margin-top:0}.oceanwp-support .owp-button{float:right;margin:15px 0 0}.push-monkey-tab{position:relative}.push-monkey-tab:before{display:block;background:url(../img/push-monkey.png) no-repeat;background-size:100% auto;position:absolute;right:10px;top:-36px;width:96px;height:38px}.oceanwp-settings .pm-right{width:42%}.oceanwp-settings .pm-left{width:57%}.oceanwp-settings .push-monkey p{font-size:15px;line-height:1.8;margin:0 0 20px 8px}.oceanwp-settings .push-monkey table{margin:0 0 10px 8px}body.rtl .wrap.oceanwp-theme-panel{margin-left:40px;margin-right:0}body.rtl .oceanwp-settings .left{float:right}body.rtl .oceanwp-settings .right{float:left}body.rtl .oceanwp-settings .oceanwp-title{margin:0 8px 3px 0}body.rtl .oceanwp-settings .oceanwp-desc{margin:0 8px 30px 0}body.rtl .oceanwp-panels .column-name h3.title,body.rtl .oceanwp-panels .column-wrap{float:right}body.rtl .oceanwp-doc .hndle a,body.rtl .oceanwp-panels input[type=checkbox],body.rtl .oceanwp-support .owp-button{float:left}body.rtl .oceanwp-panels p.submit{margin:10px .5% 0 0}body.rtl .oceanwp-bloc i{left:-26px;right:auto}body.rtl .oceanwp-doc .inside ul{margin:0 20px 0 0}@media screen and (max-width:1280px){.wrap.oceanwp-theme-panel{margin-right:20px}.oceanwp-settings .left,.oceanwp-settings .right{float:none;width:100%}.oceanwp-options .column-wrap{width:32.33%}.oceanwp-bloc,.oceanwp-support{width:49%}.oceanwp-review{float:left}.oceanwp-support,.oceanwp-youtube{float:right}#wpbody-content .oceanwp-doc{float:left;min-width:49%;clear:both}body.rtl .wrap.oceanwp-theme-panel{margin-left:20px;margin-right:0}body.rtl .oceanwp-support{float:right}body.rtl #wpbody-content .oceanwp-doc{float:left}}@media screen and (max-width:1100px){.oceanwp-options .column-wrap,.oceanwp-panels .column-wrap{width:49%}}@media screen and (max-width:600px){.oceanwp-options .column-wrap,.oceanwp-panels .column-wrap{width:100%}}@media screen and (max-width:480px){#wpbody-content .oceanwp-doc,.oceanwp-bloc,.oceanwp-support{float:none!important;width:100%;min-width:100%}}
|
includes/panel/extensions.php
CHANGED
@@ -29,6 +29,11 @@ class Ocean_Extra_Extensions {
|
|
29 |
* @since 1.0.0
|
30 |
*/
|
31 |
public function add_page() {
|
|
|
|
|
|
|
|
|
|
|
32 |
add_submenu_page(
|
33 |
'oceanwp-panel',
|
34 |
esc_html__( 'Extensions', 'ocean-extra' ),
|
29 |
* @since 1.0.0
|
30 |
*/
|
31 |
public function add_page() {
|
32 |
+
// If no premium extensions
|
33 |
+
if ( apply_filters( 'oceanwp_licence_tab_enable', false ) ) {
|
34 |
+
return;
|
35 |
+
}
|
36 |
+
|
37 |
add_submenu_page(
|
38 |
'oceanwp-panel',
|
39 |
esc_html__( 'Extensions', 'ocean-extra' ),
|
includes/panel/licenses.php
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Licenses
|
4 |
+
*
|
5 |
+
* @package Ocean_Extra
|
6 |
+
* @category Core
|
7 |
+
* @author OceanWP
|
8 |
+
*/
|
9 |
+
|
10 |
+
// Exit if accessed directly
|
11 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
12 |
+
exit;
|
13 |
+
}
|
14 |
+
|
15 |
+
// Start Class
|
16 |
+
class Ocean_Extra_Licenses {
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Start things up
|
20 |
+
*/
|
21 |
+
public function __construct() {
|
22 |
+
add_action( 'admin_menu', array( $this, 'add_page' ), 99999 );
|
23 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Add sub menu page
|
28 |
+
*
|
29 |
+
* @since 1.0.0
|
30 |
+
*/
|
31 |
+
public function add_page() {
|
32 |
+
// If no premium extensions
|
33 |
+
if ( true != apply_filters( 'oceanwp_licence_tab_enable', false ) ) {
|
34 |
+
return;
|
35 |
+
}
|
36 |
+
|
37 |
+
add_submenu_page(
|
38 |
+
'oceanwp-panel',
|
39 |
+
esc_html__( 'Licenses', 'ocean-extra' ),
|
40 |
+
esc_html__( 'Licenses', 'ocean-extra' ),
|
41 |
+
'manage_options',
|
42 |
+
'oceanwp-panel-licenses',
|
43 |
+
array( $this, 'create_admin_page' )
|
44 |
+
);
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Admin page
|
49 |
+
*
|
50 |
+
* @since 1.0.0
|
51 |
+
*/
|
52 |
+
public function create_admin_page() { ?>
|
53 |
+
|
54 |
+
<div class="wrap oceanwp-scripts-panel oceanwp-clr">
|
55 |
+
|
56 |
+
<h1><?php esc_attr_e( 'Licenses Settings', 'ocean-extra' ); ?></h1>
|
57 |
+
|
58 |
+
<p><?php echo sprintf(
|
59 |
+
__( 'Enter your extension license keys here to receive updates for purchased extensions. If your license key has expired, please %1$srenew your license%2$s.', 'ocean-extra' ),
|
60 |
+
'<a href="http://docs.oceanwp.org/article/26-license-renewal" target="_blank" title="License renewal FAQ">',
|
61 |
+
'</a>'
|
62 |
+
); ?></p>
|
63 |
+
|
64 |
+
<form id="oceanwp-license-form" method="post" action="options.php">
|
65 |
+
<?php settings_fields( 'oceanwp_options' ); ?>
|
66 |
+
|
67 |
+
<?php do_action( 'oceanwp_licenses_tab_top' ); ?>
|
68 |
+
|
69 |
+
<table id="oceanwp-licenses" class="form-table">
|
70 |
+
<tbody>
|
71 |
+
<?php do_action( 'oceanwp_licenses_tab_fields' ); ?>
|
72 |
+
</tbody>
|
73 |
+
</table>
|
74 |
+
|
75 |
+
<p class="submit"><input type="submit" name="oceanwp_licensekey_activateall" id="submit" class="button button-primary" value="<?php esc_attr_e( 'Save Changes', 'ocean-extra' ); ?>"></p>
|
76 |
+
</form>
|
77 |
+
|
78 |
+
</div>
|
79 |
+
|
80 |
+
<?php
|
81 |
+
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Admin Scripts
|
85 |
+
*
|
86 |
+
* @since 1.0.0
|
87 |
+
*/
|
88 |
+
public static function admin_scripts( $hook ) {
|
89 |
+
|
90 |
+
// Only load scripts when needed
|
91 |
+
if ( OE_ADMIN_PANEL_HOOK_PREFIX . '-licenses' != $hook ) {
|
92 |
+
return;
|
93 |
+
}
|
94 |
+
|
95 |
+
// CSS
|
96 |
+
wp_enqueue_style( 'oceanwp-licenses-panel', plugins_url( '/assets/css/licenses.min.css', __FILE__ ) );
|
97 |
+
|
98 |
+
}
|
99 |
+
}
|
100 |
+
new Ocean_Extra_Licenses();
|
includes/panel/theme-panel.php
CHANGED
@@ -578,15 +578,6 @@ class Ocean_Extra_Theme_Panel {
|
|
578 |
'admin.php'
|
579 |
);
|
580 |
|
581 |
-
// License url
|
582 |
-
$license_url = add_query_arg(
|
583 |
-
array(
|
584 |
-
'page' => 'oceanwp-panel',
|
585 |
-
'tab' => 'license',
|
586 |
-
),
|
587 |
-
'admin.php'
|
588 |
-
);
|
589 |
-
|
590 |
// Push Notifications
|
591 |
$push_notification_url = add_query_arg(
|
592 |
array(
|
@@ -608,45 +599,46 @@ class Ocean_Extra_Theme_Panel {
|
|
608 |
|
609 |
<a href="<?php echo esc_url( $feature_url ); ?>" class="nav-tab <?php echo $curr_tab == 'features' ? 'nav-tab-active' : ''; ?>"><?php esc_attr_e( 'Features', 'ocean-extra' ); ?></a>
|
610 |
|
611 |
-
<?php if ( apply_filters( 'oceanwp_licence_tab_enable', false ) ) { ?>
|
612 |
-
<a href="<?php echo esc_url( $license_url ); ?>" class="nav-tab <?php echo $curr_tab == 'license' ? 'nav-tab-active' : ''; ?>"><?php esc_attr_e( 'Licenses', 'ocean-extra' ); ?></a>
|
613 |
-
<?php } ?>
|
614 |
-
|
615 |
<a href="<?php echo esc_url( $push_notification_url ); ?>" class="push-monkey-tab nav-tab <?php echo $curr_tab == 'push-notifications' ? 'nav-tab-active' : ''; ?>"><?php esc_attr_e( 'Push Notifications', 'ocean-extra' ); ?></a>
|
616 |
</h2>
|
617 |
|
618 |
<div class="oceanwp-settings clr" <?php echo $curr_tab == 'features' ? '' : 'style="display:none;"'; ?>>
|
619 |
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
<
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
|
|
|
|
|
|
|
|
639 |
</div>
|
640 |
-
</div>
|
641 |
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
|
647 |
-
|
648 |
|
649 |
-
|
|
|
|
|
650 |
|
651 |
<div class="left clr">
|
652 |
|
@@ -746,27 +738,18 @@ class Ocean_Extra_Theme_Panel {
|
|
746 |
|
747 |
</div><!-- .oceanwp-settings -->
|
748 |
|
749 |
-
<
|
750 |
-
<?php settings_fields( 'oceanwp_options' ); ?>
|
751 |
-
|
752 |
-
<?php do_action( 'oceanwp_licenses_tab_top' ); ?>
|
753 |
-
|
754 |
-
<table id="oceanwp-licenses" class="form-table">
|
755 |
-
<tbody>
|
756 |
-
<?php do_action( 'oceanwp_licenses_tab_fields' ); ?>
|
757 |
-
</tbody>
|
758 |
-
</table>
|
759 |
|
760 |
-
|
761 |
-
|
762 |
|
763 |
-
|
764 |
|
765 |
-
|
766 |
|
767 |
-
|
768 |
|
769 |
-
|
770 |
|
771 |
<div class="left clr">
|
772 |
|
@@ -975,6 +958,9 @@ class Ocean_Extra_Theme_Panel {
|
|
975 |
// Extensions
|
976 |
require_once( $dir .'extensions.php' );
|
977 |
|
|
|
|
|
|
|
978 |
}
|
979 |
|
980 |
// Scripts panel - if minimum PHP 5.6
|
578 |
'admin.php'
|
579 |
);
|
580 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
581 |
// Push Notifications
|
582 |
$push_notification_url = add_query_arg(
|
583 |
array(
|
599 |
|
600 |
<a href="<?php echo esc_url( $feature_url ); ?>" class="nav-tab <?php echo $curr_tab == 'features' ? 'nav-tab-active' : ''; ?>"><?php esc_attr_e( 'Features', 'ocean-extra' ); ?></a>
|
601 |
|
|
|
|
|
|
|
|
|
602 |
<a href="<?php echo esc_url( $push_notification_url ); ?>" class="push-monkey-tab nav-tab <?php echo $curr_tab == 'push-notifications' ? 'nav-tab-active' : ''; ?>"><?php esc_attr_e( 'Push Notifications', 'ocean-extra' ); ?></a>
|
603 |
</h2>
|
604 |
|
605 |
<div class="oceanwp-settings clr" <?php echo $curr_tab == 'features' ? '' : 'style="display:none;"'; ?>>
|
606 |
|
607 |
+
<?php
|
608 |
+
if ( true != apply_filters( 'oceanwp_theme_panel_sidebar_enabled', false ) ) { ?>
|
609 |
+
|
610 |
+
<div class="oceanwp-sidebar right clr">
|
611 |
+
|
612 |
+
<?php self::admin_page_sidebar(); ?>
|
613 |
+
|
614 |
+
<div class="metabox-holder postbox oceanwp-doc popular-articles clr">
|
615 |
+
<h3 class="hndle"><?php esc_html_e( 'Documentation', 'ocean-extra' ); ?><a href="http://docs.oceanwp.org/" target="_blank"><?php esc_html_e( 'View all', 'ocean-extra' ); ?></a></h3>
|
616 |
+
<div class="inside">
|
617 |
+
<ul>
|
618 |
+
<li><a href="http://docs.oceanwp.org/article/52-importing-the-sample-data" target="_blank"><?php esc_html_e( 'Importing The Sample Data', 'ocean-extra' ); ?></a></li>
|
619 |
+
<li><a href="http://docs.oceanwp.org/article/354-add-custom-css-and-js-to-your-website" target="_blank"><?php esc_html_e( 'Add Custom CSS and JS to Your Website', 'ocean-extra' ); ?></a></li>
|
620 |
+
<li><a href="http://docs.oceanwp.org/article/355-how-to-create-a-custom-header" target="_blank"><?php esc_html_e( 'How To Create a Custom Header', 'ocean-extra' ); ?></a></li>
|
621 |
+
<li><a href="http://docs.oceanwp.org/article/120-customize-your-layout-widths" target="_blank"><?php esc_html_e( 'Customize Your Layout Widths', 'ocean-extra' ); ?></a></li>
|
622 |
+
<li><a href="http://docs.oceanwp.org/article/56-increasing-memory-limit-to-php" target="_blank"><?php esc_html_e( 'Increasing Memory Limit To PHP', 'ocean-extra' ); ?></a></li>
|
623 |
+
<li><a href="http://docs.oceanwp.org/article/149-how-to-create-mega-menus" target="_blank"><?php esc_html_e( 'How To Create Mega Menus', 'ocean-extra' ); ?></a></li>
|
624 |
+
<li><a href="http://docs.oceanwp.org/article/150-how-to-add-widgets-to-a-mega-menu" target="_blank"><?php esc_html_e( 'How To Add Widgets To A Mega Menu', 'ocean-extra' ); ?></a></li>
|
625 |
+
<li><a href="http://docs.oceanwp.org/article/438-how-turning-oceanwp-multilingual-with-wpml" target="_blank"><?php esc_html_e( 'How Turning OceanWP multilingual', 'ocean-extra' ); ?></a></li>
|
626 |
+
<li><a href="http://docs.oceanwp.org/article/440-how-to-add-an-icon-to-a-menu-item" target="_blank"><?php esc_html_e( 'How to Add an Icon To a Menu Item', 'ocean-extra' ); ?></a></li>
|
627 |
+
<li><a href="http://docs.oceanwp.org/article/128-how-to-add-custom-fonts" target="_blank"><?php esc_html_e( 'How To Add Custom Fonts', 'ocean-extra' ); ?></a></li>
|
628 |
+
</ul>
|
629 |
+
</div>
|
630 |
</div>
|
|
|
631 |
|
632 |
+
<div class="oceanwp-support clr">
|
633 |
+
<p><?php esc_html_e( 'Need help? If you have checked the documentation and still having an issue, open a support ticket by clicking the button below.', 'ocean-extra' ); ?></p>
|
634 |
+
<a href="https://oceanwp.org/support/" class="button owp-button" target="_blank"><?php esc_html_e( 'Submit Support Request', 'ocean-extra' ); ?></a>
|
635 |
+
</div>
|
636 |
|
637 |
+
<?php do_action( 'oe_panels_sidebar_after' ); ?>
|
638 |
|
639 |
+
</div>
|
640 |
+
|
641 |
+
<?php } ?>
|
642 |
|
643 |
<div class="left clr">
|
644 |
|
738 |
|
739 |
</div><!-- .oceanwp-settings -->
|
740 |
|
741 |
+
<div class="oceanwp-settings clr" <?php echo $curr_tab == 'push-notifications' ? '' : 'style="display:none;"'; ?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
742 |
|
743 |
+
<?php
|
744 |
+
if ( true != apply_filters( 'oceanwp_theme_panel_sidebar_enabled', false ) ) { ?>
|
745 |
|
746 |
+
<div class="oceanwp-sidebar right clr">
|
747 |
|
748 |
+
<?php self::admin_page_sidebar(); ?>
|
749 |
|
750 |
+
</div>
|
751 |
|
752 |
+
<?php } ?>
|
753 |
|
754 |
<div class="left clr">
|
755 |
|
958 |
// Extensions
|
959 |
require_once( $dir .'extensions.php' );
|
960 |
|
961 |
+
// Licenses
|
962 |
+
require_once( $dir .'licenses.php' );
|
963 |
+
|
964 |
}
|
965 |
|
966 |
// Scripts panel - if minimum PHP 5.6
|
includes/panel/updater.php
CHANGED
@@ -68,9 +68,6 @@ if ( ! class_exists( 'OceanWP_Plugin_Updater' ) ) {
|
|
68 |
// Add filter to enable license tab
|
69 |
add_filter( 'oceanwp_licence_tab_enable', '__return_true' );
|
70 |
|
71 |
-
// Display help text at the top of the Licenses tab
|
72 |
-
add_action( 'oceanwp_licenses_tab_top', array( $this, 'oceanwp_license_help_text' ) );
|
73 |
-
|
74 |
// Register settings
|
75 |
add_action( 'oceanwp_licenses_tab_fields', array( $this, 'oceanwp_add_settings_fields' ) );
|
76 |
|
@@ -339,31 +336,6 @@ if ( ! class_exists( 'OceanWP_Plugin_Updater' ) ) {
|
|
339 |
$validation = TRUE;
|
340 |
}
|
341 |
|
342 |
-
/**
|
343 |
-
* Display help text at the top of the Licenses tag
|
344 |
-
*
|
345 |
-
* @access public
|
346 |
-
* @param string $curr_tab
|
347 |
-
* @return void
|
348 |
-
*/
|
349 |
-
public function oceanwp_license_help_text() {
|
350 |
-
|
351 |
-
static $has_ran;
|
352 |
-
|
353 |
-
if( ! empty( $has_ran ) ) {
|
354 |
-
return;
|
355 |
-
}
|
356 |
-
|
357 |
-
echo '<p>' . sprintf(
|
358 |
-
__( 'Enter your extension license keys here to receive updates for purchased extensions. If your license key has expired, please %1$srenew your license%2$s.', 'ocean-extra' ),
|
359 |
-
'<a href="http://docs.oceanwp.org/article/26-license-renewal" target="_blank" title="License renewal FAQ">',
|
360 |
-
'</a>'
|
361 |
-
) . '</p>';
|
362 |
-
|
363 |
-
$has_ran = true;
|
364 |
-
|
365 |
-
}
|
366 |
-
|
367 |
/**
|
368 |
* Sanitize HTML Class Names
|
369 |
*
|
68 |
// Add filter to enable license tab
|
69 |
add_filter( 'oceanwp_licence_tab_enable', '__return_true' );
|
70 |
|
|
|
|
|
|
|
71 |
// Register settings
|
72 |
add_action( 'oceanwp_licenses_tab_fields', array( $this, 'oceanwp_add_settings_fields' ) );
|
73 |
|
336 |
$validation = TRUE;
|
337 |
}
|
338 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
/**
|
340 |
* Sanitize HTML Class Names
|
341 |
*
|
includes/shortcodes/shortcodes.php
CHANGED
@@ -263,8 +263,8 @@ if ( ! function_exists( 'oceanwp_woo_fragments' ) ) {
|
|
263 |
|
264 |
function oceanwp_woo_fragments( $fragments ) {
|
265 |
$text = oceanwp_tm_translation( 'owp_popup_bottom_text', get_theme_mod( 'owp_popup_bottom_text', '[oceanwp_woo_free_shipping_left]' ) );
|
266 |
-
$fragments['.wcmenucart-total']
|
267 |
-
$fragments['.wcmenucart-
|
268 |
$fragments['.oceanwp-woo-total'] = '<span class="oceanwp-woo-total">' . WC()->cart->get_cart_total() . '</span>';
|
269 |
$fragments['.oceanwp-woo-cart-count'] = '<span class="oceanwp-woo-cart-count">' . WC()->cart->get_cart_contents_count() . '</span>';
|
270 |
$fragments['.oceanwp-woo-free-shipping'] = '<span class="oceanwp-woo-free-shipping">' . do_shortcode( $text ) . '</span>';
|
@@ -318,7 +318,7 @@ if ( ! function_exists( 'oceanwp_woo_cart_icon_shortcode' ) ) {
|
|
318 |
$toggle_class = 'toggle-cart-widget';
|
319 |
|
320 |
// Define classes to add to li element
|
321 |
-
$classes = array( 'woo-menu-icon', 'woo-cart-shortcode' );
|
322 |
|
323 |
// Add style class
|
324 |
$classes[] = 'wcmenucart-toggle-'. $style;
|
@@ -368,21 +368,21 @@ if ( ! function_exists( 'oceanwp_woo_cart_icon_shortcode' ) ) {
|
|
368 |
$output = '';
|
369 |
|
370 |
if ( ! empty( $color ) ) {
|
371 |
-
$css .= '.wcmenucart-cart-icon .wcmenucart-
|
372 |
-
$css .= '.wcmenucart-cart-icon .wcmenucart-
|
373 |
}
|
374 |
|
375 |
if ( ! empty( $hover_color ) ) {
|
376 |
-
$css .= '.woo-cart-shortcode:hover .wcmenucart-cart-icon .wcmenucart-
|
377 |
-
$css .= '.woo-cart-shortcode:hover .wcmenucart-cart-icon .wcmenucart-
|
378 |
}
|
379 |
|
380 |
if ( ! empty( $count_color ) ) {
|
381 |
-
$css .= '.wcmenucart-cart-icon .wcmenucart-
|
382 |
}
|
383 |
|
384 |
if ( ! empty( $count_hover_color ) ) {
|
385 |
-
$css .= '.woo-cart-shortcode:hover .wcmenucart-cart-icon .wcmenucart-
|
386 |
}
|
387 |
|
388 |
// Add style
|
@@ -401,11 +401,13 @@ if ( ! function_exists( 'oceanwp_woo_cart_icon_shortcode' ) ) {
|
|
401 |
<span class="wcmenucart-total"><?php WC()->cart->get_cart_total(); ?></span>
|
402 |
<?php } ?>
|
403 |
<span class="wcmenucart-cart-icon">
|
404 |
-
<span class="wcmenucart-
|
405 |
</span>
|
406 |
</a>
|
407 |
<?php
|
408 |
-
if ( 'drop_down' == $style
|
|
|
|
|
409 |
<div class="current-shop-items-dropdown owp-mini-cart clr">
|
410 |
<div class="current-shop-items-inner clr">
|
411 |
<?php the_widget( 'WC_Widget_Cart', 'title=' ); ?>
|
263 |
|
264 |
function oceanwp_woo_fragments( $fragments ) {
|
265 |
$text = oceanwp_tm_translation( 'owp_popup_bottom_text', get_theme_mod( 'owp_popup_bottom_text', '[oceanwp_woo_free_shipping_left]' ) );
|
266 |
+
$fragments['.wcmenucart-shortcode .wcmenucart-total'] = '<span class="wcmenucart-total">'. WC()->cart->get_cart_total() .'</span>';
|
267 |
+
$fragments['.wcmenucart-shortcode .wcmenucart-count'] = '<span class="wcmenucart-count">'. WC()->cart->get_cart_contents_count() .'</span>';
|
268 |
$fragments['.oceanwp-woo-total'] = '<span class="oceanwp-woo-total">' . WC()->cart->get_cart_total() . '</span>';
|
269 |
$fragments['.oceanwp-woo-cart-count'] = '<span class="oceanwp-woo-cart-count">' . WC()->cart->get_cart_contents_count() . '</span>';
|
270 |
$fragments['.oceanwp-woo-free-shipping'] = '<span class="oceanwp-woo-free-shipping">' . do_shortcode( $text ) . '</span>';
|
318 |
$toggle_class = 'toggle-cart-widget';
|
319 |
|
320 |
// Define classes to add to li element
|
321 |
+
$classes = array( 'woo-menu-icon', 'bag-style', 'woo-cart-shortcode' );
|
322 |
|
323 |
// Add style class
|
324 |
$classes[] = 'wcmenucart-toggle-'. $style;
|
368 |
$output = '';
|
369 |
|
370 |
if ( ! empty( $color ) ) {
|
371 |
+
$css .= '.woo-cart-shortcode .wcmenucart-cart-icon .wcmenucart-count {color:'. $color .'; border-color:'. $color .';}';
|
372 |
+
$css .= '.woo-cart-shortcode .wcmenucart-cart-icon .wcmenucart-count:after {border-color:'. $color .';}';
|
373 |
}
|
374 |
|
375 |
if ( ! empty( $hover_color ) ) {
|
376 |
+
$css .= '.woo-cart-shortcode.bag-style:hover .wcmenucart-cart-icon .wcmenucart-count, .show-cart .wcmenucart-cart-icon .wcmenucart-count {background-color: '. $hover_color .'; border-color:'. $hover_color .';}';
|
377 |
+
$css .= '.woo-cart-shortcode.bag-style:hover .wcmenucart-cart-icon .wcmenucart-count:after, .show-cart .wcmenucart-cart-icon .wcmenucart-count:after {border-color:'. $hover_color .';}';
|
378 |
}
|
379 |
|
380 |
if ( ! empty( $count_color ) ) {
|
381 |
+
$css .= '.woo-cart-shortcode .wcmenucart-cart-icon .wcmenucart-count {color:'. $count_color .';}';
|
382 |
}
|
383 |
|
384 |
if ( ! empty( $count_hover_color ) ) {
|
385 |
+
$css .= '.woo-cart-shortcode.bag-style:hover .wcmenucart-cart-icon .wcmenucart-count, .show-cart .wcmenucart-cart-icon .wcmenucart-count {color:'. $count_hover_color .';}';
|
386 |
}
|
387 |
|
388 |
// Add style
|
401 |
<span class="wcmenucart-total"><?php WC()->cart->get_cart_total(); ?></span>
|
402 |
<?php } ?>
|
403 |
<span class="wcmenucart-cart-icon">
|
404 |
+
<span class="wcmenucart-count"><?php WC()->cart->get_cart_contents_count(); ?></span>
|
405 |
</span>
|
406 |
</a>
|
407 |
<?php
|
408 |
+
if ( 'drop_down' == $style
|
409 |
+
&& ! is_cart()
|
410 |
+
&& ! is_checkout() ) { ?>
|
411 |
<div class="current-shop-items-dropdown owp-mini-cart clr">
|
412 |
<div class="current-shop-items-inner clr">
|
413 |
<?php the_widget( 'WC_Widget_Cart', 'title=' ); ?>
|
includes/widgets/instagram.php
CHANGED
@@ -83,8 +83,6 @@ if ( ! class_exists( 'Ocean_Extra_Instagram_Widget' ) ) {
|
|
83 |
$instance = $old_instance;
|
84 |
$instance['title'] = strip_tags($new_instance['title']);
|
85 |
$instance['username'] = $new_instance['username'];
|
86 |
-
$instance['hashtag'] = $new_instance['hashtag'];
|
87 |
-
$instance['blocked_users'] = $new_instance['blocked_users'];
|
88 |
$instance['number'] = $new_instance['number'];
|
89 |
$instance['display_header'] = $new_instance['display_header'];
|
90 |
$instance['avatar'] = strip_tags( $new_instance['avatar'] );
|
@@ -114,8 +112,6 @@ if ( ! class_exists( 'Ocean_Extra_Instagram_Widget' ) ) {
|
|
114 |
$instance = wp_parse_args( (array) $instance, array(
|
115 |
'title' => __('Instagram','ocean-extra'),
|
116 |
'username' => __('adidas','ocean-extra'),
|
117 |
-
'hashtag' => '',
|
118 |
-
'blocked_users' => '',
|
119 |
'number' => 10,
|
120 |
'display_header' => __('No','ocean-extra'),
|
121 |
'avatar' => '',
|
83 |
$instance = $old_instance;
|
84 |
$instance['title'] = strip_tags($new_instance['title']);
|
85 |
$instance['username'] = $new_instance['username'];
|
|
|
|
|
86 |
$instance['number'] = $new_instance['number'];
|
87 |
$instance['display_header'] = $new_instance['display_header'];
|
88 |
$instance['avatar'] = strip_tags( $new_instance['avatar'] );
|
112 |
$instance = wp_parse_args( (array) $instance, array(
|
113 |
'title' => __('Instagram','ocean-extra'),
|
114 |
'username' => __('adidas','ocean-extra'),
|
|
|
|
|
115 |
'number' => 10,
|
116 |
'display_header' => __('No','ocean-extra'),
|
117 |
'avatar' => '',
|
ocean-extra.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Ocean Extra
|
4 |
* Plugin URI: https://oceanwp.org/extension/ocean-extra/
|
5 |
* Description: Add extra features like widgets, metaboxes, import/export and a panel to activate the premium extensions.
|
6 |
-
* Version: 1.4.
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.5.0
|
@@ -86,7 +86,7 @@ final class Ocean_Extra {
|
|
86 |
$this->token = 'ocean-extra';
|
87 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
88 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
89 |
-
$this->version = '1.4.
|
90 |
|
91 |
define( 'OE_URL', $this->plugin_url );
|
92 |
define( 'OE_PATH', $this->plugin_path );
|
@@ -307,6 +307,7 @@ final class Ocean_Extra {
|
|
307 |
require_once( OE_PATH .'/includes/jsmin.php' );
|
308 |
require_once( OE_PATH .'/includes/panel/notice.php' );
|
309 |
require_once( OE_PATH .'/includes/walker.php' );
|
|
|
310 |
|
311 |
// If Demo Import or Pro Demos is activated
|
312 |
if ( class_exists( 'Ocean_Demo_Import' )
|
3 |
* Plugin Name: Ocean Extra
|
4 |
* Plugin URI: https://oceanwp.org/extension/ocean-extra/
|
5 |
* Description: Add extra features like widgets, metaboxes, import/export and a panel to activate the premium extensions.
|
6 |
+
* Version: 1.4.9
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.5.0
|
86 |
$this->token = 'ocean-extra';
|
87 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
88 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
89 |
+
$this->version = '1.4.9';
|
90 |
|
91 |
define( 'OE_URL', $this->plugin_url );
|
92 |
define( 'OE_PATH', $this->plugin_path );
|
307 |
require_once( OE_PATH .'/includes/jsmin.php' );
|
308 |
require_once( OE_PATH .'/includes/panel/notice.php' );
|
309 |
require_once( OE_PATH .'/includes/walker.php' );
|
310 |
+
require_once( OE_PATH .'/includes/dashboard.php' );
|
311 |
|
312 |
// If Demo Import or Pro Demos is activated
|
313 |
if ( class_exists( 'Ocean_Demo_Import' )
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: oceanwp
|
|
3 |
Tags: widgets, meta box, metaboxes, metabox, oceanwp
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.4
|
6 |
-
Stable tag: 1.4.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -32,6 +32,13 @@ This plugin will only work with the [OceanWP](https://oceanwp.org/) theme.
|
|
32 |
|
33 |
== Changelog ==
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
= 1.4.8 =
|
36 |
-Added: Switch button to easily check or un-check every script for the Scripts & Styles page.
|
37 |
-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.
|
3 |
Tags: widgets, meta box, metaboxes, metabox, oceanwp
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.4
|
6 |
+
Stable tag: 1.4.9
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
32 |
|
33 |
== Changelog ==
|
34 |
|
35 |
+
= 1.4.9 =
|
36 |
+
-Added: OceanWP News & Updates widget in the WordPress dashboard so you can see the latest news of the theme.
|
37 |
+
-Tweak: Licenses tab moved to an admin panel, more easier to access, Theme Panel > Licenses.
|
38 |
+
-Fixed: Color picker that close on Safari browser.
|
39 |
+
-Fixed: $hashtag and $blocked_users user variables not defined for the Instagram widget.
|
40 |
+
-Fixed: Mini cart issue on the Cart and Checkout page if the woo cart icon shortcode is used.
|
41 |
+
|
42 |
= 1.4.8 =
|
43 |
-Added: Switch button to easily check or un-check every script for the Scripts & Styles page.
|
44 |
-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.
|