This commit is contained in:
Ajay
2022-03-21 22:42:48 -04:00
3 changed files with 134 additions and 101 deletions

View File

@@ -7,14 +7,26 @@
}
/*
* IDs on container element (when inserted in page), <html> element,
* <body> element and main container
* Container when popup displayed in-page
*/
#sponsorBlockPopupContainer {
position: relative;
margin-bottom: 16px;
}
/*
* Disable fixed popup width when displayed in-page
*/
#sponsorBlockPopupContainer #sponsorBlockPopupBody {
width: auto;
}
/*
* Main containers
*/
#sponsorBlockPopupHTML {
color-scheme: dark;
}
@@ -41,6 +53,25 @@
transition: none !important;
}
/*
* Close popup button when displayed in-page
*/
.sbCloseButton {
background: transparent;
border: 0;
padding: 8px;
cursor: pointer;
position: absolute;
top: 5px;
right: 5px;
opacity: 0.5;
}
.sbCloseButton:hover {
opacity: 1;
}
/*
* Header logo
*/