Skip to content

Commit

Permalink
Improve pointer styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Usbac committed Feb 11, 2024
1 parent 619288d commit fe2bbd9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions public/assets/css/admin/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,18 @@ code {
cursor: not-allowed;
}

.pointer {
transition: opacity var(--transition-time);
}

input[disabled] + .slider {
opacity: 0.8;
cursor: not-allowed !important;
}

.pointer:hover,
button:hover:not(:disabled):not(.loading),
.button:hover:not(:disabled):not(.loading),
input[disabled] + .slider {
.button:hover:not(:disabled):not(.loading) {
opacity: 0.8;
cursor: pointer;
}
Expand Down

0 comments on commit fe2bbd9

Please sign in to comment.