-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7b1009
commit 0b32129
Showing
14 changed files
with
276 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,43 @@ | ||
.drag-and-upload-container { | ||
position: relative; | ||
height: 100%; | ||
cursor: pointer; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
margin: 1rem 0; | ||
} | ||
|
||
/* The label or tag showing the 'U' key hint */ | ||
.tag { | ||
position: absolute; | ||
top: 10%; | ||
right: 8%; | ||
background-color: #36b37e; | ||
position: relative; | ||
margin-bottom: 0.5rem; | ||
} | ||
.tag .tag-text { | ||
background: #2188ff; | ||
color: white; | ||
padding: 5px 10px; | ||
padding: 0.25rem 0.5rem; | ||
border-radius: 4px; | ||
font-weight: 600; | ||
} | ||
|
||
.tag-text { | ||
font-weight: bold; | ||
/* The dashed dropzone area */ | ||
.dropzone-area { | ||
width: 350px; | ||
height: 150px; | ||
margin-bottom: 1rem; | ||
text-align: center; | ||
} | ||
|
||
.drag-and-upload-container p { | ||
margin-top: 1rem; | ||
/* Additional text styling inside the dropzone */ | ||
.dropzone-area p { | ||
margin: 0.5rem; | ||
} | ||
|
||
.drag-and-upload-container svg { | ||
color: #6c757d; | ||
} | ||
|
||
/* Animation Styles */ | ||
@keyframes fadeInUp { | ||
from { | ||
opacity: 0; | ||
transform: translateY(20px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
} | ||
|
||
/* Apply the animation to the drag-and-upload-section */ | ||
.drag-and-upload-section { | ||
animation: fadeInUp 0.5s ease-in-out; | ||
} | ||
|
||
/* Additional styling for animations/transitions */ | ||
.tag { | ||
transition: background-color 0.3s ease-in-out; | ||
.dropzone-area .text-subtle { | ||
font-size: 0.85rem; | ||
color: #666; | ||
} | ||
|
||
.drag-and-upload-container p { | ||
transition: color 0.3s ease-in-out; | ||
/* Container for the two upload buttons */ | ||
.button-container { | ||
display: flex; | ||
gap: 1rem; | ||
} |
Oops, something went wrong.