Version Description
Download this release
Release Info
Developer | marnietave |
Plugin | Free Tools to Automate Your Site Growth |
Version | 1.15 |
Comparing to | |
See all releases |
Code changes from version 1.14 to 1.15
- Readme.txt +13 -3
- assets/screenshot-1.png +0 -0
- assets/screenshot-10.png +0 -0
- assets/screenshot-11.png +0 -0
- assets/screenshot-12.png +0 -0
- assets/screenshot-13.png +0 -0
- assets/screenshot-14.png +0 -0
- assets/screenshot-15.png +0 -0
- assets/screenshot-16.png +0 -0
- assets/screenshot-2.png +0 -0
- assets/screenshot-3.png +0 -0
- assets/screenshot-4.png +0 -0
- assets/screenshot-5.png +0 -0
- assets/screenshot-6.png +0 -0
- assets/screenshot-7.png +0 -0
- assets/screenshot-8.png +0 -0
- assets/screenshot-9.png +0 -0
- classes/class_sumome.php +184 -0
- images/apps-bg.png +0 -0
- images/checkmark.png +0 -0
- images/modal-close.png +0 -0
- images/popup-login-header.png +0 -0
- images/store-bg.png +0 -0
- images/sumome-loading.gif +0 -0
- images/sumome-site-clients-4hourworkweek.png +0 -0
- images/sumome-site-clients-airbnb.png +0 -0
- images/sumome-site-clients-artofman.png +0 -0
- images/sumome-site-clients-beachbody.png +0 -0
- images/sumome-site-clients-chive.png +0 -0
- images/sumome-site-clients-entrepreneur.png +0 -0
- images/sumome-site-clients-tonyrobbins.png +0 -0
- images/sumome-site-team.jpg +0 -0
- images/sumome-site-team.png +0 -0
- images/sumome-site-welcome-graph.png +0 -0
- images/sumome-site-welcome-header.jpg +0 -0
- images/sumome-site-welcome1.png +0 -0
- images/sumome-site-welcome2.png +0 -0
- images/sumome-site-welcome3.png +0 -0
- images/sumome_crown.png +0 -0
- js/general.php +192 -0
- js/preload.js +117 -0
- styles/instructions.css +0 -247
- styles/media.css +272 -0
- styles/statistics.css +531 -0
- styles/styles.css +1276 -0
- sumome.php +6 -134
- templates/settings.php +0 -106
- views/landing.php +33 -0
- views/main.php +110 -0
- views/popup.php +14 -0
- views/siteID.php +24 -0
- views/statistics.php +70 -0
- views/wordpress-dashboard-welcome-page.php +179 -0
Readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: SumoMe
|
|
3 |
Tags: MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, popup, exit intent, growth, subscribers, twitter, facebook share, social plugin, social sharing, subscription, email form, share, sharing, social , social media buttons , links, click to tweet , analytics , newsletter, widget,lightbox, analytics, newsletter, newsletter, Facebook, floating social buttons, google plus, Image sharing, pinterest plugin, pintrest, share image, sharebar, sharing, social bookmarking, social plugin, sms, tweet button, heat map, heatmaps, twitter share, contact form, scroll box, content analytics, inbound marketing, mailing list, share buttons, welcome mat, landing page
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 4.2.1
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -82,7 +82,7 @@ Now you can figure out which text, size, timing, colors and more will convert be
|
|
82 |
|
83 |
= Advanced display rules =
|
84 |
|
85 |
-
Now you can target all of our apps to any specific visitors you
|
86 |
|
87 |
= Choose when to request subscribes =
|
88 |
|
@@ -330,6 +330,11 @@ Why you should encourage Twitter sharing
|
|
330 |
= 1.14 =
|
331 |
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
332 |
|
|
|
|
|
|
|
|
|
|
|
333 |
== Upgrade Notice ==
|
334 |
|
335 |
= 1.04 =
|
@@ -369,4 +374,9 @@ Why you should encourage Twitter sharing
|
|
369 |
* images, updated instructions
|
370 |
|
371 |
= 1.14 =
|
372 |
-
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
|
|
|
|
|
|
|
|
|
3 |
Tags: MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, popup, exit intent, growth, subscribers, twitter, facebook share, social plugin, social sharing, subscription, email form, share, sharing, social , social media buttons , links, click to tweet , analytics , newsletter, widget,lightbox, analytics, newsletter, newsletter, Facebook, floating social buttons, google plus, Image sharing, pinterest plugin, pintrest, share image, sharebar, sharing, social bookmarking, social plugin, sms, tweet button, heat map, heatmaps, twitter share, contact form, scroll box, content analytics, inbound marketing, mailing list, share buttons, welcome mat, landing page
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 4.2.1
|
6 |
+
Stable tag: 1.15
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
82 |
|
83 |
= Advanced display rules =
|
84 |
|
85 |
+
Now you can target all of our apps to any specific visitors you'd like. Want an email pop up or share to only show for visitors coming from Facebook. Done. Want your email pop up customized for a specific audience, done.
|
86 |
|
87 |
= Choose when to request subscribes =
|
88 |
|
330 |
= 1.14 =
|
331 |
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
332 |
|
333 |
+
= 1.15 =
|
334 |
+
* Integration with WordPress Admin
|
335 |
+
* Statistics inside WordPress dashboard
|
336 |
+
* Better on-boarding
|
337 |
+
|
338 |
== Upgrade Notice ==
|
339 |
|
340 |
= 1.04 =
|
374 |
* images, updated instructions
|
375 |
|
376 |
= 1.14 =
|
377 |
+
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
378 |
+
|
379 |
+
= 1.15 =
|
380 |
+
* Integration with WordPress Admin
|
381 |
+
* Statistics inside WordPress dashboard
|
382 |
+
* Better on-boarding
|
assets/screenshot-1.png
DELETED
Binary file
|
assets/screenshot-10.png
DELETED
Binary file
|
assets/screenshot-11.png
DELETED
Binary file
|
assets/screenshot-12.png
DELETED
Binary file
|
assets/screenshot-13.png
DELETED
Binary file
|
assets/screenshot-14.png
DELETED
Binary file
|
assets/screenshot-15.png
DELETED
Binary file
|
assets/screenshot-16.png
DELETED
Binary file
|
assets/screenshot-2.png
DELETED
Binary file
|
assets/screenshot-3.png
DELETED
Binary file
|
assets/screenshot-4.png
DELETED
Binary file
|
assets/screenshot-5.png
DELETED
Binary file
|
assets/screenshot-6.png
DELETED
Binary file
|
assets/screenshot-7.png
DELETED
Binary file
|
assets/screenshot-8.png
DELETED
Binary file
|
assets/screenshot-9.png
DELETED
Binary file
|
classes/class_sumome.php
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class WP_Plugin_SumoMe {
|
3 |
+
public function __construct() {
|
4 |
+
add_action('wp_ajax_sumome_main', array($this, 'ajax_sumome_main'));
|
5 |
+
add_action('wp_ajax_sumome_dashboard_welcome', array($this, 'ajax_sumome_dashboard_welcome'));
|
6 |
+
add_action('wp_ajax_sumome_hide_dashboard_overlay', array($this, 'ajax_sumome_hide_dashboard_overlay'));
|
7 |
+
add_action('wp_head', array($this, 'append_script_code'));
|
8 |
+
add_action('admin_head', array($this, 'append_admin_script_code'));
|
9 |
+
add_action('admin_menu', array($this, 'admin_menu'));
|
10 |
+
add_action('admin_init', array($this, 'admin_init'));
|
11 |
+
add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
|
12 |
+
add_action('wp_dashboard_setup', array($this, 'dashboard_setup'));
|
13 |
+
|
14 |
+
$this->dataSumoPlatform="wordpress";
|
15 |
+
if (get_option('endurance_user')==1) $this->dataSumoPlatform="wordpress-endurance";
|
16 |
+
}
|
17 |
+
|
18 |
+
public function admin_init() {
|
19 |
+
register_setting('sumome', 'sumome_site_id', array($this, 'sanitize_site_id'));
|
20 |
+
|
21 |
+
$this->check_generate_site_id();
|
22 |
+
|
23 |
+
add_settings_section(
|
24 |
+
'sumome-settings',
|
25 |
+
'Settings',
|
26 |
+
null,
|
27 |
+
'sumome'
|
28 |
+
);
|
29 |
+
|
30 |
+
add_settings_field(
|
31 |
+
'sumome-site_id',
|
32 |
+
'',
|
33 |
+
array(&$this, 'settings_field_site_id'),
|
34 |
+
'sumome',
|
35 |
+
'sumome-settings',
|
36 |
+
array('field' => 'sumome_site_id', 'label_for' => 'sumome_site_id')
|
37 |
+
);
|
38 |
+
}
|
39 |
+
|
40 |
+
public function admin_menu() {
|
41 |
+
add_menu_page('SumoMe', 'SumoMe', 'manage_options', 'sumome', array($this, 'sumome_render_dashboard_page'), plugins_url('images/icon.png', SUMOME__PLUGIN_FILE));
|
42 |
+
|
43 |
+
if (isset($_COOKIE['__smUser'])) {
|
44 |
+
add_submenu_page('sumome', 'Dashboard', 'Dashboard', 'manage_options', 'sumome', array($this, 'sumome_render_dashboard_page') );
|
45 |
+
add_submenu_page('sumome', 'Statistics', 'Statistics', 'manage_options', 'statistics', array($this, 'sumome_render_statistics_page'));
|
46 |
+
add_submenu_page('sumome', 'About', 'About', 'manage_options', 'about', array($this, 'sumome_render_welcome_page'));
|
47 |
+
}
|
48 |
+
|
49 |
+
add_submenu_page(null, 'SiteID', 'SiteID', 'manage_options', 'siteID', array($this, 'sumome_render_siteID_page'));
|
50 |
+
}
|
51 |
+
|
52 |
+
public function sanitize_site_id($value) {
|
53 |
+
$value = preg_replace('/[^0-9a-f]/', '', strtolower($value));
|
54 |
+
|
55 |
+
return $value;
|
56 |
+
}
|
57 |
+
|
58 |
+
public function settings_field_site_id($args) {
|
59 |
+
$field = $args['field'];
|
60 |
+
$value = get_option($field);
|
61 |
+
|
62 |
+
if (!$value) {
|
63 |
+
|
64 |
+
}
|
65 |
+
|
66 |
+
?>
|
67 |
+
<script type="text/javascript">
|
68 |
+
function sumome_generate_site_id() {
|
69 |
+
function _sumome_r() {
|
70 |
+
return (Math.random().toString(16)+"000000000").substr(2,8);
|
71 |
+
}
|
72 |
+
|
73 |
+
var new_sumome_site_id = _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r();
|
74 |
+
|
75 |
+
jQuery('.sumome-site-id').val(new_sumome_site_id);
|
76 |
+
|
77 |
+
}
|
78 |
+
</script>
|
79 |
+
<?php
|
80 |
+
echo sprintf('<textarea type="text" name="%s" id="%s" class="sumome-site-id" />%s</textarea><button onclick="sumome_generate_site_id(); return false;" class="button">Get New Site ID</button>', $field, $field, esc_attr($value));
|
81 |
+
}
|
82 |
+
|
83 |
+
|
84 |
+
public function check_generate_site_id() {
|
85 |
+
$site_id = get_option('sumome_site_id');
|
86 |
+
|
87 |
+
if (!$site_id) {
|
88 |
+
$site_id = '';
|
89 |
+
for ($i = 0; $i < 8; $i++) {
|
90 |
+
$site_id .= substr(md5(uniqid()), 0, 8);
|
91 |
+
}
|
92 |
+
|
93 |
+
update_option('sumome_site_id', $site_id);
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
public function append_script_code() {
|
98 |
+
$this->check_generate_site_id();
|
99 |
+
|
100 |
+
$site_id = get_option('sumome_site_id');
|
101 |
+
|
102 |
+
if ($site_id) {
|
103 |
+
|
104 |
+
echo('<script data-cfasync="false" src="//load.sumome.com/" data-sumo-platform="'.$this->dataSumoPlatform.'" data-sumo-site-id="' . esc_attr($site_id) . '" async></script>');
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
public function append_admin_script_code() {
|
109 |
+
if (defined('XMLRPC_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST'))
|
110 |
+
return false;
|
111 |
+
|
112 |
+
$this->check_generate_site_id();
|
113 |
+
|
114 |
+
$site_id = get_option('sumome_site_id');
|
115 |
+
|
116 |
+
if ($site_id) {
|
117 |
+
echo('<script src="'.plugins_url('js/preload.js', dirname(__FILE__)).'"></script>');
|
118 |
+
echo('<script data-cfasync="false" src="//load.sumome.com/" data-sumo-platform="'.$this->dataSumoPlatform.'" data-sumo-mode="admin" data-sumo-site-id="' . esc_attr($site_id) . '" async></script>');
|
119 |
+
|
120 |
+
}
|
121 |
+
}
|
122 |
+
|
123 |
+
public function admin_enqueue_scripts() {
|
124 |
+
wp_enqueue_style('sumome-admin-styles', plugins_url('styles/styles.css', SUMOME__PLUGIN_FILE));
|
125 |
+
wp_enqueue_style('sumome-admin-media', plugins_url('styles/media.css', SUMOME__PLUGIN_FILE));
|
126 |
+
}
|
127 |
+
|
128 |
+
public function sumome_render_welcome_page() {
|
129 |
+
$noClose=true;
|
130 |
+
print '<div class="sumome-plugin-main">';
|
131 |
+
include(SUMOME__PLUGIN_DIR.'/views/wordpress-dashboard-welcome-page.php');
|
132 |
+
print '</div>';
|
133 |
+
}
|
134 |
+
|
135 |
+
public function sumome_render_dashboard_page() {
|
136 |
+
include(SUMOME__PLUGIN_DIR.'/js/general.php');
|
137 |
+
include(SUMOME__PLUGIN_DIR.'/views/landing.php');
|
138 |
+
}
|
139 |
+
|
140 |
+
public function sumome_render_statistics_page() {
|
141 |
+
print '<link rel="stylesheet" type="text/css" href="'.plugins_url('styles/statistics.css', dirname(__FILE__)).'">';
|
142 |
+
include(SUMOME__PLUGIN_DIR.'/views/statistics.php');
|
143 |
+
}
|
144 |
+
|
145 |
+
public function sumome_render_siteID_page() {
|
146 |
+
include(SUMOME__PLUGIN_DIR.'/views/siteID.php');
|
147 |
+
}
|
148 |
+
|
149 |
+
public function ajax_sumome_main() {
|
150 |
+
include(SUMOME__PLUGIN_DIR.'/views/main.php');
|
151 |
+
exit;
|
152 |
+
}
|
153 |
+
|
154 |
+
public function ajax_sumome_dashboard_welcome() {
|
155 |
+
include(SUMOME__PLUGIN_DIR.'/views/wordpress-dashboard-welcome-page.php');
|
156 |
+
exit;
|
157 |
+
}
|
158 |
+
|
159 |
+
public function ajax_sumome_hide_dashboard_overlay() {
|
160 |
+
update_option('sumome_hide_dashboard_overlay', true);
|
161 |
+
}
|
162 |
+
|
163 |
+
public function dashboard_setup() {
|
164 |
+
add_meta_box( 'my_dashboard_widget', 'SumoMe', array($this , 'dashboard_widget'), 'dashboard', 'normal', 'high');
|
165 |
+
}
|
166 |
+
|
167 |
+
public function dashboard_widget() {
|
168 |
+
$dashboardWidgetClass = '';
|
169 |
+
if (isset($_COOKIE['__smUser']) || get_option('endurance_user')!=1 || get_option('sumome_hide_dashboard_overlay')==1) {
|
170 |
+
$dashboardWidgetClass = 'minimized';
|
171 |
+
}
|
172 |
+
include_once(SUMOME__PLUGIN_DIR.'/js/general.php');
|
173 |
+
echo '<div class="sumome-dashboard-widget '.$dashboardWidgetClass.'"></div>';
|
174 |
+
?>
|
175 |
+
<script>
|
176 |
+
jQuery.post(ajaxurl, { action: 'sumome_dashboard_welcome' },
|
177 |
+
function(data) {
|
178 |
+
jQuery('.sumome-dashboard-widget').html(data);
|
179 |
+
});
|
180 |
+
</script>
|
181 |
+
<?php
|
182 |
+
}
|
183 |
+
|
184 |
+
}
|
images/apps-bg.png
ADDED
Binary file
|
images/checkmark.png
ADDED
Binary file
|
images/modal-close.png
ADDED
Binary file
|
images/popup-login-header.png
ADDED
Binary file
|
images/store-bg.png
ADDED
Binary file
|
images/sumome-loading.gif
ADDED
Binary file
|
images/sumome-site-clients-4hourworkweek.png
ADDED
Binary file
|
images/sumome-site-clients-airbnb.png
ADDED
Binary file
|
images/sumome-site-clients-artofman.png
ADDED
Binary file
|
images/sumome-site-clients-beachbody.png
ADDED
Binary file
|
images/sumome-site-clients-chive.png
ADDED
Binary file
|
images/sumome-site-clients-entrepreneur.png
ADDED
Binary file
|
images/sumome-site-clients-tonyrobbins.png
ADDED
Binary file
|
images/sumome-site-team.jpg
ADDED
Binary file
|
images/sumome-site-team.png
ADDED
Binary file
|
images/sumome-site-welcome-graph.png
ADDED
Binary file
|
images/sumome-site-welcome-header.jpg
ADDED
Binary file
|
images/sumome-site-welcome1.png
ADDED
Binary file
|
images/sumome-site-welcome2.png
ADDED
Binary file
|
images/sumome-site-welcome3.png
ADDED
Binary file
|
images/sumome_crown.png
ADDED
Binary file
|
js/general.php
ADDED
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<script>
|
2 |
+
var setCookie = function(cname, cvalue, exdays) {
|
3 |
+
var d = new Date();
|
4 |
+
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
|
5 |
+
var expires = "expires=" + d.toUTCString();
|
6 |
+
document.cookie = cname + "=" + cvalue + "; " + expires;
|
7 |
+
}
|
8 |
+
function getCookie(cname) {
|
9 |
+
var name = cname + "=";
|
10 |
+
var ca = document.cookie.split(';');
|
11 |
+
for(var i = 0; i <ca.length; i++) {
|
12 |
+
var c = ca[i];
|
13 |
+
while (c.charAt(0)==' ') {
|
14 |
+
c = c.substring(1);
|
15 |
+
}
|
16 |
+
if (c.indexOf(name) == 0) {
|
17 |
+
return c.substring(name.length,c.length);
|
18 |
+
}
|
19 |
+
}
|
20 |
+
return "";
|
21 |
+
}
|
22 |
+
jQuery(document).ready(function() {
|
23 |
+
<?php
|
24 |
+
if(isset($_COOKIE['__smUser'])) {
|
25 |
+
print 'sumo_login_start_page_refresh();';
|
26 |
+
}
|
27 |
+
?>
|
28 |
+
|
29 |
+
function sumo_login_start_form_submit() {
|
30 |
+
jQuery('.main-bottom').hide();
|
31 |
+
setTimeout( function() {
|
32 |
+
jQuery('.logged-in').html('');
|
33 |
+
jQuery('.logged-in').append('<div class="loading"><img src="<?php echo plugins_url('images/sumome-loading.gif', dirname(__FILE__)) ?>"></div>');
|
34 |
+
},500);
|
35 |
+
|
36 |
+
jQuery('.logged-out').hide();
|
37 |
+
jQuery('.logged-in').show();
|
38 |
+
|
39 |
+
setTimeout( function() {
|
40 |
+
document.location.href='';
|
41 |
+
},3000);
|
42 |
+
}
|
43 |
+
|
44 |
+
function sumo_login_start_page_refresh() {
|
45 |
+
jQuery('.main-bottom').hide();
|
46 |
+
jQuery('.logged-in').html('');
|
47 |
+
jQuery('.logged-in').append('<div class="loading"><img src="<?php echo plugins_url('images/sumome-loading.gif', dirname(__FILE__)) ?>"></div>');
|
48 |
+
jQuery('.logged-out').hide();
|
49 |
+
jQuery('.logged-in').show();
|
50 |
+
sumo_login();
|
51 |
+
}
|
52 |
+
|
53 |
+
function sumo_login() {
|
54 |
+
jQuery('.site-ID-container').hide();
|
55 |
+
jQuery('.list-number').hide();
|
56 |
+
|
57 |
+
jQuery.post(ajaxurl, { action: 'sumome_main' }, function(data) {
|
58 |
+
jQuery('.logged-in').html(data);
|
59 |
+
jQuery('.main-bottom').show();
|
60 |
+
});
|
61 |
+
}
|
62 |
+
|
63 |
+
|
64 |
+
jQuery(document).on('click','.sumome-logged-in-container .items div, a.sumome-popup-iframe,.sumome-button,.sumome-link-button', function (e) {
|
65 |
+
|
66 |
+
var dataName=jQuery(this).data('name');
|
67 |
+
var dataType=jQuery(this).data('type');
|
68 |
+
var dataTitle=jQuery(this).data('title');
|
69 |
+
|
70 |
+
//auto size inner frame
|
71 |
+
jQuery('.sumome-plugin-popup-container-inner').addClass('default-height');
|
72 |
+
|
73 |
+
jQuery('.sumome-plugin-popup-container-inner').css("height", function(){
|
74 |
+
return jQuery('.sumome-plugin-popup-container-inner').height()-jQuery('.sumome-plugin-popup-container .sumome-modal-header').height();
|
75 |
+
});
|
76 |
+
|
77 |
+
jQuery('.sumome-plugin-popup-container').css("top", ((jQuery(window).height()-jQuery('.sumome-plugin-popup-container-inner').height())/2)-jQuery('#wpadminbar').height());
|
78 |
+
|
79 |
+
|
80 |
+
jQuery('.sumome-plugin-popup-container-inner').removeClass('default-height');
|
81 |
+
|
82 |
+
if (dataType!="sumome-app") {
|
83 |
+
if (!jQuery(this).hasClass('sumome-popup-no-dim') && !jQuery(this).parent().hasClass('sumome-popup-no-dim')) {
|
84 |
+
jQuery('.sumome-logged-in-container-overlay').addClass('dim');
|
85 |
+
}
|
86 |
+
jQuery('.sumome-plugin-popup-container .popup-title').html(dataTitle);
|
87 |
+
}
|
88 |
+
|
89 |
+
if (dataName=="sumome-control-advanced-settings") {
|
90 |
+
document.location.href='admin.php?page=siteID';
|
91 |
+
} else if (jQuery(this).hasClass('sumome-popup-iframe')) {
|
92 |
+
var popupHref=jQuery(this).data('href');
|
93 |
+
if (jQuery(this).attr('href')) popupHref=jQuery(this).attr('href');
|
94 |
+
|
95 |
+
jQuery('.sumome-plugin-popup-container .sumome-plugin-popup-contents').html('<iframe class="popup-iframe" src="'+popupHref+'"></iframe>');
|
96 |
+
jQuery('.sumome-plugin-popup-container-inner').addClass('disable-scroll');
|
97 |
+
|
98 |
+
jQuery('.sumome-plugin-popup-container').show();
|
99 |
+
|
100 |
+
e.stopImmediatePropagation();
|
101 |
+
return false;
|
102 |
+
|
103 |
+
} else if (dataName=="sumome-control-about") {
|
104 |
+
window.open('https://sumome.com/about?src=wpplugin');
|
105 |
+
} else if (dataName=="sumome-control-account-settings") {
|
106 |
+
window.open('https://sumome.com/account');
|
107 |
+
} else if (dataName=="sumome-control-statistics") {
|
108 |
+
document.location.href='admin.php?page=statistics';
|
109 |
+
} else {
|
110 |
+
jQuery('.'+dataName).click();
|
111 |
+
}
|
112 |
+
|
113 |
+
});
|
114 |
+
|
115 |
+
jQuery(document).on('click','.back-logged-in', function () {
|
116 |
+
jQuery('.logged-in .items').show();
|
117 |
+
jQuery('.tabbed-content-container').hide();
|
118 |
+
jQuery('.back-logged-in').hide();
|
119 |
+
});
|
120 |
+
|
121 |
+
//save new site-id and then logout
|
122 |
+
jQuery(document).on('click','.popup-close,.sumome-modal-close', function () {
|
123 |
+
jQuery('.sumome-plugin-popup-container .sumome-plugin-popup-contents').html('');
|
124 |
+
jQuery('.sumome-plugin-popup-container').hide();
|
125 |
+
jQuery('.sumome-plugin-popup-container-inner').removeClass('disable-scroll');
|
126 |
+
jQuery('.sumome-logged-in-container-overlay').removeClass('dim');
|
127 |
+
jQuery('.sumome-plugin-popup-container-inner').height('');
|
128 |
+
getLoadInformation();
|
129 |
+
});
|
130 |
+
|
131 |
+
jQuery(document).on('click','.sumome-plugin-popup-container .site-ID .button-primary', function (e) {
|
132 |
+
var press = jQuery.Event("keypress");
|
133 |
+
press.shiftKey = false;
|
134 |
+
jQuery('.sumome-control-close').trigger(press).click();
|
135 |
+
});
|
136 |
+
|
137 |
+
function sumo_logout() {
|
138 |
+
setCookie('__smToken', '', -1);
|
139 |
+
setCookie('__smUser', '', -1);
|
140 |
+
document.location.href='/wp-admin/admin.php?page=sumome';
|
141 |
+
}
|
142 |
+
|
143 |
+
});
|
144 |
+
|
145 |
+
function getLoadInformation() {
|
146 |
+
if (getCookie('__smUser')) {
|
147 |
+
var data = {
|
148 |
+
href: window.location.href || null,
|
149 |
+
ref: document.referrer || null
|
150 |
+
};
|
151 |
+
data.site_id='<?php echo get_option('sumome_site_id')?>';
|
152 |
+
jQuery.ajax({
|
153 |
+
url: 'https://sumome.com/api/load',
|
154 |
+
type: 'POST',
|
155 |
+
dataType: 'json',
|
156 |
+
beforeSend: function (req) {
|
157 |
+
var token = getCookie('__smToken');
|
158 |
+
if (token) {
|
159 |
+
req.setRequestHeader('X-Sumo-Auth', token);
|
160 |
+
}
|
161 |
+
|
162 |
+
},
|
163 |
+
xhrFields: {
|
164 |
+
withCredentials: false
|
165 |
+
},
|
166 |
+
crossDomain: true,
|
167 |
+
data: data,
|
168 |
+
success: function(data) {
|
169 |
+
if (data.login==false) {
|
170 |
+
sumo_logout();
|
171 |
+
} else {
|
172 |
+
jQuery('.notification-count').remove();
|
173 |
+
if (data.unreadNotificationCount>0) {
|
174 |
+
jQuery('.sumo-notifications').append('<div class="notification-count">'+data.unreadNotificationCount+'</div>');
|
175 |
+
}
|
176 |
+
}
|
177 |
+
}
|
178 |
+
});
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
jQuery(window).load(function() {
|
183 |
+
<?php
|
184 |
+
if (isset($_GET['changeSiteKey']) && $_GET['changeSiteKey'] && !$_POST) {
|
185 |
+
?>
|
186 |
+
jQuery('.sumome-link-button.sumome-tile-advanced-settings').click();
|
187 |
+
<?php
|
188 |
+
}
|
189 |
+
?>
|
190 |
+
});
|
191 |
+
|
192 |
+
</script>
|
js/preload.js
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function __smReady(sumome) {
|
2 |
+
sumome.core.emit('login');
|
3 |
+
sumome.core.on('login', function() {
|
4 |
+
jQuery('.sumome-wp-dash-logged-in').removeClass('status-logged-out');
|
5 |
+
jQuery('.sumome-wp-dash-logged-in').addClass('status-logged-in');
|
6 |
+
jQuery('.sumome-wp-dash-logged-out').removeClass('status-logged-out');
|
7 |
+
jQuery('.sumome-wp-dash-logged-out').addClass('status-logged-in');
|
8 |
+
});
|
9 |
+
|
10 |
+
function show_sumome_login() {
|
11 |
+
//sumome.core.emit('startApp', 'login');
|
12 |
+
sumome.core.emit('startApp', {app: 'login', opts: { launch: false }});
|
13 |
+
|
14 |
+
sumome.core.on('login', function() {
|
15 |
+
sumome_login_refresh();
|
16 |
+
});
|
17 |
+
}
|
18 |
+
|
19 |
+
jQuery(document).on('click','.connect-button', function (e) {
|
20 |
+
show_sumome_login();
|
21 |
+
});
|
22 |
+
|
23 |
+
if (getCookie('__smUser')) {
|
24 |
+
sumome.core.on('removeCookie', function(cookie) {
|
25 |
+
if (cookie=='__smUser') {
|
26 |
+
sumo_logout();
|
27 |
+
}
|
28 |
+
|
29 |
+
});
|
30 |
+
} else {
|
31 |
+
sumome.core.on('removeCookie', function(cookie) {
|
32 |
+
if (cookie=='__smUser') {
|
33 |
+
jQuery('.sumome-wp-dash-logged-in').addClass('status-logged-out');
|
34 |
+
jQuery('.sumome-wp-dash-logged-in').removeClass('status-logged-in');
|
35 |
+
jQuery('.sumome-wp-dash-logged-out').addClass('status-logged-out');
|
36 |
+
jQuery('.sumome-wp-dash-logged-out').removeClass('status-logged-in');
|
37 |
+
}
|
38 |
+
|
39 |
+
});
|
40 |
+
}
|
41 |
+
|
42 |
+
jQuery(document).on('click', '.sumo-notifications',function () {
|
43 |
+
sumome.core.emit('startApp', 'ee27a0af-9947-40c9-8eab-0ab6a4f7a9c1');
|
44 |
+
});
|
45 |
+
jQuery(document).on('click', '.sumo-store',function () {
|
46 |
+
sumome.core.emit('startApp', 'app_store');
|
47 |
+
});
|
48 |
+
jQuery(document).on('click', '.sumo-apps',function () {
|
49 |
+
sumome.core.emit('startApp', 'launcher');
|
50 |
+
});
|
51 |
+
jQuery(document).on('click', '.sumo-settings',function () {
|
52 |
+
sumome.core.emit('startApp', '5d26e2da-aef5-41c1-947a-624497281723');
|
53 |
+
});
|
54 |
+
|
55 |
+
jQuery(document).on('click', '.sumome-control-close',function () {
|
56 |
+
jQuery('.sumome-logged-in-container-overlay').removeClass('dim');
|
57 |
+
});
|
58 |
+
|
59 |
+
|
60 |
+
|
61 |
+
/*
|
62 |
+
jQuery(document).on('click', '.sumome-modal-close',function () {
|
63 |
+
jQuery('.sumome-logged-in-container-overlay').removeClass('dim');
|
64 |
+
});
|
65 |
+
*/
|
66 |
+
|
67 |
+
jQuery(document).on('click', '.popup-container .site-ID button',function () {
|
68 |
+
function _sumome_r() {
|
69 |
+
return (Math.random().toString(16)+"000000000").substr(2,8);
|
70 |
+
}
|
71 |
+
var new_sumome_site_id = _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r();
|
72 |
+
jQuery('.sumome-site-id').val(new_sumome_site_id);
|
73 |
+
});
|
74 |
+
|
75 |
+
jQuery(document).on('click','.site-ID .submit input[type=submit]', function (e) {
|
76 |
+
sumo_logout();
|
77 |
+
sumome.core.emit('logout', false);
|
78 |
+
|
79 |
+
});
|
80 |
+
jQuery(document).on('click', '.sumome-dashboard-widget-learn-more',function () {
|
81 |
+
jQuery('.sumome-dashboard-widget').removeClass('minimized');
|
82 |
+
});
|
83 |
+
|
84 |
+
|
85 |
+
function sumo_logout() {
|
86 |
+
setCookie('__smToken', '', -1);
|
87 |
+
setCookie('__smUser', '', -1);
|
88 |
+
document.location.href='/wp-admin/admin.php?page=sumome';
|
89 |
+
}
|
90 |
+
|
91 |
+
|
92 |
+
};
|
93 |
+
function getCookie(cname) {
|
94 |
+
var name = cname + "=";
|
95 |
+
var ca = document.cookie.split(';');
|
96 |
+
for(var i = 0; i <ca.length; i++) {
|
97 |
+
var c = ca[i];
|
98 |
+
while (c.charAt(0)==' ') {
|
99 |
+
c = c.substring(1);
|
100 |
+
}
|
101 |
+
if (c.indexOf(name) == 0) {
|
102 |
+
return c.substring(name.length,c.length);
|
103 |
+
}
|
104 |
+
}
|
105 |
+
return "";
|
106 |
+
}
|
107 |
+
var setCookie = function(cname, cvalue, exdays) {
|
108 |
+
var d = new Date();
|
109 |
+
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
|
110 |
+
var expires = "expires=" + d.toUTCString();
|
111 |
+
document.cookie = cname + "=" + cvalue + "; " + expires;
|
112 |
+
}
|
113 |
+
|
114 |
+
function sumome_login_refresh() {
|
115 |
+
document.location.href='/wp-admin/admin.php?page=sumome';
|
116 |
+
}
|
117 |
+
|
styles/instructions.css
DELETED
@@ -1,247 +0,0 @@
|
|
1 |
-
body,html {
|
2 |
-
background-color: #ffffff !important;
|
3 |
-
}
|
4 |
-
#wpcontent {
|
5 |
-
padding-left: 0px;
|
6 |
-
}
|
7 |
-
#wpfooter {
|
8 |
-
display:none;
|
9 |
-
}
|
10 |
-
#wpbody-content {
|
11 |
-
padding-bottom: 0px;
|
12 |
-
}
|
13 |
-
#sumome_instructions {
|
14 |
-
width: 100%;
|
15 |
-
box-sizing: border-box;
|
16 |
-
-moz-box-sizing: border-box;
|
17 |
-
-webkit-box-sizing: border-box;
|
18 |
-
background:#fff;
|
19 |
-
color:#65717b;
|
20 |
-
}
|
21 |
-
|
22 |
-
#sumome_instructions .row {
|
23 |
-
width: 100%;
|
24 |
-
margin-left: auto;
|
25 |
-
margin-right: auto;
|
26 |
-
margin-top: 0;
|
27 |
-
margin-bottom: 0;
|
28 |
-
box-sizing: border-box;
|
29 |
-
-moz-box-sizing: border-box;
|
30 |
-
-webkit-box-sizing: border-box;
|
31 |
-
display:block;
|
32 |
-
}
|
33 |
-
|
34 |
-
#sumome_instructions .row .row {
|
35 |
-
width: auto;
|
36 |
-
margin-left: -0.9375rem;
|
37 |
-
margin-right: -0.9375rem;
|
38 |
-
margin-top: 0;
|
39 |
-
margin-bottom: 0;
|
40 |
-
max-width: none;
|
41 |
-
}
|
42 |
-
|
43 |
-
#sumome_instructions .columns {
|
44 |
-
position: relative;
|
45 |
-
padding-left: 0.9375rem;
|
46 |
-
padding-right: 0.9375rem;
|
47 |
-
float: left;
|
48 |
-
box-sizing: border-box;
|
49 |
-
-moz-box-sizing: border-box;
|
50 |
-
-webkit-box-sizing: border-box;
|
51 |
-
|
52 |
-
}
|
53 |
-
|
54 |
-
#sumome_instructions .large-4 {
|
55 |
-
width: 33.33333%;
|
56 |
-
}
|
57 |
-
|
58 |
-
#sumome_instructions .large-6 {
|
59 |
-
width: 50%;
|
60 |
-
}
|
61 |
-
|
62 |
-
#sumome_instructions .large-8 {
|
63 |
-
width: 66.66667%;
|
64 |
-
}
|
65 |
-
|
66 |
-
#sumome_instructions .large-12 {
|
67 |
-
width: 100%;
|
68 |
-
}
|
69 |
-
|
70 |
-
#sumome_instructions .th {
|
71 |
-
line-height: 0;
|
72 |
-
display: inline-block;
|
73 |
-
border: solid 4px #fff;
|
74 |
-
max-width: 100%;
|
75 |
-
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
76 |
-
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
77 |
-
-webkit-transition: all 200ms ease-out;
|
78 |
-
-moz-transition: all 200ms ease-out;
|
79 |
-
transition: all 200ms ease-out;
|
80 |
-
}
|
81 |
-
|
82 |
-
#sumome_instructions img {
|
83 |
-
display: inline-block;
|
84 |
-
vertical-align: middle;
|
85 |
-
max-width: 100%;
|
86 |
-
height: auto;
|
87 |
-
}
|
88 |
-
|
89 |
-
#sumome_instructions h4 {
|
90 |
-
font-size: 1.4375rem;
|
91 |
-
line-height: 1.4;
|
92 |
-
margin: .5em 0;
|
93 |
-
}
|
94 |
-
|
95 |
-
#sumome_instructions .sumome-instructions {
|
96 |
-
text-align:center;
|
97 |
-
width:50%;
|
98 |
-
margin:0px auto;
|
99 |
-
padding-top:10px;
|
100 |
-
}
|
101 |
-
|
102 |
-
#sumome_instructions .header-banner {
|
103 |
-
text-align:center;
|
104 |
-
background:#f0f3f5;
|
105 |
-
margin-bottom:20px;
|
106 |
-
}
|
107 |
-
#sumome_instructions .header-banner img {
|
108 |
-
display: inline-block;
|
109 |
-
vertical-align: middle;
|
110 |
-
/*width: 100%;*/
|
111 |
-
max-width: 100%;
|
112 |
-
height: auto;
|
113 |
-
margin-bottom:0px;
|
114 |
-
}
|
115 |
-
#sumome_instructions .list-number {
|
116 |
-
border-radius: 25px;
|
117 |
-
background: #6c65c2;
|
118 |
-
width: 35px;
|
119 |
-
height: 35px;
|
120 |
-
color:#fff;
|
121 |
-
display:inline-block;
|
122 |
-
text-align:center;
|
123 |
-
line-height:35px;
|
124 |
-
font-size:18px;
|
125 |
-
}
|
126 |
-
#sumome_instructions .list-number-title {
|
127 |
-
color:#0f74b5;
|
128 |
-
font-size:24px;
|
129 |
-
font-weight:bold;
|
130 |
-
display:inline-block;
|
131 |
-
width:auto;
|
132 |
-
margin-left:10px;
|
133 |
-
}
|
134 |
-
#sumome_instructions .row3 .list-bullet{
|
135 |
-
margin-top:80px;
|
136 |
-
}
|
137 |
-
|
138 |
-
#sumome_instructions .row3, .row3 p.submit {
|
139 |
-
text-align:center;
|
140 |
-
margin:0px auto;
|
141 |
-
padding-top:25px;
|
142 |
-
}
|
143 |
-
#sumome_instructions .row3 table {
|
144 |
-
margin:0px auto;
|
145 |
-
}
|
146 |
-
|
147 |
-
#sumome_instructions input[type=text] {
|
148 |
-
border-radius: 5px;
|
149 |
-
border: 1px solid #dcd9ea;
|
150 |
-
height:41px;
|
151 |
-
}
|
152 |
-
#sumome_instructions button {
|
153 |
-
height:40px;
|
154 |
-
line-height:40px;
|
155 |
-
vertical-align:middle;
|
156 |
-
padding:0px 20px;
|
157 |
-
border-radius: 0px 50px 50px 0px;
|
158 |
-
background-color:#c8cbcd;
|
159 |
-
color:#65717b;
|
160 |
-
position:relative;
|
161 |
-
left:-8px;
|
162 |
-
top:-2px;
|
163 |
-
}
|
164 |
-
#sumome_instructions input[type=submit] {
|
165 |
-
border-radius: 50px;
|
166 |
-
height:40px;
|
167 |
-
padding:0px 20px;
|
168 |
-
background: #8067db;
|
169 |
-
color:#fff;
|
170 |
-
margin:0px auto;
|
171 |
-
text-transform: uppercase;
|
172 |
-
border-color: transparent;
|
173 |
-
-webkit-box-shadow: none;
|
174 |
-
box-shadow: none;
|
175 |
-
text-shadow: none;
|
176 |
-
}
|
177 |
-
#sumome_instructions .footer {
|
178 |
-
background: #f0f3f5;
|
179 |
-
margin:0px auto;
|
180 |
-
text-align:center;
|
181 |
-
position:relative;
|
182 |
-
bottom:0px;
|
183 |
-
left:0px;
|
184 |
-
height:250px;
|
185 |
-
padding-top:60px;
|
186 |
-
line-height:25px;
|
187 |
-
margin-top:50px;
|
188 |
-
}
|
189 |
-
#sumome_instructions .footer a {
|
190 |
-
color: #8067db;
|
191 |
-
}
|
192 |
-
#sumome_instructions .sumome-help {
|
193 |
-
width:50%;
|
194 |
-
margin:0px auto;
|
195 |
-
background: #f0f3f5;
|
196 |
-
}
|
197 |
-
.text {
|
198 |
-
/*padding: 0% 50%;*/
|
199 |
-
width: 80% !important;
|
200 |
-
margin: 0px auto;
|
201 |
-
float: none !important;
|
202 |
-
padding-top:15%;
|
203 |
-
}
|
204 |
-
#sumome_instructions .sumome-help span {
|
205 |
-
display:block;
|
206 |
-
}
|
207 |
-
.mobile{
|
208 |
-
display:none;
|
209 |
-
}
|
210 |
-
.no-mobile{
|
211 |
-
display:block;
|
212 |
-
}
|
213 |
-
@media screen and (max-width: 1000px) {
|
214 |
-
#sumome_instructions .large-6 {
|
215 |
-
width: 100%;
|
216 |
-
}
|
217 |
-
#sumome_instructions #sumome_site_id {
|
218 |
-
width:150px !important;
|
219 |
-
}
|
220 |
-
#sumome_instructions .sumome-instructions,#sumome_instructions .sumome-help {
|
221 |
-
width:90% !important;
|
222 |
-
}
|
223 |
-
#sumome_instructions .text {
|
224 |
-
padding-top: 0%;
|
225 |
-
}
|
226 |
-
#sumome_instructions .footer {
|
227 |
-
height: 250px;
|
228 |
-
padding-top: 10px;
|
229 |
-
line-height: 25px;
|
230 |
-
}
|
231 |
-
#sumome_instructions .list-bullet {
|
232 |
-
white-space:nowrap;
|
233 |
-
}
|
234 |
-
#sumome_instructions .list-number-title {
|
235 |
-
font-size: 20px;
|
236 |
-
}
|
237 |
-
.mobile{
|
238 |
-
display:block;
|
239 |
-
}
|
240 |
-
.no-mobile{
|
241 |
-
display:none;
|
242 |
-
}
|
243 |
-
#sumome_instructions .sumome-help span {
|
244 |
-
display:inline-block;
|
245 |
-
}
|
246 |
-
|
247 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles/media.css
ADDED
@@ -0,0 +1,272 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
@media screen and (max-width: 1000px) {
|
4 |
+
.sumome-plugin-main .large-6 {
|
5 |
+
width: 100%;
|
6 |
+
}
|
7 |
+
|
8 |
+
.sumome-plugin-popup-contents .sumome-site-id {
|
9 |
+
width: 180px !important;
|
10 |
+
height: 110px;
|
11 |
+
}
|
12 |
+
|
13 |
+
.sumome-plugin-main .site-ID-container button.button {
|
14 |
+
left: 0px;
|
15 |
+
margin-top:10px;
|
16 |
+
}
|
17 |
+
|
18 |
+
.sumome-plugin-main .site-ID-container .sumome-site-id {
|
19 |
+
width: 100%;
|
20 |
+
height: 100px;
|
21 |
+
}
|
22 |
+
|
23 |
+
.sumome-plugin-main .site-ID-container .sumome-plugin-main .site-ID .sumome-instructions {
|
24 |
+
text-align: center;
|
25 |
+
}
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
+
.sumome-plugin-popup-container .sumome-plugin-popup-container-outer {
|
30 |
+
width: 80%;
|
31 |
+
}
|
32 |
+
.sumome-plugin-popup-container .site-ID button.button {
|
33 |
+
height: 40px;
|
34 |
+
line-height: 40px;
|
35 |
+
vertical-align: middle;
|
36 |
+
padding: 0px 20px;
|
37 |
+
border-radius: 0px 0px 0px 0px;
|
38 |
+
background-color: #c8cbcd;
|
39 |
+
color: #65717b;
|
40 |
+
|
41 |
+
left: 0px;
|
42 |
+
margin: 0px auto;
|
43 |
+
display: block;
|
44 |
+
|
45 |
+
width: 100%;
|
46 |
+
}
|
47 |
+
|
48 |
+
|
49 |
+
.sumome-plugin-main .sumome-instructions,.sumome-plugin-main .sumome-help {
|
50 |
+
width:90% !important;
|
51 |
+
}
|
52 |
+
.sumome-plugin-main .text {
|
53 |
+
padding-top: 0%;
|
54 |
+
}
|
55 |
+
.sumome-plugin-main .footer {
|
56 |
+
height: 250px;
|
57 |
+
padding-top: 10px;
|
58 |
+
line-height: 25px;
|
59 |
+
}
|
60 |
+
.sumome-plugin-main .list-bullet {
|
61 |
+
white-space:nowrap;
|
62 |
+
}
|
63 |
+
.sumome-plugin-main .list-number-title {
|
64 |
+
font-size: 20px;
|
65 |
+
}
|
66 |
+
.mobile{
|
67 |
+
display:block;
|
68 |
+
}
|
69 |
+
.no-mobile{
|
70 |
+
display:none;
|
71 |
+
}
|
72 |
+
.sumome-plugin-main .sumome-help span {
|
73 |
+
display:inline;
|
74 |
+
}
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
.sumome-logged-in-container .items .item-tile {
|
80 |
+
width:45%;
|
81 |
+
margin:25px 1%;
|
82 |
+
}
|
83 |
+
|
84 |
+
.sumome-logged-in-container .items .item-tile {
|
85 |
+
font-size:20px;
|
86 |
+
}
|
87 |
+
.sumome-logged-in-container .items .item-tile:nth-child(even) {
|
88 |
+
float: right;
|
89 |
+
}
|
90 |
+
|
91 |
+
|
92 |
+
/* top 2 tiles */
|
93 |
+
.sumome-logged-in-container .items .item-tile.sumo-apps,.sumome-logged-in-container .items .item-tile.sumo-store {
|
94 |
+
width:98%;
|
95 |
+
float:left;
|
96 |
+
font-size:25px;
|
97 |
+
text-align:right;
|
98 |
+
}
|
99 |
+
|
100 |
+
.sumome-logged-in-container .items .item-tile.sumo-apps {
|
101 |
+
background-size: 90%;
|
102 |
+
background-position: -120px -35px;
|
103 |
+
}
|
104 |
+
.sumome-logged-in-container .items .item-tile.sumo-store {
|
105 |
+
background-size: 80%;
|
106 |
+
background-position: -60px -35px;
|
107 |
+
}
|
108 |
+
|
109 |
+
.sumome-logged-in-container .items .item-tile.sumo-apps .item-tile-title,
|
110 |
+
.sumome-logged-in-container .items .item-tile.sumo-store .item-tile-title {
|
111 |
+
padding-right:30px;
|
112 |
+
}
|
113 |
+
|
114 |
+
.sumome-logged-in-container .items .item-tile, .sumome-logged-in-container .items .item-tile-background {
|
115 |
+
line-height:normal;
|
116 |
+
}
|
117 |
+
.sumome-logged-in-container .items div.sumo-apps,.sumome-logged-in-container .items div.sumo-store {
|
118 |
+
line-height:200px;
|
119 |
+
}
|
120 |
+
|
121 |
+
.sumome-logged-in-container .items .item-tile-title {
|
122 |
+
line-height:normal;
|
123 |
+
display: inline-flex;
|
124 |
+
align-items: center;
|
125 |
+
height:100%;
|
126 |
+
}
|
127 |
+
|
128 |
+
.sumome-dashboard-widget-header-title,
|
129 |
+
.sumome-dashboard-widget-header-desc {
|
130 |
+
width:96% !important;
|
131 |
+
}
|
132 |
+
|
133 |
+
|
134 |
+
.sumome-dashboard-widget {
|
135 |
+
top: 0;
|
136 |
+
left: 0px;
|
137 |
+
width: 100vw;
|
138 |
+
}
|
139 |
+
.auto-fold #wpcontent {
|
140 |
+
padding-left: 0px;
|
141 |
+
}
|
142 |
+
.sumome-dashboard-widget-inner {
|
143 |
+
border: 0px solid #ddd;
|
144 |
+
}
|
145 |
+
.sumome-dashboard-widget-inner .sumome-dashboard-widget-row ul {
|
146 |
+
margin-left: 0px;
|
147 |
+
}
|
148 |
+
|
149 |
+
.sumome-dashboard-widget-inner button.green.connect-button, .sumome-dashboard-widget-inner button.green.dashboard-button {
|
150 |
+
|
151 |
+
}
|
152 |
+
.sumome-dashboard-widget.minimized button.green {
|
153 |
+
line-height: 27px;
|
154 |
+
font-size: 13px;
|
155 |
+
}
|
156 |
+
|
157 |
+
.sumome-dashboard-widget-top-note {
|
158 |
+
max-width: 95% !important;
|
159 |
+
}
|
160 |
+
|
161 |
+
.sumome-dashboard-widget-row {
|
162 |
+
max-width: 90%;
|
163 |
+
white-space: normal;
|
164 |
+
min-height: 400px;
|
165 |
+
margin-top:0px;
|
166 |
+
margin-bottom:0px;
|
167 |
+
}
|
168 |
+
.sumome-dashboard-widget-separator2 {
|
169 |
+
min-height: 270px;
|
170 |
+
}
|
171 |
+
|
172 |
+
.sumome-dashboard-widget-top-note-desc br {
|
173 |
+
display:none;
|
174 |
+
}
|
175 |
+
|
176 |
+
.sumome-dashboard-widget-inner .sumome-dashboard-widget-top-note ul {
|
177 |
+
margin-top: 15px;
|
178 |
+
width:80%;
|
179 |
+
}
|
180 |
+
|
181 |
+
.sumome-dashboard-widget-middle-note-title {
|
182 |
+
margin-top: 80px;
|
183 |
+
}
|
184 |
+
.sumome-dashboard-widget-middle-note-title,
|
185 |
+
.sumome-dashboard-widget-middle-note-desc,
|
186 |
+
.sumome-dashboard-widget-middle-note-clients {
|
187 |
+
width: 85%;
|
188 |
+
}
|
189 |
+
|
190 |
+
.sumome-dashboard-widget-middle-note-clients img {
|
191 |
+
width: 30%;
|
192 |
+
padding: 20px;
|
193 |
+
}
|
194 |
+
|
195 |
+
|
196 |
+
.sumome-dashboard-widget-row-title {
|
197 |
+
text-align: center;
|
198 |
+
}
|
199 |
+
.sumome-plugin-left div {
|
200 |
+
padding-left: 0px;
|
201 |
+
}
|
202 |
+
|
203 |
+
.sumome-plugin-left, .sumome-plugin-right {
|
204 |
+
display: block;
|
205 |
+
min-width: 80%;
|
206 |
+
margin:25px;
|
207 |
+
}
|
208 |
+
.sumome-plugin-left img, .sumome-plugin-right img {
|
209 |
+
width: 100%;
|
210 |
+
margin:5px;
|
211 |
+
|
212 |
+
}
|
213 |
+
|
214 |
+
.sumome-logged-in-container .header-banner {
|
215 |
+
background-image: url('/wp-content/plugins/sumome/images/sumome-banner.jpg');
|
216 |
+
background-repeat: no-repeat;
|
217 |
+
min-height: 150px;
|
218 |
+
background-position: top center;
|
219 |
+
background-size: auto 150px;
|
220 |
+
}
|
221 |
+
|
222 |
+
.sumome-plugin-main .sumome-plugin-popup-contents .site-ID {
|
223 |
+
padding-top:0px;
|
224 |
+
}
|
225 |
+
|
226 |
+
.statistics table {
|
227 |
+
text-align: center;
|
228 |
+
}
|
229 |
+
|
230 |
+
|
231 |
+
|
232 |
+
/*actual sumome product*/
|
233 |
+
div .sumome-launcher .sumome-launcher-apps ul li {
|
234 |
+
margin: 0px auto;
|
235 |
+
width: 90%;
|
236 |
+
padding: 0px;
|
237 |
+
float: none;
|
238 |
+
}
|
239 |
+
|
240 |
+
.sumome-modal.sumome-xlarge {
|
241 |
+
width: 90%;
|
242 |
+
left: 5%;
|
243 |
+
top: 5vh;
|
244 |
+
height: 90vh;
|
245 |
+
}
|
246 |
+
|
247 |
+
.sumome-modal.sumome-medium {
|
248 |
+
left: 5%;
|
249 |
+
width: 90%;
|
250 |
+
}
|
251 |
+
|
252 |
+
.sumome-control {
|
253 |
+
z-index: 1000;
|
254 |
+
}
|
255 |
+
|
256 |
+
.sumome-plugin-popup-container .about h1 {
|
257 |
+
line-height: 50px;
|
258 |
+
padding-top: 10px;
|
259 |
+
}
|
260 |
+
|
261 |
+
.sumome-plugin-popup-container .hero-bg.about {
|
262 |
+
height: 130px;
|
263 |
+
}
|
264 |
+
|
265 |
+
.sumome-modal .sumome-launcher-app-5d26e2da-aef5-41c1-947a-624497281723,
|
266 |
+
.sumome-modal .sumome-launcher-app-ee27a0af-9947-40c9-8eab-0ab6a4f7a9c1 {
|
267 |
+
display:none;
|
268 |
+
|
269 |
+
}
|
270 |
+
|
271 |
+
|
272 |
+
}
|
styles/statistics.css
ADDED
@@ -0,0 +1,531 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
.statistics-container {
|
3 |
+
border-radius: 5px;
|
4 |
+
|
5 |
+
margin-bottom: 20px;
|
6 |
+
display:none;
|
7 |
+
}
|
8 |
+
.statistics-inner-container {
|
9 |
+
|
10 |
+
}
|
11 |
+
.statistics {
|
12 |
+
min-height: 100px;
|
13 |
+
background-color: #f0f3f5;
|
14 |
+
max-width: 960px;
|
15 |
+
|
16 |
+
margin: 0px auto;
|
17 |
+
word-wrap: normal;
|
18 |
+
-ms-word-wrap: normal;
|
19 |
+
-moz-box-sizing: border-box;
|
20 |
+
-webkit-box-sizing: border-box;
|
21 |
+
box-sizing: border-box;
|
22 |
+
padding: 0;
|
23 |
+
border: 0;
|
24 |
+
font: inherit;
|
25 |
+
font-size: 100%;
|
26 |
+
vertical-align: baseline;
|
27 |
+
|
28 |
+
width: auto;
|
29 |
+
line-height: initial;
|
30 |
+
font-style: initial;
|
31 |
+
font-weight: initial;
|
32 |
+
border-collapse: collapse;
|
33 |
+
border-spacing: 0;
|
34 |
+
text-align: left;
|
35 |
+
font-weight: normal;
|
36 |
+
vertical-align: middle;
|
37 |
+
quotes: none;
|
38 |
+
border: none;
|
39 |
+
border: initial;
|
40 |
+
-webkit-border-radius: 0;
|
41 |
+
-moz-border-radius: 0;
|
42 |
+
-ms-border-radius: 0;
|
43 |
+
-o-border-radius: 0;
|
44 |
+
border-radius: 0;
|
45 |
+
/* copied stats styles */
|
46 |
+
/*background-color: #f0f3f5;*/
|
47 |
+
border-radius: 5px;
|
48 |
+
margin-bottom: 20px;
|
49 |
+
padding: 20px 20px 0;
|
50 |
+
}
|
51 |
+
.statistics:before, .statistics:after {
|
52 |
+
content: "";
|
53 |
+
content: none;
|
54 |
+
}
|
55 |
+
.statistics div, .statistics span, .statistics applet, .statistics object, .statistics iframe,
|
56 |
+
.statistics h1, .statistics h2, .statistics h3, .statistics h4, .statistics h5, .statistics h6, .statistics p, .statistics blockquote, .statistics pre,
|
57 |
+
.statistics a, .statistics abbr, .statistics acronym, .statistics address, .statistics big, .statistics cite, .statistics code,
|
58 |
+
.statistics del, .statistics dfn, .statistics em, .statistics img, .statistics ins, .statistics kbd, .statistics q, .statistics s, .statistics samp,
|
59 |
+
.statistics small, .statistics strike, .statistics strong, .statistics sub, .statistics sup, .statistics tt, .statistics var,
|
60 |
+
.statistics b, .statistics u, .statistics i, .statistics center,
|
61 |
+
.statistics dl, .statistics dt, .statistics dd, .statistics ol, .statistics ul, .statistics li,
|
62 |
+
.statistics fieldset, .statistics form, .statistics label, .statistics legend,
|
63 |
+
.statistics table, .statistics caption, .statistics tbody, .statistics tfoot, .statistics thead, .statistics tr, .statistics th, .statistics td,
|
64 |
+
.statistics article, .statistics aside, .statistics canvas, .statistics details, .statistics embed,
|
65 |
+
.statistics figure, .statistics figcaption, .statistics footer, .statistics header, .statistics hgroup,
|
66 |
+
.statistics menu, .statistics nav, .statistics output, .statistics ruby, .statistics section, .statistics summary,
|
67 |
+
.statistics time, .statistics mark, .statistics audio, .statistics video {
|
68 |
+
word-wrap: normal;
|
69 |
+
-ms-word-wrap: normal;
|
70 |
+
-moz-box-sizing: border-box;
|
71 |
+
-webkit-box-sizing: border-box;
|
72 |
+
box-sizing: border-box;
|
73 |
+
margin: 0;
|
74 |
+
padding: 0;
|
75 |
+
border: 0;
|
76 |
+
font: inherit;
|
77 |
+
font-size: 100%;
|
78 |
+
vertical-align: baseline;
|
79 |
+
background: transparent;
|
80 |
+
line-height: inherit;
|
81 |
+
font-style: inherit;
|
82 |
+
font-weight: inherit;
|
83 |
+
opacity: 1;
|
84 |
+
color: inherit;
|
85 |
+
border: initial;
|
86 |
+
-webkit-border-radius: 0;
|
87 |
+
-moz-border-radius: 0;
|
88 |
+
-ms-border-radius: 0;
|
89 |
+
-o-border-radius: 0;
|
90 |
+
border-radius: 0;
|
91 |
+
}
|
92 |
+
.statistics div {
|
93 |
+
width: auto;
|
94 |
+
float: none;
|
95 |
+
}
|
96 |
+
.statistics table {
|
97 |
+
border-collapse: collapse;
|
98 |
+
border-spacing: 0;
|
99 |
+
}
|
100 |
+
.statistics caption, .statistics th, .statistics td {
|
101 |
+
text-align: left;
|
102 |
+
font-weight: normal;
|
103 |
+
vertical-align: middle;
|
104 |
+
}
|
105 |
+
.statistics q, .statistics blockquote {
|
106 |
+
quotes: none;
|
107 |
+
}
|
108 |
+
.statistics q:before, .statistics q:after, .statistics blockquote:before, .statistics blockquote:after {
|
109 |
+
content: "";
|
110 |
+
content: none;
|
111 |
+
}
|
112 |
+
.statistics img {
|
113 |
+
width: auto;
|
114 |
+
}
|
115 |
+
.statistics a img {
|
116 |
+
border: none;
|
117 |
+
}
|
118 |
+
.statistics input[type=text], .statistics input[type=password],
|
119 |
+
.statistics input[type=radio], .statistics input[type=checkbox],
|
120 |
+
.statistics textarea {
|
121 |
+
border-width: 1px;
|
122 |
+
outline: 0;
|
123 |
+
border-color: black;
|
124 |
+
display: block;
|
125 |
+
margin: 0;
|
126 |
+
padding: 0;
|
127 |
+
width: auto;
|
128 |
+
max-width: initial;
|
129 |
+
max-height: initial;
|
130 |
+
min-width: initial;
|
131 |
+
min-height: initial;
|
132 |
+
line-height: initial;
|
133 |
+
position: static;
|
134 |
+
-webkit-border-radius: 3px 3px;
|
135 |
+
-moz-border-radius: 3px / 3px;
|
136 |
+
border-radius: 3px / 3px;
|
137 |
+
}
|
138 |
+
.statistics input[type=text]:focus, .statistics input[type=password]:focus,
|
139 |
+
.statistics input[type=radio]:focus, .statistics input[type=checkbox]:focus,
|
140 |
+
.statistics textarea:focus {
|
141 |
+
outline: 0;
|
142 |
+
}
|
143 |
+
.statistics input[type=radio], .statistics input[type=checkbox] {
|
144 |
+
max-width: initial;
|
145 |
+
max-height: initial;
|
146 |
+
min-width: initial;
|
147 |
+
min-height: initial;
|
148 |
+
position: static;
|
149 |
+
display: inline-block;
|
150 |
+
}
|
151 |
+
.statistics select {
|
152 |
+
border-color: black;
|
153 |
+
outline: 0;
|
154 |
+
margin: 0;
|
155 |
+
padding: 0;
|
156 |
+
width: auto;
|
157 |
+
max-width: initial;
|
158 |
+
max-height: initial;
|
159 |
+
min-width: initial;
|
160 |
+
min-height: initial;
|
161 |
+
position: static;
|
162 |
+
-webkit-border-radius: 3px 3px;
|
163 |
+
-moz-border-radius: 3px / 3px;
|
164 |
+
border-radius: 3px / 3px;
|
165 |
+
}
|
166 |
+
.statistics select:focus {
|
167 |
+
outline: 0;
|
168 |
+
}
|
169 |
+
.statistics button {
|
170 |
+
border: initial;
|
171 |
+
-webkit-border-radius: 0;
|
172 |
+
-moz-border-radius: 0;
|
173 |
+
-ms-border-radius: 0;
|
174 |
+
-o-border-radius: 0;
|
175 |
+
border-radius: 0;
|
176 |
+
}
|
177 |
+
.statistics address:before, .statistics address:after,
|
178 |
+
.statistics article:before, .statistics article:after,
|
179 |
+
.statistics aside:before, .statistics aside:after,
|
180 |
+
.statistics audio:before, .statistics audio:after,
|
181 |
+
.statistics blockquote:before, .statistics blockquote:after,
|
182 |
+
.statistics canvas:before, .statistics canvas:after,
|
183 |
+
.statistics dd:before, .statistics dd:after,
|
184 |
+
.statistics div:before, .statistics div:after,
|
185 |
+
.statistics dl:before, .statistics dl:after,
|
186 |
+
.statistics fieldset:before, .statistics fieldset:after,
|
187 |
+
.statistics figcaption:before, .statistics figcaption:after,
|
188 |
+
.statistics figure:before, .statistics figure:after,
|
189 |
+
.statistics footer:before, .statistics footer:after,
|
190 |
+
.statistics form:before, .statistics form:after,
|
191 |
+
.statistics header:before, .statistics header:after,
|
192 |
+
.statistics hr:before, .statistics hr:after,
|
193 |
+
.statistics main:before, .statistics main:after,
|
194 |
+
.statistics output:before, .statistics output:after,
|
195 |
+
.statistics pre:before, .statistics pre:after,
|
196 |
+
.statistics section:before, .statistics section:after,
|
197 |
+
.statistics table:before, .statistics table:after,
|
198 |
+
.statistics tfoot:before, .statistics tfoot:after,
|
199 |
+
.statistics video:before, .statistics video:after {
|
200 |
+
content: none;
|
201 |
+
}
|
202 |
+
.statistics a {
|
203 |
+
text-decoration: none;
|
204 |
+
}
|
205 |
+
.statistics h4 {
|
206 |
+
font-weight: 700;
|
207 |
+
}
|
208 |
+
.statistics .statsEmpty {
|
209 |
+
padding-bottom: 20px;
|
210 |
+
}
|
211 |
+
.statistics .center {
|
212 |
+
display: block;
|
213 |
+
margin: 0 auto;
|
214 |
+
}
|
215 |
+
.statistics .article,
|
216 |
+
.statistics .articleLink {
|
217 |
+
display: table-cell;
|
218 |
+
}
|
219 |
+
.statistics .article {
|
220 |
+
vertical-align: middle;
|
221 |
+
}
|
222 |
+
.statistics > table.row {
|
223 |
+
width: 100%;
|
224 |
+
}
|
225 |
+
.statistics > table.row .wrapper {
|
226 |
+
display: inline-block;
|
227 |
+
vertical-align: top;
|
228 |
+
/*width: 100%;*/
|
229 |
+
min-width: 280px;
|
230 |
+
width: 19.8%;
|
231 |
+
}
|
232 |
+
.statistics > table.row .wrapper table.four.columns {
|
233 |
+
margin-bottom: 20px;
|
234 |
+
width: 100%;
|
235 |
+
}
|
236 |
+
.statistics > table.row .wrapper.last {
|
237 |
+
margin-right: 0;
|
238 |
+
}
|
239 |
+
.statistics > table.row .statTable td {
|
240 |
+
padding-bottom: 4px;
|
241 |
+
vertical-align: top;
|
242 |
+
}
|
243 |
+
.statistics > table.row:last-child, .statistics > table.row:last-child .wrapper {
|
244 |
+
margin-bottom: 0;
|
245 |
+
padding-bottom: 0;
|
246 |
+
margin: 0px 10px;
|
247 |
+
}
|
248 |
+
.statistics h1 {
|
249 |
+
font-size: 38px;
|
250 |
+
line-height: 38px;
|
251 |
+
text-align: center;
|
252 |
+
color: #ffffff;
|
253 |
+
padding-top: 8px;
|
254 |
+
padding-bottom: 6px;
|
255 |
+
}
|
256 |
+
.statistics h2 {
|
257 |
+
font-size: 14px;
|
258 |
+
line-height: 14px;
|
259 |
+
font-weight: 500;
|
260 |
+
padding-top: 14px;
|
261 |
+
text-align: center;
|
262 |
+
color: #ffffff;
|
263 |
+
}
|
264 |
+
.statistics h3 {
|
265 |
+
font-size: 32px;
|
266 |
+
line-height: 40px;
|
267 |
+
text-align: center;
|
268 |
+
color: #ffffff;
|
269 |
+
padding-bottom: 8px;
|
270 |
+
}
|
271 |
+
.statistics h4 {
|
272 |
+
font-size: 12px;
|
273 |
+
line-height: 12px;
|
274 |
+
font-weight: 700;
|
275 |
+
padding-top: 10px;
|
276 |
+
padding-bottom: 6px;
|
277 |
+
text-align: center;
|
278 |
+
color: #ffffff;
|
279 |
+
text-transform: uppercase;
|
280 |
+
}
|
281 |
+
.statistics h5 {
|
282 |
+
font-size: 28px;
|
283 |
+
line-height: 28px;
|
284 |
+
letter-spacing: -3px;
|
285 |
+
text-align: center;
|
286 |
+
color: #495259;
|
287 |
+
}
|
288 |
+
.statistics h6 {
|
289 |
+
font-size: 14px;
|
290 |
+
line-height: 14px;
|
291 |
+
font-weight: 700;
|
292 |
+
padding-top: 8px;
|
293 |
+
padding-bottom: 4px;
|
294 |
+
text-align: center;
|
295 |
+
color: #495259;
|
296 |
+
text-transform: uppercase;
|
297 |
+
}
|
298 |
+
.statistics p {
|
299 |
+
margin: 0;
|
300 |
+
font-size: 12px;
|
301 |
+
line-height: 12px;
|
302 |
+
letter-spacing: -1px;
|
303 |
+
color: #495259;
|
304 |
+
}
|
305 |
+
.statistics p.date {
|
306 |
+
font-size: 18px;
|
307 |
+
font-weight: 400;
|
308 |
+
padding-top: 6px;
|
309 |
+
text-align: center;
|
310 |
+
letter-spacing: 0;
|
311 |
+
color: #ffffff;
|
312 |
+
line-height: 22px;
|
313 |
+
}
|
314 |
+
.statistics .proText {
|
315 |
+
color: #ffffff;
|
316 |
+
font-size: 16px;
|
317 |
+
line-height: 26px;
|
318 |
+
text-align: center;
|
319 |
+
letter-spacing: 0px;
|
320 |
+
}
|
321 |
+
.statistics .proContainer {
|
322 |
+
height: auto;
|
323 |
+
background: #6c62c5;
|
324 |
+
padding: 9px 10px 8px 10px;
|
325 |
+
border-radius: 5px;
|
326 |
+
}
|
327 |
+
.statistics a:visited {
|
328 |
+
color: #ffffff !important;
|
329 |
+
}
|
330 |
+
.statistics .small-button {
|
331 |
+
color: #ffffff !important;
|
332 |
+
font-weight: 700 !important;
|
333 |
+
box-shadow: none;
|
334 |
+
margin-bottom: 5px;
|
335 |
+
}
|
336 |
+
.statistics .article {
|
337 |
+
height: auto;
|
338 |
+
font-size: 23px;
|
339 |
+
line-height: 28px;
|
340 |
+
background: #6c62c5;
|
341 |
+
padding: 30px 14px;
|
342 |
+
border-radius: 5px;
|
343 |
+
text-align: center;
|
344 |
+
color: #ffffff !important;
|
345 |
+
height: 233px;
|
346 |
+
}
|
347 |
+
.statistics .article:hover {
|
348 |
+
color: #ffffff !important;
|
349 |
+
text-decoration: underline;
|
350 |
+
}
|
351 |
+
.statistics .appTitle {
|
352 |
+
height: 28px;
|
353 |
+
border-top-left-radius: 4px;
|
354 |
+
border-top-right-radius: 4px;
|
355 |
+
}
|
356 |
+
.statistics .titlePadding {
|
357 |
+
padding-left: 20px;
|
358 |
+
}
|
359 |
+
.statistics .statTable {
|
360 |
+
border-radius: 4px;
|
361 |
+
width: 280px;
|
362 |
+
background-color: #fff;
|
363 |
+
}
|
364 |
+
.statistics .negativeNumber {
|
365 |
+
font-size: 17px;
|
366 |
+
color: #f33f13;
|
367 |
+
text-align: center;
|
368 |
+
padding-top: 4px;
|
369 |
+
padding-bottom: 6px;
|
370 |
+
}
|
371 |
+
.statistics .positiveNumber {
|
372 |
+
font-size: 17px;
|
373 |
+
color: #56c92b;
|
374 |
+
text-align: center;
|
375 |
+
padding-top: 4px;
|
376 |
+
padding-bottom: 6px;
|
377 |
+
}
|
378 |
+
.statistics .neutralNumber {
|
379 |
+
font-size: 11px;
|
380 |
+
color: #ffffff;
|
381 |
+
background-color: #a4a9ac;
|
382 |
+
padding: 3px 6px;
|
383 |
+
border-radius: 4px;
|
384 |
+
}
|
385 |
+
.statistics .graphLeft {
|
386 |
+
padding-left: 10px;
|
387 |
+
letter-spacing: 0;
|
388 |
+
height: 12px;
|
389 |
+
text-align: left;
|
390 |
+
}
|
391 |
+
.statistics p {
|
392 |
+
margin-bottom: 0px;
|
393 |
+
}
|
394 |
+
.statistics .graphBar {
|
395 |
+
height: 10px;
|
396 |
+
border-radius: 4px 4px 4px 4px;
|
397 |
+
-webkit-border-radius: 4px 4px 4px 4px;
|
398 |
+
}
|
399 |
+
.statistics .graphBlank {
|
400 |
+
padding-top: 10px;
|
401 |
+
letter-spacing: 0;
|
402 |
+
}
|
403 |
+
.statistics .graphDivider {
|
404 |
+
padding: 0 10px 6px 10px !important;
|
405 |
+
padding-bottom: 6px !important;
|
406 |
+
}
|
407 |
+
.statistics .grayLine {
|
408 |
+
height: 1px;
|
409 |
+
width: 100%;
|
410 |
+
background: #c2dced;
|
411 |
+
margin-bottom: 4px;
|
412 |
+
font-size: 0px;
|
413 |
+
}
|
414 |
+
.statistics .graphNumberRight {
|
415 |
+
font-weight: 700;
|
416 |
+
letter-spacing: 0;
|
417 |
+
padding-left: 4px;
|
418 |
+
padding-right: 10px;
|
419 |
+
text-align: right;
|
420 |
+
float: right;
|
421 |
+
}
|
422 |
+
.statistics .totalNumber {
|
423 |
+
text-align: center;
|
424 |
+
padding-top: 3px;
|
425 |
+
padding-bottom: 7px;
|
426 |
+
}
|
427 |
+
.statistics.sumome-dashboard-stats {
|
428 |
+
position: relative !important;
|
429 |
+
top: initial;
|
430 |
+
left: initial;
|
431 |
+
padding: 20px 0 0 20px;
|
432 |
+
}
|
433 |
+
.statistics.sumome-dashboard-stats .articleLink .article {
|
434 |
+
height: 233px;
|
435 |
+
}
|
436 |
+
.statistics h3.headline {
|
437 |
+
color: #000000;
|
438 |
+
text-align: left;
|
439 |
+
font-size: 18px;
|
440 |
+
line-height: 28px;
|
441 |
+
padding-bottom: 20px;
|
442 |
+
text-align: center;
|
443 |
+
}
|
444 |
+
.statistics.sumome-dashboard-stats > table.row .wrapper {
|
445 |
+
margin-right: 20px;
|
446 |
+
width: calc(100% - 20px) !important;
|
447 |
+
}
|
448 |
+
.statistics.sumome-dashboard-stats.columns-2 > table.row .wrapper {
|
449 |
+
width: calc(50% - 20px) !important;
|
450 |
+
}
|
451 |
+
.statistics.sumome-dashboard-stats.columns-3 > table.row .wrapper {
|
452 |
+
width: calc(33.333333333% - 20px) !important;
|
453 |
+
}
|
454 |
+
.statistics.sumome-dashboard-stats.columns-4 > table.row .wrapper {
|
455 |
+
width: calc(25% - 20px) !important;
|
456 |
+
}
|
457 |
+
.statistics.sumome-dashboard-stats.columns-5 > table.row .wrapper {
|
458 |
+
width: calc(20% - 20px) !important;
|
459 |
+
}
|
460 |
+
.statistics.sumome-dashboard-stats.columns-6 > table.row .wrapper {
|
461 |
+
width: calc(16.666666666% - 20px) !important;
|
462 |
+
}
|
463 |
+
.statistics.sumome-dashboard-stats.columns-7 > table.row .wrapper {
|
464 |
+
width: calc(14.285714285% - 20px) !important;
|
465 |
+
}
|
466 |
+
.statistics.sumome-dashboard-stats.columns-8 > table.row .wrapper {
|
467 |
+
width: calc(12.5% - 20px) !important;
|
468 |
+
}
|
469 |
+
.statistics.sumome-dashboard-stats.columns-9 > table.row .wrapper {
|
470 |
+
width: calc(12.5% - 20px) !important;
|
471 |
+
}
|
472 |
+
.statistics.sumome-dashboard-stats.columns-10 > table.row .wrapper {
|
473 |
+
width: calc(11.111111111% - 20px) !important;
|
474 |
+
}
|
475 |
+
|
476 |
+
.statistics-search {
|
477 |
+
padding: 0px;
|
478 |
+
width:960px;
|
479 |
+
margin:0px auto;
|
480 |
+
border-radius-top-right: 5px;
|
481 |
+
border-radius-top-left: 5px;
|
482 |
+
}
|
483 |
+
.statistics-search .sumome-switch input {
|
484 |
+
margin: 0px !important;
|
485 |
+
}
|
486 |
+
.statistics-search .sumome-switch label {
|
487 |
+
margin-bottom: 16px !important;
|
488 |
+
}
|
489 |
+
.statistics-search select {
|
490 |
+
margin: 0 0 16px 0 !important;
|
491 |
+
}
|
492 |
+
.statistics-search .sumome-dashboard-stats-date-select-wrapper {
|
493 |
+
background-color: #f0f3f5;
|
494 |
+
}
|
495 |
+
.statistics-search .sumome-dashboard-stats-date-select-wrapper select, .statistics-search .sumome-dashboard-stats-date-select-wrapper input {
|
496 |
+
margin: 0 0 0 0 !important;
|
497 |
+
}
|
498 |
+
.statistics-search .sumome-dashboard-stats-date-select-wrapper input.sumome-dashboard-end-date {
|
499 |
+
cursor: default;
|
500 |
+
}
|
501 |
+
.statistics-search .sumome-dashboard-stats-date-select-wrapper select.sumome-dashboard-date-select {
|
502 |
+
background-color: #ffffff;
|
503 |
+
}
|
504 |
+
.statistics-search .sumome-dashboard-stats-date-select-wrapper .sumome-columns {
|
505 |
+
padding-left: 20px;
|
506 |
+
padding-right: 20px;
|
507 |
+
width: auto;
|
508 |
+
display: inline-block;
|
509 |
+
}
|
510 |
+
.statistics-search .sumome-dashboard-stats-date-select-wrapper .sumome-button {
|
511 |
+
margin-bottom: 0px;
|
512 |
+
}
|
513 |
+
.statistics-search .sumome-dashboard-stats-date-select-wrapper div.sumome-small-12 {
|
514 |
+
margin-top: 20px;
|
515 |
+
}
|
516 |
+
.statistics-search .sumome-row-header span {
|
517 |
+
cursor: default;
|
518 |
+
}
|
519 |
+
.statistics-search .sumome-dashboard-stats-wrapper {
|
520 |
+
background-color: #f0f3f5;
|
521 |
+
width: 100% !important;
|
522 |
+
}
|
523 |
+
.statistics-search .sumome-dashboard-stats-wrapper div.row {
|
524 |
+
display: inline;
|
525 |
+
width: 100%;
|
526 |
+
}
|
527 |
+
|
528 |
+
#wpbody-content {
|
529 |
+
float: none;
|
530 |
+
width: auto;
|
531 |
+
}
|
styles/styles.css
ADDED
@@ -0,0 +1,1276 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body,html {
|
2 |
+
background-color: #ffffff !important;
|
3 |
+
}
|
4 |
+
.mobile{
|
5 |
+
display:none;
|
6 |
+
}
|
7 |
+
.no-mobile{
|
8 |
+
display:block;
|
9 |
+
}
|
10 |
+
.hidden {
|
11 |
+
display:none;
|
12 |
+
}
|
13 |
+
|
14 |
+
#wpcontent {
|
15 |
+
padding-left: 0px;
|
16 |
+
}
|
17 |
+
|
18 |
+
#wpfooter {
|
19 |
+
display:none;
|
20 |
+
}
|
21 |
+
|
22 |
+
#wpbody-content {
|
23 |
+
padding-bottom: 0px;
|
24 |
+
}
|
25 |
+
#wpbody-content,
|
26 |
+
.sumome-plugin-container,
|
27 |
+
#wpwrap{
|
28 |
+
background:#f0f3f5;
|
29 |
+
}
|
30 |
+
.sumome-plugin-container {
|
31 |
+
clear:both;
|
32 |
+
}
|
33 |
+
.sumome-plugin-linkalike {
|
34 |
+
display:inline-block;
|
35 |
+
width:auto;
|
36 |
+
cursor:pointer;
|
37 |
+
color:#6c65c2;
|
38 |
+
|
39 |
+
}
|
40 |
+
.sumome-plugin-main {
|
41 |
+
width: 100%;
|
42 |
+
box-sizing: border-box;
|
43 |
+
-moz-box-sizing: border-box;
|
44 |
+
-webkit-box-sizing: border-box;
|
45 |
+
|
46 |
+
color:#65717b;
|
47 |
+
}
|
48 |
+
.sumome-plugin-main .sumome-dashboard-widget-inner {
|
49 |
+
margin: 0px;
|
50 |
+
}
|
51 |
+
|
52 |
+
|
53 |
+
.sumome-plugin-main .row {
|
54 |
+
width: 100%;
|
55 |
+
margin-left: auto;
|
56 |
+
margin-right: auto;
|
57 |
+
margin-top: 0;
|
58 |
+
margin-bottom: 0;
|
59 |
+
box-sizing: border-box;
|
60 |
+
-moz-box-sizing: border-box;
|
61 |
+
-webkit-box-sizing: border-box;
|
62 |
+
display:block;
|
63 |
+
}
|
64 |
+
|
65 |
+
.sumome-plugin-main .row .row {
|
66 |
+
width: auto;
|
67 |
+
margin-left: -0.9375rem;
|
68 |
+
margin-right: -0.9375rem;
|
69 |
+
margin-top: 0;
|
70 |
+
margin-bottom: 0;
|
71 |
+
max-width: none;
|
72 |
+
}
|
73 |
+
|
74 |
+
.sumome-plugin-main .columns {
|
75 |
+
position: relative;
|
76 |
+
padding-left: 0.9375rem;
|
77 |
+
padding-right: 0.9375rem;
|
78 |
+
float: left;
|
79 |
+
box-sizing: border-box;
|
80 |
+
-moz-box-sizing: border-box;
|
81 |
+
-webkit-box-sizing: border-box;
|
82 |
+
}
|
83 |
+
|
84 |
+
.sumome-plugin-main .large-4 {
|
85 |
+
width: 33.33333%;
|
86 |
+
}
|
87 |
+
|
88 |
+
.sumome-plugin-main .large-6 {
|
89 |
+
width: 50%;
|
90 |
+
}
|
91 |
+
|
92 |
+
.sumome-plugin-main .large-8 {
|
93 |
+
width: 66.66667%;
|
94 |
+
}
|
95 |
+
|
96 |
+
.sumome-plugin-main .large-12 {
|
97 |
+
width: 100%;
|
98 |
+
}
|
99 |
+
|
100 |
+
.sumome-plugin-main .th {
|
101 |
+
line-height: 0;
|
102 |
+
display: inline-block;
|
103 |
+
border: solid 4px #fff;
|
104 |
+
max-width: 100%;
|
105 |
+
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
106 |
+
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
107 |
+
-webkit-transition: all 200ms ease-out;
|
108 |
+
-moz-transition: all 200ms ease-out;
|
109 |
+
transition: all 200ms ease-out;
|
110 |
+
}
|
111 |
+
|
112 |
+
.sumome-plugin-main img {
|
113 |
+
display: inline-block;
|
114 |
+
vertical-align: middle;
|
115 |
+
max-width: 100%;
|
116 |
+
height: auto;
|
117 |
+
}
|
118 |
+
|
119 |
+
.sumome-plugin-main h4 {
|
120 |
+
font-size: 1.4375rem;
|
121 |
+
line-height: 1.4;
|
122 |
+
margin: .5em 0;
|
123 |
+
}
|
124 |
+
|
125 |
+
.sumome-plugin-main .sumome-instructions {
|
126 |
+
text-align:center;
|
127 |
+
width:50%;
|
128 |
+
margin:0px auto;
|
129 |
+
padding-top:10px;
|
130 |
+
}
|
131 |
+
.sumome-plugin-main .site-ID .sumome-instructions {
|
132 |
+
text-align:left;
|
133 |
+
}
|
134 |
+
|
135 |
+
.sumome-plugin-main .site-ID input[type=submit] {
|
136 |
+
border-radius: 4px;
|
137 |
+
height: 40px;
|
138 |
+
padding: 0px 20px;
|
139 |
+
background: #5bc739;
|
140 |
+
color: #fff;
|
141 |
+
margin: 0px auto;
|
142 |
+
text-transform: uppercase;
|
143 |
+
border-color: transparent;
|
144 |
+
-webkit-box-shadow: none;
|
145 |
+
box-shadow: none;
|
146 |
+
text-shadow: none;
|
147 |
+
|
148 |
+
|
149 |
+
|
150 |
+
line-height: 40px;
|
151 |
+
|
152 |
+
}
|
153 |
+
|
154 |
+
|
155 |
+
.sumome-plugin-main .header-banner {
|
156 |
+
text-align:center;
|
157 |
+
background:#f0f3f5;
|
158 |
+
margin-bottom:20px;
|
159 |
+
}
|
160 |
+
.sumome-plugin-main .header-banner img {
|
161 |
+
display: inline-block;
|
162 |
+
vertical-align: middle;
|
163 |
+
/*width: 100%;*/
|
164 |
+
max-width: 100%;
|
165 |
+
height: auto;
|
166 |
+
margin-bottom:0px;
|
167 |
+
}
|
168 |
+
.sumome-plugin-main .list-number {
|
169 |
+
border-radius: 25px;
|
170 |
+
background: #6c65c2;
|
171 |
+
width: 35px;
|
172 |
+
height: 35px;
|
173 |
+
color:#fff;
|
174 |
+
display:inline-block;
|
175 |
+
text-align:center;
|
176 |
+
line-height:35px;
|
177 |
+
font-size:18px;
|
178 |
+
}
|
179 |
+
.sumome-plugin-main .list-number-title {
|
180 |
+
color:#0f74b5;
|
181 |
+
font-size:24px;
|
182 |
+
font-weight:bold;
|
183 |
+
display:inline-block;
|
184 |
+
width:auto;
|
185 |
+
margin-left:10px;
|
186 |
+
}
|
187 |
+
.sumome-plugin-main .site-ID .list-bullet {
|
188 |
+
margin-top: 0px !important;
|
189 |
+
}
|
190 |
+
.sumome-plugin-main .row3 .list-bullet{
|
191 |
+
margin-top:80px;
|
192 |
+
}
|
193 |
+
|
194 |
+
.sumome-plugin-main .row3, .row3 p.submit {
|
195 |
+
text-align:center;
|
196 |
+
margin:0px auto;
|
197 |
+
padding-top:25px;
|
198 |
+
}
|
199 |
+
.sumome-plugin-main .row3 table {
|
200 |
+
margin:0px auto;
|
201 |
+
}
|
202 |
+
|
203 |
+
.sumome-plugin-main input[type=text] {
|
204 |
+
border-radius: 5px;
|
205 |
+
border: 1px solid #dcd9ea;
|
206 |
+
height:41px;
|
207 |
+
}
|
208 |
+
.sumome-plugin-main .site-ID-container button.button {
|
209 |
+
height:40px;
|
210 |
+
line-height:40px;
|
211 |
+
vertical-align:middle;
|
212 |
+
padding:0px 20px;
|
213 |
+
border-radius: 0px 0px 0px 0px;
|
214 |
+
background-color:#c8cbcd;
|
215 |
+
color:#65717b;
|
216 |
+
position:relative;
|
217 |
+
}
|
218 |
+
.sumome-plugin-popup-container .site-ID button.button {
|
219 |
+
height:40px;
|
220 |
+
line-height:40px;
|
221 |
+
vertical-align:middle;
|
222 |
+
padding:0px 20px;
|
223 |
+
border-radius: 4px;
|
224 |
+
background-color:#d6d3e5;
|
225 |
+
color:#5a596d;
|
226 |
+
position:relative;
|
227 |
+
left:20px;
|
228 |
+
font-weight:bold;
|
229 |
+
}
|
230 |
+
|
231 |
+
.login-popup-container .site-ID button.button{
|
232 |
+
border-radius: 0px !important;
|
233 |
+
left:0px;
|
234 |
+
background-color:#d0d4d5;
|
235 |
+
color:#000;
|
236 |
+
|
237 |
+
}
|
238 |
+
|
239 |
+
|
240 |
+
|
241 |
+
.sumome-plugin-main input[type=submit] {
|
242 |
+
border-radius: 50px;
|
243 |
+
height:40px;
|
244 |
+
padding:0px 20px;
|
245 |
+
background: #8067db;
|
246 |
+
color:#fff;
|
247 |
+
margin:0px auto;
|
248 |
+
text-transform: uppercase;
|
249 |
+
border-color: transparent;
|
250 |
+
-webkit-box-shadow: none;
|
251 |
+
box-shadow: none;
|
252 |
+
text-shadow: none;
|
253 |
+
}
|
254 |
+
.sumome-plugin-main .footer {
|
255 |
+
background: #f0f3f5;
|
256 |
+
margin:0px auto;
|
257 |
+
text-align:center;
|
258 |
+
position:relative;
|
259 |
+
bottom:0px;
|
260 |
+
left:0px;
|
261 |
+
height:250px;
|
262 |
+
padding-top:60px;
|
263 |
+
line-height:25px;
|
264 |
+
margin-top:50px;
|
265 |
+
}
|
266 |
+
.sumome-plugin-main .footer a {
|
267 |
+
color: #8067db;
|
268 |
+
cursor:pointer;
|
269 |
+
text-decoration:underline;
|
270 |
+
}
|
271 |
+
.sumome-plugin-main .sumome-help {
|
272 |
+
width:50%;
|
273 |
+
margin:0px auto;
|
274 |
+
background: #f0f3f5;
|
275 |
+
}
|
276 |
+
.text {
|
277 |
+
/*padding: 0% 50%;*/
|
278 |
+
width: 80% !important;
|
279 |
+
margin: 0px auto;
|
280 |
+
float: none !important;
|
281 |
+
/*padding-top:15%;*/
|
282 |
+
padding-top:15px;
|
283 |
+
}
|
284 |
+
.sumome-plugin-main .sumome-help span {
|
285 |
+
display:block;
|
286 |
+
}
|
287 |
+
|
288 |
+
.sumome-logged-in-container .header-banner {
|
289 |
+
background-image:url('../images/sumome-banner.jpg');
|
290 |
+
background-repeat:no-repeat;
|
291 |
+
min-height:238px;
|
292 |
+
background-position:center;
|
293 |
+
}
|
294 |
+
|
295 |
+
.sumome-logged-in-container-overlay.dim {
|
296 |
+
opacity:.4;
|
297 |
+
background-color:#000;
|
298 |
+
position:absolute;
|
299 |
+
top:0px;
|
300 |
+
bottom:0px;
|
301 |
+
left:0px;
|
302 |
+
right:0px;
|
303 |
+
}
|
304 |
+
|
305 |
+
.sumome-logged-in-container .items {
|
306 |
+
width:80%;
|
307 |
+
margin:0px auto;
|
308 |
+
}
|
309 |
+
|
310 |
+
.sumome-logged-in-container .items div:hover {
|
311 |
+
box-shadow: 0 10px 18px rgba(0,0,0,0.2);
|
312 |
+
opacity: 1;
|
313 |
+
color:#0073b7;
|
314 |
+
}
|
315 |
+
.sumome-logged-in-container .items div:hover div,.sumome-logged-in-container .items div div:hover {
|
316 |
+
box-shadow: none;
|
317 |
+
opacity: 1;
|
318 |
+
color:#0073b7;
|
319 |
+
}
|
320 |
+
|
321 |
+
.sumome-logged-in-container .items .item-tile,
|
322 |
+
.sumome-logged-in-container .items .item-tile-background
|
323 |
+
{
|
324 |
+
width:22%;
|
325 |
+
display:inline-block;
|
326 |
+
background-color:#fff;
|
327 |
+
color:#65717b;
|
328 |
+
height:200px;
|
329 |
+
line-height:200px;
|
330 |
+
margin:25px 1%;
|
331 |
+
cursor:pointer;
|
332 |
+
font-size:20px;
|
333 |
+
text-align:center;
|
334 |
+
border:1px solid #c8cbcd;
|
335 |
+
border-radius:4px;
|
336 |
+
vertical-align:top;
|
337 |
+
font-weight:bold;
|
338 |
+
transition: 0.2s all ease;
|
339 |
+
opacity: .6;
|
340 |
+
}
|
341 |
+
|
342 |
+
/* top 2 tiles */
|
343 |
+
.sumome-logged-in-container .items>div:nth-child(1),.sumome-logged-in-container .items>div:nth-child(2) {
|
344 |
+
width:46%;
|
345 |
+
/*float:right;*/
|
346 |
+
font-size:30px;
|
347 |
+
text-align:right;
|
348 |
+
}
|
349 |
+
|
350 |
+
.sumome-logged-in-container .items div.sumo-apps,.sumome-logged-in-container .items div.sumo-store {
|
351 |
+
white-space:nowrap;
|
352 |
+
}
|
353 |
+
.sumome-logged-in-container .items div.sumo-apps .item-tile-title,.sumome-logged-in-container .items div.sumo-store .item-tile-title {
|
354 |
+
padding-right:100px;
|
355 |
+
display:inline-block;
|
356 |
+
}
|
357 |
+
|
358 |
+
.sumome-logged-in-container .items div.sumo-apps .item-tile-background {
|
359 |
+
/*background-image:url(../images/apps-bg.png);
|
360 |
+
background-position: -120px -90px;*/
|
361 |
+
background: linear-gradient(to right, rgba(255,255,255,0),rgba(255,255,255,1)), url(../images/apps-bg.png) -120px -90px no-repeat;
|
362 |
+
}
|
363 |
+
.sumome-logged-in-container .items div.sumo-store .item-tile-background {
|
364 |
+
/*background-image:url(../images/store-bg.png);
|
365 |
+
background-position: -80px -75px;*/
|
366 |
+
background: linear-gradient(to right, rgba(255,255,255,0),rgba(255,255,255,1)), url(../images/store-bg.png) -80px -75px no-repeat;
|
367 |
+
}
|
368 |
+
.sumome-logged-in-container .items .item-tile .item-tile-background {
|
369 |
+
background-repeat: no-repeat;
|
370 |
+
display:inline-block;
|
371 |
+
width:50%;
|
372 |
+
margin: 0px;
|
373 |
+
border:0px;
|
374 |
+
float: left;
|
375 |
+
}
|
376 |
+
|
377 |
+
.sumome-logged-in-container .items div:nth-child(even) {
|
378 |
+
/*float:right;*/
|
379 |
+
}
|
380 |
+
|
381 |
+
|
382 |
+
.sumome-control ul li.sumome-control-notifications .sumome-control-notifications-bubble {
|
383 |
+
border-radius: 50%;
|
384 |
+
padding: 1px;
|
385 |
+
}
|
386 |
+
|
387 |
+
.sumome-logged-in-container .items .notification-count,
|
388 |
+
.sumome-logged-in-container .items .notification-count:hover,
|
389 |
+
.sumome-logged-in-container .items:hover .notification-count
|
390 |
+
{
|
391 |
+
|
392 |
+
text-align: center;
|
393 |
+
font-family: 'Open Sans', sans-serif;
|
394 |
+
font-weight: 700;
|
395 |
+
font-size: 15px;
|
396 |
+
color: #fff;
|
397 |
+
-webkit-border-radius: 4em;
|
398 |
+
-moz-border-radius: 4em;
|
399 |
+
border-radius: 50%;
|
400 |
+
background: #f03e18;
|
401 |
+
border: none;
|
402 |
+
text-indent: 0;
|
403 |
+
cursor: pointer;
|
404 |
+
white-space: nowrap;
|
405 |
+
height: 30px;
|
406 |
+
width: 30px;
|
407 |
+
line-height: 30px;
|
408 |
+
margin-left: 10px;
|
409 |
+
margin-bottom: 5px;
|
410 |
+
display: inline-block;
|
411 |
+
vertical-align: middle;
|
412 |
+
float:unset;
|
413 |
+
}
|
414 |
+
|
415 |
+
|
416 |
+
.sumome-plugin-main .form-container {
|
417 |
+
min-height:450px;
|
418 |
+
/*height:450px;*/
|
419 |
+
}
|
420 |
+
|
421 |
+
.loading {
|
422 |
+
text-align:center;
|
423 |
+
padding-top: 0px;
|
424 |
+
height: calc( 100vh - 32px);
|
425 |
+
line-height: calc( 100vh - 32px);
|
426 |
+
vertical-align: middle;
|
427 |
+
background-color: #fff;
|
428 |
+
}
|
429 |
+
|
430 |
+
.back-logged-in {
|
431 |
+
cursor:pointer;
|
432 |
+
display:none;
|
433 |
+
}
|
434 |
+
|
435 |
+
.tabbed-content-container {
|
436 |
+
text-align:center;
|
437 |
+
width:80%;
|
438 |
+
margin:0px auto;
|
439 |
+
}
|
440 |
+
|
441 |
+
.pointer {
|
442 |
+
cursor:pointer;
|
443 |
+
}
|
444 |
+
|
445 |
+
.sumome-plugin-main.logged-in.status-logged-in {
|
446 |
+
display:block;
|
447 |
+
}
|
448 |
+
.sumome-plugin-main.logged-in.status-logged-out {
|
449 |
+
display:none;
|
450 |
+
}
|
451 |
+
.sumome-plugin-main.logged-out.status-logged-out {
|
452 |
+
display:block;
|
453 |
+
}
|
454 |
+
.sumome-plugin-main.logged-out.status-logged-in {
|
455 |
+
display:none;
|
456 |
+
}
|
457 |
+
|
458 |
+
.sumome-dashboard-widget-row.status-logged-in {
|
459 |
+
display:none;
|
460 |
+
}
|
461 |
+
|
462 |
+
.sumome-plugin-main.status-logged-out .site-ID table {
|
463 |
+
margin: 0px auto;
|
464 |
+
width: 100%;
|
465 |
+
}
|
466 |
+
.sumome-plugin-main.status-logged-out .sumome-site-id {
|
467 |
+
width: 100%;
|
468 |
+
height: 80px;
|
469 |
+
}
|
470 |
+
|
471 |
+
|
472 |
+
.sumome-site-id {
|
473 |
+
width: 570px;
|
474 |
+
height: 40px;
|
475 |
+
padding-top: 8px;
|
476 |
+
font-size: 15px;
|
477 |
+
vertical-align: bottom;
|
478 |
+
}
|
479 |
+
.site-ID-container {
|
480 |
+
|
481 |
+
}
|
482 |
+
|
483 |
+
|
484 |
+
/*site id popup*/
|
485 |
+
.sumome-plugin-main .site-ID {
|
486 |
+
width: 80%;
|
487 |
+
margin: 0px auto;
|
488 |
+
text-align:center;
|
489 |
+
}
|
490 |
+
.sumome-plugin-main .site-id-form .site-ID {
|
491 |
+
width: 100%;
|
492 |
+
}
|
493 |
+
|
494 |
+
.sumome-plugin-main .site-ID .list-number-title {
|
495 |
+
font-size: 25px;
|
496 |
+
}
|
497 |
+
.sumome-plugin-main .site-ID table {
|
498 |
+
margin: 0px auto;
|
499 |
+
}
|
500 |
+
.sumome-site-id {
|
501 |
+
width: 570px;
|
502 |
+
height: 40px;
|
503 |
+
padding-top: 8px;
|
504 |
+
font-size: 15px;
|
505 |
+
vertical-align: bottom;
|
506 |
+
}
|
507 |
+
.sumome-plugin-main .site-ID .button-primary {
|
508 |
+
padding-top: 14px;
|
509 |
+
padding-right: 28px;
|
510 |
+
padding-bottom: 15px;
|
511 |
+
padding-left: 28px;
|
512 |
+
font-size: 13px;
|
513 |
+
height: auto !important;
|
514 |
+
width: auto;
|
515 |
+
}
|
516 |
+
|
517 |
+
/*end site id popup*/
|
518 |
+
|
519 |
+
/*start popup*/
|
520 |
+
.sumome-plugin-popup-container {
|
521 |
+
display:none;
|
522 |
+
width:100vw;
|
523 |
+
height:70vh;
|
524 |
+
/*position:absolute;*/
|
525 |
+
top:5%;
|
526 |
+
left:0px;
|
527 |
+
min-width:200px;
|
528 |
+
position:fixed;
|
529 |
+
}
|
530 |
+
.sumome-plugin-popup-container .sumome-plugin-popup-container-outer {
|
531 |
+
width:60%;
|
532 |
+
/*height:70vh;
|
533 |
+
max-height:70vh;*/
|
534 |
+
margin:0px auto;
|
535 |
+
overflow:hidden;
|
536 |
+
overflow-x:hidden;
|
537 |
+
border-bottom: 1px solid #000;
|
538 |
+
}
|
539 |
+
|
540 |
+
.sumome-plugin-popup-container .sumome-plugin-popup-container-inner.default-height {
|
541 |
+
height:70vh !important;
|
542 |
+
}
|
543 |
+
.sumome-plugin-popup-container .sumome-plugin-popup-container-inner {
|
544 |
+
width:100%;
|
545 |
+
max-height:70vh;
|
546 |
+
margin:0px auto;
|
547 |
+
overflow:auto;
|
548 |
+
overflow-x:hidden;
|
549 |
+
background-color:white;
|
550 |
+
border:1px solid black;
|
551 |
+
padding-bottom: 0px;
|
552 |
+
}
|
553 |
+
|
554 |
+
.sumome-plugin-popup-container .sumome-plugin-popup-container-inner.disable-scroll {
|
555 |
+
overflow:hidden;
|
556 |
+
}
|
557 |
+
.sumome-plugin-popup-container .popup-iframe {
|
558 |
+
width:100%;
|
559 |
+
height:100%;
|
560 |
+
border-bottom: 1px solid black;
|
561 |
+
}
|
562 |
+
|
563 |
+
.sumome-plugin-popup-contents {
|
564 |
+
height: 100%;
|
565 |
+
}
|
566 |
+
|
567 |
+
.popup-header-container {
|
568 |
+
cursor: pointer;
|
569 |
+
width: 60%;
|
570 |
+
margin: 0px auto;
|
571 |
+
text-align:right;
|
572 |
+
|
573 |
+
border-top-left-radius:: 5px;
|
574 |
+
background-color: #0073b7;
|
575 |
+
color: #f0f3f5;
|
576 |
+
font-size: 16px;
|
577 |
+
font-family: "Open Sans",sans-serif;
|
578 |
+
font-weight: bold;
|
579 |
+
line-height: 20px;
|
580 |
+
text-shadow: none;
|
581 |
+
position: relative;
|
582 |
+
z-index: 1;
|
583 |
+
height: 60px;
|
584 |
+
}
|
585 |
+
|
586 |
+
.sumome-plugin-popup-container .sumome-modal-header {
|
587 |
+
margin: 0px auto;
|
588 |
+
display: block;
|
589 |
+
background-color: #0073b7;
|
590 |
+
color: #f0f3f5;
|
591 |
+
font-size: 16px;
|
592 |
+
font-family: "Open Sans",sans-serif;
|
593 |
+
font-weight: bold;
|
594 |
+
line-height: 20px;
|
595 |
+
text-shadow: none;
|
596 |
+
position: relative;
|
597 |
+
z-index: 1;
|
598 |
+
height: 60px;
|
599 |
+
cursor: auto !important;
|
600 |
+
margin: 0px;
|
601 |
+
padding: 0px;
|
602 |
+
border-top-left-radius:5px;
|
603 |
+
border-top-right-radius:5px;
|
604 |
+
}
|
605 |
+
.sumome-plugin-popup-container .sumome-modal-header .popup-title {
|
606 |
+
width: auto;
|
607 |
+
display: inline-block;
|
608 |
+
vertical-align: middle;
|
609 |
+
line-height: 60px;
|
610 |
+
padding-left: 45px;
|
611 |
+
background-image:url('../images/sumome_crown.png');
|
612 |
+
background-repeat:no-repeat;
|
613 |
+
background-position: left center;
|
614 |
+
margin-left: 20px;
|
615 |
+
}
|
616 |
+
|
617 |
+
|
618 |
+
.popup-close, .dashboard-widget-close-button {
|
619 |
+
background: url('../images/modal-close.png') no-repeat;
|
620 |
+
float: right;
|
621 |
+
width: 15px;
|
622 |
+
height: 16px;
|
623 |
+
margin-top: 20px;
|
624 |
+
margin-right: 15px;
|
625 |
+
cursor:pointer;
|
626 |
+
}
|
627 |
+
/*end popup*/
|
628 |
+
|
629 |
+
|
630 |
+
|
631 |
+
/*dashboard*/
|
632 |
+
.sumome-dashboard-widget {
|
633 |
+
position: fixed;
|
634 |
+
top: 32px;
|
635 |
+
left: 160px;
|
636 |
+
bottom: 0;
|
637 |
+
z-index: 999;
|
638 |
+
width: calc( 100% - 160px);
|
639 |
+
overflow: auto;
|
640 |
+
box-sizing: border-box;
|
641 |
+
background-color: #f1f1f1;
|
642 |
+
}
|
643 |
+
.sumome-dashboard-widget-inner {
|
644 |
+
margin: 20px;
|
645 |
+
/*padding: 80px 16px;*/
|
646 |
+
min-height: calc( 100vh - 72px);
|
647 |
+
position: relative;
|
648 |
+
background: #fff;
|
649 |
+
border: 1px solid #ddd;
|
650 |
+
color:#65717b;
|
651 |
+
overflow-x: hidden;
|
652 |
+
}
|
653 |
+
.sumome-dashboard-widget.minimized {
|
654 |
+
cursor:pointer;
|
655 |
+
height:300px;
|
656 |
+
width:auto;
|
657 |
+
position: static;
|
658 |
+
}
|
659 |
+
.sumome-dashboard-widget-learn-more {
|
660 |
+
color:#fff;
|
661 |
+
text-decoration:underline;
|
662 |
+
font-size:.8em;
|
663 |
+
font-weight:normal;
|
664 |
+
padding-top:10px;
|
665 |
+
padding-bottom:0px;
|
666 |
+
cursor:pointer;
|
667 |
+
display:none;
|
668 |
+
}
|
669 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-learn-more {
|
670 |
+
display:block;
|
671 |
+
}
|
672 |
+
|
673 |
+
|
674 |
+
|
675 |
+
.sumome-dashboard-widget div.forms {
|
676 |
+
text-align:center;
|
677 |
+
}/*
|
678 |
+
.sumome-dashboard-widget div.dashboard-widget-close-button {
|
679 |
+
text-align: right;
|
680 |
+
cursor: pointer;
|
681 |
+
border: 0px solid red;
|
682 |
+
z-index: 1000;
|
683 |
+
position: absolute;
|
684 |
+
top: 25px;
|
685 |
+
left: 160px;
|
686 |
+
width: calc( 100% - 185px);
|
687 |
+
}
|
688 |
+
|
689 |
+
|
690 |
+
.sumome-dashboard-widget div.dashboard-widget-close-button div {
|
691 |
+
color: #000;
|
692 |
+
background-color: #fff;
|
693 |
+
width: 60px;
|
694 |
+
float: right;
|
695 |
+
text-align: center;
|
696 |
+
}
|
697 |
+
*/
|
698 |
+
.sumome-dashboard-widget div.dashboard-widget-close-button {
|
699 |
+
margin-top: 10px;
|
700 |
+
margin-right: 10px;
|
701 |
+
right: 0px;
|
702 |
+
top: 0px;
|
703 |
+
}
|
704 |
+
.sumome-dashboard-widget.minimized div.dashboard-widget-close-button {
|
705 |
+
display:none;
|
706 |
+
}
|
707 |
+
|
708 |
+
.sumome-dashboard-widget div {
|
709 |
+
/*width:auto;*/
|
710 |
+
}
|
711 |
+
|
712 |
+
.sumome-dashboard-widget-inner ul {
|
713 |
+
list-style-image: url('../images/checkmark.png');
|
714 |
+
text-align:left;
|
715 |
+
margin:0px auto;
|
716 |
+
font-size:16px;
|
717 |
+
line-height:25px;
|
718 |
+
}
|
719 |
+
.sumome-dashboard-widget-inner .sumome-dashboard-widget-top-note ul {
|
720 |
+
width:70%;
|
721 |
+
}
|
722 |
+
.sumome-dashboard-widget-inner .sumome-dashboard-widget-row ul {
|
723 |
+
margin-left:25px;
|
724 |
+
}
|
725 |
+
|
726 |
+
|
727 |
+
.login-popup-container .sumome-plugin-popup-container .sumome-modal-header {
|
728 |
+
height: 225px;
|
729 |
+
background-image:url('../images/popup-login-header.png');
|
730 |
+
background-repeat: no-repeat;
|
731 |
+
background-size:100%;
|
732 |
+
}
|
733 |
+
.login-popup-container .popup-title {
|
734 |
+
display:none;
|
735 |
+
}
|
736 |
+
|
737 |
+
.login-popup-container .popup-close,.dashboard-widget-close-button {
|
738 |
+
width: 40px;
|
739 |
+
height: 40px;
|
740 |
+
margin-top: 20px;
|
741 |
+
margin-right: 15px;
|
742 |
+
background-color: #7584c5;
|
743 |
+
color: #fff;
|
744 |
+
border:2px solid #a5cff5;
|
745 |
+
border-radius: 99999px !important;
|
746 |
+
background-position: center;
|
747 |
+
}
|
748 |
+
|
749 |
+
|
750 |
+
.login-popup-container .sumome-plugin-popup-container {
|
751 |
+
height:auto;
|
752 |
+
z-index: 9999;
|
753 |
+
}
|
754 |
+
|
755 |
+
.login-popup-container .sumome-plugin-popup-container .sumome-plugin-popup-container-outer {
|
756 |
+
width: 600px;
|
757 |
+
height:760px;
|
758 |
+
background-color:#eff3f6;
|
759 |
+
border: 0px;
|
760 |
+
border-radius: 4px;
|
761 |
+
box-shadow: 0 10px 18px rgba(0,0,0,0.2);
|
762 |
+
}
|
763 |
+
|
764 |
+
.login-popup-container .sumome-plugin-popup-container .sumome-plugin-popup-container-inner {
|
765 |
+
background-color:#eff3f6;
|
766 |
+
max-height: none;
|
767 |
+
border:0px;
|
768 |
+
overflow: auto;
|
769 |
+
overflow-x: hidden;
|
770 |
+
}
|
771 |
+
|
772 |
+
.login-popup-container .form-container fieldset {
|
773 |
+
width: 100%;
|
774 |
+
box-shadow: unset;
|
775 |
+
border:0px;
|
776 |
+
background-color:#fff;
|
777 |
+
}
|
778 |
+
|
779 |
+
.login-popup-container .form-container .signup-row {
|
780 |
+
background-color:#eff3f6;
|
781 |
+
margin-top:0px;
|
782 |
+
|
783 |
+
}
|
784 |
+
|
785 |
+
.sumome-dashboard-widget-inner.dim {
|
786 |
+
opacity:.2;
|
787 |
+
pointer-events: none;
|
788 |
+
}
|
789 |
+
|
790 |
+
|
791 |
+
|
792 |
+
.sumome-dashboard-widget-header {
|
793 |
+
background-image:url(../images/sumome-site-welcome-header.jpg);
|
794 |
+
background-size:100%;
|
795 |
+
background-repeat:no-repeat;
|
796 |
+
color:#fff;
|
797 |
+
-webkit-background-size: cover; /* For WebKit*/
|
798 |
+
-moz-background-size: cover; /* Mozilla*/
|
799 |
+
-o-background-size: cover; /* Opera*/
|
800 |
+
background-size: cover; /* Generic*/
|
801 |
+
padding-bottom: 20px;
|
802 |
+
}
|
803 |
+
.sumome-dashboard-widget-header-title{
|
804 |
+
font-size:50px;
|
805 |
+
font-weight:bold;
|
806 |
+
margin:0px auto;
|
807 |
+
width:50%;
|
808 |
+
padding-top:50px;
|
809 |
+
padding-bottom:30px;
|
810 |
+
text-align:center;
|
811 |
+
line-height:50px;
|
812 |
+
}
|
813 |
+
.sumome-dashboard-widget-header-desc {
|
814 |
+
margin:0px auto;
|
815 |
+
text-align:center;
|
816 |
+
line-height:30px;
|
817 |
+
}
|
818 |
+
.sumome-dashboard-widget-separator {
|
819 |
+
min-height:180px;
|
820 |
+
}
|
821 |
+
.sumome-dashboard-widget-separator2 {
|
822 |
+
min-height:180px;
|
823 |
+
background-color:#f0f3f5;
|
824 |
+
}
|
825 |
+
.sumome-dashboard-widget-top-note-container{
|
826 |
+
position:absolute;
|
827 |
+
width:100% !important;
|
828 |
+
}
|
829 |
+
.sumome-dashboard-widget-top-note{
|
830 |
+
|
831 |
+
max-width:650px !important;
|
832 |
+
border: 1px solid #c8cbcd;
|
833 |
+
border-radius:4px;
|
834 |
+
background-color:#fff;
|
835 |
+
padding-bottom: 50px;
|
836 |
+
margin-top:25px;
|
837 |
+
background-image:url(../images/sumome-site-welcome-graph.png);
|
838 |
+
background-repeat:no-repeat;
|
839 |
+
background-position:center;
|
840 |
+
margin: 25px auto;
|
841 |
+
}
|
842 |
+
.sumome-dashboard-widget-top-note-title {
|
843 |
+
font-size:35px;
|
844 |
+
font-weight:bold;
|
845 |
+
margin:0px auto;
|
846 |
+
padding-top:50px;
|
847 |
+
padding-bottom:30px;
|
848 |
+
text-align:center;
|
849 |
+
line-height:40px;
|
850 |
+
color:#0f74b5;
|
851 |
+
}
|
852 |
+
.sumome-dashboard-widget-top-note-desc {
|
853 |
+
width:80%;
|
854 |
+
margin:0px auto;
|
855 |
+
text-align:center;
|
856 |
+
font-size:18px;
|
857 |
+
line-height:28px;
|
858 |
+
}
|
859 |
+
.sumome-dashboard-widget-row {
|
860 |
+
max-width:1100px;
|
861 |
+
white-space:nowrap;
|
862 |
+
margin:0px auto;
|
863 |
+
margin-top:80px;
|
864 |
+
margin-bottom:30px;
|
865 |
+
}
|
866 |
+
.sumome-plugin-left,.sumome-plugin-right {
|
867 |
+
display:inline-block;
|
868 |
+
min-width:50%;
|
869 |
+
text-align: center;
|
870 |
+
vertical-align: middle;
|
871 |
+
float:none !important;
|
872 |
+
}
|
873 |
+
|
874 |
+
.sumome-plugin-center {
|
875 |
+
text-align: center;
|
876 |
+
}
|
877 |
+
|
878 |
+
.sumome-plugin-left div {
|
879 |
+
padding-left:80px;
|
880 |
+
}
|
881 |
+
|
882 |
+
.sumome-plugin-left img,.sumome-plugin-right img {
|
883 |
+
width:420px;
|
884 |
+
float:left;
|
885 |
+
margin-left:50px;
|
886 |
+
}
|
887 |
+
|
888 |
+
|
889 |
+
.sumome-dashboard-widget-row-title {
|
890 |
+
color:#0f74b5;
|
891 |
+
text-align:left;
|
892 |
+
font-size:20px;
|
893 |
+
margin:0px auto;
|
894 |
+
width:80%;
|
895 |
+
margin-bottom:20px;
|
896 |
+
}
|
897 |
+
.sumome-dashboard-widget-row-desc {
|
898 |
+
text-align:left;
|
899 |
+
font-size:15px;
|
900 |
+
width:80%;
|
901 |
+
white-space:normal;
|
902 |
+
margin:0px auto;
|
903 |
+
line-height:22px;
|
904 |
+
}
|
905 |
+
|
906 |
+
|
907 |
+
.sumome-dashboard-widget-middle-note-title {
|
908 |
+
font-size:25px;
|
909 |
+
margin:0px auto;
|
910 |
+
padding-top:35px;
|
911 |
+
padding-bottom:15px;
|
912 |
+
text-align:center;
|
913 |
+
line-height:40px;
|
914 |
+
color:#0f74b5;
|
915 |
+
}
|
916 |
+
.sumome-dashboard-widget-middle-note-desc {
|
917 |
+
width:530px;
|
918 |
+
margin:0px auto;
|
919 |
+
text-align:center;
|
920 |
+
font-size:15px;
|
921 |
+
line-height:22px;
|
922 |
+
}
|
923 |
+
.sumome-dashboard-widget-middle-note-clients {
|
924 |
+
margin:0px auto;
|
925 |
+
text-align:center;
|
926 |
+
padding-top:20px;
|
927 |
+
padding-bottom:45px;
|
928 |
+
width: 900px;
|
929 |
+
line-height: 80px;
|
930 |
+
}
|
931 |
+
.sumome-dashboard-widget-middle-note-clients img {
|
932 |
+
padding:0px 30px;
|
933 |
+
line-height:260px;
|
934 |
+
vertical-align:middle;
|
935 |
+
}
|
936 |
+
.sumome-dashboard-widget-header-button {
|
937 |
+
text-align:center;
|
938 |
+
padding-top: 30px;
|
939 |
+
padding-bottom: 70px;
|
940 |
+
}
|
941 |
+
.sumome-dashboard-widget-inner button.green.connect-button,
|
942 |
+
.sumome-dashboard-widget-inner button.green.dashboard-button
|
943 |
+
{
|
944 |
+
background-image: linear-gradient(#87d955,#5bc739);
|
945 |
+
background-color: #87d955;
|
946 |
+
border-color: #87d955 !important;
|
947 |
+
width: auto;
|
948 |
+
height: auto;
|
949 |
+
line-height: 4em;
|
950 |
+
border-radius: 99999px !important;
|
951 |
+
color:#fff;
|
952 |
+
margin:0px auto;
|
953 |
+
font-size:1.4em;
|
954 |
+
padding: 0 3em;
|
955 |
+
box-shadow: unset;
|
956 |
+
}
|
957 |
+
|
958 |
+
/*minimized*/
|
959 |
+
.sumome-dashboard-widget.minimized {
|
960 |
+
height: auto;
|
961 |
+
}
|
962 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-inner {
|
963 |
+
margin: 0px;
|
964 |
+
min-height:auto;
|
965 |
+
}
|
966 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-header-button {
|
967 |
+
padding-top: 0px;
|
968 |
+
padding-bottom: 0px;
|
969 |
+
}
|
970 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-header-title {
|
971 |
+
padding-top: 20px;
|
972 |
+
padding-bottom: 10px;
|
973 |
+
line-height: 40px;
|
974 |
+
font-size: 28px;
|
975 |
+
}
|
976 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-header-desc {
|
977 |
+
font-size: 12px;
|
978 |
+
}
|
979 |
+
|
980 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-header-title,
|
981 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-header-desc {
|
982 |
+
width: 100% !important;
|
983 |
+
}
|
984 |
+
|
985 |
+
|
986 |
+
|
987 |
+
.sumome-wp-dash-logged-in.status-logged-in {
|
988 |
+
display:block;
|
989 |
+
}
|
990 |
+
.sumome-wp-dash-logged-in.status-logged-out {
|
991 |
+
display:none;
|
992 |
+
}
|
993 |
+
.sumome-wp-dash-logged-out.status-logged-out {
|
994 |
+
display:block;
|
995 |
+
padding:0 10px;
|
996 |
+
}
|
997 |
+
.sumome-wp-dash-logged-out.status-logged-in {
|
998 |
+
display:none;
|
999 |
+
}
|
1000 |
+
|
1001 |
+
|
1002 |
+
|
1003 |
+
|
1004 |
+
|
1005 |
+
|
1006 |
+
.sumome-dashboard-widget.minimized button.green {
|
1007 |
+
width: auto;
|
1008 |
+
height: auto;
|
1009 |
+
line-height: 4em;
|
1010 |
+
margin-top: 10px;
|
1011 |
+
padding: 0 3em;
|
1012 |
+
font-size:1em;
|
1013 |
+
}
|
1014 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-top-note {
|
1015 |
+
width: 90% !important;
|
1016 |
+
}
|
1017 |
+
.sumome-dashboard-widget.minimized .sumome-dashboard-widget-container {
|
1018 |
+
display:none;
|
1019 |
+
}
|
1020 |
+
|
1021 |
+
|
1022 |
+
/*end dashboard*/
|
1023 |
+
|
1024 |
+
|
1025 |
+
|
1026 |
+
|
1027 |
+
|
1028 |
+
|
1029 |
+
|
1030 |
+
|
1031 |
+
|
1032 |
+
|
1033 |
+
|
1034 |
+
|
1035 |
+
|
1036 |
+
|
1037 |
+
|
1038 |
+
|
1039 |
+
|
1040 |
+
|
1041 |
+
|
1042 |
+
|
1043 |
+
|
1044 |
+
|
1045 |
+
/*forms*/
|
1046 |
+
.form-container fieldset {
|
1047 |
+
padding: 20px 10px 30px 10px;
|
1048 |
+
border: 1px;
|
1049 |
+
border: 1px solid #c8cbcd;
|
1050 |
+
border-radius: 4px;
|
1051 |
+
box-shadow: 0 10px 18px rgba(0,0,0,0.2);
|
1052 |
+
font-size: 1.125rem;
|
1053 |
+
text-align:center;
|
1054 |
+
width:375px;
|
1055 |
+
margin:0px auto;
|
1056 |
+
min-width:500px;
|
1057 |
+
}
|
1058 |
+
.sumome-dashboard-widget.minimized .form-container fieldset {
|
1059 |
+
min-width:100px;
|
1060 |
+
width:85%;
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
.form-container .row {
|
1064 |
+
padding-top:10px;
|
1065 |
+
}
|
1066 |
+
.form-container input {
|
1067 |
+
color: rgba(0,0,0,0.75);
|
1068 |
+
border-radius: 4px;
|
1069 |
+
box-shadow: none;
|
1070 |
+
font-size: 1.125rem;
|
1071 |
+
line-height: 100%;
|
1072 |
+
padding: 0.5rem;
|
1073 |
+
height: 2.3125rem;
|
1074 |
+
width: 100%;
|
1075 |
+
background-color: #fff;
|
1076 |
+
font-family: inherit;
|
1077 |
+
border-style: solid;
|
1078 |
+
border-width: 1px;
|
1079 |
+
border-color: #ccc;
|
1080 |
+
}
|
1081 |
+
.form-container .label {
|
1082 |
+
min-width:110px;
|
1083 |
+
display:inline-block;
|
1084 |
+
text-align:left;
|
1085 |
+
color: #4d4d4d;
|
1086 |
+
cursor: pointer;
|
1087 |
+
font-weight: normal;
|
1088 |
+
font-size: 16px;
|
1089 |
+
}
|
1090 |
+
.sumome-dashboard-widget.minimized .form-container .label {
|
1091 |
+
display:block;
|
1092 |
+
}
|
1093 |
+
.form-container.signup-form .label {
|
1094 |
+
min-width:130px;
|
1095 |
+
}
|
1096 |
+
.form-container .input {
|
1097 |
+
width:auto;
|
1098 |
+
display:inline-block;
|
1099 |
+
}
|
1100 |
+
.sumome-dashboard-widget.minimized .form-container .input {
|
1101 |
+
display:block;
|
1102 |
+
}
|
1103 |
+
|
1104 |
+
.form-container:not(.site-id-form) button {
|
1105 |
+
border-style: solid;
|
1106 |
+
border-width: 0px;
|
1107 |
+
cursor: pointer;
|
1108 |
+
font-family: "Maven Pro","Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
|
1109 |
+
margin: 0 0 1.25rem;
|
1110 |
+
position: relative;
|
1111 |
+
text-decoration: none;
|
1112 |
+
text-align: center;
|
1113 |
+
border-color: #005c92;
|
1114 |
+
max-width: 100%;
|
1115 |
+
border-radius: 99999px !important;
|
1116 |
+
box-shadow: 0 2px 0 rgba(0,0,0,0.2),inset 0 -3px 0 rgba(0,0,0,0.05);
|
1117 |
+
text-transform: uppercase;
|
1118 |
+
text-shadow: 0 1px 0 rgba(0,0,0,0.3);
|
1119 |
+
font-weight: 700 !important;
|
1120 |
+
font-size: 1.2rem !important;
|
1121 |
+
transition: 0.2s opacity ease !important;
|
1122 |
+
color: #fff !important;
|
1123 |
+
}
|
1124 |
+
.form-container button.green,
|
1125 |
+
.form-container button.green:hover,
|
1126 |
+
.form-container button.green:active {
|
1127 |
+
background-image: linear-gradient(#87d955,#5bc739);
|
1128 |
+
background-color: #87d955;
|
1129 |
+
border-color: #87d955 !important;
|
1130 |
+
width:220px;
|
1131 |
+
height:60px;
|
1132 |
+
line-height: 60px;
|
1133 |
+
}
|
1134 |
+
.sumome-dashboard-widget.minimized .form-container button.green{
|
1135 |
+
display:block;
|
1136 |
+
width:180px;
|
1137 |
+
height:40px;
|
1138 |
+
font-size:.9rem !important;
|
1139 |
+
margin: 0px auto;
|
1140 |
+
line-height: 40px;
|
1141 |
+
}
|
1142 |
+
|
1143 |
+
|
1144 |
+
.form-container button.forgot-password-button,
|
1145 |
+
.form-container button.forgot-password-button:hover,
|
1146 |
+
.form-container button.forgot-password-button:active {
|
1147 |
+
width:400px;
|
1148 |
+
margin-top:25px;
|
1149 |
+
}
|
1150 |
+
|
1151 |
+
|
1152 |
+
|
1153 |
+
.form-container button.green {
|
1154 |
+
opacity: .9;
|
1155 |
+
}
|
1156 |
+
.form-container button.green:hover {
|
1157 |
+
opacity: 1;
|
1158 |
+
}
|
1159 |
+
|
1160 |
+
.form-container button.purple,.form-container button.purple:hover {
|
1161 |
+
background: #6c65c2;
|
1162 |
+
width:180px;
|
1163 |
+
height:50px;
|
1164 |
+
line-height: 50px;
|
1165 |
+
}
|
1166 |
+
.sumome-dashboard-widget.minimized .form-container button.purple{
|
1167 |
+
display:block;
|
1168 |
+
width:150px;
|
1169 |
+
height:35px;
|
1170 |
+
font-size:.9rem !important;
|
1171 |
+
margin: 0px auto;
|
1172 |
+
line-height: 35px;
|
1173 |
+
}
|
1174 |
+
.form-container button.purple {
|
1175 |
+
opacity: 1;
|
1176 |
+
}
|
1177 |
+
.form-container button.purple:hover {
|
1178 |
+
opacity: .9;
|
1179 |
+
}
|
1180 |
+
|
1181 |
+
|
1182 |
+
.form-container .button:hover {
|
1183 |
+
color: #fff;
|
1184 |
+
opacity: 1;
|
1185 |
+
}
|
1186 |
+
|
1187 |
+
.form-container h1, h2, h3, h4, h5, h6, p {
|
1188 |
+
font-family: "Maven Pro","Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
|
1189 |
+
}
|
1190 |
+
.title {
|
1191 |
+
font-size: 20px !important;
|
1192 |
+
font-weight: bold !important;
|
1193 |
+
}
|
1194 |
+
|
1195 |
+
#dashboard-widgets h3, #dashboard-widgets h4, #dashboard_quick_press .drafts h2 {
|
1196 |
+
margin:0px;
|
1197 |
+
padding:0px;
|
1198 |
+
padding:10px 0px !important;
|
1199 |
+
}
|
1200 |
+
|
1201 |
+
|
1202 |
+
.form-container .blue {
|
1203 |
+
height: auto;
|
1204 |
+
background: none;
|
1205 |
+
color: #0f74b5 !important;
|
1206 |
+
}
|
1207 |
+
.text-center {
|
1208 |
+
text-align: center !important;
|
1209 |
+
}
|
1210 |
+
.pointer {
|
1211 |
+
cursor:pointer;
|
1212 |
+
}
|
1213 |
+
.nowrap {
|
1214 |
+
white-space:nowrap;
|
1215 |
+
}
|
1216 |
+
.nowrap h3 {
|
1217 |
+
display:inline-block !important;
|
1218 |
+
}
|
1219 |
+
.form-container.login-form .signup-row {
|
1220 |
+
text-align:center;
|
1221 |
+
margin-top:30px;
|
1222 |
+
line-height:20px;
|
1223 |
+
}
|
1224 |
+
.form-container.login-form .signup-row h3 {
|
1225 |
+
margin-right:20px !important;
|
1226 |
+
}
|
1227 |
+
|
1228 |
+
.sumome-dashboard-widget.minimized .form-container .signup-button {
|
1229 |
+
display: block;
|
1230 |
+
margin: 0px auto;
|
1231 |
+
}
|
1232 |
+
|
1233 |
+
.form-container .link-row {
|
1234 |
+
width: 360px;
|
1235 |
+
text-align: left;
|
1236 |
+
margin: 0px auto !important;
|
1237 |
+
font-size: 13px;
|
1238 |
+
color: #6c65c2;
|
1239 |
+
text-decoration: underline;
|
1240 |
+
transition: 0.2s opacity ease;
|
1241 |
+
}
|
1242 |
+
.form-container.forgot-password-form .link-row,
|
1243 |
+
.form-container.site-id-form .link-row {
|
1244 |
+
text-align: center;
|
1245 |
+
}
|
1246 |
+
.form-container.site-id-form .link-row {
|
1247 |
+
width: 100%;
|
1248 |
+
}
|
1249 |
+
|
1250 |
+
.sumome-dashboard-widget.minimized .form-container .link-row {
|
1251 |
+
width:100% !important;
|
1252 |
+
}
|
1253 |
+
.form-container.signup-form .link-row {
|
1254 |
+
width: 380px !important;
|
1255 |
+
}
|
1256 |
+
|
1257 |
+
.form-container .link-row:hover {
|
1258 |
+
color: #6c65c2;
|
1259 |
+
opacity: .8;
|
1260 |
+
}
|
1261 |
+
.form-container .instructions {
|
1262 |
+
font-size:15px;
|
1263 |
+
width:85%;
|
1264 |
+
margin:0px auto;
|
1265 |
+
text-align:center;
|
1266 |
+
line-height:25px;
|
1267 |
+
}
|
1268 |
+
|
1269 |
+
/*end forms*/
|
1270 |
+
|
1271 |
+
|
1272 |
+
|
1273 |
+
|
1274 |
+
|
1275 |
+
|
1276 |
+
|
sumome.php
CHANGED
@@ -3,146 +3,18 @@
|
|
3 |
Plugin Name: SumoMe
|
4 |
Plugin URI: http://sumome.com
|
5 |
Description: Free Tools to grow your email list from SumoMe.com
|
6 |
-
Version: 1.
|
7 |
Author: SumoMe
|
8 |
Author URI: http://www.SumoMe.com
|
9 |
*/
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
class WP_Plugin_SumoMe {
|
15 |
-
public function __construct()
|
16 |
-
{
|
17 |
-
add_action('wp_head', array(&$this, 'append_script_code'));
|
18 |
-
add_action('admin_head', array(&$this, 'append_admin_script_code'));
|
19 |
-
add_action('admin_menu', array(&$this, 'admin_menu'));
|
20 |
-
add_action('admin_init', array(&$this, 'admin_init'));
|
21 |
-
}
|
22 |
-
|
23 |
-
public static function activate()
|
24 |
-
{
|
25 |
-
}
|
26 |
-
|
27 |
-
public static function deactivate()
|
28 |
-
{
|
29 |
-
}
|
30 |
-
|
31 |
-
public function admin_init()
|
32 |
-
{
|
33 |
-
register_setting('sumome', 'sumome_site_id', array($this, 'sanitize_site_id'));
|
34 |
-
|
35 |
-
$this->check_generate_site_id();
|
36 |
-
|
37 |
-
add_settings_section(
|
38 |
-
'sumome-settings',
|
39 |
-
'Settings',
|
40 |
-
null,
|
41 |
-
'sumome'
|
42 |
-
);
|
43 |
-
|
44 |
-
add_settings_field(
|
45 |
-
'sumome-site_id',
|
46 |
-
'',
|
47 |
-
array(&$this, 'settings_field_site_id'),
|
48 |
-
'sumome',
|
49 |
-
'sumome-settings',
|
50 |
-
array('field' => 'sumome_site_id', 'label_for' => 'sumome_site_id')
|
51 |
-
);
|
52 |
-
}
|
53 |
-
|
54 |
-
public function sanitize_site_id($value)
|
55 |
-
{
|
56 |
-
$value = preg_replace('/[^0-9a-f]/', '', strtolower($value));
|
57 |
-
|
58 |
-
return $value;
|
59 |
-
}
|
60 |
-
|
61 |
-
public function settings_field_site_id($args)
|
62 |
-
{
|
63 |
-
$field = $args['field'];
|
64 |
-
$value = get_option($field);
|
65 |
-
|
66 |
-
if (!$value) {
|
67 |
-
|
68 |
-
}
|
69 |
-
|
70 |
-
echo <<<EOF
|
71 |
-
<script type="text/javascript">
|
72 |
-
function sumome_generate_site_id() {
|
73 |
-
function _sumome_r() {
|
74 |
-
return (Math.random().toString(16)+"000000000").substr(2,8);
|
75 |
-
}
|
76 |
-
|
77 |
-
var new_sumome_site_id = _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r();
|
78 |
-
|
79 |
-
document.getElementById('sumome_site_id').value = new_sumome_site_id;
|
80 |
-
}
|
81 |
-
</script>
|
82 |
-
EOF;
|
83 |
-
echo sprintf('<input type="text" name="%s" id="%s" value="%s" style="width: 540px" /> <button onclick="sumome_generate_site_id(); return false;" class="button">GET NEW SITE ID</button>', $field, $field, esc_attr($value));
|
84 |
-
}
|
85 |
-
|
86 |
-
public function admin_menu()
|
87 |
-
{
|
88 |
-
add_options_page('SumoMe', 'SumoMe', 'manage_options', 'sumome', array(&$this, 'plugin_settings_page'));
|
89 |
-
add_menu_page('SumoMe', 'SumoMe', 'manage_options', 'options-general.php?page=sumome', '', plugins_url('sumome/images/icon.png'));
|
90 |
-
}
|
91 |
-
|
92 |
-
public function plugin_settings_page()
|
93 |
-
{
|
94 |
-
if (!current_user_can('manage_options'))
|
95 |
-
{
|
96 |
-
wp_die(__('You do not have sufficient permissions to access this page.'));
|
97 |
-
}
|
98 |
-
|
99 |
-
include(sprintf('%s/templates/settings.php', dirname(__FILE__)));
|
100 |
-
}
|
101 |
-
|
102 |
-
public function check_generate_site_id()
|
103 |
-
{
|
104 |
-
$site_id = get_option('sumome_site_id');
|
105 |
-
|
106 |
-
if (!$site_id) {
|
107 |
-
$site_id = '';
|
108 |
-
for ($i = 0; $i < 8; $i++) {
|
109 |
-
$site_id .= substr(md5(uniqid()), 0, 8);
|
110 |
-
}
|
111 |
-
|
112 |
-
update_option('sumome_site_id', $site_id);
|
113 |
-
}
|
114 |
-
}
|
115 |
-
|
116 |
-
public function append_script_code()
|
117 |
-
{
|
118 |
-
$this->check_generate_site_id();
|
119 |
-
|
120 |
-
$site_id = get_option('sumome_site_id');
|
121 |
-
|
122 |
-
if ($site_id) {
|
123 |
-
echo('<script data-cfasync="false" src="//load.sumome.com/" data-sumo-site-id="' . esc_attr($site_id) . '" async></script>');
|
124 |
-
}
|
125 |
-
}
|
126 |
-
|
127 |
-
public function append_admin_script_code()
|
128 |
-
{
|
129 |
-
if (defined('XMLRPC_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST'))
|
130 |
-
return false;
|
131 |
-
|
132 |
-
$this->check_generate_site_id();
|
133 |
-
|
134 |
-
$site_id = get_option('sumome_site_id');
|
135 |
-
|
136 |
-
if ($site_id) {
|
137 |
-
echo('<script data-cfasync="false" src="//load.sumome.com/" data-sumo-mode="admin" data-sumo-site-id="' . esc_attr($site_id) . '" async></script>');
|
138 |
-
}
|
139 |
-
}
|
140 |
-
}
|
141 |
|
142 |
-
|
143 |
|
144 |
-
register_activation_hook(__FILE__, array('WP_Plugin_SumoMe', 'activate'));
|
145 |
-
register_deactivation_hook(__FILE__, array('WP_Plugin_SumoMe', 'deactivate'));
|
146 |
|
147 |
$wp_plugin_sumome = new WP_Plugin_SumoMe();
|
148 |
|
3 |
Plugin Name: SumoMe
|
4 |
Plugin URI: http://sumome.com
|
5 |
Description: Free Tools to grow your email list from SumoMe.com
|
6 |
+
Version: 1.15
|
7 |
Author: SumoMe
|
8 |
Author URI: http://www.SumoMe.com
|
9 |
*/
|
10 |
|
11 |
+
define('SUMOME__PLUGIN_DIR', plugin_dir_path( __FILE__ ));
|
12 |
+
define('SUMOME__PLUGIN_FILE', __FILE__);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
+
include 'classes/class_sumome.php';
|
15 |
|
16 |
+
//register_activation_hook(__FILE__, array('WP_Plugin_SumoMe', 'activate'));
|
17 |
+
//register_deactivation_hook(__FILE__, array('WP_Plugin_SumoMe', 'deactivate'));
|
18 |
|
19 |
$wp_plugin_sumome = new WP_Plugin_SumoMe();
|
20 |
|
templates/settings.php
DELETED
@@ -1,106 +0,0 @@
|
|
1 |
-
<link rel="stylesheet" type="text/css" href="<?php echo plugins_url('styles/instructions.css', dirname(__FILE__)) ?>">
|
2 |
-
<div id="sumome_instructions">
|
3 |
-
<!-- Header -->
|
4 |
-
<div class="large-12 columns header-banner">
|
5 |
-
<img src="<?php echo plugins_url('images/sumome-banner.jpg', dirname(__FILE__)) ?>">
|
6 |
-
</div>
|
7 |
-
|
8 |
-
<!-- Register -->
|
9 |
-
<div class="row step1">
|
10 |
-
<div class="large-6 columns">
|
11 |
-
<div class="row">
|
12 |
-
<div class="large-12 columns">
|
13 |
-
<div class="text">
|
14 |
-
<div class="list-bullet">
|
15 |
-
<div class="list-number">1</div>
|
16 |
-
<h4 class="list-number-title">Register Your Account</h4>
|
17 |
-
</div>
|
18 |
-
<p>Click on the SumoMe badge in the top right of your screen. Sign up to register your account and get rolling.</p>
|
19 |
-
</div>
|
20 |
-
</div>
|
21 |
-
</div>
|
22 |
-
</div>
|
23 |
-
<div class="large-6 columns">
|
24 |
-
<img src="<?php echo plugins_url('images/step2-browser.gif', dirname(__FILE__)) ?>">
|
25 |
-
</div>
|
26 |
-
</div>
|
27 |
-
|
28 |
-
<!-- Install Tools -->
|
29 |
-
<div class="row step2">
|
30 |
-
<div class="large-6 columns no-mobile">
|
31 |
-
<img src="<?php echo plugins_url('images/step3-browser.gif', dirname(__FILE__)) ?>">
|
32 |
-
</div>
|
33 |
-
<div class="large-6 columns">
|
34 |
-
<div class="row">
|
35 |
-
<div class="large-12 columns">
|
36 |
-
<div class="text">
|
37 |
-
<div class="list-bullet">
|
38 |
-
<div class="list-number">2</div>
|
39 |
-
<h4 class="list-number-title">Install Tools!</h4>
|
40 |
-
</div>
|
41 |
-
<p>Click on the Sumo Store icon to browse and install the different tools. Each take seconds and only one-click to install.</p>
|
42 |
-
</div>
|
43 |
-
</div>
|
44 |
-
</div>
|
45 |
-
</div>
|
46 |
-
<div class="large-6 columns mobile">
|
47 |
-
<img src="<?php echo plugins_url('images/step3-browser.gif', dirname(__FILE__)) ?>">
|
48 |
-
</div>
|
49 |
-
</div>
|
50 |
-
|
51 |
-
|
52 |
-
<!-- Review -->
|
53 |
-
<div class="row row3">
|
54 |
-
<div class="large-12 columns">
|
55 |
-
<div class="list-bullet">
|
56 |
-
<div class="list-number">3</div>
|
57 |
-
<h4 class="list-number-title">Leave a Review!</h4>
|
58 |
-
</div>
|
59 |
-
<div class="sumome-instructions">We will love you forever if you leave an <a href="https://wordpress.org/support/view/plugin-reviews/sumome" target="_blank">honest review here</a> of the SumoMe plugin.</div>
|
60 |
-
</div>
|
61 |
-
</div>
|
62 |
-
|
63 |
-
|
64 |
-
<!-- Site ID -->
|
65 |
-
<div class="row row3">
|
66 |
-
<div class="large-12 columns">
|
67 |
-
<div class="list-bullet">
|
68 |
-
<h4 class="list-number-title">Your Site Id</h4>
|
69 |
-
</div>
|
70 |
-
|
71 |
-
<form method="post" action="options.php">
|
72 |
-
<?php settings_fields('sumome'); ?>
|
73 |
-
|
74 |
-
<table>
|
75 |
-
<?php do_settings_fields('sumome', 'sumome-settings') ?>
|
76 |
-
</table>
|
77 |
-
<div class="sumome-instructions">
|
78 |
-
NOTE: If you already have a site ID from a previous installation and you wish to retain all your settings then enter the site ID above otherwise you may use a new site ID to perform a new installation. Changing the site ID will lose all settings, apps, and purchases.
|
79 |
-
</div>
|
80 |
-
<?php submit_button(); ?>
|
81 |
-
</form>
|
82 |
-
</div>
|
83 |
-
</div>
|
84 |
-
|
85 |
-
|
86 |
-
<!-- Help -->
|
87 |
-
<div class="row">
|
88 |
-
<div class="large-12 columns footer">
|
89 |
-
<h4 class="list-number-title">Need Help?</h4>
|
90 |
-
<div class="sumome-help">
|
91 |
-
<span>Take a look at our <a href="https://help.sumome.com/" target="_blank">help page</a> to see our frequently answered</span>
|
92 |
-
<span>questions or <a href="https://help.sumome.com/customer/portal/emails/new" target="_blank">send us a message</a> and we will get back to you asap.</span>
|
93 |
-
</div>
|
94 |
-
</div>
|
95 |
-
</div>
|
96 |
-
|
97 |
-
</div>
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
views/landing.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
//header("Access-Control-Allow-Origin: *");
|
3 |
+
if(isset($_COOKIE['__smUser'])) {
|
4 |
+
$sumomeStatus="status-logged-in";
|
5 |
+
} else{
|
6 |
+
$sumomeStatus="status-logged-out";
|
7 |
+
}
|
8 |
+
//print '<pre>'.print_r($_COOKIE,true).'</pre>';
|
9 |
+
|
10 |
+
?>
|
11 |
+
|
12 |
+
<div class="sumome-plugin-container">
|
13 |
+
<!-- Logged in -->
|
14 |
+
<div class="sumome-plugin-main logged-in <?php print $sumomeStatus?>">
|
15 |
+
<div class="loading"><img src="<?php echo plugins_url('images/sumome-loading.gif', dirname(__FILE__)) ?>"></div>
|
16 |
+
</div>
|
17 |
+
|
18 |
+
<!-- Logged out -->
|
19 |
+
<div class="sumome-plugin-main logged-out <?php print $sumomeStatus?>">
|
20 |
+
<?php
|
21 |
+
$noClose=true;
|
22 |
+
include "wordpress-dashboard-welcome-page.php";
|
23 |
+
?>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<?php
|
27 |
+
|
28 |
+
//include_once "siteID.php";
|
29 |
+
include_once "popup.php";
|
30 |
+
?>
|
31 |
+
|
32 |
+
|
33 |
+
</div>
|
views/main.php
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$itemArray['My Apps']['data-name']="sumome-control-apps";
|
3 |
+
$itemArray['My Apps']['class']="sumo-apps";
|
4 |
+
$itemArray['My Apps']['columns']=2;
|
5 |
+
$itemArray['My Apps']['data-type']="sumome-app";
|
6 |
+
|
7 |
+
$itemArray['Store']['data-name']="sumome-control-store";
|
8 |
+
$itemArray['Store']['class']="sumo-store";
|
9 |
+
$itemArray['Store']['columns']=2;
|
10 |
+
$itemArray['Store']['data-type']="sumome-app";
|
11 |
+
|
12 |
+
$itemArray['Notifications']['data-name']="sumome-control-notifications";
|
13 |
+
$itemArray['Notifications']['class']="sumo-notifications";
|
14 |
+
$itemArray['Notifications']['data-type']="sumome-app";
|
15 |
+
$itemArray['Notifications']['columns']=1;
|
16 |
+
|
17 |
+
$itemArray['Statistics']['data-name']="sumome-control-statistics";
|
18 |
+
$itemArray['Statistics']['class']="sumome-popup-no-dim sumo-statistics";
|
19 |
+
$itemArray['Statistics']['columns']=1;
|
20 |
+
|
21 |
+
$itemArray['I Need Help']['data-name']="sumome-control-help";
|
22 |
+
$itemArray['I Need Help']['data-href']="http://help.sumome.com";
|
23 |
+
//$itemArray['I Need Help']['class']="sumome-popup-iframe";
|
24 |
+
$itemArray['I Need Help']['class']="sumome-popup-no-dim";
|
25 |
+
$itemArray['I Need Help']['columns']=1;
|
26 |
+
|
27 |
+
$itemArray['About SumoMe']['data-name']="sumome-control-about";
|
28 |
+
$itemArray['About SumoMe']['class']="sumome-tile-about sumome-popup-no-dim";
|
29 |
+
$itemArray['About SumoMe']['columns']=1;
|
30 |
+
|
31 |
+
$itemArray['Site Settings']['data-name']="sumome-control-advanced-settings";
|
32 |
+
$itemArray['Site Settings']['class']="sumome-tile-advanced-settings sumome-popup-no-dim";
|
33 |
+
$itemArray['Site Settings']['columns']=1;
|
34 |
+
|
35 |
+
$itemArray['SumoMe Settings']['data-name']="sumome-control-settings";
|
36 |
+
$itemArray['SumoMe Settings']['class']="sumo-settings";
|
37 |
+
$itemArray['SumoMe Settings']['data-type']="sumome-app";
|
38 |
+
$itemArray['SumoMe Settings']['columns']=1;
|
39 |
+
?>
|
40 |
+
|
41 |
+
<div class="sumome-logged-in-container">
|
42 |
+
<!-- Header -->
|
43 |
+
|
44 |
+
<div class="header-banner"></div>
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
<div class="items">
|
49 |
+
<?php
|
50 |
+
foreach ($itemArray as $title => $parameters) {
|
51 |
+
print '<div ';
|
52 |
+
foreach ($parameters as $parameterName=>$parameterValue) {
|
53 |
+
if ($parameterName=="class") $parameterValue.=' item-tile';
|
54 |
+
print $parameterName.'="'.$parameterValue.'" ';
|
55 |
+
}
|
56 |
+
print ' data-title="'.$title.'"';
|
57 |
+
print '>';
|
58 |
+
if ($parameters['columns']>1) print'<div class="item-tile-background"></div>';
|
59 |
+
|
60 |
+
print '<div class="item-tile-title">'.$title.'</div></div>';
|
61 |
+
}
|
62 |
+
?>
|
63 |
+
</div>
|
64 |
+
|
65 |
+
<div class="tabbed-content-container">
|
66 |
+
<div class="back-logged-in">Back</div>
|
67 |
+
<div class="content"></div>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
</div>
|
71 |
+
|
72 |
+
|
73 |
+
<div class="sumome-plugin-main main-bottom">
|
74 |
+
<!-- Review -->
|
75 |
+
<div class="row row3">
|
76 |
+
<div class="large-12 columns">
|
77 |
+
<div class="list-bullet">
|
78 |
+
<h4 class="list-number-title">Leave a Review!</h4>
|
79 |
+
</div>
|
80 |
+
<div class="sumome-instructions">We will love you forever if you leave an <a href="https://wordpress.org/support/view/plugin-reviews/sumome" target="_blank">honest review here</a> of the SumoMe plugin.</div>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
<!-- Help -->
|
85 |
+
<div class="row">
|
86 |
+
<div class="large-12 columns footer">
|
87 |
+
<h4 class="list-number-title">Need Help?</h4>
|
88 |
+
<div class="sumome-help">
|
89 |
+
<span>Take a look at our <a target="_blank" href="https://help.sumome.com/">help page</a> to see our frequently answered</span>
|
90 |
+
<span>questions or <a target="_blank" href="https://help.sumome.com/customer/portal/emails/new">send us a message</a> and we will get back to you asap.</span>
|
91 |
+
</div>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
|
96 |
+
|
97 |
+
<div class="sumome-logged-in-container-overlay"></div>
|
98 |
+
<?php
|
99 |
+
include_once "popup.php";
|
100 |
+
?>
|
101 |
+
<script>
|
102 |
+
jQuery(document).ready(function() {
|
103 |
+
//getLoadInformation();
|
104 |
+
})
|
105 |
+
|
106 |
+
|
107 |
+
|
108 |
+
|
109 |
+
</script>
|
110 |
+
|
views/popup.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="sumome-plugin-popup-container">
|
2 |
+
<div class="sumome-plugin-popup-container-outer">
|
3 |
+
<div class="sumome-modal-header">
|
4 |
+
<div class="popup-title"></div>
|
5 |
+
<div class="popup-close"></div>
|
6 |
+
</div>
|
7 |
+
<div class="sumome-plugin-popup-container-inner">
|
8 |
+
|
9 |
+
|
10 |
+
<div class="sumome-plugin-popup-contents"></div>
|
11 |
+
</div>
|
12 |
+
</div>
|
13 |
+
</div>
|
14 |
+
|
views/siteID.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- Site ID -->
|
2 |
+
<div class="sumome-plugin-main">
|
3 |
+
<div class="site-ID-container">
|
4 |
+
<div class="row row3 site-ID">
|
5 |
+
<div class="columns">
|
6 |
+
<div class="list-bullet">
|
7 |
+
<h4 class="list-number-title">Your Site Id</h4>
|
8 |
+
</div>
|
9 |
+
|
10 |
+
<form method="post" action="options.php">
|
11 |
+
<?php settings_fields('sumome'); ?>
|
12 |
+
|
13 |
+
<table>
|
14 |
+
<?php do_settings_fields('sumome', 'sumome-settings') ?>
|
15 |
+
</table>
|
16 |
+
<div class="sumome-instructions">
|
17 |
+
NOTE: If you already have a site ID from a previous installation and you wish to retain all your settings then enter the site ID above otherwise you may use a new site ID to perform a new installation. Changing the site ID will lose all settings, apps, and purchases.
|
18 |
+
</div>
|
19 |
+
<?php submit_button(); ?>
|
20 |
+
</form>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
</div>
|
views/statistics.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="statistics-container">
|
2 |
+
<div class="statistics"></div>
|
3 |
+
</div>
|
4 |
+
<div class="loading"><img src="<?php echo plugins_url('images/sumome-loading.gif', dirname(__FILE__)) ?>"></div>
|
5 |
+
|
6 |
+
|
7 |
+
<script>
|
8 |
+
jQuery(document).ready(function() {
|
9 |
+
getSumomeStats();
|
10 |
+
});
|
11 |
+
|
12 |
+
function getSumomeStats() {
|
13 |
+
var siteID='<?php print get_option('sumome_site_id'); ?>';
|
14 |
+
statisticsDate=jQuery('.sumome-dashboard-date-select').val();
|
15 |
+
if (statisticsDate==null) {
|
16 |
+
statisticsDate='<?php print date('Y-m-d')?>'; //default=last week
|
17 |
+
}
|
18 |
+
jQuery.ajax({
|
19 |
+
url: 'https://sumome.com/apps/dashboard/stats',
|
20 |
+
type: 'POST',
|
21 |
+
dataType: 'json',
|
22 |
+
beforeSend: function(req) {
|
23 |
+
req.setRequestHeader('X-Sumo-Auth', '<?php print $_COOKIE['__smToken']?>');
|
24 |
+
},
|
25 |
+
xhrFields: {
|
26 |
+
withCredentials: false
|
27 |
+
},
|
28 |
+
crossDomain: true,
|
29 |
+
data: {'site_id':siteID,'date': statisticsDate},
|
30 |
+
success: function(data) {
|
31 |
+
jQuery('.loading').hide();
|
32 |
+
jQuery('.statistics').html(data.htmlBody);
|
33 |
+
statisticsDateDropdown();
|
34 |
+
jQuery(".sumome-dashboard-date-select option[value='"+statisticsDate +"']").attr('selected', 'selected');
|
35 |
+
jQuery('.statistics-container').show();
|
36 |
+
},
|
37 |
+
});
|
38 |
+
}
|
39 |
+
|
40 |
+
|
41 |
+
function padDateString(n) {
|
42 |
+
return (n < 10) ? ("0" + n) : n;
|
43 |
+
}
|
44 |
+
|
45 |
+
function getDropDownDateFormat(givenDate,plusDays) {
|
46 |
+
if (plusDays==null) plusDays=0;
|
47 |
+
year=givenDate.getFullYear()
|
48 |
+
month=padDateString(givenDate.getMonth() + 1);
|
49 |
+
day=padDateString(givenDate.getDate()+plusDays);
|
50 |
+
return year+"-"+month+"-"+day;
|
51 |
+
}
|
52 |
+
|
53 |
+
function statisticsDateDropdown() {
|
54 |
+
var thisSundayFull=new Date(new Date().setDate(new Date().getDate() - new Date().getDay()));
|
55 |
+
var todayFull=new Date();
|
56 |
+
var thisWeek=getDropDownDateFormat(todayFull,6);
|
57 |
+
var lastWeek=getDropDownDateFormat(thisSundayFull);
|
58 |
+
|
59 |
+
var dropdownContent= '<select class="sumome-dashboard-date-select">\
|
60 |
+
<option value="'+thisWeek+'">This Week</option>\
|
61 |
+
<option value="'+lastWeek+'" selected="">Last Week</option>\
|
62 |
+
</select><br>';
|
63 |
+
|
64 |
+
jQuery('.statistics .headline').prepend(dropdownContent);
|
65 |
+
}
|
66 |
+
|
67 |
+
jQuery(document).on('change','.sumome-dashboard-date-select',function() {
|
68 |
+
getSumomeStats();
|
69 |
+
});
|
70 |
+
</script>
|
views/wordpress-dashboard-welcome-page.php
ADDED
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="sumome-dashboard-widget-inner">
|
2 |
+
<?php
|
3 |
+
if(isset($_COOKIE['__smUser'])) {
|
4 |
+
$sumomeStatus="status-logged-in";
|
5 |
+
} else{
|
6 |
+
$sumomeStatus="status-logged-out";
|
7 |
+
}
|
8 |
+
|
9 |
+
if (!isset($noClose)) print '<div class="dashboard-widget-close-button"><div></div></div>';
|
10 |
+
?>
|
11 |
+
<div class="sumome-dashboard-widget-header">
|
12 |
+
<div class="forms">
|
13 |
+
|
14 |
+
<div class="sumome-wp-dash-logged-in <?php print $sumomeStatus?>">
|
15 |
+
<div class="sumome-dashboard-widget-header-title">SumoMe is Connected!</div>
|
16 |
+
<div class="sumome-dashboard-widget-header-button">
|
17 |
+
<button type="submit" class="button green dashboard-button" onclick="document.location.href='/wp-admin/admin.php?page=sumome'">DASHBOARD</button>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
|
21 |
+
<div class="sumome-wp-dash-logged-out <?php print $sumomeStatus?>">
|
22 |
+
|
23 |
+
|
24 |
+
<div class="sumome-popup-forms">
|
25 |
+
<?php
|
26 |
+
//include 'forms-logged-out.php';
|
27 |
+
?>
|
28 |
+
</div>
|
29 |
+
<div class="sumome-dashboard-widget-header-title">Please Connect SumoMe</div>
|
30 |
+
<div class="sumome-dashboard-widget-header-desc">SumoMe is the #1 plugin to grow your WordPress site.<br>
|
31 |
+
Connect today and you'll <b>grow</b> your traffic, <b>build</b> a massive following, and <b>track</b> your progress.</div>
|
32 |
+
<div class="sumome-dashboard-widget-header-button">
|
33 |
+
<button type="submit" class="button green connect-button" id="connectFormButton">CONNECT SUMOME</button>
|
34 |
+
<div class="sumome-dashboard-widget-learn-more">Learn More</div>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
<div class="sumome-dashboard-widget-container">
|
40 |
+
<div class="sumome-dashboard-widget-top-note-container">
|
41 |
+
<div class="sumome-dashboard-widget-top-note">
|
42 |
+
<div class="sumome-dashboard-widget-top-note-title">Grow Your Site</div>
|
43 |
+
<div class="sumome-dashboard-widget-top-note-desc">SumoMe is the most trusted way to grow your site,<br> <b>used by 500,000+ websites.</b><br><br>
|
44 |
+
<ul>
|
45 |
+
<li>12 of the most essential tools, all in ONE place</li>
|
46 |
+
<li>No coding needed</li>
|
47 |
+
<li>Get started in 37 seconds</li>
|
48 |
+
</ul>
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
<div class="sumome-dashboard-widget-separator2"></div>
|
53 |
+
<div class="sumome-dashboard-widget-separator"></div>
|
54 |
+
|
55 |
+
<div class="sumome-dashboard-widget-row">
|
56 |
+
<div class="sumome-plugin-left">
|
57 |
+
<div class="sumome-dashboard-widget-row-title">Grow Your Traffic</div>
|
58 |
+
<div class="sumome-dashboard-widget-row-desc">
|
59 |
+
<ul>
|
60 |
+
<li>Add Sharing buttons to your site</li>
|
61 |
+
<li>Make your posts and images go viral</li>
|
62 |
+
<li>Get free traffic</li>
|
63 |
+
</ul>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
<div class="sumome-plugin-right"><img src="<?php print plugins_url('images/sumome-site-welcome1.png', dirname(__FILE__))?>"></div>
|
67 |
+
</div>
|
68 |
+
|
69 |
+
<div class="sumome-dashboard-widget-row no-mobile">
|
70 |
+
<div class="sumome-plugin-left"><img src="<?php print plugins_url('images/sumome-site-welcome2.png', dirname(__FILE__))?>"></div>
|
71 |
+
<div class="sumome-plugin-right">
|
72 |
+
<div class="sumome-dashboard-widget-row-title">Build A Following</div>
|
73 |
+
<div class="sumome-dashboard-widget-row-desc">
|
74 |
+
<ul>
|
75 |
+
<li>Get people coming back to your site</li>
|
76 |
+
<li>Grow your email list</li>
|
77 |
+
<li>Get more social media followers</li>
|
78 |
+
</ul>
|
79 |
+
</div>
|
80 |
+
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
<div class="sumome-dashboard-widget-row mobile">
|
85 |
+
<div class="sumome-plugin-left">
|
86 |
+
<div class="sumome-dashboard-widget-row-title">Build A Following</div>
|
87 |
+
<div class="sumome-dashboard-widget-row-desc">
|
88 |
+
<ul>
|
89 |
+
<li>Get people coming back to your site</li>
|
90 |
+
<li>Grow your email list</li>
|
91 |
+
<li>Get more social media followers</li>
|
92 |
+
</ul>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<div class="sumome-plugin-right"><img src="<?php print plugins_url('images/sumome-site-welcome2.png', dirname(__FILE__))?>"></div>
|
96 |
+
</div>
|
97 |
+
|
98 |
+
|
99 |
+
<div class="sumome-dashboard-widget-row">
|
100 |
+
<div class="sumome-plugin-left">
|
101 |
+
<div class="sumome-dashboard-widget-row-title">Track Your Progress</div>
|
102 |
+
<div class="sumome-dashboard-widget-row-desc">
|
103 |
+
<ul>
|
104 |
+
<li>Discover where people are clicking on your site</li>
|
105 |
+
<li>See how many visitors you get in real-time</li>
|
106 |
+
<li>Learn if people are actually reading your posts</li>
|
107 |
+
</ul>
|
108 |
+
</div>
|
109 |
+
</div>
|
110 |
+
<div class="sumome-plugin-right"><img src="<?php print plugins_url('images/sumome-site-welcome3.png', dirname(__FILE__))?>"></div>
|
111 |
+
</div>
|
112 |
+
|
113 |
+
<div class="sumome-dashboard-widget-separator2">
|
114 |
+
<div class="sumome-dashboard-widget-middle-note-title">Your Favorite Websites Already Use SumoMe</div>
|
115 |
+
|
116 |
+
<div class="sumome-dashboard-widget-middle-note-desc">500,000+ sites are powered by SumoMe.</div>
|
117 |
+
|
118 |
+
<div class="sumome-dashboard-widget-middle-note-clients">
|
119 |
+
<img src="<?php print plugins_url('images/sumome-site-clients-airbnb.png', dirname(__FILE__))?>">
|
120 |
+
<img src="<?php print plugins_url('images/sumome-site-clients-chive.png', dirname(__FILE__))?>">
|
121 |
+
<img src="<?php print plugins_url('images/sumome-site-clients-tonyrobbins.png', dirname(__FILE__))?>">
|
122 |
+
<img src="<?php print plugins_url('images/sumome-site-clients-entrepreneur.png', dirname(__FILE__))?>">
|
123 |
+
<img src="<?php print plugins_url('images/sumome-site-clients-beachbody.png', dirname(__FILE__))?>">
|
124 |
+
<img src="<?php print plugins_url('images/sumome-site-clients-artofman.png', dirname(__FILE__))?>">
|
125 |
+
<img src="<?php print plugins_url('images/sumome-site-clients-4hourworkweek.png', dirname(__FILE__))?>">
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
|
129 |
+
<div class="sumome-dashboard-widget-row">
|
130 |
+
<div class="sumome-plugin-left">
|
131 |
+
<div class="sumome-dashboard-widget-row-title">We've Got Your Back</div>
|
132 |
+
<div class="sumome-dashboard-widget-row-desc">
|
133 |
+
<ul>
|
134 |
+
<li>Unlimited help from our experts</li>
|
135 |
+
<li>Make sure your site is running smoothly</li>
|
136 |
+
<li>Lightning-fast response time</li>
|
137 |
+
</ul>
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
<div class="sumome-plugin-right"><img src="<?php print plugins_url('images/sumome-site-team.jpg', dirname(__FILE__))?>"></div>
|
141 |
+
</div>
|
142 |
+
|
143 |
+
<div class="sumome-dashboard-widget-row <?php print $sumomeStatus?>">
|
144 |
+
<div class="sumome-plugin-center">Need to restore an existing account?
|
145 |
+
<?php
|
146 |
+
if (substr_count($_SERVER['REQUEST_URI'], 'dashboard')>0) {
|
147 |
+
?>
|
148 |
+
<a href="/wp-admin/admin.php?page=siteID">Click here</a>
|
149 |
+
<?php
|
150 |
+
} else {
|
151 |
+
?>
|
152 |
+
<div class="sumome-plugin-linkalike sumome-link-button sumome-tile-advanced-settings item-tile" data-name="sumome-control-advanced-settings" data-title="">Click here</div>
|
153 |
+
<?php
|
154 |
+
}
|
155 |
+
?>
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
|
159 |
+
</div>
|
160 |
+
|
161 |
+
</div>
|
162 |
+
|
163 |
+
<div class="login-popup-container">
|
164 |
+
<?php
|
165 |
+
include_once "popup.php";
|
166 |
+
?>
|
167 |
+
</div>
|
168 |
+
|
169 |
+
<script>
|
170 |
+
|
171 |
+
jQuery(document).on('click', '.sumome-dashboard-widget div.dashboard-widget-close-button',function () {
|
172 |
+
jQuery('.sumome-dashboard-widget').addClass('minimized');
|
173 |
+
jQuery.post(ajaxurl, { action: 'sumome_hide_dashboard_overlay' }, function(data) {
|
174 |
+
|
175 |
+
});
|
176 |
+
});
|
177 |
+
|
178 |
+
</script>
|
179 |
+
|