Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@crivotz
Created July 8, 2015 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crivotz/998744fd8b0b2c3e127e to your computer and use it in GitHub Desktop.
Save crivotz/998744fd8b0b2c3e127e to your computer and use it in GitHub Desktop.
CSS for Google Cookie choices (https://www.cookiechoices.org/)
/* Panel */
#cookieChoiceInfo {
background-color: #6a7ed5; /* Panel background color */
border-top: 4px solid #c8b13c; /* Border top color and type */
color: #FFFFFF; /* Font color */
padding: 10px;
opacity: .8; /* Opacity */
}
/*More info link*/
#cookieInfoLink {
color: #E00000; /* More info color */
}
#cookieInfoLink:hover {
color: #FF5B5B; /* More info hover background */
}
/* Button OK */
#cookieChoiceDismiss {
background-color: #5DCB45; /* Button background */
color: #FFFFFF; /* Font background */
text-decoration: none;
font-weight: 600;
font-size: 16px;
padding: 3px 10px;
border-radius: 3px;
}
#cookieChoiceDismiss:hover {
background-color: #42a32d; /* Button mouse hover background */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment