mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
251 lines
4.5 KiB
CSS
251 lines
4.5 KiB
CSS
:root {
|
|
--sb-main-bg-color: #222626;
|
|
--sb-main-fg-color: white;
|
|
--sb-gray-fg-color: #444848;
|
|
--sb-on-white-bg: black;
|
|
--sb-green-bg: #077B27;
|
|
}
|
|
|
|
#sponsorblockPopup {
|
|
background-color: var(--sb-main-bg-color);
|
|
color: var(--sb-main-fg-color);
|
|
font-family: 'Source Sans Pro', sans-serif;
|
|
font-size: 13px;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: center;
|
|
width: calc(100% - 6px);
|
|
height: calc(100% - 22px);
|
|
padding: 22px 3px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
#downloadedSponsorMessageTimes{
|
|
font-weight: bold;
|
|
}
|
|
|
|
#videoInfo>p, #videoInfo>div>p {
|
|
margin: 0;
|
|
}
|
|
|
|
div.logoText {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: center;
|
|
color: var(--sb-main-fg-color);
|
|
}
|
|
|
|
div.logoText>p, .recordingSubtitle {
|
|
font-size: 32px;
|
|
margin: -4px 0 -2px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.largeButton{
|
|
background: white;
|
|
/*font-weight: bold;*/
|
|
padding: 6px 24px;
|
|
font-size: 20px;
|
|
border-radius: 25px;
|
|
text-decoration: none;
|
|
color: black;
|
|
min-height: 26px;
|
|
height: 26px;
|
|
width: 152px;
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* disable extension */
|
|
|
|
#disableExtension {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: center;
|
|
}
|
|
|
|
/* switch button */
|
|
|
|
.toggleSwitchContainer {
|
|
display: flex;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.switchBg {
|
|
display: block;
|
|
height: 37px;
|
|
width: 78px;
|
|
border-radius: 18.5px;
|
|
}
|
|
|
|
.switchBg.shadow {
|
|
background: none;
|
|
box-shadow: 0.75px 0.75px 10px 0px rgba(50, 50, 50, 0.5);
|
|
opacity: 1;
|
|
}
|
|
|
|
.switchBg.white {
|
|
position: absolute;
|
|
background: white;
|
|
opacity: 1;
|
|
}
|
|
|
|
.switchBg.green {
|
|
position: absolute;
|
|
background: #00a205;
|
|
opacity: 0;
|
|
transition: opacity .2s ease-out;
|
|
}
|
|
|
|
.switchDot {
|
|
width: 25px;
|
|
height: 25px;
|
|
margin: 6px;
|
|
background: white;
|
|
position: absolute;
|
|
border-radius: 12.5px;
|
|
transition: transform .2s ease-out;
|
|
box-shadow: .75px .75px 3.8px 0px rgba(50, 50, 50, 0.45);
|
|
}
|
|
|
|
#toggleSwitch:checked~.switchDot {
|
|
transform: translateX(40px);
|
|
}
|
|
|
|
#toggleSwitch:checked~.switchBg.green {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
#toggleSwitch:checked~.switchBg.white {
|
|
opacity: 0 !important;
|
|
transition: opacity .2s step-end;
|
|
}
|
|
|
|
.sidebyside {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
width: 88%;
|
|
margin: 0 6% 0 6%;
|
|
}
|
|
|
|
.sidebyside>div {
|
|
width: 50%;
|
|
justify-content: center;
|
|
}
|
|
|
|
#mainControls, #sponsorTimesSkipsDoneContainer, .toggleSwitchContainer {
|
|
margin-bottom: 2px !important;
|
|
}
|
|
|
|
.recordingSubtitle {
|
|
margin-bottom: 5px !important;
|
|
}
|
|
|
|
.logoText {
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
#videoInfo, .sidebyside, #sponsorTimesSkipsDoneContainer, .largeButton {
|
|
margin-bottom: 12px !important;
|
|
}
|
|
/* additional buttons */
|
|
|
|
#additionalButtons {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: center;
|
|
}
|
|
|
|
#additionalButtons>button, button#setUsernameButton, #submitUsername {
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
width: fit-content;
|
|
padding: 0;
|
|
}
|
|
|
|
#additionalButtons, #additionalButtons>button {
|
|
font-size: 15px;
|
|
}
|
|
|
|
#usernameValue, #usernameInput, #sponsorTimesContributionsDisplay{
|
|
font-size: 19px;
|
|
}
|
|
|
|
label>svg>path {
|
|
fill: var(--sb-main-fg-color);
|
|
}
|
|
|
|
label>p, #disableExtension>p, #usernameValue, #usernameElement > div > p,#sponsorTimesContributionsContainer > div > p, #usernameElement > div > #setUsername > #setUsernameStatusContainer > p {
|
|
margin: 0;
|
|
}
|
|
|
|
#usernameElement > div > p, #sponsorTimesContributionsContainer {
|
|
text-align: start;
|
|
}
|
|
|
|
|
|
.grayedOut>label>svg>path {
|
|
fill: var(--sb-gray-fg-color);
|
|
}
|
|
|
|
.grayedOut>label {
|
|
color: var(--sb-gray-fg-color);
|
|
}
|
|
|
|
label>svg.rotated {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
label>svg, button#optionsButton>img, .logoText>img, #usernameValue {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
#mainControls>label, #additionalButtons>button, div#setUsernameContainer {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
|
|
#mainControls>label, #additionalButtons>button, div#setUsernameContainer>button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#usernameElement > div, #sponsorTimesContributionsContainer > div {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.sidebyside > #usernameElement, .sidebyside > #sponsorTimesContributionsContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#usernameValue{
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
#setUsername {
|
|
display:flex;
|
|
}
|
|
|
|
#usernameInput {
|
|
background: none;
|
|
padding: 0;
|
|
border: none;
|
|
color: var(--sb-main-fg-color);
|
|
width: calc(100% - 24px);
|
|
}
|
|
|
|
/* footer */
|
|
|
|
#sbFooter {
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
#sbFooter > a {
|
|
color: var(--sb-main-fg-color);
|
|
text-decoration: none;
|
|
}
|