370 lines
7.2 KiB
CSS
370 lines
7.2 KiB
CSS
:root {
|
|
--white: #fff;
|
|
--black: #000;
|
|
--gray-100: #f8f9fa;
|
|
--gray-200: #e9ecef;
|
|
--gray-400: #ced4da;
|
|
--gray-500: #adb5bd;
|
|
--gray-600: #6c757d;
|
|
--gray-700: #495057;
|
|
--gray-800: #343a40;
|
|
--gray-900: #212529;
|
|
--red: #dc3545;
|
|
--orange: #fd7e14;
|
|
--yellow: #ffc107;
|
|
--green: #198754;
|
|
--teal: #20c997;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
code {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.container {
|
|
width: min(100% - 2rem, 1200px);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: calc(var(--gutter-y, 0) * -0.5) calc(var(--gutter-x, 0) * -0.5);
|
|
}
|
|
|
|
.row > * {
|
|
width: 100%;
|
|
padding: calc(var(--gutter-y, 0) * 0.5) calc(var(--gutter-x, 0) * 0.5);
|
|
}
|
|
|
|
.g-2 {
|
|
--gutter-x: 0.5rem;
|
|
--gutter-y: 0.5rem;
|
|
}
|
|
|
|
.g-3 {
|
|
--gutter-x: 1rem;
|
|
--gutter-y: 1rem;
|
|
}
|
|
|
|
.col-md-2,
|
|
.col-md-3,
|
|
.col-md-4,
|
|
.col-md-6,
|
|
.col-lg-6,
|
|
.col-xl-3 {
|
|
flex: 0 0 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
|
|
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
|
|
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
|
|
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.col-xl-3 { flex: 0 0 25%; max-width: 25%; }
|
|
}
|
|
|
|
.d-block { display: block; }
|
|
.d-flex { display: flex; }
|
|
.flex-wrap { flex-wrap: wrap; }
|
|
.flex-grow-1 { flex-grow: 1; }
|
|
.justify-content-between { justify-content: space-between; }
|
|
.justify-content-center { justify-content: center; }
|
|
.align-items-center { align-items: center; }
|
|
.align-items-end { align-items: flex-end; }
|
|
.text-center { text-align: center; }
|
|
.text-end { text-align: end; }
|
|
.text-uppercase { text-transform: uppercase; }
|
|
.fw-semibold { font-weight: 600; }
|
|
.small { font-size: 0.875rem; }
|
|
.h3, .h4, .h6 { margin: 0; font-weight: 600; line-height: 1.2; }
|
|
.h3 { font-size: 1.75rem; }
|
|
.h4 { font-size: 1.5rem; }
|
|
.h6 { font-size: 1rem; }
|
|
.fs-5 { font-size: 1.25rem; }
|
|
.fs-6 { font-size: 1rem; }
|
|
|
|
.gap-2 { gap: 0.5rem; }
|
|
.gap-3 { gap: 1rem; }
|
|
.mb-0 { margin-bottom: 0; }
|
|
.mb-2 { margin-bottom: 0.5rem; }
|
|
.mb-3 { margin-bottom: 1rem; }
|
|
.mb-4 { margin-bottom: 1.5rem; }
|
|
.mt-3 { margin-top: 1rem; }
|
|
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
|
|
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
|
|
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
|
|
.p-3 { padding: 1rem; }
|
|
.w-100 { width: 100%; }
|
|
.rounded { border-radius: 0.5rem; }
|
|
.sticky-top { position: sticky; top: 0; z-index: 1020; }
|
|
.border-bottom { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
|
|
|
|
.text-light { color: var(--gray-100); }
|
|
.text-secondary { color: var(--gray-500); }
|
|
.text-danger { color: #ff7b89; }
|
|
.bg-dark { background: rgba(0, 0, 0, 0.35); }
|
|
.bg-black { background: rgba(0, 0, 0, 0.55); }
|
|
.bg-danger { background: rgba(220, 53, 69, 0.9); color: var(--white); }
|
|
.bg-secondary { background: rgba(108, 117, 125, 0.95); color: var(--white); }
|
|
.bg-success { background: rgba(25, 135, 84, 0.95); color: var(--white); }
|
|
.border-secondary { border-color: rgba(255, 255, 255, 0.14); }
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.4rem;
|
|
padding: 0.65rem 1rem;
|
|
border-radius: 0.6rem;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: var(--white);
|
|
transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.45rem 0.8rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--red);
|
|
border-color: var(--red);
|
|
}
|
|
|
|
.btn-success {
|
|
background: var(--green);
|
|
border-color: var(--green);
|
|
}
|
|
|
|
.btn-warning {
|
|
background: var(--yellow);
|
|
border-color: var(--yellow);
|
|
color: var(--gray-900);
|
|
}
|
|
|
|
.btn-outline-light {
|
|
border-color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.btn-outline-danger {
|
|
border-color: rgba(220, 53, 69, 0.75);
|
|
color: #ff9ba6;
|
|
}
|
|
|
|
.btn-outline-secondary {
|
|
border-color: rgba(173, 181, 189, 0.5);
|
|
color: var(--gray-200);
|
|
}
|
|
|
|
.form-label,
|
|
.form-text {
|
|
display: block;
|
|
}
|
|
|
|
.form-label {
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.form-text {
|
|
margin-top: 0.35rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.form-control {
|
|
width: 100%;
|
|
padding: 0.7rem 0.85rem;
|
|
border-radius: 0.6rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
background: rgba(0, 0, 0, 0.35);
|
|
color: var(--gray-100);
|
|
}
|
|
|
|
.form-control:focus {
|
|
outline: 2px solid rgba(255, 90, 61, 0.35);
|
|
border-color: rgba(255, 90, 61, 0.55);
|
|
}
|
|
|
|
.form-control-sm {
|
|
padding: 0.55rem 0.7rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.alert {
|
|
position: relative;
|
|
padding: 0.8rem 1rem;
|
|
border-radius: 0.75rem;
|
|
border: 1px solid transparent;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.alert-warning {
|
|
background: rgba(255, 193, 7, 0.14);
|
|
border-color: rgba(255, 193, 7, 0.35);
|
|
color: #ffe28a;
|
|
}
|
|
|
|
.alert-danger {
|
|
background: rgba(220, 53, 69, 0.14);
|
|
border-color: rgba(220, 53, 69, 0.35);
|
|
color: #ff9ba6;
|
|
}
|
|
|
|
.alert-success {
|
|
background: rgba(25, 135, 84, 0.14);
|
|
border-color: rgba(25, 135, 84, 0.35);
|
|
color: #8de5b6;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 999px;
|
|
padding: 0.35rem 0.7rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.spinner-border {
|
|
display: inline-block;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
border: 0.25em solid currentColor;
|
|
border-right-color: transparent;
|
|
border-radius: 50%;
|
|
animation: spin 0.75s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1050;
|
|
display: none;
|
|
overflow-y: auto;
|
|
padding: 1rem;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.modal.show {
|
|
display: block;
|
|
}
|
|
|
|
.modal-dialog {
|
|
width: min(100%, 560px);
|
|
margin: 2rem auto;
|
|
}
|
|
|
|
.modal-lg {
|
|
width: min(100%, 900px);
|
|
}
|
|
|
|
.modal-dialog-scrollable .modal-content {
|
|
max-height: calc(100vh - 4rem);
|
|
}
|
|
|
|
.modal-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 1rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modal-header,
|
|
.modal-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 1rem 1.25rem;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 1rem 1.25rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.btn-close {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
background: transparent;
|
|
color: var(--gray-100);
|
|
position: relative;
|
|
}
|
|
|
|
.btn-close::before,
|
|
.btn-close::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 1rem;
|
|
height: 2px;
|
|
background: currentColor;
|
|
transform-origin: center;
|
|
}
|
|
|
|
.btn-close::before {
|
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
}
|
|
|
|
.btn-close::after {
|
|
transform: translate(-50%, -50%) rotate(-45deg);
|
|
}
|
|
|
|
.btn-close-white {
|
|
color: var(--white);
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|