Rollback toogle button

This commit is contained in:
Tiago Kayaya
2020-08-28 13:38:10 +01:00
parent e30e38f253
commit 36e59f5df1
3 changed files with 24 additions and 35 deletions
+7 -14
View File
@@ -146,10 +146,7 @@
color: #666666;
font-size: 20px;
}
.switch {
position: relative;
display: inline-block;
@@ -168,8 +165,7 @@
left: 0;
right: 0;
bottom: 0;
background-color: #ffffff;
border: 1px solid #e16817;
background-color: #e16817;
-webkit-transition: .4s;
transition: .4s;
}
@@ -188,7 +184,7 @@
input:checked + .slider {
background-color: #e16817;
border: 1px solid #ffffff;
/* border: 1px solid #ffffff; */
}
input:focus + .slider {
@@ -206,18 +202,17 @@
{
display: none;
text-align: left !important;
color: white;
left: 23px !important;
left: 25px !important;
}
.mdgpr
{
left: 58px !important;
color: #e16817;
left: 60px !important;
}
.pr, .mdgpr
{
color: white;
position: absolute;
transform: translate(-50%,-50%);
top: 50%;
@@ -232,7 +227,6 @@
input:checked + .slider .mdgpr
{display: none;
color: white;
}
/*--------- END --------*/
@@ -245,5 +239,4 @@
.slider.round:before {
border-radius: 50%;
border: 1px solid #e16817;
}