source: binary-improvements/webserver/css/style.css@ 249

Last change on this file since 249 was 249, checked in by alloc, 9 years ago

Fixes: Web v8

  • Property svn:executable set to *
File size: 4.0 KB
Line 
1/*========================================
2- Generic page layout
3*/
4
5body {
6 margin: 0;
7 padding: 0;
8 background-image: url('/static/img/background.jpg');
9 background-repeat: no-repeat;
10 background-attachment: fixed;
11 background-position: center;
12 color: orange;
13}
14
15a {
16 color: #ff6000;
17 text-decoration: none;
18}
19
20a:visited {
21 color: #ff6000;
22 text-decoration: none;
23}
24
25.adminwrapper {
26 width: 100%;
27 height: 100vh;
28 /*background-color: #408040;*/
29}
30
31.adminnavbar,
32.admincontent {
33 position: absolute;
34 top: 0;
35 bottom: 0;
36}
37
38.invalidinput {
39 background-color: #f00;
40}
41
42
43/*========================================
44- Menu bar
45*/
46
47.adminnavbar {
48 width: 200px;
49 left: 0;
50 border-right: 1px solid rgba(0,0,0,0.3);
51 box-shadow: 3px 0px 14px rgba(0,0,0,0.9);
52}
53
54.adminnavbar > div {
55 margin: 5px;
56}
57
58/*----------------------------------------
59- Menu entries
60*/
61
62.adminnavbar ul {
63 margin-top: 5px;
64}
65
66.adminnavbar #adminmenu .menu_button {
67 display: none;
68}
69
70.adminnavbar #adminmenu .menu_button.allowed {
71 display: inline;
72}
73
74.adminnavbar #adminmenu .menu_button a {
75 color: orange;
76 text-decoration: none;
77}
78
79.adminnavbar #adminmenu .current_tab {
80 font-weight: bold;
81 text-transform: uppercase;
82}
83
84/*----------------------------------------
85- Server stats
86*/
87
88.adminnavbar #serverstats {
89 margin-bottom: 20px;
90 display: none;
91 /* color: orange; */
92 text-decoration: none;
93}
94
95.adminnavbar #serverstats #stats_time {
96 white-space: nowrap;
97}
98
99/*----------------------------------------
100- Session state box
101*/
102
103.adminnavbar #userstate {
104 position: absolute;
105 bottom: 0px;
106 left: 0px;
107 right: 0px;
108 /*background-color: #408040;*/
109}
110
111.adminnavbar #userstate #username {
112 padding-left: 10px;
113}
114
115.adminnavbar #userstate > div {
116 display: none;
117}
118
119
120/*========================================
121- Content area
122*/
123
124.admincontent {
125 position: absolute;
126 right: 0;
127 left: 200px;
128 /*background-color: #408040;*/
129}
130
131.admincontent #nopermissionwarning {
132 margin: 20px 50px;
133}
134
135.admincontent .contenttab {
136 position: absolute;
137 top: 0;
138 right: 0;
139 left: 0px;
140 display: none;
141}
142
143.admincontent .current_tab {
144 display: block;
145}
146
147
148
149/*========================================
150- Inventory dialog
151*/
152
153#info {
154 background-color: #aaaaaa;
155 position: absolute;
156 bottom: 10px;
157 left: 10px;
158}
159
160.inventoryButton {
161 cursor: pointer;
162}
163#playerInventoryDialog {
164 display:none;
165}
166.playerInventoryDialog {
167 text-shadow:
168 -1px -1px 0 black,
169 1px -1px 0 black,
170 -1px 1px 0 black,
171 1px 1px 0 black;
172 box-shadow: 0 3px 14px rgba(0,0,0,0.4);
173 color: orange;
174 background: rgba(100,100,100,0.6);
175 border: none;
176}
177.playerInventoryDialog .ui-dialog-buttonpane {
178 display: none;
179}
180.playerInventoryDialog.ui-dialog {
181 z-index:1011 !important;
182}
183.ui-widget-overlay {
184 z-index:1010 !important;
185 opacity: 0.4 !important;
186}
187.playerInventoryDialog .ui-widget-content {
188 background: transparent;
189 color: orange;
190}
191.playerInventoryDialog td {
192 vertical-align: top;
193}
194
195.invTable {
196 table-layout: fixed;
197 padding: 0px;
198 margin: 0px;
199 border-collapse: collapse;
200}
201#equipmentTable .invFieldText {
202 display: none;
203}
204.playerInventoryDialog td.invField {
205 width: 58px;
206 height: 40px;
207 padding: 1px 4px;
208 margin: 0px;
209 border: 1px solid gray;
210 background-color: black;
211 background-size: 58px;
212 background-repeat: no-repeat;
213 background-position: center;
214 vertical-align: bottom;
215 text-align: right;
216 font-size: 14pt;
217 text-shadow:
218 -1px -1px 0 black,
219 1px -1px 0 black,
220 -1px 1px 0 black,
221 1px 1px 0 black;
222}
223
224
225
226
227/*========================================
228- Map
229*/
230
231.adminmap {
232 /*background-color: #408040;*/
233 background-color: transparent;
234 bottom: 0;
235}
236
237.adminmap .leaflet-control {
238 background-color: rgba(50,50,50,0.6);
239 color: orange;
240 box-shadow: 0 3px 14px rgba(0,0,0,0.5);
241}
242
243.adminmap a,
244.adminmap a:hover,
245.adminmap .leaflet-container a,
246.adminmap .leaflet-container a:hover {
247 text-decoration: none;
248 color: #ff6000;
249}
250
251.webmap-control {
252 border-radius: 5px;
253 padding: 6px 10px 6px 6px;
254 white-space: nowrap;
255}
256
257.adminmap .leaflet-popup-tip,
258.adminmap .leaflet-popup-content-wrapper {
259 background-color: rgba(50,50,50,0.8);
260 color: orange;
261}
262
Note: See TracBrowser for help on using the repository browser.