File modules/cms/ui/themes/default/style/openrat-menu.less
Last commit: Fri Dec 6 23:29:56 2024 +0100 Jan Dankert UI: Cleaner profile dialog in navigation menu.
1 /* 2 OpenRat Content Management System 3 Copyright (C) 2002-2010 Jan Dankert 4 5 This program is free software; you can redistribute it and/or 6 modify it under the terms of the GNU General Public License 7 as published by the Free Software Foundation; either version 2 8 of the License, or (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 */ 19 20 /* 21 Basis-Style for Openrat. 22 */ 23 24 25 /* Usage to this variable is safe to be removed */ 26 @color-overridden-by-theme: black; 27 28 .border-radius (@radius) { 29 border-radius: @radius; 30 -moz-border-radius: @radius; 31 -webkit-border-radius: @radius; 32 -khtml-border-radius: @radius; 33 } 34 35 @smartphones: ~"only screen and (max-width: 55rem)"; 36 @smaller: ~"only screen and (max-width: 70rem)"; 37 @not-wide: ~"only screen and (max-width: 85rem)"; 38 39 40 41 .or- { 42 &menu { 43 44 45 display: flex; 46 justify-content: space-between; 47 48 &-category { 49 50 } 51 52 &-shortcut { 53 @media @smaller { 54 display: none; 55 } 56 } 57 58 &-label, &-dropdown-icon { 59 /* do not need */ 60 /*@media @not-wide {*/ 61 display: none; 62 /*}*/ 63 } 64 65 &-group { 66 display: flex; 67 68 // Menüeinträge auf der rechten Seite rechtsbündig anzeigen. 69 &:nth-last-child(1) { 70 div.or-dropdown { 71 right: 10px; 72 } 73 } 74 .or-image-icon 75 { 76 width: 1.1em; 77 } 78 79 .or-toolbar-icon { 80 padding: 2px; 81 //border-bottom: 1px; 82 83 margin-left: 10px; 84 //float: left; 85 86 &.or-menu-category { 87 cursor: default; 88 } 89 &.or-search { 90 input { 91 border: 0; 92 //margin: 0; 93 //padding: 0; 94 width: 10em; 95 //transition: width 0.3s ease-in-out; 96 &:focus { 97 // Search input field grows up on focus 98 //width: 8em; 99 100 } 101 } 102 } 103 104 } 105 106 } 107 108 /* Dropdown anzeigen, wenn Titel geöffnet und wenn mit Maus überstrichen */ 109 &--is-open { 110 .or-menu-category--is-open { 111 > .or-dropdown { 112 display: block; 113 } 114 } 115 } 116 } 117 118 }
Downloadmodules/cms/ui/themes/default/style/openrat-menu.less
History Fri, 6 Dec 2024 23:29:56 +0100 Jan Dankert UI: Cleaner profile dialog in navigation menu. Sat, 13 Feb 2021 00:01:53 +0100 Jan Dankert Fix: Navigation is available, while dialog is open; Fix: Shrink Action title text if necessary. Fri, 12 Feb 2021 22:41:40 +0100 Jan Dankert Nicer look of the search input field (outline:none was the key) Wed, 10 Feb 2021 23:05:46 +0100 Jan Dankert Moving the search form upon the navigation, because the search is more like a navigation. Wed, 10 Feb 2021 00:00:21 +0100 Jan Dankert Using only fullscreen views; Navigate to parent instead of complete breadcrumb. Tue, 9 Feb 2021 00:05:36 +0100 Jan Dankert Moving the breadcrumb navigation to the title bar. Wed, 11 Nov 2020 01:44:59 +0100 Jan Dankert Fix: The search results are opened with the menu. Thu, 5 Nov 2020 22:56:49 +0100 Jan Dankert box-shadow should only be set in the theme css (because a color is needed and a color is theming) Thu, 5 Nov 2020 22:51:14 +0100 Jan Dankert Cleaned up the LESS files, more use of the BEM schema. Sat, 24 Oct 2020 23:51:11 +0200 Jan Dankert Cleanup LESS files, introduce BEM.