|
66 | 66 | }
|
67 | 67 |
|
68 | 68 |
|
69 |
| -.filemanager .upload-collapse { |
| 69 | +.filemanager .upload { |
70 | 70 | margin:3rem;
|
71 | 71 | padding:0rem;
|
72 | 72 | padding:1rem;
|
|
75 | 75 | min-height:200px;
|
76 | 76 | }
|
77 | 77 |
|
78 |
| -.filemanager .upload-collapse h3 { |
| 78 | +.filemanager .upload h3 { |
79 | 79 | padding:1rem 4rem;
|
80 | 80 | }
|
81 | 81 |
|
82 |
| -.filemanager .upload-collapse button#upload-close { |
| 82 | +.filemanager .upload button#upload-close { |
83 | 83 | position:absolute;
|
84 | 84 | right:1rem;
|
85 | 85 | z-index:1000
|
86 | 86 | }
|
87 | 87 |
|
88 |
| -.filemanager .upload-collapse input[type=file] { |
| 88 | +.filemanager .upload input[type=file] { |
89 | 89 | position:absolute;
|
90 | 90 | z-index:100;
|
91 | 91 | top:0;
|
|
97 | 97 | font-size:1rem;
|
98 | 98 | }
|
99 | 99 |
|
100 |
| -.filemanager .upload-collapse input[type=file]::-webkit-file-upload-button |
| 100 | +.filemanager .upload input[type=file]::-webkit-file-upload-button |
101 | 101 | /*,.filemanager .upload input[type=file]::file-selector-button */
|
102 | 102 | {
|
103 | 103 | visibility: hidden;
|
104 | 104 | }
|
105 | 105 |
|
106 |
| -.filemanager .upload-collapse input[type=file]::before { |
| 106 | +.filemanager .upload input[type=file]::before { |
107 | 107 | content: 'Choose files';
|
108 | 108 | color: white;
|
109 | 109 | display: inline-block;
|
|
115 | 115 | white-space: nowrap;
|
116 | 116 | -webkit-user-select: none;
|
117 | 117 | cursor: pointer;
|
118 |
| - //text-shadow: 1px 1px #fff; |
| 118 | + //text-shadow: 1px 1px var(--bs-body-bg); |
119 | 119 | font-size: 1rem;
|
120 | 120 | font-weight:500;
|
121 | 121 | box-shadow:1px 1px 2px 1px rgba(0, 0, 0, 0.07), -1px 1px 2px 0px rgba(255, 255, 255, 0.15) inset;
|
122 | 122 | }
|
123 |
| -.filemanager .upload-collapse input[type=file]:hover::before { |
| 123 | +.filemanager .upload input[type=file]:hover::before { |
124 | 124 | border-color: black;
|
125 | 125 | }
|
126 |
| -.filemanager .upload-collapse input[type=file]:active { |
| 126 | +.filemanager .upload input[type=file]:active { |
127 | 127 | outline: 0;
|
128 | 128 | }
|
129 |
| -.filemanager .upload-collapse input[type=file]:active::before { |
| 129 | +.filemanager .upload input[type=file]:active::before { |
130 | 130 | background: -webkit-linear-gradient(top, #0a58ca, #0d6efd);
|
131 | 131 | }
|
132 | 132 |
|
|
138 | 138 | width: 14px;
|
139 | 139 | height: 14px;
|
140 | 140 | border-radius: 50%;
|
141 |
| - border: 2px solid #333; |
| 141 | + border: 2px solid var(--bs-border-color); |
142 | 142 | right: 10px;
|
143 | 143 | }
|
144 | 144 |
|
145 | 145 | .filemanager .search:after {
|
146 | 146 | content: '';
|
147 | 147 | width: 3px;
|
148 | 148 | height: 10px;
|
149 |
| - background-color: #333; |
| 149 | + background-color: var(--bs-border-color); |
150 | 150 | border-radius: 2px;
|
151 | 151 | position: absolute;
|
152 | 152 | top: 18px;
|
|
278 | 278 |
|
279 | 279 | .filemanager .nothingfound {
|
280 | 280 | background-color: #373743;
|
| 281 | + background-color: var(--bs-light-border-subtle); |
281 | 282 | width: 23em;
|
282 | 283 | height: 21em;
|
283 | 284 | margin: 0 auto;
|
284 | 285 | display: none;
|
285 |
| - font-family: Arial; |
| 286 | + border-radius:20px; |
| 287 | + text-align:center; |
286 | 288 | -webkit-animation: showSlowlyElement 700ms; /* Chrome, Safari, Opera */
|
287 | 289 | animation: showSlowlyElement 700ms; /* Standard syntax */
|
288 | 290 | }
|
|
298 | 300 | line-height: 11.4em;
|
299 | 301 | }
|
300 | 302 | .filemanager .nothingfound .nofiles:after {
|
301 |
| - content: '×'; |
302 |
| - position: absolute; |
303 |
| - color: #ffffff; |
304 |
| - font-size: 14em; |
305 |
| - margin-right: 0.092em; |
306 |
| - right: 0; |
| 303 | + content: 'x'; |
| 304 | + position: absolute; |
| 305 | + color: var(--bs-body-bg); |
| 306 | + font-size: 12em; |
| 307 | + margin-right: 2rem; |
| 308 | + line-height: 0.76; |
| 309 | + font-weight: 600; |
| 310 | + right: 0; |
307 | 311 | }
|
308 | 312 |
|
309 | 313 | .filemanager .nothingfound span {
|
310 |
| - margin: 0 auto auto 6.8em; |
311 |
| - color: #ffffff; |
| 314 | + margin: 0 auto auto; |
| 315 | + //color: var(--bs-body-bg); |
312 | 316 | font-size: 16px;
|
313 | 317 | font-weight: 500;
|
314 | 318 | line-height: 20px;
|
|
368 | 372 | border-bottom:1px solid var(--bs-border-color);
|
369 | 373 | }
|
370 | 374 |
|
| 375 | +.files .preview img { |
| 376 | + max-width:100%; |
| 377 | +} |
| 378 | + |
371 | 379 | .files .preview-link:hover + .preview,
|
372 | 380 | .files .preview-link:focus + .preview,
|
373 | 381 | .files .preview-link + .preview:hover {
|
|
395 | 403 | .icon.folder:before {
|
396 | 404 | content: '';
|
397 | 405 | float: left;
|
398 |
| - background-color: rgba(108, 108, 256, 0.7); |
| 406 | + background-color: rgba(var(--bs-primary-rgb), 0.5); |
399 | 407 |
|
400 | 408 | width: 1.5em;
|
401 | 409 | height: 0.45em;
|
|
406 | 414 | border-top-left-radius: 0.1em;
|
407 | 415 | border-top-right-radius: 0.1em;
|
408 | 416 |
|
409 |
| - box-shadow: 1.25em 0.25em 0 0em rgba(108, 108, 256, 0.8); |
| 417 | + box-shadow: 1.25em 0.25em 0 0em rgba(var(--bs-primary-rgb), 0.6); |
410 | 418 | }
|
411 | 419 | .icon.folder:after {
|
412 | 420 | content: '';
|
413 | 421 | float: left;
|
414 | 422 | clear: left;
|
415 | 423 |
|
416 |
| - background-color: rgba(108, 108, 256, 1); |
| 424 | + background-color: rgba(var(--bs-primary-rgb), 1); |
417 | 425 | width: 3em;
|
418 | 426 | height: 2.25em;
|
419 | 427 |
|
|
424 | 432 | }
|
425 | 433 | .icon.folder.full:after {
|
426 | 434 | height: 2.15em;
|
427 |
| - box-shadow: 0 -0.12em 0 0 #ffffff; |
| 435 | + box-shadow: 0 -0.12em 0 0 var(--bs-body-bg); |
428 | 436 | }
|
429 | 437 |
|
430 | 438 | .icon.file {
|
|
433 | 441 | line-height: 3em;
|
434 | 442 | text-align: center;
|
435 | 443 | border-radius: 0.25em;
|
436 |
| - color: #FFF; |
| 444 | + color: var(--bs-body-bg); |
437 | 445 | display: inline-block;
|
438 | 446 | margin: 15px 20px 0px 5px;
|
439 | 447 | position: relative;
|
|
569 | 577 | .icon.file.f-scss:after {
|
570 | 578 | border-bottom-color: #30837c;
|
571 | 579 | }
|
| 580 | + |
| 581 | +.upload-collapse { |
| 582 | + margin: 0 1rem 2rem; |
| 583 | + padding: 0rem; |
| 584 | + border: 1px dashed var(--bs-border-color); |
| 585 | + border-radius: 4px; |
| 586 | + background: var(--bs-light-bg-subtle); |
| 587 | + position: relative; |
| 588 | + min-height: 180px; |
| 589 | +} |
| 590 | + .upload-collapse h3, .upload-collapse .h3 { |
| 591 | + padding: 2rem 4rem; |
| 592 | +} |
| 593 | + .upload-collapse button#upload-close { |
| 594 | + position: absolute; |
| 595 | + right: 1rem; |
| 596 | + top: 1rem; |
| 597 | + z-index: 1000; |
| 598 | +} |
| 599 | + .upload-collapse input[type=file] { |
| 600 | + position: absolute; |
| 601 | + z-index: 100; |
| 602 | + top: 0; |
| 603 | + left: 0; |
| 604 | + width: 100%; |
| 605 | + height: 100%; |
| 606 | + padding: 6rem 4rem 4rem; |
| 607 | + display: block !important; |
| 608 | + font-size: 1rem; |
| 609 | +} |
| 610 | + .upload-collapse input[type=file]::-webkit-file-upload-button { |
| 611 | + visibility: hidden; |
| 612 | +} |
| 613 | + .upload-collapse input[type=file]::before { |
| 614 | + content: 'Choose files'; |
| 615 | + color: white; |
| 616 | + display: inline-block; |
| 617 | + background: gradient(top, rgba(var(--bs-link-color-rgb), 0.85), var(--bs-link-color)); |
| 618 | + background: -webkit-linear-gradient(top, rgba(var(--bs-link-color-rgb), 0.85), var(--bs-link-color)); |
| 619 | + border: 1px solid var(--bs-link-color-rgb); |
| 620 | + border-radius: 3px; |
| 621 | + padding: 0.7rem 1.4rem; |
| 622 | + outline: none; |
| 623 | + white-space: nowrap; |
| 624 | + -webkit-user-select: none; |
| 625 | + cursor: pointer; |
| 626 | + font-size: 1rem; |
| 627 | + font-weight: 500; |
| 628 | + box-shadow: 1px 1px 2px 1px rgba(var(--bs-body-color-rgb), 0.07), -1px 1px 2px 0px rgba(var(--bs-body-bg-rgb), 0.15) inset; |
| 629 | +} |
| 630 | + .upload-collapse input[type=file]:hover::before { |
| 631 | + border-color: rgba(var(--bs-link-color-rgb), 0.7); |
| 632 | +} |
| 633 | + .upload-collapse input[type=file]:active { |
| 634 | + outline: 0; |
| 635 | +} |
| 636 | + .upload-collapse input[type=file]:active::before { |
| 637 | + background: gradient(top, var(--bs-link-color), rgba(var(--bs-link-color-rgb), 0.85)); |
| 638 | + background: -webkit-linear-gradient(top, var(--bs-link-color), rgba(var(--bs-link-color-rgb), 0.85)); |
| 639 | +} |
0 commit comments