openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

commit 38a1f85cb9d44cc68edb0363298c02bf5b9ced34
parent f66c935026d38aa9cc712dca917c0c6170cfbd3e
Author: Jan Dankert <develop@jandankert.de>
Date:   Fri,  2 Apr 2021 00:31:39 +0200

Only 1 Button for shrinking the menu on desktop

Diffstat:
Mmodules/cms/ui/themes/default/html/views/title/show.php | 3---
Mmodules/cms/ui/themes/default/html/views/title/show.tpl.src.xml | 5++++-
Mmodules/cms/ui/themes/default/style/openrat-breadcrumb.less | 2+-
Mmodules/cms/ui/themes/default/style/openrat.css | 2+-
Mmodules/cms/ui/themes/default/style/openrat.min.css | 2+-
5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/cms/ui/themes/default/html/views/title/show.php b/modules/cms/ui/themes/default/html/views/title/show.php @@ -4,9 +4,6 @@ <div class="<?php echo O::escapeHtml('or-toolbar-icon or-act-nav-open-close or--visible-on-mobile') ?>"><?php echo O::escapeHtml('') ?> <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--menu-menu') ?>"><?php echo O::escapeHtml('') ?></i> </div> - <div class="<?php echo O::escapeHtml('or-toolbar-icon or-workbench--visible-on-wide or- or-act-nav-small or-workbench--visible-on-dialog-open or--visible-on-desktop') ?>"><?php echo O::escapeHtml('') ?> - <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--menu-menu') ?>"><?php echo O::escapeHtml('') ?></i> - </div> <div class="<?php echo O::escapeHtml('or-toolbar-icon or-workbench--visible-on-small or-act-nav-wide or-workbench--visible-on-dialog-open or--visible-on-desktop') ?>"><?php echo O::escapeHtml('') ?> <i class="<?php echo O::escapeHtml('or-image-icon or-image-icon--menu-menu') ?>"><?php echo O::escapeHtml('') ?></i> </div> diff --git a/modules/cms/ui/themes/default/html/views/title/show.tpl.src.xml b/modules/cms/ui/themes/default/html/views/title/show.tpl.src.xml @@ -9,10 +9,13 @@ </part> <!-- Shrink the navigation on desktop --> + <!-- <part - class="toolbar-icon,workbench--visible-on-wide,,act-nav-small,workbench--visible-on-dialog-open,-visible-on-desktop"> + class="toolbar-icon,workbench-\\\\-visible-on-wide,,act-nav-small,workbench-\\\\-visible-on-dialog-open,-visible-on-desktop"> <image class="" menu="menu"/> </part> + --> + <!-- Open the navigation on desktop --> <part class="toolbar-icon,workbench--visible-on-small,act-nav-wide,workbench--visible-on-dialog-open,-visible-on-desktop"> diff --git a/modules/cms/ui/themes/default/style/openrat-breadcrumb.less b/modules/cms/ui/themes/default/style/openrat-breadcrumb.less @@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. .or { &-breadcrumb { - margin-left: 1.5em; + margin-left: 0; margin-right: 0.5em; > * { diff --git a/modules/cms/ui/themes/default/style/openrat.css b/modules/cms/ui/themes/default/style/openrat.css @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ .or-breadcrumb { - margin-left: 1.5em; + margin-left: 0; margin-right: 0.5em; } .or-breadcrumb > * { diff --git a/modules/cms/ui/themes/default/style/openrat.min.css b/modules/cms/ui/themes/default/style/openrat.min.css @@ -1,4 +1,4 @@ -.or-breadcrumb{margin-left: 1.5em;margin-right: 0.5em}.or-breadcrumb > *{vertical-align: middle;display: inline;margin-right: 0.3em}@media only screen and (min-width: 100rem){.or-breadcrumb-parent{display: none}}.or-breadcrumb-path{display: none}@media only screen and (min-width: 100rem){.or-breadcrumb-path{display: inline}}.or-breadcrumb-text{font-weight: bold;width: 12em;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;display: inline-block}@media only screen and (max-width: 55rem){.or-breadcrumb-text{width: 5.5em}} +.or-breadcrumb{margin-left: 0;margin-right: 0.5em}.or-breadcrumb > *{vertical-align: middle;display: inline;margin-right: 0.3em}@media only screen and (min-width: 100rem){.or-breadcrumb-parent{display: none}}.or-breadcrumb-path{display: none}@media only screen and (min-width: 100rem){.or-breadcrumb-path{display: inline}}.or-breadcrumb-text{font-weight: bold;width: 12em;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;display: inline-block}@media only screen and (max-width: 55rem){.or-breadcrumb-text{width: 5.5em}} .or-button{z-index: 4}.or-button-knob{margin: 0.5em}.or-button--is-active .or-button-value,.or-button--active-on-hover:hover .or-button-value{display: initial}.or-button-value{display: none;position: absolute;right: 1em} .or-collapsible .or-collapsible-act-switch{cursor: pointer}.or-collapsible .or-collapsible-value{display: block;transform-origin: top}.or-collapsible .or-collapsible-title{padding-bottom: 0.1em}.or-collapsible--is-closed .or-collapsible--on-closed{display: inline}.or-collapsible--is-closed .or-collapsible--on-open{display: none}.or-collapsible--is-closed .or-collapsible-value{transform: scaleY(0);opacity: 0;max-height: 0;overflow: hidden}.or-collapsible--is-open .or-collapsible-value{transform: scaleY(1)}.or-collapsible--is-open .or-collapsible--on-closed{display: none}.or-collapsible--is-open .or-collapsible--on-open{display: inline} .or-dialog{position: absolute;z-index: 2;top: 0;left: 0;width: 100%;display: none;height: 100%;flex-direction: row}.or-dialog--is-open{display: flex}.or-dialog-filler{height: 100%;width: 12em;opacity: 0.6;filter: blur(10em)}@media only screen and (max-width: 55rem){.or-dialog-filler{width: 0}}.or-dialog-filler-icon{opacity: 1;font-size: 3em;position: absolute;right: 20px;top: 20px}.or-dialog-content{flex: 1;overflow: auto;height: 100%;z-index: 3}.or-dialog-content .or-view{height: 100%}