158 lines
2.9 KiB
CSS
158 lines
2.9 KiB
CSS
|
.upload-container {
|
||
|
display: inline-block;
|
||
|
max-width: 100%;
|
||
|
margin-top: 50px;
|
||
|
}
|
||
|
|
||
|
.upload-wrapper {
|
||
|
padding: 20px;
|
||
|
background-color: #282a2e;
|
||
|
border: 1px solid #1e1e1e;
|
||
|
border-radius: 20px;
|
||
|
font-family: 'Trebuchet MS', Arial, sans-serif;
|
||
|
}
|
||
|
|
||
|
.upload-form {
|
||
|
border: 5px dashed #676867;
|
||
|
border-radius: 10px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.upload-box {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
min-width: 300px;
|
||
|
min-height: 300px;
|
||
|
}
|
||
|
|
||
|
.upload-box span {
|
||
|
color: #c5c8c6;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.upload-details {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
padding: 0 0 20px 0;
|
||
|
}
|
||
|
|
||
|
.upload-details > * {
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
|
||
|
.upload-details span {
|
||
|
color: #c5c8c6;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.upload-file {
|
||
|
display: none;
|
||
|
width: 100%;
|
||
|
padding: 0 20px;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.upload-message {
|
||
|
white-space: normal;
|
||
|
padding: 0 20px;
|
||
|
word-wrap: break-word;
|
||
|
max-width: 300px;
|
||
|
}
|
||
|
|
||
|
.upload-message.error {
|
||
|
color: #e82e57;
|
||
|
}
|
||
|
|
||
|
.upload-button-wrapper {
|
||
|
display: none;
|
||
|
width: 100%;
|
||
|
padding: 0 20px;
|
||
|
}
|
||
|
|
||
|
.upload-button {
|
||
|
border: 0;
|
||
|
box-shadow: none;
|
||
|
border-radius: 0px;
|
||
|
|
||
|
width: 100%;
|
||
|
padding: 15px;
|
||
|
background: #191919 !important;
|
||
|
font-family: 'Trebuchet MS', Arial, sans-serif;
|
||
|
color: #c5c8c6;
|
||
|
border-radius: 10px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.upload-button.transparent {
|
||
|
background: transparent !important;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
.upload-progress-container {
|
||
|
display: none;
|
||
|
width: 100%;
|
||
|
padding: 0 20px;
|
||
|
}
|
||
|
|
||
|
.upload-progress {
|
||
|
height: 30px;
|
||
|
background: linear-gradient(45deg, #c7c7c7, #ae81ff);
|
||
|
border-radius: 5px;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.upload-progress-label {
|
||
|
color: #282a2e !important;
|
||
|
}
|
||
|
|
||
|
/* SPINNER */
|
||
|
|
||
|
.loader,
|
||
|
.loader:after {
|
||
|
border-radius: 50%;
|
||
|
width: 3em;
|
||
|
height: 3em;
|
||
|
}
|
||
|
.loader {
|
||
|
font-size: 10px;
|
||
|
position: relative;
|
||
|
text-indent: -9999em;
|
||
|
border-top: 0.5em solid rgba(255, 255, 255, 0.2);
|
||
|
border-right: 0.5em solid rgba(255, 255, 255, 0.2);
|
||
|
border-bottom: 0.5em solid rgba(255, 255, 255, 0.2);
|
||
|
border-left: 0.5em solid #ffffff;
|
||
|
-webkit-transform: translateZ(0);
|
||
|
-ms-transform: translateZ(0);
|
||
|
transform: translateZ(0);
|
||
|
-webkit-animation: load8 1.1s infinite linear;
|
||
|
animation: load8 1.1s infinite linear;
|
||
|
}
|
||
|
@-webkit-keyframes load8 {
|
||
|
0% {
|
||
|
-webkit-transform: rotate(0deg);
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
100% {
|
||
|
-webkit-transform: rotate(360deg);
|
||
|
transform: rotate(360deg);
|
||
|
}
|
||
|
}
|
||
|
@keyframes load8 {
|
||
|
0% {
|
||
|
-webkit-transform: rotate(0deg);
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
100% {
|
||
|
-webkit-transform: rotate(360deg);
|
||
|
transform: rotate(360deg);
|
||
|
}
|
||
|
}
|