Added Polymer
This commit is contained in:
77
rpg-docs/public/bower_components/paper-toggle-button/demo.html
vendored
Normal file
77
rpg-docs/public/bower_components/paper-toggle-button/demo.html
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
<!--
|
||||
@license
|
||||
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
|
||||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||||
Code distributed by Google as part of the polymer project is also
|
||||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||
-->
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>paper-toggle-button</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
||||
<script src="../webcomponentsjs/webcomponents.js"></script>
|
||||
|
||||
<link rel="import" href="paper-toggle-button.html">
|
||||
<link rel="import" href="../font-roboto/roboto.html">
|
||||
|
||||
<style shim-shadowdom>
|
||||
|
||||
body {
|
||||
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
|
||||
margin: 0;
|
||||
padding: 24px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
|
||||
section {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
paper-toggle-button.blue::shadow paper-radio-button::shadow #ink[checked] {
|
||||
color: #4285f4;
|
||||
}
|
||||
|
||||
paper-toggle-button.blue::shadow paper-radio-button::shadow #onRadio {
|
||||
background-color: #4285f4;
|
||||
}
|
||||
|
||||
paper-toggle-button.blue::shadow #toggleBar[checked] {
|
||||
background-color: #4285f4;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body unresolved>
|
||||
|
||||
<section>
|
||||
|
||||
<div center horizontal layout>
|
||||
<div flex>Wi-Fi</div>
|
||||
<paper-toggle-button checked></paper-toggle-button>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<div center horizontal layout>
|
||||
<div flex>Bluetooth</div>
|
||||
<paper-toggle-button class="blue"></paper-toggle-button>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user