同步插件源代码并补齐标准项目文件
This commit is contained in:
120
styles.css
Normal file
120
styles.css
Normal file
@@ -0,0 +1,120 @@
|
||||
/* styles.css */
|
||||
|
||||
/* Modal content container */
|
||||
.xhs-modal-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* Row containers (used for text, category, download, and button rows) */
|
||||
.xhs-modal-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* Text input (textarea) */
|
||||
.xhs-modal-textarea {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Category chip container */
|
||||
.xhs-chip-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* Category chip (button) */
|
||||
.xhs-chip {
|
||||
padding: 4px 8px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid #ccc;
|
||||
background-color: #f0f0f0;
|
||||
color: #000;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
/* Selected category chip with increased specificity */
|
||||
.xhs-chip.xhs-chip--selected {
|
||||
background-color: #FF2442;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* 新增分类行 */
|
||||
.xhs-add-category-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* 新增分类输入框 */
|
||||
.xhs-add-category-input {
|
||||
flex: 1;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
background-color: var(--background-modifier-form-field);
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
/* 新增分类按钮 */
|
||||
.xhs-add-category-button {
|
||||
padding: 4px 12px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
background-color: #f0f0f0;
|
||||
color: #000;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.xhs-add-category-button:hover {
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
|
||||
/* Download row specific styles */
|
||||
.xhs-download-row {
|
||||
flex-direction: row !important;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Wrapper for checkbox and label to ensure alignment */
|
||||
.xhs-download-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* Download label */
|
||||
.xhs-download-label {
|
||||
cursor: pointer;
|
||||
margin: 0;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/* Button row specific styles */
|
||||
.xhs-button-row {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
/* Submit button */
|
||||
.xhs-submit-button {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* 去掉设置页面分类管理标题的左边距 */
|
||||
.xhs-setting-heading {
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user