mirror of
https://github.com/modrinth/code.git
synced 2026-09-04 05:48:57 +00:00
fix: ads consent close button color (#6678)
* fix: ads consent close button * update color
This commit is contained in:
@@ -38,6 +38,10 @@ function installAdsConsentOverlayStyle() {
|
|||||||
html.modrinth-ads-consent-overlay #modrinth-rail-1 {
|
html.modrinth-ads-consent-overlay #modrinth-rail-1 {
|
||||||
visibility: hidden !important;
|
visibility: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.qc-cmp2-close-icon {
|
||||||
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M.5.5l23 23m0-23l-23 23' fill='none' stroke='%23b0bac5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E") 0% 0% / 66% auto no-repeat !important;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
document.documentElement.appendChild(style)
|
document.documentElement.appendChild(style)
|
||||||
}
|
}
|
||||||
@@ -186,6 +190,7 @@ function muteVideos() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
installAdsConsentOverlayStyle()
|
||||||
muteVideos()
|
muteVideos()
|
||||||
muteAudioContext()
|
muteAudioContext()
|
||||||
installTcfConsentListener()
|
installTcfConsentListener()
|
||||||
|
|||||||
Reference in New Issue
Block a user