fix(album): 1.2.2 文件夹开关选中态用强调色 + 说明/路径字号降到 onepage 同级
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 40s

This commit is contained in:
qiqi committed 2026-11-30 10:59:41 +08:00
1 parent 60161b50eb
commit 8d7f80993a
4 files changed
+12 -11

No files matched your search

+2 -1
View File
@@ -405,6 +405,7 @@
st.btnDir.textContent = folderMode ? '更换文件夹' : '文件夹'
st.folderNote.style.display = folderMode ? '' : 'none'
st.folderLabel.classList.toggle('on', folderMode)
if (st.fTrack) st.fTrack.className = 'iwb-album-track' + (folderMode ? ' on' : '')
st.folderPath.style.display = folderMode ? '' : 'none'
if (!folderMode) setFolderMsg(st, '')
if (folderMode) {
@@ -1061,7 +1062,7 @@
global.IWBPluginHost.register({
id: 'album',
name: '相册',
version: '1.2.1',
version: '1.2.2',
apiVersion: 1,
capabilities: ['nodeTypes', 'images', 'files'],
settings: {
+3 -3
View File
@@ -1,7 +1,7 @@
{
"id": "album",
"name": "相册",
"version": "1.2.1",
"version": "1.2.2",
"apiVersion": 1,
"main": "main.js",
"style": "styles.css",
@@ -14,7 +14,7 @@
"出图"
],
"files": {
"main.js": "bf1f6d56f935ecca3490087d90810b9a4ddbf7bd8aff931f3d4cbe4b4d48ef71",
"styles.css": "ffc1fd3e793f43c2d6bd8e487e4ec7208e4e54dd32f32ef33de4084cad1608b2"
"main.js": "98b9c9e243f1382d300615f2b63bcb6c72fede4e909a2ba8802733133d85ab68",
"styles.css": "40623c831620d0082dde956300461b29b9256aab98da86c7ab5e3495214f8d49"
}
}
+4 -4
View File
@@ -40,10 +40,10 @@
/* v1.2.0:来源徽标 + 文件夹模式说明/路径 */
.iwb-album-src { position: absolute; left: var(--iwb-space-4); bottom: var(--iwb-space-4); padding: 0 var(--iwb-space-4); border-radius: var(--iwb-radius-chip); font-size: var(--iwb-font-xs); line-height: 1.2; background: color-mix(in srgb, var(--iwb-text) 62%, transparent); color: var(--iwb-bg); pointer-events: none; }
.iwb-album-src.is-missing { background: color-mix(in srgb, var(--iwb-danger, #d33) 78%, transparent); color: var(--iwb-bg); }
.iwb-album-foldernote { font-size: var(--iwb-font-xs); color: var(--iwb-text2); padding: 0 var(--iwb-space-2); }
.iwb-album-foldermsg { font-size: var(--iwb-font-xs); color: var(--iwb-warning, #b45309); padding: 0 var(--iwb-space-2); }
.iwb-album-folderpath { font-size: var(--iwb-font-xs); color: var(--iwb-text2); padding: var(--iwb-space-2); word-break: break-all; opacity: .9; }
.iwb-album-folder-toggle.on .iwb-album-track i { transform: translateX(10px); }
.iwb-album-foldernote { font-size: var(--iwb-font-2xs); color: var(--iwb-text2); padding: 0 var(--iwb-space-2); }
.iwb-album-foldermsg { font-size: var(--iwb-font-2xs); color: var(--iwb-warning, #b45309); padding: 0 var(--iwb-space-2); }
.iwb-album-folderpath { font-size: var(--iwb-font-2xs); color: var(--iwb-text2); padding: var(--iwb-space-2); word-break: break-all; opacity: .9; }
.iwb-album-cell.off img { opacity: .38; }
/* 选中线 2px → 1px(用户:太粗)。1px 在浅底上仍分得清「选中」与「描边」。 */
.iwb-album-cell.sel { outline: 1px solid var(--iwb-brand); outline-offset: -1px; }
+3 -3
View File
@@ -4,10 +4,10 @@
"dir": "album",
"main": "main.js",
"style": "styles.css",
"version": "1.2.1",
"version": "1.2.2",
"files": {
"main.js": "bf1f6d56f935ecca3490087d90810b9a4ddbf7bd8aff931f3d4cbe4b4d48ef71",
"styles.css": "ffc1fd3e793f43c2d6bd8e487e4ec7208e4e54dd32f32ef33de4084cad1608b2"
"main.js": "98b9c9e243f1382d300615f2b63bcb6c72fede4e909a2ba8802733133d85ab68",
"styles.css": "40623c831620d0082dde956300461b29b9256aab98da86c7ab5e3495214f8d49"
}
},
{