Below is the CSS for a responsive template in SelectSurvey version 4.0:
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
<style type=""text/css"">
html {
height: 100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background: #517ebe;
background-repeat:no-repeat;
background: -webkit-linear-gradient( to left top, #00b4c8, #517ebe);
background: -moz-linear-gradient( to left top, #00b4c8, #517ebe);
background: -ms-linear-gradient( to left top, #00b4c8, #517ebe);
background: -o-linear-gradient( to left top, #00b4c8, #517ebe);
background: linear-gradient( to left top, #00b4c8, #517ebe);
}
.SurveyName {font-family: 'Open Sans', sans-serif; font-weight: 700;}
.SurveyName{visibility:hidden;}
.SurveyBodyStyle /*style on survey body tag*/{
height: 100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background: #517ebe;
background-repeat:no-repeat;
background: -webkit-linear-gradient( to left top, #00b4c8, #517ebe);
background: -moz-linear-gradient( to left top, #00b4c8, #517ebe);
background: -ms-linear-gradient( to left top, #00b4c8, #517ebe);
background: -o-linear-gradient( to left top, #00b4c8, #517ebe);
background: linear-gradient( to left top, #00b4c8, #517ebe);
}
.SurveyBorder,
table[style$="#ffffff"] /*border width and style of box that goes around survey page*/{
overflow-x: hidden;
/* Rounded Corners */
-moz-border-radius: 15px;
border-radius: 15px;
/* Box Shadow */
-moz-box-shadow: 1px 1px 10px 5px #444;
-webkit-box-shadow: 1px 1px 10px 5px #444;
box-shadow: 1px 1px 10px 5px #444;
}
table[style$="#ffffff"] {background:url(/uploads/images/mushroom.jpg);}
.SurveyColor /*color of background box of survey within the survey border*/{
overflow: hidden;
-moz-border-radius: 15px;
border-radius: 15px;
}
table[style$="#f5f2ed"] {
overflow: hidden;
border: solid #f5f2ed 1px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
}
table[style$="#f5f2ed"] span, table[style$="#f5f2ed"] p {
font-family: 'Gudea', sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 140%;
}
.button {
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
background-color:#ededed;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #dcdcdc;
display:inline-block;
color:#777777;
font-family:arial;
font-size:15px;
font-weight:bold;
padding:6px 24px;
text-decoration:none;
text-shadow:1px 1px 0px #ffffff;
}.button:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
background-color:#dfdfdf;
}.button:active {
position:relative;
top:1px;
}
/* settings for range slider */
input[type=range] {
-webkit-appearance: none;
width: 100%;
margin: 13.8px 0;
}
input[type=range]:focus {
outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 8.4px;
cursor: pointer;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
background: #3071a9;
border-radius: 1.3px;
border: 0.2px solid #010101;
}
input[type=range]::-webkit-slider-thumb {
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
border: 1px solid #000000;
height: 36px;
width: 16px;
border-radius: 3px;
background: #ffffff;
cursor: pointer;
-webkit-appearance: none;
margin-top: -14px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: #7eb0da;
}
input[type=range]::-moz-range-track {
width: 100%;
height: 8.4px;
cursor: pointer;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
background: #3071a9;
border-radius: 1.3px;
border: 0.2px solid #010101;
}
input[type=range]::-moz-range-thumb {
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
border: 1px solid #000000;
height: 36px;
width: 16px;
border-radius: 3px;
background: #ffffff;
cursor: pointer;
}
input[type=range]::-ms-track {
width: 100%;
height: 8.4px;
cursor: pointer;
background: transparent;
border-color: transparent;
color: transparent;
}
input[type=range]::-ms-fill-lower {
background: #142f46;
border: 0.2px solid #010101;
border-radius: 2.6px;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-fill-upper {
background: #3071a9;
border: 0.2px solid #010101;
border-radius: 2.6px;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-thumb {
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
border: 1px solid #000000;
height: 36px;
width: 16px;
border-radius: 3px;
background: #ffffff;
cursor: pointer;
height: 8.4px;
}
input[type=range]:focus::-ms-fill-lower {
background: #3071a9;
}
input[type=range]:focus::-ms-fill-upper {
background: #7eb0da;
}
/* style for matrix icons */
.icon-thread input[type='radio'] {opacity:0;position:absolute;cursor: pointer;width:100px;}
.icon-thread input[type='radio'] + label {cursor:pointer;display: inline-block;margin-left:-5px; }
.icon-thread input[type='radio']:checked + label{color:black;}
.icon-thread input[type='radio']:focus + label { color:orange;}
/*.icon-thread input[type='radio']:hover + label {color:pink;}*/
.icon-thread:hover {background-color:yellow; }
.red{color:red;}
.green{color:green;}
.blue{color:blue;}
/*settings for touch single choice buttons question type*/
.radio-toolbar input[type="radio"] {
display:none;
}
.radio-toolbar label {
width: 90%;
cursor:pointer;display: inline-block;margin-left:5px;
background: #3498db;
background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
background-image: -moz-linear-gradient(top, #3498db, #2980b9);
background-image: -ms-linear-gradient(top, #3498db, #2980b9);
background-image: -o-linear-gradient(top, #3498db, #2980b9);
background-image: linear-gradient(to bottom, #3498db, #2980b9);
-webkit-border-radius: 7;
-moz-border-radius: 7;
border-radius: 7px;
font-family: Arial;
color: #ffffff;
padding: 10px 20px 10px 20px;
text-decoration: none;
margin: 10px;
text-align: center;
}
.radio-toolbar input[type="radio"]:checked + label {
background: #3cb0fd;
background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
text-decoration: none;
}
/*settings for touch single choice buttons question type*/
.radio-toolbar input[type="radio"] {
display:none;
}
.radio-toolbar label {
width: 90%;
cursor:pointer;display: inline-block;margin-left:5px;
background: #3498db;
background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
background-image: -moz-linear-gradient(top, #3498db, #2980b9);
background-image: -ms-linear-gradient(top, #3498db, #2980b9);
background-image: -o-linear-gradient(top, #3498db, #2980b9);
background-image: linear-gradient(to bottom, #3498db, #2980b9);
-webkit-border-radius: 7;
-moz-border-radius: 7;
border-radius: 7px;
font-family: Arial;
color: #ffffff;
padding: 10px 20px 10px 20px;
text-decoration: none;
margin: 10px;
text-align: center;
}
.radio-toolbar input[type="radio"]:checked + label {
background: #3cb0fd;
background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
text-decoration: none;
}
@media only screen and (max-width: 500px) {
table {
width=100%;
}
.SurveyBorder {width=100%;}
.SurveyBodyStyle {width=100%;}
.SurveyOuterProgressBarTable {width=50%;}
.SurveyLogoBlockStyle {width=50%;}
.wrap {
width: auto;
}
}
</style>