Переглянути джерело

Minor modification to toggle switch styles.

Daniel Scalzi 7 роки тому
батько
коміт
34e8da2aa2
1 змінених файлів з 7 додано та 6 видалено
  1. 7 6
      app/assets/css/launcher.css

+ 7 - 6
app/assets/css/launcher.css

@@ -1091,7 +1091,7 @@ body, button {
     display: inline-block;
     width: 50px;
     height: 25px;
-    border-radius: 3px;
+    border-radius: 50px;
     box-sizing: border-box;
 }
 .toggleSwitch input {
@@ -1104,9 +1104,9 @@ body, button {
     left: 0;
     right: 0;
     bottom: 0;
-    background-color: rgba(0, 0, 0, 0.25);
+    background-color: rgba(255, 255, 255, 0.35);
     transition: .4s;
-    border-radius: 3px;
+    border-radius: 50px;
     border: 1px solid rgba(126, 126, 126, 0.57);
 }
 .toggleSwitchSlider:before {
@@ -1116,12 +1116,13 @@ body, button {
     width: 21px;
     left: 3px;
     bottom: 3px;
-    background-color: rgb(202, 202, 202);
-    border-radius: 3px;
+    background-color: white;
+    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.75);
+    border-radius: 50px;
     transition: .4s;
 }
 input:checked + .toggleSwitchSlider {
-    background-color: rgba(36, 255, 0, 0.25);
+    background-color: rgb(31, 140, 11);
 }
 input:checked + .toggleSwitchSlider:before {
     transform: translateX(21px);