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

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

mainmenu.php tweaked for usability. When not logged in, the user gets redirected to index.php

File size: 4.8 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
[58]100
[11]101/* ##################################################################
102   ===================== STYLESHEET OF GLORY ======================== */
[10]103
[11]104#surveyCreation {
105    min-height: 10em;
[51]106    background-color: #f2f1f1;
[11]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
[24]115#surveyHead {
116    position: relative;
117    width: 100%;
118}
119
[11]120#surveyTitle {
[25]121    width: 17em;
[11]122    font-size: large;
123    color: gray;
124}
125
126#surveyTitle:hover {
127    color: black;
128}
129
130#surveyDescription {
131    display: block;
[50]132    width: 30em;
133    max-width: 30em;
[11]134    font-family: sans-serif;
135    color: gray;
136}
137
[24]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
[11]154#surveyDescription:hover {
155    color: black;
156}
157
[50]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
[17]169#questionsDiv {
170    margin-top: 2em;
171}
172
[23]173.answersDiv {
174    margin-left: 0.5em;
175}
176
[11]177#submitSurvey {
178    display: block;
179    height: 3em;
180    width: 10em;
181    margin-top: 2em;
182}
[17]183
184#addQuestionButton {
[21]185    margin-top: 1em;
[17]186    width: 20em;
187}
188
189#addOpt {
190    margin-left: 1em;
191}
192
[21]193
[17]194.surveyButton {
[24]195    color: #888;
196    font-weight: bold;
[17]197    background-color: #fff;
[38]198    border: 1px solid #aaa;
[29]199    -moz-border-radius: 6px;
200    border-radius: 6px;
[17]201}
202
[36]203.bigSurveyButton {
204    margin-top: 1px;
205    height: 3em;
206    width: 12em;
207}
208
[17]209.surveyButton:hover {
210    background-color: white;
[24]211    color: #555;
[17]212    border-color: deepskyblue;
213}
214
215.surveyButton:active {
216    border-style: inset;
217    border-color: orange;
218}
219
220.question { 
[19]221    margin-top: 3em;
222    border-top: 1px solid #ddd;
[52]223    text-shadow: #fff 0px 0px 1px;
[17]224}
225
226.questionTable td{
227    width: 8em;
228}
229
230.questionTable th{
231    text-align: left;
232}
233
234label {
235    font-size: small;
236    font-weight: bold;
237    color: gray;
238}
[38]239
240
241
242/* ##################################################################
243   ===================== STYLESHEET OF GLORY ======================== */
244
[58]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;
[38]261    height: 10em;
[52]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 {
[53]280    margin: 1em auto;
[52]281    width: 30em;
282    text-align: center;
283    padding: 0 1em;
[53]284    font-size: small;
[52]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;
[53]301    margin: 0 .3em;
302    border: 1px solid #abadb3;
[52]303}
304
305.scaleLabel {
306    display: inline;
307    color: #333;
308}
309
310.questionDescription {
311    font-size: small;
[38]312}
Note: See TracBrowser for help on using the repository browser.