Fixed the CSS further (this time: NO beautifiers).

This commit is contained in:
Simon Beginn
2020-01-24 23:38:56 +01:00
parent 157dfb3f03
commit 74dc5b0ceb
3 changed files with 1665 additions and 5738 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,16 @@
.servers-list .server .server-info .server-output-link-viewer {
display: none;
}
.servers-list .server .server-info .server-graph-viewer {
display: none;
}
.enterprise-plus .navbar .enterprise-upgrade, .enterprise-plus-license .navbar .enterprise-upgrade, .enterprise-plus .navbar .enterprise-plus-upgrade, .enterprise-plus-license .navbar .enterprise-plus-upgrade {
display: none;
}
.enterprise-modal .enterprise-buttons .premium-switch, .enterprise-modal .enterprise-buttons .enterprise-switch, .enterprise-modal .enterprise-buttons .enterprise-plus-switch {
display: none;
}
.enterprise-modal .modal .enterprise-info .premium-plan,
.enterprise-modal .modal .enterprise-info .enterprise-plan {
display: none;
}

View File

@@ -30,6 +30,8 @@ if(isset($_GET['path'])) {
//Load the new css file and change all invisible blocks to visible (this will show a little bit too much, but whatever...)
$stylesheet .= file_get_contents('enterprise_plus.css');
$stylesheet = preg_replace('/(.*display:.?)none.*/', '$1inline-block', $stylesheet);
//Now fix some too aggressive display strategies by appending their overrides...
$stylesheet .= file_get_contents('enterprise_plus_fix.css');
}
$stylesheet .= "* { color: rgb(57, 83, 120); }\n.dark * { color: rgb(200, 242, 242); }\n.navbar .navbar-brand { transform:rotateZ(180deg); }\n.footer-brand { opacity: 0; }\n/* Generated for $license license */";