mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 09:14:06 +08:00
opt word.css
This commit is contained in:
parent
e68933a986
commit
ebb6717a2f
@ -4,6 +4,34 @@ fieldset ul.story[data-type=premenu] {
|
|||||||
fieldset ul.story[data-type=premenu] li:hover {
|
fieldset ul.story[data-type=premenu] li:hover {
|
||||||
background:cyan;
|
background:cyan;
|
||||||
}
|
}
|
||||||
|
fieldset div.story[data-name=shell] {
|
||||||
|
padding:4px;
|
||||||
|
border-left:solid 4px blue;
|
||||||
|
background-color:#c2daef;
|
||||||
|
}
|
||||||
|
fieldset div.story[data-name=shell] span:hover {
|
||||||
|
background-color:white;
|
||||||
|
cursor:copy;
|
||||||
|
}
|
||||||
|
fieldset div.story[data-name=mysql] {
|
||||||
|
padding:4px;
|
||||||
|
border-left:solid 4px #0083ff;
|
||||||
|
background-color:#ccdae6;
|
||||||
|
}
|
||||||
|
fieldset div.story[data-name=mysql] span:hover {
|
||||||
|
background-color:white;
|
||||||
|
cursor:copy;
|
||||||
|
}
|
||||||
|
fieldset p.story[data-name=inner] {
|
||||||
|
padding:4px;
|
||||||
|
border-left:solid 4px #0083ff;
|
||||||
|
background-color:#ccdae6;
|
||||||
|
}
|
||||||
|
fieldset p.story[data-name=inner]:hover {
|
||||||
|
cursor:copy;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
fieldset li.H2 {
|
fieldset li.H2 {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
font-size:20px;
|
font-size:20px;
|
||||||
@ -17,15 +45,6 @@ fieldset h3.story {
|
|||||||
fieldset p.story {
|
fieldset p.story {
|
||||||
white-space:pre;
|
white-space:pre;
|
||||||
}
|
}
|
||||||
fieldset div.story[data-name=shell] {
|
|
||||||
padding:4px;
|
|
||||||
border-left:solid 4px blue;
|
|
||||||
background-color:#c2daef;
|
|
||||||
}
|
|
||||||
fieldset div.story[data-name=shell] span:hover {
|
|
||||||
background-color:white;
|
|
||||||
cursor:copy;
|
|
||||||
}
|
|
||||||
fieldset p.story.shell {
|
fieldset p.story.shell {
|
||||||
padding:4px;
|
padding:4px;
|
||||||
border-left:solid 4px blue;
|
border-left:solid 4px blue;
|
||||||
|
@ -10,6 +10,15 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
|||||||
return typeof cb == "function" && cb(msg)
|
return typeof cb == "function" && cb(msg)
|
||||||
},
|
},
|
||||||
spark: function(can, list, target) {
|
spark: function(can, list, target) {
|
||||||
|
if (list["name"] == "inner") {
|
||||||
|
target.title = "点击复制"
|
||||||
|
target.onclick = function(event) {
|
||||||
|
navigator.clipboard.writeText(item.innerText).then(function() {
|
||||||
|
can.user.toast(can, "复制成功", "paste")
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
can.page.Select(can, target, "span", function(item) {
|
can.page.Select(can, target, "span", function(item) {
|
||||||
item.title = "点击复制"
|
item.title = "点击复制"
|
||||||
item.onclick = function(event) {
|
item.onclick = function(event) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user