Skip to content

Instantly share code, notes, and snippets.

@DeskSupport
Created August 28, 2011 09:55
Show Gist options
  • Save DeskSupport/1176488 to your computer and use it in GitHub Desktop.
Save DeskSupport/1176488 to your computer and use it in GitHub Desktop.
SalesForce Widget Styling
<style>
.salesforce_app_container {
display:inline-block;
width: 100%;
margin:0px;
padding: 0px;
}
.salesforce_app_container h3:first-child {
background: #1797c0;
color: white;
margin-left: -10px;
padding-left: 24px;
margin-right: -3px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px;
border: 2px #FFF solid;
background-image: url('http://www.salesforce.com/favicon.ico');
background-repeat: no-repeat;
background-position: 5px 2px;
}
.salesforce_app_container h3:first-child a, .salesforce_app_container h3:first-child a:hover{
color: white;
background-image: none;
font-size: 85%;
vertical-align: text-top;
}
.salesforce_app {
margin: 10px 0px;
background: #CFEEF8;
padding-left: 8px;
zzborder: 2px #acacac solid;
-moz-border-radius: 10px;
border-radius: 10px;
border: 2px #FFF solid;
}
.salesforce_app ul {
margin: 0px 0px 10px 10px;
}
.salesforce_app ul li span.a-key {
width: 120px;
display: inline-block;
}
.salesforce_app ul li span.a-value {
width: 180px;
display: inline-block;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment