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

Last commit: Tue Nov 30 00:25:32 2021 +0100	Jan Dankert	Cleanup the notices.
1 /* Usage to this variable is safe to be removed */ 2 @color-overridden-by-theme: black; 3 4 @smartphones: ~"only screen and (max-width: 55rem)"; 5 6 7 .border-radius (@radius) { 8 border-radius: @radius; 9 -moz-border-radius: @radius; 10 -webkit-border-radius: @radius; 11 -khtml-border-radius: @radius; 12 } 13 .or- { 14 15 16 &notice { 17 border-style: solid; 18 border-width: 1px 1px 1px 1em; 19 border-color: @color-overridden-by-theme; 20 padding: 1.1em; 21 position: relative; 22 width: 90%; 23 //z-index: 5; 24 margin:1em; 25 //margin-left: 50%; 26 27 .border-radius(0.2em); 28 29 @media @smartphones { 30 .border-radius(0); 31 border-style: solid; 32 border-width: 1px 0 0 1em; 33 margin:0; 34 font-size: 0.75em; 35 width: 100%; 36 } 37 38 &-container { 39 display: block; 40 position: fixed; 41 bottom: 0; 42 right: 0; 43 padding: 0; 44 width: 50%; 45 z-index: 5; 46 47 @media @smartphones { 48 right:0; 49 bottom: 0; 50 width: 100%; 51 padding: 0; 52 } 53 } 54 55 &-toolbar { 56 float: right; 57 margin: 0 0.2em; 58 font-size: 2em; 59 color: gray; 60 cursor: pointer; 61 } 62 63 &:hover { 64 .or-notice-toolbar { 65 color: black; 66 } 67 } 68 69 70 div.text { 71 font-weight: bold; 72 } 73 74 &-text { 75 font-size: 1.1em; 76 } 77 78 &:after {/* 79 content: ''; 80 position: absolute; 81 right: 0; 82 top: 50%; 83 width: 0; 84 height: 0; 85 border: 1em solid transparent; 86 border-right: 0; 87 margin-top: -1em; 88 margin-right: -1em;*/ 89 } 90 91 &-log { 92 font-family: 'Source Code Pro', Monospace, Monospaced, Courier; 93 height: 15em; 94 overflow-y: scroll; 95 } 96 } 97 98 99 } 100 101
Download modules/cms/ui/themes/default/style/openrat-notices.less
History Tue, 30 Nov 2021 00:25:32 +0100 Jan Dankert Cleanup the notices. Sat, 6 Mar 2021 01:12:37 +0100 Jan Dankert Fix: Show notice, if dialog is open. Sat, 6 Mar 2021 00:41:10 +0100 Jan Dankert New: Notice are collapsible. Sun, 14 Feb 2021 23:43:21 +0100 Jan Dankert New: More decent notices on mobiles. Wed, 10 Feb 2021 00:00:21 +0100 Jan Dankert Using only fullscreen views; Navigate to parent instead of complete breadcrumb. Fri, 27 Nov 2020 20:14:22 +0100 Jan Dankert Fix: Mark input fields on input error. Sat, 14 Nov 2020 22:02:21 +0100 Jan Dankert Fixed: Notices may display a message. 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.