Working on theme. Added power panel and background.

This commit is contained in:
Jonathan Bernard
2016-11-18 00:25:40 -06:00
parent c519afd3f6
commit 2fd4ea998f
4 changed files with 74 additions and 43 deletions

12
js/lightdm-uestibulum.js Normal file
View File

@ -0,0 +1,12 @@
var powerOptionsEl = document.getElementById("power-options")
var powerPanelClasses = document.getElementById("power-panel").classList;
function showPowerOptions() {
powerPanelClasses.add('active');
}
function hidePowerOptions(e) {
console.log(e.target);
if (e.target != powerOptionsEl) return;
powerPanelClasses.remove('active');
}