mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
css tweaks
This commit is contained in:
@ -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';
|
||||
}
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user