summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-09-03 14:03:04 +0300
committerMaxim Devaev <[email protected]>2022-09-03 14:03:04 +0300
commit4b75221e9470b4a009955d7677f16adf8e23e302 (patch)
tree5752d706699031f7142c53feef12960a7f766c61 /web
parentf0c2ff3a96ad9b2b03426976cd44469bea65285d (diff)
switch fix
Diffstat (limited to 'web')
-rw-r--r--web/share/css/switch.css14
1 files changed, 7 insertions, 7 deletions
diff --git a/web/share/css/switch.css b/web/share/css/switch.css
index 3965e2d5..7a822feb 100644
--- a/web/share/css/switch.css
+++ b/web/share/css/switch.css
@@ -28,8 +28,8 @@ div.switch-box {
vertical-align: middle;
position: relative;
width: 50px;
- margin-top: 3px;
- margin-bottom: 3px;
+ margin-top: 2px;
+ margin-bottom: 2px;
}
div.switch-box input[type=checkbox] {
@@ -41,7 +41,7 @@ div.switch-box label {
overflow: hidden;
cursor: pointer;
border: none;
- border-radius: 15px;
+ border-radius: 13px;
}
div.switch-box label span.switch-inner {
@@ -55,9 +55,9 @@ div.switch-box label span.switch-inner:after {
display: block;
float: left;
width: 50%;
- height: 20px;
+ height: 17px;
padding: 0;
- line-height: 22px;
+ line-height: 18px;
font-size: 10px;
font-family: sans-serif !important;
font-weight: bold;
@@ -91,14 +91,14 @@ div.switch-box label span.switch-inner:after {
div.switch-box label span.switch {
display: block;
- width: 15px;
+ width: 13px;
margin: 0px;
background: var(--cs-thumb-default-bg);
position: absolute;
top: 0;
bottom: 0;
border: var(--border-intensive-2px);
- border-radius: 15px;
+ border-radius: 13px;
}
div.switch-box input[type=checkbox]:checked + label span.switch-inner {