[177] | 1 | /* |
---|
| 2 | Document : visualeditors |
---|
| 3 | Created on : 6-dec-2011, 13:43:58 |
---|
| 4 | Author : Thijs Schipper |
---|
| 5 | Description: Attempt at a new -organized- stylesheet |
---|
| 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 | root { |
---|
| 15 | display: block; |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | html { |
---|
| 19 | background-image: url('../images/bg/blueishgridblock.png'); |
---|
| 20 | height: 100%; |
---|
| 21 | font-size: 12px; |
---|
| 22 | font-family: sans-serif; |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | #wrapper { |
---|
| 26 | width: 80%; |
---|
| 27 | min-width: 800px; |
---|
| 28 | margin: 0 auto; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | #content { |
---|
| 32 | width: 100%; |
---|
| 33 | position: relative; |
---|
| 34 | padding: 2em 0; |
---|
| 35 | } |
---|
| 36 | |
---|
[184] | 37 | /************************/ |
---|
| 38 | /* STANDARD UI ELEMENTS */ |
---|
| 39 | /************************/ |
---|
| 40 | |
---|
[177] | 41 | .largeFrame { |
---|
| 42 | width: auto; |
---|
| 43 | padding: 0 1em; |
---|
| 44 | float: left; |
---|
| 45 | clear: both; |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | -moz-box-shadow: 2px 2px 1px #888; |
---|
| 49 | -webkit-box-shadow: 2px 2px 1px #888; |
---|
| 50 | box-shadow: 2px 2px 1px #888; |
---|
| 51 | background-image: linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 52 | background-image: -o-linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 53 | background-image: -moz-linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 54 | background-image: -webkit-linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 55 | background-image: -ms-linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 56 | |
---|
| 57 | background-image: -webkit-gradient( |
---|
| 58 | linear, |
---|
| 59 | left top, |
---|
| 60 | left bottom, |
---|
| 61 | color-stop(0.21, #B0B0B0), |
---|
| 62 | color-stop(0.8, #888888) |
---|
| 63 | ); |
---|
| 64 | background-position: bottom; |
---|
| 65 | background-repeat: repeat-x; |
---|
| 66 | border: 1px solid #FFF; |
---|
| 67 | border-radius: 1em; |
---|
| 68 | -moz-border-radius: 1em; |
---|
| 69 | } |
---|
| 70 | |
---|
| 71 | .innerLargeFrame { |
---|
| 72 | width: auto; |
---|
| 73 | max-height: 300px; |
---|
| 74 | padding: 1em 1em; |
---|
| 75 | border: 1px solid #FFF; |
---|
| 76 | border-radius: 0.5em; |
---|
| 77 | -maz-border-radius: 0.5em; |
---|
| 78 | float: left; |
---|
| 79 | clear: both; |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | background-image: linear-gradient(bottom, #B0B0B0 21%, #888888 80%); |
---|
| 83 | background-image: -o-linear-gradient(bottom, #B0B0B0 21%, #888888 80%); |
---|
| 84 | background-image: -moz-linear-gradient(tbottomop, #B0B0B0 21%, #888888 80%); |
---|
| 85 | background-image: -webkit-linear-gradient(bottom, #B0B0B0 21%, #888888 80%); |
---|
| 86 | background-image: -ms-linear-gradient(bottom, #B0B0B0 21%, #888888 80%); |
---|
| 87 | background-image: -webkit-gradient( |
---|
| 88 | linear, |
---|
| 89 | left bottom, |
---|
| 90 | left top, |
---|
| 91 | color-stop(0.21, #B0B0B0), |
---|
| 92 | color-stop(0.8, #888888) |
---|
| 93 | ); |
---|
| 94 | background-position: bottom; |
---|
| 95 | background-repeat: repeat-x; |
---|
| 96 | } |
---|
| 97 | |
---|
[184] | 98 | .innerLargeFrame.horizontal { |
---|
| 99 | height: auto; |
---|
| 100 | overflow-x: auto; |
---|
| 101 | overflow-y: hidden; |
---|
| 102 | } |
---|
| 103 | |
---|
| 104 | .innerLargeFrame.vertical { |
---|
| 105 | overflow-x: hidden; |
---|
| 106 | overflow-y: auto; |
---|
| 107 | max-height: none; |
---|
| 108 | } |
---|
| 109 | |
---|
[177] | 110 | .smallFrame { |
---|
| 111 | margin: 0.5em auto; |
---|
| 112 | float: left; |
---|
| 113 | clear: both; |
---|
| 114 | background-color: #555; |
---|
| 115 | -moz-box-shadow: 2px 2px 1px #888; |
---|
| 116 | -webkit-box-shadow: 2px 2px 1px #888; |
---|
| 117 | box-shadow: 2px 2px 1px #888; |
---|
| 118 | border: 1px solid #FFF; |
---|
[191] | 119 | margin: 0; |
---|
[177] | 120 | } |
---|
| 121 | |
---|
| 122 | .smallFrame .content { |
---|
| 123 | width: 600px; |
---|
| 124 | float: left; |
---|
| 125 | clear: left; |
---|
| 126 | padding: 0.25em 1em; |
---|
| 127 | |
---|
| 128 | background-image: linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 129 | background-image: -o-linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 130 | background-image: -moz-linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 131 | background-image: -webkit-linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 132 | background-image: -ms-linear-gradient(top, #B0B0B0 21%, #888888 80%); |
---|
| 133 | background-image: -webkit-gradient( |
---|
| 134 | linear, |
---|
| 135 | left bottom, |
---|
| 136 | left top, |
---|
| 137 | color-stop(0.21, #B0B0B0), |
---|
| 138 | color-stop(0.8, #888888) |
---|
| 139 | ); |
---|
| 140 | background-position: bottom; |
---|
| 141 | background-repeat: repeat-x; |
---|
| 142 | } |
---|
| 143 | |
---|
[188] | 144 | .smallFrame.selected { |
---|
| 145 | background-color: #777777; |
---|
| 146 | border-color:#000; |
---|
[185] | 147 | } |
---|
| 148 | |
---|
[177] | 149 | .largeTitle { |
---|
| 150 | width: auto; |
---|
| 151 | padding: 0.25em 1em; |
---|
| 152 | font-size: 1.5em; |
---|
| 153 | color: #FFF; |
---|
| 154 | float: left; |
---|
| 155 | text-shadow: #555 0px 0px 5px; |
---|
| 156 | } |
---|
| 157 | |
---|
| 158 | .smallTitle { |
---|
[185] | 159 | background-color: transparent; |
---|
[177] | 160 | width: auto; |
---|
| 161 | min-height: 1.5em; |
---|
| 162 | padding: 0.25em 1em; |
---|
| 163 | font-size: 1.25em; |
---|
| 164 | color: #FFF; |
---|
| 165 | float: left; |
---|
| 166 | } |
---|
| 167 | |
---|
| 168 | .smallTitle .listNumber { |
---|
| 169 | float: left; |
---|
| 170 | color: #CCFFFF; |
---|
| 171 | font-size: 2em; |
---|
| 172 | } |
---|
| 173 | |
---|
| 174 | .controls { |
---|
| 175 | clear: both; |
---|
| 176 | text-align: right; |
---|
| 177 | float: right; |
---|
| 178 | min-height: 2.5em; |
---|
| 179 | } |
---|
| 180 | |
---|
| 181 | .bigButton { |
---|
| 182 | padding:0.25em; |
---|
| 183 | margin: 0.25em; |
---|
| 184 | border: 1px solid #555; |
---|
[178] | 185 | border-radius: 0.25em; |
---|
| 186 | -moz-border-radius: 0.25em; |
---|
[177] | 187 | background-color: transparent; |
---|
[182] | 188 | -webkit-user-select: none; |
---|
| 189 | -khtml-user-select: none; |
---|
| 190 | -moz-user-select: none; |
---|
| 191 | -o-user-select: none; |
---|
| 192 | user-select: none; |
---|
[177] | 193 | } |
---|
| 194 | |
---|
[185] | 195 | .bigButton.vertical { |
---|
| 196 | width: 2em; |
---|
| 197 | height: 2em; |
---|
| 198 | font-size: 20px; |
---|
| 199 | font-weight: bold; |
---|
| 200 | color: #555; |
---|
| 201 | float: left; |
---|
| 202 | clear: both; |
---|
| 203 | border: 1px solid #555; |
---|
| 204 | border-radius: 0.25em; |
---|
| 205 | -moz-border-radius: 0.25em; |
---|
| 206 | background-color: transparent; |
---|
| 207 | -webkit-user-select: none; |
---|
| 208 | -khtml-user-select: none; |
---|
| 209 | -moz-user-select: none; |
---|
| 210 | -o-user-select: none; |
---|
| 211 | user-select: none; |
---|
| 212 | cursor: default; |
---|
| 213 | } |
---|
| 214 | |
---|
[177] | 215 | .bigButton:hover { |
---|
| 216 | border-color: #1c94c4; |
---|
| 217 | background-color: #ddd; |
---|
| 218 | } |
---|
| 219 | |
---|
| 220 | .bigButton .buttonIcon { |
---|
[184] | 221 | |
---|
[177] | 222 | } |
---|
| 223 | |
---|
| 224 | .smallButton { |
---|
| 225 | margin: 0.5em 0.25em; |
---|
| 226 | padding: 0.25em 0.5em; |
---|
| 227 | color: #555; |
---|
| 228 | font-weight: bold; |
---|
| 229 | border: 1px solid #555; |
---|
| 230 | border-radius: 0.25em; |
---|
| 231 | -moz-border-radius: 0,25em; |
---|
| 232 | background-color: transparent; |
---|
[182] | 233 | -webkit-user-select: none; |
---|
| 234 | -khtml-user-select: none; |
---|
| 235 | -moz-user-select: none; |
---|
| 236 | -o-user-select: none; |
---|
| 237 | user-select: none; |
---|
[184] | 238 | cursor: default; |
---|
[177] | 239 | } |
---|
| 240 | |
---|
| 241 | .smallFrame .smallButton { |
---|
| 242 | color: #ccc; |
---|
| 243 | border-color: #ccc; |
---|
| 244 | } |
---|
| 245 | |
---|
| 246 | .smallButton:hover { |
---|
| 247 | color: #000; |
---|
| 248 | background-color: #ddd; |
---|
| 249 | border-color: #1c94c4; |
---|
| 250 | } |
---|
| 251 | |
---|
[184] | 252 | |
---|
[177] | 253 | /****************************/ |
---|
| 254 | /* PIPELINE EDITOR SPECIFIC */ |
---|
| 255 | /****************************/ |
---|
| 256 | |
---|
| 257 | #seqContentWrapper { |
---|
| 258 | clear: none; |
---|
| 259 | float: left; |
---|
| 260 | margin-right: -32000px; |
---|
[184] | 261 | min-height: 9em; |
---|
[177] | 262 | } |
---|
| 263 | |
---|
[185] | 264 | #seqContentWrapper .divider.horizontal { |
---|
[177] | 265 | width: 10px; |
---|
| 266 | height: 50px; |
---|
| 267 | margin: 10px 15px 0 20px; |
---|
| 268 | background-image: url('../images/ui/sequencerDivider.png'); |
---|
| 269 | float: left; |
---|
| 270 | } |
---|
| 271 | |
---|
| 272 | .displayStep { |
---|
| 273 | width: 52px; |
---|
| 274 | padding: 0; |
---|
| 275 | margin-top: 10px; |
---|
| 276 | background-repeat: no-repeat; |
---|
| 277 | float: left; |
---|
| 278 | text-align: center; |
---|
| 279 | -webkit-user-select: none; |
---|
| 280 | -khtml-user-select: none; |
---|
| 281 | -moz-user-select: none; |
---|
| 282 | -o-user-select: none; |
---|
| 283 | user-select: none; |
---|
| 284 | } |
---|
| 285 | |
---|
[178] | 286 | .displayStep.selected .displayStepIcon{ |
---|
| 287 | background-color: #bbbbbb; |
---|
| 288 | /*-moz-box-shadow: 0 0 50px #FFF; |
---|
[177] | 289 | -webkit-box-shadow: 0 0 50px #FFF; |
---|
[178] | 290 | box-shadow: 0 0 50px #FFF;*/ |
---|
| 291 | border-color: #1c94c4; |
---|
[177] | 292 | |
---|
| 293 | } |
---|
| 294 | |
---|
| 295 | .displayStep .displayStepIcon { |
---|
| 296 | width: 50px; |
---|
| 297 | height: 50px; |
---|
[178] | 298 | border: 2px solid #555; |
---|
[177] | 299 | color: #FFF; |
---|
| 300 | } |
---|
| 301 | |
---|
| 302 | .displayStep p{ |
---|
| 303 | margin-top: 5px; |
---|
| 304 | font-weight: normal; |
---|
| 305 | font-size: 1em; |
---|
| 306 | } |
---|
| 307 | |
---|
| 308 | #toolbox { |
---|
| 309 | margin-top: 2em; |
---|
| 310 | } |
---|
| 311 | |
---|
| 312 | #toolbox .content { |
---|
| 313 | padding: 0.5em; |
---|
| 314 | } |
---|
| 315 | |
---|
| 316 | #toolbox .bigButton p { |
---|
| 317 | position: relative; |
---|
| 318 | top: -1.75em; |
---|
| 319 | margin-left: 0.5em; |
---|
| 320 | display: inline; |
---|
| 321 | } |
---|
| 322 | |
---|
[185] | 323 | .bigButton.toolbox { |
---|
| 324 | clear: both; |
---|
| 325 | } |
---|
| 326 | |
---|
[178] | 327 | #infoPanel { |
---|
| 328 | margin-top: 2em; |
---|
| 329 | margin-left: 2em; |
---|
| 330 | clear: right; |
---|
| 331 | } |
---|
| 332 | |
---|
| 333 | #infoPanel .content { |
---|
| 334 | clear: both; |
---|
| 335 | min-height: 10em; |
---|
| 336 | width: 30em; |
---|
| 337 | } |
---|
| 338 | |
---|
| 339 | .content .property { |
---|
| 340 | float: left; |
---|
| 341 | clear: left; |
---|
| 342 | font-weight: bold; |
---|
| 343 | width: 8em; |
---|
| 344 | color: #FFF; |
---|
| 345 | } |
---|
| 346 | |
---|
| 347 | .content .value { |
---|
| 348 | float: left; |
---|
| 349 | } |
---|
| 350 | |
---|
| 351 | /**************************/ |
---|
| 352 | /* Survey Editor Specific */ |
---|
| 353 | /**************************/ |
---|
| 354 | |
---|
| 355 | #surveyEditor { |
---|
| 356 | background-color: #0000FF; |
---|
[185] | 357 | } |
---|
| 358 | |
---|
| 359 | #seqContentWrapper .divider.vertical { |
---|
[191] | 360 | float: left; |
---|
| 361 | clear: both; |
---|
| 362 | height: 2px; |
---|
| 363 | width: 400px; |
---|
| 364 | background-color: #555; /* VIES MAGENTA! */ |
---|
| 365 | margin: 0.75em 100px; |
---|
[185] | 366 | } |
---|
| 367 | |
---|
| 368 | .questionBody { |
---|
| 369 | float: left; |
---|
| 370 | clear: left; |
---|
| 371 | margin: 1em 0; |
---|
| 372 | font-style: italic; |
---|
| 373 | } |
---|
| 374 | |
---|
| 375 | .questionParamsView { |
---|
| 376 | float: left; |
---|
| 377 | clear: left; |
---|
| 378 | border: 1px solid #555; |
---|
| 379 | padding: 0.5em; |
---|
| 380 | font-weight: bold; |
---|
| 381 | } |
---|
| 382 | |
---|
| 383 | #pageControls { |
---|
| 384 | float: left; |
---|
| 385 | margin: 5px 200px 0 0; |
---|
| 386 | } |
---|
| 387 | |
---|
| 388 | #pageControls .smallTextField { |
---|
| 389 | width: 1.5em; |
---|
| 390 | } |
---|
| 391 | |
---|
| 392 | .vertControls { |
---|
| 393 | text-align: center; |
---|
| 394 | display:block; |
---|
| 395 | float: left; |
---|
| 396 | clear: right; |
---|
| 397 | margin: 0 0 0 1em; |
---|
| 398 | } |
---|
| 399 | |
---|
| 400 | .vertControls .segment { |
---|
| 401 | margin: 1.25em -1px 0.25em -1px; |
---|
| 402 | border: 1px solid #555; |
---|
| 403 | clear: both; |
---|
| 404 | padding: 1px; |
---|
| 405 | float: left; |
---|
| 406 | border-radius: 5px; |
---|
| 407 | } |
---|
| 408 | |
---|
| 409 | .vertControls label { |
---|
| 410 | width: 100%; |
---|
| 411 | float: left; |
---|
| 412 | clear: both; |
---|
| 413 | font-size: 12px; |
---|
| 414 | text-align: center; |
---|
| 415 | margin: -1.25em 0 0; |
---|
| 416 | color: #555; |
---|
| 417 | font-weight: bold; |
---|
| 418 | } |
---|
| 419 | |
---|
[191] | 420 | .smallFrame .smallButton { |
---|
| 421 | width:55px; |
---|
| 422 | } |
---|
| 423 | |
---|
[218] | 424 | /****************************/ |
---|
| 425 | /* Question editor specific */ |
---|
| 426 | /****************************/ |
---|
| 427 | |
---|
| 428 | .questionParamField { |
---|
| 429 | float: left; |
---|
| 430 | } |
---|
| 431 | |
---|
| 432 | .questionParamLabel { |
---|
| 433 | float: left; |
---|
| 434 | width: 100px; |
---|
| 435 | } |
---|
| 436 | |
---|
| 437 | .questionParamLabel.lAlign { |
---|
| 438 | clear: left; |
---|
| 439 | } |
---|
| 440 | |
---|
| 441 | .questionParamLabel.rAlign { |
---|
| 442 | clear: right; |
---|
| 443 | } |
---|
| 444 | |
---|
| 445 | .qBodyTextField { |
---|
| 446 | resize: none; |
---|
| 447 | width: 595px; |
---|
| 448 | } |
---|