Fixed the CSS further (this time: NO beautifiers).
This commit is contained in:
File diff suppressed because one or more lines are too long
16
www/enterprise_plus_fix.css
Normal file
16
www/enterprise_plus_fix.css
Normal 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;
|
||||
}
|
@@ -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 */";
|
||||
|
||||
|
Reference in New Issue
Block a user