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
Line 
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
14h1 {
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
22h2 {
23    margin: 0;
24    font-size: larger;
25    color: #333;
26}
27
28h3 {
29    margin: 0;
30    font-size: small;
31    font-weight: normal;
32    color: #333;
33}
34
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
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%;
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#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
109/* ##################################################################
110   ===================== STYLESHEET OF GLORY ======================== */
111
112#surveyCreation {
113    min-height: 10em;
114    background-color: #f2f1f1;
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
123#surveyHead {
124    position: relative;
125    width: 100%;
126}
127
128#surveyTitle {
129    width: 17em;
130    font-size: large;
131    color: gray;
132}
133
134#surveyTitle:hover {
135    color: black;
136}
137
138#surveyDescription {
139    display: block;
140    width: 30em;
141    max-width: 30em;
142    font-family: sans-serif;
143    color: gray;
144}
145
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
162#surveyDescription:hover {
163    color: black;
164}
165
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
177#questionsDiv {
178    margin-top: 2em;
179}
180
181.answersDiv {
182    margin-left: 0.5em;
183}
184
185#submitSurvey {
186    display: block;
187    height: 3em;
188    width: 10em;
189    margin-top: 2em;
190}
191
192#addQuestionButton {
193    margin-top: 1em;
194    width: 20em;
195}
196
197#addOpt {
198    margin-left: 1em;
199}
200
201
202.surveyButton {
203    color: #888;
204    font-weight: bold;
205    background-color: #fff;
206    border: 1px solid #aaa;
207    -moz-border-radius: 6px;
208    border-radius: 6px;
209}
210
211.bigSurveyButton {
212    margin-top: 1px;
213    height: 3em;
214    width: 12em;
215}
216
217.surveyButton:hover {
218    background-color: white;
219    color: #555;
220    border-color: deepskyblue;
221}
222
223.surveyButton:active {
224    border-style: inset;
225    border-color: orange;
226}
227
228.question { 
229    margin-top: 3em;
230    border-top: 1px solid #ddd;
231    text-shadow: #fff 0px 0px 1px;
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}
247
248
249
250/* ##################################################################
251   ===================== STYLESHEET OF GLORY ======================== */
252
253#surveysToLoad {
254    width: 20em;
255    height: 10em;
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 {
274    margin: 1em auto;
275    width: 30em;
276    text-align: center;
277    padding: 0 1em;
278    font-size: small;
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;
295    margin: 0 .3em;
296    border: 1px solid #abadb3;
297}
298
299.scaleLabel {
300    display: inline;
301    color: #333;
302}
303
304.questionDescription {
305    font-size: small;
306}
Note: See TracBrowser for help on using the repository browser.