更新内置篡改猴脚本到0.1.1版本。

pull/311/head
王良 2024-04-24 12:16:28 +08:00
parent 28fc746799
commit fe8cb16d4f
1 changed files with 7 additions and 2 deletions

View File

@ -65,7 +65,7 @@
let cssContent = ` let cssContent = `
.___ds-tampermonkey___{ .___ds-tampermonkey___{
position: fixed; position: fixed;
right: 11px; right: 10px;
top: 30%; top: 30%;
z-index: 9999; z-index: 9999;
width: 36px; width: 36px;
@ -129,11 +129,15 @@
height: 0; height: 0;
position: absolute; position: absolute;
top: 11px; top: 11px;
left: 37px; left: 36px;
cursor: pointer; cursor: pointer;
border-top: 7px solid transparent; border-top: 7px solid transparent;
border-bottom: 7px solid transparent; border-bottom: 7px solid transparent;
border-left: 10px solid #665c5c; border-left: 10px solid #665c5c;
display: none;
}
.___ds-tampermonkey___:hover .___ds-arrow___{
display: block;
} }
.___ds-tampermonkey-hide___ .___ds-arrow___{ .___ds-tampermonkey-hide___ .___ds-arrow___{
border-top: 7px solid transparent; border-top: 7px solid transparent;
@ -141,6 +145,7 @@
border-right: 10px solid #665c5c; border-right: 10px solid #665c5c;
border-left: 0; border-left: 0;
left: 0; left: 0;
display: block;
} }
`; `;
// 如果有自定义样式,则添加到 CSS 内容中 // 如果有自定义样式,则添加到 CSS 内容中