mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-23 15:17:49 +01:00
Improved toggle size
This commit is contained in:
parent
1654b4ae07
commit
a1cbd8832c
@ -159,6 +159,7 @@ footer {
|
||||
|
||||
.button {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
background-color: #f5f5f5;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #cfcfcf;
|
||||
@ -167,7 +168,6 @@ footer {
|
||||
float: right;
|
||||
font-size: 12px;
|
||||
padding: 5px 22px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
@ -228,8 +228,8 @@ footer {
|
||||
.switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 26px;
|
||||
height: 16px;
|
||||
width: 40px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.switch input {
|
||||
@ -254,8 +254,8 @@ footer {
|
||||
.slider:before, .slider-disabled:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
left: 2px;
|
||||
bottom: 2px;
|
||||
background-color: #f9f9fa;
|
||||
@ -269,9 +269,9 @@ input:checked + .slider {
|
||||
}
|
||||
|
||||
input:checked + .slider:before {
|
||||
-webkit-transform: translateX(10px);
|
||||
-ms-transform: translateX(10px);
|
||||
transform: translateX(10px);
|
||||
-webkit-transform: translateX(18px);
|
||||
-ms-transform: translateX(18px);
|
||||
transform: translateX(18px);
|
||||
}
|
||||
|
||||
.slider-disabled {
|
||||
|
Loading…
x
Reference in New Issue
Block a user