83 lines
1.4 KiB
CSS
Raw Normal View History

2022-07-10 14:14:27 +02:00
.Wrapper {
margin-bottom: 2rem;
}
.ViewContainer {
2020-07-22 20:50:43 +03:00
list-style: none;
-ms-box-orient: horizontal;
display: flex;
-webkit-justify-content: flex-end;
justify-content: flex-end;
align-items: center;
2020-07-22 20:50:43 +03:00
}
.Button {
background-color: #e7e7e7;
color: black;
border: none;
padding: 7px 16px;
text-decoration: none;
margin: 4px 2px;
cursor: pointer;
font-size: 14px;
text-align: center;
2020-07-22 20:50:43 +03:00
}
.Switch {
margin: 4px 15px;
font-size: 14px;
font-family: "Arial, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue";
display: flex;
justify-content: center;
align-items: center;
2020-07-22 20:50:43 +03:00
}
.Switch_Toggle {
position: relative;
display: inline-block;
width: 60px;
height: 30px;
margin-right: 5px;
2020-07-22 20:50:43 +03:00
}
.Switch_Toggle input {
opacity: 0;
width: 0;
height: 0;
2020-07-22 20:50:43 +03:00
}
.Slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: 0.4s;
transition: 0.4s;
2020-07-22 20:50:43 +03:00
}
.Slider:before {
position: absolute;
content: "";
height: 21px;
width: 21px;
left: 6px;
bottom: 4px;
background-color: white;
-webkit-transition: 0.4s;
transition: 0.4s;
2020-07-22 20:50:43 +03:00
}
input:checked + .Slider {
background-color: #2196f3;
2020-07-22 20:50:43 +03:00
}
input:focus + .Slider {
box-shadow: 0 0 1px #2196f3;
2020-07-22 20:50:43 +03:00
}
input:checked + .Slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
2020-07-22 20:50:43 +03:00
}