css tweaks

This commit is contained in:
Araxeus
2021-04-04 21:25:41 +03:00
parent 7c8e946871
commit 73b0ddc2ce
3 changed files with 23 additions and 9 deletions

View File

@ -3,10 +3,17 @@ const customTitlebar = require("custom-electron-titlebar");
module.exports = () => {
const bar = new customTitlebar.Titlebar({
backgroundColor: customTitlebar.Color.fromHex("#050505"),
minimizable: false,
maximizable: false,
unfocusEffect: true,
});
try {
bar.updateMenu(null);
} catch (e) {
//will always throw type error - null isn't menu, but it works
}
let container = document.querySelector('#container');
container.style.width = '100%';
container.style.position = 'fixed';
container.style.border = 'unset';
}

View File

@ -1,15 +1,10 @@
body {
background-color: rgba(0, 0, 0, 0.3);
background-image: linear-gradient(315deg, #200000 0%, #13253a 74%);
overflow: hidden;
color:whitesmoke;
}
::-webkit-scrollbar {
width: 0 !important;
display: none;
}
#label {
text-align: center;
}
@ -30,14 +25,20 @@ body {
border: 1px solid rgb(54, 54, 54);
}
#data:hover {
border: 1px solid rgb(85, 85, 85);
}
#data:focus {
outline: unset;
border: 1px solid rgb(85, 85, 85);
}
#ok:focus, #cancel:focus {
outline: rgba(30, 0, 0, 0.3) solid 1px;
#ok:hover, #cancel:hover {
outline: rgba(60, 0, 0, 0.4) solid 2px;
/*
border: 1px solid rgba(60, 0, 0, 0.4);
*/
}
#ok, #cancel {

View File

@ -3,6 +3,12 @@ body {
line-height: 1.5em;
color: #333;
background-color: #fff;
overflow-y: hidden;
}
::-webkit-scrollbar {
width: 0 !important;
display: none;
}
#container {
@ -10,7 +16,7 @@ body {
justify-content: center;
display: flex;
height: 100%;
overflow: auto;
overflow-y: hidden;
}
#form {