betaflight-configurator/js/libraries/switchery/switchery.css

99 lines
1.6 KiB
CSS
Raw Normal View History

2015-10-22 20:27:48 +00:00
/*
*
* Main stylesheet for Switchery.
* http://abpetkov.github.io/switchery/
*
*/
/* Switchery defaults. */
.switchery {
background-color: #fff;
border: 1px solid #fff;
2015-10-22 20:27:48 +00:00
border-radius: 20px;
cursor: pointer;
display: inline-block;
2015-10-30 16:41:39 +00:00
height: 14px;
2015-10-22 20:27:48 +00:00
position: relative;
vertical-align: middle;
width: 45px;
z-index:1000;
opacity:1 !important;
2015-10-22 20:27:48 +00:00
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
box-sizing: content-box;
background-clip: content-box;
}
.switchery > small {
background: #fff;
border-radius: 100%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
2015-10-30 16:41:39 +00:00
height: 14px;
2015-10-22 20:27:48 +00:00
position: absolute;
top: 0;
width: 14px;
2015-10-22 20:27:48 +00:00
}
2015-10-30 19:30:27 +00:00
.switcherymid {
background-color: #fff;
border: 1px solid #fff;
border-radius: 20px;
cursor: pointer;
display: inline-block;
height: 14px;
position: relative;
vertical-align: middle;
width: 35px;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
box-sizing: content-box;
background-clip: content-box;
}
.switcherymid > small {
background: #fff;
border-radius: 100%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
height: 14px;
position: absolute;
top: 0;
width: 14px;
2015-10-30 19:30:27 +00:00
}
2015-10-22 20:27:48 +00:00
/* Switchery sizes. */
.switchery-small {
2015-10-29 16:15:48 +00:00
border: none !important;
2015-10-22 20:27:48 +00:00
border-radius: 20px;
2015-10-28 23:30:22 +00:00
height: 10px;
width: 20px;
margin-top:-3px;
margin-right:3px;
2015-10-22 20:27:48 +00:00
}
.switchery-small > small {
2015-10-28 23:30:22 +00:00
height: 10px;
width: 10px;
2015-10-22 20:27:48 +00:00
}
.switchery-large {
border-radius: 40px;
height: 40px;
width: 66px;
}
.switchery-large > small {
height: 40px;
width: 40px;
}