初始化
This commit is contained in:
32
MQTTServerSideAPI/plugins/switchery/switchery.css
Normal file
32
MQTTServerSideAPI/plugins/switchery/switchery.css
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
*
|
||||
* Main stylesheet for Switchery.
|
||||
* http://abpetkov.github.io/switchery/
|
||||
*
|
||||
*/
|
||||
|
||||
.switchery {
|
||||
background-color: #fff;
|
||||
border: 1px solid #dfdfdf;
|
||||
border-radius: 20px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
width: 50px;
|
||||
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.switchery > small {
|
||||
background: #fff;
|
||||
border-radius: 100%;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
||||
height: 30px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 30px;
|
||||
}
|
||||
1
MQTTServerSideAPI/plugins/switchery/switchery.js
Normal file
1
MQTTServerSideAPI/plugins/switchery/switchery.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user