ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/arch/res/http/client/main.css
Revision: 1.21
Committed: Sat Jan 21 21:19:30 2017 UTC (9 years, 9 months ago) by sf-demisephi
Content type: text/css
Branch: MAIN
Changes since 1.20: +7 -4 lines
Log Message:
tooltip look

File Contents

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