unrhodecode/rhodecode/public/css/filepond.less
2026-01-14 17:42:56 +01:00

115 lines
2.5 KiB
Text

.filepond--root .filepond--file-info,
.filepond--root .filepond--file-info-main,
.filepond--root .filepond--file-info-sub {
pointer-events: auto !important;
}
/* Make the "sub" line look like the main line (brighter) */
.filepond--root .filepond--file-info .filepond--file-info-sub {
opacity: 1 !important; /* remove faded look */
color: #ffffff; /* or whatever contrasts your green */
font-size: 0.75em; /* same as main, if you like */
}
/* Style the link itself */
.filepond--root .filepond--file-info .filepond--file-info-sub a {
color: #ffffff;
text-decoration: underline;
cursor: pointer;
}
.filepond--root .filepond--drop-label .filepond--label-action {
font-family: @text-regular; /* or a different font */
}
/* Custom styling to match screenshot design */
.filepond--root {
margin-bottom: 0;
}
.filepond--panel-root {
background-color: #fafafa;
border: 2px dashed #d0d0d0;
border-radius: 4px;
}
.filepond--drop-label {
min-height: 100px;
display: flex;
align-items: center;
justify-content: center;
}
.filepond--drop-label label {
color: #666;
font-size: 14px;
font-weight: normal;
cursor: pointer;
}
/* Icon styling for inline document icon */
.filepond--drop-label i[class^="icon-"] {
font-size: 18px;
vertical-align: middle;
margin-right: 6px;
color: #666;
}
/* Style the clickable text */
.filepond--drop-label .link {
color: #0066cc;
text-decoration: none;
font-weight: normal;
}
.filepond--drop-label .link:hover {
text-decoration: underline;
}
/* Remove list bullets from file items */
.filepond--list {
list-style: none;
padding-left: 0;
margin: 0;
}
.filepond--item {
list-style: none;
list-style-type: none;
}
.filepond--item::before {
content: none;
display: none;
}
/* Compact styling for comment attachment uploader only */
.comment-attachment-uploader {
.filepond--root {
margin-bottom: 0;
font-size: 0.875rem;
}
.filepond--drop-label {
min-height: 40px !important;
}
.filepond--drop-label label {
padding: 8px 10px;
font-size: 13px;
line-height: 1.2;
}
.filepond--panel-root {
background-color: #fafafa;
border: 1px dashed #d0d0d0;
border-radius: 3px;
}
/* Icon styling specific to comments */
.filepond--drop-label i[class^="icon-"] {
font-size: 14px;
margin-right: 5px;
vertical-align: middle;
}
}