source: Dev/trunk/css/style.css @ 53

Last change on this file since 53 was 53, checked in by fpvanagthoven, 14 years ago

Inputchecking for integers.

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