Mercurial > hg > fapweb
annotate main.css @ 511:6fe66ea0e954
Move most of the results code to site module, remove the support for HTML
type output.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 08 Dec 2013 02:16:26 +0200 |
parents | cf591bb4c93c |
children |
rev | line source |
---|---|
1 | 1 html { |
2 -webkit-backface-visibility: hidden; | |
3 } | |
4 | |
5 body { | |
240 | 6 font-family: "Courier New", Courier, monospace; |
241 | 7 font-size: 16px; |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
8 color: #0d0; |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
9 margin: 0em; |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
10 padding: 0em; |
1 | 11 } |
12 | |
13 img { | |
14 border: none; | |
15 } | |
16 | |
17 a:hover { | |
18 text-decoration: underline; | |
19 } | |
20 | |
21 a:active { | |
22 outline: none; | |
23 } | |
24 | |
25 a:focus { | |
26 outline-style: none; | |
27 } | |
28 | |
29 a, a:visited, a:active { | |
30 text-decoration: underline; | |
31 color: white; | |
32 } | |
33 | |
34 #contents { | |
35 position: absolute; | |
36 width: 100%; | |
37 height: 100%; | |
38 } | |
39 | |
40 #header h1 { | |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
41 margin: 0em; |
1 | 42 } |
43 | |
367 | 44 #mainContent h1, #mainContent h2 { |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
45 margin: 0em; |
1 | 46 margin-top: 1em; |
47 padding: 2pt; | |
48 padding-left: 1em; | |
41 | 49 background: rgba(0,255,0,0.3); |
50 border-bottom: 2px solid rgba(0,0,0,0.2); | |
1 | 51 border-radius: 8pt; |
52 } | |
53 | |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
54 |
367 | 55 #mainContent h1 { |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
56 margin: 0em; |
1 | 57 } |
58 | |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
59 |
1 | 60 div.newsitem { |
61 } | |
62 | |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
63 |
1 | 64 div.newsitem div.text { |
65 margin-top: 0.5em; | |
66 margin-left: 1.5em; | |
67 margin-right: 1.5em; | |
68 padding-bottom: 1em; | |
69 border-bottom: 1px dotted white; | |
70 } | |
71 | |
72 div.newsitem div.sig { | |
73 padding: 5pt; | |
74 font-family: Impact; | |
75 text-align: right; | |
76 } | |
77 | |
78 | |
49 | 79 |
80 | |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
81 table.attendees,table.misc,table.vote { |
1 | 82 width: 100%; |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
83 font-size: 1em; |
1 | 84 } |
85 | |
49 | 86 table td, table th { |
87 border-radius: 2pt; | |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
88 overflow-x: hidden; |
49 | 89 } |
90 | |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
91 table th { |
49 | 92 background: rgba(0,255,0,0.25); |
1 | 93 } |
94 | |
186
4edcce55da9c
Improve stylesheets, mobile version is now somewhat usable.
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
95 table.attendees .regtime { |
4edcce55da9c
Improve stylesheets, mobile version is now somewhat usable.
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
96 width: 15%; |
1 | 97 } |
98 | |
186
4edcce55da9c
Improve stylesheets, mobile version is now somewhat usable.
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
99 table.attendees .oneliner { |
1 | 100 width: 50%; |
101 } | |
102 | |
186
4edcce55da9c
Improve stylesheets, mobile version is now somewhat usable.
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
103 table.attendees .name { |
4edcce55da9c
Improve stylesheets, mobile version is now somewhat usable.
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
104 width: 15%; |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
105 } |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
106 |
186
4edcce55da9c
Improve stylesheets, mobile version is now somewhat usable.
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
107 table.attendees .groups { |
4edcce55da9c
Improve stylesheets, mobile version is now somewhat usable.
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
108 width: 15%; |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
109 } |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
110 |
1 | 111 tr.rodd td { |
49 | 112 background: rgba(0,255,0,0.05); |
113 border-radius: 2pt; | |
1 | 114 } |
115 | |
116 tr.reven td { | |
49 | 117 background: rgba(0,255,0,0.15); |
1 | 118 } |
119 | |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
120 table.misc, table.vote { |
1 | 121 padding-top: 1em; |
122 } | |
123 | |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
124 table.misc tr:hover td, table.vote tr:hover td { |
337
bb906ba63463
Change hover behaviour in stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
333
diff
changeset
|
125 color: white; |
1 | 126 } |
127 | |
128 div.reglink { | |
129 text-align: center; | |
130 padding: 0.5em; | |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
131 font-size: 1.25em; |
1 | 132 color: red; |
133 border: 2pt solid rgba(0,0,0,0.35); | |
134 margin: 5pt; | |
135 border-radius: 8pt; | |
136 } | |
137 | |
138 .notice { | |
139 color: red; | |
140 text-align: center; | |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
141 font-size: 1.25em; |
1 | 142 } |
143 | |
41 | 144 .quote { |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
145 font-size: 1.5em; |
41 | 146 color: #0f0; |
147 text-shadow: 2px 2px 3px #0f0; | |
148 } | |
1 | 149 |
150 .overbooked { | |
151 color: red; | |
152 } | |
153 | |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
154 table.vote th.vvalue { |
4 | 155 width: 1%; |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
156 min-width: 2.5em; |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
157 } |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
158 |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
159 table.vote td.vvalue { |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
160 text-align: center; |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
161 } |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
162 |
53
71256605546b
More work on admin interface.
Matti Hamalainen <ccr@tnsp.org>
parents:
49
diff
changeset
|
163 table.attendees th.rname { |
71256605546b
More work on admin interface.
Matti Hamalainen <ccr@tnsp.org>
parents:
49
diff
changeset
|
164 width: 15%; |
71256605546b
More work on admin interface.
Matti Hamalainen <ccr@tnsp.org>
parents:
49
diff
changeset
|
165 } |
71256605546b
More work on admin interface.
Matti Hamalainen <ccr@tnsp.org>
parents:
49
diff
changeset
|
166 |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
167 |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
168 div.votectrl { |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
169 padding: 1em; |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
170 } |
44 | 171 |
172 | |
173 .mblink { | |
174 animation: mblink 1s steps(5, start) infinite; | |
175 } | |
176 | |
177 @keyframes mblink { | |
178 to { | |
179 visibility: hidden; | |
180 } | |
181 } | |
333
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
182 |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
183 |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
184 table.vote * input[type="radio"] { |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
185 display: none; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
186 } |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
187 |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
188 table.vote * input[type="radio"] + label:before { |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
189 content: "O"; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
190 display: inline-block; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
191 color: green; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
192 font-size: 2em; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
193 } |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
194 |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
195 table.vote * input[type="radio"]:checked + label:before { |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
196 content: "X"; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
197 display: inline-block; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
198 color: red; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
199 font-weight: bold; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
200 font-size: 2em; |
018817535fab
Make voting more visually pleasant(?).
Matti Hamalainen <ccr@tnsp.org>
parents:
280
diff
changeset
|
201 } |
349
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
202 |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
203 #messageBox { |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
204 position: absolute; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
205 top: 0px; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
206 bottom: 0px; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
207 left: 0px; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
208 right: 0px; |
452
6b0802a8e07c
Adjust message box z-index.
Matti Hamalainen <ccr@tnsp.org>
parents:
427
diff
changeset
|
209 z-index: 60; |
349
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
210 display: none; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
211 } |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
212 |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
213 #messageBox div.messageBoxInner { |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
214 position: absolute; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
215 top: 25%; |
427 | 216 left: 10%; |
349
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
217 height: auto; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
218 min-width: 50%; |
376
55007fe09371
And some more work on the backend.
Matti Hamalainen <ccr@tnsp.org>
parents:
367
diff
changeset
|
219 max-width: 80%; |
452
6b0802a8e07c
Adjust message box z-index.
Matti Hamalainen <ccr@tnsp.org>
parents:
427
diff
changeset
|
220 z-index: 62; |
349
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
221 background: black; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
222 border: 1px solid green; |
351
78a18b8b3511
Make the messagebox a bit tighter.
Matti Hamalainen <ccr@tnsp.org>
parents:
349
diff
changeset
|
223 padding: 1.5em; |
349
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
224 border-radius: 1em; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
225 } |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
226 |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
227 #messageBox div.messageBoxControls { |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
228 text-align: right; |
61c4dda0ec03
New message/confirmation boxes code done in JS + CSS instead of relying on
Matti Hamalainen <ccr@tnsp.org>
parents:
337
diff
changeset
|
229 } |