update at 2025-10-08 17:32:31
This commit is contained in:
418
styles.css
418
styles.css
@@ -16,6 +16,8 @@
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
-webkit-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.preview-toolbar {
|
||||
@@ -245,4 +247,420 @@ label:hover {
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* Toolbar 行样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.toolbar-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 8px 12px;
|
||||
background: white;
|
||||
border-radius: 6px;
|
||||
margin: 8px 10px;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.toolbar-line.flex-wrap {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.platform-selector-line {
|
||||
background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%) !important;
|
||||
border-left: 4px solid #1e88e5;
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* 平台选择器样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.platform-select {
|
||||
padding: 6px 12px;
|
||||
border: 1px solid #dadce0;
|
||||
border-radius: 6px;
|
||||
background: white;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
||||
min-width: 150px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.platform-select:hover {
|
||||
border-color: #1e88e5;
|
||||
}
|
||||
|
||||
.platform-select:focus {
|
||||
outline: none;
|
||||
border-color: #1e88e5;
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* 微信公众号选择器样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.wechat-select {
|
||||
padding: 6px 12px;
|
||||
border: 1px solid #dadce0;
|
||||
border-radius: 6px;
|
||||
background: white;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.wechat-select:hover {
|
||||
border-color: #1e88e5;
|
||||
}
|
||||
|
||||
.wechat-select:focus {
|
||||
outline: none;
|
||||
border-color: #1e88e5;
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* 按钮样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.toolbar-button {
|
||||
padding: 6px 14px;
|
||||
background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 2px 6px rgba(30, 136, 229, 0.3);
|
||||
}
|
||||
|
||||
.toolbar-button:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 8px rgba(30, 136, 229, 0.4);
|
||||
}
|
||||
|
||||
.toolbar-button.purple-gradient {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
|
||||
}
|
||||
|
||||
.toolbar-button.purple-gradient:hover {
|
||||
box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* 分隔线样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.toolbar-separator {
|
||||
width: 1px;
|
||||
height: 24px;
|
||||
background: #dadce0;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* Doc Modal 样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.doc-modal {
|
||||
width: 640px;
|
||||
height: 720px;
|
||||
}
|
||||
|
||||
.doc-modal-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.doc-modal-title {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.doc-modal-desc {
|
||||
margin-bottom: 1em;
|
||||
-webkit-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.doc-modal-iframe {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* Setting Tab 帮助文档样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.setting-help-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.setting-help-title {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* Xiaohongshu WebView 样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.xhs-webview {
|
||||
display: none;
|
||||
width: 1200px;
|
||||
height: 800px;
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* Xiaohongshu Preview View 样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.xiaohongshu-preview-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.xhs-preview-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
|
||||
}
|
||||
|
||||
.xhs-page-container {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
background: radial-gradient(ellipse at top, rgba(255,255,255,0.1) 0%, transparent 70%);
|
||||
}
|
||||
|
||||
.xhs-top-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 8px 12px;
|
||||
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
|
||||
border-bottom: 1px solid #e8eaed;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.04);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.toolbar-label {
|
||||
font-size: 11px;
|
||||
color: #5f6368;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.xhs-select {
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #dadce0;
|
||||
border-radius: 4px;
|
||||
background: white;
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s ease;
|
||||
}
|
||||
|
||||
.xhs-select:hover {
|
||||
border-color: #1e88e5;
|
||||
}
|
||||
|
||||
.xhs-select:focus {
|
||||
outline: none;
|
||||
border-color: #1e88e5;
|
||||
}
|
||||
|
||||
.font-size-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: white;
|
||||
border: 1px solid #dadce0;
|
||||
border-radius: 4px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.font-size-btn {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
color: #5f6368;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
|
||||
.font-size-btn:hover {
|
||||
background: #f1f3f4;
|
||||
}
|
||||
|
||||
.font-size-display {
|
||||
min-width: 24px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #202124;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.xhs-page-navigation {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 12px;
|
||||
background: white;
|
||||
border-bottom: 1px solid #e8eaed;
|
||||
}
|
||||
|
||||
.xhs-nav-btn {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border: 1px solid #dadce0;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
background: white;
|
||||
color: #5f6368;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.xhs-nav-btn:hover {
|
||||
background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
|
||||
color: white;
|
||||
border-color: #1e88e5;
|
||||
}
|
||||
|
||||
.xhs-page-number {
|
||||
font-size: 14px;
|
||||
min-width: 50px;
|
||||
text-align: center;
|
||||
color: #202124;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.xhs-bottom-toolbar {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
padding: 12px 16px;
|
||||
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
|
||||
border-top: 1px solid #e8eaed;
|
||||
box-shadow: 0 -2px 4px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
.xhs-slice-btn {
|
||||
padding: 8px 20px;
|
||||
background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 2px 6px rgba(30, 136, 229, 0.3);
|
||||
}
|
||||
|
||||
.xhs-slice-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
|
||||
}
|
||||
|
||||
.xhs-slice-btn.secondary {
|
||||
background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
|
||||
box-shadow: 0 2px 6px rgba(66, 165, 245, 0.3);
|
||||
}
|
||||
|
||||
.xhs-slice-btn.secondary:hover {
|
||||
box-shadow: 0 4px 12px rgba(66, 165, 245, 0.4);
|
||||
}
|
||||
|
||||
/* =========================================================== */
|
||||
/* Xiaohongshu Login Modal 样式 */
|
||||
/* =========================================================== */
|
||||
|
||||
.xiaohongshu-login-modal {
|
||||
width: 400px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.xhs-login-title {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
color: #ff4757;
|
||||
}
|
||||
|
||||
.xhs-login-desc {
|
||||
text-align: center;
|
||||
color: #666;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.xhs-code-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.xhs-code-label {
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.xhs-code-input-wrapper {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.xhs-input-full {
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.xhs-send-code-btn {
|
||||
min-width: 120px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.xhs-status-message {
|
||||
min-height: 30px;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.xhs-status-message.success {
|
||||
color: #27ae60;
|
||||
}
|
||||
|
||||
.xhs-status-message.error {
|
||||
color: #e74c3c;
|
||||
}
|
||||
|
||||
.xhs-status-message.info {
|
||||
color: #3498db;
|
||||
}
|
||||
|
||||
.xhs-button-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 15px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.xhs-login-btn {
|
||||
min-width: 100px;
|
||||
}
|
||||
Reference in New Issue
Block a user