SponsorBlock/public/content.css

611 lines
9.9 KiB
CSS
Raw Normal View History

.hidden {
display: none;
}
2019-08-13 01:34:44 +02:00
#previewbar {
overflow: visible;
padding: 0;
margin: 0;
position: absolute;
width: 100%;
pointer-events: none;
height: 100%;
transform: scaleY(0.6) translateY(-30%) translateY(1.5px);
z-index: 40;
transition: transform .1s cubic-bezier(0,0,0.2,1);
}
#previewbar.hovered {
transform: scaleY(1)
2019-08-13 01:34:44 +02:00
}
.previewbar {
display: inline-block;
height: 100%;
}
2020-05-03 17:42:39 +02:00
/* Preview Bar page hacks */
.ytp-tooltip:not(.sponsorCategoryTooltipVisible) .sponsorCategoryTooltip {
display: none !important;
}
.ytp-tooltip.sponsorCategoryTooltipVisible {
2020-12-30 04:10:16 +01:00
transform: translateY(-1em) !important;
}
.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible {
2020-12-30 04:10:16 +01:00
transform: translateY(-2em) !important;
}
#movie_player:not(.ytp-big-mode) .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper {
2020-12-30 04:10:16 +01:00
transform: translateY(1em) !important;
2020-05-03 17:42:39 +02:00
}
.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper {
2020-12-30 04:10:16 +01:00
transform: translateY(0.5em) !important;
}
.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper > .ytp-tooltip-text {
2020-12-30 04:10:16 +01:00
display: block !important;
transform: translateY(1em) !important;
2020-05-03 17:42:39 +02:00
}
/* */
.popup {
z-index: 10;
width: 100%;
height: 500px;
}
.smallLink {
font-size: 10px;
text-decoration: underline;
cursor: pointer;
}
2019-07-23 03:11:37 +02:00
.playerButtonImage {
height: 60%;
top: 0;
bottom: 0;
display: block;
margin: auto;
}
2019-07-23 03:11:37 +02:00
.playerButton {
vertical-align: top;
}
2021-10-01 00:15:06 +02:00
.autoHiding {
overflow: visible !important;
}
2021-09-30 06:43:10 +02:00
.autoHiding:not(.hidden) {
2021-06-21 02:45:41 +02:00
transform: translateX(0%) scale(1);
/* opacity is from YouTube page */
2021-10-02 00:08:02 +02:00
transition: transform 0.2s, width 0.2s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important;
2021-06-21 02:45:41 +02:00
}
2021-09-30 06:43:10 +02:00
.autoHiding.hidden {
2021-06-21 02:45:41 +02:00
transform: translateX(100%) scale(0);
/* opacity is from YouTube page */
2021-10-02 00:08:02 +02:00
transition: transform 0.2s, width 0.2s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important;
2021-10-01 00:15:06 +02:00
width: 0px !important;
2021-06-21 02:45:41 +02:00
}
2021-09-30 06:43:10 +02:00
.autoHiding.hidden.autoHideLeft {
transform: translateX(-100%) scale(0);
}
2021-06-21 02:45:41 +02:00
.playerButton.hidden {
display: none;
}
.sponsorSkipObject {
2019-08-14 20:07:00 +02:00
font-family: Roboto, Arial, Helvetica, sans-serif;
margin-left: 2px;
margin-right: 2px;
}
.sponsorSkipLogo {
height: 18px;
float: left;
}
@keyframes fadeIn {
from { opacity: 0; }
}
2019-08-19 23:39:22 +02:00
@keyframes fadeOut {
2021-07-01 03:50:54 +02:00
to { opacity: 0; }
2019-08-19 23:39:22 +02:00
}
.sponsorBlockSpacer {
2019-08-14 20:07:00 +02:00
background-color: rgb(100, 100, 100);
border-color: rgb(100, 100, 100);
margin-left: 5px;
}
2021-07-30 00:34:31 +02:00
.sbChatNotice {
min-width: 350px;
height: 70%;
position: absolute;
right: 5px;
bottom: 100px;
right: 10px;
}
.sponsorSkipNoticeParent {
2019-07-10 20:43:14 +02:00
position: absolute;
bottom: 100px;
right: 10px;
}
.sponsorSkipNoticeParent, .sponsorSkipNotice {
min-width: 350px;
max-width: 50%;
border-spacing: 5px 10px;
2021-07-01 07:13:06 +02:00
padding-left: 5px;
padding-right: 5px;
border-collapse: unset;
}
.sponsorSkipNoticeTableContainer {
background-color: rgba(28, 28, 28, 0.9);
border-radius: 5px;
min-width: 100%;
}
.sponsorSkipNotice {
transition: all 0.1s ease-out;
2019-08-14 20:07:00 +02:00
}
2021-09-02 17:44:25 +02:00
.sponsorSkipNoticeLimitWidth {
min-width: calc(100% - 50px);
}
2021-05-14 02:03:05 +02:00
.sponsorSkipNotice .hidden {
display: none;
}
2021-06-18 06:23:58 +02:00
/* For Cloudtube */
.sponsorSkipNotice td, .sponsorSkipNotice table, .sponsorSkipNotice th {
border: none;
}
.sponsorSkipNoticeFadeIn {
2021-07-01 03:50:54 +02:00
animation: fadeIn 0.5s ease-out;
}
.sponsorSkipNoticeFaded {
opacity: 0.5;
}
.sponsorSkipNoticeFadeOut {
2021-07-01 03:50:54 +02:00
transition: opacity 3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
opacity: 0 !important;
animation: none !important;
2019-08-19 23:39:22 +02:00
}
2021-06-18 06:23:58 +02:00
.sponsorSkipNotice .sponsorSkipNoticeTimeLeft {
2019-08-14 20:07:00 +02:00
color: #eeeeee;
border-radius: 4px;
padding: 2px 5px;
font-size: 12px;
2021-05-14 02:03:05 +02:00
display: flex;
align-items: center;
2019-08-14 20:07:00 +02:00
border: 1px solid #eeeeee;
}
2021-05-14 02:03:05 +02:00
.sponsorSkipNoticeTimeLeft img {
vertical-align: middle;
height: 13px;
padding-top: 7.8%;
padding-bottom: 7.8%;
}
/* if two are very close to eachother */
.secondSkipNotice {
bottom: 290px;
2019-07-10 20:43:14 +02:00
}
2021-05-14 02:03:05 +02:00
.noticeLeftIcon {
display: flex;
align-items: center;
}
2021-06-18 06:23:58 +02:00
.sponsorSkipNotice .sponsorSkipNoticeUnskipSection {
float: left;
2019-08-14 20:07:00 +02:00
border-left: 1px solid rgb(150, 150, 150);
}
.sponsorSkipNoticeButton {
background: none;
2019-08-14 20:07:00 +02:00
color: rgb(235, 235, 235);
border: none;
display: inline-block;
2020-07-05 06:17:54 +02:00
font-size: 13.3333px !important;
cursor: pointer;
margin-right: 10px;
padding: 2px 5px;
}
.sponsorSkipNoticeButton:hover {
background-color: rgba(235, 235, 235,0.2);
border-radius: 4px;
transition: background-color 0.4s;
}
.sponsorTimesVoteButtonsContainer {
float: left;
vertical-align:middle;
padding: 2px 5px;
margin-right: 4px;
}
.sponsorTimesVoteButtonsContainer div{
display: inline-block;
}
2019-08-15 03:46:30 +02:00
.sponsorSkipNoticeRightSection {
right: 0;
position: absolute;
float: right;
2021-07-01 07:11:34 +02:00
margin-right: 10px;
2021-05-14 02:03:05 +02:00
display: flex;
align-items: center;
2019-08-15 03:46:30 +02:00
}
.sponsorSkipNoticeRightButton {
margin-right: 0;
}
.sponsorSkipNoticeCloseButton {
height: 10px;
width: 10px;
2020-07-05 06:17:54 +02:00
box-sizing: unset;
padding: 2px 5px;
margin-left: 2px;
float: right;
2019-08-15 03:46:30 +02:00
}
.sponsorSkipNoticeCloseButton.biggerCloseButton {
padding: 20px;
}
.sponsorSkipMessage {
font-size: 14px;
font-weight: bold;
2019-08-14 20:07:00 +02:00
color: rgb(235, 235, 235);
2021-05-14 02:03:05 +02:00
margin-top: auto;
display: inline-block;
2021-05-14 02:03:05 +02:00
margin-right: 10px;
margin-bottom: auto;
}
.sponsorSkipInfo {
font-size: 10px;
color: #000000;
2019-07-15 22:28:41 +02:00
text-align: center;
margin-top: 0px;
}
#sponsorTimesThanksForVotingText {
font-size: 20px;
font-weight: bold;
color: #000000;
text-align: center;
2019-07-20 19:41:13 +02:00
margin-top: 0px;
margin-bottom: 0px;
}
2019-07-20 19:41:13 +02:00
#sponsorTimesThanksForVotingInfoText {
font-size: 12px;
font-weight: bold;
color: #000000;
text-align: center;
2019-07-20 19:41:13 +02:00
margin-top: 0px;
}
.sponsorTimesVoteButtonMessage {
float: left;
}
2019-07-20 19:41:13 +02:00
.sponsorTimesInfoMessage {
font-size: 13.3333px;
color: rgb(235, 235, 235);
}
2019-07-15 22:28:41 +02:00
.voteButton {
height: 24px;
width: 24px;
2019-07-15 22:28:41 +02:00
cursor: pointer;
}
.voteButton:hover {
filter: brightness(80%);
2019-07-10 20:43:14 +02:00
}
.submitButton {
background-color:#ec1c1c;
-moz-border-radius:28px;
-webkit-border-radius:28px;
border-radius:28px;
border:1px solid #d31919;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:14px;
padding:4px 15px;
text-decoration:none;
text-shadow:0px 0px 0px #662727;
margin-top: 5px;
margin-right: 15px;
}
.submitButton:hover {
background-color:#bf2a2a;
}
.submitButton:focus {
outline: none;
background-color:#bf2a2a;
}
.submitButton:active {
position:relative;
top:1px;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
2019-07-10 20:43:14 +02:00
.sponsorSkipButton {
background-color:#ec1c1c;
2019-07-10 20:43:14 +02:00
-moz-border-radius:28px;
-webkit-border-radius:28px;
border-radius:28px;
border:1px solid #d31919;
2019-07-10 20:43:14 +02:00
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:14px;
padding:4px 15px;
2019-07-10 20:43:14 +02:00
text-decoration:none;
text-shadow:0px 0px 0px #662727;
2019-07-10 20:43:14 +02:00
margin-top: 5px;
margin-right: 15px;
}
.sponsorSkipButton:hover {
background-color:#bf2a2a;
2019-07-10 20:43:14 +02:00
}
2019-07-15 22:28:41 +02:00
.sponsorSkipButton:focus {
outline: none;
background-color:#bf2a2a;
}
2019-07-10 20:43:14 +02:00
.sponsorSkipButton:active {
position:relative;
top:1px;
}
.sponsorSkipDontShowButton {
-moz-box-shadow:inset 0px 1px 0px 0px #cf866c;
-webkit-box-shadow:inset 0px 1px 0px 0px #cf866c;
box-shadow:inset 0px 1px 0px 0px #cf866c;
background-color:#d0451b;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
border:1px solid #942911;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:13px;
padding:6px 24px;
text-decoration:none;
text-shadow:0px 1px 0px #854629;
}
.sponsorSkipDontShowButton:hover {
background-color:#bc3315;
}
2019-07-15 22:28:41 +02:00
.sponsorSkipDontShowButton:focus {
outline: none;
background-color:#bc3315;
}
2019-07-10 20:43:14 +02:00
.sponsorSkipDontShowButton:active {
position:relative;
top:1px;
2020-03-12 00:35:20 +01:00
}
/* Submission Notice */
.sponsorTimeDisplay {
font-size: 15px;
}
.sponsorTimeEditButton {
text-decoration: underline;
margin-left: 20px;
margin-right: 20px;
font-size: 13px;
cursor: pointer;
}
.sponsorTimeEdit > input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.sponsorTimeMessagesRow {
max-height: 300px;
display: flex;
overflow: auto;
}
.sponsorTimeEdit {
font-size: 14px;
-moz-appearance: textfield;
}
.sponsorTimeEditInput {
width: 90px;
2020-04-02 02:38:10 +02:00
}
.sponsorNowButton {
font-size: 11px;
cursor: pointer;
text-decoration: underline;
}
.sponsorTimeEditSelector {
margin-top: 5px;
margin-bottom: 5px;
background-color: rgba(28, 28, 28, 0.9);
border-color: rgb(130,0,0,0.9);
color: white;
border-width: 3px;
padding: 3px;
2020-06-05 03:46:56 +02:00
}
.helpButton {
height: 25px;
cursor: pointer;
padding: 5px;
margin: auto;
top: 0;
bottom: 0;
position: absolute;
}
.helpButton:hover {
filter: brightness(80%);
2021-07-30 00:34:31 +02:00
}
.sbChatNotice iframe {
height: 32px;
cursor: pointer;
height: 100%;
}
.sbChatClose {
height: 14px;
cursor: pointer;
}
.skipButtonControlBarContainer {
cursor: pointer;
display: flex;
2021-10-21 07:30:52 +02:00
color: white;
}
2021-10-21 07:30:52 +02:00
.skipButtonControlBarContainer.mobile {
bottom: 30%;
margin-left: 5px;
position: absolute;
height: 20px;
background-color: #00000030;
opacity: 0.5;
border-radius: 10px;
padding: 4px;
}
.skipButtonControlBarContainer.mobile.textDisabled {
padding: 0;
background-color: transparent;
}
2021-10-21 07:30:52 +02:00
.skipButtonControlBarContainer.mobile > div {
margin: auto;
margin-left: 5px;
}
#sbSkipIconControlBarImage {
height: 60%;
top: 0px;
bottom: 0px;
display: block;
margin: auto;
2021-08-20 09:54:49 +02:00
}
2021-10-21 07:30:52 +02:00
.mobile #sbSkipIconControlBarImage {
height: 100%;
width: 20px;
2021-10-21 07:30:52 +02:00
}
2021-08-20 09:54:49 +02:00
.sponsorBlockTooltip {
position: absolute;
background-color: rgba(28, 28, 28, 0.7);
border-radius: 5px;
padding: 10px;
max-width: 300px;
white-space: normal;
line-height: 1.5em;
}
.sponsorBlockTooltip::after {
content: " ";
position: absolute;
top: 100%;
left: 15%;
margin-left: -15px;
border-width: 15px;
border-style: solid;
border-color: rgba(28, 28, 28, 0.7) transparent transparent transparent;
}
2021-10-15 06:56:48 +02:00
.sponsorBlockLockedColor {
color: #ffc83d;
2021-10-14 07:16:55 +02:00
}
.sponsorBlockRectangleTooltip {
position: absolute;
border-radius: 5px;
padding: 10px;
2021-10-13 06:19:48 +02:00
min-width: 250px;
min-height: 75px;
white-space: normal;
line-height: 1.5em;
2021-10-13 06:19:48 +02:00
}
2021-10-14 07:16:55 +02:00