|
:root { |
|
--bg-color: #121212; |
|
--text-color: #e0e0e0; |
|
--primary-color: #bb86fc; |
|
--secondary-color: #03dac6; |
|
--danger-color: #cf6679; |
|
--card-bg: #1e1e1e; |
|
--input-bg: #2c2c2c; |
|
--border-color: #333333; |
|
} |
|
|
|
* { |
|
box-sizing: border-box; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
|
|
body { |
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; |
|
background-color: var(--bg-color); |
|
color: var(--text-color); |
|
line-height: 1.6; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
|
|
.container { |
|
max-width: 1200px; |
|
margin: 0 auto; |
|
padding: 20px; |
|
} |
|
|
|
header { |
|
background-color: var(--card-bg); |
|
padding: 1rem 0; |
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
nav ul { |
|
list-style-type: none; |
|
padding: 0; |
|
display: flex; |
|
justify-content: center; |
|
flex-wrap: wrap; |
|
} |
|
|
|
nav ul li { |
|
margin: 0 15px; |
|
} |
|
|
|
nav ul li a { |
|
color: var(--text-color); |
|
text-decoration: none; |
|
font-weight: bold; |
|
transition: color 0.3s ease; |
|
} |
|
|
|
nav ul li a:hover { |
|
color: var(--secondary-color); |
|
} |
|
|
|
h1, |
|
h2, |
|
h3 { |
|
color: var(--primary-color); |
|
margin-bottom: 1rem; |
|
} |
|
|
|
.btn { |
|
display: inline-block; |
|
background-color: var(--primary-color); |
|
color: var(--bg-color); |
|
padding: 10px 20px; |
|
border: none; |
|
border-radius: 5px; |
|
cursor: pointer; |
|
transition: |
|
background-color 0.3s ease, |
|
transform 0.1s ease; |
|
text-decoration: none; |
|
font-size: 1rem; |
|
margin: 5px; |
|
} |
|
|
|
.btn:hover { |
|
background-color: #9a67ea; |
|
transform: translateY(-2px); |
|
} |
|
|
|
.btn:active { |
|
transform: translateY(0); |
|
} |
|
|
|
.btn-secondary { |
|
background-color: var(--secondary-color); |
|
} |
|
|
|
.btn-secondary:hover { |
|
background-color: #04b7a1; |
|
} |
|
|
|
.btn-danger { |
|
background-color: var(--danger-color); |
|
} |
|
|
|
.btn-danger:hover { |
|
background-color: #ff5c8d; |
|
} |
|
|
|
form { |
|
background-color: var(--card-bg); |
|
padding: 20px; |
|
border-radius: 8px; |
|
margin-bottom: 20px; |
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
.form-group { |
|
margin-bottom: 1rem; |
|
} |
|
|
|
input[type="text"], |
|
input[type="password"], |
|
input[type="file"] { |
|
width: 100%; |
|
padding: 10px; |
|
margin-bottom: 10px; |
|
border: 1px solid var(--border-color); |
|
border-radius: 4px; |
|
background-color: var(--input-bg); |
|
color: var(--text-color); |
|
font-size: 1rem; |
|
} |
|
|
|
input[type="file"] { |
|
padding: 5px; |
|
} |
|
|
|
label { |
|
display: block; |
|
margin-bottom: 5px; |
|
color: var(--secondary-color); |
|
} |
|
|
|
#file-list { |
|
list-style-type: none; |
|
padding: 0; |
|
} |
|
|
|
#file-list li { |
|
background-color: var(--card-bg); |
|
margin-bottom: 10px; |
|
padding: 15px; |
|
border-radius: 5px; |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
flex-wrap: wrap; |
|
} |
|
|
|
.file-actions { |
|
display: flex; |
|
justify-content: space-between; |
|
margin-bottom: 20px; |
|
flex-wrap: wrap; |
|
} |
|
|
|
table { |
|
width: 100%; |
|
border-collapse: collapse; |
|
margin-top: 20px; |
|
background-color: var(--card-bg); |
|
border-radius: 8px; |
|
overflow: hidden; |
|
} |
|
|
|
th, |
|
td { |
|
text-align: left; |
|
padding: 12px; |
|
border-bottom: 1px solid var(--border-color); |
|
} |
|
|
|
th { |
|
background-color: var(--primary-color); |
|
color: var(--bg-color); |
|
} |
|
|
|
tr:nth-child(even) { |
|
background-color: rgba(255, 255, 255, 0.05); |
|
} |
|
|
|
.loading { |
|
position: fixed; |
|
top: 50%; |
|
left: 50%; |
|
transform: translate(-50%, -50%); |
|
background-color: rgba(0, 0, 0, 0.7); |
|
color: var(--text-color); |
|
padding: 20px; |
|
border-radius: 5px; |
|
z-index: 1000; |
|
} |
|
|
|
.storage-info { |
|
margin-bottom: 20px; |
|
} |
|
|
|
progress { |
|
width: 100%; |
|
height: 20px; |
|
-webkit-appearance: none; |
|
appearance: none; |
|
} |
|
|
|
progress::-webkit-progress-bar { |
|
background-color: var(--input-bg); |
|
border-radius: 10px; |
|
} |
|
|
|
progress::-webkit-progress-value { |
|
background-color: var(--primary-color); |
|
border-radius: 10px; |
|
} |
|
|
|
progress::-moz-progress-bar { |
|
background-color: var(--primary-color); |
|
border-radius: 10px; |
|
} |
|
|
|
.warning { |
|
color: var(--danger-color); |
|
margin-bottom: 10px; |
|
} |
|
|
|
#password-strength { |
|
height: 5px; |
|
margin-top: 5px; |
|
transition: all 0.3s ease; |
|
} |
|
|
|
#password-strength.weak { |
|
background-color: #ff4136; |
|
width: 33.33%; |
|
} |
|
|
|
#password-strength.medium { |
|
background-color: #ffdc00; |
|
width: 66.66%; |
|
} |
|
|
|
#password-strength.strong { |
|
background-color: #2ecc40; |
|
width: 100%; |
|
} |
|
|
|
@media (max-width: 768px) { |
|
.file-actions { |
|
flex-direction: column; |
|
} |
|
|
|
.file-actions > * { |
|
margin-bottom: 10px; |
|
width: 100%; |
|
} |
|
|
|
#file-list li { |
|
flex-direction: column; |
|
align-items: flex-start; |
|
} |
|
|
|
#file-list li button { |
|
margin-top: 10px; |
|
} |
|
|
|
table { |
|
font-size: 0.9rem; |
|
} |
|
|
|
th, |
|
td { |
|
padding: 8px; |
|
} |
|
} |
|
|
|
@media (max-width: 480px) { |
|
.container { |
|
padding: 10px; |
|
} |
|
|
|
h1 { |
|
font-size: 1.5rem; |
|
} |
|
|
|
.btn { |
|
font-size: 0.9rem; |
|
padding: 8px 16px; |
|
} |
|
|
|
table { |
|
font-size: 0.8rem; |
|
} |
|
|
|
th, |
|
td { |
|
padding: 6px; |
|
} |
|
} |
|
|