source:
Dev/trunk/css/style.css
@
41
Last change on this file since 41 was 41, checked in by fpvanagthoven, 14 years ago | |
---|---|
File size: 3.1 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 | ||
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%; | |
[17] | 27 | min-width: 570px; |
[10] | 28 | margin: auto; |
29 | } | |
30 | ||
31 | #header { | |
32 | height: 4em; | |
33 | background-color: slategrey; | |
34 | } | |
35 | ||
[41] | 36 | #logo{ |
[10] | 37 | font-size: 2em; |
[11] | 38 | font-weight: bold; |
[10] | 39 | color: white; |
40 | text-align: center; | |
41 | line-height: 2em; | |
[11] | 42 | text-shadow: 2px 2px 2px black; |
[10] | 43 | } |
44 | ||
[41] | 45 | #logo a { |
46 | text-decoration: none; | |
47 | color: white; | |
48 | } | |
49 | ||
50 | #logo a:hover { | |
51 | text-decoration: underline; | |
52 | } | |
53 | ||
[10] | 54 | #content { |
55 | position: relative; | |
56 | width: 100%; | |
[11] | 57 | padding: 2em 0; |
[10] | 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 | ||
[11] | 70 | /* ################################################################## |
71 | ===================== STYLESHEET OF GLORY ======================== */ | |
[10] | 72 | |
[11] | 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 | ||
[24] | 84 | #surveyHead { |
85 | position: relative; | |
86 | width: 100%; | |
87 | } | |
88 | ||
[11] | 89 | #surveyTitle { |
[25] | 90 | width: 17em; |
[11] | 91 | font-size: large; |
92 | color: gray; | |
93 | } | |
94 | ||
95 | #surveyTitle:hover { | |
96 | color: black; | |
97 | } | |
98 | ||
99 | #surveyDescription { | |
100 | display: block; | |
[24] | 101 | width: 35em; |
102 | max-width: 35em; | |
[11] | 103 | font-family: sans-serif; |
104 | color: gray; | |
105 | } | |
106 | ||
[24] | 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 | ||
[11] | 123 | #surveyDescription:hover { |
124 | color: black; | |
125 | } | |
126 | ||
[17] | 127 | #questionsDiv { |
128 | margin-top: 2em; | |
129 | } | |
130 | ||
[23] | 131 | .answersDiv { |
132 | margin-left: 0.5em; | |
133 | } | |
134 | ||
[11] | 135 | #submitSurvey { |
136 | display: block; | |
137 | height: 3em; | |
138 | width: 10em; | |
139 | margin-top: 2em; | |
140 | } | |
[17] | 141 | |
142 | #addQuestionButton { | |
[21] | 143 | margin-top: 1em; |
[17] | 144 | width: 20em; |
145 | } | |
146 | ||
147 | #addOpt { | |
148 | margin-left: 1em; | |
149 | } | |
150 | ||
[21] | 151 | |
[17] | 152 | .surveyButton { |
[24] | 153 | color: #888; |
154 | font-weight: bold; | |
[17] | 155 | background-color: #fff; |
[38] | 156 | border: 1px solid #aaa; |
[29] | 157 | -moz-border-radius: 6px; |
158 | border-radius: 6px; | |
[17] | 159 | } |
160 | ||
[36] | 161 | .bigSurveyButton { |
162 | margin-top: 1px; | |
163 | height: 3em; | |
164 | width: 12em; | |
165 | } | |
166 | ||
[17] | 167 | .surveyButton:hover { |
168 | background-color: white; | |
[24] | 169 | color: #555; |
[17] | 170 | border-color: deepskyblue; |
171 | } | |
172 | ||
173 | .surveyButton:active { | |
174 | border-style: inset; | |
175 | border-color: orange; | |
176 | } | |
177 | ||
178 | .question { | |
[19] | 179 | margin-top: 3em; |
180 | border-top: 1px solid #ddd; | |
[17] | 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 | } | |
[38] | 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.