mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-30 09:57:52 +01:00
add hover labels for select list label
This commit is contained in:
1 parent
c67dfbc67b
commit
4a09e311f8
2 files changed
+11
-3
No files matched your search
@@ -68,7 +68,7 @@ button:hover {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.switch:before {
|
||||
.switch:before, .label-with-hover-tip:before {
|
||||
content: attr(data-hover);
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
@@ -84,7 +84,7 @@ button:hover {
|
||||
top: 160%;
|
||||
}
|
||||
|
||||
.switch:hover:before {
|
||||
.switch:hover:before, .label-with-hover-tip:hover:before {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
@@ -188,6 +188,14 @@ button:hover {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.label-with-hover-tip {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
height: 17px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.switch:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user