/*======================================== - Generic page layout */ body { margin: 0; padding: 0; } .adminwrapper { width: 100%; height: 100vh; background-color: #ccc; } .adminnavbar, .admincontent { position: absolute; top: 0; bottom: 0; } /*======================================== - Menu bar */ .adminnavbar { width: 200px; left: 0; background-color: purple; } .adminnavbar > div { margin: 5px; } /*---------------------------------------- - Menu entries */ .adminnavbar ul { margin-top: 5px; } .adminnavbar #adminmenu .menu_button { display: none; } .adminnavbar #adminmenu .menu_button.allowed { display: inline; } .adminnavbar #adminmenu .menu_button a { color: #000; text-decoration: none; } .adminnavbar #adminmenu .current_tab { font-weight: bold; text-transform: uppercase; } /*---------------------------------------- - Server stats */ .adminnavbar #serverstats { margin-bottom: 20px; display: none; color: #000; text-decoration: none; } .adminnavbar #serverstats #stats_time { white-space: nowrap; } /*---------------------------------------- - Session state box */ .adminnavbar #userstate { position: absolute; bottom: 0px; left: 0px; right: 0px; background-color: green; } .adminnavbar #userstate #username { padding-left: 10px; } .adminnavbar #userstate > div { display: none; } /*======================================== - Content area */ .admincontent { position: absolute; right: 0; left: 200px; background-color: #a04; } .admincontent #nopermissionwarning { margin: 20px 50px; } .admincontent .contenttab { position: absolute; top: 0; right: 0; left: 0px; display: none; } .admincontent .current_tab { display: block; } /* Individual tabs */ .adminmap { background-color: #260040; bottom: 0; } /*======================================== - Inventory dialog */ #info { background-color: #aaaaaa; position: absolute; bottom: 10px; left: 10px; } .invTable { table-layout: fixed; padding: 0px; margin: 0px; border-collapse: collapse; } .invField { width: 58px; height: 40px; padding: 1px 4px; margin: 0px; border: 1px solid gray; background-color: #303030; background-size: 58px; background-repeat: no-repeat; background-position: center; vertical-align: bottom; text-align: right; font-size: 14pt; color: #ffffff; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; } #equipmentTable .invFieldText { display: none; } .inventoryButton { color: #00ff00; cursor: pointer; } #playerInventoryDialog { display:none; } .ui-dialog { z-index:1011 !important; } .ui-widget-overlay { z-index:1010 !important; } /* Map controls */ .webmap-control a, .webmap-control a:hover { text-decoration: none; } .webmap-control { box-shadow: 0 1px 5px rgba(0,0,0,0.4); background: #fff; border-radius: 5px; padding: 6px 10px 6px 6px; color: #333; white-space: nowrap; }