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

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

Start on survey page. There's something weird in surveycreationtool though. Should fix that.

File size: 3.3 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
14h3 {
15    margin: 0;
16    font-size: small;
17    font-weight: normal;
18    color: #333;
19}
20
21root {
22    display: block;
23}
24
25body {
26    font-family: sans-serif;
27    background-color: gainsboro;
28    margin: 0;
29    padding: 0;
30}
31
32#wrapper {
33    width: 80%;
34    min-width: 570px;
35    margin: auto;
36}
37
38#header {
39    height: 4em;
40    background-color: slategrey;
41}
42
43#logo{
44    font-size: 2em;
45    font-weight: bold;
46    color: white;
47    text-align: center;
48    line-height: 2em;
49    text-shadow: 2px 2px 2px black;
50}
51
52#logo a {
53    text-decoration: none;
54    color: white;
55}
56
57#logo a:hover {
58    text-decoration: underline;
59}
60
61#content {
62    position: relative;
63    width: 100%;
64    padding: 2em 0;
65}
66
67#menu {
68    width: 20em;
69    margin: auto;
70    padding: 3em;
71    text-align: center;
72    background-color: #E3E3E3;
73    -moz-border-radius: 15px;
74    border-radius: 15px;
75}
76
77/* ##################################################################
78   ===================== STYLESHEET OF GLORY ======================== */
79
80#surveyCreation {
81    min-height: 10em;
82    background-color: #f2f1f1;
83    -moz-border-radius: 15px;
84    border-radius: 15px;
85    -moz-box-shadow: 2px 2px 2px #888;
86    -webkit-box-shadow: 2px 2px 2px #888;
87    box-shadow: 2px 2px 2px #888;
88    padding: 2em;
89}
90
91#surveyHead {
92    position: relative;
93    width: 100%;
94}
95
96#surveyTitle {
97    width: 17em;
98    font-size: large;
99    color: gray;
100}
101
102#surveyTitle:hover {
103    color: black;
104}
105
106#surveyDescription {
107    display: block;
108    width: 30em;
109    max-width: 30em;
110    font-family: sans-serif;
111    color: gray;
112}
113
114#timeStamp {
115    position: absolute;
116    color: gray;
117    font-size: small;
118    right: 6em;
119    top: 0;
120    line-height: 2.3em;
121}
122
123#surveySaveButton {
124    position: absolute;
125    top: 0;
126    right: 0;
127    width: 5em;
128}
129
130#surveyDescription:hover {
131    color: black;
132}
133
134#surveyLink {
135    position: absolute;
136    top: -2em;
137    right: 0;
138    font-size: x-small;
139    color: gray;
140    width: 30em;
141    border-color: transparent;
142    background-color: transparent;
143}
144
145#questionsDiv {
146    margin-top: 2em;
147}
148
149.answersDiv {
150    margin-left: 0.5em;
151}
152
153#submitSurvey {
154    display: block;
155    height: 3em;
156    width: 10em;
157    margin-top: 2em;
158}
159
160#addQuestionButton {
161    margin-top: 1em;
162    width: 20em;
163}
164
165#addOpt {
166    margin-left: 1em;
167}
168
169
170.surveyButton {
171    color: #888;
172    font-weight: bold;
173    background-color: #fff;
174    border: 1px solid #aaa;
175    -moz-border-radius: 6px;
176    border-radius: 6px;
177}
178
179.bigSurveyButton {
180    margin-top: 1px;
181    height: 3em;
182    width: 12em;
183}
184
185.surveyButton:hover {
186    background-color: white;
187    color: #555;
188    border-color: deepskyblue;
189}
190
191.surveyButton:active {
192    border-style: inset;
193    border-color: orange;
194}
195
196.question { 
197    margin-top: 3em;
198    border-top: 1px solid #ddd;
199}
200
201.questionTable td{
202    width: 8em;
203}
204
205.questionTable th{
206    text-align: left;
207}
208
209label {
210    font-size: small;
211    font-weight: bold;
212    color: gray;
213}
214
215
216
217/* ##################################################################
218   ===================== STYLESHEET OF GLORY ======================== */
219
220#surveysToLoad {
221    width: 20em;
222    height: 10em;
223}
Note: See TracBrowser for help on using the repository browser.