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