mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
css tweaks
This commit is contained in:
@ -3,10 +3,17 @@ const customTitlebar = require("custom-electron-titlebar");
|
|||||||
module.exports = () => {
|
module.exports = () => {
|
||||||
const bar = new customTitlebar.Titlebar({
|
const bar = new customTitlebar.Titlebar({
|
||||||
backgroundColor: customTitlebar.Color.fromHex("#050505"),
|
backgroundColor: customTitlebar.Color.fromHex("#050505"),
|
||||||
|
minimizable: false,
|
||||||
|
maximizable: false,
|
||||||
|
unfocusEffect: true,
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
bar.updateMenu(null);
|
bar.updateMenu(null);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
//will always throw type error - null isn't menu, but it works
|
//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 {
|
body {
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: rgba(0, 0, 0, 0.3);
|
||||||
background-image: linear-gradient(315deg, #200000 0%, #13253a 74%);
|
background-image: linear-gradient(315deg, #200000 0%, #13253a 74%);
|
||||||
overflow: hidden;
|
|
||||||
color:whitesmoke;
|
color:whitesmoke;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 0 !important;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#label {
|
#label {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@ -30,14 +25,20 @@ body {
|
|||||||
border: 1px solid rgb(54, 54, 54);
|
border: 1px solid rgb(54, 54, 54);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#data:hover {
|
||||||
|
border: 1px solid rgb(85, 85, 85);
|
||||||
|
}
|
||||||
|
|
||||||
#data:focus {
|
#data:focus {
|
||||||
outline: unset;
|
outline: unset;
|
||||||
border: 1px solid rgb(85, 85, 85);
|
border: 1px solid rgb(85, 85, 85);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ok:focus, #cancel:focus {
|
#ok:hover, #cancel:hover {
|
||||||
outline: rgba(30, 0, 0, 0.3) solid 1px;
|
outline: rgba(60, 0, 0, 0.4) solid 2px;
|
||||||
|
/*
|
||||||
border: 1px solid rgba(60, 0, 0, 0.4);
|
border: 1px solid rgba(60, 0, 0, 0.4);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#ok, #cancel {
|
#ok, #cancel {
|
||||||
|
|||||||
@ -3,6 +3,12 @@ body {
|
|||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
color: #333;
|
color: #333;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
overflow-y: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 0 !important;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container {
|
#container {
|
||||||
@ -10,7 +16,7 @@ body {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#form {
|
#form {
|
||||||
|
|||||||
Reference in New Issue
Block a user