2025-03-16 08:34:47 +01:00
|
|
|
/**
|
|
|
|
* This file provides the styles for the file uploader
|
|
|
|
* used in the media manager (both fullscreen and popup).
|
|
|
|
*/
|
|
|
|
|
|
|
|
.qq-uploader {
|
2025-04-13 13:09:37 +02:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#mediamanager__page .qq-upload-list li {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1.25rem auto 1rem;
|
|
|
|
grid-gap: 5px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
#mediamanager__page .qq-upload-list li::before {
|
|
|
|
content: '\1F5CE';
|
|
|
|
color: @ini_text;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.25rem;
|
|
|
|
height:1.5rem;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mediamanager__page .qq-upload-list li input[type="text"] {
|
|
|
|
font-family: @ini_mono_fonts;
|
|
|
|
font-size: @ini_alt_font_size;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
padding: .25em;
|
|
|
|
border-radius: 1.5pt;
|
|
|
|
}
|
|
|
|
#mediamanager__page .qq-upload-list li input[type="text"]:focus {
|
|
|
|
border-color: @ini_border;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.qq-uploader .error {
|
2025-04-13 13:09:37 +02:00
|
|
|
color: #f00;
|
|
|
|
background-color: #fff;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* select file button */
|
|
|
|
|
2025-04-13 13:09:37 +02:00
|
|
|
.qq-upload-button,
|
|
|
|
#mediamanager__upload_button {
|
|
|
|
display: inline-block;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 1rem;
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 1px 1px 5px;
|
2025-03-16 08:34:47 +01:00
|
|
|
padding: 2pt 20pt;
|
2025-04-13 13:09:37 +02:00
|
|
|
border: none 0;
|
2025-03-16 08:34:47 +01:00
|
|
|
color: #FFF;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2025-04-13 13:09:37 +02:00
|
|
|
.qq-upload-button {
|
|
|
|
background-color: #15395B;
|
|
|
|
}
|
2025-03-16 08:34:47 +01:00
|
|
|
#mediamanager__upload_button {
|
2025-04-13 13:09:37 +02:00
|
|
|
background-color: #B71C1C;
|
|
|
|
padding: .4rem 2.5rem;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
2025-04-13 13:09:37 +02:00
|
|
|
|
2025-03-16 08:34:47 +01:00
|
|
|
.qq-upload-button-focus {
|
2025-04-13 13:09:37 +02:00
|
|
|
outline: 1px dotted;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* drop area */
|
|
|
|
|
|
|
|
.qq-upload-drop-area {
|
2025-04-13 13:09:37 +02:00
|
|
|
background: @ini_background_neu;
|
|
|
|
color: @ini_text_neu;
|
|
|
|
text-align: center;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.qq-upload-drop-area span {
|
2025-04-13 13:09:37 +02:00
|
|
|
padding: 2em .5em;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.qq-upload-drop-area-active {
|
2025-04-13 13:09:37 +02:00
|
|
|
position: fixed;
|
|
|
|
top: 0; left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
min-height: 70px;
|
|
|
|
background: fadeout(@ini_background_alt, 10%);;
|
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
.qq-upload-drop-area-active span {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: -8px;
|
|
|
|
font-size: 120%;
|
|
|
|
color: #15395B;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
/* list of files to upload */
|
|
|
|
|
|
|
|
div.qq-uploader ul {
|
2025-04-13 13:09:37 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.qq-uploader li {
|
2025-04-13 13:09:37 +02:00
|
|
|
margin: 0 0 5px;
|
|
|
|
color: @ini_text;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.qq-uploader li span,
|
|
|
|
.qq-uploader li input,
|
|
|
|
.qq-uploader li a {
|
2025-04-13 13:09:37 +02:00
|
|
|
margin-right: 5px;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.qq-upload-file {
|
2025-04-13 13:09:37 +02:00
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.qq-upload-spinner {
|
2025-04-13 13:09:37 +02:00
|
|
|
display: inline-block;
|
|
|
|
background: url("../../images/throbber.gif");
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
vertical-align: text-bottom;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
2025-04-13 13:09:37 +02:00
|
|
|
.qq-upload-size {
|
|
|
|
font-size: 85%;
|
|
|
|
}
|
2025-03-16 08:34:47 +01:00
|
|
|
.qq-upload-cancel {
|
2025-04-13 13:09:37 +02:00
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.25;
|
|
|
|
width: 1em; height: 1.5em;
|
|
|
|
overflow: hidden;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
2025-04-13 13:09:37 +02:00
|
|
|
.qq-upload-cancel::before {
|
|
|
|
content: '\1F5D9';
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1.5em;
|
|
|
|
}
|
|
|
|
|
2025-03-16 08:34:47 +01:00
|
|
|
|
|
|
|
.qq-upload-failed-text {
|
2025-04-13 13:09:37 +02:00
|
|
|
display: none;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
.qq-upload-fail .qq-upload-failed-text {
|
2025-04-13 13:09:37 +02:00
|
|
|
display: inline;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.qq-action-container * {
|
2025-04-13 13:09:37 +02:00
|
|
|
vertical-align: middle;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
.qq-overwrite-check input {
|
2025-04-13 13:09:37 +02:00
|
|
|
margin-left: 10px;
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* media tree overrides */
|
|
|
|
#media__tree ul li div.li {
|
|
|
|
display: grid;
|
|
|
|
}
|
|
|
|
#mediamanager__page .ui-resizable-e {
|
|
|
|
background-color: #EEE;
|
2025-04-13 13:09:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* dark mode overrides */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
|
|
|
|
body.darkmode {
|
|
|
|
.qq-upload-button {
|
|
|
|
background-color: #1976D2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.qq-upload-drop-area {
|
|
|
|
background: @ini_background_neu_dark;
|
|
|
|
color: @ini_text_neu_dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.qq-upload-drop-area-active {
|
|
|
|
background: fadeout(@ini_background_alt_dark, 10%);;
|
|
|
|
}
|
|
|
|
.qq-upload-drop-area-active span {
|
|
|
|
color: #1976D2;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mediamanager__page .qq-upload-list {
|
|
|
|
li::before {
|
|
|
|
color: @ini_text_dark;
|
|
|
|
}
|
|
|
|
li input[type="text"] {
|
|
|
|
color: @ini_text_dark;
|
|
|
|
}
|
|
|
|
li input[type="text"]:focus {
|
|
|
|
border-color: @ini_border_dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2025-03-16 08:34:47 +01:00
|
|
|
}
|