Version Description
(24 MAY 2017) =
- Added Event Tracking for Click-to-Tweets and Image Pins.
- Fixed the CSS for the total shares in non-English foreign languages.
- Fixed a notice that would sometimes appear on attachment pages.
- Fixed an error that caused share counts to not update for some users.
Download this release
Release Info
Developer | WarfarePlugins |
Plugin | WordPress Social Sharing Plugin – Social Warfare |
Version | 2.2.6 |
Comparing to | |
See all releases |
Code changes from version 2.2.5 to 2.2.6
- css/style.css +1 -1
- css/style.min.css +1 -1
- functions/frontend-output/buttons-standard.php +2 -2
- functions/utilities/permalinks.php +53 -46
- functions/utilities/share-cache.php +12 -2
- functions/utilities/share-count-function.php +1 -1
- functions/utilities/utility.php +32 -30
- gruntfile.js +0 -227
- js/script.js +11 -1
- js/script.min.js +1 -1
- readme.txt +7 -0
- social-warfare.php +2 -2
css/style.css
CHANGED
@@ -267,7 +267,7 @@ div.nc_socialPanel:hover div.totes.totesalt:not(:nth-child(1)) {
|
|
267 |
line-height: 0;
|
268 |
margin-left: 8px;
|
269 |
margin-top: 12px;
|
270 |
-
min-width:
|
271 |
position: relative;
|
272 |
vertical-align: middle;
|
273 |
}
|
267 |
line-height: 0;
|
268 |
margin-left: 8px;
|
269 |
margin-top: 12px;
|
270 |
+
min-width: 45px;
|
271 |
position: relative;
|
272 |
vertical-align: middle;
|
273 |
}
|
css/style.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.nc_socialPanel{clear:both;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:32px;line-height:1;margin-bottom:20px!important;margin-top:20px!important;overflow:hidden;padding:0;-webkit-align-items:stretch;align-items:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;-webkit-box-pack:justify;-moz-box-pack:justify;-ms-flex-align:stretch;-ms-flex-line-pack:center;-ms-flex-pack:justify;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:space-between;justify-content:space-between}.nc_socialPanel:not(.nc_floater):not(.nc_socialPanelSide){width:100%!important}.nc_wrapper .nc_socialPanel{margin-bottom:10px!important;margin-top:10px!important}div.nc_socialPanel .nc_tweetContainer{-webkit-border-radius:2px;border-radius:2px;cursor:pointer;float:left;font-family:Lato;height:32px;margin:0 5px;min-width:34px;overflow:hidden;text-align:center;-webkit-transition:all .1s linear;transition:all .1s linear;border-size:1px}div.nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.nc_socialPanel .nc_tweetContainer a.nc_tweet,.nc_socialPanel .totes .swp_count{display:block;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-family:Lato,sans-serif;font-size:18px!important;font-weight:700;height:30px;text-decoration:none;text-decoration:none!important;text-transform:none;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap}.nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:nth-child(1){margin-left:0}.nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:nth-last-child(1){margin-right:0}.nc_socialPanel a .swp_count:not(.swp_hide){display:inline-block;line-height:32px;margin:0;padding:0 5px;-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.nc_socialPanel .totes .swp_count,span.swp_share{line-height:30px}.nc_socialPanel a .swp_count.swp_hide{margin:0 auto}.nc_socialPanel span:before{content:initial!important}.nc_socialPanel span.swp_count{font-size:14px}.nc_socialPanel span.iconFiller{font-size:18px;margin:0 auto}.nc_socialPanel.notMobile .nc_tweetContainer:nth-child(1){margin-left:0}.nc_socialPanel:not(.nc_socialPanelSide){-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.nc_socialPanel:not(.nc_socialPanelSide) div.totes.totesalt:nth-child(1){margin-left:0;margin-right:15px;padding-left:0}.nc_socialPanel:not(.nc_socialPanelSide) div.totes.totesalt:nth-last-child(1){margin-right:0;padding-right:0}a.swp_CTT{cursor:pointer}span.swp_share{display:block;float:right;float:left;font-size:14px;font-weight:400;height:30px;margin:0 0 0 6px;max-width:none!important;vertical-align:middle}.nc_socialPanelSide span.swp_share{margin:0}.nc_socialPanel .sw{float:left;height:30px;line-height:32px;margin:0 5px;text-shadow:none!important;width:20px}.iconFiller{display:block;float:left;height:30px;overflow:hidden;-webkit-transition:width .1s linear;transition:width .1s linear}.nc_socialPanel .iconFiller{width:30px}span.spaceManWilly{display:block;width:120px}.nc_socialPanel .totes{background:#c4c4c4;border:1px solid #e08a0f;-webkit-border-radius:2px;border-radius:2px;color:#fff;cursor:default;display:block;font-size:19px;padding:0 10px;-webkit-box-flex:0!important;-moz-box-flex:0!important;-webkit-flex:none!important;-ms-flex:none!important;flex:none!important}.nc_socialPanel div.totes.totesalt,.nc_socialPanel:hover div.totes.totesalt:not(:nth-child(1)){background:0 0!important;border:none;color:#474b4d;margin-left:0!important}div.nc_socialPanel:hover div.totes.totesalt:not(:nth-child(1)){background:0 0;color:#474b4d;margin-left:10px}.nc_socialPanel .totes.totesalt .swp_label{color:#474b4d;font-size:10px;letter-spacing:0;min-width:40px;vertical-align:middle}.nc_socialPanel .totes .swp_label{font-size:10px;vertical-align:middle}.nc_socialPanel .totes.totesalt .swp_count{color:#474b4d;font-size:24px}.nc_socialPanel.swp_customFull:hover div.totes,.nc_socialPanel.swp_fade .totes,.nc_socialPanel.swp_fullColor .totes,.nc_socialPanel:hover .totes{background:#e08a0f}.nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer.totes.totesalt:before{content:"o";display:inline-block;font-family:sw-icon-font;margin-top:7px;vertical-align:top}.nc_socialPanel:not(.nc_socialPanelSide) .totes.totesalt .swp_count{display:inline-block;line-height:0;margin-left:8px;margin-top:12px;min-width:40px;position:relative;vertical-align:middle}span.swp_label{display:block;font-size:9px!important;margin-top:13px;position:absolute;text-align:center!important;text-transform:uppercase}.nc_socialPanelSide span.swp_label{margin-top:0}.nc_socialPanel.swp_leaf .nc_tweetContainer{-webkit-border-radius:15px 0;border-radius:15px 0;border-width:1px}.nc_socialPanel.swp_pill .nc_tweetContainer{-webkit-border-radius:50px;border-radius:50px;border-width:1px}.nc_socialPanel.swp_shift .nc_tweetContainer:not(.totes){border-width:1px;-moz-transform:skew(-25deg);-o-transform:skew(-25deg);-webkit-transform:skew(-25deg)}.nc_socialPanel.swp_shift .nc_tweetContainer a{-moz-transform:skew(25deg);-o-transform:skew(25deg);-webkit-transform:skew(25deg)}.swp_connected .nc_tweetContainer,.swp_connected .nc_tweetContainer:hover,.swp_connected:hover .nc_tweetContainer{-webkit-border-radius:0!important;border-radius:0!important;border-width:1px;margin:0!important}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .googlePlus,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .googlePlus:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .googlePlus:hover{border:1px solid #df4b37}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .twitter,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .twitter:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .twitter:hover{border:1px solid #429cd6}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_fb,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_fb:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_fb:hover{border:1px solid #3a589e}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .nc_pinterest,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .nc_pinterest:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .nc_pinterest:hover{border:1px solid #cd2029}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .linkedIn,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .linkedIn:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .linkedIn:hover{border:1px solid #0d77b7}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_tumblr,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_tumblr:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_tumblr:hover{border:1px solid #39475d}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_stumbleupon,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_stumbleupon:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_stumbleupon:hover{border:1px solid #ef5025}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_yummly,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_yummly:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_yummly:hover{border:1px solid #e26426}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_reddit,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_reddit:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_reddit:hover{border:1px solid #f04b23}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_email,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_email:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_email:hover{border:1px solid #6bcce9}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_whatsapp,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_whatsapp:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_whatsapp:hover{border:1px solid #71c169}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_pocket,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_pocket:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_pocket:hover{border:1px solid #ef4056}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_buffer,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_buffer:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_buffer:hover{border:1px solid #323b43}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_hacker_news,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_hacker_news:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_hacker_news:hover{border:1px solid #d85623}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_flipboard,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_flipboard:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_flipboard:hover{border:1px solid #bf2626}.nc_socialPanel.swp_d_fullColor .googlePlus,body .nc_socialPanel.swp_o_fullColor:hover .googlePlus,html body .nc_socialPanel.swp_i_fullColor .googlePlus:hover{background:#df4b37;border:1px solid #c44133}.nc_socialPanel.swp_d_fullColor .twitter,body .nc_socialPanel.swp_o_fullColor:hover .twitter,html body .nc_socialPanel.swp_i_fullColor .twitter:hover{background:#429cd6;border:1px solid #3c87b2}.nc_socialPanel.swp_d_fullColor .swp_fb,body .nc_socialPanel.swp_o_fullColor:hover .swp_fb,html body .nc_socialPanel.swp_i_fullColor .swp_fb:hover{background:#3a589e;border:1px solid #2e4675}.nc_socialPanel.swp_d_fullColor .nc_pinterest,body .nc_socialPanel.swp_o_fullColor:hover .nc_pinterest,html body .nc_socialPanel.swp_i_fullColor .nc_pinterest:hover{background:#cd2029;border:1px solid #aa1b29}.nc_socialPanel.swp_d_fullColor .linkedIn,body .nc_socialPanel.swp_o_fullColor:hover .linkedIn,html body .nc_socialPanel.swp_i_fullColor .linkedIn:hover{background:#0d77b7;border:1px solid #0c6591}.nc_socialPanel.swp_d_fullColor .swp_tumblr,body .nc_socialPanel.swp_o_fullColor:hover .swp_tumblr,html body .nc_socialPanel.swp_i_fullColor .swp_tumblr:hover{background:#39475d;border:1px solid #27313f}.nc_socialPanel.swp_d_fullColor .swp_stumbleupon,body .nc_socialPanel.swp_o_fullColor:hover .swp_stumbleupon,html body .nc_socialPanel.swp_i_fullColor .swp_stumbleupon:hover{background:#ef5025;border:1px solid #d34427}.nc_socialPanel.swp_d_fullColor .swp_yummly,body .nc_socialPanel.swp_o_fullColor:hover .swp_yummly,html body .nc_socialPanel.swp_i_fullColor .swp_yummly:hover{background:#e26426;border:1px solid #b65027}.nc_socialPanel.swp_d_fullColor .swp_reddit,body .nc_socialPanel.swp_o_fullColor:hover .swp_reddit,html body .nc_socialPanel.swp_i_fullColor .swp_reddit:hover{background:#f04b23;border:1px solid #d33f27}.nc_socialPanel.swp_d_fullColor .swp_email,body .nc_socialPanel.swp_o_fullColor:hover .swp_email,html body .nc_socialPanel.swp_i_fullColor .swp_email:hover{background:#6bcce9;border:1px solid #61bace}.nc_socialPanel.swp_d_fullColor .swp_whatsapp,body .nc_socialPanel.swp_o_fullColor:hover .swp_whatsapp,html body .nc_socialPanel.swp_i_fullColor .swp_whatsapp:hover{background:#71c169;border:1px solid #28b04b}.nc_socialPanel.swp_d_fullColor .swp_pocket,body .nc_socialPanel.swp_o_fullColor:hover .swp_pocket,html body .nc_socialPanel.swp_i_fullColor .swp_pocket:hover{background:#ef4056;border:1px solid #ce3d55}.nc_socialPanel.swp_d_fullColor .swp_buffer,body .nc_socialPanel.swp_o_fullColor:hover .swp_buffer,html body .nc_socialPanel.swp_i_fullColor .swp_buffer:hover{background:#323b43;border:1px solid #000}.nc_socialPanel.swp_d_fullColor .swp_hacker_news,body .nc_socialPanel.swp_o_fullColor:hover .swp_hacker_news,html body .nc_socialPanel.swp_i_fullColor .swp_hacker_news:hover{background:#f16522;border:1px solid #d85623}.nc_socialPanel.swp_d_fullColor .swp_flipboard,body .nc_socialPanel.swp_o_fullColor:hover .swp_flipboard,html body .nc_socialPanel.swp_i_fullColor .swp_flipboard:hover{background:#e02828;border:1px solid #bf2626}.nc_socialPanel.swp_threeDee.swp_d_fullColor .googlePlus,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .googlePlus,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .googlePlus:hover{border-bottom:3px solid #c44133}.nc_socialPanel.swp_threeDee.swp_d_fullColor .twitter,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .twitter,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .twitter:hover{border-bottom:3px solid #5595bc}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_fb,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_fb,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_fb:hover{border-bottom:3px solid #2e4675}.nc_socialPanel.swp_threeDee.swp_d_fullColor .nc_pinterest,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .nc_pinterest,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .nc_pinterest:hover{border-bottom:3px solid #aa1b29}.nc_socialPanel.swp_threeDee.swp_d_fullColor .linkedIn,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .linkedIn,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .linkedIn:hover{border-bottom:3px solid #0c6591}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_tumblr,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_tumblr,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_tumblr:hover{border-bottom:3px solid #27313f}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_stumbleupon,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_stumbleupon,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_stumbleupon:hover{border-bottom:3px solid #d34427}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_yummly,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_yummly,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_yummly:hover{border-bottom:3px solid #b65027}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_reddit,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_reddit,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_reddit:hover{border-bottom:3px solid #d33f27}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_email,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_email,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_email:hover{border-bottom:3px solid #61bace}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_whatsapp,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_whatsapp,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_whatsapp:hover{border-bottom:3px solid #28b04b}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_pocket,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_pocket,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_pocket:hover{border-bottom:3px solid #ce3d55}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_buffer,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_buffer,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_buffer:hover{border-bottom:3px solid #000}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_hacker_news,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_hacker_news,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_hacker_news:hover{border-bottom:3px solid #d85623}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_flipboard,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_flipboard,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_flipboard:hover{border-bottom:3px solid #bf2626}.nc_socialPanel.swp_d_lightGray .nc_tweetContainer,body .nc_socialPanel.swp_o_lightGray:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_lightGray .nc_tweetContainer:hover{background-color:#ccc;border:1px solid #ccc}.nc_socialPanel.swp_threeDee.swp_d_lightGray .nc_tweetContainer:not(.totesalt),body .nc_socialPanel.swp_threeDee.swp_o_lightGray:hover .nc_tweetContainer:not(.totesalt),html body .nc_socialPanel.swp_threeDee.swp_i_lightGray .nc_tweetContainer:not(.totesalt):hover{border-bottom:3px solid #999}.nc_socialPanel.swp_d_mediumGray .nc_tweetContainer,body .nc_socialPanel.swp_o_mediumGray:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_mediumGray .nc_tweetContainer:hover{background-color:#999;border:1px solid #999}.nc_socialPanel.swp_threeDee.swp_d_mediumGray .nc_tweetContainer:not(.totesalt),body .nc_socialPanel.swp_threeDee.swp_o_mediumGray:hover .nc_tweetContainer:not(.totesalt),html body .nc_socialPanel.swp_threeDee.swp_i_mediumGray .nc_tweetContainer:not(.totesalt):hover{border-bottom:3px solid #444}.nc_socialPanel.swp_d_darkGray .nc_tweetContainer,body .nc_socialPanel.swp_o_darkGray:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_darkGray .nc_tweetContainer:hover{background-color:#444;border:1px solid #444}.nc_socialPanel.swp_threeDee.swp_d_darkGray .nc_tweetContainer:not(.totesalt),body .nc_socialPanel.swp_threeDee.swp_o_darkGray:hover .nc_tweetContainer:not(.totesalt),html body .nc_socialPanel.swp_threeDee.swp_i_darkGray .nc_tweetContainer:not(.totesalt):hover{border-bottom:3px solid #222}.nc_socialPanel.swp_d_lgOutlines a,body .nc_socialPanel.swp_o_lgOutlines:hover a,html body .nc_socialPanel.swp_i_lgOutlines a:hover{color:#ccc}.nc_socialPanel.swp_d_lgOutlines .nc_tweetContainer,body .nc_socialPanel.swp_o_lgOutlines:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_lgOutlines .nc_tweetContainer:hover{background:0 0;border:1px solid #ccc}.nc_socialPanel.swp_d_mdOutlines a,body .nc_socialPanel.swp_o_mdOutlines:hover a,html body .nc_socialPanel.swp_i_mdOutlines a:hover{color:#999}.nc_socialPanel.swp_d_mdOutlines .nc_tweetContainer,body .nc_socialPanel.swp_o_mdOutlines:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_mdOutlines .nc_tweetContainer:hover{background:0 0;border:1px solid #999}.nc_socialPanel.swp_d_dgOutlines a,body .nc_socialPanel.swp_o_dgOutlines:hover a,html body .nc_socialPanel.swp_i_dgOutlines a:hover{color:#444}.nc_socialPanel.swp_d_dgOutlines .nc_tweetContainer,body .nc_socialPanel.swp_o_dgOutlines:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_dgOutlines .nc_tweetContainer:hover{background:0 0;border:1px solid #444}.nc_socialPanel.swp_d_colorOutlines .googlePlus a,body .nc_socialPanel.swp_o_colorOutlines:hover .googlePlus a,html body .nc_socialPanel.swp_i_colorOutlines .googlePlus a:hover{color:#df4b37}.nc_socialPanel.swp_d_colorOutlines .swp_fb a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_fb a,html body .nc_socialPanel.swp_i_colorOutlines .swp_fb a:hover{color:#3a589e}.nc_socialPanel.swp_d_colorOutlines .nc_pinterest a,body .nc_socialPanel.swp_o_colorOutlines:hover .nc_pinterest a,html body .nc_socialPanel.swp_i_colorOutlines .nc_pinterest a:hover{color:#cd2029}.nc_socialPanel.swp_d_colorOutlines .linkedIn a,body .nc_socialPanel.swp_o_colorOutlines:hover .linkedIn a,html body .nc_socialPanel.swp_i_colorOutlines .linkedIn a:hover{color:#0d77b7}.nc_socialPanel.swp_d_colorOutlines .swp_tumblr a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_tumblr a,html body .nc_socialPanel.swp_i_colorOutlines .swp_tumblr a:hover{color:#39475d}.nc_socialPanel.swp_d_colorOutlines .swp_stumbleupon a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_stumbleupon a,html body .nc_socialPanel.swp_i_colorOutlines .swp_stumbleupon a:hover{color:#ef5025}.nc_socialPanel.swp_d_colorOutlines .swp_yummly a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_yummly a,html body .nc_socialPanel.swp_i_colorOutlines .swp_yummly a:hover{color:#e26426}.nc_socialPanel.swp_d_colorOutlines .swp_whatsapp a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_whatsapp a,html body .nc_socialPanel.swp_i_colorOutlines .swp_whatsapp a:hover{color:#71c169}.nc_socialPanel.swp_d_colorOutlines .swp_pocket a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_pocket a,html body .nc_socialPanel.swp_i_colorOutlines .swp_pocket a:hover{color:#ef4056}.nc_socialPanel.swp_d_colorOutlines .swp_reddit a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_reddit a,html body .nc_socialPanel.swp_i_colorOutlines .swp_reddit a:hover{color:#f04b23}.nc_socialPanel.swp_d_colorOutlines .swp_email a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_email a,html body .nc_socialPanel.swp_i_colorOutlines .swp_email a:hover{color:#6bcce9}.nc_socialPanel.swp_d_colorOutlines .swp_buffer a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_buffer a,html body .nc_socialPanel.swp_i_colorOutlines .swp_buffer a:hover{color:#323b43}.nc_socialPanel.swp_d_colorOutlines .swp_hacker_news a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_hacker_news a,html body .nc_socialPanel.swp_i_colorOutlines .swp_hacker_news a:hover{color:#f16522}.nc_socialPanel.swp_d_colorOutlines .swp_flipboard a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_flipboard a,html body .nc_socialPanel.swp_i_colorOutlines .swp_flipboard a:hover{color:#e02828}.nc_socialPanel.swp_d_colorOutlines .googlePlus,body .nc_socialPanel.swp_o_colorOutlines:hover .googlePlus,html body .nc_socialPanel.swp_i_colorOutlines .googlePlus:hover{background:0 0;border:1px solid #df4b37}.nc_socialPanel.swp_d_colorOutlines .twitter,body .nc_socialPanel.swp_o_colorOutlines:hover .twitter,html body .nc_socialPanel.swp_i_colorOutlines .twitter:hover{background:0 0;border:1px solid #429cd6}.nc_socialPanel.swp_d_colorOutlines .swp_fb,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_fb,html body .nc_socialPanel.swp_i_colorOutlines .swp_fb:hover{background:0 0;border:1px solid #3a589e}.nc_socialPanel.swp_d_colorOutlines .nc_pinterest,body .nc_socialPanel.swp_o_colorOutlines:hover .nc_pinterest,html body .nc_socialPanel.swp_i_colorOutlines .nc_pinterest:hover{background:0 0;border:1px solid #cd2029}.nc_socialPanel.swp_d_colorOutlines .linkedIn,body .nc_socialPanel.swp_o_colorOutlines:hover .linkedIn,html body .nc_socialPanel.swp_i_colorOutlines .linkedIn:hover{background:0 0;border:1px solid #0d77b7}.nc_socialPanel.swp_d_colorOutlines .swp_tumblr,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_tumblr,html body .nc_socialPanel.swp_i_colorOutlines .swp_tumblr:hover{background:0 0;border:1px solid #39475d}.nc_socialPanel.swp_d_colorOutlines .swp_stumbleupon,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_stumbleupon,html body .nc_socialPanel.swp_i_colorOutlines .swp_stumbleupon:hover{background:0 0;border:1px solid #ef5025}.nc_socialPanel.swp_d_colorOutlines .swp_yummly,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_yummly,html body .nc_socialPanel.swp_i_colorOutlines .swp_yummly:hover{background:0 0;border:1px solid #e26426}.nc_socialPanel.swp_d_colorOutlines .swp_whatsapp,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_whatsapp,html body .nc_socialPanel.swp_i_colorOutlines .swp_whatsapp:hover{background:0 0;border:1px solid #71c169}.nc_socialPanel.swp_d_colorOutlines .swp_reddit,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_reddit,html body .nc_socialPanel.swp_i_colorOutlines .swp_reddit:hover{background:0 0;border:1px solid #f04b23}.nc_socialPanel.swp_d_colorOutlines .swp_email,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_email,html body .nc_socialPanel.swp_i_colorOutlines .swp_email:hover{background:0 0;border:1px solid #6bcce9}.nc_socialPanel.swp_d_colorOutlines .swp_pocket,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_pocket,html body .nc_socialPanel.swp_i_colorOutlines .swp_pocket:hover{background:0 0;border:1px solid #ef4056}.nc_socialPanel.swp_d_colorOutlines .swp_buffer,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_buffer,html body .nc_socialPanel.swp_i_colorOutlines .swp_buffer:hover{background:0 0;border:1px solid #323b43}.nc_socialPanel.swp_d_colorOutlines .swp_hacker_news,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_hacker_news,html body .nc_socialPanel.swp_i_colorOutlines .swp_hacker_news:hover{background:0 0;border:1px solid #f16522}.nc_socialPanel.swp_d_colorOutlines .swp_flipboard,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_flipboard,html body .nc_socialPanel.swp_i_colorOutlines .swp_flipboard:hover{background:0 0;border:1px solid #bf2626}.nc_socialPanelSide{flex-direction:column;height:auto;overflow:visible;top:200px;-webkit-transition:all .2s linear;transition:all .2s linear;width:100px!important;z-index:9999999;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column}.nc_socialPanelSide.slide{position:fixed;left:-100px;-webkit-transition:all .2s linear;transition:all .2s linear}.nc_socialPanelSide.fade{display:none;position:fixed;left:5px;-webkit-transition:all .2s linear;transition:all .2s linear}.nc_socialPanelSide .nc_tweetContainer{background:#dd4b38;-webkit-border-radius:3px;border-radius:3px;clear:both;display:block;font-family:Lato,sans-serif;height:32px;margin:3px 0!important;overflow:hidden;padding:0;-webkit-transition:all .1s linear;transition:all .1s linear;vertical-align:top;width:90px}.nc_socialPanelSide .nc_tweetContainer .iconFiller{display:inline-block;height:40px;margin:0 6px;padding:0;-webkit-transition:all .1s linear;transition:all .1s linear;vertical-align:middle;width:21px}.nc_socialPanelSide .nc_tweetContainer .swp_count{display:inline-block;font-size:14px;height:32px;line-height:35px;margin:0;overflow:hidden;padding:0;text-align:right;-webkit-transition:all .1s linear;transition:all .1s linear;vertical-align:top;width:0}.nc_socialPanelSide .nc_tweetContainer a{cursor:pointer;display:block;font-weight:500;height:36px;margin:0;padding:0;text-decoration:none;-webkit-transition:all .1s linear;transition:all .1s linear;vertical-align:top}.nc_socialPanelSide .nc_tweetContainer .sw,.nc_socialPanelSide .nc_tweetContainer .swp_share{float:left;line-height:34px}.nc_socialPanelSide.swp_default .nc_tweetContainer .sw{line-height:32px}.nc_socialPanelSide.swp_default .nc_tweetContainer .swp_share{line-height:30px}.nc_socialPanelSide .nc_tweetContainer .swp_share{font-size:13px}.nc_socialPanelSide .nc_tweetContainer:hover,.nc_socialPanelSide .nc_tweetContainer:hover .iconFiller,.nc_socialPanelSide .nc_tweetContainer:hover .swp_count{-webkit-transition:all .1s linear;transition:all .1s linear}.nc_socialPanelSide.swp_boxed{-ms-transform:scale(.9);-webkit-transform:scale(.9);transform:scale(.9)}.nc_socialPanelSide.swp_boxed .nc_tweetContainer{margin-bottom:5px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer,.nc_socialPanelSide.swp_boxed .nc_tweetContainer a{height:75px;position:relative;width:75px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer i.sw{font-size:27px;height:40px;margin:0;padding-top:10px;text-align:center;width:100%}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) span.swp_share{height:35px;opacity:0;position:absolute;bottom:0;left:0;text-align:center;width:75px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) span.swp_count{height:35px;margin:0;padding:0;position:absolute;bottom:0;left:0;text-align:center;-webkit-transition:padding .1s linear;transition:padding .1s linear;width:100%}.nc_socialPanelSide.swp_boxed .nc_tweetContainer span.swp_hide .iconFiller,.nc_socialPanelSide.swp_boxed .nc_tweetContainer span.swp_hide .spaceManWilly,.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) span.swp_count.swp_hide{height:75px;opacity:1}.nc_socialPanelSide.swp_boxed .nc_tweetContainer span.iconFiller{height:40px;width:75px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes):hover span.swp_count:not(.swp_hide){opacity:0}.nc_socialPanelSide.swp_boxed .totes{padding:0;width:75px!important}.nc_socialPanelSide .nc_tweetContainer:not(.totes){line-height:34px}.nc_socialPanelSide:not(.swp_boxed) .nc_tweetContainer:not(.totes) .iconFiller{margin-left:2px;width:30px}.nc_socialPanelSide .nc_tweetContainer:not(.totes) .swp_count{padding:0 8px;width:48px}.nc_socialPanelSide .nc_tweetContainer:not(.totes) .swp_count.swp_hide{padding:0;width:100%}.nc_socialPanelSide .nc_tweetContainer:not(.totes) .swp_hide .iconFiller{display:block;float:none;margin:0 auto}.nc_socialPanelSide:not(.swp_boxed) .nc_tweetContainer:not(.totes):hover{width:150px}.nc_socialPanelSide .nc_tweetContainer:not(.totes) .spaceManWilly,.nc_socialPanelSide .nc_tweetContainer:not(.totes):hover .iconFiller{width:90px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) .spaceManWilly,.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes):hover .iconFiller{width:100%}.nc_socialPanelSide .nc_tweetContainer.totes{background:rgba(0,0,0,0);border:0!important;font-weight:800;height:45px;margin:0;padding:0;text-align:center;width:90px}.nc_socialPanelSide .nc_tweetContainer.totes .swp_count{color:#444;display:block;font-family:Lato,sans-serif;height:28px;text-align:center;width:100%}.nc_socialPanelSide .nc_tweetContainer.totes .swp_label{color:#444;display:block;font-family:Lato,sans-serif;font-size:50%;position:relative;text-align:center;width:100%}.nc_wrapper{background:#fff;position:fixed;-webkit-transition:top .5s bottom .5s;transition:top .5s bottom .5s;width:100%;z-index:99999}.nc_wrapper.floatBottom{bottom:0;left:0}.nc_wrapper.floatTop{top:0;left:0}.nc_floater{margin:10px 0;position:relative;left:304px;width:740px}.nc_socialPanelSide.hideCounts a{text-align:center}.nc_socialPanelSide.hideCounts .iconFiller{float:none;text-align:left}.sw{display:inline-block;font-family:sw-icon-font!important;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;text-rendering:auto;-ms-transform:translate(0,0);-webkit-transform:translate(0,0);transform:translate(0,0)}.sw:before{display:block!important}.wp-editor-container .sw:before{font-size:18px;line-height:22px}.wp-editor-container .sw-social-warfare:before{color:#ee464f}.mce-container .sw-social-warfare{color:#ee464f;font-size:20px;margin-right:15px;vertical-align:middle}.sw-google-plus:before{content:"h"}.sw-pinterest:before{content:"b"}.sw-twitter:before{content:"s"}.sw-facebook:before{content:"j"}.sw-linkedin:before{content:"f"}.sw-tumblr:before{content:"r"}.sw-stumbleupon:before{content:"q"}.sw-reddit:before{content:"a"}.sw-email:before{content:"k"}.sw-yummly:before{content:"x"}.sw-whatsapp:before{content:"y"}.sw-pocket:before{content:"B"}.sw-buffer:before{content:"z"}.sw-hacker_news:before{content:"D"}.sw-flipboard:before{content:"C"}.sw-social-warfare:before{content:"p"}.sw-click-to-tweet:after,.sw-tweet-clear:after{content:".";height:0;clear:both;visibility:hidden;display:block}.swp_CTT{text-decoration:none!important}.sw-tweet-clear{zoom:1}.sw-click-to-tweet{display:block;margin:15px 0;padding:15px 30px;position:relative}.sw-click-to-tweet:after{line-height:0}.sw-click-to-tweet .sw-ctt-text{margin:0 0 10px;padding:0;position:relative;word-wrap:break-word}a .sw-click-to-tweet .sw-ctt-text{display:block;font-size:24px;font-weight:500;line-height:140%;margin:0;padding:0;position:relative;text-decoration:none;text-transform:none}.sw-click-to-tweet .sw-ctt-btn{display:block;float:right;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;line-height:100%;margin:10px 0 0;padding:3px 5px 3px 3px;position:relative;text-decoration:none;text-transform:uppercase}.sw-click-to-tweet i.sw-twitter{float:right;font-size:21px;margin-left:15px;margin-top:2px;text-transform:none}a.swp_CTT.style1 .sw-click-to-tweet{background-color:#fff;border:1px solid #ddd;-webkit-border-radius:4px;border-radius:4px}a.swp_CTT.style2 .sw-click-to-tweet{background-color:#fff;border:4px double #ddd;-webkit-border-radius:0;border-radius:0}a.style2 .sw-click-to-tweet .sw-ctt-text{color:#666;font-style:italic;text-decoration:none}a.swp_CTT.style3:hover .sw-click-to-tweet{border-left:10px solid #3c87b2;padding-right:20px;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style3 .sw-click-to-tweet{background-color:#429cd6;border:none;border-left:10px solid #429cd6;-webkit-border-radius:0;border-radius:0;padding-right:20px;-webkit-transition:all .25s linear;transition:all .25s linear}a.style3 .sw-click-to-tweet .sw-ctt-text{color:#fff;font-style:italic;text-decoration:none}a.swp_CTT.style4:hover .sw-click-to-tweet{border-left:10px solid #3c87b2;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style4 .sw-click-to-tweet{background-color:#333;border-left:10px solid #c33;-webkit-border-radius:0;border-radius:0;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style5:hover .sw-click-to-tweet{background-color:#d34250;border-left:10px solid #30394f;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style5 .sw-click-to-tweet{background-color:#30394f;border-left:10px solid #d34250;-webkit-border-radius:0;border-radius:0;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style6:hover .sw-click-to-tweet{background-color:#ced3dc;border-left:10px solid #d34250;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style6 .sw-click-to-tweet{background-color:#eee;border-left:10px solid #d34250;-webkit-border-radius:0;border-radius:0;-webkit-transition:all .25s linear;transition:all .25s linear}a.style6 .sw-click-to-tweet i.sw-twitter{color:#30394f}.swp_pop_thumb{-webkit-border-radius:3px;border-radius:3px;float:left;height:100px;margin:5px 25px 5px 0;width:100px}.swp_popular_post{clear:both}.swp_clearfix:after{clear:both;content:" ";display:block;height:0;visibility:hidden}.swp_popular_post a.swp_popularity{border:none;display:block;line-height:1.5;margin:20px 0}span.swp_pop_count{display:block;font-size:70%}.swp_widget_box{-webkit-border-radius:3px;border-radius:3px}div.sw-pinit{display:table!important;line-height:0;position:relative!important}.nc_socialPanel.mobile .iconFiller~.swp_count,.sw-content-locator,div.nc_socialPanel .nc_tweetContainer.swp_whatsapp:not(.mobile){display:none}div.sw-pinit a.sw-pinit-button,div.sw-pinit a.sw-pinit-button:visited{background:#cd2029;border:1px solid #aa1b29;-webkit-border-radius:4px;border-radius:4px;color:#fff;font-size:20px;height:50px;line-height:45px;opacity:0;padding:0 30px;position:absolute;text-decoration:none;-webkit-transition:opacity .5s;transition:opacity .5s;z-index:200}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) .swp_hide span.swp_share,.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes):hover span.swp_share:not(.swp_hide),div.sw-pinit:focus a.sw-pinit-button,div.sw-pinit:hover a.sw-pinit-button{opacity:1}div.sw-pinit a.sw-pinit-button::before{color:#fff;content:"b";float:left;font-family:sw-icon-font;font-size:24px;font-weight:400;line-height:50px;margin-left:-5px;margin-right:10px}div.sw-pinit a.sw-pinit-button:hover::before{content:"F"}div.sw-pinit a.sw-pinit-button::focus,div.sw-pinit a.sw-pinit-button::hover{background:#aa1b29;color:#fff;text-decoration:none}div.sw-pinit .sw-pinit-left{left:30px}div.sw-pinit .sw-pinit-center{margin-left:-60px;left:50%}div.sw-pinit .sw-pinit-right{right:30px}div.sw-pinit .sw-pinit-top{top:30px}div.sw-pinit .sw-pinit-middle{margin-top:-25px;top:50%}div.sw-pinit .sw-pinit-bottom{bottom:30px}.mobile .nc_tweetContainer:nth-last-child(2),.nc_socialPanel.notMobile .nc_tweetContainer:nth-last-child(1),.nc_tweetContainer.totes:nth-last-child(1){margin-right:0}.nc_socialPanel.swp_d_darkGray a,.nc_socialPanel.swp_d_fullColor a,.nc_socialPanel.swp_d_lightGray a,.nc_socialPanel.swp_d_mediumGray a,body .nc_socialPanel.swp_o_darkGray:hover a,body .nc_socialPanel.swp_o_fullColor:hover a,body .nc_socialPanel.swp_o_lightGray:hover a,body .nc_socialPanel.swp_o_mediumGray:hover a,html body .nc_socialPanel.swp_i_darkGray a:hover,html body .nc_socialPanel.swp_i_fullColor .nc_tweetContainer:hover a,html body .nc_socialPanel.swp_i_lightGray .nc_tweetContainer:hover a,html body .nc_socialPanel.swp_i_mediumGray a:hover{color:#fff}.nc_socialPanel.swp_d_colorOutlines .twitter a,.wp-editor-container .sw-twitter:before,a.style1 .sw-click-to-tweet i.sw-twitter,a.style2 .sw-click-to-tweet i.sw-twitter,body .nc_socialPanel.swp_o_colorOutlines:hover .twitter a,html body .nc_socialPanel.swp_i_colorOutlines .twitter a:hover{color:#429cd6}a.style1 .sw-click-to-tweet .sw-ctt-btn,a.style1 .sw-click-to-tweet .sw-ctt-text{color:#999;text-decoration:none}a.style1:hover .sw-click-to-tweet .sw-ctt-btn,a.style1:hover .sw-click-to-tweet .sw-ctt-text,a.style2 .sw-click-to-tweet .sw-ctt-btn,a.style2:hover .sw-click-to-tweet .sw-ctt-btn,a.style2:hover .sw-click-to-tweet .sw-ctt-text{color:#666;text-decoration:none}a.style3 .sw-click-to-tweet .sw-ctt-btn,a.style3 .sw-click-to-tweet i.sw-twitter,a.style3:hover .sw-click-to-tweet .sw-ctt-btn,a.style3:hover .sw-click-to-tweet .sw-ctt-text,a.style4 .sw-click-to-tweet .sw-ctt-btn,a.style4 .sw-click-to-tweet .sw-ctt-text,a.style4:hover .sw-click-to-tweet .sw-ctt-btn,a.style4:hover .sw-click-to-tweet .sw-ctt-text,a.style5 .sw-click-to-tweet .sw-ctt-btn,a.style5 .sw-click-to-tweet .sw-ctt-text,a.style5:hover .sw-click-to-tweet .sw-ctt-btn,a.style5:hover .sw-click-to-tweet .sw-ctt-text{color:#fff;text-decoration:none}a.style4 .sw-click-to-tweet i.sw-twitter,a.style5 .sw-click-to-tweet i.sw-twitter{color:#fff}a.style6 .sw-click-to-tweet .sw-ctt-btn,a.style6 .sw-click-to-tweet .sw-ctt-text{color:#30394f;text-decoration:none}a.style6:hover .sw-click-to-tweet .sw-ctt-btn,a.style6:hover .sw-click-to-tweet .sw-ctt-text,a.style6:hover .sw-click-to-tweet i.sw-twitter{color:#2a2d34;text-decoration:none}.scale-70{-ms-transform:scale(.7);-webkit-transform:scale(.7);transform:scale(.7)}.nc_socialPanel:not(.nc_floater).scale-70.scale-fullWidth{width:142.8571428571429%!important}.scale-80{-ms-transform:scale(.8);-webkit-transform:scale(.8);transform:scale(.8)}.nc_socialPanel:not(.nc_floater).scale-80.scale-fullWidth{width:125%!important}.scale-90{-ms-transform:scale(.9);-webkit-transform:scale(.9);transform:scale(.9)}.nc_socialPanel:not(.nc_floater).scale-90.scale-fullWidth{width:111.111111111111%!important}.scale-110{-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1)}.nc_socialPanel:not(.nc_floater).scale-110.scale-fullWidth{width:90.90909090909091%!important}.scale-120{-ms-transform:scale(1.2);-webkit-transform:scale(1.2);transform:scale(1.2)}.nc_socialPanel:not(.nc_floater).scale-120.scale-fullWidth{width:83.33333333333333%!important}.scale-130{-ms-transform:scale(1.3);-webkit-transform:scale(1.3);transform:scale(1.3)}.nc_socialPanel:not(.nc_floater).scale-130.scale-fullWidth{width:76.92307692307692%!important}.scale-140{-ms-transform:scale(1.4);-webkit-transform:scale(1.4);transform:scale(1.4)}.nc_socialPanel:not(.nc_floater).scale-140.scale-fullWidth{width:71.42857142857143%!important}.nc_floater.scale-center,.nc_floater.scale-right,.scale-fullWidth,.scale-left{-ms-transform-origin:left;-webkit-transform-origin:left;transform-origin:left}.scale-right{-ms-transform-origin:right;-webkit-transform-origin:right;transform-origin:right}.scale-center{-ms-transform-origin:center;-webkit-transform-origin:center;transform-origin:center}div.nc_socialPanel .nc_tweetContainer.swp_emphasize{-webkit-box-flex:2;-moz-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2}.sw-pinit.aligncenter{margin:0 auto}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){div.sw-pinit{display:inline-block!important;max-width:100%}}.swp_hidden_pin_image{height:0;opacity:0;position:absolute;top:0;width:0}
|
1 |
+
.nc_socialPanel{clear:both;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:32px;line-height:1;margin-bottom:20px!important;margin-top:20px!important;overflow:hidden;padding:0;-webkit-align-items:stretch;align-items:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;-webkit-box-pack:justify;-moz-box-pack:justify;-ms-flex-align:stretch;-ms-flex-line-pack:center;-ms-flex-pack:justify;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:space-between;justify-content:space-between}.nc_socialPanel:not(.nc_floater):not(.nc_socialPanelSide){width:100%!important}.nc_wrapper .nc_socialPanel{margin-bottom:10px!important;margin-top:10px!important}div.nc_socialPanel .nc_tweetContainer{-webkit-border-radius:2px;border-radius:2px;cursor:pointer;float:left;font-family:Lato;height:32px;margin:0 5px;min-width:34px;overflow:hidden;text-align:center;-webkit-transition:all .1s linear;transition:all .1s linear;border-size:1px}div.nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.nc_socialPanel .nc_tweetContainer a.nc_tweet,.nc_socialPanel .totes .swp_count{display:block;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-family:Lato,sans-serif;font-size:18px!important;font-weight:700;height:30px;text-decoration:none;text-decoration:none!important;text-transform:none;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap}.nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:nth-child(1){margin-left:0}.nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:nth-last-child(1){margin-right:0}.nc_socialPanel a .swp_count:not(.swp_hide){display:inline-block;line-height:32px;margin:0;padding:0 5px;-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.nc_socialPanel .totes .swp_count,span.swp_share{line-height:30px}.nc_socialPanel a .swp_count.swp_hide{margin:0 auto}.nc_socialPanel span:before{content:initial!important}.nc_socialPanel span.swp_count{font-size:14px}.nc_socialPanel span.iconFiller{font-size:18px;margin:0 auto}.nc_socialPanel.notMobile .nc_tweetContainer:nth-child(1){margin-left:0}.nc_socialPanel:not(.nc_socialPanelSide){-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.nc_socialPanel:not(.nc_socialPanelSide) div.totes.totesalt:nth-child(1){margin-left:0;margin-right:15px;padding-left:0}.nc_socialPanel:not(.nc_socialPanelSide) div.totes.totesalt:nth-last-child(1){margin-right:0;padding-right:0}a.swp_CTT{cursor:pointer}span.swp_share{display:block;float:right;float:left;font-size:14px;font-weight:400;height:30px;margin:0 0 0 6px;max-width:none!important;vertical-align:middle}.nc_socialPanelSide span.swp_share{margin:0}.nc_socialPanel .sw{float:left;height:30px;line-height:32px;margin:0 5px;text-shadow:none!important;width:20px}.iconFiller{display:block;float:left;height:30px;overflow:hidden;-webkit-transition:width .1s linear;transition:width .1s linear}.nc_socialPanel .iconFiller{width:30px}span.spaceManWilly{display:block;width:120px}.nc_socialPanel .totes{background:#c4c4c4;border:1px solid #e08a0f;-webkit-border-radius:2px;border-radius:2px;color:#fff;cursor:default;display:block;font-size:19px;padding:0 10px;-webkit-box-flex:0!important;-moz-box-flex:0!important;-webkit-flex:none!important;-ms-flex:none!important;flex:none!important}.nc_socialPanel div.totes.totesalt,.nc_socialPanel:hover div.totes.totesalt:not(:nth-child(1)){background:0 0!important;border:none;color:#474b4d;margin-left:0!important}div.nc_socialPanel:hover div.totes.totesalt:not(:nth-child(1)){background:0 0;color:#474b4d;margin-left:10px}.nc_socialPanel .totes.totesalt .swp_label{color:#474b4d;font-size:10px;letter-spacing:0;min-width:40px;vertical-align:middle}.nc_socialPanel .totes .swp_label{font-size:10px;vertical-align:middle}.nc_socialPanel .totes.totesalt .swp_count{color:#474b4d;font-size:24px}.nc_socialPanel.swp_customFull:hover div.totes,.nc_socialPanel.swp_fade .totes,.nc_socialPanel.swp_fullColor .totes,.nc_socialPanel:hover .totes{background:#e08a0f}.nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer.totes.totesalt:before{content:"o";display:inline-block;font-family:sw-icon-font;margin-top:7px;vertical-align:top}.nc_socialPanel:not(.nc_socialPanelSide) .totes.totesalt .swp_count{display:inline-block;line-height:0;margin-left:8px;margin-top:12px;min-width:45px;position:relative;vertical-align:middle}span.swp_label{display:block;font-size:9px!important;margin-top:13px;position:absolute;text-align:center!important;text-transform:uppercase}.nc_socialPanelSide span.swp_label{margin-top:0}.nc_socialPanel.swp_leaf .nc_tweetContainer{-webkit-border-radius:15px 0;border-radius:15px 0;border-width:1px}.nc_socialPanel.swp_pill .nc_tweetContainer{-webkit-border-radius:50px;border-radius:50px;border-width:1px}.nc_socialPanel.swp_shift .nc_tweetContainer:not(.totes){border-width:1px;-moz-transform:skew(-25deg);-o-transform:skew(-25deg);-webkit-transform:skew(-25deg)}.nc_socialPanel.swp_shift .nc_tweetContainer a{-moz-transform:skew(25deg);-o-transform:skew(25deg);-webkit-transform:skew(25deg)}.swp_connected .nc_tweetContainer,.swp_connected .nc_tweetContainer:hover,.swp_connected:hover .nc_tweetContainer{-webkit-border-radius:0!important;border-radius:0!important;border-width:1px;margin:0!important}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .googlePlus,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .googlePlus:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .googlePlus:hover{border:1px solid #df4b37}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .twitter,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .twitter:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .twitter:hover{border:1px solid #429cd6}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_fb,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_fb:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_fb:hover{border:1px solid #3a589e}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .nc_pinterest,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .nc_pinterest:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .nc_pinterest:hover{border:1px solid #cd2029}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .linkedIn,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .linkedIn:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .linkedIn:hover{border:1px solid #0d77b7}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_tumblr,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_tumblr:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_tumblr:hover{border:1px solid #39475d}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_stumbleupon,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_stumbleupon:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_stumbleupon:hover{border:1px solid #ef5025}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_yummly,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_yummly:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_yummly:hover{border:1px solid #e26426}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_reddit,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_reddit:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_reddit:hover{border:1px solid #f04b23}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_email,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_email:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_email:hover{border:1px solid #6bcce9}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_whatsapp,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_whatsapp:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_whatsapp:hover{border:1px solid #71c169}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_pocket,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_pocket:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_pocket:hover{border:1px solid #ef4056}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_buffer,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_buffer:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_buffer:hover{border:1px solid #323b43}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_hacker_news,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_hacker_news:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_hacker_news:hover{border:1px solid #d85623}.nc_socialPanel.swp_flatFresh.swp_d_fullColor .swp_flipboard,body .nc_socialPanel.swp_flatFresh.swp_o_fullColor:hover .swp_flipboard:not(:hover),html body .nc_socialPanel.swp_flatFresh.swp_i_fullColor .swp_flipboard:hover{border:1px solid #bf2626}.nc_socialPanel.swp_d_fullColor .googlePlus,body .nc_socialPanel.swp_o_fullColor:hover .googlePlus,html body .nc_socialPanel.swp_i_fullColor .googlePlus:hover{background:#df4b37;border:1px solid #c44133}.nc_socialPanel.swp_d_fullColor .twitter,body .nc_socialPanel.swp_o_fullColor:hover .twitter,html body .nc_socialPanel.swp_i_fullColor .twitter:hover{background:#429cd6;border:1px solid #3c87b2}.nc_socialPanel.swp_d_fullColor .swp_fb,body .nc_socialPanel.swp_o_fullColor:hover .swp_fb,html body .nc_socialPanel.swp_i_fullColor .swp_fb:hover{background:#3a589e;border:1px solid #2e4675}.nc_socialPanel.swp_d_fullColor .nc_pinterest,body .nc_socialPanel.swp_o_fullColor:hover .nc_pinterest,html body .nc_socialPanel.swp_i_fullColor .nc_pinterest:hover{background:#cd2029;border:1px solid #aa1b29}.nc_socialPanel.swp_d_fullColor .linkedIn,body .nc_socialPanel.swp_o_fullColor:hover .linkedIn,html body .nc_socialPanel.swp_i_fullColor .linkedIn:hover{background:#0d77b7;border:1px solid #0c6591}.nc_socialPanel.swp_d_fullColor .swp_tumblr,body .nc_socialPanel.swp_o_fullColor:hover .swp_tumblr,html body .nc_socialPanel.swp_i_fullColor .swp_tumblr:hover{background:#39475d;border:1px solid #27313f}.nc_socialPanel.swp_d_fullColor .swp_stumbleupon,body .nc_socialPanel.swp_o_fullColor:hover .swp_stumbleupon,html body .nc_socialPanel.swp_i_fullColor .swp_stumbleupon:hover{background:#ef5025;border:1px solid #d34427}.nc_socialPanel.swp_d_fullColor .swp_yummly,body .nc_socialPanel.swp_o_fullColor:hover .swp_yummly,html body .nc_socialPanel.swp_i_fullColor .swp_yummly:hover{background:#e26426;border:1px solid #b65027}.nc_socialPanel.swp_d_fullColor .swp_reddit,body .nc_socialPanel.swp_o_fullColor:hover .swp_reddit,html body .nc_socialPanel.swp_i_fullColor .swp_reddit:hover{background:#f04b23;border:1px solid #d33f27}.nc_socialPanel.swp_d_fullColor .swp_email,body .nc_socialPanel.swp_o_fullColor:hover .swp_email,html body .nc_socialPanel.swp_i_fullColor .swp_email:hover{background:#6bcce9;border:1px solid #61bace}.nc_socialPanel.swp_d_fullColor .swp_whatsapp,body .nc_socialPanel.swp_o_fullColor:hover .swp_whatsapp,html body .nc_socialPanel.swp_i_fullColor .swp_whatsapp:hover{background:#71c169;border:1px solid #28b04b}.nc_socialPanel.swp_d_fullColor .swp_pocket,body .nc_socialPanel.swp_o_fullColor:hover .swp_pocket,html body .nc_socialPanel.swp_i_fullColor .swp_pocket:hover{background:#ef4056;border:1px solid #ce3d55}.nc_socialPanel.swp_d_fullColor .swp_buffer,body .nc_socialPanel.swp_o_fullColor:hover .swp_buffer,html body .nc_socialPanel.swp_i_fullColor .swp_buffer:hover{background:#323b43;border:1px solid #000}.nc_socialPanel.swp_d_fullColor .swp_hacker_news,body .nc_socialPanel.swp_o_fullColor:hover .swp_hacker_news,html body .nc_socialPanel.swp_i_fullColor .swp_hacker_news:hover{background:#f16522;border:1px solid #d85623}.nc_socialPanel.swp_d_fullColor .swp_flipboard,body .nc_socialPanel.swp_o_fullColor:hover .swp_flipboard,html body .nc_socialPanel.swp_i_fullColor .swp_flipboard:hover{background:#e02828;border:1px solid #bf2626}.nc_socialPanel.swp_threeDee.swp_d_fullColor .googlePlus,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .googlePlus,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .googlePlus:hover{border-bottom:3px solid #c44133}.nc_socialPanel.swp_threeDee.swp_d_fullColor .twitter,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .twitter,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .twitter:hover{border-bottom:3px solid #5595bc}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_fb,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_fb,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_fb:hover{border-bottom:3px solid #2e4675}.nc_socialPanel.swp_threeDee.swp_d_fullColor .nc_pinterest,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .nc_pinterest,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .nc_pinterest:hover{border-bottom:3px solid #aa1b29}.nc_socialPanel.swp_threeDee.swp_d_fullColor .linkedIn,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .linkedIn,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .linkedIn:hover{border-bottom:3px solid #0c6591}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_tumblr,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_tumblr,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_tumblr:hover{border-bottom:3px solid #27313f}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_stumbleupon,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_stumbleupon,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_stumbleupon:hover{border-bottom:3px solid #d34427}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_yummly,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_yummly,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_yummly:hover{border-bottom:3px solid #b65027}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_reddit,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_reddit,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_reddit:hover{border-bottom:3px solid #d33f27}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_email,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_email,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_email:hover{border-bottom:3px solid #61bace}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_whatsapp,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_whatsapp,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_whatsapp:hover{border-bottom:3px solid #28b04b}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_pocket,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_pocket,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_pocket:hover{border-bottom:3px solid #ce3d55}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_buffer,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_buffer,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_buffer:hover{border-bottom:3px solid #000}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_hacker_news,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_hacker_news,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_hacker_news:hover{border-bottom:3px solid #d85623}.nc_socialPanel.swp_threeDee.swp_d_fullColor .swp_flipboard,body .nc_socialPanel.swp_threeDee.swp_o_fullColor:hover .swp_flipboard,html body .nc_socialPanel.swp_threeDee.swp_i_fullColor .swp_flipboard:hover{border-bottom:3px solid #bf2626}.nc_socialPanel.swp_d_lightGray .nc_tweetContainer,body .nc_socialPanel.swp_o_lightGray:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_lightGray .nc_tweetContainer:hover{background-color:#ccc;border:1px solid #ccc}.nc_socialPanel.swp_threeDee.swp_d_lightGray .nc_tweetContainer:not(.totesalt),body .nc_socialPanel.swp_threeDee.swp_o_lightGray:hover .nc_tweetContainer:not(.totesalt),html body .nc_socialPanel.swp_threeDee.swp_i_lightGray .nc_tweetContainer:not(.totesalt):hover{border-bottom:3px solid #999}.nc_socialPanel.swp_d_mediumGray .nc_tweetContainer,body .nc_socialPanel.swp_o_mediumGray:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_mediumGray .nc_tweetContainer:hover{background-color:#999;border:1px solid #999}.nc_socialPanel.swp_threeDee.swp_d_mediumGray .nc_tweetContainer:not(.totesalt),body .nc_socialPanel.swp_threeDee.swp_o_mediumGray:hover .nc_tweetContainer:not(.totesalt),html body .nc_socialPanel.swp_threeDee.swp_i_mediumGray .nc_tweetContainer:not(.totesalt):hover{border-bottom:3px solid #444}.nc_socialPanel.swp_d_darkGray .nc_tweetContainer,body .nc_socialPanel.swp_o_darkGray:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_darkGray .nc_tweetContainer:hover{background-color:#444;border:1px solid #444}.nc_socialPanel.swp_threeDee.swp_d_darkGray .nc_tweetContainer:not(.totesalt),body .nc_socialPanel.swp_threeDee.swp_o_darkGray:hover .nc_tweetContainer:not(.totesalt),html body .nc_socialPanel.swp_threeDee.swp_i_darkGray .nc_tweetContainer:not(.totesalt):hover{border-bottom:3px solid #222}.nc_socialPanel.swp_d_lgOutlines a,body .nc_socialPanel.swp_o_lgOutlines:hover a,html body .nc_socialPanel.swp_i_lgOutlines a:hover{color:#ccc}.nc_socialPanel.swp_d_lgOutlines .nc_tweetContainer,body .nc_socialPanel.swp_o_lgOutlines:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_lgOutlines .nc_tweetContainer:hover{background:0 0;border:1px solid #ccc}.nc_socialPanel.swp_d_mdOutlines a,body .nc_socialPanel.swp_o_mdOutlines:hover a,html body .nc_socialPanel.swp_i_mdOutlines a:hover{color:#999}.nc_socialPanel.swp_d_mdOutlines .nc_tweetContainer,body .nc_socialPanel.swp_o_mdOutlines:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_mdOutlines .nc_tweetContainer:hover{background:0 0;border:1px solid #999}.nc_socialPanel.swp_d_dgOutlines a,body .nc_socialPanel.swp_o_dgOutlines:hover a,html body .nc_socialPanel.swp_i_dgOutlines a:hover{color:#444}.nc_socialPanel.swp_d_dgOutlines .nc_tweetContainer,body .nc_socialPanel.swp_o_dgOutlines:hover .nc_tweetContainer,html body .nc_socialPanel.swp_i_dgOutlines .nc_tweetContainer:hover{background:0 0;border:1px solid #444}.nc_socialPanel.swp_d_colorOutlines .googlePlus a,body .nc_socialPanel.swp_o_colorOutlines:hover .googlePlus a,html body .nc_socialPanel.swp_i_colorOutlines .googlePlus a:hover{color:#df4b37}.nc_socialPanel.swp_d_colorOutlines .swp_fb a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_fb a,html body .nc_socialPanel.swp_i_colorOutlines .swp_fb a:hover{color:#3a589e}.nc_socialPanel.swp_d_colorOutlines .nc_pinterest a,body .nc_socialPanel.swp_o_colorOutlines:hover .nc_pinterest a,html body .nc_socialPanel.swp_i_colorOutlines .nc_pinterest a:hover{color:#cd2029}.nc_socialPanel.swp_d_colorOutlines .linkedIn a,body .nc_socialPanel.swp_o_colorOutlines:hover .linkedIn a,html body .nc_socialPanel.swp_i_colorOutlines .linkedIn a:hover{color:#0d77b7}.nc_socialPanel.swp_d_colorOutlines .swp_tumblr a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_tumblr a,html body .nc_socialPanel.swp_i_colorOutlines .swp_tumblr a:hover{color:#39475d}.nc_socialPanel.swp_d_colorOutlines .swp_stumbleupon a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_stumbleupon a,html body .nc_socialPanel.swp_i_colorOutlines .swp_stumbleupon a:hover{color:#ef5025}.nc_socialPanel.swp_d_colorOutlines .swp_yummly a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_yummly a,html body .nc_socialPanel.swp_i_colorOutlines .swp_yummly a:hover{color:#e26426}.nc_socialPanel.swp_d_colorOutlines .swp_whatsapp a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_whatsapp a,html body .nc_socialPanel.swp_i_colorOutlines .swp_whatsapp a:hover{color:#71c169}.nc_socialPanel.swp_d_colorOutlines .swp_pocket a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_pocket a,html body .nc_socialPanel.swp_i_colorOutlines .swp_pocket a:hover{color:#ef4056}.nc_socialPanel.swp_d_colorOutlines .swp_reddit a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_reddit a,html body .nc_socialPanel.swp_i_colorOutlines .swp_reddit a:hover{color:#f04b23}.nc_socialPanel.swp_d_colorOutlines .swp_email a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_email a,html body .nc_socialPanel.swp_i_colorOutlines .swp_email a:hover{color:#6bcce9}.nc_socialPanel.swp_d_colorOutlines .swp_buffer a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_buffer a,html body .nc_socialPanel.swp_i_colorOutlines .swp_buffer a:hover{color:#323b43}.nc_socialPanel.swp_d_colorOutlines .swp_hacker_news a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_hacker_news a,html body .nc_socialPanel.swp_i_colorOutlines .swp_hacker_news a:hover{color:#f16522}.nc_socialPanel.swp_d_colorOutlines .swp_flipboard a,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_flipboard a,html body .nc_socialPanel.swp_i_colorOutlines .swp_flipboard a:hover{color:#e02828}.nc_socialPanel.swp_d_colorOutlines .googlePlus,body .nc_socialPanel.swp_o_colorOutlines:hover .googlePlus,html body .nc_socialPanel.swp_i_colorOutlines .googlePlus:hover{background:0 0;border:1px solid #df4b37}.nc_socialPanel.swp_d_colorOutlines .twitter,body .nc_socialPanel.swp_o_colorOutlines:hover .twitter,html body .nc_socialPanel.swp_i_colorOutlines .twitter:hover{background:0 0;border:1px solid #429cd6}.nc_socialPanel.swp_d_colorOutlines .swp_fb,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_fb,html body .nc_socialPanel.swp_i_colorOutlines .swp_fb:hover{background:0 0;border:1px solid #3a589e}.nc_socialPanel.swp_d_colorOutlines .nc_pinterest,body .nc_socialPanel.swp_o_colorOutlines:hover .nc_pinterest,html body .nc_socialPanel.swp_i_colorOutlines .nc_pinterest:hover{background:0 0;border:1px solid #cd2029}.nc_socialPanel.swp_d_colorOutlines .linkedIn,body .nc_socialPanel.swp_o_colorOutlines:hover .linkedIn,html body .nc_socialPanel.swp_i_colorOutlines .linkedIn:hover{background:0 0;border:1px solid #0d77b7}.nc_socialPanel.swp_d_colorOutlines .swp_tumblr,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_tumblr,html body .nc_socialPanel.swp_i_colorOutlines .swp_tumblr:hover{background:0 0;border:1px solid #39475d}.nc_socialPanel.swp_d_colorOutlines .swp_stumbleupon,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_stumbleupon,html body .nc_socialPanel.swp_i_colorOutlines .swp_stumbleupon:hover{background:0 0;border:1px solid #ef5025}.nc_socialPanel.swp_d_colorOutlines .swp_yummly,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_yummly,html body .nc_socialPanel.swp_i_colorOutlines .swp_yummly:hover{background:0 0;border:1px solid #e26426}.nc_socialPanel.swp_d_colorOutlines .swp_whatsapp,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_whatsapp,html body .nc_socialPanel.swp_i_colorOutlines .swp_whatsapp:hover{background:0 0;border:1px solid #71c169}.nc_socialPanel.swp_d_colorOutlines .swp_reddit,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_reddit,html body .nc_socialPanel.swp_i_colorOutlines .swp_reddit:hover{background:0 0;border:1px solid #f04b23}.nc_socialPanel.swp_d_colorOutlines .swp_email,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_email,html body .nc_socialPanel.swp_i_colorOutlines .swp_email:hover{background:0 0;border:1px solid #6bcce9}.nc_socialPanel.swp_d_colorOutlines .swp_pocket,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_pocket,html body .nc_socialPanel.swp_i_colorOutlines .swp_pocket:hover{background:0 0;border:1px solid #ef4056}.nc_socialPanel.swp_d_colorOutlines .swp_buffer,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_buffer,html body .nc_socialPanel.swp_i_colorOutlines .swp_buffer:hover{background:0 0;border:1px solid #323b43}.nc_socialPanel.swp_d_colorOutlines .swp_hacker_news,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_hacker_news,html body .nc_socialPanel.swp_i_colorOutlines .swp_hacker_news:hover{background:0 0;border:1px solid #f16522}.nc_socialPanel.swp_d_colorOutlines .swp_flipboard,body .nc_socialPanel.swp_o_colorOutlines:hover .swp_flipboard,html body .nc_socialPanel.swp_i_colorOutlines .swp_flipboard:hover{background:0 0;border:1px solid #bf2626}.nc_socialPanelSide{flex-direction:column;height:auto;overflow:visible;top:200px;-webkit-transition:all .2s linear;transition:all .2s linear;width:100px!important;z-index:9999999;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column}.nc_socialPanelSide.slide{position:fixed;left:-100px;-webkit-transition:all .2s linear;transition:all .2s linear}.nc_socialPanelSide.fade{display:none;position:fixed;left:5px;-webkit-transition:all .2s linear;transition:all .2s linear}.nc_socialPanelSide .nc_tweetContainer{background:#dd4b38;-webkit-border-radius:3px;border-radius:3px;clear:both;display:block;font-family:Lato,sans-serif;height:32px;margin:3px 0!important;overflow:hidden;padding:0;-webkit-transition:all .1s linear;transition:all .1s linear;vertical-align:top;width:90px}.nc_socialPanelSide .nc_tweetContainer .iconFiller{display:inline-block;height:40px;margin:0 6px;padding:0;-webkit-transition:all .1s linear;transition:all .1s linear;vertical-align:middle;width:21px}.nc_socialPanelSide .nc_tweetContainer .swp_count{display:inline-block;font-size:14px;height:32px;line-height:35px;margin:0;overflow:hidden;padding:0;text-align:right;-webkit-transition:all .1s linear;transition:all .1s linear;vertical-align:top;width:0}.nc_socialPanelSide .nc_tweetContainer a{cursor:pointer;display:block;font-weight:500;height:36px;margin:0;padding:0;text-decoration:none;-webkit-transition:all .1s linear;transition:all .1s linear;vertical-align:top}.nc_socialPanelSide .nc_tweetContainer .sw,.nc_socialPanelSide .nc_tweetContainer .swp_share{float:left;line-height:34px}.nc_socialPanelSide.swp_default .nc_tweetContainer .sw{line-height:32px}.nc_socialPanelSide.swp_default .nc_tweetContainer .swp_share{line-height:30px}.nc_socialPanelSide .nc_tweetContainer .swp_share{font-size:13px}.nc_socialPanelSide .nc_tweetContainer:hover,.nc_socialPanelSide .nc_tweetContainer:hover .iconFiller,.nc_socialPanelSide .nc_tweetContainer:hover .swp_count{-webkit-transition:all .1s linear;transition:all .1s linear}.nc_socialPanelSide.swp_boxed{-ms-transform:scale(.9);-webkit-transform:scale(.9);transform:scale(.9)}.nc_socialPanelSide.swp_boxed .nc_tweetContainer{margin-bottom:5px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer,.nc_socialPanelSide.swp_boxed .nc_tweetContainer a{height:75px;position:relative;width:75px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer i.sw{font-size:27px;height:40px;margin:0;padding-top:10px;text-align:center;width:100%}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) span.swp_share{height:35px;opacity:0;position:absolute;bottom:0;left:0;text-align:center;width:75px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) span.swp_count{height:35px;margin:0;padding:0;position:absolute;bottom:0;left:0;text-align:center;-webkit-transition:padding .1s linear;transition:padding .1s linear;width:100%}.nc_socialPanelSide.swp_boxed .nc_tweetContainer span.swp_hide .iconFiller,.nc_socialPanelSide.swp_boxed .nc_tweetContainer span.swp_hide .spaceManWilly,.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) span.swp_count.swp_hide{height:75px;opacity:1}.nc_socialPanelSide.swp_boxed .nc_tweetContainer span.iconFiller{height:40px;width:75px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes):hover span.swp_count:not(.swp_hide){opacity:0}.nc_socialPanelSide.swp_boxed .totes{padding:0;width:75px!important}.nc_socialPanelSide .nc_tweetContainer:not(.totes){line-height:34px}.nc_socialPanelSide:not(.swp_boxed) .nc_tweetContainer:not(.totes) .iconFiller{margin-left:2px;width:30px}.nc_socialPanelSide .nc_tweetContainer:not(.totes) .swp_count{padding:0 8px;width:48px}.nc_socialPanelSide .nc_tweetContainer:not(.totes) .swp_count.swp_hide{padding:0;width:100%}.nc_socialPanelSide .nc_tweetContainer:not(.totes) .swp_hide .iconFiller{display:block;float:none;margin:0 auto}.nc_socialPanelSide:not(.swp_boxed) .nc_tweetContainer:not(.totes):hover{width:150px}.nc_socialPanelSide .nc_tweetContainer:not(.totes) .spaceManWilly,.nc_socialPanelSide .nc_tweetContainer:not(.totes):hover .iconFiller{width:90px}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) .spaceManWilly,.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes):hover .iconFiller{width:100%}.nc_socialPanelSide .nc_tweetContainer.totes{background:rgba(0,0,0,0);border:0!important;font-weight:800;height:45px;margin:0;padding:0;text-align:center;width:90px}.nc_socialPanelSide .nc_tweetContainer.totes .swp_count{color:#444;display:block;font-family:Lato,sans-serif;height:28px;text-align:center;width:100%}.nc_socialPanelSide .nc_tweetContainer.totes .swp_label{color:#444;display:block;font-family:Lato,sans-serif;font-size:50%;position:relative;text-align:center;width:100%}.nc_wrapper{background:#fff;position:fixed;-webkit-transition:top .5s bottom .5s;transition:top .5s bottom .5s;width:100%;z-index:99999}.nc_wrapper.floatBottom{bottom:0;left:0}.nc_wrapper.floatTop{top:0;left:0}.nc_floater{margin:10px 0;position:relative;left:304px;width:740px}.nc_socialPanelSide.hideCounts a{text-align:center}.nc_socialPanelSide.hideCounts .iconFiller{float:none;text-align:left}.sw{display:inline-block;font-family:sw-icon-font!important;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;text-rendering:auto;-ms-transform:translate(0,0);-webkit-transform:translate(0,0);transform:translate(0,0)}.sw:before{display:block!important}.wp-editor-container .sw:before{font-size:18px;line-height:22px}.wp-editor-container .sw-social-warfare:before{color:#ee464f}.mce-container .sw-social-warfare{color:#ee464f;font-size:20px;margin-right:15px;vertical-align:middle}.sw-google-plus:before{content:"h"}.sw-pinterest:before{content:"b"}.sw-twitter:before{content:"s"}.sw-facebook:before{content:"j"}.sw-linkedin:before{content:"f"}.sw-tumblr:before{content:"r"}.sw-stumbleupon:before{content:"q"}.sw-reddit:before{content:"a"}.sw-email:before{content:"k"}.sw-yummly:before{content:"x"}.sw-whatsapp:before{content:"y"}.sw-pocket:before{content:"B"}.sw-buffer:before{content:"z"}.sw-hacker_news:before{content:"D"}.sw-flipboard:before{content:"C"}.sw-social-warfare:before{content:"p"}.sw-click-to-tweet:after,.sw-tweet-clear:after{content:".";height:0;clear:both;visibility:hidden;display:block}.swp_CTT{text-decoration:none!important}.sw-tweet-clear{zoom:1}.sw-click-to-tweet{display:block;margin:15px 0;padding:15px 30px;position:relative}.sw-click-to-tweet:after{line-height:0}.sw-click-to-tweet .sw-ctt-text{margin:0 0 10px;padding:0;position:relative;word-wrap:break-word}a .sw-click-to-tweet .sw-ctt-text{display:block;font-size:24px;font-weight:500;line-height:140%;margin:0;padding:0;position:relative;text-decoration:none;text-transform:none}.sw-click-to-tweet .sw-ctt-btn{display:block;float:right;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;line-height:100%;margin:10px 0 0;padding:3px 5px 3px 3px;position:relative;text-decoration:none;text-transform:uppercase}.sw-click-to-tweet i.sw-twitter{float:right;font-size:21px;margin-left:15px;margin-top:2px;text-transform:none}a.swp_CTT.style1 .sw-click-to-tweet{background-color:#fff;border:1px solid #ddd;-webkit-border-radius:4px;border-radius:4px}a.swp_CTT.style2 .sw-click-to-tweet{background-color:#fff;border:4px double #ddd;-webkit-border-radius:0;border-radius:0}a.style2 .sw-click-to-tweet .sw-ctt-text{color:#666;font-style:italic;text-decoration:none}a.swp_CTT.style3:hover .sw-click-to-tweet{border-left:10px solid #3c87b2;padding-right:20px;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style3 .sw-click-to-tweet{background-color:#429cd6;border:none;border-left:10px solid #429cd6;-webkit-border-radius:0;border-radius:0;padding-right:20px;-webkit-transition:all .25s linear;transition:all .25s linear}a.style3 .sw-click-to-tweet .sw-ctt-text{color:#fff;font-style:italic;text-decoration:none}a.swp_CTT.style4:hover .sw-click-to-tweet{border-left:10px solid #3c87b2;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style4 .sw-click-to-tweet{background-color:#333;border-left:10px solid #c33;-webkit-border-radius:0;border-radius:0;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style5:hover .sw-click-to-tweet{background-color:#d34250;border-left:10px solid #30394f;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style5 .sw-click-to-tweet{background-color:#30394f;border-left:10px solid #d34250;-webkit-border-radius:0;border-radius:0;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style6:hover .sw-click-to-tweet{background-color:#ced3dc;border-left:10px solid #d34250;-webkit-transition:all .25s linear;transition:all .25s linear}a.swp_CTT.style6 .sw-click-to-tweet{background-color:#eee;border-left:10px solid #d34250;-webkit-border-radius:0;border-radius:0;-webkit-transition:all .25s linear;transition:all .25s linear}a.style6 .sw-click-to-tweet i.sw-twitter{color:#30394f}.swp_pop_thumb{-webkit-border-radius:3px;border-radius:3px;float:left;height:100px;margin:5px 25px 5px 0;width:100px}.swp_popular_post{clear:both}.swp_clearfix:after{clear:both;content:" ";display:block;height:0;visibility:hidden}.swp_popular_post a.swp_popularity{border:none;display:block;line-height:1.5;margin:20px 0}span.swp_pop_count{display:block;font-size:70%}.swp_widget_box{-webkit-border-radius:3px;border-radius:3px}div.sw-pinit{display:table!important;line-height:0;position:relative!important}.nc_socialPanel.mobile .iconFiller~.swp_count,.sw-content-locator,div.nc_socialPanel .nc_tweetContainer.swp_whatsapp:not(.mobile){display:none}div.sw-pinit a.sw-pinit-button,div.sw-pinit a.sw-pinit-button:visited{background:#cd2029;border:1px solid #aa1b29;-webkit-border-radius:4px;border-radius:4px;color:#fff;font-size:20px;height:50px;line-height:45px;opacity:0;padding:0 30px;position:absolute;text-decoration:none;-webkit-transition:opacity .5s;transition:opacity .5s;z-index:200}.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes) .swp_hide span.swp_share,.nc_socialPanelSide.swp_boxed .nc_tweetContainer:not(.totes):hover span.swp_share:not(.swp_hide),div.sw-pinit:focus a.sw-pinit-button,div.sw-pinit:hover a.sw-pinit-button{opacity:1}div.sw-pinit a.sw-pinit-button::before{color:#fff;content:"b";float:left;font-family:sw-icon-font;font-size:24px;font-weight:400;line-height:50px;margin-left:-5px;margin-right:10px}div.sw-pinit a.sw-pinit-button:hover::before{content:"F"}div.sw-pinit a.sw-pinit-button::focus,div.sw-pinit a.sw-pinit-button::hover{background:#aa1b29;color:#fff;text-decoration:none}div.sw-pinit .sw-pinit-left{left:30px}div.sw-pinit .sw-pinit-center{margin-left:-60px;left:50%}div.sw-pinit .sw-pinit-right{right:30px}div.sw-pinit .sw-pinit-top{top:30px}div.sw-pinit .sw-pinit-middle{margin-top:-25px;top:50%}div.sw-pinit .sw-pinit-bottom{bottom:30px}.mobile .nc_tweetContainer:nth-last-child(2),.nc_socialPanel.notMobile .nc_tweetContainer:nth-last-child(1),.nc_tweetContainer.totes:nth-last-child(1){margin-right:0}.nc_socialPanel.swp_d_darkGray a,.nc_socialPanel.swp_d_fullColor a,.nc_socialPanel.swp_d_lightGray a,.nc_socialPanel.swp_d_mediumGray a,body .nc_socialPanel.swp_o_darkGray:hover a,body .nc_socialPanel.swp_o_fullColor:hover a,body .nc_socialPanel.swp_o_lightGray:hover a,body .nc_socialPanel.swp_o_mediumGray:hover a,html body .nc_socialPanel.swp_i_darkGray a:hover,html body .nc_socialPanel.swp_i_fullColor .nc_tweetContainer:hover a,html body .nc_socialPanel.swp_i_lightGray .nc_tweetContainer:hover a,html body .nc_socialPanel.swp_i_mediumGray a:hover{color:#fff}.nc_socialPanel.swp_d_colorOutlines .twitter a,.wp-editor-container .sw-twitter:before,a.style1 .sw-click-to-tweet i.sw-twitter,a.style2 .sw-click-to-tweet i.sw-twitter,body .nc_socialPanel.swp_o_colorOutlines:hover .twitter a,html body .nc_socialPanel.swp_i_colorOutlines .twitter a:hover{color:#429cd6}a.style1 .sw-click-to-tweet .sw-ctt-btn,a.style1 .sw-click-to-tweet .sw-ctt-text{color:#999;text-decoration:none}a.style1:hover .sw-click-to-tweet .sw-ctt-btn,a.style1:hover .sw-click-to-tweet .sw-ctt-text,a.style2 .sw-click-to-tweet .sw-ctt-btn,a.style2:hover .sw-click-to-tweet .sw-ctt-btn,a.style2:hover .sw-click-to-tweet .sw-ctt-text{color:#666;text-decoration:none}a.style3 .sw-click-to-tweet .sw-ctt-btn,a.style3 .sw-click-to-tweet i.sw-twitter,a.style3:hover .sw-click-to-tweet .sw-ctt-btn,a.style3:hover .sw-click-to-tweet .sw-ctt-text,a.style4 .sw-click-to-tweet .sw-ctt-btn,a.style4 .sw-click-to-tweet .sw-ctt-text,a.style4:hover .sw-click-to-tweet .sw-ctt-btn,a.style4:hover .sw-click-to-tweet .sw-ctt-text,a.style5 .sw-click-to-tweet .sw-ctt-btn,a.style5 .sw-click-to-tweet .sw-ctt-text,a.style5:hover .sw-click-to-tweet .sw-ctt-btn,a.style5:hover .sw-click-to-tweet .sw-ctt-text{color:#fff;text-decoration:none}a.style4 .sw-click-to-tweet i.sw-twitter,a.style5 .sw-click-to-tweet i.sw-twitter{color:#fff}a.style6 .sw-click-to-tweet .sw-ctt-btn,a.style6 .sw-click-to-tweet .sw-ctt-text{color:#30394f;text-decoration:none}a.style6:hover .sw-click-to-tweet .sw-ctt-btn,a.style6:hover .sw-click-to-tweet .sw-ctt-text,a.style6:hover .sw-click-to-tweet i.sw-twitter{color:#2a2d34;text-decoration:none}.scale-70{-ms-transform:scale(.7);-webkit-transform:scale(.7);transform:scale(.7)}.nc_socialPanel:not(.nc_floater).scale-70.scale-fullWidth{width:142.8571428571429%!important}.scale-80{-ms-transform:scale(.8);-webkit-transform:scale(.8);transform:scale(.8)}.nc_socialPanel:not(.nc_floater).scale-80.scale-fullWidth{width:125%!important}.scale-90{-ms-transform:scale(.9);-webkit-transform:scale(.9);transform:scale(.9)}.nc_socialPanel:not(.nc_floater).scale-90.scale-fullWidth{width:111.111111111111%!important}.scale-110{-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1)}.nc_socialPanel:not(.nc_floater).scale-110.scale-fullWidth{width:90.90909090909091%!important}.scale-120{-ms-transform:scale(1.2);-webkit-transform:scale(1.2);transform:scale(1.2)}.nc_socialPanel:not(.nc_floater).scale-120.scale-fullWidth{width:83.33333333333333%!important}.scale-130{-ms-transform:scale(1.3);-webkit-transform:scale(1.3);transform:scale(1.3)}.nc_socialPanel:not(.nc_floater).scale-130.scale-fullWidth{width:76.92307692307692%!important}.scale-140{-ms-transform:scale(1.4);-webkit-transform:scale(1.4);transform:scale(1.4)}.nc_socialPanel:not(.nc_floater).scale-140.scale-fullWidth{width:71.42857142857143%!important}.nc_floater.scale-center,.nc_floater.scale-right,.scale-fullWidth,.scale-left{-ms-transform-origin:left;-webkit-transform-origin:left;transform-origin:left}.scale-right{-ms-transform-origin:right;-webkit-transform-origin:right;transform-origin:right}.scale-center{-ms-transform-origin:center;-webkit-transform-origin:center;transform-origin:center}div.nc_socialPanel .nc_tweetContainer.swp_emphasize{-webkit-box-flex:2;-moz-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2}.sw-pinit.aligncenter{margin:0 auto}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){div.sw-pinit{display:inline-block!important;max-width:100%}}.swp_hidden_pin_image{height:0;opacity:0;position:absolute;top:0;width:0}
|
functions/frontend-output/buttons-standard.php
CHANGED
@@ -118,7 +118,7 @@ function social_warfare_buttons( $array = array() ) {
|
|
118 |
return $array['content'];
|
119 |
|
120 |
// Don't do anything if we're in the admin section
|
121 |
-
elseif ( is_admin() ) :
|
122 |
return $array['content'];
|
123 |
|
124 |
// If all the checks pass, let's make us some buttons!
|
@@ -271,7 +271,7 @@ function social_warfare_buttons( $array = array() ) {
|
|
271 |
$assets .= '</div>';
|
272 |
|
273 |
// Reset the cache timestamp if needed
|
274 |
-
if ( swp_is_cache_fresh( $postID ) == false ) :
|
275 |
delete_post_meta( $postID,'swp_cache_timestamp' );
|
276 |
update_post_meta( $postID,'swp_cache_timestamp',floor( ((date( 'U' ) / 60) / 60) ) );
|
277 |
endif;
|
118 |
return $array['content'];
|
119 |
|
120 |
// Don't do anything if we're in the admin section
|
121 |
+
elseif ( is_admin() || is_attachment() ) :
|
122 |
return $array['content'];
|
123 |
|
124 |
// If all the checks pass, let's make us some buttons!
|
271 |
$assets .= '</div>';
|
272 |
|
273 |
// Reset the cache timestamp if needed
|
274 |
+
if ( swp_is_cache_fresh( $postID ) == false && 'legacy' === $options['cacheMethod'] ) :
|
275 |
delete_post_meta( $postID,'swp_cache_timestamp' );
|
276 |
update_post_meta( $postID,'swp_cache_timestamp',floor( ((date( 'U' ) / 60) / 60) ) );
|
277 |
endif;
|
functions/utilities/permalinks.php
CHANGED
@@ -48,58 +48,60 @@ function get_alternate_permalink( $format ) {
|
|
48 |
function swp_get_alternate_permalink( $format, $protocol, $id, $prefix ) {
|
49 |
|
50 |
// Setup the Default Permalink Structure
|
51 |
-
if (
|
|
|
|
|
52 |
$domain = get_site_url();
|
53 |
$url = $domain . '/?p=' . $id;
|
54 |
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
// Setup the "Month and name" Permalink Structure
|
63 |
-
elseif ( $format == 'month_and_name' ) :
|
64 |
-
$domain = get_site_url();
|
65 |
-
$date = get_the_date( 'Y/m',$id );
|
66 |
-
$slug = basename( get_permalink( $id ) );
|
67 |
-
$url = $domain . '/' . $date . '/' . $slug . '/';
|
68 |
-
|
69 |
-
// Setup the "Numeric" Permalink Structure
|
70 |
-
elseif ( $format == 'numeric' ) :
|
71 |
-
$domain = get_site_url();
|
72 |
-
$url = $domain . '/archives/' . $id . '/';
|
73 |
-
|
74 |
-
// Setup the "Post name" Permalink Structure
|
75 |
-
elseif ( $format == 'post_name' ) :
|
76 |
-
$domain = get_site_url();
|
77 |
-
$post_data = get_post( $id, ARRAY_A );
|
78 |
-
$slug = $post_data['post_name'];
|
79 |
-
$url = $domain . '/' . $slug . '/';
|
80 |
-
elseif ( $format == 'unchanged' ) :
|
81 |
-
$url = get_permalink( $id );
|
82 |
-
endif;
|
83 |
|
84 |
-
//
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
endif;
|
91 |
|
92 |
-
//
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
$url = str_replace( 'https://','https://www.',$url );
|
97 |
-
elseif ( $prefix == 'nonwww' && strpos( $url,'www' ) !== false ) :
|
98 |
-
$url = str_replace( 'http://www.','http://',$url );
|
99 |
-
$url = str_replace( 'https://www.','https://',$url );
|
100 |
-
endif;
|
101 |
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
|
104 |
}
|
105 |
|
@@ -249,6 +251,11 @@ function swp_get_alt_permalink( $post = 0, $leavename = false ) {
|
|
249 |
*/
|
250 |
$url = apply_filters( 'post_link', $permalink, $post, $leavename );
|
251 |
|
|
|
|
|
|
|
|
|
|
|
252 |
// Check if they're using cross domain recovery
|
253 |
if ( isset( $swp_user_options['current_domain'] ) && $swp_user_options['current_domain']
|
254 |
&& isset( $swp_user_options['former_domain'] ) && $swp_user_options['former_domain'] ) :
|
48 |
function swp_get_alternate_permalink( $format, $protocol, $id, $prefix ) {
|
49 |
|
50 |
// Setup the Default Permalink Structure
|
51 |
+
if( is_front_page() ):
|
52 |
+
$url = get_site_url();
|
53 |
+
elseif ( $format == 'default' ) :
|
54 |
$domain = get_site_url();
|
55 |
$url = $domain . '/?p=' . $id;
|
56 |
|
57 |
+
// Setup the "Day and name" Permalink Structure
|
58 |
+
elseif ( $format == 'day_and_name' ) :
|
59 |
+
$domain = get_site_url();
|
60 |
+
$date = get_the_date( 'Y/m/d',$id );
|
61 |
+
$slug = basename( get_permalink( $id ) );
|
62 |
+
$url = $domain . '/' . $date . '/' . $slug . '/';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
+
// Setup the "Month and name" Permalink Structure
|
65 |
+
elseif ( $format == 'month_and_name' ) :
|
66 |
+
$domain = get_site_url();
|
67 |
+
$date = get_the_date( 'Y/m',$id );
|
68 |
+
$slug = basename( get_permalink( $id ) );
|
69 |
+
$url = $domain . '/' . $date . '/' . $slug . '/';
|
|
|
70 |
|
71 |
+
// Setup the "Numeric" Permalink Structure
|
72 |
+
elseif ( $format == 'numeric' ) :
|
73 |
+
$domain = get_site_url();
|
74 |
+
$url = $domain . '/archives/' . $id . '/';
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
+
// Setup the "Post name" Permalink Structure
|
77 |
+
elseif ( $format == 'post_name' ) :
|
78 |
+
$domain = get_site_url();
|
79 |
+
$post_data = get_post( $id, ARRAY_A );
|
80 |
+
$slug = $post_data['post_name'];
|
81 |
+
$url = $domain . '/' . $slug . '/';
|
82 |
+
elseif ( $format == 'unchanged' ) :
|
83 |
+
$url = get_permalink( $id );
|
84 |
+
endif;
|
85 |
+
|
86 |
+
// Check and Adjust the Protocol setting
|
87 |
+
if ( $protocol == 'unchanged' ) :
|
88 |
+
elseif ( $protocol == 'https' && strpos( $url,'https' ) === false ) :
|
89 |
+
$url = str_replace( 'http','https',$url );
|
90 |
+
elseif ( $protocol == 'http' && strpos( $url,'https' ) !== false ) :
|
91 |
+
$url = str_replace( 'https','http',$url );
|
92 |
+
endif;
|
93 |
+
|
94 |
+
// Check and Adjust the Prefix setting
|
95 |
+
if ( $prefix == 'unchanged' ) :
|
96 |
+
elseif ( $prefix == 'www' && strpos( $url,'www' ) === false ) :
|
97 |
+
$url = str_replace( 'http://','http://www.',$url );
|
98 |
+
$url = str_replace( 'https://','https://www.',$url );
|
99 |
+
elseif ( $prefix == 'nonwww' && strpos( $url,'www' ) !== false ) :
|
100 |
+
$url = str_replace( 'http://www.','http://',$url );
|
101 |
+
$url = str_replace( 'https://www.','https://',$url );
|
102 |
+
endif;
|
103 |
+
|
104 |
+
return $url;
|
105 |
|
106 |
}
|
107 |
|
251 |
*/
|
252 |
$url = apply_filters( 'post_link', $permalink, $post, $leavename );
|
253 |
|
254 |
+
// Ignore all filters and just start with the site url on the home page
|
255 |
+
if( is_front_page() ):
|
256 |
+
$url = get_site_url();
|
257 |
+
endif;
|
258 |
+
|
259 |
// Check if they're using cross domain recovery
|
260 |
if ( isset( $swp_user_options['current_domain'] ) && $swp_user_options['current_domain']
|
261 |
&& isset( $swp_user_options['former_domain'] ) && $swp_user_options['former_domain'] ) :
|
functions/utilities/share-cache.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
* @license GPL-3.0+
|
9 |
* @since 1.0.0 | CREATED | UNKNOWN
|
10 |
* @since 2.2.4 | UPDATED | 02 MAY 2017 | Added a function to remove the cache rebuild URL parameter from WP's query
|
|
|
11 |
*/
|
12 |
|
13 |
defined( 'WPINC' ) || die;
|
@@ -89,7 +90,7 @@ function swp_is_cache_fresh( $post_id, $output = false, $ajax = false ) {
|
|
89 |
$fresh_cache = true;
|
90 |
}
|
91 |
|
92 |
-
return $fresh_cache;
|
93 |
}
|
94 |
|
95 |
// Always be TRUE if we're not on a single.php otherwise we could end up
|
@@ -139,7 +140,7 @@ function swp_cache_rebuild() {
|
|
139 |
* Bail if we already have fresh cache and this request is invalid.
|
140 |
*
|
141 |
*/
|
142 |
-
if ( swp_is_cache_fresh( $post_id , true , true ) ) {
|
143 |
wp_send_json_error();
|
144 |
die();
|
145 |
}
|
@@ -370,11 +371,20 @@ function swp_output_cache_trigger( $info ) {
|
|
370 |
var swp_buttons_exist = !!document.getElementsByClassName( 'nc_socialPanel' );
|
371 |
if ( swp_buttons_exist ) {
|
372 |
jQuery( document ).ready( function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
373 |
var swp_cache_data = {
|
374 |
'action': 'swp_cache_trigger',
|
375 |
'post_id': <?php echo $info['postID']; ?>,
|
376 |
'timestamp': <?php echo time(); ?>
|
377 |
};
|
|
|
378 |
// if( !swp_cache_data.timestamp ){ // error handling}
|
379 |
console.log( "Server Timestamp is " + swp_cache_data.timestamp );
|
380 |
var browser_date = Date.now();
|
8 |
* @license GPL-3.0+
|
9 |
* @since 1.0.0 | CREATED | UNKNOWN
|
10 |
* @since 2.2.4 | UPDATED | 02 MAY 2017 | Added a function to remove the cache rebuild URL parameter from WP's query
|
11 |
+
* @since 2.2.6 | UPDATED | 11 MAY 2017 | Added a "force" parameter to force cache rebuild when using URL parameters
|
12 |
*/
|
13 |
|
14 |
defined( 'WPINC' ) || die;
|
90 |
$fresh_cache = true;
|
91 |
}
|
92 |
|
93 |
+
// return $fresh_cache;
|
94 |
}
|
95 |
|
96 |
// Always be TRUE if we're not on a single.php otherwise we could end up
|
140 |
* Bail if we already have fresh cache and this request is invalid.
|
141 |
*
|
142 |
*/
|
143 |
+
if ( swp_is_cache_fresh( $post_id , true , true ) && !isset($_POST['force']) ) {
|
144 |
wp_send_json_error();
|
145 |
die();
|
146 |
}
|
371 |
var swp_buttons_exist = !!document.getElementsByClassName( 'nc_socialPanel' );
|
372 |
if ( swp_buttons_exist ) {
|
373 |
jQuery( document ).ready( function() {
|
374 |
+
<?php if( isset($_GET['swp_cache']) && 'rebuild' === $_GET['swp_cache'] ): ?>
|
375 |
+
var swp_cache_data = {
|
376 |
+
'action': 'swp_cache_trigger',
|
377 |
+
'post_id': <?php echo $info['postID']; ?>,
|
378 |
+
'timestamp': <?php echo time(); ?>,
|
379 |
+
'force':true
|
380 |
+
};
|
381 |
+
<?php else: ?>
|
382 |
var swp_cache_data = {
|
383 |
'action': 'swp_cache_trigger',
|
384 |
'post_id': <?php echo $info['postID']; ?>,
|
385 |
'timestamp': <?php echo time(); ?>
|
386 |
};
|
387 |
+
<?php endif; ?>
|
388 |
// if( !swp_cache_data.timestamp ){ // error handling}
|
389 |
console.log( "Server Timestamp is " + swp_cache_data.timestamp );
|
390 |
var browser_date = Date.now();
|
functions/utilities/share-count-function.php
CHANGED
@@ -112,7 +112,7 @@ function get_social_warfare_shares( $postID ) {
|
|
112 |
endif;
|
113 |
if (is_numeric( $shares[ $network ] ) ):
|
114 |
$shares['totes'] += $shares[ $network ];
|
115 |
-
endif;
|
116 |
endforeach;
|
117 |
endif;
|
118 |
|
112 |
endif;
|
113 |
if (is_numeric( $shares[ $network ] ) ):
|
114 |
$shares['totes'] += $shares[ $network ];
|
115 |
+
endif;
|
116 |
endforeach;
|
117 |
endif;
|
118 |
|
functions/utilities/utility.php
CHANGED
@@ -110,40 +110,42 @@ function swp_get_excerpt_by_id( $post_id ) {
|
|
110 |
$the_post = get_post( $post_id ); // Gets post ID
|
111 |
$the_excerpt = $the_post->post_excerpt;
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
$excerpt_length = 100; // Sets excerpt length by word count
|
120 |
-
|
121 |
-
// Filter out any inline script or style tags as well as their content
|
122 |
-
if( !empty( $the_excerpt ) ):
|
123 |
-
$html = new DOMDocument();
|
124 |
-
$html->loadHTML($the_excerpt);
|
125 |
-
swp_remove_elements_by_tag_name('script', $html);
|
126 |
-
swp_remove_elements_by_tag_name('style', $html);
|
127 |
-
$the_excerpt = $html->saveHtml();
|
128 |
-
endif;
|
129 |
-
|
130 |
-
$the_excerpt = strip_tags( strip_shortcodes( $the_excerpt ) ); // Strips tags and images
|
131 |
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
-
|
145 |
|
146 |
-
|
147 |
}
|
148 |
|
149 |
if ( ! function_exists( 'swp_mobile_detection' ) ) {
|
110 |
$the_post = get_post( $post_id ); // Gets post ID
|
111 |
$the_excerpt = $the_post->post_excerpt;
|
112 |
|
113 |
+
// If not, let's create an excerpt
|
114 |
+
else :
|
115 |
+
$the_post = get_post( $post_id ); // Gets post ID
|
116 |
+
$the_excerpt = $the_post->post_content; // Gets post_content to be used as a basis for the excerpt
|
117 |
+
endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
+
$excerpt_length = 100; // Sets excerpt length by word count
|
120 |
+
|
121 |
+
// Filter out any inline script or style tags as well as their content
|
122 |
+
if( !empty( $the_excerpt ) ):
|
123 |
+
libxml_use_internal_errors(true);
|
124 |
+
$html = new DOMDocument();
|
125 |
+
@$html->loadHTML($the_excerpt);
|
126 |
+
swp_remove_elements_by_tag_name('script', $html);
|
127 |
+
swp_remove_elements_by_tag_name('style', $html);
|
128 |
+
$the_excerpt = $html->saveHtml();
|
129 |
+
libxml_use_internal_errors(false);
|
130 |
+
endif;
|
131 |
|
132 |
+
$the_excerpt = strip_tags( strip_shortcodes( $the_excerpt ) ); // Strips tags and images
|
133 |
+
$the_excerpt = preg_replace( '/\[[^\]]+\]/', '', $the_excerpt );
|
134 |
+
$the_excerpt = str_replace( ']]>', ']]>', $the_excerpt );
|
135 |
+
$the_excerpt = strip_tags( $the_excerpt );
|
136 |
+
$excerpt_length = apply_filters( 'excerpt_length', 100 );
|
137 |
+
$excerpt_more = apply_filters( 'excerpt_more', ' ' . '[...]' );
|
138 |
+
$words = preg_split( "/[\n\r\t ]+/", $the_excerpt, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY );
|
139 |
+
|
140 |
+
if ( count( $words ) > $excerpt_length ) :
|
141 |
+
array_pop( $words );
|
142 |
+
// array_push($words, '…');
|
143 |
+
$the_excerpt = implode( ' ', $words );
|
144 |
+
endif;
|
145 |
|
146 |
+
$the_excerpt = preg_replace( "/\r|\n/", '', $the_excerpt );
|
147 |
|
148 |
+
return $the_excerpt;
|
149 |
}
|
150 |
|
151 |
if ( ! function_exists( 'swp_mobile_detection' ) ) {
|
gruntfile.js
DELETED
@@ -1,227 +0,0 @@
|
|
1 |
-
module.exports = function( grunt ) {
|
2 |
-
'use strict';
|
3 |
-
|
4 |
-
require( 'load-grunt-tasks' )( grunt );
|
5 |
-
var autoprefixer = require( 'autoprefixer' );
|
6 |
-
|
7 |
-
grunt.initConfig( {
|
8 |
-
pkg: grunt.file.readJSON( 'package.json' ),
|
9 |
-
|
10 |
-
makepot: {
|
11 |
-
options: {
|
12 |
-
exclude: [ 'node_modules/.*' ],
|
13 |
-
domainPath: '/languages',
|
14 |
-
type: 'wp-plugin',
|
15 |
-
processPot: function( pot ) {
|
16 |
-
pot.headers['report-msgid-bugs-to'] = 'https://warfareplugins.com/';
|
17 |
-
pot.headers['plural-forms'] = 'nplurals=2; plural=n != 1;';
|
18 |
-
pot.headers['last-translator'] = 'Warfare Plugins (https://warfareplugins.com)\n';
|
19 |
-
pot.headers['language-team'] = 'Warfare Plugins (https://warfareplugins.com)\n';
|
20 |
-
pot.headers['x-poedit-basepath'] = '.\n';
|
21 |
-
pot.headers['x-poedit-language'] = 'English\n';
|
22 |
-
pot.headers['x-poedit-country'] = 'UNITED STATES\n';
|
23 |
-
pot.headers['x-poedit-sourcecharset'] = 'utf-8\n';
|
24 |
-
pot.headers['x-poedit-keywordslist'] = '__;_e;__ngettext:1,2;_n:1,2;__ngettext_ noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n';
|
25 |
-
pot.headers['x-textdomain-support'] = 'yes\n';
|
26 |
-
return pot;
|
27 |
-
}
|
28 |
-
},
|
29 |
-
files: {
|
30 |
-
src: [
|
31 |
-
'**/*.php'
|
32 |
-
]
|
33 |
-
}
|
34 |
-
},
|
35 |
-
|
36 |
-
addtextdomain: {
|
37 |
-
options: {
|
38 |
-
textdomain: 'social-warfare',
|
39 |
-
updateDomains: [ 'all' ]
|
40 |
-
},
|
41 |
-
files: {
|
42 |
-
src: [
|
43 |
-
'**/*.php',
|
44 |
-
'!node_modules/**/*.php'
|
45 |
-
]
|
46 |
-
}
|
47 |
-
},
|
48 |
-
|
49 |
-
version: {
|
50 |
-
project: {
|
51 |
-
src: [
|
52 |
-
'package.json'
|
53 |
-
]
|
54 |
-
},
|
55 |
-
functions: {
|
56 |
-
options: {
|
57 |
-
prefix: 'swp_VERSION\'\,\\s+\''
|
58 |
-
},
|
59 |
-
src: [
|
60 |
-
'social-warfare.php'
|
61 |
-
]
|
62 |
-
}
|
63 |
-
},
|
64 |
-
|
65 |
-
wpcss: {
|
66 |
-
style: {
|
67 |
-
options: {
|
68 |
-
commentSpacing: true,
|
69 |
-
config: 'alphabetical'
|
70 |
-
},
|
71 |
-
files: [
|
72 |
-
{
|
73 |
-
src: 'css/style.css',
|
74 |
-
dest: 'css/style.css'
|
75 |
-
},
|
76 |
-
{
|
77 |
-
src: 'css/style.css',
|
78 |
-
dest: 'css/style.css'
|
79 |
-
}
|
80 |
-
]
|
81 |
-
}
|
82 |
-
},
|
83 |
-
|
84 |
-
cssmin: {
|
85 |
-
options: {
|
86 |
-
report: 'gzip',
|
87 |
-
sourceMap: false
|
88 |
-
},
|
89 |
-
style: {
|
90 |
-
expand: true,
|
91 |
-
cwd: 'css/',
|
92 |
-
src: [
|
93 |
-
'*.css',
|
94 |
-
'**/*.css',
|
95 |
-
'!*.min.css',
|
96 |
-
'!**/*.min.css'
|
97 |
-
],
|
98 |
-
dest: 'css/',
|
99 |
-
ext: '.min.css',
|
100 |
-
extDot: 'last'
|
101 |
-
}
|
102 |
-
},
|
103 |
-
|
104 |
-
postcss: {
|
105 |
-
options: {
|
106 |
-
processors: [
|
107 |
-
autoprefixer( {
|
108 |
-
browsers: [
|
109 |
-
'Android >= 2.1',
|
110 |
-
'Chrome >= 21',
|
111 |
-
'Explorer >= 8',
|
112 |
-
'Firefox >= 17',
|
113 |
-
'Opera >= 12.1',
|
114 |
-
'Safari >= 6.0'
|
115 |
-
]
|
116 |
-
} )
|
117 |
-
]
|
118 |
-
},
|
119 |
-
plugin: {
|
120 |
-
files: [
|
121 |
-
{
|
122 |
-
expand: true,
|
123 |
-
cwd: 'css/',
|
124 |
-
src: [
|
125 |
-
'**/*.css',
|
126 |
-
'!**/*.min.css'
|
127 |
-
],
|
128 |
-
dest: 'css/',
|
129 |
-
ext: '.css',
|
130 |
-
extDot: 'last'
|
131 |
-
}
|
132 |
-
]
|
133 |
-
}
|
134 |
-
},
|
135 |
-
|
136 |
-
uglify: {
|
137 |
-
plugin: {
|
138 |
-
options: {
|
139 |
-
sourceMap: false,
|
140 |
-
mangle: true,
|
141 |
-
compress: true,
|
142 |
-
report: 'gzip'
|
143 |
-
},
|
144 |
-
files: [
|
145 |
-
{
|
146 |
-
expand: true,
|
147 |
-
cwd: 'js/',
|
148 |
-
src: [
|
149 |
-
'*.js',
|
150 |
-
'!*.min.js'
|
151 |
-
],
|
152 |
-
dest: 'js/',
|
153 |
-
ext: '.min.js',
|
154 |
-
extDot: 'last'
|
155 |
-
}
|
156 |
-
]
|
157 |
-
}
|
158 |
-
},
|
159 |
-
replace: {
|
160 |
-
metabox: {
|
161 |
-
options: {
|
162 |
-
patterns: [
|
163 |
-
{
|
164 |
-
match: /RWMB/g,
|
165 |
-
replacement: 'SWPMB'
|
166 |
-
},
|
167 |
-
{
|
168 |
-
match: /Rwmb/g,
|
169 |
-
replacement: 'Swpmb'
|
170 |
-
},
|
171 |
-
{
|
172 |
-
match: /RW_/g,
|
173 |
-
replacement: 'SWP_'
|
174 |
-
},
|
175 |
-
{
|
176 |
-
match: /rwmb/g,
|
177 |
-
replacement: 'swpmb'
|
178 |
-
}
|
179 |
-
]
|
180 |
-
},
|
181 |
-
files: [
|
182 |
-
{
|
183 |
-
expand: true,
|
184 |
-
src: [
|
185 |
-
'meta-box/**',
|
186 |
-
'meta-box/.*',
|
187 |
-
'!meta-box/img/*',
|
188 |
-
'!meta-box/lang/*'
|
189 |
-
]
|
190 |
-
}
|
191 |
-
]
|
192 |
-
}
|
193 |
-
},
|
194 |
-
watch: {
|
195 |
-
js: {
|
196 |
-
files: [
|
197 |
-
'js/*.js',
|
198 |
-
'!js/*.min.js'
|
199 |
-
],
|
200 |
-
tasks: [
|
201 |
-
'uglify'
|
202 |
-
]
|
203 |
-
},
|
204 |
-
css: {
|
205 |
-
files: [
|
206 |
-
'css/*.css',
|
207 |
-
'!css/*.min.css'
|
208 |
-
],
|
209 |
-
tasks: [
|
210 |
-
'postcss',
|
211 |
-
'wpcss',
|
212 |
-
'cssmin'
|
213 |
-
]
|
214 |
-
}
|
215 |
-
}
|
216 |
-
});
|
217 |
-
|
218 |
-
grunt.registerTask( 'default', [ 'watch' ] );
|
219 |
-
grunt.registerTask( 'build', [
|
220 |
-
//'addtextdomain',
|
221 |
-
//'makepot',
|
222 |
-
'postcss',
|
223 |
-
'wpcss',
|
224 |
-
'cssmin',
|
225 |
-
'uglify'
|
226 |
-
]);
|
227 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/script.js
CHANGED
@@ -398,6 +398,12 @@ var socialWarfarePlugin = socialWarfarePlugin || {};
|
|
398 |
|
399 |
$( '.sw-pinit .sw-pinit-button' ).on( 'click', function() {
|
400 |
window.open( $( this ).attr( 'href' ), 'Pinterest', 'width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1' );
|
|
|
|
|
|
|
|
|
|
|
|
|
401 |
return false;
|
402 |
});
|
403 |
});
|
@@ -432,7 +438,11 @@ var socialWarfarePlugin = socialWarfarePlugin || {};
|
|
432 |
instance = window.open( href, '_blank', 'height=' + height + ',width=' + width );
|
433 |
|
434 |
if (typeof ga == "function" && true === swpClickTracking) {
|
435 |
-
|
|
|
|
|
|
|
|
|
436 |
console.log(network + " Button Clicked");
|
437 |
ga("send", "event", "social_media", "swp_" + network + "_share" );
|
438 |
}
|
398 |
|
399 |
$( '.sw-pinit .sw-pinit-button' ).on( 'click', function() {
|
400 |
window.open( $( this ).attr( 'href' ), 'Pinterest', 'width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1' );
|
401 |
+
// Record the event if Google Analytics Click tracking is enabled
|
402 |
+
if (typeof ga == "function" && true === swpClickTracking) {
|
403 |
+
var network = 'pin_image';
|
404 |
+
console.log(network + " Button Clicked");
|
405 |
+
ga("send", "event", "social_media", "swp_" + network + "_share" );
|
406 |
+
}
|
407 |
return false;
|
408 |
});
|
409 |
});
|
438 |
instance = window.open( href, '_blank', 'height=' + height + ',width=' + width );
|
439 |
|
440 |
if (typeof ga == "function" && true === swpClickTracking) {
|
441 |
+
if($(this).hasClass('nc_tweet')) {
|
442 |
+
var network = $(this).parents(".nc_tweetContainer").attr("data-network");
|
443 |
+
} else if ($(this).hasClass('swp_CTT') ) {
|
444 |
+
var network = 'ctt';
|
445 |
+
}
|
446 |
console.log(network + " Button Clicked");
|
447 |
ga("send", "event", "social_media", "swp_" + network + "_share" );
|
448 |
}
|
js/script.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var socialWarfarePlugin=socialWarfarePlugin||{};!function(a,b){var c,d=a.socialWarfarePlugin;d.throttle=c=function(a,c,e,f){function g(){function d(){i=+new Date,e.apply(j,l)}function g(){h=b}var j=this,k=+new Date-i,l=arguments;f&&!h&&d(),h&&clearTimeout(h),f===b&&k>a?d():c!==!0&&(h=setTimeout(f?g:d,f===b?a-k:a))}var h,i=0;return"boolean"!=typeof c&&(f=e,e=c,c=b),d.guid&&(g.guid=e.guid=e.guid||d.guid++),g},d.debounce=function(a,d,e){return e===b?c(a,d,!1):c(a,e,d!==!1)}}(this),function(a,b,c){"use strict";function d(a){return parseInt(a,10)}function e(c){var d=b.Event(c);b(a).trigger(d)}function f(){b(".nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:not(.swp_nohover) .iconFiller").removeAttr("style"),b(".nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:not(.swp_nohover)").removeAttr("style")}function g(){b(".nc_wrapper").length&&b(".nc_wrapper").remove();var a=b(".nc_socialPanel").not('[data-float="float_ignore"]').first(),c=(b(".nc_socialPanel").index(a),a.attr("data-float")),d=a.attr("data-align");if(c){var e=b(".nc_socialPanel").attr("data-floatColor");b('<div class="nc_wrapper" style="background-color:'+e+'"></div>').appendTo("body");var f=a.attr("data-float");a.clone().appendTo(".nc_wrapper"),b(".nc_wrapper").hide().addClass("floatLeft"==f?"floatBottom":f);var g=a.outerWidth(!0),h=a.offset();b(".nc_socialPanel").last().addClass("nc_floater").css({width:g,left:"center"==d?0:h.left}),b(".nc_socialPanel .swp_count").css({transition:"padding .1s linear"}),b(".nc_socialPanel").eq(0).addClass("swp_one"),b(".nc_socialPanel").eq(2).addClass("swp_two"),b(".nc_socialPanel").eq(1).addClass("swp_three")}}function h(){var c=b(".nc_socialPanel"),d=c.not('[data-float="float_ignore"]').eq(0).attr("data-float"),f=b(a),g=f.height(),h=b(".nc_wrapper"),i=b(".nc_socialPanelSide").filter(":not(.mobile)"),j=(b(".nc_socialPanel").attr("data-position"),i.attr("data-screen-width")),k=c.eq(0).offset(),l=f.scrollTop();b(a).scrollTop();"undefined"==typeof a.swpOffsets&&(a.swpOffsets={});var m=!1;if("floatLeft"==d){var n=b(".nc_socialPanelSide").attr("data-mobileFloat");b(".nc_socialPanel").not(".nc_socialPanelSide").length?(b(".nc_socialPanel").not(".nc_socialPanelSide, .nc_floater").each(function(){var a=b(this).offset(),c=b(this).height();a.top+c>l&&a.top<l+g&&(m=!0)}),k.left<100||b(a).width()<j?(m=!0,"bottom"==n&&(d="floatBottom")):m||(m=!1)):b(a).width()>j?m=!1:(m=!0,"bottom"==n&&(d="floatBottom"));var o=i.attr("data-transition");"slide"==o?1==m?i.css({left:"-100px"},200):i.css({left:"5px"}):"fade"==o&&(1==m?i.fadeOut(200):i.fadeIn(200))}if("floatBottom"==d||"floatTop"==d)if(m=!1,b(".nc_socialPanel").not(".nc_socialPanelSide, .nc_floater").each(function(){var a=b(this).offset(),c=b(this).height();a.top+c>l&&a.top<l+g&&(m=!0)}),m)h.hide(),"floatBottom"==d?b("body").animate({"padding-bottom":a.bodyPaddingBottom+"px"},0):"floatTop"==d&&b("body").animate({"padding-top":a.bodyPaddingTop+"px"},0);else{var p,q;h.show(),e("floating_bar_revealed"),"floatBottom"==d?(p=a.bodyPaddingBottom+50,b("body").animate({"padding-bottom":p+"px"},0)):"floatTop"==d&&(q=b(".nc_socialPanel").not(".nc_socialPanelSide, .nc_wrapper .nc_socialPanel").first().offset(),q.top>l+g&&(p=a.bodyPaddingTop+50,b("body").animate({"padding-top":p+"px"},0)))}}function i(){0!==b(".nc_socialPanel").length&&(g(),l.activateHoverStates(),k(),b(a).scrollTop(),b(a).scroll(l.throttle(50,function(){h()})),b(a).trigger("scroll"),b(".nc_socialPanel").css({opacity:1}))}function j(){var c={wrap:'<div class="sw-pinit" />',pageURL:document.URL},d=b.extend(c,d);b(".swp-content-locator").parent().find("img").each(function(){var c=b(this);if(!(c.outerHeight()<swpPinIt.minHeight||c.outerWidth()<swpPinIt.minWidth)){var e=!1;if(c.data("media")?e=c.data("media"):b(this).attr("data-lazy-src")?e=b(this).attr("data-lazy-src"):c[0].src&&(e=c[0].src),!1!==e&&!c.hasClass("no_pin")){var f="";c.attr("title")?f=c.attr("title"):c.attr("alt")&&(f=c.attr("alt"));var g="http://pinterest.com/pin/create/bookmarklet/?media="+encodeURI(e)+"&url="+encodeURI(d.pageURL)+"&is_video=false&description="+encodeURIComponent(f),h=c.attr("class"),i=c.attr("style");c.removeClass().attr("style","").wrap(d.wrap),c.after('<a href="'+g+'" class="sw-pinit-button sw-pinit-'+swpPinIt.vLocation+" sw-pinit-"+swpPinIt.hLocation+'">Save</a>'),c.parent(".sw-pinit").addClass(h).attr("style",i),b(".sw-pinit .sw-pinit-button").on("click",function(){
|
1 |
+
var socialWarfarePlugin=socialWarfarePlugin||{};!function(a,b){var c,d=a.socialWarfarePlugin;d.throttle=c=function(a,c,e,f){function g(){function d(){i=+new Date,e.apply(j,l)}function g(){h=b}var j=this,k=+new Date-i,l=arguments;f&&!h&&d(),h&&clearTimeout(h),f===b&&k>a?d():c!==!0&&(h=setTimeout(f?g:d,f===b?a-k:a))}var h,i=0;return"boolean"!=typeof c&&(f=e,e=c,c=b),d.guid&&(g.guid=e.guid=e.guid||d.guid++),g},d.debounce=function(a,d,e){return e===b?c(a,d,!1):c(a,e,d!==!1)}}(this),function(a,b,c){"use strict";function d(a){return parseInt(a,10)}function e(c){var d=b.Event(c);b(a).trigger(d)}function f(){b(".nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:not(.swp_nohover) .iconFiller").removeAttr("style"),b(".nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:not(.swp_nohover)").removeAttr("style")}function g(){b(".nc_wrapper").length&&b(".nc_wrapper").remove();var a=b(".nc_socialPanel").not('[data-float="float_ignore"]').first(),c=(b(".nc_socialPanel").index(a),a.attr("data-float")),d=a.attr("data-align");if(c){var e=b(".nc_socialPanel").attr("data-floatColor");b('<div class="nc_wrapper" style="background-color:'+e+'"></div>').appendTo("body");var f=a.attr("data-float");a.clone().appendTo(".nc_wrapper"),b(".nc_wrapper").hide().addClass("floatLeft"==f?"floatBottom":f);var g=a.outerWidth(!0),h=a.offset();b(".nc_socialPanel").last().addClass("nc_floater").css({width:g,left:"center"==d?0:h.left}),b(".nc_socialPanel .swp_count").css({transition:"padding .1s linear"}),b(".nc_socialPanel").eq(0).addClass("swp_one"),b(".nc_socialPanel").eq(2).addClass("swp_two"),b(".nc_socialPanel").eq(1).addClass("swp_three")}}function h(){var c=b(".nc_socialPanel"),d=c.not('[data-float="float_ignore"]').eq(0).attr("data-float"),f=b(a),g=f.height(),h=b(".nc_wrapper"),i=b(".nc_socialPanelSide").filter(":not(.mobile)"),j=(b(".nc_socialPanel").attr("data-position"),i.attr("data-screen-width")),k=c.eq(0).offset(),l=f.scrollTop();b(a).scrollTop();"undefined"==typeof a.swpOffsets&&(a.swpOffsets={});var m=!1;if("floatLeft"==d){var n=b(".nc_socialPanelSide").attr("data-mobileFloat");b(".nc_socialPanel").not(".nc_socialPanelSide").length?(b(".nc_socialPanel").not(".nc_socialPanelSide, .nc_floater").each(function(){var a=b(this).offset(),c=b(this).height();a.top+c>l&&a.top<l+g&&(m=!0)}),k.left<100||b(a).width()<j?(m=!0,"bottom"==n&&(d="floatBottom")):m||(m=!1)):b(a).width()>j?m=!1:(m=!0,"bottom"==n&&(d="floatBottom"));var o=i.attr("data-transition");"slide"==o?1==m?i.css({left:"-100px"},200):i.css({left:"5px"}):"fade"==o&&(1==m?i.fadeOut(200):i.fadeIn(200))}if("floatBottom"==d||"floatTop"==d)if(m=!1,b(".nc_socialPanel").not(".nc_socialPanelSide, .nc_floater").each(function(){var a=b(this).offset(),c=b(this).height();a.top+c>l&&a.top<l+g&&(m=!0)}),m)h.hide(),"floatBottom"==d?b("body").animate({"padding-bottom":a.bodyPaddingBottom+"px"},0):"floatTop"==d&&b("body").animate({"padding-top":a.bodyPaddingTop+"px"},0);else{var p,q;h.show(),e("floating_bar_revealed"),"floatBottom"==d?(p=a.bodyPaddingBottom+50,b("body").animate({"padding-bottom":p+"px"},0)):"floatTop"==d&&(q=b(".nc_socialPanel").not(".nc_socialPanelSide, .nc_wrapper .nc_socialPanel").first().offset(),q.top>l+g&&(p=a.bodyPaddingTop+50,b("body").animate({"padding-top":p+"px"},0)))}}function i(){0!==b(".nc_socialPanel").length&&(g(),l.activateHoverStates(),k(),b(a).scrollTop(),b(a).scroll(l.throttle(50,function(){h()})),b(a).trigger("scroll"),b(".nc_socialPanel").css({opacity:1}))}function j(){var c={wrap:'<div class="sw-pinit" />',pageURL:document.URL},d=b.extend(c,d);b(".swp-content-locator").parent().find("img").each(function(){var c=b(this);if(!(c.outerHeight()<swpPinIt.minHeight||c.outerWidth()<swpPinIt.minWidth)){var e=!1;if(c.data("media")?e=c.data("media"):b(this).attr("data-lazy-src")?e=b(this).attr("data-lazy-src"):c[0].src&&(e=c[0].src),!1!==e&&!c.hasClass("no_pin")){var f="";c.attr("title")?f=c.attr("title"):c.attr("alt")&&(f=c.attr("alt"));var g="http://pinterest.com/pin/create/bookmarklet/?media="+encodeURI(e)+"&url="+encodeURI(d.pageURL)+"&is_video=false&description="+encodeURIComponent(f),h=c.attr("class"),i=c.attr("style");c.removeClass().attr("style","").wrap(d.wrap),c.after('<a href="'+g+'" class="sw-pinit-button sw-pinit-'+swpPinIt.vLocation+" sw-pinit-"+swpPinIt.hLocation+'">Save</a>'),c.parent(".sw-pinit").addClass(h).attr("style",i),b(".sw-pinit .sw-pinit-button").on("click",function(){if(a.open(b(this).attr("href"),"Pinterest","width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1"),"function"==typeof ga&&!0===swpClickTracking){var c="pin_image";console.log(c+" Button Clicked"),ga("send","event","social_media","swp_"+c+"_share")}return!1})}}})}function k(){b(".nc_tweet, a.swp_CTT").off("click"),b(".nc_tweet, a.swp_CTT").on("click",function(c){if(b(this).hasClass("noPop"))return!1;if(console.log(b(this)),b(this).attr("data-link")){c.preventDefault?c.preventDefault():c.returnValue=!1;var d=b(this).attr("data-link");console.log(d);var e,f,g;if(d=d.replace("’","'"),b(this).hasClass("pinterest")||b(this).hasClass("buffer_link")||b(this).hasClass("flipboard")?(e=550,f=775):(e=270,f=500),g=a.open(d,"_blank","height="+e+",width="+f),"function"==typeof ga&&!0===swpClickTracking){if(b(this).hasClass("nc_tweet"))var h=b(this).parents(".nc_tweetContainer").attr("data-network");else if(b(this).hasClass("swp_CTT"))var h="ctt";console.log(h+" Button Clicked"),ga("send","event","social_media","swp_"+h+"_share")}return!1}})}var l=a.socialWarfarePlugin,m={};socialWarfarePlugin.fetchShares=function(){b.when(b.get("https://graph.facebook.com/?id="+swp_post_url),b.get("https://graph.facebook.com/?id="+swp_post_url+"&fields=og_object{likes.summary(true),comments.summary(true)}"),swp_post_recovery_url?b.get("https://graph.facebook.com/?id="+swp_post_recovery_url):"",swp_post_recovery_url?b.get("https://graph.facebook.com/?id="+swp_post_recovery_url+"&fields=og_object{likes.summary(true),comments.summary(true)}"):"").then(function(a,c,e,f){if("undefined"!=typeof a[0].share&&"undefined"!=typeof c[0].og_object){var g=d(a[0].share.share_count),h=d(c[0].og_object.likes.summary.total_count),i=d(c[0].og_object.comments.summary.total_count),j=g+h+i;if(swp_post_recovery_url){if("undefined"!=typeof e[0].share)var k=d(e[0].share.share_count);else var k=0;if("undefined"!=typeof f[0].og_object)var l=d(f[0].og_object.likes.summary.total_count),n=d(f[0].og_object.comments.summary.total_count);else var l=0,n=0;var o=k+l+n;j!==o&&(j+=o)}m={action:"swp_facebook_shares_update",post_id:swp_post_id,activity:j},b.post(swp_admin_ajax,m,function(a){console.log("Facebook Shares Response: "+a)})}})},l.activateHoverStates=function(){e("pre_activate_buttons"),b(".nc_socialPanel:not(.nc_socialPanelSide) .nc_tweetContainer:not(.swp_nohover)").on("mouseenter",function(){f();var a=b(this).find(".swp_share").outerWidth(),c=b(this).find("i.sw").outerWidth(),d=b(this).width(),e=1+(a+35)/d;b(this).find(".iconFiller").width(a+c+25+"px"),b(this).css({flex:e+" 1 0%"})}),b(".nc_socialPanel:not(.nc_socialPanelSide)").on("mouseleave",function(){f()})},b(a).on("load",function(){"undefined"!=typeof swpPinIt&&swpPinIt.enabled&&j()}),b(document).ready(function(){k(),i(),a.bodyPaddingTop=d(b("body").css("padding-top").replace("px","")),a.bodyPaddingBottom=d(b("body").css("padding-bottom").replace("px",""));var c=!1;if(b(".nc_socialPanel").hover(function(){c=!0},function(){c=!1}),b(a).resize(l.debounce(250,function(){b(".nc_socialPanel").length&&!1!==c||(a.swpAdjust=1,i())})),b(document.body).on("post-load",function(){i()}),0!==b(".nc_socialPanelSide").length){var e=b(".nc_socialPanelSide").height(),f=b(a).height(),g=d(f/2-e/2);setTimeout(function(){b(".nc_socialPanelSide").animate({top:g},0)},105)}swp_isMobile.phone&&b(".swp_whatsapp").addClass("mobile"),1===b(".swp-content-locator").parent().children().length&&b(".swp-content-locator").parent().hide()})}(this,jQuery),function(a){var b=/iPhone/i,c=/iPod/i,d=/iPad/i,e=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,f=/Android/i,g=/(?=.*\bAndroid\b)(?=.*\bSD4930UR\b)/i,h=/(?=.*\bAndroid\b)(?=.*\b(?:KFOT|KFTT|KFJWI|KFJWA|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|KFARWI|KFASWI|KFSAWI|KFSAWA)\b)/i,i=/Windows Phone/i,j=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,k=/BlackBerry/i,l=/BB10/i,m=/Opera Mini/i,n=/(CriOS|Chrome)(?=.*\bMobile\b)/i,o=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,p=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)","i"),q=function(a,b){return a.test(b)},r=function(a){var r=a||navigator.userAgent,s=r.split("[FBAN");if("undefined"!=typeof s[1]&&(r=s[0]),s=r.split("Twitter"),"undefined"!=typeof s[1]&&(r=s[0]),this.apple={phone:q(b,r),ipod:q(c,r),tablet:!q(b,r)&&q(d,r),device:q(b,r)||q(c,r)||q(d,r)},this.amazon={phone:q(g,r),tablet:!q(g,r)&&q(h,r),device:q(g,r)||q(h,r)},this.android={phone:q(g,r)||q(e,r),tablet:!q(g,r)&&!q(e,r)&&(q(h,r)||q(f,r)),device:q(g,r)||q(h,r)||q(e,r)||q(f,r)},this.windows={phone:q(i,r),tablet:q(j,r),device:q(i,r)||q(j,r)},this.other={blackberry:q(k,r),blackberry10:q(l,r),opera:q(m,r),firefox:q(o,r),chrome:q(n,r),device:q(k,r)||q(l,r)||q(m,r)||q(o,r)||q(n,r)},this.seven_inch=q(p,r),this.any=this.apple.device||this.android.device||this.windows.device||this.other.device||this.seven_inch,this.phone=this.apple.phone||this.android.phone||this.windows.phone,this.tablet=this.apple.tablet||this.android.tablet||this.windows.tablet,"undefined"==typeof window)return this},s=function(){var a=new r;return a.Class=r,a};"undefined"!=typeof module&&module.exports&&"undefined"==typeof window?module.exports=r:"undefined"!=typeof module&&module.exports&&"undefined"!=typeof window?module.exports=s():"function"==typeof define&&define.amd?define("swp_isMobile",[],a.swp_isMobile=s()):a.swp_isMobile=s()}(this);
|
readme.txt
CHANGED
@@ -186,6 +186,13 @@ We have a growing archive of <a href="https://warfareplugins.com/support" rel="f
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
= 2.2.5 (10 MAY 2017) =
|
190 |
|
191 |
* Fixed a PHP warning that appeared on some user's websites: "Warning: DOMDocument::loadHTML(): Empty string supplied as input"
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 2.2.6 (24 MAY 2017) =
|
190 |
+
|
191 |
+
* Added Event Tracking for Click-to-Tweets and Image Pins.
|
192 |
+
* Fixed the CSS for the total shares in non-English foreign languages.
|
193 |
+
* Fixed a notice that would sometimes appear on attachment pages.
|
194 |
+
* Fixed an error that caused share counts to not update for some users.
|
195 |
+
|
196 |
= 2.2.5 (10 MAY 2017) =
|
197 |
|
198 |
* Fixed a PHP warning that appeared on some user's websites: "Warning: DOMDocument::loadHTML(): Empty string supplied as input"
|
social-warfare.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Social Warfare
|
4 |
* Plugin URI: http://warfareplugins.com
|
5 |
* Description: A plugin to maximize social shares and drive more traffic using the fastest and most intelligent share buttons on the market, calls to action via in-post click-to-tweets, popular posts widgets based on share popularity, link-shortening, Google Analytics and much, much more!
|
6 |
-
* Version: 2.2.
|
7 |
* Author: Warfare Plugins
|
8 |
* Author URI: http://warfareplugins.com
|
9 |
* Text Domain: social-warfare
|
@@ -15,7 +15,7 @@ defined( 'WPINC' ) || die;
|
|
15 |
* Define plugin constants for use throughout the plugin (Version and Directories)
|
16 |
*
|
17 |
*/
|
18 |
-
define( 'SWP_VERSION' , '2.2.
|
19 |
define( 'SWP_PLUGIN_FILE', __FILE__ );
|
20 |
define( 'SWP_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
|
21 |
define( 'SWP_PLUGIN_DIR', dirname( __FILE__ ) );
|
3 |
* Plugin Name: Social Warfare
|
4 |
* Plugin URI: http://warfareplugins.com
|
5 |
* Description: A plugin to maximize social shares and drive more traffic using the fastest and most intelligent share buttons on the market, calls to action via in-post click-to-tweets, popular posts widgets based on share popularity, link-shortening, Google Analytics and much, much more!
|
6 |
+
* Version: 2.2.6
|
7 |
* Author: Warfare Plugins
|
8 |
* Author URI: http://warfareplugins.com
|
9 |
* Text Domain: social-warfare
|
15 |
* Define plugin constants for use throughout the plugin (Version and Directories)
|
16 |
*
|
17 |
*/
|
18 |
+
define( 'SWP_VERSION' , '2.2.6' );
|
19 |
define( 'SWP_PLUGIN_FILE', __FILE__ );
|
20 |
define( 'SWP_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
|
21 |
define( 'SWP_PLUGIN_DIR', dirname( __FILE__ ) );
|