| 1 |
/** |
| 2 |
* tom-select.css (v2.5.2) |
| 3 |
* Copyright (c) contributors |
| 4 |
* |
| 5 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this |
| 6 |
* file except in compliance with the License. You may obtain a copy of the License at: |
| 7 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
* |
| 9 |
* Unless required by applicable law or agreed to in writing, software distributed under |
| 10 |
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF |
| 11 |
* ANY KIND, either express or implied. See the License for the specific language |
| 12 |
* governing permissions and limitations under the License. |
| 13 |
* |
| 14 |
*/ |
| 15 |
.groups-ts-control { |
| 16 |
border: 1px solid #d0d0d0; |
| 17 |
padding: 8px 8px; |
| 18 |
width: 100%; |
| 19 |
overflow: hidden; |
| 20 |
position: relative; |
| 21 |
z-index: 1; |
| 22 |
box-sizing: border-box; |
| 23 |
box-shadow: none; |
| 24 |
border-radius: 3px; |
| 25 |
display: flex; |
| 26 |
flex-wrap: wrap; |
| 27 |
} |
| 28 |
.groups-ts-wrapper.multi.has-items .groups-ts-control { |
| 29 |
padding: calc(8px - 2px - 0px) 8px calc(8px - 2px - 3px - 0px); |
| 30 |
} |
| 31 |
.full .groups-ts-control { |
| 32 |
background-color: #fff; |
| 33 |
} |
| 34 |
.disabled .groups-ts-control, .disabled .groups-ts-control * { |
| 35 |
cursor: default !important; |
| 36 |
} |
| 37 |
.focus .groups-ts-control { |
| 38 |
box-shadow: none; |
| 39 |
} |
| 40 |
.groups-ts-control > * { |
| 41 |
vertical-align: baseline; |
| 42 |
display: inline-block; |
| 43 |
} |
| 44 |
.groups-ts-wrapper.multi .groups-ts-control > div { |
| 45 |
cursor: pointer; |
| 46 |
margin: 0 3px 3px 0; |
| 47 |
padding: 2px 6px; |
| 48 |
background: #f2f2f2; |
| 49 |
color: #303030; |
| 50 |
border: 0px solid #d0d0d0; |
| 51 |
overflow: auto; |
| 52 |
} |
| 53 |
.groups-ts-wrapper.multi .groups-ts-control > div.active { |
| 54 |
background: #e8e8e8; |
| 55 |
color: #303030; |
| 56 |
border: 0px solid #cacaca; |
| 57 |
} |
| 58 |
.groups-ts-wrapper.multi.disabled .groups-ts-control > div, .groups-ts-wrapper.multi.disabled .groups-ts-control > div.active { |
| 59 |
color: rgb(124.5, 124.5, 124.5); |
| 60 |
background: white; |
| 61 |
border: 0px solid white; |
| 62 |
} |
| 63 |
.groups-ts-control > input { |
| 64 |
flex: 1 1 auto; |
| 65 |
min-width: 7rem; |
| 66 |
display: inline-block !important; |
| 67 |
padding: 0 !important; |
| 68 |
min-height: 0 !important; |
| 69 |
max-height: none !important; |
| 70 |
max-width: 100% !important; |
| 71 |
margin: 0 !important; |
| 72 |
text-indent: 0 !important; |
| 73 |
border: 0 none !important; |
| 74 |
background: none !important; |
| 75 |
line-height: inherit !important; |
| 76 |
-webkit-user-select: auto !important; |
| 77 |
-moz-user-select: auto !important; |
| 78 |
-ms-user-select: auto !important; |
| 79 |
user-select: auto !important; |
| 80 |
box-shadow: none !important; |
| 81 |
} |
| 82 |
.groups-ts-control > input::-ms-clear { |
| 83 |
display: none; |
| 84 |
} |
| 85 |
.groups-ts-control > input:focus { |
| 86 |
outline: none !important; |
| 87 |
} |
| 88 |
.has-items .groups-ts-control > input { |
| 89 |
margin: 0px 4px !important; |
| 90 |
} |
| 91 |
.groups-ts-control.rtl { |
| 92 |
text-align: right; |
| 93 |
} |
| 94 |
.groups-ts-control.rtl.single .groups-ts-control:after { |
| 95 |
left: 15px; |
| 96 |
right: auto; |
| 97 |
} |
| 98 |
.groups-ts-control.rtl .groups-ts-control > input { |
| 99 |
margin: 0px 4px 0px -2px !important; |
| 100 |
} |
| 101 |
.disabled .groups-ts-control { |
| 102 |
opacity: 0.5; |
| 103 |
background-color: #fafafa; |
| 104 |
} |
| 105 |
.input-hidden .groups-ts-control > input { |
| 106 |
opacity: 0; |
| 107 |
position: absolute; |
| 108 |
left: -10000px; |
| 109 |
} |
| 110 |
|
| 111 |
.groups-ts-dropdown { |
| 112 |
position: absolute; |
| 113 |
top: 100%; |
| 114 |
left: 0; |
| 115 |
width: 100%; |
| 116 |
z-index: 10; |
| 117 |
border: 1px solid #d0d0d0; |
| 118 |
background: #fff; |
| 119 |
margin: 0.25rem 0 0; |
| 120 |
border-top: 0 none; |
| 121 |
box-sizing: border-box; |
| 122 |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 123 |
border-radius: 0 0 3px 3px; |
| 124 |
} |
| 125 |
.groups-ts-dropdown [data-selectable] { |
| 126 |
cursor: pointer; |
| 127 |
overflow: hidden; |
| 128 |
} |
| 129 |
.groups-ts-dropdown [data-selectable] .highlight { |
| 130 |
background: rgba(125, 168, 208, 0.2); |
| 131 |
border-radius: 1px; |
| 132 |
} |
| 133 |
.groups-ts-dropdown .option, |
| 134 |
.groups-ts-dropdown .optgroup-header, |
| 135 |
.groups-ts-dropdown .no-results, |
| 136 |
.groups-ts-dropdown .create { |
| 137 |
padding: 5px 8px; |
| 138 |
} |
| 139 |
.groups-ts-dropdown .option, .groups-ts-dropdown [data-disabled], .groups-ts-dropdown [data-disabled] [data-selectable].option { |
| 140 |
cursor: inherit; |
| 141 |
opacity: 0.5; |
| 142 |
} |
| 143 |
.groups-ts-dropdown [data-selectable].option { |
| 144 |
opacity: 1; |
| 145 |
cursor: pointer; |
| 146 |
} |
| 147 |
.groups-ts-dropdown .optgroup:first-child .optgroup-header { |
| 148 |
border-top: 0 none; |
| 149 |
} |
| 150 |
.groups-ts-dropdown .optgroup-header { |
| 151 |
color: #303030; |
| 152 |
background: #fff; |
| 153 |
cursor: default; |
| 154 |
} |
| 155 |
.groups-ts-dropdown .active { |
| 156 |
background-color: #f5fafd; |
| 157 |
color: #495c68; |
| 158 |
} |
| 159 |
.groups-ts-dropdown .active.create { |
| 160 |
color: #495c68; |
| 161 |
} |
| 162 |
.groups-ts-dropdown .create { |
| 163 |
color: rgba(48, 48, 48, 0.5); |
| 164 |
} |
| 165 |
.groups-ts-dropdown .spinner { |
| 166 |
display: inline-block; |
| 167 |
width: 30px; |
| 168 |
height: 30px; |
| 169 |
margin: 5px 8px; |
| 170 |
} |
| 171 |
.groups-ts-dropdown .spinner::after { |
| 172 |
content: " "; |
| 173 |
display: block; |
| 174 |
width: 24px; |
| 175 |
height: 24px; |
| 176 |
margin: 3px; |
| 177 |
border-radius: 50%; |
| 178 |
border: 5px solid #d0d0d0; |
| 179 |
border-color: #d0d0d0 transparent #d0d0d0 transparent; |
| 180 |
animation: lds-dual-ring 1.2s linear infinite; |
| 181 |
} |
| 182 |
@keyframes lds-dual-ring { |
| 183 |
0% { |
| 184 |
transform: rotate(0deg); |
| 185 |
} |
| 186 |
100% { |
| 187 |
transform: rotate(360deg); |
| 188 |
} |
| 189 |
} |
| 190 |
|
| 191 |
.groups-ts-dropdown-content { |
| 192 |
overflow: hidden auto; |
| 193 |
max-height: 200px; |
| 194 |
scroll-behavior: smooth; |
| 195 |
} |
| 196 |
|
| 197 |
.groups-ts-wrapper.plugin-drag_drop .ts-dragging { |
| 198 |
color: transparent !important; |
| 199 |
} |
| 200 |
.groups-ts-wrapper.plugin-drag_drop .ts-dragging > * { |
| 201 |
visibility: hidden !important; |
| 202 |
} |
| 203 |
|
| 204 |
.plugin-checkbox_options:not(.rtl) .option input { |
| 205 |
margin-right: 0.5rem; |
| 206 |
} |
| 207 |
|
| 208 |
.plugin-checkbox_options.rtl .option input { |
| 209 |
margin-left: 0.5rem; |
| 210 |
} |
| 211 |
|
| 212 |
/* stylelint-disable function-name-case */ |
| 213 |
.plugin-clear_button { |
| 214 |
--ts-pr-clear-button: 1em; |
| 215 |
} |
| 216 |
.plugin-clear_button .clear-button { |
| 217 |
opacity: 0; |
| 218 |
position: absolute; |
| 219 |
top: 50%; |
| 220 |
transform: translateY(-50%); |
| 221 |
right: calc(8px - 6px); |
| 222 |
margin-right: 0 !important; |
| 223 |
background: transparent !important; |
| 224 |
transition: opacity 0.5s; |
| 225 |
cursor: pointer; |
| 226 |
} |
| 227 |
.plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button { |
| 228 |
right: max(var(--ts-pr-caret), 8px); |
| 229 |
} |
| 230 |
.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button { |
| 231 |
opacity: 1; |
| 232 |
} |
| 233 |
|
| 234 |
.groups-ts-wrapper .dropdown-header { |
| 235 |
position: relative; |
| 236 |
padding: 10px 8px; |
| 237 |
border-bottom: 1px solid #d0d0d0; |
| 238 |
background: color-mix(#fff, #d0d0d0, 85%); |
| 239 |
border-radius: 3px 3px 0 0; |
| 240 |
} |
| 241 |
.groups-ts-wrapper .dropdown-header-close { |
| 242 |
position: absolute; |
| 243 |
right: 8px; |
| 244 |
top: 50%; |
| 245 |
color: #303030; |
| 246 |
opacity: 0.4; |
| 247 |
margin-top: -12px; |
| 248 |
line-height: 20px; |
| 249 |
font-size: 20px !important; |
| 250 |
} |
| 251 |
.groups-ts-wrapper .dropdown-header-close:hover { |
| 252 |
color: black; |
| 253 |
} |
| 254 |
|
| 255 |
.plugin-dropdown_input.focus.dropdown-active .groups-ts-control { |
| 256 |
box-shadow: none; |
| 257 |
border: 1px solid #d0d0d0; |
| 258 |
} |
| 259 |
.plugin-dropdown_input .dropdown-input { |
| 260 |
border: 1px solid #d0d0d0; |
| 261 |
border-width: 0 0 1px; |
| 262 |
display: block; |
| 263 |
padding: 8px 8px; |
| 264 |
box-shadow: none; |
| 265 |
width: 100%; |
| 266 |
background: transparent; |
| 267 |
} |
| 268 |
.plugin-dropdown_input .items-placeholder { |
| 269 |
border: 0 none !important; |
| 270 |
box-shadow: none !important; |
| 271 |
width: 100%; |
| 272 |
} |
| 273 |
.plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder { |
| 274 |
display: none !important; |
| 275 |
} |
| 276 |
|
| 277 |
.groups-ts-wrapper.plugin-input_autogrow.has-items .groups-ts-control > input { |
| 278 |
min-width: 0; |
| 279 |
} |
| 280 |
.groups-ts-wrapper.plugin-input_autogrow.has-items.focus .groups-ts-control > input { |
| 281 |
flex: none; |
| 282 |
min-width: 4px; |
| 283 |
} |
| 284 |
.groups-ts-wrapper.plugin-input_autogrow.has-items.focus .groups-ts-control > input::-ms-input-placeholder { |
| 285 |
color: transparent; |
| 286 |
} |
| 287 |
.groups-ts-wrapper.plugin-input_autogrow.has-items.focus .groups-ts-control > input::placeholder { |
| 288 |
color: transparent; |
| 289 |
} |
| 290 |
|
| 291 |
.groups-ts-dropdown.plugin-optgroup_columns .ts-dropdown-content { |
| 292 |
display: flex; |
| 293 |
} |
| 294 |
.groups-ts-dropdown.plugin-optgroup_columns .optgroup { |
| 295 |
border-right: 1px solid #f2f2f2; |
| 296 |
border-top: 0 none; |
| 297 |
flex-grow: 1; |
| 298 |
flex-basis: 0; |
| 299 |
min-width: 0; |
| 300 |
} |
| 301 |
.groups-ts-dropdown.plugin-optgroup_columns .optgroup:last-child { |
| 302 |
border-right: 0 none; |
| 303 |
} |
| 304 |
.groups-ts-dropdown.plugin-optgroup_columns .optgroup::before { |
| 305 |
display: none; |
| 306 |
} |
| 307 |
.groups-ts-dropdown.plugin-optgroup_columns .optgroup-header { |
| 308 |
border-top: 0 none; |
| 309 |
} |
| 310 |
|
| 311 |
.groups-ts-wrapper.plugin-remove_button .item { |
| 312 |
display: inline-flex; |
| 313 |
align-items: center; |
| 314 |
} |
| 315 |
.groups-ts-wrapper.plugin-remove_button .item .remove { |
| 316 |
color: inherit; |
| 317 |
text-decoration: none; |
| 318 |
vertical-align: middle; |
| 319 |
display: inline-block; |
| 320 |
padding: 0 6px; |
| 321 |
border-radius: 0 2px 2px 0; |
| 322 |
box-sizing: border-box; |
| 323 |
} |
| 324 |
.groups-ts-wrapper.plugin-remove_button .item .remove:hover { |
| 325 |
background: rgba(0, 0, 0, 0.05); |
| 326 |
} |
| 327 |
.groups-ts-wrapper.plugin-remove_button.disabled .item .remove:hover { |
| 328 |
background: none; |
| 329 |
} |
| 330 |
.groups-ts-wrapper.plugin-remove_button .remove-single { |
| 331 |
position: absolute; |
| 332 |
right: 0; |
| 333 |
top: 0; |
| 334 |
font-size: 23px; |
| 335 |
} |
| 336 |
|
| 337 |
.groups-ts-wrapper.plugin-remove_button:not(.rtl) .item { |
| 338 |
padding-right: 0 !important; |
| 339 |
} |
| 340 |
.groups-ts-wrapper.plugin-remove_button:not(.rtl) .item .remove { |
| 341 |
border-left: 1px solid #d0d0d0; |
| 342 |
margin-left: 6px; |
| 343 |
} |
| 344 |
.groups-ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove { |
| 345 |
border-left-color: #cacaca; |
| 346 |
} |
| 347 |
.groups-ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove { |
| 348 |
border-left-color: white; |
| 349 |
} |
| 350 |
|
| 351 |
.groups-ts-wrapper.plugin-remove_button.rtl .item { |
| 352 |
padding-left: 0 !important; |
| 353 |
} |
| 354 |
.groups-ts-wrapper.plugin-remove_button.rtl .item .remove { |
| 355 |
border-right: 1px solid #d0d0d0; |
| 356 |
margin-right: 6px; |
| 357 |
} |
| 358 |
.groups-ts-wrapper.plugin-remove_button.rtl .item.active .remove { |
| 359 |
border-right-color: #cacaca; |
| 360 |
} |
| 361 |
.groups-ts-wrapper.plugin-remove_button.rtl.disabled .item .remove { |
| 362 |
border-right-color: white; |
| 363 |
} |
| 364 |
|
| 365 |
:root { |
| 366 |
--ts-pr-clear-button: 0px; |
| 367 |
--ts-pr-caret: 0px; |
| 368 |
--ts-pr-min: .75rem; |
| 369 |
} |
| 370 |
|
| 371 |
.groups-ts-wrapper.single .groups-ts-control, .groups-ts-wrapper.single .groups-ts-control input { |
| 372 |
cursor: pointer; |
| 373 |
} |
| 374 |
|
| 375 |
.groups-ts-control:not(.rtl) { |
| 376 |
padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important; |
| 377 |
} |
| 378 |
|
| 379 |
.groups-ts-control.rtl { |
| 380 |
padding-left: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important; |
| 381 |
} |
| 382 |
|
| 383 |
.groups-ts-wrapper { |
| 384 |
position: relative; |
| 385 |
} |
| 386 |
|
| 387 |
.groups-ts-dropdown, |
| 388 |
.groups-ts-control, |
| 389 |
.groups-ts-control input { |
| 390 |
color: #303030; |
| 391 |
font-family: inherit; |
| 392 |
font-size: 13px; |
| 393 |
line-height: 18px; |
| 394 |
} |
| 395 |
|
| 396 |
.groups-ts-control, |
| 397 |
.groups-ts-wrapper.single.input-active .groups-ts-control { |
| 398 |
background: #fff; |
| 399 |
cursor: text; |
| 400 |
} |
| 401 |
|
| 402 |
.ts-hidden-accessible { |
| 403 |
border: 0 !important; |
| 404 |
clip: rect(0 0 0 0) !important; |
| 405 |
-webkit-clip-path: inset(50%) !important; |
| 406 |
clip-path: inset(50%) !important; |
| 407 |
overflow: hidden !important; |
| 408 |
padding: 0 !important; |
| 409 |
position: absolute !important; |
| 410 |
width: 1px !important; |
| 411 |
white-space: nowrap !important; |
| 412 |
} |
| 413 |
/*# sourceMappingURL=tom-select.groups.css.map */ |