gitbook-plugin-lock
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -51,3 +51,31 @@ require(['gitbook', 'jQuery'], function(gitbook, $) { | ||
button.target = '_self' | ||
button.style.all = 'position: absolute; left: 50%; top: 70%; bottom: 30px; transform: translate(-50%, -50%); width: 160px; height: 36px; line-height: 36px; font-size: 15px; text-align: center; border: 1px solid rgb(222, 104, 109); color: rgb(222, 104, 109); background: rgb(255, 255, 255); cursor: pointer; border-radius: 6px;'; | ||
button.style.position = 'absolute' | ||
button.style.left = '50%' | ||
button.style.top = '70%' | ||
button.style.bottom = '30px' | ||
button.style.transform = 'translate(-50%, -50%)' | ||
button.style.width = '160px' | ||
button.style.height = '36px' | ||
button.style.lineHeight = '36px' | ||
button.style.fontSize = '15px' | ||
button.style.textAlign = 'center' | ||
button.style.border = '1px solid rgb(222, 104, 109)' | ||
button.style.color = 'rgb(222, 104, 109)' | ||
button.style.background = 'rgb(255, 255, 255)' | ||
button.style.cursor = 'pointer' | ||
button.style.borderRadius = '6px' | ||
// button.style.all = 'position: absolute; ' + | ||
// 'left: 50%; top: 70%;' + | ||
// ' bottom: 30px; ' + | ||
// 'transform: translate(-50%, -50%);' + | ||
// ' width: 160px; ' + | ||
// 'height: 36px; ' + | ||
// 'line-height: 36px;' + | ||
// ' font-size: 15px;' + | ||
// ' text-align: center;' + | ||
// ' border: 1px solid rgb(222, 104, 109);' + | ||
// ' color: rgb(222, 104, 109); ' + | ||
// 'background: rgb(255, 255, 255);' + | ||
// ' cursor: pointer; border-radius: 6px;'; | ||
button.innerHTML = "点击查看更多" | ||
@@ -54,0 +82,0 @@ |
{ | ||
"name": "gitbook-plugin-lock", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "Gitbook 页面加锁", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8255
128