Files
FileRise/styles.css
2025-02-21 20:51:27 -05:00

128 lines
2.5 KiB
CSS

.container {
margin-top: 10px;
}
/* Logout & Add User button container */
.logout-container {
position: absolute;
top: 10px;
right: 10px;
display: flex;
flex-direction: column;
align-items: flex-end; /* keep buttons right-aligned */
gap: 5px;
}
/* Move buttons below title, but still right-aligned, on small screens */
@media (max-width: 768px) {
.logout-container {
position: static;
align-items: flex-end; /* Right-align buttons instead of centering */
text-align: right;
margin-top: 10px;
}
.logout-container button {
width: auto;
min-width: 120px; /* Ensures buttons don't become huge */
}
}
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 15px;
border: 1px solid black;
box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
z-index: 1000;
width: 280px; /* slightly narrower */
height: 220px; /* reduce height */
display: flex;
flex-direction: column;
justify-content: space-between; /* Distribute space properly */
}
.btn-upload {
background-color: #007bff;
color: white;
border-radius: 5px;
}
.btn-upload:disabled {
background-color: gray;
}
.btn-choose-file {
background-color: #6c757d;
color: white;
border-radius: 5px;
}
.file-list {
margin-top: 10px;
}
.progress {
margin-top: 10px;
height: 20px; /* Narrow progress bar */
width: 100%;
}
.progress-bar {
height: 100%; /* Fill the entire height */
}
table {
width: 100%;
border-collapse: collapse;
}
table, th, td {
border: 1px solid black;
}
th, td {
padding: 10px;
text-align: left;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
h2 {
font-size: 1.5em; /* Smaller font size */
}
.form-group {
margin-bottom: 5px; /* Reduce vertical space between form groups */
}
label {
font-size: 0.9em; /* Smaller font size */
}
.btn {
font-size: 0.9em; /* Smaller font size for buttons */
}
.align-items-center {
display: flex;
align-items: center;
}
.table th button {
background: none;
border: none;
color: inherit;
cursor: pointer;
padding: 0;
}
#loginForm, #uploadForm {
display: none;
}
.form-row {
align-items: flex-start; /* Align items by top */
}
.full-width {
width: 100%;
}
.btn-delete {
background-color: #dc3545;
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
}
.btn-delete:hover {
background-color: #c82333;
}