Anlage des Repos
|
After Width: | Height: | Size: 43 B |
|
After Width: | Height: | Size: 510 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 510 B |
@@ -0,0 +1,171 @@
|
||||
/*
|
||||
Name: Classic
|
||||
Description: Clean, crisp and colorful.
|
||||
Version: 1.3
|
||||
Author: Aram Kocharyan
|
||||
URL: http://aramk.com/
|
||||
*/
|
||||
.crayon-theme-classic {
|
||||
border-width: 1px !important;
|
||||
border-color: #999 !important;
|
||||
border-style: solid !important;
|
||||
text-shadow: none !important;
|
||||
background: #fdfdfd !important;
|
||||
}
|
||||
.crayon-theme-classic-inline {
|
||||
border-width: 1px !important;
|
||||
border-color: #ddd !important;
|
||||
border-style: solid !important;
|
||||
background: #fafafa !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-table .crayon-nums {
|
||||
background: #dfefff !important;
|
||||
color: #5499de !important;
|
||||
}
|
||||
.crayon-theme-classic *::selection {
|
||||
background: transparent !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-code *::selection {
|
||||
background: #ddeeff !important;
|
||||
color: #316ba5 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-striped-line {
|
||||
background: #f7f7f7 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-striped-num {
|
||||
background: #c8e1fa !important;
|
||||
color: #317cc5 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-marked-line {
|
||||
background: #fffee2 !important;
|
||||
border-width: 1px !important;
|
||||
border-color: #e9e579 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-marked-num {
|
||||
color: #1561ac !important;
|
||||
background: #b3d3f4 !important;
|
||||
border-width: 1px !important;
|
||||
border-color: #5999d9 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-marked-line.crayon-striped-line {
|
||||
background: #faf8d1 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-marked-num.crayon-striped-num {
|
||||
background: #9ec5ec !important;
|
||||
color: #105395 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-marked-line.crayon-top {
|
||||
border-top-style: solid !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-marked-num.crayon-top {
|
||||
border-top-style: solid !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-marked-line.crayon-bottom {
|
||||
border-bottom-style: solid !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-marked-num.crayon-bottom {
|
||||
border-bottom-style: solid !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-info {
|
||||
background: #faf9d7 !important;
|
||||
border-bottom-width: 1px !important;
|
||||
border-bottom-color: #b1af5e !important;
|
||||
border-bottom-style: solid !important;
|
||||
color: #7e7d34;
|
||||
}
|
||||
.crayon-theme-classic .crayon-toolbar {
|
||||
background: #DDD !important;
|
||||
border-bottom-width: 1px !important;
|
||||
border-bottom-color: #BBB !important;
|
||||
border-bottom-style: solid !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-toolbar > div {
|
||||
float: left !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-toolbar .crayon-tools {
|
||||
float: right !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-title {
|
||||
color: #333 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-language {
|
||||
color: #999 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-button {
|
||||
background-color: #DDD;
|
||||
}
|
||||
.crayon-theme-classic .crayon-button:hover {
|
||||
background-color: #EEE;
|
||||
color: #666;
|
||||
}
|
||||
.crayon-theme-classic .crayon-button.crayon-pressed:hover {
|
||||
background-color: #EEE;
|
||||
color: #666;
|
||||
}
|
||||
.crayon-theme-classic .crayon-button.crayon-pressed {
|
||||
background-color: #BCBCBC;
|
||||
color: #FFF;
|
||||
}
|
||||
.crayon-theme-classic .crayon-button.crayon-pressed:active {
|
||||
background-color: #BCBCBC;
|
||||
color: #FFF;
|
||||
}
|
||||
.crayon-theme-classic .crayon-button:active {
|
||||
background-color: #BCBCBC;
|
||||
color: #FFF;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-c {
|
||||
color: #ff8000 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-s {
|
||||
color: #008000 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-p {
|
||||
color: #b85c00 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-ta {
|
||||
color: #FF0000 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-k {
|
||||
color: #800080 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-st {
|
||||
color: #800080 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-r {
|
||||
color: #800080 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-t {
|
||||
color: #800080 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-m {
|
||||
color: #800080 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-i {
|
||||
color: #000 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-e {
|
||||
color: #004ed0 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-v {
|
||||
color: #002D7A !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-cn {
|
||||
color: #ce0000 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-o {
|
||||
color: #006fe0 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-sy {
|
||||
color: #333 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-n {
|
||||
color: #666 !important;
|
||||
font-style: italic;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-f {
|
||||
color: #999 !important;
|
||||
}
|
||||
.crayon-theme-classic .crayon-pre .crayon-h {
|
||||
color: #006fe0 !important;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
var addComment={moveForm:function(a,b,c,d){var e,f=this,g=f.I(a),h=f.I(c),i=f.I("cancel-comment-reply-link"),j=f.I("comment_parent"),k=f.I("comment_post_ID");if(g&&h&&i&&j){f.respondId=c,d=d||!1,f.I("wp-temp-form-div")||(e=document.createElement("div"),e.id="wp-temp-form-div",e.style.display="none",h.parentNode.insertBefore(e,h)),g.parentNode.insertBefore(h,g.nextSibling),k&&d&&(k.value=d),j.value=b,i.style.display="",i.onclick=function(){var a=addComment,b=a.I("wp-temp-form-div"),c=a.I(a.respondId);if(b&&c)return a.I("comment_parent").value="0",b.parentNode.insertBefore(c,b),b.parentNode.removeChild(b),this.style.display="none",this.onclick=null,!1};try{f.I("comment").focus()}catch(l){}return!1}},I:function(a){return document.getElementById(a)}};
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
@@ -0,0 +1,42 @@
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local('Lato Light'), local('Lato-Light'), url(https://fonts.gstatic.com/s/lato/v11/EsvMC5un3kjyUhB9ZEPPwg.woff2) format('woff2'), url(https://fonts.gstatic.com/s/lato/v11/KT3KS9Aol4WfR6Vas8kNcg.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v11/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2'), url(https://fonts.gstatic.com/s/lato/v11/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v11/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2'), url(https://fonts.gstatic.com/s/lato/v11/wkfQbvfT_02e2IWO3yYueQ.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
src: local('Lato Black'), local('Lato-Black'), url(https://fonts.gstatic.com/s/lato/v11/tI4j516nok_GrVf4dhunkg.woff2) format('woff2'), url(https://fonts.gstatic.com/s/lato/v11/BVtM30trf7q_jfqYeHfjtA.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v11/PLygLKRVCQnA5fhu3qk5fQ.woff2) format('woff2'), url(https://fonts.gstatic.com/s/lato/v11/oUan5VrEkpzIazlUe5ieaA.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v11/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(https://fonts.gstatic.com/s/lato/v11/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
font-style: italic;
|
||||
font-weight: 900;
|
||||
src: local('Lato Black Italic'), local('Lato-BlackItalic'), url(https://fonts.gstatic.com/s/lato/v11/VNUH7ZAcagYBWsAiBBCEY1tXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(https://fonts.gstatic.com/s/lato/v11/VNUH7ZAcagYBWsAiBBCEYz8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Nivo Lightbox Default Theme v1.0
|
||||
* http://dev7studios.com/nivo-lightbox
|
||||
*
|
||||
* Copyright 2013, Dev7studios
|
||||
* Free to use and abuse under the MIT license.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
|
||||
.nivo-lightbox-theme-default.nivo-lightbox-overlay {
|
||||
background: #666;
|
||||
background: rgba(0,0,0,0.6);
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-content.nivo-lightbox-loading { background: url(loading.gif) no-repeat 50% 50%; }
|
||||
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-nav {
|
||||
top: 10%;
|
||||
width: 8%;
|
||||
height: 80%;
|
||||
text-indent: -9999px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-nav:hover {
|
||||
opacity: 1;
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-prev {
|
||||
background-image: url(prev.png);
|
||||
border-radius: 0 3px 3px 0;
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-next {
|
||||
background-image: url(next.png);
|
||||
border-radius: 3px 0 0 3px;
|
||||
}
|
||||
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-close {
|
||||
display: block;
|
||||
background: url(close.png) no-repeat 5px 5px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
text-indent: -9999px;
|
||||
padding: 5px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-close:hover { opacity: 1; }
|
||||
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-title-wrap { bottom: -7%; }
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-title {
|
||||
font: 14px/20px 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
background: #000;
|
||||
color: #fff;
|
||||
padding: 7px 15px;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-image img {
|
||||
background: #fff;
|
||||
-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.4);
|
||||
-moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.4);
|
||||
box-shadow: 0px 1px 1px rgba(0,0,0,0.4);
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-ajax,
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-inline {
|
||||
background: #fff;
|
||||
padding: 40px;
|
||||
-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.4);
|
||||
-moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.4);
|
||||
box-shadow: 0px 1px 1px rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
@media (-webkit-min-device-pixel-ratio: 1.3),
|
||||
(-o-min-device-pixel-ratio: 2.6/2),
|
||||
(min--moz-device-pixel-ratio: 1.3),
|
||||
(min-device-pixel-ratio: 1.3),
|
||||
(min-resolution: 1.3dppx) {
|
||||
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-content.nivo-lightbox-loading {
|
||||
background-image: url(loading@2x.gif);
|
||||
background-size: 32px 32px;
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-prev {
|
||||
background-image: url(prev@2x.png);
|
||||
background-size: 48px 48px;
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-next {
|
||||
background-image: url(next@2x.png);
|
||||
background-size: 48px 48px;
|
||||
}
|
||||
.nivo-lightbox-theme-default .nivo-lightbox-close {
|
||||
background-image: url(close@2x.png);
|
||||
background-size: 16px 16px;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
@font-face {
|
||||
font-family: 'DroidSansMonoRegular';
|
||||
src: url('droid-sans-mono/droid-sans-mono-webfont.eot');
|
||||
src: url('droid-sans-mono/droid-sans-mono-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('droid-sans-mono/droid-sans-mono-webfont.woff') format('woff'),
|
||||
url('droid-sans-mono/droid-sans-mono-webfont.ttf') format('truetype'),
|
||||
url('droid-sans-mono/droid-sans-mono-webfont.svg#DroidSansMonoRegular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.crayon-font-droid-sans-mono * {
|
||||
font-family: Droid Sans Mono, 'DroidSansMonoRegular', 'Courier New', monospace !important;
|
||||
}
|
||||
@@ -0,0 +1,793 @@
|
||||
|
||||
jQuery(document).ready(function($){
|
||||
|
||||
var essb_cached = {};
|
||||
|
||||
jQuery.fn.essb_get_counters = function(){
|
||||
return this.each(function(){
|
||||
|
||||
var plugin_url = $(this).find('.essb_info_plugin_url').val();
|
||||
var url = $(this).find('.essb_info_permalink').val();
|
||||
var counter_pos = $(this).find('.essb_info_counter_pos').val();
|
||||
var fb_value = $(this).find('.essb_fb_total_count').val();
|
||||
var twitter_url = $(this).find('.essb_info_permalink_twitter').val();
|
||||
var counter_admin = $(this).find('.essb_counter_ajax').val();
|
||||
var post_self_count_id = $(this).find('.essb_info_post_id').val();
|
||||
var interal_counters_all = $(this).find('.essb_info_post_id').attr("data-internal-counters");
|
||||
var button_counter_hidden = $(this).find('.essb_info_post_id').attr("data-essb-button-hidden");
|
||||
|
||||
var key_base = url+"|"+post_self_count_id+"|";
|
||||
//alert(counter_admin);
|
||||
// tetsing
|
||||
//url = "http://google.com";
|
||||
|
||||
var $twitter = $(this).find('.essb_link_twitter');
|
||||
var $linkedin = $(this).find('.essb_link_linkedin');
|
||||
var $delicious = $(this).find('.essb_link_delicious');
|
||||
var $facebook = $(this).find('.essb_link_facebook');
|
||||
var $pinterest = $(this).find('.essb_link_pinterest');
|
||||
var $google = $(this).find('.essb_link_google');
|
||||
var $stumble = $(this).find('.essb_link_stumbleupon');
|
||||
var $vk = $(this).find('.essb_link_vk');
|
||||
var $reddit = $(this).find('.essb_link_reddit');
|
||||
var $del = $(this).find('.essb_link_del');
|
||||
var $buffer = $(this).find('.essb_link_buffer');
|
||||
var $love = $(this).find('.essb_link_love');
|
||||
var $ok = $(this).find('.essb_link_ok');
|
||||
var $mwp = $(this).find('.essb_link_mwp');
|
||||
var $xing = $(this).find('.essb_link_xing');
|
||||
var $pocket = $(this).find('.essb_link_pocket');
|
||||
|
||||
var $print = $(this).find('.essb_link_print');
|
||||
var $mail = $(this).find('.essb_link_mail');
|
||||
|
||||
|
||||
var $twitter_inside = $twitter.find('.essb_network_name');
|
||||
var $linkedin_inside = $linkedin.find('.essb_network_name');
|
||||
var $delicious_inside = $delicious.find('.essb_network_name');
|
||||
var $facebook_inside = $facebook.find('.essb_network_name');
|
||||
var $pinterest_inside = $pinterest.find('.essb_network_name');
|
||||
var $google_inside = $google.find('.essb_network_name');
|
||||
var $stumble_inside = $stumble.find('.essb_network_name');
|
||||
var $vk_inside = $vk.find('.essb_network_name');
|
||||
var $reddit_inside = $reddit.find('.essb_network_name');
|
||||
var $del_inside = $del.find('.essb_network_name');
|
||||
var $buffer_inside = $buffer.find('.essb_network_name');
|
||||
var $love_inside = $love.find('.essb_network_name');
|
||||
var $ok_inside = $ok.find('.essb_network_name');
|
||||
var $mwp_inside = $mwp.find('.essb_network_name');
|
||||
var $xing_inside = $xing.find('.essb_network_name');
|
||||
var $pocket_inside = $pocket.find('.essb_network_name');
|
||||
|
||||
var $print_inside = $print.find('.essb_network_name');
|
||||
var $mail_inside = $mail.find('.essb_network_name');
|
||||
|
||||
|
||||
var twitter_url = "https://cdn.api.twitter.com/1/urls/count.json?url=" + twitter_url + "&callback=?";
|
||||
//
|
||||
var delicious_url = "http://feeds.delicious.com/v2/json/urlinfo/data?url=" + url + "&callback=?" ;
|
||||
//
|
||||
var linkedin_url = "https://www.linkedin.com/countserv/count/share?format=jsonp&url=" + url + "&callback=?";
|
||||
//
|
||||
var pinterest_url = "https://api.pinterest.com/v1/urls/count.json?callback=?&url=" + url;
|
||||
//
|
||||
var facebook_url = "https://graph.facebook.com/2.0/fql?q=SELECT%20like_count,%20total_count,%20share_count,%20click_count,%20comment_count%20FROM%20link_stat%20WHERE%20url%20=%20%22"+url+"%22";
|
||||
//
|
||||
var google_url = plugin_url+"/public/get-noapi-counts.php?nw=google&url=" + url;
|
||||
var stumble_url = plugin_url+"/public/get-noapi-counts.php?nw=stumble&url=" + url;
|
||||
var vk_url = plugin_url+"/public/get-noapi-counts.php?nw=vk&url=" + url;
|
||||
|
||||
var reddit_url = plugin_url+"/public/get-noapi-counts.php?nw=reddit&url=" + url;
|
||||
var del_url = "http://feeds.delicious.com/v2/json/urlinfo/data?url="+url+"&callback=?"
|
||||
var buffer_url = "https://api.bufferapp.com/1/links/shares.json?url="+url+"&callback=?";
|
||||
|
||||
var ok_url = plugin_url+"/public/get-noapi-counts.php?nw=ok&url=" + url;
|
||||
var mwp_url = plugin_url+"/public/get-noapi-counts.php?nw=mwp&url=" + url;
|
||||
var xing_url = plugin_url+"/public/get-noapi-counts.php?nw=xing&url=" + url;
|
||||
var pocket_url = plugin_url+"/public/get-noapi-counts.php?nw=pocket&url=" + url;
|
||||
|
||||
var love_url = essb_count_data.ajax_url+"?action=essb_counts&nw=love&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
var mail_url = essb_count_data.ajax_url+"?action=essb_counts&nw=mail&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
var print_url = essb_count_data.ajax_url+"?action=essb_counts&nw=print&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
|
||||
if (counter_admin == "true") {
|
||||
google_url = essb_count_data.ajax_url+"?action=essb_counts&nw=google&url=" + url;
|
||||
stumble_url = essb_count_data.ajax_url+"?action=essb_counts&nw=stumble&url=" + url;
|
||||
vk_url = essb_count_data.ajax_url+"?action=essb_counts&nw=vk&url=" + url;
|
||||
reddit_url = essb_count_data.ajax_url+"?action=essb_counts&nw=reddit&url=" + url;
|
||||
ok_url = essb_count_data.ajax_url+"?action=essb_counts&nw=ok&url=" + url;
|
||||
mwp_url = essb_count_data.ajax_url+"?action=essb_counts&nw=mwp&url=" + url;
|
||||
xing_url = essb_count_data.ajax_url+"?action=essb_counts&nw=xing&url=" + url;
|
||||
pocket_url = essb_count_data.ajax_url+"?action=essb_counts&nw=pocket&url=" + url;
|
||||
}
|
||||
|
||||
|
||||
//var twitter_url = plugin_url+"/public/get-count.php?nw=twitter&url=" + url;
|
||||
//var pinterest_url = plugin_url+"/public/get-count.php?nw=pinterest&url=" + url;
|
||||
|
||||
|
||||
function shortenNumber(n) {
|
||||
if ('number' !== typeof n) n = Number(n);
|
||||
var sgn = n < 0 ? '-' : ''
|
||||
, suffixes = ['k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y']
|
||||
, overflow = Math.pow(10, suffixes.length * 3 + 3)
|
||||
, suffix, digits;
|
||||
n = Math.abs(Math.round(n));
|
||||
if (n < 1000) return sgn + n;
|
||||
if (n >= 1e100) return sgn + 'many';
|
||||
if (n >= overflow) return (sgn + n).replace(/(\.\d*)?e\+?/i, 'e'); // 1e24
|
||||
|
||||
do {
|
||||
n = Math.floor(n);
|
||||
suffix = suffixes.shift();
|
||||
digits = n % 1e6;
|
||||
n = n / 1000;
|
||||
if (n >= 1000) continue; // 1M onwards: get them in the next iteration
|
||||
if (n >= 10 && n < 1000 // 10k ... 999k
|
||||
|| (n < 10 && (digits % 1000) < 100) // Xk (X000 ... X099)
|
||||
)
|
||||
return sgn + Math.floor(n) + suffix;
|
||||
return (sgn + n).replace(/(\.\d).*/, '$1') + suffix; // #.#k
|
||||
} while (suffixes.length)
|
||||
return sgn + 'many';
|
||||
}
|
||||
|
||||
function counter_display($counter_pos, $element, $element_inside, $cnt) {
|
||||
//alert(button_counter_hidden);
|
||||
$css_hidden_negative = "";
|
||||
if (button_counter_hidden != '') {
|
||||
if (parseInt(button_counter_hidden) > parseInt($cnt)) { $css_hidden_negative = ' style="display: none;"'; }
|
||||
}
|
||||
|
||||
if (counter_pos == "right") {
|
||||
$element.append('<span class="essb_counter_right" cnt="' + $cnt + '"'+$css_hidden_negative+'>' + shortenNumber($cnt) + '</span>');
|
||||
}
|
||||
else if (counter_pos == "inside") {
|
||||
$element_inside.html('<span class="essb_counter_inside" cnt="' + $cnt + '"'+$css_hidden_negative+'>' + shortenNumber($cnt) + '</span>');
|
||||
}
|
||||
else if (counter_pos == "insidename") {
|
||||
$element_inside.append('<span class="essb_counter_insidename" cnt="' + $cnt + '"'+$css_hidden_negative+'>' + shortenNumber($cnt) + '</span>');
|
||||
}
|
||||
else if (counter_pos == "insidebeforename") {
|
||||
$element_inside.prepend('<span class="essb_counter_insidebeforename" cnt="' + $cnt + '"'+$css_hidden_negative+'>' + shortenNumber($cnt) + '</span>');
|
||||
}
|
||||
else if (counter_pos == "bottom") {
|
||||
$element_inside.html('<span class="essb_counter_bottom" cnt="' + $cnt + '"'+$css_hidden_negative+'>' + shortenNumber($cnt) + '</span>');
|
||||
}
|
||||
else if (counter_pos == "hidden") {
|
||||
$element.append('<span class="essb_counter_hidden" cnt="' + $cnt + '"'+$css_hidden_negative+'></span>');
|
||||
}
|
||||
else {
|
||||
$element.prepend('<span class="essb_counter" cnt="' + $cnt + '"'+$css_hidden_negative+'>' + shortenNumber($cnt) + '</span>');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ( $twitter.length ) {
|
||||
$.getJSON(twitter_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $twitter, $twitter_inside, data.count);
|
||||
});
|
||||
}
|
||||
if ( $linkedin.length ) {
|
||||
$.getJSON(linkedin_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $linkedin, $linkedin_inside, data.count);
|
||||
});
|
||||
}
|
||||
if ( $pinterest.length ) {
|
||||
$.getJSON(pinterest_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $pinterest, $pinterest_inside, data.count);
|
||||
});
|
||||
}
|
||||
if ( $google.length ) {
|
||||
$.getJSON(google_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $google, $google_inside, data.count);
|
||||
})
|
||||
}
|
||||
if ( $stumble.length ) {
|
||||
$.getJSON(stumble_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $stumble, $stumble_inside, data.count);
|
||||
|
||||
})
|
||||
}
|
||||
if ( $facebook.length ) {
|
||||
$.getJSON(facebook_url)
|
||||
.done(function(data){
|
||||
if (fb_value == 'true') {
|
||||
counter_display(counter_pos, $facebook, $facebook_inside, data.data[0].total_count);
|
||||
}
|
||||
else {
|
||||
counter_display(counter_pos, $facebook, $facebook_inside, data.data[0].share_count);
|
||||
}
|
||||
});
|
||||
}
|
||||
if ( $del.length ) {
|
||||
|
||||
$.getJSON(delicious_url)
|
||||
.done(function(data){
|
||||
try {
|
||||
counter_display(counter_pos, $del, $del_inside, data[0].total_posts);
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if ( $buffer.length ) {
|
||||
|
||||
$.getJSON(buffer_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $buffer, $buffer_inside, data.shares);
|
||||
});
|
||||
}
|
||||
if ( $vk.length ) {
|
||||
$.getJSON(vk_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $vk, $vk_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
if ( $love.length ) {
|
||||
$.getJSON(love_url)
|
||||
.done(function(data){
|
||||
console.log(love_url);
|
||||
console.log(data);
|
||||
counter_display(counter_pos, $love, $love_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
if ( $ok.length ) {
|
||||
$.getJSON(ok_url)
|
||||
.done(function(data){
|
||||
var counter_value = data.count;
|
||||
counter_display(counter_pos, $ok, $ok_inside, counter_value);
|
||||
});
|
||||
}
|
||||
|
||||
if ( $mwp.length ) {
|
||||
$.getJSON(mwp_url)
|
||||
.done(function(data){
|
||||
var counter_value = data.count;
|
||||
counter_display(counter_pos, $mwp, $mwp_inside, counter_value);
|
||||
});
|
||||
}
|
||||
if ( $xing.length ) {
|
||||
$.getJSON(xing_url)
|
||||
.done(function(data){
|
||||
var counter_value = data.count;
|
||||
counter_display(counter_pos, $xing, $xing_inside, counter_value);
|
||||
});
|
||||
}
|
||||
if ( $pocket.length ) {
|
||||
$.getJSON(pocket_url)
|
||||
.done(function(data){
|
||||
var counter_value = data.count;
|
||||
counter_display(counter_pos, $pocket, $pocket_inside, counter_value);
|
||||
});
|
||||
}
|
||||
if ( $print.length ) {
|
||||
$.getJSON(print_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $print, $print_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
if ( $mail.length ) {
|
||||
$.getJSON(mail_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $mail, $mail_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
if ( $reddit.length ) {
|
||||
$.getJSON(reddit_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $reddit, $reddit_inside, data.count);
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
if (interal_counters_all == "true") {
|
||||
|
||||
var del_url = essb_count_data.ajax_url+"?action=essb_counts&nw=del&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
var digg_url = essb_count_data.ajax_url+"?action=essb_counts&nw=digg&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
var weibo_url = essb_count_data.ajax_url+"?action=essb_counts&nw=weibo&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
var flattr_url = essb_count_data.ajax_url+"?action=essb_counts&nw=flattr&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
var tumblr_url = essb_count_data.ajax_url+"?action=essb_counts&nw=tumblr&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
var whatsapp_url = essb_count_data.ajax_url+"?action=essb_counts&nw=whatsapp&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
var meneame_url = essb_count_data.ajax_url+"?action=essb_counts&nw=meneame&url=" + ((typeof(post_self_count_id) != "undefined") ? post_self_count_id : "");
|
||||
|
||||
var $del = $(this).find('.essb_link_del');
|
||||
var $del_inside = $del.find('.essb_network_name');
|
||||
if ( $del.length ) {
|
||||
$.getJSON(del_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $del, $del_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
var $digg = $(this).find('.essb_link_digg');
|
||||
var $digg_inside = $digg.find('.essb_network_name');
|
||||
if ( $digg.length ) {
|
||||
$.getJSON(digg_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $digg, $digg_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
var $weibo = $(this).find('.essb_link_weibo');
|
||||
var $weibo_inside = $weibo.find('.essb_network_name');
|
||||
if ( $weibo.length ) {
|
||||
$.getJSON(weibo_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $weibo, $weibo_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
var $flattr = $(this).find('.essb_link_flattr');
|
||||
var $flattr_inside = $flattr.find('.essb_network_name');
|
||||
if ( $flattr.length ) {
|
||||
$.getJSON(flattr_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $flattr, $flattr_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
var $tumblr = $(this).find('.essb_link_tumblr');
|
||||
var $tumblr_inside = $tumblr.find('.essb_network_name');
|
||||
if ( $tumblr.length ) {
|
||||
$.getJSON(tumblr_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $tumblr, $tumblr_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
var $whatsapp = $(this).find('.essb_link_whatsapp');
|
||||
var $whatsapp_inside = $whatsapp.find('.essb_network_name');
|
||||
if ( $whatsapp.length ) {
|
||||
$.getJSON(whatsapp_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $whatsapp, $whatsapp_inside, data.count);
|
||||
});
|
||||
}
|
||||
|
||||
var $meneame = $(this).find('.essb_link_meneame');
|
||||
var $meneame_inside = $meneame.find('.essb_network_name');
|
||||
if ( $meneame.length ) {
|
||||
$.getJSON(meneame_url)
|
||||
.done(function(data){
|
||||
counter_display(counter_pos, $meneame, $meneame_inside, data.count);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
jQuery.fn.essb_update_counters = function(){
|
||||
return this.each(function(){
|
||||
|
||||
var $group = $(this);
|
||||
var $total_count = $group.find('.essb_totalcount');
|
||||
var $total_count_nb = $total_count.find('.essb_t_nb');
|
||||
var $total_count_item = $group.find('.essb_totalcount_item');
|
||||
|
||||
var $total_counter_hidden = $total_count_item.attr('data-essb-hide-till') || "";
|
||||
|
||||
var total_text = $total_count.attr('title');
|
||||
var total_text_after = $total_count.attr('title_after');
|
||||
if (typeof(total_text) == "undefined") { total_text = ""; }
|
||||
if (typeof(total_text_after) == "undefined") { total_text_after = ""; }
|
||||
$total_count.prepend('<span class="essb_total_text">'+total_text+'</span>');
|
||||
|
||||
function count_total() {
|
||||
var total = 0;
|
||||
var counter_pos = $('.essb_info_counter_pos').val();
|
||||
|
||||
var exist_data_counter_pos = $total_count_item.attr('data-counter-pos') || "";
|
||||
// alert(exist_data_counter_pos);
|
||||
if (exist_data_counter_pos != '') {
|
||||
counter_pos = exist_data_counter_pos;
|
||||
}
|
||||
//alert(counter_pos);
|
||||
if (counter_pos == "right") {
|
||||
$group.find('.essb_counter_right').each(function(){
|
||||
total += parseInt($(this).attr('cnt'));
|
||||
|
||||
var value = parseInt($(this).attr('cnt'));
|
||||
|
||||
if (!$total_count_nb) {
|
||||
value = shortenNumber(value);
|
||||
$(this).text(value);
|
||||
}
|
||||
//alert(shortenNumber(total));
|
||||
});
|
||||
|
||||
}
|
||||
else if (counter_pos == "inside") {
|
||||
$group.find('.essb_counter_inside').each(function(){
|
||||
total += parseInt($(this).attr('cnt'));
|
||||
|
||||
var value = parseInt($(this).attr('cnt'));
|
||||
|
||||
if (!$total_count_nb) {
|
||||
value = shortenNumber(value);
|
||||
$(this).text(value);
|
||||
}
|
||||
//alert(shortenNumber(total));
|
||||
});
|
||||
|
||||
}
|
||||
else if (counter_pos == "bottom") {
|
||||
$group.find('.essb_counter_bottom').each(function(){
|
||||
total += parseInt($(this).attr('cnt'));
|
||||
|
||||
var value = parseInt($(this).attr('cnt'));
|
||||
|
||||
if (!$total_count_nb) {
|
||||
value = shortenNumber(value);
|
||||
$(this).text(value);
|
||||
}
|
||||
//alert(shortenNumber(total));
|
||||
});
|
||||
|
||||
}
|
||||
else if (counter_pos == "insidename") {
|
||||
$group.find('.essb_counter_insidename').each(function(){
|
||||
total += parseInt($(this).attr('cnt'));
|
||||
|
||||
var value = parseInt($(this).attr('cnt'));
|
||||
|
||||
if (!$total_count_nb) {
|
||||
value = shortenNumber(value);
|
||||
$(this).text(value);
|
||||
}
|
||||
//alert(shortenNumber(total));
|
||||
});
|
||||
|
||||
}
|
||||
else if (counter_pos == "insidebeforename") {
|
||||
$group.find('.essb_counter_insidebeforename').each(function(){
|
||||
total += parseInt($(this).attr('cnt'));
|
||||
|
||||
var value = parseInt($(this).attr('cnt'));
|
||||
|
||||
if (!$total_count_nb) {
|
||||
value = shortenNumber(value);
|
||||
$(this).text(value);
|
||||
}
|
||||
//alert(shortenNumber(total));
|
||||
});
|
||||
|
||||
}
|
||||
else if (counter_pos == "hidden") {
|
||||
$group.find('.essb_counter_hidden').each(function(){
|
||||
total += parseInt($(this).attr('cnt'));
|
||||
|
||||
var value = parseInt($(this).attr('cnt'));
|
||||
|
||||
if (!$total_count_nb) {
|
||||
value = shortenNumber(value);
|
||||
$(this).text(value);
|
||||
}
|
||||
//alert(shortenNumber(total));
|
||||
});
|
||||
|
||||
}
|
||||
else {
|
||||
$group.find('.essb_counter').each(function(){
|
||||
total += parseInt($(this).attr('cnt'));
|
||||
|
||||
var value = parseInt($(this).attr('cnt'));
|
||||
|
||||
if (!$total_count_nb) {
|
||||
value = shortenNumber(value);
|
||||
$(this).text(value);
|
||||
}
|
||||
//alert(shortenNumber(total));
|
||||
});
|
||||
}
|
||||
$total_count_nb.text(shortenNumber(total)+total_text_after);
|
||||
|
||||
// show total counter when value is reached
|
||||
if ($total_counter_hidden != '') {
|
||||
//alert(parseInt($total_counter_hidden) + " - " + total);
|
||||
if (parseInt($total_counter_hidden) <= total) {
|
||||
$total_count_item.show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function shortenNumber(n) {
|
||||
if ('number' !== typeof n) n = Number(n);
|
||||
var sgn = n < 0 ? '-' : ''
|
||||
, suffixes = ['k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y']
|
||||
, overflow = Math.pow(10, suffixes.length * 3 + 3)
|
||||
, suffix, digits;
|
||||
n = Math.abs(Math.round(n));
|
||||
if (n < 1000) return sgn + n;
|
||||
if (n >= 1e100) return sgn + 'many';
|
||||
if (n >= overflow) return (sgn + n).replace(/(\.\d*)?e\+?/i, 'e'); // 1e24
|
||||
|
||||
do {
|
||||
n = Math.floor(n);
|
||||
suffix = suffixes.shift();
|
||||
digits = n % 1e6;
|
||||
n = n / 1000;
|
||||
if (n >= 1000) continue; // 1M onwards: get them in the next iteration
|
||||
if (n >= 10 && n < 1000 // 10k ... 999k
|
||||
|| (n < 10 && (digits % 1000) < 100) // Xk (X000 ... X099)
|
||||
)
|
||||
return sgn + Math.floor(n) + suffix;
|
||||
return (sgn + n).replace(/(\.\d).*/, '$1') + suffix; // #.#k
|
||||
} while (suffixes.length)
|
||||
return sgn + 'many';
|
||||
}
|
||||
setInterval(count_total, 1200);
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
jQuery.fn.essb_update_total_counters = function(){
|
||||
return this.each(function(){
|
||||
var $network_list = $(this).attr('data-network-list');
|
||||
var $networkContainer = $network_list.split(",");
|
||||
var $value_element = $(this).find('.essb-total-value');
|
||||
var $full_number = $(this).attr('data-full-number');
|
||||
var $root = $(this);
|
||||
|
||||
function update_total() {
|
||||
var current_total = 0;
|
||||
for (var i=0;i<$networkContainer.length;i++) {
|
||||
var $singleNetwork = $networkContainer[i];
|
||||
|
||||
var value = $root.attr('data-'+$singleNetwork);
|
||||
if (typeof(value) == "undefined") { value = 0; }
|
||||
|
||||
if (Number(value) <= 0) { value = 0; }
|
||||
|
||||
//console.log($singleNetwork + ' | ' + value);
|
||||
current_total += parseInt(value);
|
||||
|
||||
}
|
||||
|
||||
if ($full_number == 'true') {
|
||||
$value_element.text(current_total);
|
||||
}
|
||||
else {
|
||||
$value_element.text(shortenNumber(current_total));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function shortenNumber(n) {
|
||||
if ('number' !== typeof n) n = Number(n);
|
||||
var sgn = n < 0 ? '-' : ''
|
||||
, suffixes = ['k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y']
|
||||
, overflow = Math.pow(10, suffixes.length * 3 + 3)
|
||||
, suffix, digits;
|
||||
n = Math.abs(Math.round(n));
|
||||
if (n < 1000) return sgn + n;
|
||||
if (n >= 1e100) return sgn + 'many';
|
||||
if (n >= overflow) return (sgn + n).replace(/(\.\d*)?e\+?/i, 'e'); // 1e24
|
||||
|
||||
do {
|
||||
n = Math.floor(n);
|
||||
suffix = suffixes.shift();
|
||||
digits = n % 1e6;
|
||||
n = n / 1000;
|
||||
if (n >= 1000) continue; // 1M onwards: get them in the next iteration
|
||||
if (n >= 10 && n < 1000 // 10k ... 999k
|
||||
|| (n < 10 && (digits % 1000) < 100) // Xk (X000 ... X099)
|
||||
)
|
||||
return sgn + Math.floor(n) + suffix;
|
||||
return (sgn + n).replace(/(\.\d).*/, '$1') + suffix; // #.#k
|
||||
} while (suffixes.length)
|
||||
return sgn + 'many';
|
||||
}
|
||||
|
||||
setInterval(update_total, 1200);
|
||||
});
|
||||
};
|
||||
|
||||
jQuery.fn.essb_total_counters = function(){
|
||||
return this.each(function(){
|
||||
var $network_list = $(this).attr('data-network-list');
|
||||
var $url = $(this).attr('data-url');
|
||||
var $facebook_total = $(this).attr('data-fb-total');
|
||||
var $counter_url = $(this).attr('data-counter-url');
|
||||
var $ajax_counter = $(this).attr('data-ajax-url');
|
||||
var $force_ajax = $(this).attr('data-force-ajax');
|
||||
var $post_id = $(this).attr('data-post');
|
||||
|
||||
//var $root = $(this).find('.essb-total-value');
|
||||
var $value_element = $(this).find('.essb-total-value');
|
||||
var isAjax = false;
|
||||
if ($force_ajax == 'true') {
|
||||
isAjax = true;
|
||||
}
|
||||
|
||||
//alert($network_list);
|
||||
var $root = $(this);
|
||||
|
||||
var twitter_url = "https://cdn.api.twitter.com/1/urls/count.json?url=" + $url + "&callback=?";
|
||||
var delicious_url = "http://feeds.delicious.com/v2/json/urlinfo/data?url=" + $url + "&callback=?" ;
|
||||
var linkedin_url = "https://www.linkedin.com/countserv/count/share?format=jsonp&url=" + $url + "&callback=?";
|
||||
var pinterest_url = "https://api.pinterest.com/v1/urls/count.json?callback=?&url=" + $url;
|
||||
var facebook_url = "https://graph.facebook.com/fql?q=SELECT%20like_count,%20total_count,%20share_count,%20click_count,%20comment_count%20FROM%20link_stat%20WHERE%20url%20=%20%22"+$url+"%22";
|
||||
var google_url = $counter_url+"/public/get-noapi-counts.php?nw=google&url=" + $url;
|
||||
var stumble_url = $counter_url+"/public/get-noapi-counts.php?nw=stumble&url=" + $url;
|
||||
var vk_url = $counter_url+"/public/get-noapi-counts.php?nw=vk&url=" + $url;
|
||||
|
||||
var reddit_url = $counter_url+"/public/get-noapi-counts.php?nw=reddit&url=" + $url;
|
||||
var del_url = "http://feeds.delicious.com/v2/json/urlinfo/data?url="+$url+"&callback=?"
|
||||
var buffer_url = "https://api.bufferapp.com/1/links/shares.json?url="+$url+"&callback=?";
|
||||
var ok_url = $counter_url+"/public/get-noapi-counts.php?nw=ok&url=" + $url;
|
||||
var mwp_url = $counter_url+"/public/get-noapi-counts.php?nw=mwp&url=" + $url;
|
||||
|
||||
var love_url = $ajax_counter+"?action=essb_counts&nw=love&url=" + ((typeof($post_id) != "undefined") ? $post_id : "");
|
||||
var mail_url = $ajax_counter+"?action=essb_counts&nw=mail&url=" + ((typeof($post_id) != "undefined") ? $post_id : "");
|
||||
var print_url = $ajax_counter+"?action=essb_counts&nw=print&url=" + ((typeof($post_id) != "undefined") ? $post_id : "");
|
||||
|
||||
if (isAjax) {
|
||||
google_url = $ajax_counter+"?action=essb_counts&nw=google&url=" + $url;
|
||||
stumble_url = $ajax_counter+"?action=essb_counts&nw=stumble&url=" + $url;
|
||||
vk_url = $ajax_counter+"?action=essb_counts&nw=vk&url=" + $url;
|
||||
reddit_url = $ajax_counter+"?action=essb_counts&nw=reddit&url=" + $url;
|
||||
ok_url = $ajax_counter+"?action=essb_counts&nw=ok&url=" + $url;
|
||||
mwp_url = $ajax_counter+"?action=essb_counts&nw=mwp&url=" + $url;
|
||||
}
|
||||
|
||||
var $networkContainer = $network_list.split(",");
|
||||
|
||||
for (var i=0;i<$networkContainer.length;i++) {
|
||||
var $singleNetwork = $networkContainer[i];
|
||||
|
||||
var append_attr_value = 'data-'+$singleNetwork;
|
||||
//alert(append_attr_value);
|
||||
|
||||
switch ($singleNetwork) {
|
||||
case "facebook":
|
||||
$.getJSON(facebook_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != 'undefined') {
|
||||
if ($facebook_total == 'true') {
|
||||
$root.attr('data-facebook', data.data[0].total_count);
|
||||
}
|
||||
else {
|
||||
$root.attr('data-facebook', data.data[0].share_count);
|
||||
}
|
||||
}
|
||||
});
|
||||
break;
|
||||
case "twitter":
|
||||
$.getJSON(twitter_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined") {
|
||||
$root.attr('data-twitter', data.count);
|
||||
//console.log(append_attr_value + '- '+data.count);
|
||||
}
|
||||
});
|
||||
|
||||
break;
|
||||
case "linkedin":
|
||||
$.getJSON(linkedin_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-linkedin', data.count);
|
||||
});
|
||||
|
||||
break;
|
||||
case "pinterest":
|
||||
$.getJSON(pinterest_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-pinterest', data.count);
|
||||
});
|
||||
|
||||
break;
|
||||
case "google":
|
||||
$.getJSON(google_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-google', data.count);
|
||||
});
|
||||
|
||||
break;
|
||||
case "stumbleupon":
|
||||
$.getJSON(stumble_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-stumbleupon', data.count);
|
||||
});
|
||||
|
||||
break;
|
||||
case "del":
|
||||
$.getJSON(delicious_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr(append_attr_value, data[0].total_posts);
|
||||
});
|
||||
|
||||
break;
|
||||
case "buffer":
|
||||
$.getJSON(buffer_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-buffer', data.shares);
|
||||
});
|
||||
|
||||
break;
|
||||
case "vk":
|
||||
$.getJSON(vk_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-vk', data.count);
|
||||
});
|
||||
|
||||
break;
|
||||
case "ok":
|
||||
$.getJSON(ok_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-ok', data.count);
|
||||
});
|
||||
|
||||
break;
|
||||
case "mwp":
|
||||
$.getJSON(mwp_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-mwp', data.count);
|
||||
});
|
||||
|
||||
break;
|
||||
case "love":
|
||||
$.getJSON(love_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-love', data.count);
|
||||
});
|
||||
break;
|
||||
case "print":
|
||||
$.getJSON(print_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-print', data.count);
|
||||
});
|
||||
|
||||
break;
|
||||
|
||||
case "mail":
|
||||
$.getJSON(mail_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-mail', data.count);
|
||||
});
|
||||
break;
|
||||
case "reddit":
|
||||
$.getJSON(reddit_url)
|
||||
.done(function(data){
|
||||
if (typeof(data) != "undefined")
|
||||
$root.attr('data-reddit', data.count);
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
//update_total($(this), $networkContainer);
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
$('.essb-total').essb_total_counters();
|
||||
$('.essb-total').essb_update_total_counters();
|
||||
|
||||
$('.essb_links.essb_counters').essb_get_counters();
|
||||
$('.essb_counters .essb_links_list').essb_update_counters();
|
||||
});
|
||||
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,30 @@
|
||||
var ak_js = document.getElementById( "ak_js" );
|
||||
|
||||
if ( ! ak_js ) {
|
||||
ak_js = document.createElement( 'input' );
|
||||
ak_js.setAttribute( 'id', 'ak_js' );
|
||||
ak_js.setAttribute( 'name', 'ak_js' );
|
||||
ak_js.setAttribute( 'type', 'hidden' );
|
||||
}
|
||||
else {
|
||||
ak_js.parentNode.removeChild( ak_js );
|
||||
}
|
||||
|
||||
ak_js.setAttribute( 'value', ( new Date() ).getTime() );
|
||||
|
||||
var commentForm = document.getElementById( 'commentform' );
|
||||
|
||||
if ( commentForm ) {
|
||||
commentForm.appendChild( ak_js );
|
||||
}
|
||||
else {
|
||||
var replyRowContainer = document.getElementById( 'replyrow' );
|
||||
|
||||
if ( replyRowContainer ) {
|
||||
var children = replyRowContainer.getElementsByTagName( 'td' );
|
||||
|
||||
if ( children.length > 0 ) {
|
||||
children[0].appendChild( ak_js );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 622 B |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 168 B |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* navigation.js
|
||||
*
|
||||
* Handles toggling the navigation menu for small screens.
|
||||
*/
|
||||
( function() {
|
||||
var container, button, menu;
|
||||
|
||||
container = document.getElementById( 'site-navigation' );
|
||||
if ( ! container )
|
||||
return;
|
||||
|
||||
button = container.getElementsByTagName( 'button' )[0];
|
||||
if ( 'undefined' === typeof button )
|
||||
return;
|
||||
|
||||
menu = container.getElementsByTagName( 'ul' )[0];
|
||||
|
||||
// Hide menu toggle button if menu is empty and return early.
|
||||
if ( 'undefined' === typeof menu ) {
|
||||
button.style.display = 'none';
|
||||
return;
|
||||
}
|
||||
|
||||
if ( -1 === menu.className.indexOf( 'nav-menu' ) )
|
||||
menu.className += ' nav-menu';
|
||||
|
||||
button.onclick = function() {
|
||||
if ( -1 !== container.className.indexOf( 'toggled' ) )
|
||||
container.className = container.className.replace( ' toggled', '' );
|
||||
else
|
||||
container.className += ' toggled';
|
||||
};
|
||||
} )();
|
||||
@@ -0,0 +1,205 @@
|
||||
/*
|
||||
* Nivo Lightbox v1.2.0
|
||||
* http://dev7studios.com/nivo-lightbox
|
||||
*
|
||||
* Copyright 2013, Dev7studios
|
||||
* Free to use and abuse under the MIT license.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
|
||||
.nivo-lightbox-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 99998;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.nivo-lightbox-overlay.nivo-lightbox-open {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
.nivo-lightbox-wrap {
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
bottom: 10%;
|
||||
left: 10%;
|
||||
right: 10%;
|
||||
}
|
||||
.nivo-lightbox-content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.nivo-lightbox-title-wrap {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 99999;
|
||||
text-align: center;
|
||||
}
|
||||
.nivo-lightbox-nav { display: none; }
|
||||
.nivo-lightbox-prev {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
}
|
||||
.nivo-lightbox-next {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
}
|
||||
.nivo-lightbox-close {
|
||||
position: absolute;
|
||||
top: 2%;
|
||||
right: 2%;
|
||||
}
|
||||
|
||||
.nivo-lightbox-image { text-align: center; }
|
||||
.nivo-lightbox-image img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.nivo-lightbox-content iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.nivo-lightbox-inline,
|
||||
.nivo-lightbox-ajax {
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
/* https://bugzilla.mozilla.org/show_bug.cgi?id=308801 */
|
||||
}
|
||||
.nivo-lightbox-error {
|
||||
display: table;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 1px #000;
|
||||
}
|
||||
.nivo-lightbox-error p {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Effects
|
||||
**********************************************/
|
||||
.nivo-lightbox-notouch .nivo-lightbox-effect-fade,
|
||||
.nivo-lightbox-notouch .nivo-lightbox-effect-fadeScale,
|
||||
.nivo-lightbox-notouch .nivo-lightbox-effect-slideLeft,
|
||||
.nivo-lightbox-notouch .nivo-lightbox-effect-slideRight,
|
||||
.nivo-lightbox-notouch .nivo-lightbox-effect-slideUp,
|
||||
.nivo-lightbox-notouch .nivo-lightbox-effect-slideDown,
|
||||
.nivo-lightbox-notouch .nivo-lightbox-effect-fall {
|
||||
-webkit-transition: all 0.2s ease-in-out;
|
||||
-moz-transition: all 0.2s ease-in-out;
|
||||
-ms-transition: all 0.2s ease-in-out;
|
||||
-o-transition: all 0.2s ease-in-out;
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
/* fadeScale */
|
||||
.nivo-lightbox-effect-fadeScale .nivo-lightbox-wrap {
|
||||
-webkit-transition: all 0.3s;
|
||||
-moz-transition: all 0.3s;
|
||||
-ms-transition: all 0.3s;
|
||||
-o-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
-webkit-transform: scale(0.7);
|
||||
-moz-transform: scale(0.7);
|
||||
-ms-transform: scale(0.7);
|
||||
transform: scale(0.7);
|
||||
}
|
||||
.nivo-lightbox-effect-fadeScale.nivo-lightbox-open .nivo-lightbox-wrap {
|
||||
-webkit-transform: scale(1);
|
||||
-moz-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
/* slideLeft / slideRight / slideUp / slideDown */
|
||||
.nivo-lightbox-effect-slideLeft .nivo-lightbox-wrap,
|
||||
.nivo-lightbox-effect-slideRight .nivo-lightbox-wrap,
|
||||
.nivo-lightbox-effect-slideUp .nivo-lightbox-wrap,
|
||||
.nivo-lightbox-effect-slideDown .nivo-lightbox-wrap {
|
||||
-webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
|
||||
-moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
|
||||
-ms-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
|
||||
-o-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
|
||||
transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
|
||||
}
|
||||
.nivo-lightbox-effect-slideLeft .nivo-lightbox-wrap {
|
||||
-webkit-transform: translateX(-10%);
|
||||
-moz-transform: translateX(-10%);
|
||||
-ms-transform: translateX(-10%);
|
||||
transform: translateX(-10%);
|
||||
}
|
||||
.nivo-lightbox-effect-slideRight .nivo-lightbox-wrap {
|
||||
-webkit-transform: translateX(10%);
|
||||
-moz-transform: translateX(10%);
|
||||
-ms-transform: translateX(10%);
|
||||
transform: translateX(10%);
|
||||
}
|
||||
.nivo-lightbox-effect-slideLeft.nivo-lightbox-open .nivo-lightbox-wrap,
|
||||
.nivo-lightbox-effect-slideRight.nivo-lightbox-open .nivo-lightbox-wrap {
|
||||
-webkit-transform: translateX(0);
|
||||
-moz-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
.nivo-lightbox-effect-slideDown .nivo-lightbox-wrap {
|
||||
-webkit-transform: translateY(-10%);
|
||||
-moz-transform: translateY(-10%);
|
||||
-ms-transform: translateY(-10%);
|
||||
transform: translateY(-10%);
|
||||
}
|
||||
.nivo-lightbox-effect-slideUp .nivo-lightbox-wrap {
|
||||
-webkit-transform: translateY(10%);
|
||||
-moz-transform: translateY(10%);
|
||||
-ms-transform: translateY(10%);
|
||||
transform: translateY(10%);
|
||||
}
|
||||
.nivo-lightbox-effect-slideUp.nivo-lightbox-open .nivo-lightbox-wrap,
|
||||
.nivo-lightbox-effect-slideDown.nivo-lightbox-open .nivo-lightbox-wrap {
|
||||
-webkit-transform: translateY(0);
|
||||
-moz-transform: translateY(0);
|
||||
-ms-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* fall */
|
||||
.nivo-lightbox-body-effect-fall .nivo-lightbox-effect-fall {
|
||||
-webkit-perspective: 1000px;
|
||||
-moz-perspective: 1000px;
|
||||
perspective: 1000px;
|
||||
}
|
||||
.nivo-lightbox-effect-fall .nivo-lightbox-wrap {
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
-moz-transition: all 0.3s ease-out;
|
||||
-ms-transition: all 0.3s ease-out;
|
||||
-o-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
-webkit-transform: translateZ(300px);
|
||||
-moz-transform: translateZ(300px);
|
||||
-ms-transform: translateZ(300px);
|
||||
transform: translateZ(300px);
|
||||
}
|
||||
.nivo-lightbox-effect-fall.nivo-lightbox-open .nivo-lightbox-wrap {
|
||||
-webkit-transform: translateZ(0);
|
||||
-moz-transform: translateZ(0);
|
||||
-ms-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
Default style for WP-PageNavi plugin
|
||||
|
||||
http://wordpress.org/extend/plugins/wp-pagenavi/
|
||||
*/
|
||||
|
||||
.wp-pagenavi {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-pagenavi a, .wp-pagenavi span {
|
||||
text-decoration: none;
|
||||
border: 1px solid #BFBFBF;
|
||||
padding: 3px 5px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.wp-pagenavi a:hover, .wp-pagenavi span.current {
|
||||
border-color: #000;
|
||||
}
|
||||
|
||||
.wp-pagenavi span.current {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,26 @@
|
||||
jQuery(document).ready(function($) {
|
||||
|
||||
$(document).on('ready'+rllArgs.custom_events, function() {
|
||||
if(rllArgs.script === 'venobox') {
|
||||
|
||||
$.each($('a[rel*="'+rllArgs.selector+'"]'), function() {
|
||||
var match = $(this).attr('rel').match(new RegExp(rllArgs.selector+'\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig'));
|
||||
|
||||
if(match !== null) {
|
||||
$(this).attr('data-gall', match[0]);
|
||||
}
|
||||
});
|
||||
$('a[rel*="'+rllArgs.selector+'"]').venobox();
|
||||
} else if(rllArgs.script === 'nivo_lightbox') {
|
||||
$.each($('a[rel*="'+rllArgs.selector+'"]'), function() {
|
||||
var match = $(this).attr('rel').match(new RegExp(rllArgs.selector+'\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig'));
|
||||
|
||||
if(match !== null) {
|
||||
$(this).attr('data-lightbox-gallery', match[0]);
|
||||
}
|
||||
});
|
||||
|
||||
$('a[rel*="'+rllArgs.selector+'"]').nivoLightbox();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,191 @@
|
||||
jQuery(document).ready(function($) {
|
||||
|
||||
$('.accordion-group .active span').removeClass('icon-caret-right').addClass('icon-caret-down');
|
||||
$('.accordion-group').on('show', function (e) {
|
||||
$(e.target).prev('.accordion-heading').find('.accordion-toggle').addClass('active');
|
||||
$('.accordion-group .active span').removeClass('icon-caret-right').addClass('icon-caret-down');
|
||||
});
|
||||
$('.accordion-group').on('hide', function (e) {
|
||||
$('.accordion-group .active span').removeClass('icon-caret-down').addClass('icon-caret-right');
|
||||
$(this).find('.accordion-toggle').not($(e.target)).removeClass('active');
|
||||
|
||||
});
|
||||
|
||||
//Add slashes in root menu in the header
|
||||
$('#root-nav li').after('<li>/</li>');
|
||||
$('#root-nav li:last-child').remove();
|
||||
|
||||
//Show-hide search box
|
||||
$('#search-container').hide();
|
||||
$(document).on('click', '#search-btn', function(){
|
||||
$('#search-container').slideToggle();
|
||||
});
|
||||
|
||||
//fix easydnnnews edit link
|
||||
$('.news a.edit').each(function () {
|
||||
var nextElem = $(this).next();
|
||||
$('<i class="icon-pencil"> </i> ').prependTo(this)
|
||||
$(this).appendTo(nextElem);
|
||||
});
|
||||
|
||||
//trim categories
|
||||
$('.edn-categories').each(function () {
|
||||
|
||||
var s = $(this).text();
|
||||
var n = s.indexOf(',');
|
||||
s = s.substring(0, n != -1 ? n : s.length);
|
||||
switch (s) {
|
||||
case 'CaseStudies':
|
||||
s = "Case Studies";
|
||||
break
|
||||
case "PressReleases":
|
||||
s = "Press Releases";
|
||||
break
|
||||
case "WhitePapers":
|
||||
s = "White Papers";
|
||||
break
|
||||
}
|
||||
|
||||
$(this).text(s);
|
||||
});
|
||||
|
||||
//search button
|
||||
$('#dnn_Header_dnnSEARCH_txtSearch').addClass('pull-left');
|
||||
$('#dnn_Header_dnnSEARCH_cmdSearch').addClass('btn').addClass('pull-left');
|
||||
|
||||
//Show-hide services menu
|
||||
$('#services-menu-container').hide();
|
||||
var serviceMenuActive = false;
|
||||
|
||||
$('#services-menu-container').mouseenter(function(){
|
||||
serviceMenuActive = true;
|
||||
}).mouseleave(function(){
|
||||
serviceMenuActive = false;
|
||||
$('#services-menu-container').hide();
|
||||
});
|
||||
|
||||
//blog search default text
|
||||
var placeholder = 'Search Blog';
|
||||
|
||||
$('.blog-search').each(function () {
|
||||
$(this).on({
|
||||
focus: function () {
|
||||
if ($(this).val() == placeholder) $(this).val('');
|
||||
},
|
||||
blur: function () {
|
||||
if ($(this).val() == '') $(this).val(placeholder);
|
||||
}
|
||||
});
|
||||
if ($(this).val() == '') $(this).val(placeholder);
|
||||
});
|
||||
|
||||
$('#primary-nav .our-services-page').mouseenter(function(){
|
||||
$('#services-menu-container').show();
|
||||
}).mouseleave(function(){
|
||||
|
||||
setTimeout(function () {
|
||||
if(serviceMenuActive === false){
|
||||
$('#services-menu-container').hide();
|
||||
}
|
||||
}, 100);
|
||||
});
|
||||
|
||||
//blog post page, make all boxes the same height
|
||||
var maxHeight = 0;
|
||||
$('.blog-home-post, .news-events-post, .white-note').not('.nosize').css('height', 'auto').each(function () {
|
||||
maxHeight = Math.max(maxHeight, $(this).outerHeight(false));
|
||||
}).height(maxHeight);
|
||||
|
||||
//move blog comments under post details div
|
||||
$('.comments-section').appendTo('.post-detail');
|
||||
|
||||
//Partners
|
||||
if ($('.partners-container').length) {
|
||||
$('.partners-container li').on({
|
||||
|
||||
click: function () {
|
||||
if ($(this).parent().parent("[class!='certifications']")) {
|
||||
|
||||
var partnerLink = $(this).find('a.partner-link').attr('href');
|
||||
if (!$(this).closest('ul').hasClass('case-studies-list')) {
|
||||
window.open(partnerLink, '_blank');
|
||||
}
|
||||
else {
|
||||
window.open(partnerLink, '_self');
|
||||
}
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
|
||||
},
|
||||
mouseenter: function () {
|
||||
var partnerTitle = $(this).find('img').attr('title');
|
||||
var partnerDesc = $(this).find('img').attr('alt');
|
||||
$(this).append('<div class="partner-info"><div class="partner-info-content"><h4>' + partnerTitle + '</h4><p class="partner-desc">' + partnerDesc + '</p></div></div>');
|
||||
$(this).find('.partner-info').hide().fadeIn(500);
|
||||
},
|
||||
mouseleave: function () {
|
||||
$(this).find('.partner-info').remove();
|
||||
}
|
||||
});
|
||||
}
|
||||
$('.certifications li').unbind('click');
|
||||
|
||||
if ($("#ControlBar_EditPage:contains('Mode')").length > 0) {
|
||||
$('.partner-edit').show();
|
||||
}
|
||||
else {
|
||||
$('.partner-edit').hide();
|
||||
}
|
||||
|
||||
//Multirow - Hide unused rows (after the first), unless your editing
|
||||
$('.multirow .box-row').not(':first').not(':last').each(function () {
|
||||
if (($(this).find('.DNNEmptyPane').length > 1) && (!($("#ControlBar_EditPage:contains('Mode')").length > 0))) {
|
||||
$(this).hide();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//White Note
|
||||
|
||||
$('.white-note:not(.tools), .news-events-post:not(.tools)').on({
|
||||
click: function () {
|
||||
var linky = $(this).find('h3 a').attr('href');
|
||||
window.open(linky, '_self');
|
||||
},
|
||||
});
|
||||
|
||||
$('.white-note:not(.tools), .presentations').on({
|
||||
click: function () {
|
||||
var curr = window.location.href;
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
var linky = $(this).find('h3 a').attr('href');
|
||||
|
||||
window.open(linky, "_blank");
|
||||
location.href = curr;
|
||||
return false;
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
|
||||
//Contact
|
||||
if ($('#map').length) {
|
||||
$(document).on('click', '#map-overlay-content .close', function () {
|
||||
$('#map-overlay').fadeOut();
|
||||
});
|
||||
}
|
||||
|
||||
//Hide Tert menu if no items
|
||||
if ($('.tertiary .subnav ul li').length >= 1) {
|
||||
$('.subnav').show();
|
||||
}
|
||||
else {
|
||||
$('.subnav').hide();
|
||||
}
|
||||
|
||||
//Default select option for contact forms
|
||||
$('select.mail-signup option[value="Yes"]').attr("selected",true);
|
||||
});
|
||||
@@ -0,0 +1,18 @@
|
||||
( function() {
|
||||
var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
|
||||
is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1,
|
||||
is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1;
|
||||
|
||||
if ( ( is_webkit || is_opera || is_ie ) && document.getElementById && window.addEventListener ) {
|
||||
window.addEventListener( 'hashchange', function() {
|
||||
var element = document.getElementById( location.hash.substring( 1 ) );
|
||||
|
||||
if ( element ) {
|
||||
if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) )
|
||||
element.tabIndex = -1;
|
||||
|
||||
element.focus();
|
||||
}
|
||||
}, false );
|
||||
}
|
||||
})();
|
||||
|
After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1,837 @@
|
||||
/*
|
||||
Theme Name: netspi
|
||||
Theme URI: http://underscores.me/
|
||||
Author: Natalie Teigen
|
||||
Author URI: http://www.rocket55.com
|
||||
Description: NetSPI Theme
|
||||
Version: 1.0-wpcom
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: netspi
|
||||
Tags:
|
||||
|
||||
This theme, like WordPress, is licensed under the GPL.
|
||||
Use it to make something cool, have fun, and share what you've learned with others.
|
||||
|
||||
netspi is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
|
||||
|
||||
Resetting and rebuilding styles have been helped along thanks to the fine work of
|
||||
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
|
||||
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
||||
and Blueprint http://www.blueprintcss.org/
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
1.0 Reset
|
||||
2.0 Typography
|
||||
3.0 Elements
|
||||
4.0 Forms
|
||||
5.0 Navigation
|
||||
5.1 Links
|
||||
5.2 Menus
|
||||
6.0 Accessibility
|
||||
7.0 Alignments
|
||||
8.0 Clearings
|
||||
9.0 Widgets
|
||||
10.0 Content
|
||||
10.1 Posts and pages
|
||||
10.2 Asides
|
||||
10.3 Comments
|
||||
11.0 Infinite scroll
|
||||
12.0 Media
|
||||
12.1 Captions
|
||||
12.2 Galleries
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
1.0 Reset
|
||||
--------------------------------------------------------------*/
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, font, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
caption {
|
||||
border: 0;
|
||||
font-family: inherit;
|
||||
font-size: 100%;
|
||||
font-style: inherit;
|
||||
font-weight: inherit;
|
||||
margin: 0;
|
||||
outline: 0;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
|
||||
overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
|
||||
-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
|
||||
-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
|
||||
-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
|
||||
-moz-box-sizing: border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff; /* Fallback for when there is no custom background color defined. */
|
||||
}
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
main,
|
||||
nav,
|
||||
section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
table { /* tables still need 'cellspacing="0"' in the markup */
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
caption,
|
||||
th,
|
||||
td {
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
}
|
||||
blockquote:before,
|
||||
blockquote:after,
|
||||
q:before,
|
||||
q:after {
|
||||
content: "";
|
||||
}
|
||||
|
||||
blockquote,
|
||||
q {
|
||||
quotes: "" "";
|
||||
}
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:active {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
2.0 Typography
|
||||
--------------------------------------------------------------*/
|
||||
body,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
color: #404040;
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
font-size: 1.6rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {margin-top: 50px;}
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dfn,
|
||||
cite,
|
||||
em,
|
||||
i {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 1.5em;
|
||||
}
|
||||
|
||||
address {
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #eee;
|
||||
font-family: "Courier 10 Pitch", Courier, monospace;
|
||||
font-size: 15px;
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1.6em;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
padding: 1.6em;
|
||||
}
|
||||
|
||||
code,
|
||||
kbd,
|
||||
tt,
|
||||
var {
|
||||
font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
}
|
||||
|
||||
abbr,
|
||||
acronym {
|
||||
border-bottom: 1px dotted #666;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
mark,
|
||||
ins {
|
||||
background: #fff9c0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
sup,
|
||||
sub {
|
||||
font-size: 75%;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
bottom: 1ex;
|
||||
}
|
||||
|
||||
sub {
|
||||
top: .5ex;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
big {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
3.0 Elements
|
||||
--------------------------------------------------------------*/
|
||||
hr {
|
||||
background-color: #ccc;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 0 0 1.5em 3em;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
li > ul,
|
||||
li > ol {
|
||||
margin-bottom: 0;
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0 1.5em 1.5em;
|
||||
}
|
||||
|
||||
img {
|
||||
height: auto; /* Make sure images are scaled correctly. */
|
||||
max-width: 100%; /* Adhere to container width. */
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
margin: 0 0 1.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
th {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
4.0 Forms
|
||||
--------------------------------------------------------------*/
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-size: 100%; /* Corrects font size not being inherited in all browsers */
|
||||
margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
|
||||
vertical-align: baseline; /* Improves appearance and consistency in all browsers */
|
||||
}
|
||||
|
||||
button,
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
border: 1px solid;
|
||||
border-color: #ccc #ccc #bbb;
|
||||
border-radius: 3px;
|
||||
background: #e6e6e6;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
|
||||
color: rgba(0, 0, 0, .8);
|
||||
cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
|
||||
-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1;
|
||||
padding: .6em 1em .4em;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
button:hover,
|
||||
input[type="button"]:hover,
|
||||
input[type="reset"]:hover,
|
||||
input[type="submit"]:hover {
|
||||
border-color: #ccc #bbb #aaa;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
button:focus,
|
||||
input[type="button"]:focus,
|
||||
input[type="reset"]:focus,
|
||||
input[type="submit"]:focus,
|
||||
button:active,
|
||||
input[type="button"]:active,
|
||||
input[type="reset"]:active,
|
||||
input[type="submit"]:active {
|
||||
border-color: #aaa #bbb #bbb;
|
||||
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
padding: 0; /* Addresses excess padding in IE8/9 */
|
||||
}
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
|
||||
-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="password"],
|
||||
input[type="search"],
|
||||
textarea {
|
||||
color: #666;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="search"]:focus,
|
||||
textarea:focus {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="password"],
|
||||
input[type="search"] {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
|
||||
padding-left: 3px;
|
||||
vertical-align: top; /* Improves readability and alignment in all browsers */
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
5.0 Navigation
|
||||
--------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------
|
||||
5.1 Links
|
||||
--------------------------------------------------------------*/
|
||||
a {
|
||||
color: royalblue;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: purple;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus,
|
||||
a:active {
|
||||
color: midnightblue;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
5.2 Menus
|
||||
--------------------------------------------------------------*/
|
||||
.main-navigation {
|
||||
clear: both;
|
||||
display: block;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main-navigation ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.main-navigation li {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-navigation a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.main-navigation ul ul {
|
||||
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
||||
float: left;
|
||||
position: absolute;
|
||||
top: 1.5em;
|
||||
left: -999em;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.main-navigation ul ul ul {
|
||||
left: -999em;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.main-navigation ul ul a {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.main-navigation ul ul li {
|
||||
|
||||
}
|
||||
|
||||
.main-navigation li:hover > a {
|
||||
}
|
||||
|
||||
.main-navigation ul ul :hover > a {
|
||||
}
|
||||
|
||||
.main-navigation ul ul a:hover {
|
||||
}
|
||||
|
||||
.main-navigation ul li:hover > ul {
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.main-navigation ul ul li:hover > ul {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.main-navigation .current_page_item > a,
|
||||
.main-navigation .current-menu-item > a,
|
||||
.main-navigation .current_page_ancestor > a {
|
||||
}
|
||||
|
||||
/* Small menu */
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.menu-toggle,
|
||||
.main-navigation.toggled .nav-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-navigation ul {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.site-main .comment-navigation,
|
||||
.site-main .paging-navigation,
|
||||
.site-main .post-navigation {
|
||||
margin: 0 0 1.5em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-previous,
|
||||
.paging-navigation .nav-previous,
|
||||
.post-navigation .nav-previous {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-next,
|
||||
.paging-navigation .nav-next,
|
||||
.post-navigation .nav-next {
|
||||
float: right;
|
||||
text-align: right;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
6.0 Accessibility
|
||||
--------------------------------------------------------------*/
|
||||
/* Text meant only for screen readers */
|
||||
.screen-reader-text {
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
position: absolute !important;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.screen-reader-text:hover,
|
||||
.screen-reader-text:active,
|
||||
.screen-reader-text:focus {
|
||||
background-color: #f1f1f1;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
||||
clip: auto !important;
|
||||
color: #21759b;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
height: auto;
|
||||
left: 5px;
|
||||
line-height: normal;
|
||||
padding: 15px 23px 14px;
|
||||
text-decoration: none;
|
||||
top: 5px;
|
||||
width: auto;
|
||||
z-index: 100000; /* Above WP toolbar */
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
7.0 Alignments
|
||||
--------------------------------------------------------------*/
|
||||
.alignleft {
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
display: inline;
|
||||
float: right;
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
|
||||
.aligncenter {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
8.0 Clearings
|
||||
--------------------------------------------------------------*/
|
||||
.clear:before,
|
||||
.clear:after,
|
||||
.entry-content:before,
|
||||
.entry-content:after,
|
||||
.comment-content:before,
|
||||
.comment-content:after,
|
||||
.site-header:before,
|
||||
.site-header:after,
|
||||
.site-content:before,
|
||||
.site-content:after,
|
||||
.site-footer:before,
|
||||
.site-footer:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.clear:after,
|
||||
.entry-content:after,
|
||||
.comment-content:after,
|
||||
.site-header:after,
|
||||
.site-content:after,
|
||||
.site-footer:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
9.0 Widgets
|
||||
--------------------------------------------------------------*/
|
||||
.widget {
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
/* Make sure select elements fit in widgets */
|
||||
.widget select {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Search widget */
|
||||
.widget_search .search-submit {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
10.0 Content
|
||||
--------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------
|
||||
10.1 Posts and pages
|
||||
--------------------------------------------------------------*/
|
||||
.sticky {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hentry {
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
.byline,
|
||||
.updated:not(.published) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.single .byline,
|
||||
.group-blog .byline {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.page-content,
|
||||
.entry-content,
|
||||
.entry-summary {
|
||||
/*margin: 1.5em 0 0;*/
|
||||
}
|
||||
|
||||
.page-links {
|
||||
clear: both;
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
10.2 Asides
|
||||
--------------------------------------------------------------*/
|
||||
.blog .format-aside .entry-title,
|
||||
.archive .format-aside .entry-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
10.3 Comments
|
||||
--------------------------------------------------------------*/
|
||||
.comment-content a {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.bypostauthor {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
11.0 Infinite scroll
|
||||
--------------------------------------------------------------*/
|
||||
/* Globally hidden elements when Infinite Scroll is supported and in use. */
|
||||
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
|
||||
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
|
||||
.infinity-end.neverending .site-footer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
12.0 Media
|
||||
--------------------------------------------------------------*/
|
||||
.page-content img.wp-smiley,
|
||||
.entry-content img.wp-smiley,
|
||||
.comment-content img.wp-smiley {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers */
|
||||
embed,
|
||||
iframe,
|
||||
object {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
12.1 Captions
|
||||
--------------------------------------------------------------*/
|
||||
.wp-caption {
|
||||
margin-bottom: 1.5em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.wp-caption img[class*="wp-image-"] {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.wp-caption-text {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-caption .wp-caption-text {
|
||||
margin: 0.8075em 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
12.2 Galleries
|
||||
--------------------------------------------------------------*/
|
||||
.gallery {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.gallery-item {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gallery-columns-2 .gallery-item {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.gallery-columns-3 .gallery-item {
|
||||
max-width: 33.33%;
|
||||
}
|
||||
|
||||
.gallery-columns-4 .gallery-item {
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.gallery-columns-5 .gallery-item {
|
||||
max-width: 20%;
|
||||
}
|
||||
|
||||
.gallery-columns-6 .gallery-item {
|
||||
max-width: 16.66%;
|
||||
}
|
||||
|
||||
.gallery-columns-7 .gallery-item {
|
||||
max-width: 14.28%;
|
||||
}
|
||||
|
||||
.gallery-columns-8 .gallery-item {
|
||||
max-width: 12.5%;
|
||||
}
|
||||
|
||||
.gallery-columns-9 .gallery-item {
|
||||
max-width: 11.11%;
|
||||
}
|
||||
|
||||
.gallery-caption {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.socialbar {
|
||||
}
|
||||
|
||||
.socialbar-phone {
|
||||
margin: 0 auto;
|
||||
padding-top: 10px;
|
||||
display: table;
|
||||
}
|
||||
|
||||
@media (max-width: 980px){
|
||||
.socialbar {
|
||||
display: none!important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 980px){
|
||||
.socialbar-phone{
|
||||
display: none!important;
|
||||
}
|
||||
}
|
||||
|
||||
.row-centered {
|
||||
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
.entry-meta {
|
||||
|
||||
display: flex;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
}
|
||||
|
||||
.space-box {
|
||||
flex: 1;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
}
|
||||
|
||||
.post-tags {
|
||||
display: none;
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,129 @@
|
||||
.blog .author-photo{
|
||||
max-height:225px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.blog ul.post-categories{
|
||||
list-style:none;
|
||||
margin:10px 0;
|
||||
}
|
||||
.blog ul.post-categories li a{
|
||||
font-size:11px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
.body-content .blog-home-post{
|
||||
height:550px !important;
|
||||
}
|
||||
.blog .wp-pagenavi{
|
||||
margin:35px 0 0;
|
||||
clear:both;
|
||||
text-align:center;
|
||||
}
|
||||
.blog .wp-pagenavi span.pages{
|
||||
border:0px;
|
||||
}
|
||||
.blog .wp-pagenavi a{
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #bdbcbc;
|
||||
color: #333333;
|
||||
margin: 0 2px;
|
||||
text-decoration: none;
|
||||
border-radius: 2px;
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
background:#fff;
|
||||
}
|
||||
.blog .wp-pagenavi span.extend{
|
||||
padding: 0.5em;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
color: #BBB;
|
||||
}
|
||||
.blog .wp-pagenavi span.current{
|
||||
text-shadow: rgba(0,0,0,.2) 0px 0px 1px;
|
||||
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#fff5f5f5', endColorstr='#ffd9d9d9');
|
||||
background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(245, 245, 245, 1.0)), to(rgba(217, 217, 217, 1.0)));
|
||||
background: -moz-linear-gradient(top, rgba(245, 245, 245, 1.0), rgba(217, 217, 217, 1.0));
|
||||
box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.1);
|
||||
-webkit-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.1);
|
||||
-moz-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.1);
|
||||
padding: 4px 8px;
|
||||
font-weight:normal;
|
||||
}
|
||||
#nav-below a{
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
text-decoration: none;
|
||||
}
|
||||
#nav-below a:hover{
|
||||
color:#F92117;
|
||||
}
|
||||
#nav-below span.meta-nav{
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.post-navigation #nav-below .nav-previous,
|
||||
.post-navigation #nav-below .nav-next{
|
||||
width:45%;
|
||||
}
|
||||
#nav-below .meta-nav{
|
||||
float:left;
|
||||
margin-top:-3px;
|
||||
}
|
||||
#nav-below .nav-next .meta-nav{
|
||||
float:right;
|
||||
}
|
||||
#annotations{
|
||||
list-style-type:none;
|
||||
margin-left:0px;
|
||||
}
|
||||
#annotations li{
|
||||
border-bottom: 1px solid #dbdbdb;
|
||||
margin: 20px 0;
|
||||
padding: 0px 10px 10px;
|
||||
list-style-type: none;
|
||||
}
|
||||
#annotations ul.children{
|
||||
margin-left:30px;
|
||||
padding-left:10px;
|
||||
border-left:2px solid #ddd;
|
||||
}
|
||||
#annotations ul.children li{
|
||||
border-bottom:0px;
|
||||
}
|
||||
#annotations .comment-content{
|
||||
margin:10px 0.4em 15px 0px;
|
||||
}
|
||||
#annotations ul.children li .comment-content{
|
||||
margin-left:0px;
|
||||
}
|
||||
#annotations{clear:both;margin:0;line-height:200%;}
|
||||
|
||||
form label{display:block;}
|
||||
form input{
|
||||
margin-bottom:0.3em;
|
||||
width:60% !important;
|
||||
padding:4px;
|
||||
padding: 10px 8px!important;
|
||||
border-radius: 0 0 0 0!important;
|
||||
}
|
||||
form textarea {width:98%;}
|
||||
form input,
|
||||
form textarea{
|
||||
height:auto !important;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #cccccc;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
|
||||
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
|
||||
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
|
||||
transition: border linear 0.2s, box-shadow linear 0.2s;
|
||||
}
|
||||
select{
|
||||
height:40px;
|
||||
margin-bottom:0px;
|
||||
}
|
||||
.Blog_SearchForm input{
|
||||
width:auto !important;
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 50 KiB |
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=https://blog.netspi.com/15-ways-to-bypass-the-powershell-execution-policy/
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\xb7vdovo.default\shortcutCache\Bsmllfz+D+ftuYlL5SS0fg==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=http://ss64.com/ps/get-childitem.html
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://blogs.technet.com/b/heyscriptingguy/archive/2009/09/01/hey-scripting-guy-september-1.aspx
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\xb7vdovo.default\shortcutCache\pCoH+84n3HnG9tRNATkNGw==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://stackoverflow.com/questions/4993926/maximize-window-and-bring-it-in-front-with-powershell
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=D:\Programme\DFUE\FirefoxPortable\Data\profile\shortcutCache\+q8hma4kZ8lWX2PFvxgrXA==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=http://ss64.com/ps/measure-object.html
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://www.powershell-ag.de/ps/Downloads/Skriptsammlung/tabid/76/Default.aspx
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM.DIGITALDATA\AppData\Local\Mozilla\Firefox\Profiles\xe3qpqin.default\shortcutCache\eGOpN6YXxerOg_h8pTSyOg==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://www.reddit.com/r/sysadmin/comments/13ifi2/powershell_how_to_create_a_array_with_mutilple/
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\xb7vdovo.default\shortcutCache\Zbcw5gzliH4VacjDUAtDQg==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://www.vexasoft.com/blogs/powershell/7255220-powershell-tutorial-try-catch-finally-and-error-handling-in-powershell
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\xb7vdovo.default\shortcutCache\9glk7XhsCVz2USVpc_O3GQ==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://www.zdnet.de/41551262/powershell-grundlagen-so-spart-man-zeit-bei-der-administration-in-windows/?ModPagespeed=noscript
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\xb7vdovo.default\shortcutCache\xWr+FlLOqYyORszzXiYxTQ==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://www.borncity.com/blog/2010/02/24/powershell-skripte-lassen-sich-nicht-ausfhren/
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=D:\Programme\DFUE\FirefoxPortable\Data\profile\shortcutCache\1Z+VYyrVAKy_C6lVkpgagQ==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://www.martinlehmann.de/wp/download/powershell-gui-programmierung-fur-dummies-step-by-step/
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM.DIGITALDATA\AppData\Local\Mozilla\Firefox\Profiles\xe3qpqin.default\shortcutCache\0Gw2E6QnivNLVHhcrtUWWA==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://lantoolbox.com/news/shutdown-power-off-or-reboot-remote-computer-from-powershell/
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=D:\Programme\DFUE\FirefoxPortable\Data\profile\shortcutCache\90iZzw2AtO_do0jaCi0L0g==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://www.boerse.bz/hard-software/programmierung/969984-powershell-benutzer-und-passwort-uebergeben.html
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM.DIGITALDATA\AppData\Local\Mozilla\Firefox\Profiles\xe3qpqin.default\shortcutCache\u0jHLQZXCt_U2KHKVAXUnw==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://msdn.microsoft.com/de-de/magazine/cc163430.aspx
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=D:\Programme\DFUE\FirefoxPortable\Data\profile\shortcutCache\6PwJEnW6TcSnbNzFuUFibQ==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://technet.microsoft.com/de-de/library/ee177031.aspx
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM.DIGITALDATA\AppData\Local\Mozilla\Firefox\Profiles\xe3qpqin.default\shortcutCache\zsfFHVA_ZVILCH4Eb+kIvg==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://my.safaribooksonline.com/9783848320493/neues_array_anlegen_html#neues_array_anlegen
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\xb7vdovo.default\shortcutCache\_2jXRcmL1__Xr2iWvu0_XQ==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://technet.microsoft.com/en-us/library/ff730953.aspx
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\xb7vdovo.default\shortcutCache\wS+nuiTJZon5bY6F00UWcw==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://technet.microsoft.com/en-us/library/ff730949.aspx
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=D:\Programme\DFUE\FirefoxPortable\Data\profile\shortcutCache\p0kxkNBdckMxcxAdP64IoA==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://blogs.technet.com/b/chitpro-de/archive/2007/10/09/windows-powershell-in-der-praxis-xml-verarbeitung-von-jan-moser.aspx
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\xb7vdovo.default\shortcutCache\R1cmfvX4E4XKUFwJsKf9zA==.ico
|
||||
IconIndex=0
|
||||