SponsorBlock/popup.css

222 lines
4.2 KiB
CSS
Raw Normal View History

/* reset some properties to default (youtube messes with them */
p.popupElement {
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
h1.popupElement {
margin-block-start: 0.67em;
margin-block-end: 0.67em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
}
h2.popupElement {
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
}
h3.popupElement {
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
}
sub.popupElement {
font-size: smaller;
}
/* end reset */
.popupElement {
2019-07-10 21:00:48 +02:00
font-family: 'Source Sans Pro', sans-serif;
color: black;
}
h1.popupElement {
margin-top: 0px;
}
.popupBody {
font-size: 14px;
background-color: #ffd9d9;
padding: 5px;
2019-07-10 18:20:29 +02:00
}
.recordingSubtitle.popupElement {
margin-bottom: 10px;
}
.voteButton.popupElement {
height: 32px;
margin-right: 15px;
cursor: pointer;
}
.voteButton:hover.popupElement {
filter: brightness(80%);
}
#discordButtonContainer.popupElement {
2019-07-29 05:52:32 +02:00
font-size: 12px;
}
.sponsorTime.popupElement {
font-size: 20px;
}
.smallLink.popupElement {
2019-07-29 05:52:32 +02:00
font-size: 10px;
text-decoration: underline;
cursor: pointer;
}
.mediumLink.popupElement {
font-size: 15px;
padding-left: 15px;
padding-right: 15px;
text-decoration: underline;
cursor: pointer;
}
.whitelistButton.popupElement {
background-color:#3acc3a;
-moz-border-radius:28px;
-webkit-border-radius:28px;
border-radius:28px;
border: none;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:16px;
padding:8px 37px;
text-decoration:none;
text-shadow:0px 0px 0px #27663c;
}
.whitelistButton:hover.popupElement {
background-color:#218b26;
}
.whitelistButton:focus.popupElement {
outline: none;
background-color:#218b26;
}
.whitelistButton:active.popupElement {
position:relative;
top:1px;
}
.greenButton.popupElement {
background-color:#ec1c1c;
2019-07-10 18:20:29 +02:00
-moz-border-radius:28px;
-webkit-border-radius:28px;
border-radius:28px;
border:1px solid #d31919;
2019-07-10 18:20:29 +02:00
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:16px;
padding:8px 37px;
text-decoration:none;
text-shadow:0px 0px 0px #662727;
2019-07-10 18:20:29 +02:00
}
.greenButton:hover.popupElement {
background-color:#bf2a2a;
2019-07-10 18:20:29 +02:00
}
.greenButton:focus.popupElement {
2019-07-15 22:28:41 +02:00
outline: none;
background-color:#bf2a2a;
}
.greenButton:active.popupElement {
2019-07-10 18:20:29 +02:00
position:relative;
top:1px;
}
.dangerButton.popupElement {
2019-07-10 18:20:29 +02:00
-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;
}
.dangerButton:hover.popupElement {
2019-07-10 18:20:29 +02:00
background-color:#bc3315;
}
.dangerButton:focus.popupElement {
2019-07-15 22:28:41 +02:00
outline: none;
background-color:#bc3315;
}
.dangerButton:active.popupElement {
2019-07-10 18:20:29 +02:00
position:relative;
top:1px;
}
.warningButton.popupElement {
-moz-box-shadow:inset 0px 1px 0px 0px #cfbd6c;
-webkit-box-shadow:inset 0px 1px 0px 0px #cfbd6c;
box-shadow:inset 0px 1px 0px 0px #cfbd6c;
background-color:#d0821b;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
border:1px solid #948b11;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:13px;
padding:6px 24px;
text-decoration:none;
text-shadow:0px 1px 0px #856829;
}
.warningButton:hover.popupElement {
background-color:#bc8215;
}
.warningButton:focus.popupElement {
2019-07-15 22:28:41 +02:00
outline: none;
background-color:#bc8215;
}
.warningButton:active.popupElement {
position:relative;
top:1px;
}
.smallButton.popupElement {
background-color:#f9902d;
2019-07-10 18:20:29 +02:00
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
border:1px solid #f9a72d;
2019-07-10 18:20:29 +02:00
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:14px;
padding:6px 10px;
text-decoration:none;
}
.smallButton:hover.popupElement {
background-color:#fa9806;
2019-07-10 18:20:29 +02:00
}
.smallButton:focus.popupElement {
2019-07-15 22:28:41 +02:00
outline: none;
background-color:#fa9806;
}
.smallButton:active.popupElement {
2019-07-10 18:20:29 +02:00
position:relative;
top:1px;
}