mirror of https://github.com/FreeTubeApp/FreeTube
88 lines
1.6 KiB
SCSS
88 lines
1.6 KiB
SCSS
.shareLinks {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-template-rows: auto auto;
|
|
padding: 12px;
|
|
inline-size: max-content;
|
|
|
|
.header {
|
|
color: var(--primary-text-color);
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
margin-block: 4px 8px;
|
|
margin-inline: 0;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.action {
|
|
padding: 6px;
|
|
}
|
|
}
|
|
|
|
.divider {
|
|
background: var(--tertiary-text-color);
|
|
grid-row: span 3;
|
|
margin-block: 0;
|
|
margin-inline: 12px;
|
|
inline-size: 1px;
|
|
}
|
|
|
|
.youtubeLogo {
|
|
block-size: 18px;
|
|
inline-size: auto;
|
|
|
|
@at-root {
|
|
.dark &,
|
|
.system[data-system-theme*='dark'] & {
|
|
filter: brightness(0.868);
|
|
}
|
|
|
|
.black & {
|
|
filter: brightness(0.933);
|
|
}
|
|
|
|
/* no changes for the dracula theme */
|
|
|
|
.pastelPink &,
|
|
.light &,
|
|
.system[data-system-theme*='light'] & {
|
|
filter: invert(0.87);
|
|
}
|
|
}
|
|
}
|
|
|
|
.invidious {
|
|
display: flex;
|
|
justify-content: center;
|
|
letter-spacing: -0.4px;
|
|
|
|
.invidiousLogo {
|
|
background-size: cover;
|
|
display: inline-block;
|
|
block-size: 20px;
|
|
margin-inline-end: 2px;
|
|
inline-size: 20px;
|
|
|
|
@at-root {
|
|
.dark &,
|
|
.black &,
|
|
.dracula &,
|
|
.CatppuccinMocha &,
|
|
.hotPink &,
|
|
.system[data-system-theme*='dark'] & {
|
|
background-image: url('../../assets/img/invidious-logo-dark.svg');
|
|
}
|
|
|
|
.pastelPink &,
|
|
.light &,
|
|
.system[data-system-theme*='light'] & {
|
|
background-image: url('../../assets/img/invidious-logo-light.svg');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|