Skip to content

Commit

Permalink
Styling of buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
p0wen committed Sep 26, 2020
1 parent e3e5e21 commit b2d5249
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@
}

input:checked + .slider {
background-color: #2196f3;
background-color: #ff6000;
}

input:focus + .slider {
box-shadow: 0 0 1px #2196f3;
box-shadow: 0 0 1px #ff6000;
}

input:checked + .slider:before {
Expand Down Expand Up @@ -229,3 +229,36 @@ input:checked + .slider:before {
.btng:hover {
color: #ff6000;
}

.volumeslider {
-webkit-appearance: none;
width: 100%;
height: 7px;
border-radius: 3px;
background: #dae0e5;
outline: none;
-webkit-transition: 0.2s;
transition: opacity 0.2s;
}

.volumeslider:hover {
opacity: 1;
}

.volumeslider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: #ff6000;
cursor: pointer;
}

.volumeslider::-moz-range-thumb {
width: 25px;
height: 25px;
border-radius: 50%;
background: #ff6000;
cursor: pointer;
}

0 comments on commit b2d5249

Please sign in to comment.