Move editor.css to theme/icecoder.css and make default

This commit is contained in:
mattpass
2020-07-05 09:25:16 +01:00
parent 5fc797176d
commit d7bb490a50
7 changed files with 43 additions and 88 deletions

View File

@@ -21,12 +21,12 @@ $t = $text['settings-screen'];
.cm-tab {border-left-width: <?php echo $ICEcoder["visibleTabs"] ? "1px" : "0";?>; margin-left: <?php echo $ICEcoder["visibleTabs"] ? "-1px" : "0";?>; border-left-style: solid; border-left-color: rgba(255,255,255,0.2)}
</style>
<link rel="stylesheet" href="../assets/css/editor.css?microtime=<?php echo microtime(true);?>">
<link rel="stylesheet" href="../assets/css/theme/icecoder.css?microtime=<?php echo microtime(true);?>">
<?php
$themeArray = array();
$handle = opendir('../assets/css/theme/');
while (false !== ($file = readdir($handle))) {
if ($file !== "." && $file != "..") {
if ($file !== "." && $file !== ".." && $file !== "icecoder.css") {
array_push($themeArray,basename($file,".css"));
}
}