Initial Commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
/********************************************************
|
||||
|
||||
SLIDER REVOLUTION BACKUP
|
||||
|
||||
* REVOLUTION 5.2.0 EXTENSION - BACKUP ADMIN CSSrs-frame-
|
||||
* @version: 1.0 (16.02.2016)
|
||||
* @author ThemePunch
|
||||
*********************************************************/
|
||||
|
||||
|
||||
#rs-addon-settings-trigger-backup { border-radius:0px; padding:0px; color:transparent; background:url(../images/addon_logo.png); background-size:127px 54px; background-position:top center; width:127px;height:27px;}
|
||||
#rs-addon-settings-trigger-backup.selected,
|
||||
#rs-addon-settings-trigger-backup:hover { background-position: bottom center}
|
||||
|
||||
#rs-addon-settings-trigger-backup-settings { padding:15px 20px;}
|
||||
|
||||
|
||||
.rs-addon-backup-trigger-button { line-height:28px; color:#fff; padding:0px 20px; background: #3498db; cursor: pointer; display:inline-block;}
|
||||
.rs-addon-backup-trigger-button:hover { background: #2980b9}
|
||||
|
||||
#dialog_select_slide_backup { padding:0px;}
|
||||
|
||||
.rs-backup-data-holder { line-height:45px; vertical-align: middle; border-bottom:1px solid #ddd; padding:0px 20px;}
|
||||
.rs-backup-id { display: inline-block;width: 20px;text-align: right;}
|
||||
|
||||
.eg-icon-calendar { margin-left:25px; color:#aaa; margin-right:5px;}
|
||||
.eg-icon-calendar:before { color:#aaa; font-size:16px;}
|
||||
|
||||
.rs-preview-backup { border:1px solid #3498db; font-size:12px; color:#3498db; line-height: 24px; padding:0px 10px; font-weight: 400; cursor: pointer; display: inline-block;margin-top:10px; border-radius: 4px;}
|
||||
|
||||
.rs-load-backup { background:#3498db; font-size:12px; color:#fff; line-height: 26px; padding:0px 10px; font-weight: 400; cursor: pointer; display: inline-block;margin-top:10px;border-radius: 4px; margin-left:5px;}
|
||||
|
||||
.rs-preview-backup:hover { color:#fff;background:#3498db;}
|
||||
.rs-load-backup:hover { background: #2980b9}
|
||||
|
||||
|
||||
.rs-backup-data-holder.rs-temp-backup-holder { background:rgba(255,255,255,0.45); border-radius: 4px; position: absolute; top: 50px; left: 50%; border-bottom:none !important; width:320px; margin-left:-160px; height:40px;line-height: 40px;}
|
||||
|
||||
.rs-temp-backup-holder .rs-load-backup { float:right;margin-top:8px;}
|
||||
|
||||
.nobackups { padding:25px 20px; color:#999; font-size: 14px;}
|
||||
@@ -0,0 +1,31 @@
|
||||
.tp-steps span {
|
||||
-webkit-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
border: 2px solid #d50000;
|
||||
color: #d50000;
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 37px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.tp-steps.wb span {
|
||||
border: 2px solid #22a2ad;
|
||||
color: #fff;
|
||||
background: #22a2ad;
|
||||
}
|
||||
|
||||
h3.tp-steps {
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wb-featuretext {
|
||||
margin-top: 10px;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
@@ -0,0 +1,24 @@
|
||||
///////////////////////////////
|
||||
// INIT BACKUP SCRIPTS //
|
||||
///////////////////////////////
|
||||
jQuery("document").ready(function() {
|
||||
|
||||
// CHECK EDITOR MODE
|
||||
var editor_view = jQuery('#form_slider_params').length>0 ? "slider_settings" : "slide_settings";
|
||||
|
||||
if (editor_view==="slide_settings"){
|
||||
rs_backup_slide_init();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
/********************************************************************
|
||||
|
||||
LAYER / SLIDE SETTINGS BACKEND jQUERY EXTENSION
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
var rs_backup_slide_init = function() {
|
||||
if(typeof(rs_backup_loaded) === 'undefined') return false; //WILL BE WRITTEN BY admin/includes/slide.class.php DEPENDING IF BACKUP IS ENABLED/DISABLED
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
(function( $ ) {
|
||||
|
||||
$(function() {
|
||||
|
||||
/*! Main Functionality for Settings SlideOut */
|
||||
jQuery('document').ready(function() {
|
||||
var a = jQuery('#rev_addon_gal_settings_slideout');
|
||||
punchgs.TweenLite.set(a,{xPercent:"+100%", autoAlpha:0, display:"none"});
|
||||
|
||||
jQuery('body').on('click', '#rs-dash-addons-slide-out-trigger_revslider-backup-addon', function() {
|
||||
console.log("clicked");
|
||||
//hide all wrappers
|
||||
jQuery('.rs-sbs-slideout-wrapper').each(function(){
|
||||
punchgs.TweenLite.to(jQuery(this),0.4,{xPercent:"+100%", autoAlpha:0, display:"none",overwrite:"auto",ease:punchgs.Power3.easeInOut});
|
||||
});
|
||||
|
||||
//display slideout
|
||||
var a = jQuery('#rev_addon_backup_settings_slideout'),
|
||||
b = jQuery('.rs-dash-addons');
|
||||
punchgs.TweenLite.to(a,0.4,{xPercent:"0%", autoAlpha:1, display:"block",overwrite:"auto",ease:punchgs.Power3.easeOut});
|
||||
|
||||
//enable Scrollbars
|
||||
jQuery('#rev_addon_backup_settings_slideout .rs-sbs-slideout-inner').css("max-height",$( window ).height()-300);
|
||||
setTimeout(function() {
|
||||
jQuery('#rev_addon_backup_settings_slideout .rs-sbs-slideout-inner').perfectScrollbar("update");
|
||||
},400);
|
||||
});
|
||||
jQuery('body').on('click','#rev_addon_backup_settings_slideout .rs-sbs-close', function() {
|
||||
var a = jQuery('#rev_addon_backup_settings_slideout');
|
||||
punchgs.TweenLite.to(a,0.4,{xPercent:"+100%", autoAlpha:0, display:"none",overwrite:"auto",ease:punchgs.Power3.easeInOut});
|
||||
});
|
||||
|
||||
//call scrollbars
|
||||
jQuery('#rev_addon_backup_settings_slideout .rs-sbs-slideout-inner').perfectScrollbar({wheelPropagation:true, suppressScrollX:true});
|
||||
|
||||
$(window).resize(function(){
|
||||
jQuery('#rev_addon_backup_settings_slideout .rs-sbs-slideout-inner').css("max-height",$( window ).height()-300);
|
||||
jQuery('#rev_addon_backup_settings_slideout .rs-sbs-slideout-inner').perfectScrollbar("update");
|
||||
});
|
||||
|
||||
}); //end document ready
|
||||
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
Reference in New Issue
Block a user