mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 20:31:46 +00:00
fix: remove xo, migration to eslint
This commit is contained in:
@ -4,53 +4,53 @@
|
||||
|
||||
/* Allow window dragging */
|
||||
.center-content.ytmusic-nav-bar {
|
||||
-webkit-user-select: none;
|
||||
-webkit-app-region: drag;
|
||||
-webkit-user-select: none;
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
.center-content.ytmusic-nav-bar > ytmusic-search-box{
|
||||
-webkit-app-region: no-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;
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
/* custom style for navbar */
|
||||
ytmusic-app-layout {
|
||||
--ytmusic-nav-bar-height: 90px;
|
||||
--ytmusic-nav-bar-height: 90px;
|
||||
}
|
||||
|
||||
ytmusic-search-box.ytmusic-nav-bar {
|
||||
margin-top: 15px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
/* Blocking annoying elements */
|
||||
ytmusic-mealbar-promo-renderer {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Disable Image Selection */
|
||||
img {
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* Hide cast button which doesn't work */
|
||||
ytmusic-cast-button {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Remove useless inaccessible button on top-right corner of the video player */
|
||||
.ytp-chrome-top-buttons {
|
||||
display: none !important;
|
||||
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;
|
||||
ytmusic-nav-bar > div.left-content > a,
|
||||
ytmusic-nav-bar > div.left-content > a > picture > img {
|
||||
-webkit-user-drag: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user