Skip to content

Instantly share code, notes, and snippets.

@dangerouse
Last active June 7, 2018 18:04
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 dangerouse/eba3ad76715bc8c18c9e182fe7de58e8 to your computer and use it in GitHub Desktop.
Save dangerouse/eba3ad76715bc8c18c9e182fe7de58e8 to your computer and use it in GitHub Desktop.
CloudSponge Widget Stylesheet - Example of custom styles
/*
The cloudsponge-export-button is the main CTA for the contacts selection screen.
By default, it is labele with "Get x Contacts"
The defaults styles are shown here. you can change any of these values and save this file to a public location before referencing it with the `css` option.
These styles will override the default ones.
*/
/* The widget header displays the title for each screen */
#cloudsponge-address-book .cloudsponge-topbar {
background-color: #a94442;
}
/* Change the colors of the .cloudsponge-export-button */
#cloudsponge-address-book .cloudsponge-button.cloudsponge-export-button {
background-color: #4caf50;
color: #FFFFFF;
}
#cloudsponge-address-book .cloudsponge-button.cloudsponge-export-button:hover {
background-color: #389b3c;
}
/*
If you want to style other properties or elements, let use know.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment