openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 2fb49afbf7f9b22d0159c1702ba5d72aa1ce5928
parent 005b3b053403b92ad0e47e6ca9e5d60d5711f49c
Author: Jan Dankert <develop@jandankert.de>
Date:   Tue, 30 Nov 2021 00:25:32 +0100

Cleanup the notices.

Diffstat:
Mdev-helper/docker/openrat-dev/docker-compose.yml | 1+
Mmodules/cms/Dispatcher.class.php | 1+
Mmodules/cms/ui/themes/default/script/openrat/dialog.js | 10+++++++++-
Mmodules/cms/ui/themes/default/style/openrat-notices.less | 14++++++++------
Mmodules/cms/ui/themes/default/style/openrat-workbench.less | 1+
Mmodules/cms/ui/themes/default/style/openrat.css | 42+++++++++++++++++++++++-------------------
Mmodules/cms/ui/themes/default/style/openrat.min.css | 4++--
Mmodules/cms/ui/themes/default/style/theme/openrat-theme.less | 35+++++++++++++----------------------
8 files changed, 58 insertions(+), 50 deletions(-)

diff --git a/dev-helper/docker/openrat-dev/docker-compose.yml b/dev-helper/docker/openrat-dev/docker-compose.yml @@ -14,6 +14,7 @@ services: MYSQL_PASSWORD: dsfg77er35fsd084351 cms: + #network_mode: "host" depends_on: - db build: ../../../ diff --git a/modules/cms/Dispatcher.class.php b/modules/cms/Dispatcher.class.php @@ -58,6 +58,7 @@ class Dispatcher */ public function doAction() { + sleep(1); // Start the session. All classes should have been loaded up to now. session_name('or_sid'); session_start(); diff --git a/modules/cms/ui/themes/default/script/openrat/dialog.js b/modules/cms/ui/themes/default/script/openrat/dialog.js @@ -82,7 +82,15 @@ export default class Dialog { this.view = view; - return this.view.start( this.element ); + Workbench.getInstance().startSpinner(); + + let viewPromise = this.view.start( this.element ); + + viewPromise.then( + () => Workbench.getInstance().stopSpinner() + ); + + return viewPromise; } diff --git a/modules/cms/ui/themes/default/style/openrat-notices.less b/modules/cms/ui/themes/default/style/openrat-notices.less @@ -14,7 +14,9 @@ &notice { - border: 2px solid @color-overridden-by-theme; + border-style: solid; + border-width: 1px 1px 1px 1em; + border-color: @color-overridden-by-theme; padding: 1.1em; position: relative; width: 90%; @@ -22,12 +24,12 @@ margin:1em; //margin-left: 50%; - .border-radius(1em); + .border-radius(0.2em); @media @smartphones { .border-radius(0); - border: 1px solid; - border-bottom: 0; + border-style: solid; + border-width: 1px 0 0 1em; margin:0; font-size: 0.75em; width: 100%; @@ -73,7 +75,7 @@ font-size: 1.1em; } - &:after { + &:after {/* content: ''; position: absolute; right: 0; @@ -83,7 +85,7 @@ border: 1em solid transparent; border-right: 0; margin-top: -1em; - margin-right: -1em; + margin-right: -1em;*/ } &-log { diff --git a/modules/cms/ui/themes/default/style/openrat-workbench.less b/modules/cms/ui/themes/default/style/openrat-workbench.less @@ -349,6 +349,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. &-loader { position: absolute; + top: 30%; left: 0; right: 0; margin-left: auto; diff --git a/modules/cms/ui/themes/default/style/openrat.css b/modules/cms/ui/themes/default/style/openrat.css @@ -1157,15 +1157,17 @@ th { /* Include style: /default/style/openrat-notices */ /* Usage to this variable is safe to be removed */ .or-notice { - border: 2px solid #000000; + border-style: solid; + border-width: 1px 1px 1px 1em; + border-color: #000000; padding: 1.1em; position: relative; width: 90%; margin: 1em; - border-radius: 1em; - -moz-border-radius: 1em; - -webkit-border-radius: 1em; - -khtml-border-radius: 1em; + border-radius: 0.2em; + -moz-border-radius: 0.2em; + -webkit-border-radius: 0.2em; + -khtml-border-radius: 0.2em; } @media only screen and (max-width: 55rem) { .or-notice { @@ -1173,8 +1175,8 @@ th { -moz-border-radius: 0; -webkit-border-radius: 0; -khtml-border-radius: 0; - border: 1px solid; - border-bottom: 0; + border-style: solid; + border-width: 1px 0 0 1em; margin: 0; font-size: 0.75em; width: 100%; @@ -1214,23 +1216,24 @@ th { font-size: 1.1em; } .or-notice:after { - content: ''; - position: absolute; - right: 0; - top: 50%; - width: 0; - height: 0; - border: 1em solid transparent; - border-right: 0; - margin-top: -1em; - margin-right: -1em; + /* + content: ''; + position: absolute; + right: 0; + top: 50%; + width: 0; + height: 0; + border: 1em solid transparent; + border-right: 0; + margin-top: -1em; + margin-right: -1em;*/ } .or-notice-log { font-family: 'Source Code Pro', Monospace, Monospaced, Courier; height: 15em; overflow-y: scroll; } -/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22var%5C%2Fwww%5C%2Flocalhost%5C%2Fcms%5C%2Fmodules%5C%2Fcms%5C%2Fui%5C%2Fthemes%5C%2Fdefault%5C%2Fstyle%5C%2Fopenrat-notices.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3BAAeI%2CIAAC%3BCACG%2CyBAAA%3BCACA%3BCACA%3BCACA%3BCAEA%3BCAdJ%2CkBAAA%3BCACA%2CuBAAA%3BCACA%2C0BAAA%3BCACA%2CyBAAA%3B%3BAAyBI%3BCAAA%2CIApBH%3BEARD%2CgBAAA%3BEACA%2CqBAAA%3BEACA%2CwBAAA%3BEACA%2CuBAAA%3BEAkBM%2CiBAAA%3BEACA%3BEACA%3BEACA%3BEACA%3B%3B%3BAAGF%2CIApBH%2CMAoBI%3BCACG%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BAAQJ%3BCAAA%2CIAnCH%2CMAoBI%3BEAUK%3BEACA%3BEACA%3BEACA%3B%3B%3BAAIN%2CIArCH%2CMAqCI%3BCACG%3BCACA%2CeAAA%3BCACA%3BCACA%3BCACA%3B%3BAAGJ%2CIA7CH%2CMA6CI%2CMACG%3BCACI%3B%3BAA%5C%2FCZ%2CIAAC%2CMAoDG%2CIAAG%3BCACC%3B%3BAAGJ%2CIAxDH%2CMAwDI%3BCACG%3B%3BAAGJ%2CIA5DH%2CMA4DI%3BCACG%2CSAAS%2CEAAT%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%2C6BAAA%3BCACA%3BCACA%3BCACA%3B%3BAAGJ%2CIAzEH%2CMAyEI%3BCACG%2CaAAa%2CiDAAb%3BCACA%3BCACA%22%7D */ +/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22var%5C%2Fwww%5C%2Flocalhost%5C%2Fcms%5C%2Fmodules%5C%2Fcms%5C%2Fui%5C%2Fthemes%5C%2Fdefault%5C%2Fstyle%5C%2Fopenrat-notices.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3BAAeI%2CIAAC%3BCACG%3BCACA%2C6BAAA%3BCACA%2CqBAAA%3BCACA%3BCACA%3BCACA%3BCAEA%3BCAhBJ%2CoBAAA%3BCACA%2CyBAAA%3BCACA%2C4BAAA%3BCACA%2C2BAAA%3B%3BAA2BI%3BCAAA%2CIAtBH%3BEARD%2CgBAAA%3BEACA%2CqBAAA%3BEACA%2CwBAAA%3BEACA%2CuBAAA%3BEAoBM%3BEACA%2CyBAAA%3BEACA%3BEACA%3BEACA%3B%3B%3BAAGF%2CIAtBH%2CMAsBI%3BCACG%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BAAQJ%3BCAAA%2CIArCH%2CMAsBI%3BEAUK%3BEACA%3BEACA%3BEACA%3B%3B%3BAAIN%2CIAvCH%2CMAuCI%3BCACG%3BCACA%2CeAAA%3BCACA%3BCACA%3BCACA%3B%3BAAGJ%2CIA%5C%2FCH%2CMA%2BCI%2CMACG%3BCACI%3B%3BAAjDZ%2CIAAC%2CMAsDG%2CIAAG%3BCACC%3B%3BAAGJ%2CIA1DH%2CMA0DI%3BCACG%3B%3BAAGJ%2CIA9DH%2CMA8DI%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3BAAaD%2CIA3EH%2CMA2EI%3BCACG%2CaAAa%2CiDAAb%3BCACA%3BCACA%22%7D */ /* Include style: /default/style/openrat-search */ .or-search--on-active { display: none; @@ -1717,6 +1720,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. } .or-loader { position: absolute; + top: 30%; left: 0; right: 0; margin-left: auto; @@ -1751,7 +1755,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. font-size: 1.1em; } } -/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22var%5C%2Fwww%5C%2Flocalhost%5C%2Fcms%5C%2Fmodules%5C%2Fcms%5C%2Fui%5C%2Fthemes%5C%2Fdefault%5C%2Fstyle%5C%2Fopenrat-workbench.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3BAAoCA%3B%3B%3BAAEI%2CGAAC%3BCAEG%3BCACA%3BCACA%3BCACA%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3BAAEA%2CGAPH%2CUAOI%3BCAEC%3B%3BAAIF%2CGAbH%2CUAaI%3B%3BCAEC%3BCACA%3BCACA%3B%3B%3B%3B%3B%3BAAJF%2CGAbH%2CUAaI%2COAeG%3BCAGA%3BCACA%3B%3BAAQJ%2CGAxCH%2CUAwCI%3BCACC%3B%3BAAGF%2CGA5CH%2CUA4CI%3BCACG%3BCACA%3BCACA%3BCACA%3BCACA%3BCAGA%3B%3BAARJ%2CGA5CH%2CUA4CI%2CMAUG%2CcAEI%3BCACI%3B%3BAAOJ%3BCAAA%2CGAhEX%2CUA4CI%2CMAUG%2CcAMI%2CKAAI%3BCAIJ%2CGAhEX%2CUA4CI%2CMAUG%2CcAMgB%3BEAEJ%3B%3B%3BAAQhB%2CGAtEH%2CUAsEI%3BCACG%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3BAA%2BDJ%2CGAtIH%2CUAsII%3BCACG%3B%3BAAGJ%2CGA1IH%2CUA0II%3BCACG%3B%3BAAGJ%2CGA9IH%2CUA8II%2CqBACG%3BCACI%3B%3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%3BCAAA%2CGALC%3BEAGO%3B%3B%3BAAmBR%2CGAAC%3BCAEC%3BCACA%3BCACA%3BCACA%3BCACA%3BCAEA%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BAAEA%2CGAdD%2COAcE%3BCAEC%3BCACA%3BCACA%3BCACA%2CkCAAA%3B%3BAAEA%3BCACI%3BEAAK%2CWAAW%2CYAAX%3B%3BCACP%3BEAAO%2CWAAW%2CcAAX%3B%3B%3BAAOX%2CmBAHqD%3BCAGrD%2CGA9BD%2COAcE%3BEAcG%3B%3B%3BAAoBV%3BCALI%3BEACI%22%7D */ +/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22var%5C%2Fwww%5C%2Flocalhost%5C%2Fcms%5C%2Fmodules%5C%2Fcms%5C%2Fui%5C%2Fthemes%5C%2Fdefault%5C%2Fstyle%5C%2Fopenrat-workbench.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3BAAoCA%3B%3B%3BAAEI%2CGAAC%3BCAEG%3BCACA%3BCACA%3BCACA%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3BAAEA%2CGAPH%2CUAOI%3BCAEC%3B%3BAAIF%2CGAbH%2CUAaI%3B%3BCAEC%3BCACA%3BCACA%3B%3B%3B%3B%3B%3BAAJF%2CGAbH%2CUAaI%2COAeG%3BCAGA%3BCACA%3B%3BAAQJ%2CGAxCH%2CUAwCI%3BCACC%3B%3BAAGF%2CGA5CH%2CUA4CI%3BCACG%3BCACA%3BCACA%3BCACA%3BCACA%3BCAGA%3B%3BAARJ%2CGA5CH%2CUA4CI%2CMAUG%2CcAEI%3BCACI%3B%3BAAOJ%3BCAAA%2CGAhEX%2CUA4CI%2CMAUG%2CcAMI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2CUAwJI%3BEAuGO%3B%3B%3BAAvGR%2CGAxJH%2CUAwJI%2CWA2GG%3BCACI%3B%3BAAOZ%2CGAAC%3BCACG%3B%3BAAKJ%3BCAAA%2CGANC%3BEAGO%3B%3B%3BAASR%3BCAAA%2CGALC%3BEAGO%3B%3B%3BAAIR%2CGAAC%3BCACG%3B%3BAAIJ%3BCAAA%2CGALC%3BEAGO%3B%3B%3BAAIR%2CGAAC%3BCACG%3B%3BAAIJ%3BCAAA%2CGALC%3BEAGO%3B%3B%3BAAmBR%2CGAAC%3BCAEC%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCAEA%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BAAEA%2CGAfD%2COAeE%3BCAEC%3BCACA%3BCACA%3BCACA%2CkCAAA%3B%3BAAEA%3BCACI%3BEAAK%2CWAAW%2CYAAX%3B%3BCACP%3BEAAO%2CWAAW%2CcAAX%3B%3B%3BAAOX%2CmBAHqD%3BCAGrD%2CGA%5C%2FBD%2COAeE%3BEAcG%3B%3B%3BAAoBV%3BCALI%3BEACI%22%7D */ /* Include style: /../../../template_engine/components/html/component_editor/editor */ .editor__text-editor { width: 100%; diff --git a/modules/cms/ui/themes/default/style/openrat.min.css b/modules/cms/ui/themes/default/style/openrat.min.css @@ -13,13 +13,13 @@ .or-navigation--is-open{display: flex;flex-direction: row}.or-navigation-filler{height: 100%;width: 12em;opacity: 0.8;filter: blur(10em)}@media only screen and (max-width: 55rem){.or-navigation-filler{width: 0}}.or-navigation-filler-icon{opacity: 1;font-size: 3em;position: absolute;right: 20px;top: 20px}.or-navigation-content{flex: 1;height: 100%;z-index: 3}.or-navigation-content .or-view{height: 100%}.or-navtree-node{margin: 0;padding: .1em 0;line-height: 18px;font-weight: normal;white-space: nowrap}@media only screen and (max-width: 55rem){.or-navtree-node{padding: .2em 0}}.or-navtree-node--selected{font-weight: bold}.or-navtree-node--selected > div > a{font-weight: bold}.or-navtree-node-control{width: 18px;min-width: 18px;height: 18px;float: left;cursor: pointer}.or-navtree-list{list-style-type: none;margin: 0;padding: 0}.or-navtree-list ul{margin-left: 18px} .or-nojs-text{display: block}.or-visible-for-nojs{display: none} /*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family: 'Oxygen', 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size: 0.9em;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%}body{margin: 0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display: block}audio,canvas,progress,video{display: inline-block;vertical-align: baseline}audio:not([controls]){display: none;height: 0}[hidden],template{display: none}a{background: transparent}a:active,a:hover{outline: 0}abbr[title]{border-bottom: 1px dotted}b,strong{font-weight: bold}dfn{font-style: italic}h1{font-size: 1.2em;margin: .67em 0}mark{background: #ff0;color: #000}small{font-size: 80%}sub,sup{font-size: 75%;line-height: 0;position: relative;vertical-align: baseline}sup{top: -0.5em}sub{bottom: -0.25em}img{border: 0}svg:not(:root){overflow: hidden}figure{margin: 1em 40px}hr{-moz-box-sizing: content-box;box-sizing: content-box;height: 0}pre{overflow: auto}code,kbd,pre,samp,time{font-family: 'Source Code Pro', monospace, monospace;font-size: 1em}button,input,optgroup,select,textarea{color: inherit;background-color: inherit;font: inherit;margin: 0}button{overflow: visible}button,select{text-transform: none}button,html input[type="button"]{-webkit-appearance: button;cursor: pointer}button[disabled],html input[disabled]{cursor: default}button input::-moz-focus-inner{border: 0;padding: 0}input{line-height: normal}input[type="reset"],input[type="submit"]{-webkit-appearance: button;cursor: pointer}input[type="checkbox"],input[type="radio"]{box-sizing: border-box;padding: 0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height: auto}input[type="search"]{-webkit-appearance: textfield;-moz-box-sizing: content-box;-webkit-box-sizing: content-box;box-sizing: content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance: none}fieldset{border: 1px solid #c0c0c0;margin: 0 2px;padding: .35em .625em .75em}legend{border: 0;padding: 0}textarea{overflow: auto}optgroup{font-weight: bold}table{border-collapse: collapse;border-spacing: 0}td,th{padding: 0;text-align: left}*,::before,::after{box-sizing: border-box} -.or-notice{border: 2px solid #000;padding: 1.1em;position: relative;width: 90%;margin: 1em;border-radius: 1em;-moz-border-radius: 1em;-webkit-border-radius: 1em;-khtml-border-radius: 1em}@media only screen and (max-width: 55rem){.or-notice{border-radius: 0;-moz-border-radius: 0;-webkit-border-radius: 0;-khtml-border-radius: 0;border: 1px solid;border-bottom: 0;margin: 0;font-size: 0.75em;width: 100%}}.or-notice-container{display: block;position: fixed;bottom: 0;right: 0;padding: 0;width: 50%;z-index: 5}@media only screen and (max-width: 55rem){.or-notice-container{right: 0;bottom: 0;width: 100%;padding: 0}}.or-notice-toolbar{float: right;margin: 0 .2em;font-size: 2em;color: gray;cursor: pointer}.or-notice:hover .or-notice-toolbar{color: black}.or-notice div.text{font-weight: bold}.or-notice-text{font-size: 1.1em}.or-notice:after{content: '';position: absolute;right: 0;top: 50%;width: 0;height: 0;border: 1em solid transparent;border-right: 0;margin-top: -1em;margin-right: -1em}.or-notice-log{font-family: 'Source Code Pro', Monospace, Monospaced, Courier;height: 15em;overflow-y: scroll} +.or-notice{border-style: solid;border-width: 1px 1px 1px 1em;border-color: #000;padding: 1.1em;position: relative;width: 90%;margin: 1em;border-radius: .2em;-moz-border-radius: .2em;-webkit-border-radius: .2em;-khtml-border-radius: .2em}@media only screen and (max-width: 55rem){.or-notice{border-radius: 0;-moz-border-radius: 0;-webkit-border-radius: 0;-khtml-border-radius: 0;border-style: solid;border-width: 1px 0 0 1em;margin: 0;font-size: 0.75em;width: 100%}}.or-notice-container{display: block;position: fixed;bottom: 0;right: 0;padding: 0;width: 50%;z-index: 5}@media only screen and (max-width: 55rem){.or-notice-container{right: 0;bottom: 0;width: 100%;padding: 0}}.or-notice-toolbar{float: right;margin: 0 .2em;font-size: 2em;color: gray;cursor: pointer}.or-notice:hover .or-notice-toolbar{color: black}.or-notice div.text{font-weight: bold}.or-notice-text{font-size: 1.1em}.or-notice-log{font-family: 'Source Code Pro', Monospace, Monospaced, Courier;height: 15em;overflow-y: scroll} .or-search--on-active{display: none}.or-search--on-inactive{display: inline}.or-search-input{border-bottom: .1em solid}.or-search-input .or-input{border: 0;box-shadow: 0 0 0 !important;border-radius: 0;width: 8em}.or-search--is-active .or-search--on-active{display: inline}.or-search--is-active .or-search--on-inactive{display: none}.or-search-result{display: none;padding: 1em}.or-search-result-entry{padding-top: 0.2em} .or-selector-tree{display: none}.or-selector-search{display: none}.or-selector--is-tree-active .or-selector-tree{display: block}.or-selector--is-search-active .or-selector-search{display: block} html,body{width: 100%;height: 100%}@media only screen and (min-width: 56rem){body:before{content: "";position: fixed;left: 0;right: 0;z-index: -1;width: 100%;height: 100%;display: block;background-size: cover;background-position: center;background-repeat: no-repeat}}.or-editor-toolbar{font-size: 1.5em}iframe{width: 100%;height: 500px;display: block}a:link,a:visited{font-weight: normal;text-decoration: none}a:active,a:hover{font-weight: normal;text-decoration: none}.or-act-clickable{cursor: pointer}.CodeMirror{height: auto}.or-search > .or-input{box-shadow: none !important;background-color: transparent !important}.or--initial-hidden{opacity: 0}.or-view-flying-button{display: block;bottom: 1em;right: 1em;position: absolute}.or-linklist{display: flex;flex-direction: column;padding: 10% 20%}.or-linklist > .or-linklist-line{border: 1px solid;margin-top: 1em;padding: 1em;border-radius: .5em;-moz-border-radius: .5em;-webkit-border-radius: .5em;-khtml-border-radius: .5em}.or-dirty{font-weight: bold}.or-draggable{cursor: move}.or-droppable--active{background-color: #3c8b2e !important;cursor: move;z-index: 3}.or-droppable--hover{background-color: #08f169 !important;cursor: move;z-index: 3}.or--invisible{visibility: hidden}.or--visible{visibility: visible}.or-link{color: inherit}.or-link--is-active{font-weight: bold}legend{font-size: 1.1em;font-weight: bold;padding: 0 .5em} .or-view{padding: 0.5em}.or-view-header{font-size: 1.2em} -.or-workbench{width: 100%;height: 100%;display: flex;flex-direction: row}.or-workbench--visible-on-dialog-open{z-index: 3}.or-workbench-screen{display: flex;flex-direction: column;position: relative}.or-workbench-screen > *{overflow-y: auto;overflow-x: hidden}.or-workbench-main{flex: 1}.or-workbench-title{height: 3.0rem;max-height: 3.0rem;min-height: 3.0rem;overflow: hidden;padding: 0.5em;font-size: 1.2em}.or-workbench-title .toolbar-icon .arrow-down{display: inline}@media only screen and (max-width: 55rem){.or-workbench-title .toolbar-icon span.label,.or-workbench-title .toolbar-icon .arrow-down{display: none}}.or-workbench-content{flex: 1}.or-workbench--visible-on-small{display: none}.or-workbench--visible-on-wide{display: block}.or-workbench--navigation-is-small .or-workbench--visible-on-wide{display: none}.or-workbench--navigation-is-small .or-workbench--visible-on-small{display: block}.or-workbench-navigation{display: flex;flex-direction: row;width: 30em}.or-workbench-navigation-content{flex: 1}@media only screen and (max-width: 55rem){.or-workbench-navigation-content{flex: none}}.or-workbench-navigation-filler{flex: 0;opacity: 0.6}.or-workbench-navigation-container{width: 100%;position: relative;padding: 0.7em;overflow-x: hidden}.or-workbench-navigation--is-small{width: 0}.or-workbench-navigation--is-small .or-workbench-navigation-container{width: 0;overflow-y: hidden}.or-workbench-navigation--is-small .or-workbench-navigation-container .or-navtree{opacity: 0.2}.or-workbench-navigation--is-small .or-navtree{opacity: 0}@media only screen and (max-width: 55rem){.or-workbench-navigation{width: 0}.or-workbench-navigation--is-open{position: fixed;width: 100%;z-index: 1;opacity: 1;height: 100%}.or-workbench-navigation--is-open .or-workbench-navigation-content{width: 90%}.or-workbench-navigation--is-open .or-workbench-navigation-filler{flex: 1}}@media only screen and (min-width: 75rem){.or-workbench-navigation{overflow-y: auto}}.or-workbench-navigation .or-view{height: 100%}.or--visible-on-mobile{display: none}@media only screen and (max-width: 55rem){.or--visible-on-mobile{display: inline}}@media only screen and (max-width: 55rem){.or--visible-on-desktop{display: none}}.or-toggle-nav-small{display: inline}@media only screen and (max-width: 55rem){.or-toggle-nav-small{display: none}}.or-toggle-nav-open-close{display: none}@media only screen and (max-width: 55rem){.or-toggle-nav-open-close{display: inline}}.or-loader{position: absolute;left: 0;right: 0;margin-left: auto;margin-right: auto;border-width: 0.5em;border-style: solid;border-radius: 50%;visibility: hidden;z-index: 6}.or-loader--is-active{visibility: visible;width: 5em;height: 5em;animation: spin 2s linear infinite}@keyframes spin{0%{transform: rotate(0deg)}100%{transform: rotate(360deg)}}@media screen and (prefers-reduced-motion: reduce){.or-loader--is-active{display: none}}@media only screen and (max-width: 55rem){html{font-size: 1.1em}} +.or-workbench{width: 100%;height: 100%;display: flex;flex-direction: row}.or-workbench--visible-on-dialog-open{z-index: 3}.or-workbench-screen{display: flex;flex-direction: column;position: relative}.or-workbench-screen > *{overflow-y: auto;overflow-x: hidden}.or-workbench-main{flex: 1}.or-workbench-title{height: 3.0rem;max-height: 3.0rem;min-height: 3.0rem;overflow: hidden;padding: 0.5em;font-size: 1.2em}.or-workbench-title .toolbar-icon .arrow-down{display: inline}@media only screen and (max-width: 55rem){.or-workbench-title .toolbar-icon span.label,.or-workbench-title .toolbar-icon .arrow-down{display: none}}.or-workbench-content{flex: 1}.or-workbench--visible-on-small{display: none}.or-workbench--visible-on-wide{display: block}.or-workbench--navigation-is-small .or-workbench--visible-on-wide{display: none}.or-workbench--navigation-is-small .or-workbench--visible-on-small{display: block}.or-workbench-navigation{display: flex;flex-direction: row;width: 30em}.or-workbench-navigation-content{flex: 1}@media only screen and (max-width: 55rem){.or-workbench-navigation-content{flex: none}}.or-workbench-navigation-filler{flex: 0;opacity: 0.6}.or-workbench-navigation-container{width: 100%;position: relative;padding: 0.7em;overflow-x: hidden}.or-workbench-navigation--is-small{width: 0}.or-workbench-navigation--is-small .or-workbench-navigation-container{width: 0;overflow-y: hidden}.or-workbench-navigation--is-small .or-workbench-navigation-container .or-navtree{opacity: 0.2}.or-workbench-navigation--is-small .or-navtree{opacity: 0}@media only screen and (max-width: 55rem){.or-workbench-navigation{width: 0}.or-workbench-navigation--is-open{position: fixed;width: 100%;z-index: 1;opacity: 1;height: 100%}.or-workbench-navigation--is-open .or-workbench-navigation-content{width: 90%}.or-workbench-navigation--is-open .or-workbench-navigation-filler{flex: 1}}@media only screen and (min-width: 75rem){.or-workbench-navigation{overflow-y: auto}}.or-workbench-navigation .or-view{height: 100%}.or--visible-on-mobile{display: none}@media only screen and (max-width: 55rem){.or--visible-on-mobile{display: inline}}@media only screen and (max-width: 55rem){.or--visible-on-desktop{display: none}}.or-toggle-nav-small{display: inline}@media only screen and (max-width: 55rem){.or-toggle-nav-small{display: none}}.or-toggle-nav-open-close{display: none}@media only screen and (max-width: 55rem){.or-toggle-nav-open-close{display: inline}}.or-loader{position: absolute;top: 30%;left: 0;right: 0;margin-left: auto;margin-right: auto;border-width: 0.5em;border-style: solid;border-radius: 50%;visibility: hidden;z-index: 6}.or-loader--is-active{visibility: visible;width: 5em;height: 5em;animation: spin 2s linear infinite}@keyframes spin{0%{transform: rotate(0deg)}100%{transform: rotate(360deg)}}@media screen and (prefers-reduced-motion: reduce){.or-loader--is-active{display: none}}@media only screen and (max-width: 55rem){html{font-size: 1.1em}} .editor__text-editor{width: 100%;height: 300px}textarea.editor__code-editor{display: none}div.editor__code-editor{position: absolute;height: 500px;width: 100%;font-size: 14px;z-index: 256}textarea.editor__text-editor,textarea.editor__wiki-editor,textarea.editor__html-editor{width: 100%}a.editorlink:active,a.editorlink:hover{font-weight: normal;text-decoration: none}a.editorlink:link,a.editorlink:visited{font-weight: normal;text-decoration: none} .or-group{margin: 2em 0}.or-group-title{font-size: 1.1em;font-weight: normal;border-bottom: 1px solid} diff --git a/modules/cms/ui/themes/default/style/theme/openrat-theme.less b/modules/cms/ui/themes/default/style/theme/openrat-theme.less @@ -105,52 +105,43 @@ html { } &-notice { - color: black; - line-height: 1.5em; + border-color: @cms-main-title-text-color; + color: @cms-main-title-text-color; + background-color: @cms-main-title-background-color; + line-height: 1.5em; + .box-shadow(3px, 3px, 10px, @cms-main-title-text-color); &--ok { - background-color: @cms-notice-ok-color; - border-color: darken(@cms-notice-ok-color, 10%); + border-left-color: @cms-notice-ok-color; &:after { - border-left-color: darken(@cms-notice-ok-color, 10%); + //border-left-color: darken(@cms-notice-ok-color, 10%); } - - .box-shadow(3px, 3px, 10px, mix(@cms-main-background-color, @cms-notice-ok-color, 20%)); } &--warning { - background-color: @cms-notice-warning-color; - border-color: darken(@cms-notice-warning-color, 10%); + border-left-color: @cms-notice-warning-color; &:after { - border-left-color: darken(@cms-notice-warning-color, 10%); + //border-left-color: darken(@cms-notice-warning-color, 10%); } - .box-shadow(3px, 3px, 10px, mix(@cms-main-background-color, @cms-notice-warning-color, 20%)); } &--info { - background-color: @cms-notice-info-color; - border-color: darken(@cms-notice-info-color, 10%); + border-left-color: @cms-notice-info-color; &:after { - border-left-color: darken(@cms-notice-info-color, 10%); + //border-left-color: darken(@cms-notice-info-color, 10%); } - - .box-shadow(3px, 3px, 10px, mix(@cms-main-background-color, @cms-notice-info-color, 20%)); } &--error { - background-color: @cms-notice-error-color; - border-color: darken(@cms-notice-error-color, 10%); + border-left-color: @cms-notice-error-color; &:after { - border-left-color: darken(@cms-notice-error-color, 10%); + //border-left-color: darken(@cms-notice-error-color, 10%); } - - .box-shadow(3px, 3px, 10px, mix(@cms-main-background-color, @cms-notice-error-color, 20%)); - } }