source:
Dev/trunk/css/style.css
@
50
Last change on this file since 50 was 50, checked in by fpvanagthoven, 14 years ago | |
---|---|
File size: 3.3 KB |
Rev | Line | |
---|---|---|
[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 | ||
[48] | 14 | h3 { |
15 | margin: 0; | |
16 | font-size: small; | |
17 | font-weight: normal; | |
18 | color: #333; | |
19 | } | |
20 | ||
[10] | 21 | root { |
22 | display: block; | |
23 | } | |
24 | ||
25 | body { | |
26 | font-family: sans-serif; | |
27 | background-color: gainsboro; | |
28 | margin: 0; | |
29 | padding: 0; | |
30 | } | |
31 | ||
32 | #wrapper { | |
33 | width: 80%; | |
[17] | 34 | min-width: 570px; |
[10] | 35 | margin: auto; |
36 | } | |
37 | ||
38 | #header { | |
39 | height: 4em; | |
40 | background-color: slategrey; | |
41 | } | |
42 | ||
[41] | 43 | #logo{ |
[10] | 44 | font-size: 2em; |
[11] | 45 | font-weight: bold; |
[10] | 46 | color: white; |
47 | text-align: center; | |
48 | line-height: 2em; | |
[11] | 49 | text-shadow: 2px 2px 2px black; |
[10] | 50 | } |
51 | ||
[41] | 52 | #logo a { |
53 | text-decoration: none; | |
54 | color: white; | |
55 | } | |
56 | ||
57 | #logo a:hover { | |
58 | text-decoration: underline; | |
59 | } | |
60 | ||
[10] | 61 | #content { |
62 | position: relative; | |
63 | width: 100%; | |
[11] | 64 | padding: 2em 0; |
[10] | 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 | ||
[11] | 77 | /* ################################################################## |
78 | ===================== STYLESHEET OF GLORY ======================== */ | |
[10] | 79 | |
[11] | 80 | #surveyCreation { |
81 | min-height: 10em; | |
82 | background-color: #eee; | |
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 | ||
[24] | 91 | #surveyHead { |
92 | position: relative; | |
93 | width: 100%; | |
94 | } | |
95 | ||
[11] | 96 | #surveyTitle { |
[25] | 97 | width: 17em; |
[11] | 98 | font-size: large; |
99 | color: gray; | |
100 | } | |
101 | ||
102 | #surveyTitle:hover { | |
103 | color: black; | |
104 | } | |
105 | ||
106 | #surveyDescription { | |
107 | display: block; | |
[50] | 108 | width: 30em; |
109 | max-width: 30em; | |
[11] | 110 | font-family: sans-serif; |
111 | color: gray; | |
112 | } | |
113 | ||
[24] | 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 | ||
[11] | 130 | #surveyDescription:hover { |
131 | color: black; | |
132 | } | |
133 | ||
[50] | 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 | ||
[17] | 145 | #questionsDiv { |
146 | margin-top: 2em; | |
147 | } | |
148 | ||
[23] | 149 | .answersDiv { |
150 | margin-left: 0.5em; | |
151 | } | |
152 | ||
[11] | 153 | #submitSurvey { |
154 | display: block; | |
155 | height: 3em; | |
156 | width: 10em; | |
157 | margin-top: 2em; | |
158 | } | |
[17] | 159 | |
160 | #addQuestionButton { | |
[21] | 161 | margin-top: 1em; |
[17] | 162 | width: 20em; |
163 | } | |
164 | ||
165 | #addOpt { | |
166 | margin-left: 1em; | |
167 | } | |
168 | ||
[21] | 169 | |
[17] | 170 | .surveyButton { |
[24] | 171 | color: #888; |
172 | font-weight: bold; | |
[17] | 173 | background-color: #fff; |
[38] | 174 | border: 1px solid #aaa; |
[29] | 175 | -moz-border-radius: 6px; |
176 | border-radius: 6px; | |
[17] | 177 | } |
178 | ||
[36] | 179 | .bigSurveyButton { |
180 | margin-top: 1px; | |
181 | height: 3em; | |
182 | width: 12em; | |
183 | } | |
184 | ||
[17] | 185 | .surveyButton:hover { |
186 | background-color: white; | |
[24] | 187 | color: #555; |
[17] | 188 | border-color: deepskyblue; |
189 | } | |
190 | ||
191 | .surveyButton:active { | |
192 | border-style: inset; | |
193 | border-color: orange; | |
194 | } | |
195 | ||
196 | .question { | |
[19] | 197 | margin-top: 3em; |
198 | border-top: 1px solid #ddd; | |
[17] | 199 | } |
200 | ||
201 | .questionTable td{ | |
202 | width: 8em; | |
203 | } | |
204 | ||
205 | .questionTable th{ | |
206 | text-align: left; | |
207 | } | |
208 | ||
209 | label { | |
210 | font-size: small; | |
211 | font-weight: bold; | |
212 | color: gray; | |
213 | } | |
[38] | 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.