1.7.2版本更新严重bug
Closed this issue · 3 comments
cs0tony commented
1.7.2版本的更新导致第一次设置自定义css后,再次打开设置控制台报错,导致设置页面操作无效。旧版本没有这个问题。另附上新版自定义css样式,供插件用户使用。
:root{--color-hover:#3478f6;--color-hover-text:#ffffff;--textbox-border-color:#3478f6;--color-body-background-color:#eee;--color-theme:#3478f6;--color-theme-secondary:#3475f6;--color-scrollbar-thumb:rgba(10,101,213,0.263);--color-opacity-border:rgba(50,50,50,0.2);--color-input-background:rgba(240,240,240,0.5);--color-hover-menu:rgba(221,221,221,0.8);--height-item:25px;}.dark{--color-hover-text:#adaaa6;}#context-menu > li:hover{background-color:var(--color-hover-menu);}.item:hover,.item:focus,.item.active,.item.seleted{color:var(--color-hover-text);}.item{font-size:12px;border-radius:6px;}#context-menu > li{padding:1px 14px;margin-top:2px;margin-bottom:2px;border-radius:5px;}html{height:1080px;scrollbar-width:none;}body{margin:8px;background-color:var(--color-body-background-color);}header,main,footer{background-color:var(--color-background);border-radius:10px;}header{width:calc(100% - 16px);position:fixed;top:54px;left:0;padding:8px;margin:8px;border-bottom:0;box-shadow:0 0 0.5px var(--mask-background-color);z-index:2;}footer{width:calc(100% - 16px);position:fixed;bottom:0px;left:0px;margin:8px;padding:10px;box-shadow:0 0 0.5px var(--mask-background-color);}main{width:calc(100% - 16px);position:fixed;top:116px;left:0;height:calc(100vh - 164px);padding:4px;margin:0 8px;margin-bottom:46px;min-height:240px;max-height:none;}nav{width:calc(100% - 16px);background-color:var(--color-background);box-shadow:0 0 1px var(--mask-background-color);border-radius:10px;position:fixed;top:0px;left:0;min-height:6px;height:46px;margin:8px;padding:8px;overflow:hidden;font-size:13px;}nav::before{content:"双击跳转上一级";color:var(--color-text);display:block;border-radius:6px;border:1px solid var(--color-border);margin-bottom:8px;padding:4px 10px;}nav::after{content:"";display:block;position:absolute;right:15px;top:15px;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2FyZXQtZG93bi1maWxsIiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGQ9Ik03LjI0NyAxMS4xNCAyLjQ1MSA1LjY1OEMxLjg4NSA1LjAxMyAyLjM0NSA0IDMuMjA0IDRoOS41OTJhMSAxIDAgMCAxIC43NTMgMS42NTlsLTQuNzk2IDUuNDhhMSAxIDAgMCAxLTEuNTA2IDB6Ii8+Cjwvc3ZnPg==);height:16px;width:16px;}nav:hover{z-index:10;height:auto;}nav:hover::after{background:transparent;}nav > a{padding:0px 10px;margin:2px 0;display:inline-block;color:var(--color-text);background-color:transparent;border-radius:14px;border:2px solid var(--color-theme);word-wrap:break-word;word-break:break-all;}nav > i{font-weight:600;}#context-menu,#dialog{font-size:12px;padding:2px;border-radius:8px;border:1px solid var(--color-opacity-border);box-shadow:0 0px 16px var(--mask-background-color);}#context-menu{padding:0 2px;}.mask{background-color:transparent;}#dialog{border:1px solid var(--color-opacity-border);border-radius:10px;padding:14px;top:-54px;width:100%;max-width:260px;background-color:rgba(255,255,255,0.3);backdrop-filter:saturate(50%) blur(10px);}#edit-dialog-text{font-weight:600;}#edit-dialog-name{font-size:13px;padding:1px 8px;margin:14px 0;}#dialog .textbox:focus,#dialog input:focus{background-color:transparent;border-color:var(--color-theme);}.dialog-btns{justify-content:space-between;}.title{font-size:14px;padding:6px 10px;background-color:transparent;}.textbox{background-color:var(--color-input-background);border:1px solid var(--color-border);padding:0 14px;border-radius:6px;}button{font-weight:200;width:calc(50% - 7px);border-radius:6px;padding:0.2em 0.8em;background:linear-gradient(
180deg,var(--color-theme-secondary) 0%,var(--color-theme) 100%
);color:var(--color-hover-text);border:1px solid var(--color-theme);}#edit-cancel{font-weight:400;background:var(--color-background);color:var(--color-text);}#search-input{width:100%;height:auto;padding:5px 12px;border:2px solid var(--color-border);border-radius:16px;}hr{height:0px;border-bottom:0.5px solid var(--color-border);margin:0px 4px;}#bookmark-manager{font-size:13px;color:var(--color-theme);}li#bookmark-delete:hover{color:var(--color-hover-text);background-color:#ff2442;}#search-list:empty::after{content:"没有结果";}.folder-list.show-tip:empty::after{content:"没有结果";}::-webkit-scrollbar{width:8px;height:12px;}::-webkit-scrollbar-thumb{border-radius:6px;}
qinxs commented
好的 感谢反馈
我会尽快修复并发布下个版本
cs0tony commented
@cs0tony 最新版(v.1.7.3)已经修复了这个问题 更新一下
再次感谢反馈
更新版本已经没有这个问题了,感谢及时处理。另附上兼容新版的自定义css样式,供插件用户使用。
:root{--color-hover:#3478f6;--color-hover-text:#ffffff;--textbox-border-color:#adadad;--color-body-background-color:#eee;--color-theme:#3478f6;--color-theme-secondary:#3475f6;--color-scrollbar-thumb:rgba(10,101,213,0.263);--color-opacity-border:rgba(50,50,50,0.2);--color-input-background:rgba(240,240,240,0.5);--color-hover-menu:rgba(221,221,221,0.8);--height-item:25px;--dialog-background-color:rgba(255,255,255,0.3);}.dark{--color-body-background-color:#3f3f3f;--color-hover-menu:rgba(60,60,60,0.8);--color-input-background:rgba(50,50,50,0.5);--dialog-background-color:rgba(0,0,0,0.3);--color-theme:#3171b2;--color-hover:#3171b2;--color-hover-text:#ededed;--textbox-focus-border-color:#5d7df3;--mask-background-color:rgba(0,0,0,0.48);--color-footer-background-dark:#333;--color-input-background-dark:#171a1a;}#context-menu > li:hover{background-color:var(--color-hover-menu);}.item:hover,.item:focus,.item.active,.item.seleted{color:var(--color-hover-text);}.item{font-size:12px;border-radius:6px;}#context-menu > li{padding:1px 14px;margin-top:2px;margin-bottom:2px;border-radius:5px;}html{height:1080px;scrollbar-width:none;}body{margin:8px;background-color:var(--color-body-background-color);}.dark main{filter:none;}header,main,footer{background-color:var(--color-background);border-radius:10px;}header{width:calc(100% - 16px);position:fixed;top:54px;left:0;padding:8px;margin:8px;border-bottom:0;box-shadow:0 0 0.5px var(--mask-background-color);z-index:2;}footer{width:calc(100% - 16px);position:fixed;bottom:0px;left:0px;margin:8px;padding:10px;box-shadow:0 0 0.5px var(--mask-background-color);}main{width:calc(100% - 16px);position:fixed;top:116px;left:0;height:calc(100vh - 164px);padding:4px;margin:0 8px;margin-bottom:46px;min-height:240px;max-height:none;}nav{width:calc(100% - 16px);background-color:var(--color-background);box-shadow:0 0 1px var(--mask-background-color);border-radius:10px;position:fixed;top:0px;left:0;min-height:6px;height:46px;margin:8px;padding:8px;overflow:hidden;font-size:13px;}nav::before{width:100%;content:"双击跳转上一级";color:var(--color-text);display:block;border-radius:6px;border:1px solid var(--color-border);margin-bottom:8px;padding:4px 10px;}nav::after{content:"";display:block;position:absolute;right:15px;top:15px;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2FyZXQtZG93bi1maWxsIiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGQ9Ik03LjI0NyAxMS4xNCAyLjQ1MSA1LjY1OEMxLjg4NSA1LjAxMyAyLjM0NSA0IDMuMjA0IDRoOS41OTJhMSAxIDAgMCAxIC43NTMgMS42NTlsLTQuNzk2IDUuNDhhMSAxIDAgMCAxLTEuNTA2IDB6Ii8+Cjwvc3ZnPg==);height:16px;width:16px;}nav:hover{z-index:10;height:auto;}nav:hover::after{background:transparent;}nav > a{padding:0px 10px;margin:2px 0;display:inline-block;color:var(--color-text);background-color:transparent;border-radius:14px;border:2px solid var(--color-theme);word-wrap:break-word;word-break:break-all;}nav > i{font-weight:600;margin:2px 0;}#context-menu,#dialog{font-size:12px;padding:2px;border-radius:8px;border:1px solid var(--color-opacity-border);box-shadow:0 0px 16px var(--mask-background-color);}#context-menu{padding:0 2px;}.mask{background-color:transparent;}#dialog{border-radius:10px;padding:14px;top:-54px;width:100%;max-width:260px;background-color:var(--dialog-background-color);backdrop-filter:saturate(50%) blur(10px);}#edit-dialog-text{font-weight:600;}#edit-dialog-name{font-size:13px;padding:1px 8px;margin:14px 0;}#dialog .textbox:focus,#dialog input:focus{background-color:transparent;border-color:var(--color-theme);}.dialog-btns{justify-content:space-between;}.title{font-size:14px;padding:6px 10px;background-color:transparent;}.textbox{background-color:var(--color-input-background);border:1px solid var(--textbox-border-color);padding:0 14px;border-radius:6px;}button{font-weight:200;width:calc(50% - 7px);border-radius:6px;padding:0.2em 0.8em;background:linear-gradient(
180deg,var(--color-theme-secondary) 0%,var(--color-theme) 100%
);color:var(--color-hover-text);border:1px solid var(--color-theme);}#edit-cancel{font-weight:400;background:var(--color-background);color:var(--color-text);}#search-input{width:100%;height:auto;padding:5px 12px;border:2px solid var(--color-border);border-radius:16px;}hr{height:0px;border-bottom:0.5px solid var(--color-border);margin:0px 4px;}#bookmark-manager{font-size:13px;color:var(--color-theme);}li#bookmark-delete:hover{color:var(--color-hover-text);background-color:#ff2442;}::-webkit-scrollbar{width:8px;height:12px;}::-webkit-scrollbar-thumb{border-radius:6px;}