db_archive/styles.css
2024-07-18 17:31:32 -07:00

449 lines
7.1 KiB
CSS

html, body {
height: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
}
.page-container {
flex: 1;
display: flex;
flex-direction: column;
}
.content-wrap {
flex: 1;
}
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: #f9fafb;
color: #333;
}
.container {
width: 70%;
margin: auto;
overflow: hidden;
padding: 20px 0;
}
.site-header {
background: #1a1c21;
color: #fff;
padding: 10px 0;
border-bottom: #3182ce 3px solid;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 70%;
margin: auto;
padding: 0 20px;
}
.header-content h1 {
margin: 0;
font-size: 1.5rem;
}
.dropdown-container {
display: flex;
align-items: center;
}
.dropdown-container label {
margin-right: 10px;
color: #fff;
}
.dropdown-container select {
padding: 5px 10px;
font-size: 1rem;
border-radius: 5px;
border: 1px solid #ddd;
outline: none;
cursor: pointer;
}
.dropdown-container select:hover {
border-color: #3182ce;
}
.table-container {
margin-top: 20px;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.tab-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #f7fafc;
border: 1px solid #ddd;
border-radius: 5px;
margin-bottom: 10px;
}
.tab-title {
font-size: 1.5rem;
font-weight: bold;
}
.tab-status span {
display: inline-block;
margin-left: 10px;
padding: 5px 10px;
background-color: #e2e8f0;
border-radius: 5px;
font-size: 0.875rem;
color: #4a5568;
}
.status-downloads {
background-color: #ebf8ff;
color: #3182ce;
}
.status-size {
background-color: #edf2f7;
color: #718096;
}
.status-created {
background-color: #f0fff4;
color: #38a169;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0 0 0;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 5px;
overflow: hidden;
}
table, th, td {
border: 1px solid #ddd;
font-size: .8125rem;
}
th, td {
padding: 12px;
text-align: left;
}
th {
background-color: #f7fafc;
color: #333;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #f7fafc;
}
tr:hover {
background-color: #edf2f7;
}
.download-button {
padding: .125rem .5rem;
font-size: .8125rem;
line-height: 1.75;
border-radius: .25rem;
display: inline-block;
background-color: #daa520;
color: #fff;
text-decoration: none;
}
.download-button:hover {
background-color: #707885;
}
.tab-content {
display: none;
}
.upload-form {
margin: 20px 0;
}
.upload-form form {
display: flex;
flex-direction: column;
align-items: center;
}
.upload-form label {
margin: 10px 0 5px;
}
.upload-form input, .upload-form select, .upload-form button {
padding: 10px;
margin: 5px 0;
font-size: 1rem;
width: 100%;
max-width: 300px;
}
.upload-form button {
background: #3182ce;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.upload-form button:hover {
background: #2c5282;
}
.site-footer {
background: #1a1c21;
text-align: center;
padding: 20px 0;
}
.footer-content {
color: #707885;
max-width: 70%;
margin: auto;
padding: 0 20px;
}
.site-footer p {
margin: 5px 0;
font-size: 0.875rem;
}
.container p {
margin-top: 0px;
}
.info-bar {
background-color: #cce5ff;
border-color: #3182ce;
color: #004085;
position: relative;
padding: .75rem 1.25rem;
margin-bottom: 1.5rem;
border: 1px solid transparent;
border-radius: .375rem;
}
.info-bar p {
margin: 0;
font-size: 1rem;
}
.info-bar a {
color: #fff;
text-decoration: underline;
font-weight: bold;
}
.info-bar a:hover {
color: #d0e8ff;
}
.sub-header-body {
padding: 0 0 20px 0;
}
.sub-header-pretitle {
font-size: 0.875rem;
font-weight: 600;
color: #6c757d;
margin-bottom: 0.5rem;
}
.sub-header-title {
font-size: 1.5rem;
font-weight: 700;
color: #343a40;
margin-bottom: 0;
}
.row {
display: flex;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
.align-items-end {
align-items: flex-end;
}
.col, .col-auto {
position: relative;
width: 100%;
padding-right: 15px;
padding-left: 15px;
}
.col {
flex: 1 0 0%;
}
.col-auto {
flex: 0 0 auto;
width: auto;
}
.badge {
display: inline-block;
padding: 0.35em 0.65em;
font-size: 75%;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.375rem;
}
.badge-soft-primary {
color: #004085;
background-color: #cce5ff;
}
.badge-soft-secondary {
color: #383d41;
background-color: #e2e3e5;
}
.badge-soft-success {
color: #155724;
background-color: #d4edda;
}
.mt-2 {
margin-top: 0.5rem;
}
.mt-3 {
margin-top: 1rem;
}
.btn {
display: inline-block;
font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
user-select: none;
border: 1px solid transparent;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: 0.25rem;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn-sm {
font-size: 0.875rem;
line-height: 1.5;
padding: 0.25rem 0.5rem;
border-radius: 0.2rem;
}
.btn-primary {
color: #fff;
background-color: #daa520;
border-color: #daa520;
}
.btn-primary:hover {
color: #fff;
background-color: #0069d9;
border-color: #0062cc;
}
.header-title {
margin-bottom: 10px;
}
.header-pretitle {
margin-top: 0px;
}
.badge {
display: inline-block;
padding: 0.35em 0.65em;
font-size: 75%;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.375rem;
margin-right: 5px; /* Add space between badges */
}
.badge-soft-primary {
color: #004085;
background-color: #cce5ff;
}
.badge-soft-secondary {
color: #383d41;
background-color: #e2e3e5;
}
.badge-soft-success {
color: #155724;
background-color: #d4edda;
}
a.btn-primary {
text-decoration: none; /* Remove underline from the download button */
}
.icon {
width: 1em;
height: 1em;
vertical-align: -0.125em;
padding: 5px 7px 0 0;
}
.db-version .icon {
padding: 0 7px 0 7px;
}
.db-protected .icon {
padding: 0 7px 0 7px;
color: #FF0000; /* Light grey color */
}
.text-right {
text-align: right;
}
.db-version {
float: right;
color: #888; /* Light grey color */
font-size: 0.875rem; /* Adjust font size if needed */
}
.db-protected {
float: right;
color: #888; /* Light grey color */
font-size: 0.875rem; /* Adjust font size if needed */
}
.table-container p.contribute {
text-align: center;
margin: 20px 0 0 0;
}