.menu-group a.active {
|
color: #1677ff;
|
background: rgba(255, 255, 255, 0.24);
|
font-weight: 700;
|
}
|
|
.version-page {
|
flex: 1;
|
padding: 10px 12px 18px;
|
background: #eef3f8;
|
}
|
|
.version-card {
|
min-height: calc(100vh - 118px);
|
padding: 14px 14px 40px;
|
border-radius: 6px;
|
background: #fff;
|
box-shadow: 0 1px 8px rgba(28, 82, 142, 0.08);
|
}
|
|
.version-header {
|
height: 80px;
|
display: flex;
|
align-items: flex-start;
|
justify-content: space-between;
|
}
|
|
.version-header h1 {
|
margin: 0;
|
color: #111827;
|
font-size: 15px;
|
font-weight: 700;
|
}
|
|
.add-button {
|
min-width: 58px;
|
height: 24px;
|
margin-top: 44px;
|
margin-right: 44px;
|
padding: 0 14px;
|
border: 1px solid #2e73ff;
|
border-radius: 3px;
|
color: #fff;
|
background: #2e73ff;
|
font-size: 12px;
|
cursor: pointer;
|
}
|
|
.version-table {
|
width: calc(100% - 28px);
|
margin: 0 auto;
|
border-collapse: collapse;
|
table-layout: fixed;
|
color: #111827;
|
font-size: 12px;
|
}
|
|
.version-table thead tr {
|
height: 30px;
|
background: #e9e9e9;
|
}
|
|
.version-table th {
|
padding: 0 8px;
|
font-weight: 700;
|
text-align: left;
|
}
|
|
.version-table td {
|
height: 44px;
|
padding: 0 8px;
|
vertical-align: middle;
|
}
|
|
.version-table th:nth-child(1),
|
.version-table td:nth-child(1) {
|
width: 72px;
|
}
|
|
.version-table th:nth-child(2),
|
.version-table td:nth-child(2) {
|
width: 145px;
|
}
|
|
.version-table th:nth-child(3),
|
.version-table td:nth-child(3) {
|
width: 330px;
|
}
|
|
.version-table th:nth-child(4),
|
.version-table td:nth-child(4) {
|
width: 270px;
|
}
|
|
.version-table th:nth-child(5),
|
.version-table td:nth-child(5) {
|
width: 280px;
|
}
|
|
.version-content-cell {
|
position: relative;
|
}
|
|
.version-content-text {
|
max-width: 285px;
|
display: inline-block;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
vertical-align: middle;
|
}
|
|
.table-actions {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
}
|
|
.table-actions button {
|
border: 0;
|
color: #0075ff;
|
background: transparent;
|
font-size: 12px;
|
cursor: pointer;
|
}
|
|
.empty-state {
|
width: calc(100% - 28px);
|
margin: 36px auto 0;
|
color: #8a9ab0;
|
text-align: center;
|
font-size: 13px;
|
}
|
|
.version-modal-panel {
|
width: 482px;
|
min-height: 434px;
|
border-radius: 4px;
|
}
|
|
.version-modal-header {
|
height: 52px;
|
justify-content: flex-start;
|
padding-left: 20px;
|
}
|
|
.version-modal-header h3 {
|
font-size: 14px;
|
}
|
|
.version-form {
|
display: grid;
|
gap: 14px;
|
padding: 18px 48px 78px 20px;
|
}
|
|
.version-row {
|
display: grid;
|
grid-template-columns: 64px 1fr;
|
align-items: start;
|
gap: 10px;
|
color: #24364f;
|
font-size: 12px;
|
}
|
|
.version-row > span:first-child {
|
padding-top: 8px;
|
font-size: 12px;
|
font-weight: 400;
|
line-height: 16px;
|
text-align: left;
|
}
|
|
.version-row.required > span:first-child::before {
|
content: "*";
|
margin-right: 2px;
|
color: #f15a5a;
|
}
|
|
.version-input-line {
|
display: grid;
|
grid-template-columns: 18px 1fr;
|
align-items: center;
|
width: 242px;
|
height: 24px;
|
border: 1px solid #cbd2dc;
|
box-sizing: border-box;
|
}
|
|
.version-prefix {
|
padding-left: 7px;
|
color: #24364f;
|
}
|
|
.version-row input[type="text"] {
|
height: 22px;
|
min-width: 0;
|
padding: 0 7px 0 0;
|
border: 0;
|
color: #1f2d3d;
|
font: inherit;
|
outline: 0;
|
}
|
|
.version-row textarea {
|
width: 242px;
|
height: 68px;
|
box-sizing: border-box;
|
resize: none;
|
padding: 8px;
|
border: 1px solid #cbd2dc;
|
color: #1f2d3d;
|
font: inherit;
|
line-height: 18px;
|
outline: 0;
|
}
|
|
.version-input-line:focus-within,
|
.version-row textarea:focus {
|
border-color: #2f80ed;
|
box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.08);
|
}
|
|
.upload-field {
|
width: 242px;
|
}
|
|
.upload-drop {
|
width: 242px;
|
height: 102px;
|
display: grid;
|
place-items: center;
|
border: 1px dashed #dce3ec;
|
color: #9aa8bb;
|
background: #fff;
|
font-size: 12px;
|
cursor: pointer;
|
}
|
|
.upload-drop.drag-over {
|
border-color: #2e73ff;
|
background: #f5f9ff;
|
}
|
|
.upload-drop strong {
|
color: #0075ff;
|
font-weight: 700;
|
}
|
|
.upload-drop i {
|
margin: 0 10px;
|
color: #9aa8bb;
|
font-style: normal;
|
}
|
|
.upload-drop.has-file {
|
border-style: solid;
|
color: #24364f;
|
background: #f9fbfe;
|
}
|
|
.upload-tip {
|
margin: 10px 0 0;
|
color: #8a9ab0;
|
font-size: 11px;
|
line-height: 16px;
|
text-align: center;
|
}
|
|
.switch-line {
|
grid-template-columns: 64px 0 46px;
|
align-items: center;
|
}
|
|
.switch-line input {
|
position: absolute;
|
opacity: 0;
|
pointer-events: none;
|
}
|
|
.switch-control {
|
width: 28px;
|
height: 16px;
|
display: inline-block;
|
position: relative;
|
border-radius: 999px;
|
background: #c8d3df;
|
cursor: pointer;
|
}
|
|
.switch-control::after {
|
content: "";
|
position: absolute;
|
top: 2px;
|
left: 2px;
|
width: 12px;
|
height: 12px;
|
border-radius: 50%;
|
background: #fff;
|
transition: transform 0.16s ease;
|
}
|
|
.switch-line input:checked + .switch-control {
|
background: #19be6b;
|
}
|
|
.switch-line input:checked + .switch-control::after {
|
transform: translateX(12px);
|
}
|
|
.version-modal-actions {
|
position: absolute;
|
right: 20px;
|
bottom: 18px;
|
display: flex;
|
gap: 14px;
|
}
|
|
.version-modal-actions .ghost-button,
|
.version-modal-actions .primary-button {
|
min-width: 58px;
|
height: 22px;
|
}
|
|
.version-form.readonly input,
|
.version-form.readonly textarea {
|
color: #52657a;
|
background: #f6f8fb;
|
}
|
|
.version-form.readonly .upload-drop {
|
cursor: default;
|
}
|
|
@media (max-width: 1280px) {
|
.version-table th:nth-child(5),
|
.version-table td:nth-child(5) {
|
width: 210px;
|
}
|
}
|