refactor: move upload files css
This commit is contained in:
parent
27d05329a3
commit
007c100b33
@ -134,58 +134,3 @@ main {
|
|||||||
.break-word {
|
.break-word {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-files .card.floating {
|
|
||||||
left: auto;
|
|
||||||
top: auto;
|
|
||||||
margin: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
transform: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.upload-files .file {
|
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.upload-files .file .file-name {
|
|
||||||
font-size: 1.1em;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.upload-files .file .file-name i {
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.upload-files .file .file-progress {
|
|
||||||
margin-top: 2px;
|
|
||||||
width: 100%;
|
|
||||||
height: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.upload-files .file .file-progress div {
|
|
||||||
height: 100%;
|
|
||||||
background-color: #40c4ff;
|
|
||||||
width: 0;
|
|
||||||
transition: 0.2s ease width;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.upload-files.closed .card-content {
|
|
||||||
display: none;
|
|
||||||
padding: 0em 1em 1em 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.upload-files .card .card-title {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 0.8em;
|
|
||||||
padding: 1em 1em 0em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.upload-files.closed .card-title {
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding: 0.5em 1em;
|
|
||||||
}
|
|
||||||
@ -11,6 +11,7 @@
|
|||||||
@import "./header.css";
|
@import "./header.css";
|
||||||
@import "./listing.css";
|
@import "./listing.css";
|
||||||
@import "./listing-icons.css";
|
@import "./listing-icons.css";
|
||||||
|
@import "./upload-files.css";
|
||||||
@import "./dashboard.css";
|
@import "./dashboard.css";
|
||||||
@import "./login.css";
|
@import "./login.css";
|
||||||
|
|
||||||
|
|||||||
54
frontend/src/css/upload-files.css
Normal file
54
frontend/src/css/upload-files.css
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
.upload-files .card.floating {
|
||||||
|
left: auto;
|
||||||
|
top: auto;
|
||||||
|
margin: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-files .file {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-files .file .file-name {
|
||||||
|
font-size: 1.1em;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-files .file .file-name i {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-files .file .file-progress {
|
||||||
|
margin-top: 2px;
|
||||||
|
width: 100%;
|
||||||
|
height: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-files .file .file-progress div {
|
||||||
|
height: 100%;
|
||||||
|
background-color: #40c4ff;
|
||||||
|
width: 0;
|
||||||
|
transition: 0.2s ease width;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-files.closed .card-content {
|
||||||
|
display: none;
|
||||||
|
padding: 0em 1em 1em 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-files .card .card-title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 0.8em;
|
||||||
|
padding: 1em 1em 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upload-files.closed .card-title {
|
||||||
|
font-size: 0.7em;
|
||||||
|
padding: 0.5em 1em;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user