|
| 1 | +#adminForm { |
| 2 | + |
| 3 | + [class^="icon-"], |
| 4 | + [class*=" icon-"] { |
| 5 | + height: auto; |
| 6 | + width: auto; |
| 7 | + line-height: 1; |
| 8 | + } |
| 9 | + |
| 10 | + fieldset { |
| 11 | + margin-bottom: 20px; |
| 12 | + } |
| 13 | + |
| 14 | + .controls { |
| 15 | + |
| 16 | + >textarea, |
| 17 | + >select, |
| 18 | + >input[type="text"], |
| 19 | + >input[type="password"], |
| 20 | + >input[type="datetime"], |
| 21 | + >input[type="datetime-local"], |
| 22 | + >input[type="date"], |
| 23 | + >input[type="month"], |
| 24 | + >input[type="time"], |
| 25 | + >input[type="week"], |
| 26 | + >input[type="number"], |
| 27 | + >input[type="email"], |
| 28 | + >input[type="url"], |
| 29 | + >input[type="search"], |
| 30 | + >input[type="tel"], |
| 31 | + >input[type="color"], |
| 32 | + >.uneditable-input { |
| 33 | + @extend .form-control; |
| 34 | + } |
| 35 | + |
| 36 | + .field-calendar { |
| 37 | + input[type="text"] { |
| 38 | + @extend .form-control; |
| 39 | + } |
| 40 | + } |
| 41 | + |
| 42 | + .field-media-input { |
| 43 | + @extend .form-control; |
| 44 | + } |
| 45 | + } |
| 46 | + |
| 47 | + input[type="checkbox"], |
| 48 | + input[type="radio"] { |
| 49 | + @extend .form-check; |
| 50 | + margin-right: 5px; |
| 51 | + display: inline-block; |
| 52 | + |
| 53 | + +label { |
| 54 | + @extend .form-check-label; |
| 55 | + margin-right: 10px; |
| 56 | + color: #495057; |
| 57 | + } |
| 58 | + } |
| 59 | + |
| 60 | + input[type="date"], |
| 61 | + input[type="time"], |
| 62 | + input[type="datetime-local"], |
| 63 | + input[type="month"] { |
| 64 | + appearance: none; |
| 65 | + } |
| 66 | + |
| 67 | + .controls { |
| 68 | + @extend .form-group; |
| 69 | + } |
| 70 | + |
| 71 | + .btn:not(.btn-primary):not(.btn-secondary):not(.btn-success):not(.btn-danger) { |
| 72 | + @extend .btn-outline-secondary; |
| 73 | + } |
| 74 | + |
| 75 | + .btn-toolbar { |
| 76 | + .btn-group:not(:last-child) { |
| 77 | + margin-right: 10px; |
| 78 | + } |
| 79 | + } |
| 80 | +} |
| 81 | + |
| 82 | +.layout-edit { |
| 83 | + .tip-wrap { |
| 84 | + box-shadow: 2px 2px 9px rgb(0 0 0 / 6%); |
| 85 | + border: 1px solid #fdfdfd; |
| 86 | + padding: 10px; |
| 87 | + background-color: #fff; |
| 88 | + } |
| 89 | + |
| 90 | + .input-prepend.input-append { |
| 91 | + display: flex; |
| 92 | + justify-content: center; |
| 93 | + align-items: center; |
| 94 | + gap: 10px; |
| 95 | + |
| 96 | + .btn { |
| 97 | + width: auto; |
| 98 | + } |
| 99 | + } |
| 100 | +} |
| 101 | + |
| 102 | +.choices__button_joomla { |
| 103 | + position: relative; |
| 104 | + padding: 0 10px; |
| 105 | + color: inherit; |
| 106 | + text-indent: -9999px; |
| 107 | + cursor: pointer; |
| 108 | + background: none; |
| 109 | + border: 0; |
| 110 | + opacity: .5; |
| 111 | + -webkit-appearance: none; |
| 112 | + -moz-appearance: none; |
| 113 | + appearance: none; |
| 114 | +} |
| 115 | + |
| 116 | +.choices__button_joomla:before { |
| 117 | + position: absolute; |
| 118 | + top: 0; |
| 119 | + right: 0; |
| 120 | + bottom: 0; |
| 121 | + left: 0; |
| 122 | + display: block; |
| 123 | + text-align: center; |
| 124 | + text-indent: 0; |
| 125 | + content: "×"; |
| 126 | +} |
| 127 | + |
| 128 | +.sr-only, |
| 129 | +.visually-hidden, |
| 130 | +.visually-hidden-focusable:not(:focus):not(:focus-within) { |
| 131 | + position: absolute !important; |
| 132 | + width: 1px !important; |
| 133 | + height: 1px !important; |
| 134 | + padding: 0 !important; |
| 135 | + margin: -1px !important; |
| 136 | + overflow: hidden !important; |
| 137 | + clip: rect(0, 0, 0, 0) !important; |
| 138 | + white-space: nowrap !important; |
| 139 | + border: 0 !important; |
| 140 | +} |
| 141 | + |
| 142 | + |
| 143 | +element.style { |
| 144 | +} |
| 145 | +.options-form, .options-form>legend { |
| 146 | + color: #495057; |
| 147 | + background-color: #fff; |
| 148 | +} |
| 149 | +.options-form { |
| 150 | + width: 100%; |
| 151 | + padding: 1vw 2vw; |
| 152 | + margin-bottom: 1rem; |
| 153 | + border: 1px solid #b2bfcd; |
| 154 | +} |
| 155 | + |
| 156 | +.options-form>legend { |
| 157 | + float: none; |
| 158 | + width: auto; |
| 159 | + padding: 0 .5rem; |
| 160 | + font-weight: 700; |
| 161 | +} |
| 162 | + |
| 163 | +.float-end { |
| 164 | + float: right !important; |
| 165 | +} |
| 166 | + |
| 167 | +.hidden { |
| 168 | + display: none; |
| 169 | + visibility: hidden; |
| 170 | +} |
| 171 | + |
| 172 | +.field-media-wrapper { |
| 173 | + display: block; |
| 174 | + width: 100%; |
| 175 | + max-width: calc(50vw - 5rem); |
| 176 | +} |
| 177 | + |
| 178 | +.field-media-wrapper .field-media-preview { |
| 179 | + width: 100%; |
| 180 | + max-width: none; |
| 181 | +} |
| 182 | + |
| 183 | +.btn-close { |
| 184 | + box-sizing: content-box; |
| 185 | + width: 1em; |
| 186 | + height: 1em; |
| 187 | + padding: .25em; |
| 188 | + color: #000; |
| 189 | + background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E") 50%/1em auto no-repeat; |
| 190 | + border: 0; |
| 191 | + border-radius: .25rem; |
| 192 | + opacity: .5; |
| 193 | +} |
| 194 | + |
| 195 | +.btn-close:hover { |
| 196 | + color: #000; |
| 197 | + text-decoration: none; |
| 198 | + opacity: .75; |
| 199 | +} |
| 200 | + |
| 201 | +.btn-close:focus { |
| 202 | + outline: 0; |
| 203 | + box-shadow: 0 0 0 .25rem rgba(var(--cassiopeia-color-primary), .25); |
| 204 | + opacity: 1; |
| 205 | +} |
| 206 | + |
| 207 | +.btn-close.disabled, |
| 208 | +.btn-close:disabled { |
| 209 | + pointer-events: none; |
| 210 | + -webkit-user-select: none; |
| 211 | + -moz-user-select: none; |
| 212 | + -ms-user-select: none; |
| 213 | + user-select: none; |
| 214 | + opacity: .25; |
| 215 | +} |
| 216 | + |
| 217 | +.btn-close-white { |
| 218 | + -webkit-filter: invert(1) grayscale(100%) brightness(200%); |
| 219 | + filter: invert(1) grayscale(100%) brightness(200%); |
| 220 | +} |
0 commit comments