QOL: Move source code under the src directory. (#1318)

This commit is contained in:
Angelos Bouklis
2023-10-15 15:52:48 +03:00
committed by GitHub
parent 30c8dcf730
commit 7625a3aa52
159 changed files with 102 additions and 71 deletions

61
src/youtube-music.css Normal file
View File

@ -0,0 +1,61 @@
/**
* Overriding YouTube Music style
*/
/* Allow window dragging */
.center-content.ytmusic-nav-bar {
-webkit-user-select: none;
-webkit-app-region: drag;
}
.center-content.ytmusic-nav-bar > ytmusic-search-box {
-webkit-app-region: no-drag;
}
iron-icon,
ytmusic-pivot-bar-item-renderer,
.tab-title,
a {
-webkit-app-region: no-drag;
}
/* custom style for navbar */
ytmusic-app-layout {
--ytmusic-nav-bar-height: 90px;
}
ytmusic-search-box.ytmusic-nav-bar {
margin-top: 15px;
}
/* Blocking annoying elements */
ytmusic-mealbar-promo-renderer {
display: none !important;
}
/* Disable Image Selection */
img {
-webkit-user-select: none;
user-select: none;
}
/* Hide cast button which doesn't work */
ytmusic-cast-button {
display: none !important;
}
/* Remove useless inaccessible button on top-right corner of the video player */
.ytp-chrome-top-buttons {
display: none !important;
}
/* Make youtube-music logo un-draggable */
ytmusic-nav-bar > div.left-content > a,
ytmusic-nav-bar > div.left-content > a > picture > img {
-webkit-user-drag: none;
}
/* yt-music bugs */
tp-yt-paper-item.ytmusic-guide-entry-renderer::before {
border-radius: 8px !important;
}