From 2180db9debec5ad86dd2d089be7ece80bee064a0 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 15 Jun 2016 15:09:21 +0200 Subject: [sysconfignew] Move css from global file to module specific one --- modules-available/sysconfignew/style.css | 59 +++++++++++++++++++++++++ style/default.css | 74 -------------------------------- 2 files changed, 59 insertions(+), 74 deletions(-) create mode 100644 modules-available/sysconfignew/style.css diff --git a/modules-available/sysconfignew/style.css b/modules-available/sysconfignew/style.css new file mode 100644 index 00000000..43f708d1 --- /dev/null +++ b/modules-available/sysconfignew/style.css @@ -0,0 +1,59 @@ +.mod-nav { + width: 250px; + float: left; + margin-right: 4px; + border-right: solid 1px #DDD; + padding: 4px; + height: 545px; + overflow: auto; +} + +.item { + padding: 4px; + margin: 3px 0; + border-radius: 3px; +} + +.item:HOVER { + background-color: #EEE; + cursor: pointer; +} + +.item-link { + color: #5893C6; +} + +.item-lock { + color: #939393; +} + +.dir-icon { + color: #2E6DA4; +} + +.folder { + padding-left: 16px; + display: none; + border-left: dashed 1px #CCC; +} + +#editor-header{ + display: block; + float: none; + width: 875px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.mod-editor{ + display: block; + float: none; + resize: none; + width: 875px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +textarea.form-control .editor-box{ + height: 520px; +} diff --git a/style/default.css b/style/default.css index bf1834d6..ab9eca08 100644 --- a/style/default.css +++ b/style/default.css @@ -478,77 +478,3 @@ li.slx-submenu a { nav.navbar.sidebar { color: #eee; } - -/* - * Sysconfig Module Editor - */ - -.mod-nav { - width: 250px; - float: left; - margin-right: 4px; - border-right: solid 1px #DDD; - padding: 4px; - height: 545px; - overflow: auto; -} - -.item { - padding: 4px; - margin: 3px 0; - border-radius: 3px; -} - -.item:HOVER { - background-color: #EEE; - cursor: pointer; -} - -.item-link { - color: #5893C6; -} - -.item-lock { - color: #939393; -} - -.dir-icon { - color: #2E6DA4; -} - -.folder { - padding-left: 16px; - display: none; - border-left: dashed 1px #CCC; -} - -#editor-header{ - display: block; - float: none; - width: 875px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} - -.mod-editor{ - display: block; - float: none; - resize: none; - width: 875px; - border-top-right-radius: 0; - border-top-left-radius: 0; -} - -.slx-cfg-toggle > input[type=checkbox] ~ label { - font-weight: normal; -} - -.slx-cfg-toggle > input[type=checkbox]:checked ~ label { - font-weight: bold; -} - -/* what's this? -textarea.form-control .editor-box{ - height: 520px; -} -*/ -- cgit v1.2.3-55-g7522