Fix [type="range"]:focus

This commit is contained in:
Lucas 2020-10-01 09:56:08 +07:00
parent c89db4ec2d
commit c4fb3ec4af
10 changed files with 33 additions and 10 deletions

View file

@ -1533,7 +1533,7 @@ label > textarea {
}
[type="range"]:focus {
background: transparent;
background: transparent !important;
}
[type="range"]:focus::-webkit-slider-runnable-track {
@ -1552,6 +1552,10 @@ label > textarea {
box-shadow: 0 0 0 0.1rem var(--input-focus);
}
[type="range"]:active {
background: transparent !important;
}
[type="range"]:active::-webkit-slider-thumb {
transform: scale(1.25);
background-color: var(--primary);