Vanilla Pro 1.1.1 – Hide menu-bar icons
Vanilla Pro 1.1.1 – Hide menu-bar icons
By NMac Ked
Vanilla allows you to hide icons in the menu bar.
Version 1.1.1:
Fixed "Start at login" preference for Mojave compatibility
Vanilla handles dynamic transitions in bright and dark mode and handles changes to accessibility settings.
Improved handling of sporadic conflicts when changing the desktop background
:
× We are using Adblocker! We are using Adblocker! Please support this website by adding ads to the whitelist. Read about how your ads can help you get premium content, or how you can help.
Size – 8MB [19659014]
hideThumbs: 200,
thumbWidth: 100,
thumbHeight: 50,
thumbAmount: 5,
navigationType: "none",
navigationArrows: "solo",
navigationStyle: "round",
navigationHAlign: "center",
navigationVAlign: "bottom",
navigationH Offset: 0,
navigationV Offset: 20,
soloArrowLeftHalign: "left",
soloArrowLeftValign: "center",
Solo Stereo: 20,
soloArrowLeftVOffset: 0,
soloArrowRightHalign: "right"
soloArrowRightValign: "center",
Solo distance direction offset: 20,
soloArrowRightVOffset: 0,
touchenabled: "on",
onHoverStop: "on",
navOffsetHorizontal: 0,
navOffsetVertical: 20,
hideCaptionAtLimit: 500,
hideAllCaptionAtLilmit: 0,
hideSliderAtLimit: 0,
stopAtSlide: -1,
stopAfterLoops: -1,
Shadows: 0,
fullWidth: "off"
});
// Superfish
jQuery (& # 39; # top menu ul & # 39;) superfish ({
hoverClass: & # 39; over & # 39 ;, // the class applied to the contained list item
delay: 500, // 1 second delay at mouseout
Animation: {height: & # 39;}, // Fade in and slide down animation
Speed: 160, // Fast animation speed
disableHI: true,
autoArrows: false
});
jQuery (& # 39; # main-menu ul & # 39;). Superfiche ({
hoverClass: & # 39; over & # 39 ;, // the class applied to the contained list item
delay: 500, // 1 second delay at mouseout
Animation: {height: & # 39;}, // Fade in and slide down animation
Speed: 160, // Fast animation speed
disableHI: true,
autoArrows: false
});
jQuery (& # 39; # sub-menu ul & # 39;). Superfiche ({
hoverClass: & # 39; over & # 39 ;, // the class applied to the contained list item
delay: 500, // 1 second delay at mouseout
Animation: {height: & # 39;}, // Fade in and slide down animation
Speed: 160, // Fast animation speed
disableHI: true,
autoArrows: false
});
jQuery (& # 39; # selector-wrapper ul & # 39;). Superfiche ({
hoverClass: & # 39; over & # 39 ;, // the class applied to the contained list item
delay: 400, // 1 second delay of mouseout
Animation: {height: & # 39;}, // Fade in and slide down animation
Speed: 300, // faster animation speed
disableHI: true,
autoArrows: false
});
// Torrent slider
jQuery (& # 39; # trending-toggle & # 39;). click (function () {
jQuery (& # 39; # trending-wrapper & # 39;). animate ({
Height: Toggle & # 39;
}, 200, & lt; linear & gt;);
});
jQuery (& # 39; carousel & # 39;). Merry-go-round ({
Interval: 6000
});
// sizzlin slider
jQuery (& # 39; # sizzlin .slide & # 39;). list_ticker ({
Speed: 8000, // Time to display item (milliseconds)
Effect: & # 39; Fade & # 39; // slide or fade
});
// Do not display the Top 10 slider until the page loads.
jQuery (& # 39; # top-ten & # 39;). show ();
// The top 10 sliders simply scroll through the plugin (IE8's standard rotation slide show).
var isIE8 = jQuery.browser.msie && + jQuery.browser.version === 8;
if (isIE8) {
jQuery (& # 39; # top-ten-slider & # 39;). wrapInner (& # 39;
& # 39;);
jQuery (& # 39; # top-ten-slider & # 39;). Merry-go-round ({
Interval: 3500
});
} else {
jQuery ("# top-ten-slider"). simplyScroll ({
customClass: & # 39; top-ten & # 39 ;,
Direction: & # 39; Landscape & # 39;
Direction: & # 39; Delivery & # 39 ;,
pauseOnHover: true,
frameRate: 48,
Speed: 1
});
}
// darken the image
jQuery (& # 39; body & # 39;). on (& # 39; mouseenter & # 39 ;, & # 39; .darken & # 39 ;, function (e) {
jQuery (this) .find (& # 39; img & # 39;). stop (). animate ({opacity: .3}, 150);
}). on (& mouseleave & # 39 ;, & # 39; .darken & # 39 ;, function (e) {
jQuery (this) .find (& # 39; img & # 39;). stop (). animate ({opacity: 1.0}, 500);
});
// jquery UI slider
jQuery (& # 39; form-selector & # 39;). The slider ({
Values: 5,
Minute: 0,
Maximum: 10,
Step: 0.1,
Direction: "horizontal",
Range: & # 39; Min. & # 39 ;,
animate: true,
Slide: Function (Event, UI) {
var rating = ui.value;
jQuery (this) .siblings (& # 39 ;. rating-value & # 39;) .html (rating);
}
});
// HD image
if (window.devicePixelRatio == 2) {
var images = jQuery ("img.hires");
// Repeat the image to make it high resolution.
for (var i = 0; i < images.length; i++) {
// create new image name
var imageType = images[i].src.substr(-4);
var imageName = images[i].src.substr(0, images[i].src.length - 4);
imageName += "@2x" + imageType;
//rename image
images[i].src = imageName;
}
}
//fancy responsive selectboxes
jQuery("select#select-menu-top-menu, select#select-menu-main-menu, select#select-menu-sub-menu, select#select-menu-tax-menu").selectBox();
//add bootstrap classes to wordpress generated elements
jQuery('.avatar-70, .avatar-50').addClass('img-circle');
jQuery('.comment-reply-link').addClass('btn');
jQuery('#reply-form input#submit').addClass('btn');
//put this in a function so we can call it from ajax easily
dynamicElements();
});
//applied to elements within ajax panels
function dynamicElements() {
//jQuery tooltips
jQuery('.info').tooltip();
jQuery('info-bottom').tooltip({ placement: 'bottom' });
//jQuery popovers
jQuery('.popthis').popover();
//jQuery alert dismissals
jQuery(".alert").alert();
//jQuery fitvids
jQuery('.post-loop .video_frame').fitVids();
//equal height columns
equalHeightColumns(jQuery(".main-loop, #sidebar"));
}
//call equal height columns when window is resized
jQuery(window).resize(function() {
equalHeightColumns(jQuery(".main-loop, #sidebar"));
});
//call equal height columns when main content is resized
jQuery(".main-loop-content").resize(function(e){
equalHeightColumns(jQuery(".main-loop, #sidebar"));
});
//call equal height columns when sidebar is resized
jQuery(".sidebar-inner").resize(function(e){
equalHeightColumns(jQuery(".main-loop, #sidebar"));
});
//equal height columns
function equalHeightColumns(group) {
tallest = 0;
width = jQuery(window).width();
group.each(function() {
jQuery(this).removeAttr('style');
thisHeight = jQuery(this).height();
if(thisHeight > highest) {
Most key = thisHeight;
}
});
if (width> 767) {
group.height (tallest);
}
}
// Submit form
jQuery ("# searchformtop input"). Keypress (function (event) {
if (event.which == 13) {
event.preventDefault ();
jQuery ("# searchformtop"). submit ();
}
});
// Submit an email subscription form
jQuery ("# feedburner_subscribe button"). click (function () {
jQuery ("# feedburner_subscribe"). submit ();
});
// Submit the login form
jQuery (".wp user form # user_path"). keypress (function (event) {
if (event.which == 13) {
event.preventDefault ();
jQuery (". wp-user-form"). submit ();
}
});
// Scrolls all #top elements to the top.
jQuery ("a [href='#top']"). click (function () {
jQuery ("html, body"). animate ({scrollTop: 0}, "slow");
return false;
});
// Rating Animation
function animateRating (pos, delay, eid) {
jQuery (& # 39; # & # 39; + eid + & # 39; .rating-meter & # 39;) delay (delay) .animate ({
Opacity: 1,
Left: pos + & # 39;% & # 39;
}, 2500, && easeOutCubic & # 39;);
}
// Select responsive menu dropdown
jQuery ("select # select-menu-top-menu"). change (function () {
window.location = jQuery (this) .find ("option: selected") .Val ();
});
jQuery ("select # select-menu-main-menu"). change (function () {
window.location = jQuery (this) .find ("option: selected") .Val ();
});
jQuery ("select # select-menu-sub-menu"). change (function () {
window.location = jQuery (this) .find ("option: selected") .Val ();
});
jQuery ("select # select-menu-tax-menu"). change (function () {
window.location = jQuery (this) .find ("option: selected") .Val ();
});
// pinterest
(Function (d) {
var f = d.getElementsByTagName ("SCRIPT") [0] p = d.createElement (SCRIPT & # 39;);
p.type = & # 39; text / javascript & # 39 ;;
p.async = true;
p.src = "http://assets.pinterest.com/js/pinit.js";
f.parentNode.insertBefore (p, f);
}(document));
// facebook
(Function (d, s, id) {
var js, fjs = d.getElementsByTagName [s1959047];
if (d.getElementById (id)) return;
js = d.createElement (s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore (js, fjs);
} (document, & # 39; script & # 39 ;, & # 39; facebook-jssdk & # 39;)));
//WINDOW.LOAD
jQuery (Windows) .load (function () {
// flickr
jQuery (& # 39; flickr & # 39;). jflickrfeed ({
Limitations: 9,
qstrings: {
id: & # 39; & # 39;
},
itemTemplate: & # 39;
& # 39; +
& # 39; & # 39;
& # 39; & # 39; +
& # 39; & # 39;
& # 39;
& # 39;
}, Function (data) {
});
// tabs - these must be in window.load, and pinterest will work inside the tabs.
Tab ({fx: {opacity: & # 39; toggle & # 39 ;, duration: 150}});
jQuery (& # 39; # sidebar .it-clouds & # 39;) tab {fx: {opacity: & # 39; toggle & # 39 ;, duration: 150}});
jQuery (& # 39; # footer .it-clouds & # 39;) tab ({fx: {opacity: & # 39; toggle & # 39 ;, duration: 150}});
jQuery (& # 39; Recommendation Widget .it-social-tabs & # 39;) tab ({fx: {opacity: & # 39; toggle & # 39 ;, duration: 150}});
jQuery (& # 39; # sidebar .it-social-tabs & # 39;) tab ({fx: {opacity: & # 39; toggle & # 39 ;, duration: 150}});
jQuery (& # 39; # footer .it-social-tabs & # 39;) tab ({fx: {opacity: & # 39 ;, duration: 150}});
equalHeightColumns (jQuery (". main-loop, # sidebar"));
});
jQuery.noConflict ();