ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/arch/res/http/client/main.css
Revision: 1.29
Committed: Thu Feb 2 05:57:40 2017 UTC (9 years, 9 months ago) by sf-demisephi
Content type: text/css
Branch: MAIN
CVS Tags: HEAD
Changes since 1.28: +26 -15 lines
Log Message:
item panels item tooltips buffer

File Contents

# User Rev Content
1 root 1.1 /*
2 root 1.28 * This file is part of Deliantra clientV.
3     *
4     * Copyright (©) 2017 Marek Olszewski <m.olszewski@wit.edu.pl>
5     * Copyright (©) 2017 Marc A. Lehmann <schmorp@schmorp.de>
6     *
7     * Deliantra clientV is free software: you can redistribute it and/or
8     * modify it under the terms of the Affero GNU General Public License as
9     * published by the Free Software Foundation, either version 3 of the
10     * License, or (at your option) any later version.
11     *
12     * This program is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the Affero GNU General Public Licens
18     * and the GNU General Public License along with this program. If not, see
19     * <http://www.gnu.org/licenses/>.
20     *
21     * The authors can be reached via e-mail to <support@deliantra.net>
22     */
23 root 1.1
24 root 1.6 body, html {
25 root 1.28 /*background-image: url(img/background.png);*/
26 root 1.1 }
27 root 1.28
28 sf-demisephi 1.17 body, html {
29 root 1.6 margin: 0;
30     padding: 0;
31     background-color: black;
32 root 1.28 color: white;
33 sf-demisephi 1.17 height: 100%;
34     overflow: hidden;
35 root 1.1 }
36    
37 sf-demisephi 1.17 body, html, * {
38     margin: 0;
39     padding: 0;
40     background-color: black;
41 root 1.28 color: white;
42 sf-demisephi 1.17 }
43    
44    
45 sf-demisephi 1.12 div.windowContainer {
46 root 1.6 position: absolute;
47 sf-demisephi 1.24 border: 1px solid white;
48 sf-demisephi 1.11 cursor: pointer;
49 sf-demisephi 1.18 overflow: hidden;
50 sf-demisephi 1.24 background-color: black;
51 root 1.28
52 root 1.1 }
53    
54 sf-demisephi 1.12 div.windowContainer div.titlebar {
55 sf-demisephi 1.11 width: 100%;
56 root 1.28 color: gold;
57 sf-demisephi 1.11 font: 17px monospace;
58 sf-demisephi 1.12 text-align: center;
59 sf-demisephi 1.24 border-bottom: 1px solid white;
60 sf-demisephi 1.29 background-color: goldenrod;
61 sf-demisephi 1.11 text-align: center;
62 sf-demisephi 1.24 cursor:move;
63 sf-demisephi 1.27 padding:0;
64 sf-demisephi 1.11 }
65    
66 sf-demisephi 1.24 div.windowContainer div.borders {
67     padding: 5px;
68     background-color: white;
69 sf-demisephi 1.29
70 sf-demisephi 1.12 }
71    
72 sf-demisephi 1.24 div.windowContainer div.windowContent {
73     background-color:black;
74     width: 100%;
75     height: 100%;
76     }
77    
78 root 1.28
79 sf-demisephi 1.27 div.windowContainer div.windowContent input.closeBtn, div.windowContainer div.titlebar input.closeBtn {
80 sf-demisephi 1.24 width: 24px;
81     height: 24px;
82     position: absolute;
83 sf-demisephi 1.27 right: 2px;
84     top: 2px;
85 root 1.28 padding:0;
86 sf-demisephi 1.24 }
87 root 1.28
88 sf-demisephi 1.24 table.statistics {
89     width: 100%;
90     border-top: 3px solid white;
91     }
92 sf-demisephi 1.12
93 root 1.6 div#channels {
94 root 1.1 }
95    
96 sf-demisephi 1.11 div#channels div:last-child {
97 sf-demisephi 1.8 overflow: auto;
98     }
99    
100     div#hidden {
101     position:absolute;
102     left: -10000px;
103     top: -10000px;
104     }
105    
106 root 1.1 div#channels table {
107     border: 0;
108 sf-demisephi 1.9 width: 100%;
109 root 1.1 color: white;
110     font: 14px monospace;
111     font-weight: bold;
112     }
113 sf-demisephi 1.15 .inputbox, div#channels input [type='text'] {
114 sf-demisephi 1.13 margin-top: 5px;
115 root 1.1 background: solid red;
116     background-color: white;
117     color: black;
118     border: 1px solid red;
119     width: 90%;
120     }
121    
122 sf-demisephi 1.15 div#channels div input {
123 sf-demisephi 1.13 margin: 5px;
124     display: inline block;
125     }
126    
127 sf-demisephi 1.27 div#channels table tr td:nth-child(1) {
128 root 1.1 font-size: small;
129     width: 80px;
130     color: red;
131     vertical-align: top;
132     }
133    
134 sf-demisephi 1.27 div#channels table tr td{
135     vertical-align: top;
136     text-align: left;
137     }
138    
139 root 1.6 table.login {
140     width: 100%;
141 root 1.1 }
142    
143     div#loginContainer table {
144     margin-bottom: 20px;
145     }
146    
147     div#loginContainer table tr:last td {
148     width:100%;
149     text-align: center;
150     }
151    
152 sf-demisephi 1.24 div#loginContainer input[type="text"],div#loginContainer input[type="password"] {
153 root 1.1 border: 1px solid gold;
154     background-color: grey;
155     width: 150px;
156     }
157     div#loginContainer {
158     text-align: center;
159     }
160    
161 root 1.6 div#loginContainer h3, div#loginContainer h1 {
162 root 1.1 width: 100%;
163     text-align: center;
164     color: gold;
165 root 1.2 }
166 root 1.6
167 sf-demisephi 1.23 table.pickup {
168     margin: 25px;
169     border-collapse: collapse;
170     }
171    
172     table.pickup tr td:nth-child(1) {
173     padding: 5px;
174     width: 45%;
175     }
176     table.pickup tr td:nth-child(3) {
177     padding: 5px;
178     width: 45%;
179     }
180    
181 sf-demisephi 1.15 /* look and feel of bars */
182    
183    
184 sf-demisephi 1.14 .hpBar {
185 sf-demisephi 1.19 left: 10px;
186     top: 170px;
187 sf-demisephi 1.14 background-color: orange;
188     color: red;
189 sf-demisephi 1.19 width: 125px;
190 sf-demisephi 1.14 height: 20px;
191     }
192    
193     .manaBar {
194 sf-demisephi 1.19 left: 50px;
195     top: 170px;
196 sf-demisephi 1.14 background-color: lightblue;
197     color: blueviolet;
198 sf-demisephi 1.19 width: 125px;
199 sf-demisephi 1.14 height: 20px;
200     }
201    
202     .foodBar {
203 sf-demisephi 1.19 left: 90px;
204     top: 170px;
205 sf-demisephi 1.14 background-color: lightgreen;
206     color: greenyellow;
207 sf-demisephi 1.19 width: 125px;
208 sf-demisephi 1.14 height: 20px;
209     }
210 sf-demisephi 1.15 /* windows */
211    
212 sf-demisephi 1.14
213     .mapWindow {
214     left: 0px;
215     top: 40px;
216     width: 800px;
217     height: 800px;
218     }
219    
220     .barsWindow {
221 sf-demisephi 1.19 left: 580px;
222     top: 543px;
223     width: 125px;
224     height: 200px;
225 sf-demisephi 1.14 }
226    
227     .messagesWindow {
228 sf-demisephi 1.27 right: 50px;
229 sf-demisephi 1.14 top: 40px;
230 sf-demisephi 1.27 width: 600px;
231 sf-demisephi 1.19 height: 220px;
232 sf-demisephi 1.14 }
233    
234 sf-demisephi 1.27
235    
236 sf-demisephi 1.14 .floorWindow {
237 sf-demisephi 1.19 left: 318px;
238     top: 650px;
239 sf-demisephi 1.14 width: 0;
240     height: 0;
241     }
242    
243 root 1.28 .containerWindow {
244 sf-demisephi 1.14 left: 750px;
245     top: 402px;
246     width: 0;
247     height: 0;
248     }
249    
250     .skillsWindow {
251     left: 754px;
252     top: 40px;
253     width:0;
254     height:0;
255 sf-demisephi 1.15 }
256    
257 sf-demisephi 1.22 .spellsWindow {
258     left: 90px;
259     top: 90px;
260     width:0;
261     height:0;
262     }
263    
264 sf-demisephi 1.15 /* fancy bubble */
265    
266     div.bubble {
267     border-radius: 25px;
268     height: 30px;
269     width: auto;
270     position: absolute;
271     border: 4px solid blue;
272     background: solid;
273     background-color: white;
274     color: black;
275     font-size: small;
276     padding: 5px;
277 sf-demisephi 1.16 padding-top: 19px;
278     }
279    
280 sf-demisephi 1.29 div.paneRight, div.paneLeft {
281     width: 50%;
282     height: 100%;
283     overflow-x: hidden;
284     overflow-y: auto;
285     background: blue;
286     padding: 0;
287     margin: 0;
288     border:0;
289     border: 0;
290     }
291    
292     div.paneLeft {
293     float:left;
294     }
295 sf-demisephi 1.20
296 sf-demisephi 1.29 div.paneRight {
297     float:right;
298     }
299    
300     div.clearer {
301     clear:both;
302     height: 0px;
303     }
304 sf-demisephi 1.20
305     /* fancy bubble */
306    
307     div.tooltip {
308 sf-demisephi 1.21 height: auto;
309 sf-demisephi 1.20 width: auto;
310     position: absolute;
311 sf-demisephi 1.24 border: 1px solid black;
312 sf-demisephi 1.20 background: solid;
313     background-color: white;
314     color: black;
315     font-size: small;
316 root 1.28 padding:2px;
317 sf-demisephi 1.29 max-width: 300px;
318 sf-demisephi 1.21 }
319    
320     div.tooltip div:first-child {
321 sf-demisephi 1.24 padding: 2px;
322     margin: 2px;
323 sf-demisephi 1.20 }
324    
325 sf-demisephi 1.16 div.bubble strong {
326     font-size: large;
327     padding: 5px;
328     background-color: blue;
329     border-radius: 15px;
330 sf-demisephi 1.17 }
331    
332     /* CONTEXT MENU */
333    
334     div.contextMenuItem {
335     height: 20px;
336     width: 100%;
337     padding-top: 3px;
338     padding-bottom: 3px;
339     font: small;
340     background-color: grey;
341     color: black;
342     text-align: center;
343     }
344    
345     div.contextMenuItem:hover {
346     background-color: gold;
347     color: red;
348     text-decoration: underline;
349 root 1.28 }
350