2022-06-09 11:51:19 +01:00
|
|
|
/*
|
2022-06-21 09:48:42 +01:00
|
|
|
GoToSocial
|
2023-01-05 11:43:00 +00:00
|
|
|
Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
|
2022-06-09 11:51:19 +01:00
|
|
|
|
2022-06-21 09:48:42 +01:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
2022-06-09 11:51:19 +01:00
|
|
|
|
2022-06-21 09:48:42 +01:00
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
2022-06-09 11:51:19 +01:00
|
|
|
|
2022-06-21 09:48:42 +01:00
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2022-06-09 11:51:19 +01:00
|
|
|
*/
|
|
|
|
|
2022-08-07 16:58:01 +01:00
|
|
|
@import "photoswipe/dist/photoswipe.css";
|
|
|
|
@import "photoswipe-dynamic-caption-plugin/photoswipe-dynamic-caption-plugin.css";
|
2023-05-11 16:46:32 +01:00
|
|
|
@import "plyr/dist/plyr.css";
|
2022-08-07 16:58:01 +01:00
|
|
|
|
2021-09-13 13:45:33 +01:00
|
|
|
main {
|
|
|
|
background: transparent;
|
|
|
|
grid-auto-rows: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thread {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-06-21 09:48:42 +01:00
|
|
|
border-radius: $br;
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.toot {
|
2023-05-11 16:46:32 +01:00
|
|
|
background: $toot-bg;
|
2022-07-04 15:23:59 +01:00
|
|
|
box-shadow: $boxshadow;
|
2022-09-29 11:02:41 +01:00
|
|
|
border: $boxshadow-border;
|
2023-05-11 16:46:32 +01:00
|
|
|
border-radius: $br;
|
2021-09-13 13:45:33 +01:00
|
|
|
position: relative;
|
2022-06-21 09:48:42 +01:00
|
|
|
margin-bottom: $br;
|
2023-05-11 16:46:32 +01:00
|
|
|
padding-top: 0.75rem;
|
2021-09-13 13:45:33 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.author > a {
|
|
|
|
padding: 0 0.75rem;
|
2022-07-04 15:23:59 +01:00
|
|
|
display: grid;
|
2023-05-11 16:46:32 +01:00
|
|
|
grid-template-columns: 3.5rem 1fr auto;
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
grid-template-areas:
|
|
|
|
"avatar display date"
|
|
|
|
"avatar user .";
|
|
|
|
gap: 0 0.5rem;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
grid-area: avatar;
|
|
|
|
height: 3.5rem;
|
|
|
|
width: 3.5rem;
|
|
|
|
object-fit: cover;
|
2022-07-04 15:23:59 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
border: 0.15rem solid $avatar-border;
|
|
|
|
border-radius: $br;
|
|
|
|
overflow: hidden; /* hides corners from img overflowing */
|
2022-09-29 11:02:41 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
img {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
background: $bg;
|
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
2022-07-09 12:37:06 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.displayname, .username {
|
|
|
|
justify-self: start;
|
|
|
|
align-self: start;
|
2022-10-02 14:54:42 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
max-width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2022-07-04 15:23:59 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.displayname {
|
|
|
|
grid-area: display;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.3rem;
|
|
|
|
/* margin-top: -0.5rem; */
|
|
|
|
}
|
2022-10-02 14:54:42 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.username {
|
|
|
|
grid-area: user;
|
|
|
|
color: $link-fg;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.3rem;
|
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.timestamp {
|
|
|
|
grid-area: date;
|
|
|
|
color: $fg-reduced;
|
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.body {
|
|
|
|
padding: 0.5rem 0.75rem;
|
2022-07-09 12:36:56 +01:00
|
|
|
display: flex;
|
2023-05-11 16:46:32 +01:00
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
2022-07-09 12:36:56 +01:00
|
|
|
|
2023-12-05 11:43:07 +00:00
|
|
|
.text-spoiler > summary, .text {
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-spoiler > summary {
|
2023-05-11 16:46:32 +01:00
|
|
|
display: inline-block;
|
|
|
|
list-style: none;
|
|
|
|
|
2023-12-05 11:43:07 +00:00
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
&::-webkit-details-marker {
|
|
|
|
display: none; /* Safari */
|
2022-07-09 12:36:56 +01:00
|
|
|
}
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.button {
|
|
|
|
white-space: nowrap;
|
2021-09-13 13:45:33 +01:00
|
|
|
cursor: pointer;
|
2023-12-05 11:43:07 +00:00
|
|
|
padding: 0.2rem 0.3rem;
|
|
|
|
font-size: 1rem;
|
2022-06-21 09:48:42 +01:00
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
|
|
|
margin: 0;
|
2022-08-27 10:40:51 +01:00
|
|
|
grid-row: span 1;
|
2022-10-03 17:26:41 +01:00
|
|
|
grid-column: 1 / span 3;
|
2021-09-13 13:45:33 +01:00
|
|
|
|
2023-12-05 11:43:07 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
2022-07-09 12:36:56 +01:00
|
|
|
|
2022-10-12 17:23:50 +01:00
|
|
|
width: 100%;
|
|
|
|
|
2021-09-13 13:45:33 +01:00
|
|
|
a {
|
2022-09-29 11:02:41 +01:00
|
|
|
color: $link-fg;
|
2021-09-13 13:45:33 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2022-07-13 10:28:05 +01:00
|
|
|
|
|
|
|
.content {
|
2023-08-24 11:52:12 +01:00
|
|
|
word-break: break-word;
|
|
|
|
line-height: 1.6rem;
|
2023-12-10 11:36:00 +00:00
|
|
|
width: 100%;
|
2023-08-24 11:52:12 +01:00
|
|
|
|
2023-08-23 17:28:59 +01:00
|
|
|
h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.8rem;
|
2023-08-24 11:52:12 +01:00
|
|
|
line-height: initial;
|
2023-08-23 17:28:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.6rem;
|
2023-08-24 11:52:12 +01:00
|
|
|
line-height: initial;
|
2023-08-23 17:28:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.4rem;
|
2023-08-24 11:52:12 +01:00
|
|
|
line-height: initial;
|
2023-08-23 17:28:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.2rem;
|
2023-08-24 11:52:12 +01:00
|
|
|
line-height: initial;
|
2023-08-23 17:28:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1rem;
|
2023-08-24 11:52:12 +01:00
|
|
|
line-height: initial;
|
2023-08-23 17:28:59 +01:00
|
|
|
}
|
|
|
|
|
2022-08-07 12:47:30 +01:00
|
|
|
blockquote {
|
2023-01-06 15:01:09 +00:00
|
|
|
padding: 0.5rem 0 0.5rem 0.5rem;
|
2022-09-29 11:02:41 +01:00
|
|
|
border-left: 0.2rem solid $border-accent;
|
2023-01-06 15:01:09 +00:00
|
|
|
margin: 0;
|
2022-08-07 12:47:30 +01:00
|
|
|
font-style: italic;
|
|
|
|
}
|
2022-08-11 18:11:19 +01:00
|
|
|
|
|
|
|
hr {
|
2022-09-29 11:02:41 +01:00
|
|
|
border: 1px dashed $border-accent;
|
2022-08-11 18:11:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pre, code {
|
2022-09-29 11:02:41 +01:00
|
|
|
background-color: $gray2;
|
2022-08-11 18:11:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding: 0.25rem;
|
2022-09-29 11:02:41 +01:00
|
|
|
border-radius: $br-inner;
|
2022-08-11 18:11:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
display: flex;
|
|
|
|
border-radius: $br;
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding: 0.5rem;
|
|
|
|
white-space: pre;
|
|
|
|
border-radius: 0;
|
|
|
|
overflow-x: auto;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
}
|
2022-11-02 08:04:23 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 5px auto;
|
|
|
|
}
|
|
|
|
img[alt~="!center"] {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-07-13 10:28:05 +01:00
|
|
|
}
|
2022-10-02 14:54:49 +01:00
|
|
|
|
|
|
|
.emoji {
|
|
|
|
transition: 0.1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji:hover, .emoji:active {
|
2022-10-06 10:36:07 +01:00
|
|
|
transform: scale(2);
|
2022-10-02 14:54:49 +01:00
|
|
|
background-color: $bg;
|
|
|
|
box-shadow: $boxshadow;
|
|
|
|
border: $boxshadow-border;
|
|
|
|
border-radius: $br-inner;
|
|
|
|
}
|
2023-12-05 11:43:07 +00:00
|
|
|
|
|
|
|
.poll {
|
|
|
|
background-color: $gray2;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border-radius: $br;
|
|
|
|
padding: 0.5rem;
|
|
|
|
margin: 0;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
.poll-options {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
.poll-option {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.1rem;
|
|
|
|
|
|
|
|
label {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
meter {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.poll-vote-summary {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.poll-info {
|
|
|
|
background-color: $gray4;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
border-radius: $br-inner;
|
|
|
|
padding: 0.25rem;
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
|
|
|
span {
|
|
|
|
justify-self: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media {
|
|
|
|
grid-column: span 3;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 50% 50%;
|
|
|
|
grid-auto-rows: 10rem;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2022-08-14 18:22:13 +01:00
|
|
|
.media-wrapper {
|
2023-05-11 16:46:32 +01:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 0.15rem solid $gray1;
|
|
|
|
border-radius: $br;
|
2021-09-13 13:45:33 +01:00
|
|
|
position: relative;
|
2023-05-11 16:46:32 +01:00
|
|
|
overflow: hidden;
|
2022-08-14 18:22:13 +01:00
|
|
|
z-index: 2;
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
details {
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2022-08-14 18:22:13 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
&[open] summary {
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
margin: 1rem;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.show, video, img {
|
2022-08-14 18:22:13 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.eye.button .hide {
|
|
|
|
display: inline-block;
|
|
|
|
grid-column: 1 / span 3;
|
|
|
|
grid-row: 1 / span 2;
|
2022-08-14 18:22:13 +01:00
|
|
|
}
|
|
|
|
}
|
2022-12-17 04:38:56 +00:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
summary {
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 3;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
padding: 1rem;
|
|
|
|
grid-template-columns: 1fr auto 1fr;
|
|
|
|
grid-template-rows: 1fr 1fr;
|
|
|
|
grid-template-areas:
|
|
|
|
"eye sensitive ."
|
|
|
|
". sensitive .";
|
|
|
|
|
|
|
|
.eye.button {
|
|
|
|
grid-area: eye;
|
|
|
|
align-self: start;
|
|
|
|
justify-self: start;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.4rem;
|
|
|
|
|
|
|
|
.fa-fw {
|
|
|
|
line-height: $fa-fw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2022-08-14 18:22:13 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.show.sensitive {
|
|
|
|
grid-area: sensitive;
|
|
|
|
align-self: center;
|
2022-08-14 18:22:13 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.button {
|
|
|
|
cursor: pointer;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
}
|
2022-08-14 18:22:13 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
video, img {
|
|
|
|
z-index: -1;
|
|
|
|
position: absolute;
|
|
|
|
height: calc(100% + 1.2rem);
|
|
|
|
width: calc(100% + 1.2rem);
|
|
|
|
top: -0.6rem;
|
|
|
|
left: -0.6rem;
|
|
|
|
filter: blur(1.2rem);
|
|
|
|
}
|
2022-08-14 18:22:13 +01:00
|
|
|
}
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
video.plyr-video, .plyr {
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
object-fit: contain;
|
|
|
|
background: $gray1;
|
2022-08-14 18:22:13 +01:00
|
|
|
}
|
2023-11-10 18:29:26 +00:00
|
|
|
|
|
|
|
.unknown-attachment {
|
|
|
|
.placeholder {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0.8rem;
|
|
|
|
border: 0.2rem dashed $white2;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
|
|
|
color: $white2;
|
|
|
|
|
|
|
|
.placeholder-external-link {
|
|
|
|
align-self: end;
|
|
|
|
font-size: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.placeholder-icon {
|
|
|
|
width: 100%;
|
|
|
|
font-size: 3.5rem;
|
|
|
|
text-align: center;
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.placeholder-link-to {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-14 18:22:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
&.single .media-wrapper {
|
|
|
|
grid-column: span 2;
|
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
&.odd .media-wrapper:first-child, &.double .media-wrapper {
|
|
|
|
grid-row: span 2;
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
2023-05-11 16:46:32 +01:00
|
|
|
display: flex;
|
2022-09-29 11:02:41 +01:00
|
|
|
background: $toot-info-bg;
|
|
|
|
color: $fg-reduced;
|
|
|
|
border-top: 0.15rem solid $toot-info-border;
|
2023-05-11 16:46:32 +01:00
|
|
|
padding: 0.5rem 0.75rem;
|
2021-09-13 13:45:33 +01:00
|
|
|
|
2023-11-17 10:35:28 +00:00
|
|
|
time {
|
2023-05-11 16:46:32 +01:00
|
|
|
padding-right: 1rem;
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.stats {
|
2023-11-17 10:35:28 +00:00
|
|
|
display: inline-flex;
|
|
|
|
flex: 1;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
.stats-item {
|
|
|
|
span {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.language {
|
|
|
|
margin-left: auto;
|
|
|
|
z-index: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
grid-column: span 3;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toot-link {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
text-indent: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
/* top left, top right */
|
2022-07-04 15:23:59 +01:00
|
|
|
border-top-left-radius: $br;
|
|
|
|
border-top-right-radius: $br;
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
2022-09-29 11:02:41 +01:00
|
|
|
&:last-child, &:last-child .info {
|
2021-09-13 13:45:33 +01:00
|
|
|
/* bottom left, bottom right */
|
2022-07-04 15:23:59 +01:00
|
|
|
border-bottom-left-radius: $br;
|
|
|
|
border-bottom-right-radius: $br;
|
2022-06-21 09:48:42 +01:00
|
|
|
margin-bottom: 0;
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.expanded {
|
2022-09-29 11:02:41 +01:00
|
|
|
background: $toot-focus-bg;
|
2022-07-04 15:23:59 +01:00
|
|
|
padding-bottom: 0;
|
2021-09-13 13:45:33 +01:00
|
|
|
|
|
|
|
.info {
|
2023-05-11 16:46:32 +01:00
|
|
|
background: $toot-focus-info-bg;
|
2022-10-02 14:54:42 +01:00
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.plyr--video {
|
|
|
|
flex-direction: column-reverse;
|
2022-10-03 17:26:41 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.plyr__video-wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
2022-10-03 17:26:41 +01:00
|
|
|
|
2023-05-11 16:46:32 +01:00
|
|
|
.plyr__controls {
|
|
|
|
align-self: stretch;
|
|
|
|
position: initial;
|
|
|
|
padding: 0.1rem;
|
|
|
|
padding-top: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plyr__control {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plyr__control--overlaid {
|
|
|
|
top: calc(50% - 18px);
|
2022-10-03 17:26:41 +01:00
|
|
|
}
|
2022-12-17 04:38:56 +00:00
|
|
|
}
|
2023-05-11 16:46:32 +01:00
|
|
|
|
|
|
|
.pswp__content {
|
|
|
|
padding: 2rem;
|
|
|
|
|
|
|
|
.plyr {
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
}
|