colibris: introduce skin variants, in order to customize the rendering

This provide a nice way to change the colors of main containers from settings file. See comment inside settings for how it works
This commit is contained in:
Sebastian Castro 2020-04-07 17:33:40 +02:00 committed by muxator
parent 913d5fd0d9
commit 709e5d2233
13 changed files with 418 additions and 20 deletions

View file

@ -225,7 +225,7 @@ function Ace2Editor()
var iframeHTML = [];
iframeHTML.push(doctype);
iframeHTML.push("<html class='inner-editor'><head>");
iframeHTML.push("<html class='inner-editor " + clientVars.skinVariants + "'><head>");
// calls to these functions ($$INCLUDE_...) are replaced when this file is processed
// and compressed, putting the compressed code from the named file directly into the
@ -316,7 +316,7 @@ window.onload = function () {\n\
}, 0);\n\
}';
var outerHTML = [doctype, '<html class="inner-editor outerdoc"><head>']
var outerHTML = [doctype, '<html class="inner-editor outerdoc ' + clientVars.skinVariants + '"><head>']
var includedCSS = [];
var $$INCLUDE_CSS = function(filename) {includedCSS.push(filename)};