mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00

* Add NSFW flags to videos so the publisher can add more NSFW context * Add NSFW summary to videos, similar to content warning system so the publisher has a free text to describe NSFW aspect of its video * Add additional "warn" NSFW policy: the video thumbnail is not blurred and we display a tag below the video miniature, the video player includes the NSFW warning (with context if available) and it also prevent autoplay * "blur" NSFW settings inherits "warn" policy and also blur the video thumbnail * Add NSFW flag settings to users so they can have more granular control about what content they want to hide, warn or display
63 lines
930 B
SCSS
63 lines
930 B
SCSS
@use '_variables' as *;
|
|
@use '_mixins' as *;
|
|
|
|
.plugin {
|
|
margin: 15px 0;
|
|
background-color: pvar(--bg-secondary-400);
|
|
}
|
|
|
|
.first-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
|
|
.plugin-name {
|
|
font-weight: $font-semibold;
|
|
|
|
@include margin-right(10px);
|
|
}
|
|
|
|
.plugin-version {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.plugin-icon {
|
|
@include margin-left(10px);
|
|
|
|
my-global-icon {
|
|
color: pvar(--fg-400);
|
|
|
|
&[iconName=npm] {
|
|
@include fill-path-svg-color(pvar(--fg-400));
|
|
}
|
|
}
|
|
}
|
|
|
|
.buttons {
|
|
width: max-content;
|
|
|
|
@include margin-left(auto);
|
|
}
|
|
}
|
|
|
|
.second-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
.description {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: $small-view) {
|
|
.first-row {
|
|
flex-wrap: wrap;
|
|
|
|
.buttons {
|
|
flex-basis: 100%;
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
}
|