Skip to content

Instantly share code, notes, and snippets.

@jmanoto
Forked from elliots/options.js
Last active December 21, 2015 06:48
Show Gist options
  • Save jmanoto/6266246 to your computer and use it in GitHub Desktop.
Save jmanoto/6266246 to your computer and use it in GitHub Desktop.
Lock Screen (style update)
return {
"name": "Lock Screen",
"deviceMap": [{ "deviceType": "lock-screen" }]
}
background: white;
.lock-screen-widget {
padding: 30px 10px 10px;
.icon {
font-size: 160px;
color: hsl(12,89%,45%);
display: block;
text-align: center;
line-height: 0.5em;
margin: 10px;
}
button {
width: 90%;
display: block;
margin: 0 auto;
}
}
<div class="lock-screen-widget">
<span class="icon">&#128273;</span>
<button class="button red-gradient">Lock Screen</button>
</div>
element.find('button').click(function() {
scope.ActuateAll(1);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment