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

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

Fixes

  • Property svn:executable set to *
File size: 2.9 KB
RevLine 
[245]1/*========================================
2- Generic page layout
3*/
[244]4
5body {
6 margin: 0;
7 padding: 0;
[133]8}
[244]9
10.adminwrapper {
11 width: 100%;
12 height: 100vh;
[247]13 background-color: #408040;
[153]14}
[244]15
[245]16.adminnavbar,
[244]17.admincontent {
18 position: absolute;
19 top: 0;
20 bottom: 0;
21}
22
[245]23
24/*========================================
25- Menu bar
26*/
27
28.adminnavbar {
[244]29 width: 200px;
30 left: 0;
[247]31 background-color: #408040;
[244]32}
33
[245]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 {
[244]60 font-weight: bold;
61 text-transform: uppercase;
62}
63
[245]64/*----------------------------------------
65- Server stats
66*/
67
68.adminnavbar #serverstats {
69 margin-bottom: 20px;
70 display: none;
[244]71 color: #000;
[245]72 text-decoration: none;
[244]73}
74
[245]75.adminnavbar #serverstats #stats_time {
76 white-space: nowrap;
77}
78
79/*----------------------------------------
80- Session state box
81*/
82
83.adminnavbar #userstate {
[244]84 position: absolute;
[245]85 bottom: 0px;
86 left: 0px;
87 right: 0px;
[247]88 background-color: #408040;
[244]89}
90
[245]91.adminnavbar #userstate #username {
[244]92 padding-left: 10px;
93}
94
[245]95.adminnavbar #userstate > div {
[244]96 display: none;
97}
98
[245]99
100/*========================================
101- Content area
102*/
103
[244]104.admincontent {
105 position: absolute;
106 right: 0;
107 left: 200px;
[247]108 background-color: #408040;
[244]109}
110
[245]111.admincontent #nopermissionwarning {
112 margin: 20px 50px;
113}
114
[244]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 {
[247]130 background-color: #408040;
[244]131 bottom: 0;
132}
133
134
135
[245]136/*========================================
137- Inventory dialog
138*/
[244]139
[149]140#info {
[163]141 background-color: #aaaaaa;
142 position: absolute;
143 bottom: 10px;
144 left: 10px;
[149]145}
[163]146.invTable {
147 table-layout: fixed;
148 padding: 0px;
149 margin: 0px;
150 border-collapse: collapse;
151}
152.invField {
[244]153 width: 58px;
154 height: 40px;
[163]155 padding: 1px 4px;
156 margin: 0px;
157 border: 1px solid gray;
[245]158 background-color: #303030;
[163]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}
[245]172
173#equipmentTable .invFieldText {
174 display: none;
175}
176
[171]177.inventoryButton {
178 color: #00ff00;
179 cursor: pointer;
180}
181#playerInventoryDialog {
182 display:none;
183}
[179]184
[171]185.ui-dialog {
186 z-index:1011 !important;
187}
188.ui-widget-overlay {
189 z-index:1010 !important;
190}
[163]191
[244]192
[245]193
[244]194/* Map controls */
195
196
197.webmap-control a,
198.webmap-control a:hover {
199 text-decoration: none;
[179]200}
201
[244]202.webmap-control {
[179]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;
[244]208 white-space: nowrap;
[179]209}
210
Note: See TracBrowser for help on using the repository browser.