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
RevLine 
[245]1/*========================================
2- Generic page layout
3*/
[244]4
5body {
6 margin: 0;
7 padding: 0;
[249]8 background-image: url('/static/img/background.jpg');
9 background-repeat: no-repeat;
10 background-attachment: fixed;
11 background-position: center;
12 color: orange;
[133]13}
[244]14
[249]15a {
16 color: #ff6000;
17 text-decoration: none;
18}
19
20a:visited {
21 color: #ff6000;
22 text-decoration: none;
23}
24
[244]25.adminwrapper {
26 width: 100%;
27 height: 100vh;
[249]28 /*background-color: #408040;*/
[153]29}
[244]30
[245]31.adminnavbar,
[244]32.admincontent {
33 position: absolute;
34 top: 0;
35 bottom: 0;
36}
37
[249]38.invalidinput {
39 background-color: #f00;
40}
[245]41
[249]42
[245]43/*========================================
44- Menu bar
45*/
46
47.adminnavbar {
[244]48 width: 200px;
49 left: 0;
[249]50 border-right: 1px solid rgba(0,0,0,0.3);
51 box-shadow: 3px 0px 14px rgba(0,0,0,0.9);
[244]52}
53
[245]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 {
[249]75 color: orange;
[245]76 text-decoration: none;
77}
78
79.adminnavbar #adminmenu .current_tab {
[244]80 font-weight: bold;
81 text-transform: uppercase;
82}
83
[245]84/*----------------------------------------
85- Server stats
86*/
87
88.adminnavbar #serverstats {
89 margin-bottom: 20px;
90 display: none;
[249]91 /* color: orange; */
[245]92 text-decoration: none;
[244]93}
94
[245]95.adminnavbar #serverstats #stats_time {
96 white-space: nowrap;
97}
98
99/*----------------------------------------
100- Session state box
101*/
102
103.adminnavbar #userstate {
[244]104 position: absolute;
[245]105 bottom: 0px;
106 left: 0px;
107 right: 0px;
[249]108 /*background-color: #408040;*/
[244]109}
110
[245]111.adminnavbar #userstate #username {
[244]112 padding-left: 10px;
113}
114
[245]115.adminnavbar #userstate > div {
[244]116 display: none;
117}
118
[245]119
120/*========================================
121- Content area
122*/
123
[244]124.admincontent {
125 position: absolute;
126 right: 0;
127 left: 200px;
[249]128 /*background-color: #408040;*/
[244]129}
130
[245]131.admincontent #nopermissionwarning {
132 margin: 20px 50px;
133}
134
[244]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
[245]149/*========================================
150- Inventory dialog
151*/
[244]152
[149]153#info {
[163]154 background-color: #aaaaaa;
155 position: absolute;
156 bottom: 10px;
157 left: 10px;
[149]158}
[249]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
[163]195.invTable {
196 table-layout: fixed;
197 padding: 0px;
198 margin: 0px;
199 border-collapse: collapse;
200}
[249]201#equipmentTable .invFieldText {
202 display: none;
203}
204.playerInventoryDialog td.invField {
[244]205 width: 58px;
206 height: 40px;
[163]207 padding: 1px 4px;
208 margin: 0px;
209 border: 1px solid gray;
[249]210 background-color: black;
[163]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:
[249]218 -1px -1px 0 black,
219 1px -1px 0 black,
220 -1px 1px 0 black,
221 1px 1px 0 black;
[163]222}
[245]223
224
[179]225
[163]226
[249]227/*========================================
228- Map
229*/
[244]230
[249]231.adminmap {
232 /*background-color: #408040;*/
233 background-color: transparent;
234 bottom: 0;
235}
[245]236
[249]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}
[244]242
[249]243.adminmap a,
244.adminmap a:hover,
245.adminmap .leaflet-container a,
246.adminmap .leaflet-container a:hover {
[244]247 text-decoration: none;
[249]248 color: #ff6000;
[179]249}
250
[244]251.webmap-control {
[179]252 border-radius: 5px;
253 padding: 6px 10px 6px 6px;
[244]254 white-space: nowrap;
[179]255}
256
[249]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.