This commit is contained in:
db-2001
2024-04-21 13:36:25 -04:00
parent 5b52577610
commit b8efc3f601
4 changed files with 80 additions and 5 deletions

View File

@ -421,10 +421,10 @@ popup popup-window {
}
popup#jobStatusView popup-window {
left: 20%;
top: 20%;
height: 60%;
width: 60%;
left: 10%;
top: 10%;
height: 80%;
width: 80%;
}
popup-content{
@ -957,4 +957,63 @@ footer-tag-popup::before{
font-size: 12pt;
color: var(--secondary-color);
cursor: pointer;
}
}
/* The switch - the box around the slider */
.switch-toggle {
position: relative;
width: 40px;
height: 20px;
margin-left: auto;
float: right;
margin-right: 2px;
}
/* Hide default HTML checkbox */
.switch-toggle input {
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
border-radius: 34px;
}
.slider:before {
position: absolute;
content: "";
height: 12px;
width: 12px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: var(--primary-color);
}
input:focus + .slider {
box-shadow: 0 0 1px var(--primary-color);
}
input:checked + .slider:before {
-webkit-transform: translateX(20px);
-ms-transform: translateX(20px);
transform: translateX(20px);
}