294 lines
4.9 KiB
CSS
294 lines
4.9 KiB
CSS
.page-main {
|
|
width: min(1100px, calc(100% - 48px));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.publish-card {
|
|
width: 100%;
|
|
margin: 12px auto 54px;
|
|
overflow: hidden;
|
|
border: 0;
|
|
border-radius: 18px;
|
|
background: #fff;
|
|
box-shadow: 0 18px 42px rgba(16, 43, 106, 0.12);
|
|
}
|
|
|
|
.publish-card-header {
|
|
display: block;
|
|
padding: 30px 34px 26px;
|
|
border-bottom: 0;
|
|
background: linear-gradient(112deg, #102b6a 0%, #173f8e 55%, #812a90 100%);
|
|
text-align: center;
|
|
}
|
|
|
|
.publish-card-header-h2 {
|
|
position: relative;
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0 0 12px;
|
|
color: #fff;
|
|
font-size: 22px;
|
|
font-weight: 900;
|
|
line-height: 1.4;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.publish-card-header-h2::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 0;
|
|
width: 64px;
|
|
height: 3px;
|
|
border-radius: 999px;
|
|
background: var(--gold);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.publish-card-header-h2::before {
|
|
content: none;
|
|
}
|
|
|
|
.publish-card-header p {
|
|
margin: 2px 0 0;
|
|
color: rgba(255, 255, 255, 0.78);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.publish-card-body {
|
|
padding: 30px 34px 32px;
|
|
}
|
|
|
|
.publish-tab-bar {
|
|
display: flex;
|
|
align-items: stretch;
|
|
overflow: hidden;
|
|
margin: 0 0 24px;
|
|
border: 1px solid var(--border-light);
|
|
border-radius: 8px;
|
|
background: var(--bg-light);
|
|
}
|
|
|
|
.publish-tab-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
min-height: 44px;
|
|
border-right: 1px solid var(--border-light);
|
|
background: transparent;
|
|
color: #34425a;
|
|
font-size: 14px;
|
|
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: linear-gradient(90deg, #102b6a 0%, #173f8e 100%);
|
|
color: #fff;
|
|
}
|
|
|
|
.publish-tab-item.layui-disabled {
|
|
color: #a8b2c2;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.publish-tip-box {
|
|
margin-bottom: 24px;
|
|
padding: 14px 18px;
|
|
border: 0;
|
|
border-left: 4px solid var(--gold);
|
|
border-radius: 8px;
|
|
background: #f5f7fc;
|
|
}
|
|
|
|
.publish-tip-item {
|
|
margin: 0 0 8px;
|
|
color: #52617a;
|
|
font-size: 14px;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.publish-tip-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.form-row {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-row label {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
color: var(--primary);
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.required {
|
|
color: var(--orange);
|
|
}
|
|
|
|
.form-select,
|
|
.form-input {
|
|
width: 100%;
|
|
height: 42px;
|
|
border: 1px solid var(--border-light);
|
|
border-radius: 8px;
|
|
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.is-empty {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.form-select option {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.form-select option[value=""] {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.form-select,
|
|
.form-input {
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.form-select:focus,
|
|
.form-input:focus {
|
|
border-color: var(--primary);
|
|
background: #fff;
|
|
box-shadow: 0 0 0 3px rgba(16, 43, 106, 0.1);
|
|
}
|
|
|
|
.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%);
|
|
}
|
|
|
|
.publish-editor-textarea {
|
|
display: none;
|
|
}
|
|
|
|
.publish-editor {
|
|
overflow: hidden;
|
|
width: 100%;
|
|
border: 1px solid #e1e6f0;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
|
|
.publish-editor-toolbar {
|
|
border-bottom: 1px solid #e1e6f0;
|
|
}
|
|
|
|
.publish-editor-container {
|
|
min-height: 400px;
|
|
}
|
|
|
|
.publish-editor-container .w-e-text-container {
|
|
min-height: 400px !important;
|
|
}
|
|
|
|
.submit-row {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
height: 52px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: linear-gradient(90deg, #102b6a 0%, #173f8e 55%, #812a90 100%);
|
|
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 {
|
|
background: linear-gradient(90deg, #173f8e 0%, #1f54aa 55%, #9132a0 100%);
|
|
}
|
|
|
|
.submit-btn:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.submit-btn:disabled {
|
|
background: #a9b4c7;
|
|
cursor: not-allowed;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.publish-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.publish-footer-link {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.publish-footer-link:hover {
|
|
color: #ffe39a;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.page-main {
|
|
width: calc(100% - 24px);
|
|
}
|
|
|
|
.publish-card {
|
|
margin: 18px auto 32px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.publish-card-header,
|
|
.publish-card-body {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.publish-card-header {
|
|
display: block;
|
|
}
|
|
|
|
.publish-tab-bar {
|
|
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;
|
|
}
|
|
}
|