Skip to content

Instantly share code, notes, and snippets.

@techsin
Created May 19, 2016 15:40
Show Gist options
  • Save techsin/8bce034406892065b1d82263ed9f57b6 to your computer and use it in GitHub Desktop.
Save techsin/8bce034406892065b1d82263ed9f57b6 to your computer and use it in GitHub Desktop.
Survey Widget
#survey > div.header.ct-header-color {
position: relative;
width: 500px;
margin: auto;
display: block;
background-color: #DE1F26!important;
overflow:autop;
border: none;
}
#survey > div.header.ct-header-color h3 {
padding: 0;
margin:0;
display: block;
padding: 10px;
}
.widget .header h3 {
color: white!important;
}
.widget .container {
background-color: #F7F7F7;
width: 500px;
margin:auto;
padding: 30px;
border: 1px solid #DE1F26;
border-top: none;
}
#survey .submit-container button {
color:white!important;
background-color: #DE1F26!important;
border:none;
height: 50px;
width: 200px;
display: block;
margin: auto;
float: none;
position: relative;
opacity: 1;
}
#survey .submit-container button:hover {
color:black!important;
background-color: gold!important;
cursor:pointer;
}
#survey .submit-container {
float:none;
text-align: center;
}
#survey .submit-container .points p {
position:relative;
background-color: gold;
color: black!important;
padding: 9px;
border-radius: 4px;
margin-bottom: 15px;
}
#survey .submit-container .points p::after {
position: absolute;
border: 4px solid transparent;
content: '';
border-top-color: gold;
top: 100%;
left: 50%;
z-index: 300;
transform: translateX(-50%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment