Commit f469cefc authored by yPhil's avatar yPhil

Menu: i.icon-petrolette.writing

parent 27744536
......@@ -1103,7 +1103,7 @@ div.introjs-helperLayer {
position:relative;
z-index: 20;
background-color: var(--ui-color-qua);
color: var(--ui-color-sec);
/* color: var(--ui-color-sec); */
overflow: hidden;
height: 45px;
}
......@@ -1131,7 +1131,7 @@ div.introjs-helperLayer {
position: absolute;
top: 0;
z-index: 5;
transition: all 0.3s linear;
transition: all .3s linear;
}
.topnav > div.menuBarItem:hover .text {
......@@ -1154,8 +1154,15 @@ div.introjs-helperLayer {
.topnav i.icon-petrolette {
display:block;
cursor: pointer;
font-size:24pt;
margin: 6px 12px 6px 6px;
color: var(--ui-color-pri);
transition: all .3s linear;
}
.topnav i.icon-petrolette:hover,
.topnav i.icon-petrolette.writing {
color: var(--ui-color-sec);
}
......
......@@ -129,12 +129,14 @@ PTL.prefs = (function() {
},
writeConfig:function(key, val) {
var $loader = $('#indicatorContainer');
$loader.fadeToggle(50);
$('div#logoTitle i').addClass('writing');
localStorage.setItem(key, val);
$loader.fadeToggle('fast');
setTimeout(function () {
$('div#logoTitle i').delay('slow').removeClass('writing');
}, 300);
},
exportConfig:function(data, fileName) {
......
......@@ -93,10 +93,6 @@ PTL.sync = (function() {
},
writeSync:function(sources) {
var $loader = $('#indicatorContainer');
$loader.fadeToggle(50);
remoteStorage.petrolette.write(sources)
.then(() => {
console.info('Pétrolette | Writing to remote storage OK');
......@@ -105,9 +101,6 @@ PTL.sync = (function() {
console.error('Pétrolette | Remote file validation error:', err);
});
// localStorage.setItem(key, val);
$loader.fadeToggle('fast');
}
};
}());
......@@ -77,7 +77,6 @@ PTL.tab = {
$('div#tabs ul li').remove();
$('div#tabs div').remove();
$('#noSourcesButton').fadeIn('slow');
$('#indicatorContainer').fadeOut('fast');
PTL.tab.saveTabs();
PTL.tab.makeNewTabButton($('div#tabs'));
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment