File modules/cms/ui/themes/default/style/openrat-dropdown.less

Last commit: Tue Feb 9 00:05:36 2021 +0100	Jan Dankert	Moving the breadcrumb navigation to the title bar.
1 @smartphones: ~"only screen and (max-width: 55rem)"; 2 3 .or- { 4 &dropdown { 5 6 display: none; 7 overflow: hidden; 8 9 &--is-open { 10 display: block; 11 } 12 13 //top:2.7em; 14 &--on-right { 15 right:1em; 16 } 17 z-index: 4; 18 //opacity: 0.95; No, because opacity is already set in the workbench menu. 19 min-width: 17em; 20 position: absolute; 21 padding: 0.5em 0; 22 23 font-style: normal; 24 font-weight: normal; 25 text-decoration: none; 26 27 &-key { 28 // do not display keystrokes on devices with virtual keyboard 29 @media @smartphones { 30 display: none; 31 } 32 } 33 34 &-entry { 35 padding: 0; 36 37 > .or-link { 38 display: flex; 39 align-items: center; 40 padding: 0 0.5em; 41 42 * { 43 margin: 0.25em; 44 } 45 46 .or-dropdown-text { 47 flex: 1; /* Consumes all available space */ 48 } 49 50 } 51 52 &--inactive { 53 opacity: 0.5; 54 } 55 &--active { 56 } 57 } 58 59 > &-text { 60 display: block; 61 margin: 1em; 62 } 63 64 &-divide { 65 height: 1px; 66 width: 100%; 67 margin-top: 0.5em; 68 margin-bottom: 0.5em; 69 } 70 } 71 }
Download modules/cms/ui/themes/default/style/openrat-dropdown.less
History Tue, 9 Feb 2021 00:05:36 +0100 Jan Dankert Moving the breadcrumb navigation to the title bar. Sat, 14 Nov 2020 22:02:21 +0100 Jan Dankert Fixed: Notices may display a message. Wed, 11 Nov 2020 13:30:22 +0100 Jan Dankert A little transparent background for the menu. Wed, 11 Nov 2020 01:44:59 +0100 Jan Dankert Fix: The search results are opened with the menu. 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.