feat: wlogout

This commit is contained in:
Elias Renman
2023-11-30 00:48:27 +01:00
parent 09aefa9c00
commit 01740eadfd
15 changed files with 113 additions and 0 deletions

69
wlogout/style.css Normal file
View File

@@ -0,0 +1,69 @@
window {
font-family: JetBrainsMono Nerd Font, monospace;
font-size: 12pt;
color: #cdd6f4;
background-color: rgba(30, 30, 46, 0.5);
}
button {
background-repeat: no-repeat;
background-position: center;
background-size: 20%;
border: none;
color: #ced7f4;
text-shadow: none;
background-color: rgba(30, 30, 46, 0);
margin: 5px;
transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
button:hover {
background-color: rgba(49, 50, 68, 0.1);
}
button:focus {
background-color: #3d59a1;
color: #18182a;
text-shadow: none;
}
#lock {
background-image: image(url("./icons/lock.png"));
}
#lock:focus {
background-image: image(url("./icons/lock-hover.png"));
}
#logout {
background-image: image(url("./icons/logout.png"));
}
#logout:focus {
background-image: image(url("./icons/logout-hover.png"));
}
#suspend {
background-image: image(url("./icons/sleep.png"));
}
#suspend:focus {
background-image: image(url("./icons/sleep-hover.png"));
}
#shutdown {
background-image: image(url("./icons/power.png"));
}
#shutdown:focus {
background-image: image(url("./icons/power-hover.png"));
}
#reboot {
background-image: image(url("./icons/restart.png"));
}
#reboot:focus {
background-image: image(url("./icons/restart-hover.png"));
}
#hibernate {
background-image: image(url("./icons/hibernate.png"));
}
#hibernate:focus {
background-image: image(url("./icons/hibernate-hover.png"));
}