Last active
November 30, 2022 15:03
SF_10.2, SF_11.0, SF_11.1, SF_11.2, SF_12.0, SF_12.1, SF_12.2, SF_13.0, SF_13.1, SF_13.2, SF_13.3, SF_14.0, SF_14.1, SF_14.2, SF_14.3 - http://docs.sitefinity.com/modify-the-appearance-of-the-consent-dialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.consent-container { | |
border: 1px solid rgb(51, 102, 153); | |
line-height: 1.5; | |
padding: 5px 20px 10px; | |
font-family: Verdana,Arial,Helvetica,DejaVu Sans,sans-serif; | |
max-width: 750px; | |
min-width: 200px; | |
color: black; | |
text-align: left; | |
background: none repeat scroll 0% 0% rgb(241, 251, 255); | |
position: absolute; | |
bottom: 8px; | |
right: 8px; | |
} | |
.consent-title { | |
margin: 0; | |
padding: 0; | |
color: #336699; | |
font-size: 150%; | |
font-weight: normal; | |
} | |
.consent-description { | |
color: #000000; | |
} | |
.consent-accept-container { | |
margin-right:20px; | |
float:left; | |
margin-bottom:5px; | |
padding:10px 0; | |
} | |
.consent-accept { | |
white-space: nowrap; | |
text-decoration: none; | |
background: #B9DDEE; | |
padding: 10px 15px; | |
border-bottom: 1px solid #86B3C6; | |
border-right: 1px solid #86B3C6; | |
color: #000000; | |
} | |
.consent-reject-container{ | |
float: left; | |
margin-bottom: 5px; | |
padding: 10px 0; | |
} | |
.consent-reject { | |
white-space: nowrap; | |
text-decoration: none; | |
background: #B9DDEE; | |
padding: 10px 15px; | |
border-bottom: 1px solid #86B3C6; | |
border-right: 1px solid #86B3C6; | |
color: #000000; | |
} | |
</style> | |
<div class="consent-container"> | |
<h2 class="consent-title" >@(Res.Get<Labels>().TrackingConsentDialogTitle)</h2> | |
<p class="consent-description">@(Res.Get<Labels>().TrackingConsentDialogDescription)</p> | |
<div class='consent-accept-container'> | |
<a class="consent-accept" href="javascript:TrackingConsentManager.updateUserConsent(true)">@(Res.Get<Labels>().TrackingConsentDialogAccept)</a> | |
</div> | |
<div class='consent-reject-container'> | |
<a class="consent-reject" href="javascript:TrackingConsentManager.updateUserConsent(false)">@(Res.Get<Labels>().TrackingConsentDialogReject)</a> | |
</div> | |
<div></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment