mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
62 lines
1.3 KiB
Text
62 lines
1.3 KiB
Text
/* Switchery sizes. */
|
|
.switchery {
|
|
height: 14px;
|
|
width: 30px;
|
|
z-index: 1000;
|
|
opacity: 1 !important;
|
|
-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;
|
|
> small {
|
|
height: 14px;
|
|
width: 14px;
|
|
}
|
|
}
|
|
.switcherymid {
|
|
background-color: #fff;
|
|
border: 1px solid #fff;
|
|
border-radius: 20px;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
height: 14px;
|
|
position: relative;
|
|
vertical-align: middle;
|
|
width: 25px;
|
|
-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;
|
|
> 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;
|
|
}
|
|
}
|
|
.switchery-small {
|
|
border: none !important;
|
|
height: 10px;
|
|
width: 20px;
|
|
margin-top: -3px;
|
|
margin-right: 3px;
|
|
> small {
|
|
height: 10px;
|
|
width: 10px;
|
|
}
|
|
}
|
|
.switchery-disabled {
|
|
opacity: 0.25;
|
|
.switchery {
|
|
cursor: not-allowed !important;
|
|
}
|
|
}
|