aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2022-05-03 20:03:02 -0400
committerGitHub <[email protected]>2022-05-03 20:03:02 -0400
commit5e733fddadffaef3a24fab31560c6f8137056b13 (patch)
treece8d4dbdfda54ee5b02d3b78c68d6b13ada833ef
parent5d48e87e0b50d197b94706084f48167ec0b38c54 (diff)
parent0bf8368686853510c23ecee2e59e7f08fde3fef8 (diff)
downloadSponsorBlock-5e733fddadffaef3a24fab31560c6f8137056b13.tar.gz
SponsorBlock-5e733fddadffaef3a24fab31560c6f8137056b13.zip
Merge pull request #1293 from AlecRust/consistent-vote-buttons4.3.1
Fix vote button hover inconsistency
-rw-r--r--public/content.css33
-rw-r--r--public/popup.css4
2 files changed, 16 insertions, 21 deletions
diff --git a/public/content.css b/public/content.css
index afcd4c3d..c3c0d65b 100644
--- a/public/content.css
+++ b/public/content.css
@@ -9,7 +9,7 @@
position: absolute;
width: 100%;
pointer-events: none;
-
+
height: 100%;
transform: scaleY(0.6) translateY(-30%) translateY(1.5px);
z-index: 40;
@@ -108,7 +108,7 @@
.sponsorSkipObject {
font-family: Roboto, Arial, Helvetica, sans-serif;
-
+
margin-left: 2px;
margin-right: 2px;
}
@@ -253,7 +253,7 @@
.sponsorSkipNoticeButton:hover {
background-color: rgba(235, 235, 235,0.2);
border-radius: 4px;
-
+
transition: background-color 0.4s;
}
@@ -288,7 +288,7 @@
height: 10px;
width: 10px;
box-sizing: unset;
-
+
padding: 2px 5px;
margin-left: 2px;
@@ -303,7 +303,7 @@
font-size: 14px;
font-weight: bold;
color: rgb(235, 235, 235);
-
+
margin-top: auto;
display: inline-block;
margin-right: 10px;
@@ -343,15 +343,6 @@
color: rgb(235, 235, 235);
}
-.voteButton {
- height: 24px;
- width: 24px;
- cursor: pointer;
-}
-.voteButton:hover {
- filter: brightness(80%);
-}
-
.segmentSummary {
outline: none !important;
}
@@ -369,7 +360,7 @@
padding:4px 15px;
text-decoration:none;
text-shadow:0px 0px 0px #662727;
-
+
margin-top: 5px;
margin-right: 15px;
}
@@ -405,7 +396,7 @@
padding:4px 15px;
text-decoration:none;
text-shadow:0px 0px 0px #662727;
-
+
margin-top: 5px;
margin-right: 15px;
}
@@ -467,7 +458,7 @@
margin-right: 20px;
font-size: 13px;
-
+
cursor: pointer;
}
@@ -516,14 +507,14 @@ input::-webkit-inner-spin-button {
height: 25px;
cursor: pointer;
padding: 5px;
-
+
margin: auto;
top: 0;
bottom: 0;
position: absolute;
}
.helpButton:hover {
- filter: brightness(80%);
+ opacity: 0.8;
}
.sbChatNotice iframe {
@@ -646,7 +637,7 @@ input::-webkit-inner-spin-button {
height: 10px;
width: 10px;
box-sizing: unset;
-
+
margin: 0px 0px 0px 5px;
}
@@ -658,4 +649,4 @@ input::-webkit-inner-spin-button {
#sponsorBlockDurationAfterSkips.ytm-time-display {
padding-left: 4px;
margin: 0px;
-} \ No newline at end of file
+}
diff --git a/public/popup.css b/public/popup.css
index 1f1dd637..983259a0 100644
--- a/public/popup.css
+++ b/public/popup.css
@@ -190,6 +190,10 @@
cursor: pointer;
}
+.voteButton:hover {
+ opacity: 0.8;
+}
+
/*
* "Voted!" text that appears after voting on a segment
*/