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 | #content { |
---|
46 | position: relative; |
---|
47 | width: 100%; |
---|
48 | padding: 2em 0; |
---|
49 | } |
---|
50 | |
---|
51 | #menu { |
---|
52 | width: 20em; |
---|
53 | margin: auto; |
---|
54 | padding: 3em; |
---|
55 | text-align: center; |
---|
56 | background-color: #E3E3E3; |
---|
57 | -moz-border-radius: 15px; |
---|
58 | border-radius: 15px; |
---|
59 | } |
---|
60 | |
---|
61 | /* ################################################################## |
---|
62 | ===================== STYLESHEET OF GLORY ======================== */ |
---|
63 | |
---|
64 | #newSurveyButton{ |
---|
65 | height: 3em; |
---|
66 | width: 10em; |
---|
67 | } |
---|
68 | |
---|
69 | #surveyCreation { |
---|
70 | min-height: 10em; |
---|
71 | background-color: #eee; |
---|
72 | -moz-border-radius: 15px; |
---|
73 | border-radius: 15px; |
---|
74 | -moz-box-shadow: 2px 2px 2px #888; |
---|
75 | -webkit-box-shadow: 2px 2px 2px #888; |
---|
76 | box-shadow: 2px 2px 2px #888; |
---|
77 | padding: 2em; |
---|
78 | } |
---|
79 | |
---|
80 | #surveyTitle { |
---|
81 | font-size: large; |
---|
82 | color: gray; |
---|
83 | } |
---|
84 | |
---|
85 | #surveyTitle:hover { |
---|
86 | color: black; |
---|
87 | } |
---|
88 | |
---|
89 | #surveyDescription { |
---|
90 | display: block; |
---|
91 | font-family: sans-serif; |
---|
92 | color: gray; |
---|
93 | } |
---|
94 | |
---|
95 | #surveyDescription:hover { |
---|
96 | color: black; |
---|
97 | } |
---|
98 | |
---|
99 | #questionsDiv { |
---|
100 | margin-top: 2em; |
---|
101 | } |
---|
102 | |
---|
103 | .answersDiv { |
---|
104 | margin-left: 0.5em; |
---|
105 | } |
---|
106 | |
---|
107 | #submitSurvey { |
---|
108 | display: block; |
---|
109 | height: 3em; |
---|
110 | width: 10em; |
---|
111 | margin-top: 2em; |
---|
112 | } |
---|
113 | |
---|
114 | #addQuestionButton { |
---|
115 | margin-top: 1em; |
---|
116 | width: 20em; |
---|
117 | } |
---|
118 | |
---|
119 | #addOpt { |
---|
120 | margin-left: 1em; |
---|
121 | } |
---|
122 | |
---|
123 | |
---|
124 | .surveyButton { |
---|
125 | |
---|
126 | color: gray; |
---|
127 | background-color: #fff; |
---|
128 | border: 1px solid #ddd; |
---|
129 | -moz-border-radius: 8px; |
---|
130 | border-radius: 8px; |
---|
131 | -moz-box-shadow: 1px 1px 1px #555; |
---|
132 | -webkit-box-shadow: 1px 1px 1px #555; |
---|
133 | box-shadow: 1px 1px 1px #555; |
---|
134 | } |
---|
135 | |
---|
136 | .surveyButton:hover { |
---|
137 | background-color: white; |
---|
138 | color: #333; |
---|
139 | border-color: deepskyblue; |
---|
140 | } |
---|
141 | |
---|
142 | .surveyButton:active { |
---|
143 | border-style: inset; |
---|
144 | border-color: orange; |
---|
145 | } |
---|
146 | |
---|
147 | .question { |
---|
148 | margin-top: 3em; |
---|
149 | border-top: 1px solid #ddd; |
---|
150 | } |
---|
151 | |
---|
152 | .questionTable td{ |
---|
153 | width: 8em; |
---|
154 | } |
---|
155 | |
---|
156 | .questionTable th{ |
---|
157 | text-align: left; |
---|
158 | } |
---|
159 | |
---|
160 | label { |
---|
161 | font-size: small; |
---|
162 | font-weight: bold; |
---|
163 | color: gray; |
---|
164 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.