Files
2026-08-26 20:40:17 +08:00

270 lines
5.0 KiB
CSS

body {
font-family: Arial, sans-serif;
}
h1, h2 {
color: #333;
}
.button-check {
padding: 3px 8px;
background-color: transparent;
color: green;
border: 1px solid green;
border-radius: 3px;
cursor: pointer;
font-size: 12px;
}
.button-container {
display: flex;
justify-content: right;
margin-top: 5px;
}
.submit-button {
margin-top: 30px;
width: 150px;
height: 30px;
background-color: #2885e8;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.submit-button:hover {
background-color: #0f77e6;
}
.switch {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 20px;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 2px;
bottom: 2px;
background-color: #fff;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #2196F3;
}
input:checked + .slider:before {
left: 22px;
}
.fwx-form-card {
max-width: 780px;
margin: 0 auto 16px auto;
padding: 16px;
border: 1px solid #e5e7eb;
border-radius: 8px;
background: transparent;
box-shadow: none;
}
.form-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 8px;
display: flex;
align-items: center;
}
.form-desc {
color: #6b7280;
font-size: 13px;
margin-bottom: 12px;
}
[data-darkmode="true"] .form-desc {
color:#c0c0c0;
}
.oaf-check-item {
display: inline-flex;
align-items: center;
gap: 5px;
min-width: 0;
line-height: 1.4;
white-space: nowrap;
}
.oaf-check-item.oaf-check-item > input[type="checkbox"] {
margin: 0;
flex: 0 0 auto;
}
.oaf-check-item.oaf-check-item > label {
display: inline-flex;
align-items: center;
margin: 0;
min-width: 0;
line-height: 1.4;
cursor: pointer;
white-space: nowrap;
}
.oaf-check-item.oaf-check-item > label span {
min-width: 0;
white-space: nowrap;
}
.common-modal-mask {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
justify-content: center;
align-items: center;
}
.common-modal-mask.show {
display: flex;
}
.common-modal-content {
background-color: rgba(0, 0, 0, 0.5);
padding: 10px;
border-radius: 5px;
text-align: center;
width: 100px;
height: 70px;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
/* Common table styles */
.common-table {
width: 100%;
border-collapse: collapse;
}
.common-table th,
.common-table td {
padding: 8px;
border: 1px solid;
text-align: left;
}
.common-table th {
font-weight: bold;
}
.table-header {
display: grid;
padding: 10px;
font-weight: bold;
border: 1px solid;
border-bottom: none;
}
.table-row {
display: grid;
padding: 10px;
border: 1px solid;
border-top: none;
align-items: center;
}
/* Table title style */
.table-title {
font-size: 18px;
font-weight: bold;
margin-bottom: 20px;
}
/* Common button styles */
.btn-delete {
padding: 3px 8px;
background-color: #ff4444;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
font-size: 13px;
}
.btn-delete:hover {
background-color: #cc0000;
}
.btn-edit {
padding: 3px 8px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
margin-right: 5px;
font-size: 13px;
}
.btn-edit:hover {
background-color: #0056b3;
}
.btn-add {
padding: 5px 15px;
background-color: #2885e8;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
font-size: 14px;
}
.btn-add:hover {
background-color: #1e6bb8;
}
.form-row { display: flex; align-items: center; margin-bottom: 10px; gap: 10px; }
.form-label { width: 140px; font-weight: 500; color: inherit; }
.form-row input { width: 360px; max-width: 100%; padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 4px; background: inherit; color: inherit; }
.form-row select { width: 360px; max-width: 100%; }
.form-text-row { margin-bottom: 10px; font-size: 13px; color: #6b7280; }
.input-short { width: 200px !important; max-width: 100%; }
.btn { padding: 2px 25px; border: 1px solid #10b981; background: #10b981; color: #fff; border-radius: 4px; cursor: pointer; font-weight: 600; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary { background: transparent; color: #10b981; padding: 2px 25px; }
.section-header { font-weight: 600; margin: 12px 0 6px; color: inherit; }
.row-inline { display: flex; gap: 10px; }
.row-inline .form-row { flex: 1; }
.status-tip { margin-top: 8px; font-size: 13px; color: #6b7280; }