469 lines
8.1 KiB
CSS
469 lines
8.1 KiB
CSS
.page-main,
|
|
.page-wrap {
|
|
width: min(var(--max-width), calc(100% - 48px));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.publish-card,
|
|
.cxz-form-card {
|
|
width: 100%;
|
|
margin: 26px auto 54px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-light);
|
|
border-radius: 18px;
|
|
background: #fff;
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.publish-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 28px 34px;
|
|
border-bottom: 1px solid var(--border-light);
|
|
background: linear-gradient(120deg, #ffffff 0%, #f6f8fd 70%, #fff9e8 100%);
|
|
}
|
|
|
|
.publish-card-header-h2,
|
|
.cxz-form-title {
|
|
position: relative;
|
|
margin: 0;
|
|
padding-left: 16px;
|
|
color: var(--primary);
|
|
font-size: 22px;
|
|
font-weight: 900;
|
|
line-height: 1.4;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.publish-card-header-h2::before,
|
|
.cxz-form-title::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 5px;
|
|
width: 4px;
|
|
height: 24px;
|
|
border-radius: 4px;
|
|
background: linear-gradient(180deg, var(--gold), var(--orange));
|
|
}
|
|
|
|
.publish-card-header p {
|
|
margin: 8px 0 0;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.publish-card-body,
|
|
.cxz-form-body {
|
|
padding: 28px 34px 34px;
|
|
}
|
|
|
|
.publish-tab-bar {
|
|
display: flex;
|
|
align-items: stretch;
|
|
overflow: hidden;
|
|
margin: 0 0 24px;
|
|
border: 1px solid var(--border-light);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-light);
|
|
}
|
|
|
|
.publish-tab-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
min-height: 48px;
|
|
border-right: 1px solid var(--border-light);
|
|
background: transparent;
|
|
color: #34425a;
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: color 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.publish-tab-item:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.publish-tab-item.active {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.publish-tab-item.layui-disabled,
|
|
.publish-tab-item:disabled {
|
|
color: #a8b2c2;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.publish-tip-box {
|
|
margin-bottom: 24px;
|
|
padding: 16px 18px;
|
|
border: 1px solid #ffe2b1;
|
|
border-radius: var(--radius-sm);
|
|
background: #fff9ef;
|
|
}
|
|
|
|
.publish-tip-item {
|
|
margin: 0 0 8px;
|
|
color: #674719;
|
|
font-size: 14px;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.publish-tip-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.form-row,
|
|
.cxz-form-group {
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.form-row label,
|
|
.cxz-form-label {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
color: var(--primary);
|
|
font-size: 15px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.required {
|
|
color: var(--orange);
|
|
}
|
|
|
|
.form-select,
|
|
.cxz-form-select,
|
|
.form-input,
|
|
.cxz-form-input,
|
|
.cxz-form-textarea {
|
|
width: 100%;
|
|
min-height: 46px;
|
|
border: 1px solid var(--border-light);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-light);
|
|
color: var(--text-dark);
|
|
font-size: 15px;
|
|
outline: none;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.form-select,
|
|
.cxz-form-select,
|
|
.form-input,
|
|
.cxz-form-input {
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.cxz-form-textarea {
|
|
min-height: 160px;
|
|
padding: 14px;
|
|
resize: vertical;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.form-select:focus,
|
|
.cxz-form-select:focus,
|
|
.form-input:focus,
|
|
.cxz-form-input:focus,
|
|
.cxz-form-textarea:focus {
|
|
border-color: var(--primary);
|
|
background: #fff;
|
|
box-shadow: 0 0 0 3px rgba(16, 43, 106, 0.1);
|
|
}
|
|
|
|
.form-select--full {
|
|
width: 100%;
|
|
}
|
|
|
|
.form-input-with-count {
|
|
position: relative;
|
|
}
|
|
|
|
.form-input-with-count .form-input {
|
|
padding-right: 82px;
|
|
}
|
|
|
|
.form-input-count {
|
|
position: absolute;
|
|
right: 14px;
|
|
top: 50%;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.submit-row {
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.submit-btn,
|
|
.cxz-submit-btn {
|
|
width: 100%;
|
|
height: 52px;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--primary);
|
|
color: #fff;
|
|
font-size: 17px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: 0 10px 22px rgba(16, 43, 106, 0.18);
|
|
transition: background 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.submit-btn:hover,
|
|
.cxz-submit-btn:hover {
|
|
background: var(--primary-light);
|
|
}
|
|
|
|
.submit-btn:active,
|
|
.cxz-submit-btn:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.submit-btn:disabled,
|
|
.cxz-submit-btn:disabled {
|
|
background: #a9b4c7;
|
|
cursor: not-allowed;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.cxz-select-row {
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.cxz-pool-section {
|
|
margin: 22px 0;
|
|
padding: 20px;
|
|
border: 1px solid var(--border-light);
|
|
border-radius: var(--radius-md);
|
|
background: #fafcff;
|
|
}
|
|
|
|
.cxz-pool-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 16px;
|
|
color: var(--primary);
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.cxz-pool-grid,
|
|
.Redball,
|
|
.Blueball,
|
|
.mianfeiThreeTextSelectBox #jieguo {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.cxz-pool-item,
|
|
.cxz-pool-ball,
|
|
.ball,
|
|
.TypeOption,
|
|
#resetBtn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 42px;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--border-light);
|
|
border-radius: 18px;
|
|
background: #fff;
|
|
color: var(--text-dark);
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.cxz-pool-item:hover,
|
|
.cxz-pool-ball:hover,
|
|
.ball:hover,
|
|
.TypeOption:hover,
|
|
#resetBtn:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.cxz-pool-item.selected,
|
|
.cxz-pool-ball.selected,
|
|
.ball.selected,
|
|
.TypeOption.selected,
|
|
.red.selected,
|
|
.BlueSelected {
|
|
border-color: var(--orange);
|
|
background: var(--orange);
|
|
color: #fff;
|
|
}
|
|
|
|
.blue.selected,
|
|
.Blueball .selected {
|
|
border-color: #1d67d6;
|
|
background: #1d67d6;
|
|
color: #fff;
|
|
}
|
|
|
|
.cxz-empty {
|
|
display: flex;
|
|
min-height: 260px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin: 20px 0;
|
|
border: 1px dashed var(--border-light);
|
|
border-radius: var(--radius-md);
|
|
background: #fbfcff;
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.cxz-empty-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 16px;
|
|
background: #edf2fb;
|
|
color: var(--primary);
|
|
font-size: 24px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.cxz-empty-text {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.cxz-empty-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 110px;
|
|
height: 36px;
|
|
padding: 0 18px;
|
|
border-radius: 18px;
|
|
background: var(--primary);
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.cxz-pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.cxz-pagination button,
|
|
.cxz-pagination a,
|
|
.cxz-pagination span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 40px;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--border-light);
|
|
border-radius: var(--radius-sm);
|
|
background: #fff;
|
|
color: var(--text-dark);
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.cxz-pagination .active,
|
|
.cxz-pagination button.active {
|
|
border-color: var(--primary);
|
|
background: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.cxz-pagination .disabled,
|
|
.cxz-pagination button:disabled {
|
|
background: var(--bg-light);
|
|
color: #aab4c4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.publish-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.publish-editor-textarea {
|
|
width: 100%;
|
|
height: 360px;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.publish-footer-link {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.publish-footer-link:hover {
|
|
color: #ffe39a;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.page-main,
|
|
.page-wrap {
|
|
width: calc(100% - 24px);
|
|
}
|
|
|
|
.publish-card,
|
|
.cxz-form-card {
|
|
margin: 18px auto 32px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.publish-card-header,
|
|
.publish-card-body,
|
|
.cxz-form-body {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.publish-card-header {
|
|
display: block;
|
|
}
|
|
|
|
.publish-tab-bar,
|
|
.cxz-select-row {
|
|
display: block;
|
|
}
|
|
|
|
.publish-tab-item {
|
|
width: 100%;
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--border-light);
|
|
}
|
|
|
|
.publish-tab-item:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
}
|