mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
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:
parent
913d5fd0d9
commit
709e5d2233
13 changed files with 418 additions and 20 deletions
|
@ -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)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue