[249] | 1 | /* |
---|
| 2 | Document : style |
---|
| 3 | Created on : 12-jul-2011, 15:12:02 |
---|
| 4 | Author : fpvanagthoven |
---|
| 5 | Description: |
---|
| 6 | Purpose of the stylesheet follows. |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | /* |
---|
| 10 | TODO customize this sample style |
---|
| 11 | Syntax recommendation http://www.w3.org/TR/REC-CSS2/ |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | h1 { |
---|
| 15 | width: 100%; |
---|
| 16 | text-align: center; |
---|
| 17 | color: #333; |
---|
| 18 | text-shadow: #fff 0px 0px 10px; |
---|
| 19 | margin: 0 0 0.1em 0; |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | h2 { |
---|
| 23 | margin: 0; |
---|
| 24 | font-size: larger; |
---|
| 25 | color: #333; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | h3 { |
---|
| 29 | margin: 0; |
---|
| 30 | font-size: small; |
---|
| 31 | font-weight: normal; |
---|
| 32 | color: #333; |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | legend { |
---|
| 36 | padding-left: 0em; |
---|
| 37 | color: #888; |
---|
| 38 | text-shadow: #fff 0px 0px 1px; |
---|
| 39 | } |
---|
| 40 | |
---|
| 41 | fieldset { |
---|
| 42 | border: 1px solid #fff; |
---|
| 43 | background-color: #eee; |
---|
| 44 | -moz-border-radius: 15px; |
---|
| 45 | border-radius: 15px; |
---|
| 46 | margin-bottom: 2em; |
---|
| 47 | padding: 0 1em 1em 1em; |
---|
| 48 | -moz-box-shadow: 2px 2px 1px #888; |
---|
| 49 | -webkit-box-shadow: 2px 2px 1px #888; |
---|
| 50 | box-shadow: 2px 2px 1px #888; |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | root { |
---|
| 54 | display: block; |
---|
| 55 | } |
---|
| 56 | |
---|
| 57 | body { |
---|
| 58 | font-family: sans-serif; |
---|
| 59 | background-color: gainsboro; |
---|
| 60 | margin: 0; |
---|
| 61 | padding: 0; |
---|
| 62 | } |
---|
| 63 | |
---|
| 64 | #wrapper { |
---|
| 65 | width: 80%; |
---|
| 66 | min-width: 570px; |
---|
| 67 | margin: auto; |
---|
| 68 | } |
---|
| 69 | |
---|
| 70 | #header { |
---|
| 71 | height: 4em; |
---|
| 72 | background-color: slategray; |
---|
| 73 | } |
---|
| 74 | |
---|
| 75 | #logo{ |
---|
| 76 | font-size: 2em; |
---|
| 77 | font-weight: bold; |
---|
| 78 | color: white; |
---|
| 79 | text-align: center; |
---|
| 80 | line-height: 2em; |
---|
| 81 | text-shadow: #0e2933 0px 0px 5px; |
---|
| 82 | } |
---|
| 83 | |
---|
| 84 | #logo a { |
---|
| 85 | text-decoration: none; |
---|
| 86 | color: white; |
---|
| 87 | } |
---|
| 88 | |
---|
| 89 | #logo a:hover { |
---|
| 90 | text-decoration: underline; |
---|
| 91 | } |
---|
| 92 | |
---|
| 93 | #content { |
---|
| 94 | position: relative; |
---|
| 95 | width: 100%; |
---|
| 96 | padding: 2em 0; |
---|
| 97 | } |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | /* ################################################################## |
---|
| 102 | ===================== STYLESHEET OF GLORY ======================== */ |
---|
| 103 | |
---|
| 104 | #surveyCreation { |
---|
| 105 | min-height: 10em; |
---|
| 106 | background-color: #f2f1f1; |
---|
| 107 | -moz-border-radius: 15px; |
---|
| 108 | border-radius: 15px; |
---|
| 109 | -moz-box-shadow: 2px 2px 2px #888; |
---|
| 110 | -webkit-box-shadow: 2px 2px 2px #888; |
---|
| 111 | box-shadow: 2px 2px 2px #888; |
---|
| 112 | padding: 2em; |
---|
| 113 | } |
---|
| 114 | |
---|
| 115 | #surveyHead { |
---|
| 116 | position: relative; |
---|
| 117 | width: 100%; |
---|
| 118 | } |
---|
| 119 | |
---|
| 120 | #surveyTitle { |
---|
| 121 | width: 17em; |
---|
| 122 | font-size: large; |
---|
| 123 | color: gray; |
---|
| 124 | } |
---|
| 125 | |
---|
| 126 | #surveyTitle:hover { |
---|
| 127 | color: black; |
---|
| 128 | } |
---|
| 129 | |
---|
| 130 | #surveyDescription { |
---|
| 131 | display: block; |
---|
| 132 | width: 30em; |
---|
| 133 | max-width: 30em; |
---|
| 134 | font-family: sans-serif; |
---|
| 135 | color: gray; |
---|
| 136 | } |
---|
| 137 | |
---|
| 138 | #timeStamp { |
---|
| 139 | position: absolute; |
---|
| 140 | color: gray; |
---|
| 141 | font-size: small; |
---|
| 142 | right: 6em; |
---|
| 143 | top: 0; |
---|
| 144 | line-height: 2.3em; |
---|
| 145 | } |
---|
| 146 | |
---|
| 147 | #surveySaveButton { |
---|
| 148 | position: absolute; |
---|
| 149 | top: 0; |
---|
| 150 | right: 0; |
---|
| 151 | width: 5em; |
---|
| 152 | } |
---|
| 153 | |
---|
| 154 | #surveyDescription:hover { |
---|
| 155 | color: black; |
---|
| 156 | } |
---|
| 157 | |
---|
| 158 | #surveyLink { |
---|
| 159 | position: absolute; |
---|
| 160 | top: -2em; |
---|
| 161 | right: 0; |
---|
| 162 | font-size: x-small; |
---|
| 163 | color: gray; |
---|
| 164 | width: 30em; |
---|
| 165 | border-color: transparent; |
---|
| 166 | background-color: transparent; |
---|
| 167 | } |
---|
| 168 | |
---|
| 169 | #questionsDiv { |
---|
| 170 | margin-top: 2em; |
---|
| 171 | } |
---|
| 172 | |
---|
| 173 | .answersDiv { |
---|
| 174 | margin-left: 0.5em; |
---|
| 175 | } |
---|
| 176 | |
---|
| 177 | #submitSurvey { |
---|
| 178 | display: block; |
---|
| 179 | height: 3em; |
---|
| 180 | width: 10em; |
---|
| 181 | margin-top: 2em; |
---|
| 182 | } |
---|
| 183 | |
---|
| 184 | #addQuestionButton { |
---|
| 185 | margin-top: 1em; |
---|
| 186 | width: 20em; |
---|
| 187 | } |
---|
| 188 | |
---|
| 189 | #addOpt { |
---|
| 190 | margin-left: 1em; |
---|
| 191 | } |
---|
| 192 | |
---|
| 193 | |
---|
| 194 | .surveyButton { |
---|
| 195 | color: #888; |
---|
| 196 | font-weight: bold; |
---|
| 197 | background-color: #fff; |
---|
| 198 | border: 1px solid #aaa; |
---|
| 199 | -moz-border-radius: 6px; |
---|
| 200 | border-radius: 6px; |
---|
| 201 | } |
---|
| 202 | |
---|
| 203 | .bigSurveyButton { |
---|
| 204 | margin-top: 1px; |
---|
| 205 | height: 3em; |
---|
| 206 | width: 12em; |
---|
| 207 | } |
---|
| 208 | |
---|
| 209 | .surveyButton:hover { |
---|
| 210 | background-color: white; |
---|
| 211 | color: #555; |
---|
| 212 | border-color: deepskyblue; |
---|
| 213 | } |
---|
| 214 | |
---|
| 215 | .surveyButton:active { |
---|
| 216 | border-style: inset; |
---|
| 217 | border-color: orange; |
---|
| 218 | } |
---|
| 219 | |
---|
| 220 | .question { |
---|
| 221 | margin-top: 3em; |
---|
| 222 | border-top: 1px solid #ddd; |
---|
| 223 | text-shadow: #fff 0px 0px 1px; |
---|
| 224 | } |
---|
| 225 | |
---|
| 226 | .questionTable td{ |
---|
| 227 | width: 8em; |
---|
| 228 | } |
---|
| 229 | |
---|
| 230 | .questionTable th{ |
---|
| 231 | text-align: left; |
---|
| 232 | } |
---|
| 233 | |
---|
| 234 | label { |
---|
| 235 | font-size: small; |
---|
| 236 | font-weight: bold; |
---|
| 237 | color: gray; |
---|
| 238 | } |
---|
| 239 | |
---|
| 240 | |
---|
| 241 | |
---|
| 242 | /* ################################################################## |
---|
| 243 | ===================== STYLESHEET OF GLORY ======================== */ |
---|
| 244 | |
---|
| 245 | .menu { |
---|
| 246 | width: 30em; |
---|
| 247 | margin: 1em auto 0 auto; |
---|
| 248 | padding: 2em; |
---|
| 249 | text-align: center; |
---|
| 250 | background-color: #E3E3E3; |
---|
| 251 | -moz-border-radius: 15px; |
---|
| 252 | border-radius: 15px; |
---|
| 253 | } |
---|
| 254 | |
---|
| 255 | .menuButtons { |
---|
| 256 | float: left; |
---|
| 257 | } |
---|
| 258 | |
---|
| 259 | .toLoad { |
---|
| 260 | width: 23em; |
---|
| 261 | height: 10em; |
---|
| 262 | } |
---|
| 263 | |
---|
| 264 | /* ################################################################## |
---|
| 265 | ===================== STYLESHEET OF GLORY ======================== */ |
---|
| 266 | |
---|
| 267 | .topMargin { |
---|
| 268 | margin-top: 2em; |
---|
| 269 | } |
---|
| 270 | |
---|
| 271 | .leftPadding { |
---|
| 272 | padding-left: 2em; |
---|
| 273 | } |
---|
| 274 | |
---|
| 275 | .noPadding { |
---|
| 276 | padding: 0; |
---|
| 277 | } |
---|
| 278 | |
---|
| 279 | .centerBoxed { |
---|
| 280 | margin: 1em auto; |
---|
| 281 | width: 30em; |
---|
| 282 | text-align: center; |
---|
| 283 | padding: 0 1em; |
---|
| 284 | font-size: small; |
---|
| 285 | /* border: 1px solid gray;*/ |
---|
| 286 | } |
---|
| 287 | |
---|
| 288 | /* ################################################################## |
---|
| 289 | ===================== STYLESHEET OF GLORY ======================== */ |
---|
| 290 | |
---|
| 291 | .answerBox { |
---|
| 292 | padding-left: 1em; |
---|
| 293 | } |
---|
| 294 | |
---|
| 295 | .textBox { |
---|
| 296 | width: 20em; |
---|
| 297 | } |
---|
| 298 | |
---|
| 299 | .intBox { |
---|
| 300 | width: 5em; |
---|
| 301 | margin: 0 .3em; |
---|
| 302 | border: 1px solid #abadb3; |
---|
| 303 | } |
---|
| 304 | |
---|
| 305 | .scaleLabel { |
---|
| 306 | display: inline; |
---|
| 307 | color: #333; |
---|
| 308 | } |
---|
| 309 | |
---|
| 310 | .questionDescription { |
---|
| 311 | font-size: small; |
---|
| 312 | } |
---|