Skip to content
Snippets Groups Projects
Commit 41539700 authored by Ada Turgut's avatar Ada Turgut
Browse files

change border color and cleaning

parent aa496b14
Branches
No related tags found
2 merge requests!260Deploy,!217Resolve "Restore file drag & drop"
......@@ -4,7 +4,7 @@
justify-content: center;
align-items: center;
gap: 0.5rem;
border: 2px dashed #ccc;
border: 2px dashed var(--neutral-600);
padding: 1.25rem;
text-align: center;
transition: border-color 0.3s ease-in-out;
......@@ -12,7 +12,7 @@
min-height: 12.5rem;
border-radius: 0.625rem;
overflow: hidden;
color: var(--disabled-colour);
color: var(--neutral-600);
}
.drop-area input[type="file"] {
......@@ -24,11 +24,11 @@
}
.drop-area[data-drag="entered"] {
border: 0.188rem dotted #707070;
border: 0.188rem dotted var(--neutral-300);
}
.drop-area[data-drag="left"] {
border: 0.125rem dashed #ccc;
border: 0.125rem dashed var(--neutral-600);
}
.drop-area button {
......
......@@ -26,10 +26,7 @@ document.addEventListener("DOMContentLoaded", function () {
if (file.length > 0) {
fileLabel.innerText = " " + file.item(0).name;
console.log("inner text " + fileLabel + fileLabel.innerText);
fileLabelWithIcon.removeAttribute("hidden");
console.log("with icon: " + fileLabelWithIcon);
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment