mirror of
https://github.com/HackPlan/quark-shell-mac.git
synced 2026-04-30 04:25:46 +08:00
Hide window when click outside window.
This commit is contained in:
@@ -18,19 +18,27 @@
|
||||
text-align: center;
|
||||
font-family: "Helvetica Neue";
|
||||
color: #999;
|
||||
margin-top: 100px;
|
||||
margin-top: 80px;
|
||||
font-size: 28px;
|
||||
}
|
||||
.input {
|
||||
text-align: center;
|
||||
}
|
||||
.button {
|
||||
text-align: center;
|
||||
margin-top: 40px;
|
||||
}
|
||||
canvas {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Menubar WebKit</h1>
|
||||
|
||||
<audio src="audio.aac" autoplay></audio>
|
||||
<audio src="audio.aac"></audio>
|
||||
|
||||
<p class="input"><input type="text"></p>
|
||||
|
||||
<p class="button">
|
||||
<button id="notify">Notify</button>
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
$(function() {
|
||||
$("input").focus()
|
||||
|
||||
$("#notify").click(function(event) {
|
||||
mw.notify({title: 'Menubar WebKit', content: 'Hello World'})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user