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

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

Fixes

  • Property svn:executable set to *
File size: 2.9 KB
Line 
1/*========================================
2- Generic page layout
3*/
4
5body {
6 margin: 0;
7 padding: 0;
8}
9
10.adminwrapper {
11 width: 100%;
12 height: 100vh;
13 background-color: #ccc;
14}
15
16.adminnavbar,
17.admincontent {
18 position: absolute;
19 top: 0;
20 bottom: 0;
21}
22
23
24/*========================================
25- Menu bar
26*/
27
28.adminnavbar {
29 width: 200px;
30 left: 0;
31 background-color: purple;
32}
33
34.adminnavbar > div {
35 margin: 5px;
36}
37
38/*----------------------------------------
39- Menu entries
40*/
41
42.adminnavbar ul {
43 margin-top: 5px;
44}
45
46.adminnavbar #adminmenu .menu_button {
47 display: none;
48}
49
50.adminnavbar #adminmenu .menu_button.allowed {
51 display: inline;
52}
53
54.adminnavbar #adminmenu .menu_button a {
55 color: #000;
56 text-decoration: none;
57}
58
59.adminnavbar #adminmenu .current_tab {
60 font-weight: bold;
61 text-transform: uppercase;
62}
63
64/*----------------------------------------
65- Server stats
66*/
67
68.adminnavbar #serverstats {
69 margin-bottom: 20px;
70 display: none;
71 color: #000;
72 text-decoration: none;
73}
74
75.adminnavbar #serverstats #stats_time {
76 white-space: nowrap;
77}
78
79/*----------------------------------------
80- Session state box
81*/
82
83.adminnavbar #userstate {
84 position: absolute;
85 bottom: 0px;
86 left: 0px;
87 right: 0px;
88 background-color: green;
89}
90
91.adminnavbar #userstate #username {
92 padding-left: 10px;
93}
94
95.adminnavbar #userstate > div {
96 display: none;
97}
98
99
100/*========================================
101- Content area
102*/
103
104.admincontent {
105 position: absolute;
106 right: 0;
107 left: 200px;
108 background-color: #a04;
109}
110
111.admincontent #nopermissionwarning {
112 margin: 20px 50px;
113}
114
115.admincontent .contenttab {
116 position: absolute;
117 top: 0;
118 right: 0;
119 left: 0px;
120 display: none;
121}
122
123.admincontent .current_tab {
124 display: block;
125}
126
127/* Individual tabs */
128
129.adminmap {
130 background-color: #260040;
131 bottom: 0;
132}
133
134
135
136/*========================================
137- Inventory dialog
138*/
139
140#info {
141 background-color: #aaaaaa;
142 position: absolute;
143 bottom: 10px;
144 left: 10px;
145}
146.invTable {
147 table-layout: fixed;
148 padding: 0px;
149 margin: 0px;
150 border-collapse: collapse;
151}
152.invField {
153 width: 58px;
154 height: 40px;
155 padding: 1px 4px;
156 margin: 0px;
157 border: 1px solid gray;
158 background-color: #303030;
159 background-size: 58px;
160 background-repeat: no-repeat;
161 background-position: center;
162 vertical-align: bottom;
163 text-align: right;
164 font-size: 14pt;
165 color: #ffffff;
166 text-shadow:
167 -1px -1px 0 #000,
168 1px -1px 0 #000,
169 -1px 1px 0 #000,
170 1px 1px 0 #000;
171}
172
173#equipmentTable .invFieldText {
174 display: none;
175}
176
177.inventoryButton {
178 color: #00ff00;
179 cursor: pointer;
180}
181#playerInventoryDialog {
182 display:none;
183}
184
185.ui-dialog {
186 z-index:1011 !important;
187}
188.ui-widget-overlay {
189 z-index:1010 !important;
190}
191
192
193
194/* Map controls */
195
196
197.webmap-control a,
198.webmap-control a:hover {
199 text-decoration: none;
200}
201
202.webmap-control {
203 box-shadow: 0 1px 5px rgba(0,0,0,0.4);
204 background: #fff;
205 border-radius: 5px;
206 padding: 6px 10px 6px 6px;
207 color: #333;
208 white-space: nowrap;
209}
210
Note: See TracBrowser for help on using the repository browser.