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

Last commit: Sun Dec 8 20:56:47 2024 +0100	Jan Dankert	New: Users are now able to store bookmarks.
1 @color-overridden-by-theme: black; 2 3 .border-radius (@radius) { 4 border-radius: @radius; 5 -moz-border-radius: @radius; 6 -webkit-border-radius: @radius; 7 -khtml-border-radius: @radius; 8 } 9 10 @small: ~"only screen and (max-width: 65rem)"; 11 12 @media only screen and (min-width: 65rem) { 13 14 .or-workbench-main { 15 16 &-form { 17 18 &-row { 19 20 flex-direction: row; 21 22 .or-form-label { 23 width: 25%; 24 } 25 26 .or-form-input { 27 width: 75%; 28 } 29 } 30 31 } 32 } 33 } 34 35 36 .or { 37 38 &-form { 39 display: flex; 40 height: 100%; 41 flex-direction: column; 42 padding: 1em; 43 44 &-checkbox, 45 &-radio { 46 //transform: scale(1.5); // Increase size of checkboxes 47 margin-right: 1em; 48 //appearance: none; 49 width:1.5em; 50 height: 1.5em; 51 border: 1px solid; 52 accent-color: var(--cms-image-color); 53 } 54 &-checkbox { 55 border-radius: 2px; 56 } 57 &-radio { 58 border-radius: 0.75em; 59 } 60 61 &-headline { 62 height: 2em; 63 } 64 65 &-content { 66 flex-grow: 1; 67 padding-bottom: 6em; 68 //overflow-y: auto; 69 70 } 71 72 &-row { 73 display: flex; 74 align-items: center; 75 76 flex-direction: column; 77 78 .or-form-label, 79 .or-form-input { 80 width: 100%; 81 } 82 83 } 84 85 86 &-actionbar { 87 88 height: 3em; 89 position: sticky; 90 bottom: 0; 91 left: 0; 92 right: 0; 93 94 display: flex; 95 justify-content: center; 96 padding: 1em; 97 height: auto; 98 99 } 100 101 102 103 @media @small { 104 .or-act-form-apply { 105 display: none; 106 } 107 108 } 109 110 } 111 112 113 &-input { 114 width: 85%; 115 border: 0; 116 border-width: 0; 117 border-bottom: 1px solid; 118 //border-radius: 4px; 119 box-sizing: border-box; 120 resize: vertical; 121 padding: 0.5em; 122 margin: 0; 123 outline: none; 124 125 &--name { 126 font-weight: bold; 127 } 128 129 &--filename, &--extension { 130 font-family: 'Source Code Pro', Monospace, Monospaced, Courier; 131 } 132 133 134 } 135 136 137 /* Buttons */ 138 &-btn { 139 padding: 0.2em; 140 border: 1px solid @color-overridden-by-theme; 141 .border-radius(0.1em); 142 cursor: pointer; 143 144 &--control { 145 padding: 1em 2em; 146 margin-left: 1.5em; 147 min-width: 14em; 148 .border-radius(0.5em); 149 150 @media @small { 151 padding: 1em 1em; 152 min-width: 5em; 153 } 154 } 155 156 &--primary { 157 font-weight: bold; 158 } 159 160 &--secondary { 161 @media @small { 162 min-width: 0; 163 } 164 } 165 } 166 } 167 168 .or-act-form-cancel { 169 display: none; // no cancel buttons - more UX... maybe. 170 }
Download modules/cms/ui/themes/default/style/openrat-form.less
History Sun, 8 Dec 2024 20:56:47 +0100 Jan Dankert New: Users are now able to store bookmarks. Wed, 30 Oct 2024 22:17:22 +0100 Jan Dankert UI-Refactoring: The navigation is now able to open its own dialog. Tue, 30 Nov 2021 23:56:16 +0100 dankert New: Checkboxes and Radio buttons with theme colors. Mon, 29 Nov 2021 01:22:40 +0100 Jan Dankert New: Themes may contain multiple color schemes (for now only "dark" and "light"), modern browsers are selecting the right scheme. Mon, 15 Feb 2021 00:47:53 +0100 Jan Dankert Fix: Displaying global search results instead of navigation. Sun, 14 Feb 2021 23:18:14 +0100 Jan Dankert New: Confirmation needed if a dialog is closed which has unsaved changes. Fri, 12 Feb 2021 22:41:40 +0100 Jan Dankert Nicer look of the search input field (outline:none was the key) Fri, 12 Feb 2021 00:43:08 +0100 Jan Dankert New: Style colors; Fix: Mobile navigation, global search. Tue, 1 Dec 2020 00:07:39 +0100 Jan Dankert New: Visibility-Button for password fields, fix: QR-code button for mobile devices. Sat, 14 Nov 2020 22:32:01 +0100 Jan Dankert Fix: Show name/description of default language. 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. Sun, 18 Oct 2020 01:30:49 +0200 Jan Dankert New component "fieldset" for better form layout. Sat, 10 Oct 2020 01:29:41 +0200 Jan Dankert Refactoring: Only using CSS classes with the 'or-'-prefix. Wed, 7 Oct 2020 23:29:12 +0200 Jan Dankert Fix: The password field was unstyled. Mon, 5 Oct 2020 23:32:06 +0200 Jan Dankert UI: Nicer buttons Sun, 4 Oct 2020 23:53:25 +0200 Jan Dankert New: The tree is now hidable with a dedicated button. No more hover effect in the navigation.