re-init
|
@ -1,3 +1,6 @@
|
||||||
# gts-web
|
# gts-web
|
||||||
|
|
||||||
custom templates for GoToSocial
|
> custom templates for GoToSocial
|
||||||
|
|
||||||
|
as seen on my fediverse profile:
|
||||||
|
- https://dym.sh/@dym
|
||||||
|
|
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 214 B |
|
@ -0,0 +1,134 @@
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--white1: #fafaff;
|
||||||
|
--white2: #b3b5c6;
|
||||||
|
--gray1: #2a2b2f;
|
||||||
|
--gray2: #35363b;
|
||||||
|
--gray3: #3a3b41;
|
||||||
|
--gray4: #45464e;
|
||||||
|
--gray5: #4d4e56;
|
||||||
|
--gray6: #575861;
|
||||||
|
--gray7: #5d5e67;
|
||||||
|
--gray8: #696a75;
|
||||||
|
--orange1: #fd6a00;
|
||||||
|
--orange2: #ff853e;
|
||||||
|
--blue1: #3a9fde;
|
||||||
|
--blue2: #66befe;
|
||||||
|
--blue3: #89caff;
|
||||||
|
--error1: #860000;
|
||||||
|
--error2: #ff9796;
|
||||||
|
--error3: #dd2c2c;
|
||||||
|
--error-link: #01318C;
|
||||||
|
--green1: #94E749;
|
||||||
|
--info-fg: var(--gray1);
|
||||||
|
--info-bg: #b3ddff;
|
||||||
|
--info-link: var(--error-link);
|
||||||
|
--fg: var(--white1);
|
||||||
|
--bg: var(--gray1);
|
||||||
|
--bg-trans: rgba(77, 78, 86, 0.62);
|
||||||
|
--bg-accent: var(--gray5);
|
||||||
|
--fg-accent: var(--blue3);
|
||||||
|
--fg-reduced: var(--white2);
|
||||||
|
--border-accent: var(--orange2);
|
||||||
|
--link-fg: var(--fg-accent);
|
||||||
|
--role-admin: var(--orange2);
|
||||||
|
--role-mod: var(--blue2);
|
||||||
|
--profile-bg: var(--gray4);
|
||||||
|
--button-bg: var(--blue2);
|
||||||
|
--button-fg: var(--gray1);
|
||||||
|
--button-hover-bg: var(--blue3);
|
||||||
|
--button-danger-bg: var(--error3);
|
||||||
|
--button-danger-fg: var(--white1);
|
||||||
|
--button-danger-hover-bg: var(--error2);
|
||||||
|
--toot-bg: var(--gray3);
|
||||||
|
--toot-info-bg: var(--gray2);
|
||||||
|
--toot-focus-bg: var(--gray5);
|
||||||
|
--toot-focus-info-bg: var(--gray4);
|
||||||
|
--no-img-desc-bg: var(--orange1);
|
||||||
|
--no-img-desc-fg: var(--gray1);
|
||||||
|
--bg-sensitive: var(--gray1);
|
||||||
|
--boxshadow: 0 0.4rem 1rem -0.1rem rgba(0,0,0,0.15);
|
||||||
|
--boxshadow-border: 0.08rem solid var(--gray1);
|
||||||
|
--avatar-border: var(gray);
|
||||||
|
--input-bg: var(--gray4);
|
||||||
|
--input-disabled-bg: var(--gray2);
|
||||||
|
--input-border: var(--blue1);
|
||||||
|
--input-error-border: var(--error3);
|
||||||
|
--input-focus-border: var(--blue3);
|
||||||
|
--settings-nav-bg: var(--bg);
|
||||||
|
--settings-nav-header-fg: var(--orange2);
|
||||||
|
--settings-nav-bg-hover: var(--gray3);
|
||||||
|
--settings-nav-fg-hover: var(--fg);
|
||||||
|
--settings-nav-bg-active: var(--blue3);
|
||||||
|
--settings-nav-border-active: var(--info-bg);
|
||||||
|
--settings-nav-fg-active: var(--gray2);
|
||||||
|
--error-fg: var(--error1);
|
||||||
|
--error-bg: var(--error2);
|
||||||
|
--list-entry-bg: var(--gray2);
|
||||||
|
--list-entry-alternate-bg: var(--gray3);
|
||||||
|
--list-entry-hover-bg: var(--gray4);
|
||||||
|
--plyr-color-main: var(--orange2);
|
||||||
|
--plyr-video-background: var(--bg-accent);
|
||||||
|
--plyr-badge-background: var(--bg-accent);
|
||||||
|
--plyr-video-controls-background: var(--bg-accent);
|
||||||
|
--plyr-badge-text-color: var(--fg);
|
||||||
|
--plyr-badge-border-radius: var(--br);
|
||||||
|
--plyr-video-progress-buffered-background: var(--gray8)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
GoToSocial
|
||||||
|
Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
This stylesheets defines (color) variables to be used by other stylesheets on the page
|
||||||
|
postcss-custom-prop-vars will transpile these to css --variables
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Color definitions */
|
||||||
|
|
||||||
|
/* Foreground */
|
||||||
|
|
||||||
|
/* default text color, contrast >= 5.0 with all $grays */
|
||||||
|
|
||||||
|
/* less important text, can be used with $gray1 (6.8), $gray2 (5.5), $gray3 (4.9), $gray4 (4.5) */
|
||||||
|
|
||||||
|
/* Background shades, contrast >= 5.0 with $white1 (#fafaff) */
|
||||||
|
|
||||||
|
/* Used for non-text accent colors, can be used as background: $gray1 for text color (contrast 4.6)*/
|
||||||
|
|
||||||
|
/* hover/selected accent to $orange1, can be used with $gray1 (5.7), $gray2 (4.6) */
|
||||||
|
|
||||||
|
/* darker blue for smaller elements (borders), can only be used with $gray1 (4.7) */
|
||||||
|
|
||||||
|
/* all-round accent color, can be used with $gray1 (6.8), $gray2 (5.5), $gray3 (4.9), $gray4 (4.5) */
|
||||||
|
|
||||||
|
/* hover/selected accent to $blue2, can be used with $gray1 (7.9), $gray2 (6.3), $gray3 (5.6), $gray4 (5.2), $gray5 (4.7) */
|
||||||
|
|
||||||
|
/* Error border/foreground text, can be used with $error2 (5.0), $white1 (10), $white2 (5.1) */
|
||||||
|
|
||||||
|
/* Error background text, can be used with $error1 (5.0), $gray1 (6.6), $gray2 (5.3), $gray3 (4.8) */
|
||||||
|
|
||||||
|
/* Error button background text, can be used with $white1 (4.51) */
|
||||||
|
|
||||||
|
/* Error link text, can be used with $error2 (5.56) */
|
||||||
|
|
||||||
|
/* Green for positive/confirmation, similar contrast (luminance) as $blue2 */
|
||||||
|
|
||||||
|
/* Color variables as used in a specific location */
|
||||||
|
|
||||||
|
/* Plyr video player */
|
|
@ -0,0 +1,841 @@
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--br: 0.4rem;
|
||||||
|
--br-inner: 0.2rem;
|
||||||
|
--fa-fw: 1.28571429em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
GoToSocial
|
||||||
|
Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
||||||
|
|
||||||
|
/*
|
||||||
|
Document
|
||||||
|
========
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
Use a better box model (opinionated).
|
||||||
|
*/
|
||||||
|
|
||||||
|
*,
|
||||||
|
::before,
|
||||||
|
::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Use a more readable tab size (opinionated).
|
||||||
|
*/
|
||||||
|
|
||||||
|
html {
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
1. Correct the line height in all browsers.
|
||||||
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
||||||
|
*/
|
||||||
|
|
||||||
|
html {
|
||||||
|
line-height: 1.15; /* 1 */
|
||||||
|
-webkit-text-size-adjust: 100%; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Sections
|
||||||
|
========
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
Remove the margin in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family:
|
||||||
|
system-ui,
|
||||||
|
-apple-system, /* Firefox supports this but not yet `system-ui` */
|
||||||
|
'Segoe UI',
|
||||||
|
Roboto,
|
||||||
|
Helvetica,
|
||||||
|
Arial,
|
||||||
|
sans-serif,
|
||||||
|
'Apple Color Emoji',
|
||||||
|
'Segoe UI Emoji';
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Grouping content
|
||||||
|
================
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
1. Add the correct height in Firefox.
|
||||||
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
||||||
|
*/
|
||||||
|
|
||||||
|
hr {
|
||||||
|
height: 0; /* 1 */
|
||||||
|
color: inherit; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Text-level semantics
|
||||||
|
====================
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
abbr[title] {
|
||||||
|
-webkit-text-decoration: underline dotted;
|
||||||
|
text-decoration: underline dotted;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Add the correct font weight in Edge and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
||||||
|
2. Correct the odd 'em' font sizing in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp,
|
||||||
|
pre {
|
||||||
|
font-family:
|
||||||
|
ui-monospace,
|
||||||
|
SFMono-Regular,
|
||||||
|
Consolas,
|
||||||
|
'Liberation Mono',
|
||||||
|
Menlo,
|
||||||
|
monospace; /* 1 */
|
||||||
|
font-size: 1em; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Add the correct font size in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Tabular data
|
||||||
|
============
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
||||||
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
||||||
|
*/
|
||||||
|
|
||||||
|
table {
|
||||||
|
text-indent: 0; /* 1 */
|
||||||
|
border-color: inherit; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Forms
|
||||||
|
=====
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
1. Change the font styles in all browsers.
|
||||||
|
2. Remove the margin in Firefox and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
optgroup,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
font-family: inherit; /* 1 */
|
||||||
|
font-size: 100%; /* 1 */
|
||||||
|
line-height: 1.15; /* 1 */
|
||||||
|
margin: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Remove the inheritance of text transform in Edge and Firefox.
|
||||||
|
1. Remove the inheritance of text transform in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
select { /* 1 */
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Correct the inability to style clickable types in iOS and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
[type='button'],
|
||||||
|
[type='reset'],
|
||||||
|
[type='submit'] {
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Remove the inner border and padding in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
::-moz-focus-inner {
|
||||||
|
border-style: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Restore the focus styles unset by the previous rule.
|
||||||
|
*/
|
||||||
|
|
||||||
|
:-moz-focusring {
|
||||||
|
outline: 1px dotted ButtonText;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Remove the additional ':invalid' styles in Firefox.
|
||||||
|
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
|
||||||
|
*/
|
||||||
|
|
||||||
|
:-moz-ui-invalid {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
legend {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Add the correct vertical alignment in Chrome and Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
progress {
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Correct the cursor style of increment and decrement buttons in Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
::-webkit-inner-spin-button,
|
||||||
|
::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
1. Correct the odd appearance in Chrome and Safari.
|
||||||
|
2. Correct the outline style in Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type='search'] {
|
||||||
|
-webkit-appearance: textfield; /* 1 */
|
||||||
|
outline-offset: -2px; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Remove the inner padding in Chrome and Safari on macOS.
|
||||||
|
*/
|
||||||
|
|
||||||
|
::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
1. Correct the inability to style clickable types in iOS and Safari.
|
||||||
|
2. Change font properties to 'inherit' in Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
::-webkit-file-upload-button {
|
||||||
|
-webkit-appearance: button; /* 1 */
|
||||||
|
font: inherit; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Interactive
|
||||||
|
===========
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Add the correct display in Chrome and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
summary {
|
||||||
|
display: list-item;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* noto-sans-regular - latin */
|
||||||
|
|
||||||
|
/* standard border radius for nice squircles */
|
||||||
|
|
||||||
|
/* border radius for items that are framed/bordered
|
||||||
|
inside something with $br, eg avatar, header img */
|
||||||
|
|
||||||
|
/* Fork-Awesome 'fa-fw' fixed icon width
|
||||||
|
keep in sync with https://github.com/ForkAwesome/Fork-Awesome/blob/a99579ae3e735ee70e51ed62dfcee3172b5b2db7/css/fork-awesome.css#L50
|
||||||
|
*/
|
||||||
|
|
||||||
|
html, body {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--fg);
|
||||||
|
font-family: "Noto Sans", sans-serif;
|
||||||
|
scrollbar-color: var(--orange1) var(--gray3);
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
line-height: 1.5em;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
display: grid;
|
||||||
|
min-height: 100vh;
|
||||||
|
|
||||||
|
grid-template-columns: 1fr minmax(auto, 50rem) 1fr;
|
||||||
|
grid-template-columns: 1fr min(92%, 50rem) 1fr;
|
||||||
|
grid-template-rows: auto 1fr auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0;
|
||||||
|
line-height: 2.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--link-fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
header, footer {
|
||||||
|
grid-column: 1 / span 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
grid-column: 2;
|
||||||
|
align-self: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
header a {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin: 1.5rem;
|
||||||
|
gap: 1rem;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
header a img {
|
||||||
|
align-self: center;
|
||||||
|
height: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
header a h1 {
|
||||||
|
flex-grow: 1;
|
||||||
|
align-self: center;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
font-size: 1.5rem;
|
||||||
|
word-wrap: anywhere;
|
||||||
|
color: var(--fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.excerpt-top {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: normal;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.excerpt-top .count {
|
||||||
|
font-weight: bold;
|
||||||
|
color: var(--fg-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
main p:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
main p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button, button {
|
||||||
|
border-radius: 0.2rem;
|
||||||
|
color: var(--button-fg);
|
||||||
|
background: var(--button-bg);
|
||||||
|
box-shadow: var(--boxshadow);
|
||||||
|
border: var(--button-border);
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0.5rem;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: center;
|
||||||
|
font-family: 'Noto Sans', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.danger, button.danger {
|
||||||
|
color: var(--button-danger-fg);
|
||||||
|
background: var(--button-danger-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.danger:hover, button.danger:hover {
|
||||||
|
background: var(--button-danger-hover-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button:disabled, button:disabled {
|
||||||
|
color: var(--white2);
|
||||||
|
background: var(--gray2);
|
||||||
|
cursor: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button:disabled:hover, button:disabled:hover {
|
||||||
|
background: var(--gray3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button:hover, button:hover {
|
||||||
|
background: var(--button-hover-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nounderline {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accent {
|
||||||
|
color: var(--acc1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
justify-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo img {
|
||||||
|
height: 30vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps {
|
||||||
|
align-self: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps .applist {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
grid-gap: 0.5rem;
|
||||||
|
align-content: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps .applist .entry {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 25% 1fr;
|
||||||
|
gap: 1.5rem;
|
||||||
|
padding: 0.5rem;
|
||||||
|
background: var(--bg-accent);
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps .applist .entry .logo {
|
||||||
|
align-self: center;
|
||||||
|
width: 100%;
|
||||||
|
-o-object-fit: contain;
|
||||||
|
object-fit: contain;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps .applist .entry .logo.redraw {
|
||||||
|
fill: var(--fg);
|
||||||
|
stroke: var(--fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps .applist .entry a {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps .applist .entry div {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps .applist .entry div h3 {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.login form {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
|
|
||||||
|
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
padding-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.login form label, section.login form input {
|
||||||
|
padding-left: 0.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.login form .labelinput {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.login form .btn {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.error {
|
||||||
|
word-break: break-word;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.error pre {
|
||||||
|
border: 1px solid #ff000080;
|
||||||
|
padding: 0.5rem;
|
||||||
|
border-radius: 0.5em;
|
||||||
|
background-color: #ff000010;
|
||||||
|
font-size: 1.3em;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.oob-token code {
|
||||||
|
background: var(--gray1);
|
||||||
|
padding: 0.5rem;
|
||||||
|
margin: 0;
|
||||||
|
border-radius: 0.3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.error-text {
|
||||||
|
color: var(--error1);
|
||||||
|
background: var(--error2);
|
||||||
|
border-radius: 0.1rem;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
input, select, textarea, .input {
|
||||||
|
box-sizing: border-box;
|
||||||
|
border: 0.15rem solid var(--input-border);
|
||||||
|
border-radius: 0.1rem;
|
||||||
|
color: var(--fg);
|
||||||
|
background: var(--input-bg);
|
||||||
|
width: 100%;
|
||||||
|
font-family: 'Noto Sans', sans-serif;
|
||||||
|
font-size: 1rem;
|
||||||
|
padding: 0.3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:focus, input:active, select:focus, select:active, textarea:focus, textarea:active, .input:focus, .input:active {
|
||||||
|
border-color: var(--input-focus-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
input:invalid, .invalid input, select:invalid, .invalid select, textarea:invalid, .invalid textarea, .input:invalid, .invalid .input {
|
||||||
|
border-color: var(--input-error-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
input:disabled, select:disabled, textarea:disabled, .input:disabled {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-input-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: var(--fg-reduced)
|
||||||
|
}
|
||||||
|
|
||||||
|
::placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: var(--fg-reduced)
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
color: transparent;
|
||||||
|
width: 100%;
|
||||||
|
border-bottom: 0.02rem solid var(--border-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
align-self: end;
|
||||||
|
padding: 2rem 0 1rem 0;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer div {
|
||||||
|
text-align: center;
|
||||||
|
padding: 1rem;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer a {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
header {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer div {
|
||||||
|
text-align: initial;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.apps .applist {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.emoji {
|
||||||
|
width: 1.45em;
|
||||||
|
height: 1.45em;
|
||||||
|
margin: -0.2em 0.02em 0;
|
||||||
|
-o-object-fit: contain;
|
||||||
|
object-fit: contain;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.monospace {
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.callout {
|
||||||
|
margin: 1.5rem 0;
|
||||||
|
border: .05rem solid var(--border-accent);
|
||||||
|
border-radius: .2rem;
|
||||||
|
padding: 0 .6rem .6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.callout .callout-title {
|
||||||
|
margin: 0 -.6rem;
|
||||||
|
padding: .6rem;
|
||||||
|
font-weight: bold;
|
||||||
|
background-color: var(--border-accent);
|
||||||
|
color: var(--gray1);
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion) {
|
||||||
|
.fa-spin {
|
||||||
|
-webkit-animation: none;
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-cutoff {
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list .header, .list .entry {
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list .header {
|
||||||
|
border: 0.1rem solid transparent !important; /* for alignment with .entry border padding */
|
||||||
|
background: var(--gray1) !important;
|
||||||
|
display: flex;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list .entries {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list .entries.scrolling {
|
||||||
|
height: 20rem;
|
||||||
|
max-height: 20rem;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list input[type=checkbox] {
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list .entry {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
background: var(--list-entry-bg);
|
||||||
|
border: 0.1rem solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list .entry:nth-child(even) {
|
||||||
|
background: var(--list-entry-alternate-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.list .entry:hover {
|
||||||
|
background: var(--list-entry-hover-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.list .entry:active, .list .entry:focus, .list .entry:hover, .list .entry:target {
|
||||||
|
border-color: var(--fg-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.domain-blocklist {
|
||||||
|
box-shadow: var(--boxshadow);
|
||||||
|
}
|
||||||
|
|
||||||
|
.domain-blocklist .entry {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: max(30%, 10rem) 1fr;
|
||||||
|
gap: 0.5rem;
|
||||||
|
align-items: start;
|
||||||
|
border: var(--boxshadow-border);
|
||||||
|
border-top-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.domain-blocklist .entry > div {
|
||||||
|
display: flex;
|
||||||
|
align-items: center
|
||||||
|
}
|
||||||
|
|
||||||
|
.domain-blocklist .entry .domain a {
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
display: inline-block; /* so it wraps properly */
|
||||||
|
}
|
||||||
|
|
||||||
|
.domain-blocklist .entry .public_comment p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.domain-blocklist .header .domain {
|
||||||
|
color: var(--fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.about {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.about h2 {
|
||||||
|
margin: 0.5rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.about ul {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.account-card {
|
||||||
|
display: inline-grid;
|
||||||
|
grid-template-columns: auto 1fr;
|
||||||
|
grid-template-rows: auto auto;
|
||||||
|
text-decoration: none;
|
||||||
|
gap: 0.5rem 1rem;
|
||||||
|
border-radius: var(--br);
|
||||||
|
padding: 0.5rem;
|
||||||
|
min-width: 40%;
|
||||||
|
margin-bottom: 0.3rem;
|
||||||
|
|
||||||
|
background: var(--list-entry-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.account-card:hover {
|
||||||
|
background: var(--list-entry-alternate-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.account-card h3 {
|
||||||
|
align-self: end;
|
||||||
|
margin: 0;
|
||||||
|
color: var(--fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.account-card img.avatar {
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
width: 5rem;
|
||||||
|
height: 5rem;
|
||||||
|
-o-object-fit: cover;
|
||||||
|
object-fit: cover;
|
||||||
|
grid-row: 1 / span 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 30rem) {
|
||||||
|
.domain-blocklist .entry {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: 0;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,40 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
GoToSocial
|
||||||
|
Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
header a {
|
||||||
|
margin: 2rem;
|
||||||
|
gap: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
header a img {
|
||||||
|
height: 6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
header a h1 {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main section {
|
||||||
|
background: var(--bg-accent);
|
||||||
|
box-shadow: var(--boxshadow);
|
||||||
|
border: var(--boxshadow-border);
|
||||||
|
border-radius: var(--br);
|
||||||
|
padding: 2rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
|
@ -0,0 +1,285 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
GoToSocial
|
||||||
|
Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.page {
|
||||||
|
grid-template-columns: 1fr minmax(auto, 60rem) 1fr; /* fallback for lack of min() support */
|
||||||
|
grid-template-columns: 1fr min(92%, 65rem) 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile {
|
||||||
|
padding: 0.5rem;
|
||||||
|
border-radius: var(--br);
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .column-split {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header {
|
||||||
|
background: var(--profile-bg);
|
||||||
|
border-radius: var(--br);
|
||||||
|
overflow: hidden;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header .header-image {
|
||||||
|
position: relative;
|
||||||
|
padding-top: 33.33%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* aspect-ratio 1/3 */
|
||||||
|
|
||||||
|
.profile .header .header-image img {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
-o-object-fit: cover;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header {
|
||||||
|
--avatar-size: 8.5rem;
|
||||||
|
--name-size: 3rem;
|
||||||
|
--username-size: 2rem;
|
||||||
|
|
||||||
|
--overlap: calc(var(--avatar-size) - var(--name-size) - var(--username-size));
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Basic info container has the user's avatar, display- and username, and role
|
||||||
|
It's partially overlapped over the header image, by a negative margin-top
|
||||||
|
*/
|
||||||
|
|
||||||
|
.profile .header .basic-info {
|
||||||
|
position: relative;
|
||||||
|
display: grid;
|
||||||
|
box-sizing: border-box;
|
||||||
|
grid-template-columns: var(--avatar-size) auto 1fr;
|
||||||
|
grid-template-rows: var(--overlap) var(--name-size) auto;
|
||||||
|
grid-template-areas:
|
||||||
|
"avatar . ."
|
||||||
|
"avatar displayname displayname"
|
||||||
|
"avatar username role";
|
||||||
|
|
||||||
|
margin: 1rem;
|
||||||
|
margin-top: calc(-1 * var(--overlap));
|
||||||
|
gap: 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header .basic-info .avatar {
|
||||||
|
grid-area: avatar;
|
||||||
|
height: var(--avatar-size);
|
||||||
|
width: var(--avatar-size);
|
||||||
|
border: 0.2rem solid var(--avatar-border);
|
||||||
|
border-radius: var(--br);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* prevents image extending beyond rounded borders */
|
||||||
|
|
||||||
|
.profile .header .basic-info .avatar img {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
-o-object-fit: cover;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header .basic-info .displayname {
|
||||||
|
grid-area: displayname;
|
||||||
|
line-height: var(--name-size);
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header .basic-info .username {
|
||||||
|
min-width: 0;
|
||||||
|
grid-area: username;
|
||||||
|
line-height: var(--username-size);
|
||||||
|
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: bold;
|
||||||
|
color: var(--fg-accent);
|
||||||
|
-webkit-user-select: all;
|
||||||
|
user-select: all;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header .basic-info .role {
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--fg);
|
||||||
|
border: 0.13rem solid var(--bg);
|
||||||
|
|
||||||
|
grid-area: role;
|
||||||
|
align-self: center;
|
||||||
|
justify-self: start;
|
||||||
|
border-radius: var(--br);
|
||||||
|
padding: 0.3rem;
|
||||||
|
|
||||||
|
line-height: 1.1rem;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
font-variant: small-caps;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header .basic-info .role.admin {
|
||||||
|
color: var(--role-admin);
|
||||||
|
border-color: var(--role-admin);
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header .basic-info .role.moderator {
|
||||||
|
color: var(--role-mod);
|
||||||
|
border-color: var(--role-mod);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 750px) {
|
||||||
|
.profile .header .basic-info {
|
||||||
|
grid-template-columns: auto 1fr;
|
||||||
|
grid-template-rows: var(--avatar-size) var(--name-size) auto;
|
||||||
|
grid-template-areas:
|
||||||
|
"avatar avatar"
|
||||||
|
"displayname displayname"
|
||||||
|
"username role";
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .header .basic-info .displayname {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .col-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: start;
|
||||||
|
gap: 2rem;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
margin: 0;
|
||||||
|
background: var(--profile-bg);
|
||||||
|
border-top-left-radius: var(--br);
|
||||||
|
border-top-right-radius: var(--br);
|
||||||
|
padding: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .col-header h1, .profile .col-header h2 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
line-height: 1.3rem;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots {
|
||||||
|
flex: 65 25rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .col-header {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: auto 1fr;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .col-header a {
|
||||||
|
justify-self: end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .col-header .rss-icon {
|
||||||
|
display: block;
|
||||||
|
margin: -0.25rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .col-header .rss-icon .fa {
|
||||||
|
font-size: 2rem;
|
||||||
|
-o-object-fit: contain;
|
||||||
|
object-fit: contain;
|
||||||
|
vertical-align: middle;
|
||||||
|
color: var(--orange2);
|
||||||
|
/* can't size a single-color background, so we use a linear-gradient that's effectively white */
|
||||||
|
background: linear-gradient(to right, var(--white1) 100%, transparent 0) no-repeat center center;
|
||||||
|
background-size: 1.2rem 1.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .toot {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .toot .info {
|
||||||
|
padding: 0.3rem 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .toot:last-child {
|
||||||
|
border-bottom-left-radius: var(--br);
|
||||||
|
border-bottom-right-radius: var(--br);
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .backnextlinks {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .toots .backnextlinks .next {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .about-user {
|
||||||
|
flex: 35 14rem;
|
||||||
|
border-radius: var(--br);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .about-user .col-header {
|
||||||
|
margin-bottom: -0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .about-user .fields {
|
||||||
|
background: var(--profile-bg);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
padding-top: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .about-user .fields .field {
|
||||||
|
padding: 0.25rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
border-bottom: 0.1rem solid var(--gray2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .about-user .fields .field:first-child {
|
||||||
|
border-top: 0.1rem solid var(--gray2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .about-user .bio {
|
||||||
|
background: var(--profile-bg);
|
||||||
|
padding: 1rem 0.75rem;
|
||||||
|
padding-bottom: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .about-user .accountstats {
|
||||||
|
background: var(--bg-accent);
|
||||||
|
padding: 0.75rem;
|
||||||
|
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: auto 1fr;
|
||||||
|
gap: 0.25rem 1rem;
|
||||||
|
}
|
|
@ -0,0 +1,949 @@
|
||||||
|
|
||||||
|
@charset "UTF-8";
|
||||||
|
/*
|
||||||
|
GoToSocial
|
||||||
|
Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */
|
||||||
|
.pswp {
|
||||||
|
--pswp-bg: #000;
|
||||||
|
--pswp-placeholder-bg: #222;
|
||||||
|
|
||||||
|
|
||||||
|
--pswp-root-z-index: 100000;
|
||||||
|
|
||||||
|
--pswp-preloader-color: rgba(79, 79, 79, 0.4);
|
||||||
|
--pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
|
||||||
|
|
||||||
|
/* defined via js:
|
||||||
|
--pswp-transition-duration: 333ms; */
|
||||||
|
|
||||||
|
--pswp-icon-color: #fff;
|
||||||
|
--pswp-icon-color-secondary: #4f4f4f;
|
||||||
|
--pswp-icon-stroke-color: #4f4f4f;
|
||||||
|
--pswp-icon-stroke-width: 2px;
|
||||||
|
|
||||||
|
--pswp-error-text-color: var(--pswp-icon-color);
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
|
||||||
|
*/
|
||||||
|
.pswp {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: var(--pswp-root-z-index);
|
||||||
|
display: none;
|
||||||
|
touch-action: none;
|
||||||
|
outline: 0;
|
||||||
|
opacity: 0.003;
|
||||||
|
contain: layout style size;
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
/* Prevents focus outline on the root element,
|
||||||
|
(it may be focused initially) */
|
||||||
|
.pswp:focus {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
.pswp * {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.pswp img {
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
.pswp--open {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.pswp,
|
||||||
|
.pswp__bg {
|
||||||
|
-webkit-transform: translateZ(0);
|
||||||
|
transform: translateZ(0);
|
||||||
|
will-change: opacity;
|
||||||
|
}
|
||||||
|
.pswp__bg {
|
||||||
|
opacity: 0.005;
|
||||||
|
background: var(--pswp-bg);
|
||||||
|
}
|
||||||
|
.pswp,
|
||||||
|
.pswp__scroll-wrap {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.pswp__scroll-wrap,
|
||||||
|
.pswp__bg,
|
||||||
|
.pswp__container,
|
||||||
|
.pswp__item,
|
||||||
|
.pswp__content,
|
||||||
|
.pswp__img,
|
||||||
|
.pswp__zoom-wrap {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.pswp__img,
|
||||||
|
.pswp__zoom-wrap {
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
|
||||||
|
cursor: zoom-in;
|
||||||
|
}
|
||||||
|
.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
|
||||||
|
cursor: move;
|
||||||
|
cursor: grab;
|
||||||
|
}
|
||||||
|
.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
|
||||||
|
cursor: grabbing;
|
||||||
|
}
|
||||||
|
/* :active to override grabbing cursor */
|
||||||
|
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
|
||||||
|
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
|
||||||
|
.pswp__img {
|
||||||
|
cursor: zoom-out;
|
||||||
|
}
|
||||||
|
/* Prevent selection and tap highlights */
|
||||||
|
.pswp__container,
|
||||||
|
.pswp__img,
|
||||||
|
.pswp__button,
|
||||||
|
.pswp__counter {
|
||||||
|
-webkit-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.pswp__item {
|
||||||
|
/* z-index for fade transition */
|
||||||
|
z-index: 1;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.pswp__hidden {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
/* Allow to click through pswp__content element, but not its children */
|
||||||
|
.pswp__content {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.pswp__content > * {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
PhotoSwipe UI
|
||||||
|
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
Error message appears when image is not loaded
|
||||||
|
(JS option errorMsg controls markup)
|
||||||
|
*/
|
||||||
|
.pswp__error-msg-container {
|
||||||
|
display: grid;
|
||||||
|
}
|
||||||
|
.pswp__error-msg {
|
||||||
|
margin: auto;
|
||||||
|
font-size: 1em;
|
||||||
|
line-height: 1;
|
||||||
|
color: var(--pswp-error-text-color);
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
class pswp__hide-on-close is applied to elements that
|
||||||
|
should hide (for example fade out) when PhotoSwipe is closed
|
||||||
|
and show (for example fade in) when PhotoSwipe is opened
|
||||||
|
*/
|
||||||
|
.pswp .pswp__hide-on-close {
|
||||||
|
opacity: 0.005;
|
||||||
|
will-change: opacity;
|
||||||
|
transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
|
||||||
|
z-index: 10; /* always overlap slide content */
|
||||||
|
pointer-events: none; /* hidden elements should not be clickable */
|
||||||
|
}
|
||||||
|
/* class pswp--ui-visible is added when opening or closing transition starts */
|
||||||
|
.pswp--ui-visible .pswp__hide-on-close {
|
||||||
|
opacity: 1;
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
/* <button> styles, including css reset */
|
||||||
|
.pswp__button {
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
width: 50px;
|
||||||
|
height: 60px;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
cursor: pointer;
|
||||||
|
background: none;
|
||||||
|
border: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
opacity: 0.85;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
}
|
||||||
|
.pswp__button:hover,
|
||||||
|
.pswp__button:active,
|
||||||
|
.pswp__button:focus {
|
||||||
|
transition: none;
|
||||||
|
padding: 0;
|
||||||
|
background: none;
|
||||||
|
border: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.pswp__button:disabled {
|
||||||
|
opacity: 0.3;
|
||||||
|
cursor: auto;
|
||||||
|
}
|
||||||
|
.pswp__icn {
|
||||||
|
fill: var(--pswp-icon-color);
|
||||||
|
color: var(--pswp-icon-color-secondary);
|
||||||
|
}
|
||||||
|
.pswp__icn {
|
||||||
|
position: absolute;
|
||||||
|
top: 14px;
|
||||||
|
left: 9px;
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
overflow: hidden;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.pswp__icn-shadow {
|
||||||
|
stroke: var(--pswp-icon-stroke-color);
|
||||||
|
stroke-width: var(--pswp-icon-stroke-width);
|
||||||
|
fill: none;
|
||||||
|
}
|
||||||
|
.pswp__icn:focus {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
div element that matches size of large image,
|
||||||
|
large image loads on top of it,
|
||||||
|
used when msrc is not provided
|
||||||
|
*/
|
||||||
|
div.pswp__img--placeholder,
|
||||||
|
.pswp__img--with-bg {
|
||||||
|
background: var(--pswp-placeholder-bg);
|
||||||
|
}
|
||||||
|
.pswp__top-bar {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 60px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: flex-end;
|
||||||
|
z-index: 10;
|
||||||
|
|
||||||
|
/* allow events to pass through top bar itself */
|
||||||
|
pointer-events: none !important;
|
||||||
|
}
|
||||||
|
.pswp__top-bar > * {
|
||||||
|
pointer-events: auto;
|
||||||
|
/* this makes transition significantly more smooth,
|
||||||
|
even though inner elements are not animated */
|
||||||
|
will-change: opacity;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
Close button
|
||||||
|
|
||||||
|
*/
|
||||||
|
.pswp__button--close {
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
Arrow buttons
|
||||||
|
|
||||||
|
*/
|
||||||
|
.pswp__button--arrow {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 75px;
|
||||||
|
height: 100px;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -50px;
|
||||||
|
}
|
||||||
|
.pswp__button--arrow:disabled {
|
||||||
|
display: none;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.pswp__button--arrow .pswp__icn {
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -30px;
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
background: none;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
.pswp--one-slide .pswp__button--arrow {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
/* hide arrows on touch screens */
|
||||||
|
.pswp--touch .pswp__button--arrow {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
/* show arrows only after mouse was used */
|
||||||
|
.pswp--has_mouse .pswp__button--arrow {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
.pswp__button--arrow--prev {
|
||||||
|
right: auto;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
.pswp__button--arrow--next {
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
.pswp__button--arrow--next .pswp__icn {
|
||||||
|
left: auto;
|
||||||
|
right: 14px;
|
||||||
|
/* flip horizontally */
|
||||||
|
-webkit-transform: scale(-1, 1);
|
||||||
|
transform: scale(-1, 1);
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
Zoom button
|
||||||
|
|
||||||
|
*/
|
||||||
|
.pswp__button--zoom {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.pswp--zoom-allowed .pswp__button--zoom {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
/* "+" => "-" */
|
||||||
|
.pswp--zoomed-in .pswp__zoom-icn-bar-v {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
Loading indicator
|
||||||
|
|
||||||
|
*/
|
||||||
|
.pswp__preloader {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 50px;
|
||||||
|
height: 60px;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.pswp__preloader .pswp__icn {
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.2s linear;
|
||||||
|
-webkit-animation: pswp-clockwise 600ms linear infinite;
|
||||||
|
animation: pswp-clockwise 600ms linear infinite;
|
||||||
|
}
|
||||||
|
.pswp__preloader--active .pswp__icn {
|
||||||
|
opacity: 0.85;
|
||||||
|
}
|
||||||
|
@-webkit-keyframes pswp-clockwise {
|
||||||
|
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
|
||||||
|
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
@keyframes pswp-clockwise {
|
||||||
|
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
|
||||||
|
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
"1 of 10" counter
|
||||||
|
|
||||||
|
*/
|
||||||
|
.pswp__counter {
|
||||||
|
height: 30px;
|
||||||
|
margin-top: 15px;
|
||||||
|
-webkit-margin-start: 20px;
|
||||||
|
margin-inline-start: 20px;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 30px;
|
||||||
|
color: var(--pswp-icon-color);
|
||||||
|
text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
|
||||||
|
opacity: 0.85;
|
||||||
|
}
|
||||||
|
.pswp--one-slide .pswp__counter {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.pswp__dynamic-caption {
|
||||||
|
color: #fff;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
transition: opacity 120ms linear !important; /* override default */
|
||||||
|
}
|
||||||
|
.pswp-caption-content {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.pswp__dynamic-caption a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.pswp__dynamic-caption--faded {
|
||||||
|
opacity: 0 !important;
|
||||||
|
}
|
||||||
|
.pswp__dynamic-caption--aside {
|
||||||
|
width: auto;
|
||||||
|
max-width: 300px;
|
||||||
|
padding: 20px 15px 20px 20px;
|
||||||
|
margin-top: 70px;
|
||||||
|
}
|
||||||
|
.pswp__dynamic-caption--below {
|
||||||
|
width: auto;
|
||||||
|
max-width: 700px;
|
||||||
|
padding: 15px 0 0;
|
||||||
|
}
|
||||||
|
.pswp__dynamic-caption--on-hor-edge {
|
||||||
|
padding-left: 15px;
|
||||||
|
padding-right: 15px;
|
||||||
|
}
|
||||||
|
.pswp__dynamic-caption--mobile {
|
||||||
|
width: 100%;
|
||||||
|
background: rgba(0,0,0,0.5);
|
||||||
|
padding: 10px 15px;
|
||||||
|
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
|
||||||
|
/* override styles that were set via JS.
|
||||||
|
as they interfere with size measurement */
|
||||||
|
top: auto !important;
|
||||||
|
left: 0 !important;
|
||||||
|
}
|
||||||
|
@-webkit-keyframes plyr-progress{to{background-position:25px 0;background-position:var(--plyr-progress-loading-size,25px) 0}}
|
||||||
|
@keyframes plyr-progress{to{background-position:25px 0;background-position:var(--plyr-progress-loading-size,25px) 0}}
|
||||||
|
@-webkit-keyframes plyr-popup{0%{opacity:.5;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}
|
||||||
|
@keyframes plyr-popup{0%{opacity:.5;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}
|
||||||
|
@-webkit-keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}
|
||||||
|
@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}
|
||||||
|
.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:inherit;font-family:var(--plyr-font-family,inherit);font-variant-numeric:tabular-nums;font-weight:400;font-weight:var(--plyr-font-weight-regular,400);line-height:1.7;line-height:var(--plyr-line-height,1.7);max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow .3s ease;z-index:0}
|
||||||
|
.plyr audio,.plyr iframe,.plyr video{display:block;height:100%;width:100%}
|
||||||
|
.plyr button{font:inherit;line-height:inherit;width:auto}
|
||||||
|
.plyr:focus{outline:0}
|
||||||
|
.plyr--full-ui{box-sizing:border-box}
|
||||||
|
.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}
|
||||||
|
.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}
|
||||||
|
.plyr__badge{background:#4a5464;background:var(--plyr-badge-background,#4a5464);border-radius:2px;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:9px;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:3px 4px}
|
||||||
|
.plyr--full-ui ::-webkit-media-text-track-container{display:none}
|
||||||
|
.plyr__captions{-webkit-animation:plyr-fade-in .3s ease;animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:13px;font-size:var(--plyr-font-size-small,13px);left:0;padding:10px;padding:var(--plyr-control-spacing,10px);position:absolute;text-align:center;transition:-webkit-transform .4s ease-in-out;transition:transform .4s ease-in-out;transition:transform .4s ease-in-out, -webkit-transform .4s ease-in-out;width:100%}
|
||||||
|
.plyr__captions span:empty{display:none}
|
||||||
|
@media (min-width:480px){.plyr__captions{font-size:15px;font-size:var(--plyr-font-size-base,15px);padding:20px;padding:calc(var(--plyr-control-spacing, 10px)*2)}}
|
||||||
|
@media (min-width:768px){.plyr__captions{font-size:18px;font-size:var(--plyr-font-size-large,18px)}}
|
||||||
|
.plyr--captions-active .plyr__captions{display:block}
|
||||||
|
.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{-webkit-transform:translateY(-40px);transform:translateY(-40px);-webkit-transform:translateY(calc(var(--plyr-control-spacing, 10px)*-4));transform:translateY(calc(var(--plyr-control-spacing, 10px)*-4))}
|
||||||
|
.plyr__caption{background:#000c;background:var(--plyr-captions-background,#000c);border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#fff;color:var(--plyr-captions-text-color,#fff);line-height:185%;padding:.2em .5em;white-space:pre-wrap}
|
||||||
|
.plyr__caption div{display:inline}
|
||||||
|
.plyr__control{background:#0000;border:0;border-radius:4px;border-radius:var(--plyr-control-radius,4px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7);position:relative;transition:all .3s ease}
|
||||||
|
.plyr__control svg{fill:currentColor;display:block;height:18px;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:18px;width:var(--plyr-control-icon-size,18px)}
|
||||||
|
.plyr__control:focus{outline:0}
|
||||||
|
.plyr__control:focus-visible{outline:2px dashed #00b2ff;outline:2px dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:2px}
|
||||||
|
a.plyr__control{text-decoration:none}
|
||||||
|
.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}
|
||||||
|
.plyr--full-ui ::-webkit-media-controls{display:none}
|
||||||
|
.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}
|
||||||
|
.plyr__controls .plyr__progress__container{flex:1;min-width:0}
|
||||||
|
.plyr__controls .plyr__controls__item{margin-left:2.5px;margin-left:calc(var(--plyr-control-spacing, 10px)/4)}
|
||||||
|
.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}
|
||||||
|
.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:2.5px;padding-left:calc(var(--plyr-control-spacing, 10px)/4)}
|
||||||
|
.plyr__controls .plyr__controls__item.plyr__time{padding:0 5px;padding:0 calc(var(--plyr-control-spacing, 10px)/2)}
|
||||||
|
.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time,.plyr__controls .plyr__controls__item.plyr__time:first-child{padding-left:0}
|
||||||
|
.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip],.plyr__controls:empty{display:none}
|
||||||
|
.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}
|
||||||
|
.plyr__menu{display:flex;position:relative}
|
||||||
|
.plyr__menu .plyr__control svg{transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease, -webkit-transform .3s ease}
|
||||||
|
.plyr__menu .plyr__control[aria-expanded=true] svg{-webkit-transform:rotate(90deg);transform:rotate(90deg)}
|
||||||
|
.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}
|
||||||
|
.plyr__menu__container{-webkit-animation:plyr-popup .2s ease;animation:plyr-popup .2s ease;background:#ffffffe6;background:var(--plyr-menu-background,#ffffffe6);border-radius:8px;border-radius:var(--plyr-menu-radius,8px);bottom:100%;box-shadow:0 1px 2px #00000026;box-shadow:var(--plyr-menu-shadow,0 1px 2px #00000026);color:#4a5464;color:var(--plyr-menu-color,#4a5464);font-size:15px;font-size:var(--plyr-font-size-base,15px);margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}
|
||||||
|
.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}
|
||||||
|
.plyr__menu__container:after{border:4px solid #0000;border-top-color:#ffffffe6;border:var(--plyr-menu-arrow-size,4px) solid #0000;border-top-color:var(--plyr-menu-background,#ffffffe6);content:"";height:0;position:absolute;right:14px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7 - var(--plyr-menu-arrow-size, 4px)/2);top:100%;width:0}
|
||||||
|
.plyr__menu__container [role=menu]{padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7)}
|
||||||
|
.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}
|
||||||
|
.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}
|
||||||
|
.plyr__menu__container .plyr__control{align-items:center;color:#4a5464;color:var(--plyr-menu-color,#4a5464);display:flex;font-size:13px;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding:4.66667px 10.5px;padding:calc(var(--plyr-control-spacing, 10px)*.7/1.5) calc(var(--plyr-control-spacing, 10px)*.7*1.5);-webkit-user-select:none;user-select:none;width:100%}
|
||||||
|
.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}
|
||||||
|
.plyr__menu__container .plyr__control:after{border:4px solid #0000;border:var(--plyr-menu-item-arrow-size,4px) solid #0000;content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}
|
||||||
|
.plyr__menu__container .plyr__control--forward{padding-right:28px;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}
|
||||||
|
.plyr__menu__container .plyr__control--forward:after{border-left-color:#728197;border-left-color:var(--plyr-menu-arrow-color,#728197);right:6.5px;right:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}
|
||||||
|
.plyr__menu__container .plyr__control--forward:focus-visible:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:initial}
|
||||||
|
.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:7px;margin:calc(var(--plyr-control-spacing, 10px)*.7);margin-bottom:3.5px;margin-bottom:calc(var(--plyr-control-spacing, 10px)*.7/2);padding-left:28px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4);position:relative;width:calc(100% - 14px);width:calc(100% - var(--plyr-control-spacing, 10px)*.7*2)}
|
||||||
|
.plyr__menu__container .plyr__control--back:after{border-right-color:#728197;border-right-color:var(--plyr-menu-arrow-color,#728197);left:6.5px;left:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}
|
||||||
|
.plyr__menu__container .plyr__control--back:before{background:#dcdfe5;background:var(--plyr-menu-back-border-color,#dcdfe5);box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 var(--plyr-menu-back-border-shadow-color,#fff);content:"";height:1px;left:0;margin-top:3.5px;margin-top:calc(var(--plyr-control-spacing, 10px)*.7/2);overflow:hidden;position:absolute;right:0;top:100%}
|
||||||
|
.plyr__menu__container .plyr__control--back:focus-visible:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:initial}
|
||||||
|
.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7)}
|
||||||
|
.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}
|
||||||
|
.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:#0000001a;content:"";display:block;flex-shrink:0;height:16px;margin-right:10px;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:16px}
|
||||||
|
.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;-webkit-transform:translateY(-50%) scale(0);transform:translateY(-50%) scale(0);transition:opacity .3s ease,-webkit-transform .3s ease;transition:transform .3s ease,opacity .3s ease;transition:transform .3s ease,opacity .3s ease,-webkit-transform .3s ease;width:6px}
|
||||||
|
.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#00b2ff;background:var(--plyr-control-toggle-checked-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)))}
|
||||||
|
.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;-webkit-transform:translateY(-50%) scale(1);transform:translateY(-50%) scale(1)}
|
||||||
|
.plyr__menu__container .plyr__control[role=menuitemradio]:focus-visible:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:#23282f1a}
|
||||||
|
.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:-5px;margin-right:calc(var(--plyr-control-spacing, 10px)*.7*-1 - -2px);overflow:hidden;padding-left:24.5px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*3.5);pointer-events:none}
|
||||||
|
.plyr--full-ui input[type=range]{-webkit-appearance:none;appearance:none;background:#0000;border:0;border-radius:26px;border-radius:calc(var(--plyr-range-thumb-height, 13px)*2);color:#00b2ff;color:var(--plyr-range-fill-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));display:block;height:19px;height:calc(var(--plyr-range-thumb-active-shadow-width, 3px)*2 + var(--plyr-range-thumb-height, 13px));margin:0;min-width:0;padding:0;transition:box-shadow .3s ease;width:100%}
|
||||||
|
.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:#0000;background-image:linear-gradient(90deg,currentColor 0,#0000 0);background-image:linear-gradient(to right,currentColor var(--value,0),#0000 var(--value,0));border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-webkit-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none}
|
||||||
|
.plyr--full-ui input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:-4px;margin-top:calc((var(--plyr-range-thumb-height, 13px) - var(--plyr-range-track-height, 5px))/2*-1);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}
|
||||||
|
.plyr--full-ui input[type=range]::-moz-range-track{background:#0000;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-moz-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}
|
||||||
|
.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}
|
||||||
|
.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px)}
|
||||||
|
.plyr--full-ui input[type=range]::-ms-track{color:#0000}
|
||||||
|
.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:#0000;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}
|
||||||
|
.plyr--full-ui input[type=range]::-ms-fill-lower{background:#0000;background:currentColor;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}
|
||||||
|
.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:0;position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}
|
||||||
|
.plyr--full-ui input[type=range]::-ms-tooltip{display:none}
|
||||||
|
.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}
|
||||||
|
.plyr--full-ui input[type=range]:focus{outline:0}
|
||||||
|
.plyr--full-ui input[type=range]:focus-visible::-webkit-slider-runnable-track{outline:2px dashed #00b2ff;outline:2px dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:2px}
|
||||||
|
.plyr--full-ui input[type=range]:focus-visible::-moz-range-track{outline:2px dashed #00b2ff;outline:2px dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:2px}
|
||||||
|
.plyr--full-ui input[type=range]:focus-visible::-ms-track{outline:2px dashed #00b2ff;outline:2px dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:2px}
|
||||||
|
.plyr__poster{background-color:#000;background-color:var(--plyr-video-background,var(--plyr-video-background,#000));background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}
|
||||||
|
.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}
|
||||||
|
.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster{display:none}
|
||||||
|
.plyr__time{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}
|
||||||
|
.plyr__time+.plyr__time:before{content:"⁄";margin-right:10px;margin-right:var(--plyr-control-spacing,10px)}
|
||||||
|
@media (max-width:767px){.plyr__time+.plyr__time{display:none}}
|
||||||
|
.plyr__tooltip{background:#fff;background:var(--plyr-tooltip-background,#fff);border-radius:5px;border-radius:var(--plyr-tooltip-radius,5px);bottom:100%;box-shadow:0 1px 2px #00000026;box-shadow:var(--plyr-tooltip-shadow,0 1px 2px #00000026);color:#4a5464;color:var(--plyr-tooltip-color,#4a5464);font-size:13px;font-size:var(--plyr-font-size-small,13px);font-weight:400;font-weight:var(--plyr-font-weight-regular,400);left:50%;line-height:1.3;margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:5px 7.5px;padding:calc(var(--plyr-control-spacing, 10px)/2) calc(var(--plyr-control-spacing, 10px)/2*1.5);pointer-events:none;position:absolute;-webkit-transform:translate(-50%,10px) scale(.8);transform:translate(-50%,10px) scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;transition:opacity .2s ease .1s,-webkit-transform .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s,-webkit-transform .2s ease .1s;white-space:nowrap;z-index:2}
|
||||||
|
.plyr__tooltip:before{border-left:4px solid #0000;border-left:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-right:4px solid #0000;border-right:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-top:4px solid #fff;border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,#fff);bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:0;z-index:2}
|
||||||
|
.plyr .plyr__control:focus-visible .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;-webkit-transform:translate(-50%) scale(1);transform:translate(-50%) scale(1)}
|
||||||
|
.plyr .plyr__control:hover .plyr__tooltip{z-index:3}
|
||||||
|
.plyr__controls>.plyr__control:first-child .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip{left:0;-webkit-transform:translateY(10px) scale(.8);transform:translateY(10px) scale(.8);-webkit-transform-origin:0 100%;transform-origin:0 100%}
|
||||||
|
.plyr__controls>.plyr__control:first-child .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before{left:16px;left:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7)}
|
||||||
|
.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;-webkit-transform:translateY(10px) scale(.8);transform:translateY(10px) scale(.8);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}
|
||||||
|
.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7);-webkit-transform:translateX(50%);transform:translateX(50%)}
|
||||||
|
.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{-webkit-transform:translate(0) scale(1);transform:translate(0) scale(1)}
|
||||||
|
.plyr__progress{left:6.5px;left:calc(var(--plyr-range-thumb-height, 13px)*.5);margin-right:13px;margin-right:var(--plyr-range-thumb-height,13px);position:relative}
|
||||||
|
.plyr__progress input[type=range],.plyr__progress__buffer{margin-left:-6.5px;margin-left:calc(var(--plyr-range-thumb-height, 13px)*-.5);margin-right:-6.5px;margin-right:calc(var(--plyr-range-thumb-height, 13px)*-.5);width:calc(100% + 13px);width:calc(100% + var(--plyr-range-thumb-height, 13px))}
|
||||||
|
.plyr__progress input[type=range]{position:relative;z-index:2}
|
||||||
|
.plyr__progress .plyr__tooltip{left:0;max-width:120px;overflow-wrap:break-word}
|
||||||
|
.plyr__progress__buffer{-webkit-appearance:none;background:#0000;border:0;border-radius:100px;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin-top:-2.5px;margin-top:calc((var(--plyr-range-track-height, 5px)/2)*-1);padding:0;position:absolute;top:50%}
|
||||||
|
.plyr__progress__buffer::-webkit-progress-bar{background:#0000}
|
||||||
|
.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-webkit-transition:width .2s ease;transition:width .2s ease}
|
||||||
|
.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}
|
||||||
|
.plyr__progress__buffer::-ms-fill{border-radius:100px;-ms-transition:width .2s ease;transition:width .2s ease}
|
||||||
|
.plyr--loading .plyr__progress__buffer{-webkit-animation:plyr-progress 1s linear infinite;animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,#23282f99 25%,#0000 0,#0000 50%,#23282f99 0,#23282f99 75%,#0000 0,#0000);background-image:linear-gradient(-45deg,var(--plyr-progress-loading-background,#23282f99) 25%,#0000 25%,#0000 50%,var(--plyr-progress-loading-background,#23282f99) 50%,var(--plyr-progress-loading-background,#23282f99) 75%,#0000 75%,#0000);background-repeat:repeat-x;background-size:25px 25px;background-size:var(--plyr-progress-loading-size,25px) var(--plyr-progress-loading-size,25px);color:#0000}
|
||||||
|
.plyr--video.plyr--loading .plyr__progress__buffer{background-color:#ffffff40;background-color:var(--plyr-video-progress-buffered-background,#ffffff40)}
|
||||||
|
.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:#c1c8d199;background-color:var(--plyr-audio-progress-buffered-background,#c1c8d199)}
|
||||||
|
.plyr__progress__marker{background-color:#fff;background-color:var(--plyr-progress-marker-background,#fff);border-radius:1px;height:5px;height:var(--plyr-range-track-height,5px);position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:3px;width:var(--plyr-progress-marker-width,3px);z-index:3}
|
||||||
|
.plyr__volume{align-items:center;display:flex;position:relative}
|
||||||
|
.plyr__volume input[type=range]{margin-left:5px;margin-left:calc(var(--plyr-control-spacing, 10px)/2);margin-right:5px;margin-right:calc(var(--plyr-control-spacing, 10px)/2);max-width:90px;min-width:60px;position:relative;z-index:2}
|
||||||
|
.plyr--audio{display:block}
|
||||||
|
.plyr--audio .plyr__controls{background:#fff;background:var(--plyr-audio-controls-background,#fff);border-radius:inherit;color:#4a5464;color:var(--plyr-audio-control-color,#4a5464);padding:10px;padding:var(--plyr-control-spacing,10px)}
|
||||||
|
.plyr--audio .plyr__control:focus-visible,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-audio-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-audio-control-color-hover,#fff)}
|
||||||
|
.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:#c1c8d199;background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}
|
||||||
|
.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:#c1c8d199;background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}
|
||||||
|
.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:#c1c8d199;background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}
|
||||||
|
.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #23282f1a;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}
|
||||||
|
.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #23282f1a;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}
|
||||||
|
.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #23282f1a;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}
|
||||||
|
.plyr--audio .plyr__progress__buffer{color:#c1c8d199;color:var(--plyr-audio-progress-buffered-background,#c1c8d199)}
|
||||||
|
.plyr--video{overflow:hidden}
|
||||||
|
.plyr--video.plyr--menu-open{overflow:visible}
|
||||||
|
.plyr__video-wrapper{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));border-radius:inherit;height:100%;margin:auto;overflow:hidden;position:relative;width:100%}
|
||||||
|
.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{aspect-ratio:16/9}
|
||||||
|
@supports not (aspect-ratio:16/9){.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%;position:relative}}
|
||||||
|
.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;height:100%;left:0;position:absolute;top:0;width:100%}
|
||||||
|
.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;-webkit-transform:translateY(-38.28125%);transform:translateY(-38.28125%)}
|
||||||
|
.plyr--video .plyr__controls{background:linear-gradient(#0000,#000000bf);background:var(--plyr-video-controls-background,linear-gradient(#0000,#000000bf));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;color:var(--plyr-video-control-color,#fff);left:0;padding:5px;padding:calc(var(--plyr-control-spacing, 10px)/2);padding-top:20px;padding-top:calc(var(--plyr-control-spacing, 10px)*2);position:absolute;right:0;transition:opacity .4s ease-in-out,-webkit-transform .4s ease-in-out;transition:opacity .4s ease-in-out,transform .4s ease-in-out;transition:opacity .4s ease-in-out,transform .4s ease-in-out,-webkit-transform .4s ease-in-out;z-index:3}
|
||||||
|
@media (min-width:480px){.plyr--video .plyr__controls{padding:10px;padding:var(--plyr-control-spacing,10px);padding-top:35px;padding-top:calc(var(--plyr-control-spacing, 10px)*3.5)}}
|
||||||
|
.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;-webkit-transform:translateY(100%);transform:translateY(100%)}
|
||||||
|
.plyr--video .plyr__control:focus-visible,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-video-control-color-hover,#fff)}
|
||||||
|
.plyr__control--overlaid{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));border:0;border-radius:100%;color:#fff;color:var(--plyr-video-control-color,#fff);display:none;left:50%;opacity:.9;padding:15px;padding:calc(var(--plyr-control-spacing, 10px)*1.5);position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);transition:.3s;z-index:2}
|
||||||
|
.plyr__control--overlaid svg{left:2px;position:relative}
|
||||||
|
.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{opacity:1}
|
||||||
|
.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}
|
||||||
|
.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}
|
||||||
|
.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:#ffffff40;background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}
|
||||||
|
.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:#ffffff40;background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}
|
||||||
|
.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:#ffffff40;background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}
|
||||||
|
.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #ffffff80;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}
|
||||||
|
.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #ffffff80;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}
|
||||||
|
.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #ffffff80;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}
|
||||||
|
.plyr--video .plyr__progress__buffer{color:#ffffff40;color:var(--plyr-video-progress-buffered-background,#ffffff40)}
|
||||||
|
.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}
|
||||||
|
.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}
|
||||||
|
.plyr:-webkit-full-screen video{height:100%}
|
||||||
|
.plyr:fullscreen video{height:100%}
|
||||||
|
.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}
|
||||||
|
.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}
|
||||||
|
.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}
|
||||||
|
.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}
|
||||||
|
.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}
|
||||||
|
.plyr:fullscreen.plyr--hide-controls{cursor:none}
|
||||||
|
@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}.plyr:fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}
|
||||||
|
.plyr--fullscreen-fallback{background:#000;border-radius:0!important;bottom:0;height:100%;left:0;margin:0;position:fixed;right:0;top:0;width:100%;z-index:10000000}
|
||||||
|
.plyr--fullscreen-fallback video{height:100%}
|
||||||
|
.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}
|
||||||
|
.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}
|
||||||
|
.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}
|
||||||
|
@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}
|
||||||
|
.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}
|
||||||
|
.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}
|
||||||
|
.plyr__ads:after{background:#23282f;border-radius:2px;bottom:10px;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;right:var(--plyr-control-spacing,10px);z-index:3}
|
||||||
|
.plyr__ads:empty:after{display:none}
|
||||||
|
.plyr__cues{background:currentColor;display:block;height:5px;height:var(--plyr-range-track-height,5px);left:0;opacity:.8;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:3px;z-index:3}
|
||||||
|
.plyr__preview-thumb{background-color:#fff;background-color:var(--plyr-tooltip-background,#fff);border-radius:8px;border-radius:var(--plyr-menu-radius,8px);bottom:100%;box-shadow:0 1px 2px #00000026;box-shadow:var(--plyr-tooltip-shadow,0 1px 2px #00000026);margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:3px;pointer-events:none;position:absolute;-webkit-transform:translateY(10px) scale(.8);transform:translateY(10px) scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;transition:opacity .2s ease .1s,-webkit-transform .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s,-webkit-transform .2s ease .1s;z-index:2}
|
||||||
|
.plyr__preview-thumb--is-shown{opacity:1;-webkit-transform:translate(0) scale(1);transform:translate(0) scale(1)}
|
||||||
|
.plyr__preview-thumb:before{border-left:4px solid #0000;border-left:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-right:4px solid #0000;border-right:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-top:4px solid #fff;border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,#fff);bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:calc(50% + var(--preview-arrow-offset));position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:0;z-index:2}
|
||||||
|
.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:7px;border-radius:calc(var(--plyr-menu-radius, 8px) - 1px);overflow:hidden;position:relative;z-index:0}
|
||||||
|
.plyr__preview-thumb__image-container img,.plyr__preview-thumb__image-container:after{height:100%;left:0;position:absolute;top:0;width:100%}
|
||||||
|
.plyr__preview-thumb__image-container:after{border-radius:inherit;box-shadow:inset 0 0 0 1px #00000026;content:"";pointer-events:none}
|
||||||
|
.plyr__preview-thumb__image-container img{max-height:none;max-width:none}
|
||||||
|
.plyr__preview-thumb__time-container{background:linear-gradient(#0000,#000000bf);background:var(--plyr-video-controls-background,linear-gradient(#0000,#000000bf));border-bottom-left-radius:7px;border-bottom-left-radius:calc(var(--plyr-menu-radius, 8px) - 1px);border-bottom-right-radius:7px;border-bottom-right-radius:calc(var(--plyr-menu-radius, 8px) - 1px);bottom:0;left:0;line-height:1.1;padding:20px 6px 6px;position:absolute;right:0;z-index:3}
|
||||||
|
.plyr__preview-thumb__time-container span{color:#fff;font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}
|
||||||
|
.plyr__preview-scrubbing{bottom:0;-webkit-filter:blur(1px);filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}
|
||||||
|
.plyr__preview-scrubbing--is-shown{opacity:1}
|
||||||
|
.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;-o-object-fit:contain;object-fit:contain;position:absolute;top:0;width:100%}
|
||||||
|
.plyr--no-transition{transition:none!important}
|
||||||
|
.plyr__sr-only{clip:rect(1px,1px,1px,1px);border:0!important;height:1px!important;overflow:hidden;padding:0!important;position:absolute!important;width:1px!important}
|
||||||
|
.plyr [hidden]{display:none!important}
|
||||||
|
main {
|
||||||
|
background: transparent;
|
||||||
|
grid-auto-rows: auto;
|
||||||
|
}
|
||||||
|
.thread {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
border-radius: var(--br);
|
||||||
|
}
|
||||||
|
.toot {
|
||||||
|
background: var(--toot-bg);
|
||||||
|
box-shadow: var(--boxshadow);
|
||||||
|
border: var(--boxshadow-border);
|
||||||
|
border-radius: var(--br);
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: var(--br);
|
||||||
|
padding-top: 0.75rem;
|
||||||
|
}
|
||||||
|
.toot a {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.toot .author > a {
|
||||||
|
padding: 0 0.75rem;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 3.5rem 1fr auto;
|
||||||
|
grid-template-rows: auto auto;
|
||||||
|
grid-template-areas:
|
||||||
|
"avatar display date"
|
||||||
|
"avatar user .";
|
||||||
|
gap: 0 0.5rem;
|
||||||
|
}
|
||||||
|
.toot .author > a .avatar {
|
||||||
|
grid-area: avatar;
|
||||||
|
height: 3.5rem;
|
||||||
|
width: 3.5rem;
|
||||||
|
-o-object-fit: cover;
|
||||||
|
object-fit: cover;
|
||||||
|
|
||||||
|
border: 0.15rem solid var(--avatar-border);
|
||||||
|
border-radius: var(--br);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
/* hides corners from img overflowing */
|
||||||
|
.toot .author > a .avatar img {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
-o-object-fit: cover;
|
||||||
|
object-fit: cover;
|
||||||
|
background: var(--bg);
|
||||||
|
}
|
||||||
|
.toot .author > a .displayname, .toot .author > a .username {
|
||||||
|
justify-self: start;
|
||||||
|
align-self: start;
|
||||||
|
|
||||||
|
max-width: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
.toot .author > a .displayname {
|
||||||
|
grid-area: display;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1rem;
|
||||||
|
line-height: 1.3rem;
|
||||||
|
/* margin-top: -0.5rem; */
|
||||||
|
}
|
||||||
|
.toot .author > a .username {
|
||||||
|
grid-area: user;
|
||||||
|
color: var(--link-fg);
|
||||||
|
font-size: 1rem;
|
||||||
|
line-height: 1.3rem;
|
||||||
|
}
|
||||||
|
.toot .author > a .timestamp {
|
||||||
|
grid-area: date;
|
||||||
|
color: var(--fg-reduced);
|
||||||
|
}
|
||||||
|
.toot .body {
|
||||||
|
padding: 0.5rem 0.75rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
.toot details > summary {
|
||||||
|
display: inline-block;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
.toot details > summary::-webkit-details-marker {
|
||||||
|
display: none; /* Safari */
|
||||||
|
}
|
||||||
|
.toot details > summary .button {
|
||||||
|
white-space: nowrap;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.toot .text {
|
||||||
|
margin: 0;
|
||||||
|
grid-row: span 1;
|
||||||
|
grid-column: 1 / span 3;
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.toot .text details > summary {
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
.toot .text details > summary .button {
|
||||||
|
padding: 0.2rem 0.3rem;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
.toot .text a {
|
||||||
|
color: var(--link-fg);
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.toot .text .content {
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
.toot .text .content blockquote {
|
||||||
|
padding: 0.5rem 0 0.5rem 0.5rem;
|
||||||
|
border-left: 0.2rem solid var(--border-accent);
|
||||||
|
margin: 0;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.toot .text .content hr {
|
||||||
|
border: 1px dashed var(--border-accent);
|
||||||
|
}
|
||||||
|
.toot .text .content pre, .toot .text .content code {
|
||||||
|
background-color: var(--gray2);
|
||||||
|
}
|
||||||
|
.toot .text .content code {
|
||||||
|
padding: 0.25rem;
|
||||||
|
border-radius: var(--br-inner);
|
||||||
|
}
|
||||||
|
.toot .text .content pre {
|
||||||
|
display: flex;
|
||||||
|
border-radius: var(--br);
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
.toot .text .content pre code {
|
||||||
|
padding: 0.5rem;
|
||||||
|
white-space: pre;
|
||||||
|
border-radius: 0;
|
||||||
|
overflow-x: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
}
|
||||||
|
.toot .text .content img {
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 5px auto;
|
||||||
|
}
|
||||||
|
.toot .text .content img[alt~="!center"] {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.toot .text .emoji {
|
||||||
|
transition: 0.1s;
|
||||||
|
}
|
||||||
|
.toot .text .emoji:hover, .toot .text .emoji:active {
|
||||||
|
-webkit-transform: scale(2);
|
||||||
|
transform: scale(2);
|
||||||
|
background-color: var(--bg);
|
||||||
|
box-shadow: var(--boxshadow);
|
||||||
|
border: var(--boxshadow-border);
|
||||||
|
border-radius: var(--br-inner);
|
||||||
|
}
|
||||||
|
.toot .media {
|
||||||
|
grid-column: span 3;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 50% 50%;
|
||||||
|
grid-auto-rows: 10rem;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
border: 0.15rem solid var(--gray1);
|
||||||
|
border-radius: var(--br);
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details {
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details[open] summary {
|
||||||
|
height: auto;
|
||||||
|
width: auto;
|
||||||
|
margin: 1rem;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details[open] summary .show, .toot .media .media-wrapper details[open] summary video, .toot .media .media-wrapper details[open] summary img {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details[open] summary .eye.button .hide {
|
||||||
|
display: inline-block;
|
||||||
|
grid-column: 1 / span 3;
|
||||||
|
grid-row: 1 / span 2;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details 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 .";
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details summary .eye.button {
|
||||||
|
grid-area: eye;
|
||||||
|
align-self: start;
|
||||||
|
justify-self: start;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0.4rem;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details summary .eye.button .fa-fw {
|
||||||
|
line-height: var(--fa-fw);
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details summary .eye.button .hide {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details summary .show.sensitive {
|
||||||
|
grid-area: sensitive;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details summary .show.sensitive .button {
|
||||||
|
cursor: pointer;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details summary video, .toot .media .media-wrapper details summary img {
|
||||||
|
z-index: -1;
|
||||||
|
position: absolute;
|
||||||
|
height: calc(100% + 1.2rem);
|
||||||
|
width: calc(100% + 1.2rem);
|
||||||
|
top: -0.6rem;
|
||||||
|
left: -0.6rem;
|
||||||
|
-webkit-filter: blur(1.2rem);
|
||||||
|
filter: blur(1.2rem);
|
||||||
|
}
|
||||||
|
.toot .media .media-wrapper details video.plyr-video, .toot .media .media-wrapper details .plyr {
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
-o-object-fit: contain;
|
||||||
|
object-fit: contain;
|
||||||
|
background: var(--gray1);
|
||||||
|
}
|
||||||
|
.toot .media.single .media-wrapper {
|
||||||
|
grid-column: span 2;
|
||||||
|
}
|
||||||
|
.toot .media.odd .media-wrapper:first-child, .toot .media.double .media-wrapper {
|
||||||
|
grid-row: span 2;
|
||||||
|
}
|
||||||
|
.toot .media img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
-o-object-fit: cover;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
.toot .info {
|
||||||
|
display: flex;
|
||||||
|
background: var(--toot-info-bg);
|
||||||
|
color: var(--fg-reduced);
|
||||||
|
border-top: 0.15rem solid var(--toot-info-border);
|
||||||
|
padding: 0.5rem 0.75rem;
|
||||||
|
}
|
||||||
|
.toot .info div, .toot .info time {
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
||||||
|
.toot .info .stats {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.toot .info{
|
||||||
|
|
||||||
|
grid-column: span 3;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
.toot .toot-link {
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
text-indent: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
.toot:first-child {
|
||||||
|
/* top left, top right */
|
||||||
|
border-top-left-radius: var(--br);
|
||||||
|
border-top-right-radius: var(--br);
|
||||||
|
}
|
||||||
|
.toot:last-child, .toot:last-child .info {
|
||||||
|
/* bottom left, bottom right */
|
||||||
|
border-bottom-left-radius: var(--br);
|
||||||
|
border-bottom-right-radius: var(--br);
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
.toot.expanded {
|
||||||
|
background: var(--toot-focus-bg);
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
.toot.expanded .info {
|
||||||
|
background: var(--toot-focus-info-bg);
|
||||||
|
}
|
||||||
|
.plyr--video {
|
||||||
|
flex-direction: column-reverse;
|
||||||
|
}
|
||||||
|
.plyr--video .plyr__video-wrapper {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.plyr--video .plyr__controls {
|
||||||
|
align-self: stretch;
|
||||||
|
position: initial;
|
||||||
|
padding: 0.1rem;
|
||||||
|
padding-top: 0.2rem;
|
||||||
|
}
|
||||||
|
.plyr--video .plyr__control {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
.plyr--video .plyr__control--overlaid {
|
||||||
|
top: calc(50% - 18px);
|
||||||
|
}
|
||||||
|
.pswp__content {
|
||||||
|
padding: 2rem;
|
||||||
|
}
|
||||||
|
.pswp__content .plyr {
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
|
<h1>404: Page Not Found</h1>
|
||||||
|
<p>
|
||||||
|
GoToSocial only serves Public statuses via the web.
|
||||||
|
If you reached this page by clicking on a status link,
|
||||||
|
it's possible that the status is not Public, has been
|
||||||
|
deleted by the author, you don't have permission to see
|
||||||
|
it, or it just doesn't exist at all.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
If you believe this 404 was an error, you can contact
|
||||||
|
the instance admin. Provide them with the following request
|
||||||
|
Request ID: <code>{{.requestID}}</code>.
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,99 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<section class="about">
|
||||||
|
<h1>instance</h1>
|
||||||
|
<div>
|
||||||
|
{{.instance.Description |noescape}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h2>contacts</h2>
|
||||||
|
{{if .instance.ContactAccount}}
|
||||||
|
<div class="account-card">
|
||||||
|
<img class="avatar" src="{{.instance.ContactAccount.Avatar}}" alt="" />
|
||||||
|
<h3>
|
||||||
|
{{if .instance.ContactAccount.DisplayName}}{{emojify .instance.ContactAccount.Emojis (escape .instance.ContactAccount.DisplayName)}}{{else}}{{.instance.ContactAccount.Username}}{{end}}
|
||||||
|
</h3>
|
||||||
|
<span>
|
||||||
|
<a href="{{.instance.ContactAccount.URL}}">@{{.instance.ContactAccount.Username}}</a>
|
||||||
|
|
||||||
|
{{if .instance.Email}}
|
||||||
|
| <<a href="mailto:{{.instance.Email}}">{{.instance.Email}}</a>>
|
||||||
|
{{end}}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h2>fediverse server software</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gotosocial.org" target="_blank">GoToSocial</a></li>
|
||||||
|
<li>official <a href="https://github.com/superseriousbusiness/gotosocial" target="_blank">source code</a></li>
|
||||||
|
<li>my <a href="https://source.garden/config/gts-web" target="_blank">custom templates</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h2>features</h2>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Registration is
|
||||||
|
{{if .instance.Registrations}}
|
||||||
|
enabled{{if .instance.ApprovalRequired}}, but requires admin approval{{end}}.
|
||||||
|
{{else}}
|
||||||
|
disabled.
|
||||||
|
{{end}}
|
||||||
|
</li>
|
||||||
|
{{if .instance.Configuration.Accounts.AllowCustomCSS}}
|
||||||
|
<li>
|
||||||
|
Users are allowed to set <a href="https://docs.gotosocial.org/en/latest/user_guide/custom_css/"
|
||||||
|
target="_blank" rel="noopener noreferrer">Custom CSS</a> for their profiles.
|
||||||
|
</li>
|
||||||
|
{{end}}
|
||||||
|
<li>
|
||||||
|
Toots can contain up to {{.instance.Configuration.Statuses.MaxCharacters}} characters and
|
||||||
|
{{.instance.Configuration.Statuses.MaxMediaAttachments}} media attachments.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Polls can have up to {{.instance.Configuration.Polls.MaxOptions}} options, with
|
||||||
|
{{.instance.Configuration.Polls.MaxCharactersPerOption}} characters each.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h2>moderated servers</h2>
|
||||||
|
<p>
|
||||||
|
ActivityPub instances exchange (federate) data with other servers, including accounts and toots.
|
||||||
|
This can be prevented for specific domains by suspending them. None of their content is stored,
|
||||||
|
and interaction with their users is blocked both ways.</br>
|
||||||
|
{{if .blocklistExposed}}
|
||||||
|
<a href="/about/suspended">View the list of suspended domains</a>
|
||||||
|
{{else}}
|
||||||
|
This instance does not publically share this list.
|
||||||
|
{{end}}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,42 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<form action="/oauth/authorize" method="POST">
|
||||||
|
<h1>Hi {{.user}}!</h1>
|
||||||
|
<p>
|
||||||
|
Application <b>{{.appname}}</b>
|
||||||
|
{{if len .appwebsite | eq 0 | not}}
|
||||||
|
({{.appwebsite}})
|
||||||
|
{{end}}
|
||||||
|
would like to perform actions on your behalf, with scope <em>{{.scope}}</em>.
|
||||||
|
</p>
|
||||||
|
<p>The application will redirect to {{.redirect}} to continue.</p>
|
||||||
|
<p>
|
||||||
|
<button
|
||||||
|
type="submit"
|
||||||
|
style="width:200px;"
|
||||||
|
>
|
||||||
|
Allow
|
||||||
|
</button>
|
||||||
|
</p>
|
||||||
|
</form>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
|
<h1>Email Address Confirmed</h1>
|
||||||
|
<p>Thanks {{.username}}! Your email address <b>{{.email}}</b> has been confirmed.<p>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,52 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
|
<h1>Suspended Instances</h1>
|
||||||
|
<p>
|
||||||
|
The following list of domains have been suspended by the administrator(s) of this server.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
All current and future accounts on these instances are blocked, and no more data is federated to the remote
|
||||||
|
servers.
|
||||||
|
This extends to subdomains, so an entry for 'example.com' includes 'social.example.com' as well.
|
||||||
|
</p>
|
||||||
|
<div class="list domain-blocklist">
|
||||||
|
<div class="header entry">
|
||||||
|
<div class="domain">Domain</div>
|
||||||
|
<div class="public_comment">Public comment</div>
|
||||||
|
</div>
|
||||||
|
{{range .blocklist}}
|
||||||
|
<div class="entry" id="{{.Domain}}">
|
||||||
|
<div class="domain">
|
||||||
|
<a class="text-cutoff" href="#{{.Domain}}" title="{{.Domain}}">{{.Domain}}</a>
|
||||||
|
</div>
|
||||||
|
<div class="public_comment">
|
||||||
|
<p>
|
||||||
|
{{.PublicComment}}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
Hello {{.Username}}!
|
||||||
|
|
||||||
|
You are receiving this mail because you've requested an account on {{.InstanceURL}}.
|
||||||
|
|
||||||
|
We just need to confirm that this is your email address. To confirm your email, paste the following in your browser's address bar:
|
||||||
|
|
||||||
|
{{.ConfirmLink}}
|
||||||
|
|
||||||
|
If you believe you've been sent this email in error, feel free to ignore it, or contact the administrator of {{.InstanceURL}}
|
|
@ -0,0 +1,26 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
Hello moderator of {{ .InstanceName }} ({{ .InstanceURL }})!
|
||||||
|
|
||||||
|
{{ if .ReportDomain }}Someone from {{ .ReportDomain }} has reported a user from your instance.
|
||||||
|
{{- else if .ReportTargetDomain }}Someone from your instance has reported a user from {{ .ReportTargetDomain }}.
|
||||||
|
{{- else }}Someone from your instance has reported another user from your instance.{{ end }}
|
||||||
|
|
||||||
|
To view the report, paste the following link into your browser: {{ .ReportURL }}
|
|
@ -0,0 +1,27 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
Hello {{.Username}}!
|
||||||
|
|
||||||
|
You recently reported the account @{{ .ReportTargetUsername }}{{ if .ReportTargetDomain }}@{{ .ReportTargetDomain }}{{ end }} to the moderator(s) of {{ .InstanceName }} ({{ .InstanceURL }}).
|
||||||
|
|
||||||
|
The report you submitted has now been closed.
|
||||||
|
|
||||||
|
{{ if .ActionTakenComment }}The moderator who closed the report left the following comment: {{ .ActionTakenComment }}
|
||||||
|
{{- else }}The moderator who closed the report did not leave a comment.{{ end }}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
Hello {{.Username}}!
|
||||||
|
|
||||||
|
You are receiving this mail because a password reset has been requested for your account on {{.InstanceURL}}.
|
||||||
|
|
||||||
|
To reset your password, paste the following in your browser's address bar:
|
||||||
|
|
||||||
|
{{.ResetLink}}
|
||||||
|
|
||||||
|
If you believe you've been sent this email in error, feel free to ignore it, or contact the administrator of {{.InstanceURL}}.
|
|
@ -0,0 +1,24 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
This is a test email from {{.InstanceName}} ({{.InstanceURL}}).
|
||||||
|
|
||||||
|
If you're seeing this email, that means the SMTP configuration is correct!
|
||||||
|
|
||||||
|
This email was sent by the admin user @{{.SendingUsername}}.
|
|
@ -0,0 +1,32 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<section class="error">
|
||||||
|
<h1>An error occured:</h1>
|
||||||
|
<pre>{{.error}}</pre>
|
||||||
|
{{if .requestID}}
|
||||||
|
<div>
|
||||||
|
<span>Request ID:</span> <code>{{.requestID}}</code>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,50 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<form action="/oauth/finalize" method="POST">
|
||||||
|
<h1>Hi {{.name}}!</h1>
|
||||||
|
<p>
|
||||||
|
You are about to sign-up to {{ .instance.Title }} (<code>{{ .instance.URI }}</code>)
|
||||||
|
<br>
|
||||||
|
To ensure the best experience for you, we need you to provide some additional details.
|
||||||
|
</p>
|
||||||
|
{{if .error}}
|
||||||
|
<section class="error">
|
||||||
|
<span>❌</span> <pre>{{.error}}</pre>
|
||||||
|
</section>
|
||||||
|
{{end}}
|
||||||
|
<div class="callout">
|
||||||
|
<p class="callout-title">Important</p>
|
||||||
|
<p>Due to the way the ActivityPub standard works, you <strong>cannot</strong> change your username after it has been set.</p>
|
||||||
|
</div>
|
||||||
|
<div class="labelinput">
|
||||||
|
<label for="username">Username <small>(must contain only lowercase letters, numbers, and underscores)</small></label>
|
||||||
|
<input type="text"
|
||||||
|
class="form-control"
|
||||||
|
name="username"
|
||||||
|
required
|
||||||
|
placeholder="Please enter your desired username" value="{{ .preferredUsername }}">
|
||||||
|
</div>
|
||||||
|
<input type="hidden" name="name" value="{{ .name }}">
|
||||||
|
<button type="submit" style="width: 100%; margin-top: 1rem;" class="btn btn-success">Submit</button>
|
||||||
|
</form>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,32 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
<!-- footer.tmpl -->
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<a href="/about" class="nounderline">About this Instance</a>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
{{ if .javascript }}
|
||||||
|
{{ range .javascript }}
|
||||||
|
<script src="{{.}}"></script>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,25 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main class="lightgray">
|
||||||
|
<div id="root">
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,72 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<!-- header.tmpl -->
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="robots" content="{{ if .robotsMeta }}{{ .robotsMeta }}{{ else }}noindex, nofollow{{ end }}">
|
||||||
|
{{ if .ogMeta }}{{ if .ogMeta.Locale }}
|
||||||
|
<meta name="og:locale" content="{{ .ogMeta.Locale }}">
|
||||||
|
{{ end }}
|
||||||
|
<meta property="og:type" content="{{ .ogMeta.Type }}">
|
||||||
|
<meta property="og:title" content="{{ .ogMeta.Title }}">
|
||||||
|
<meta property="og:url" content="{{ .ogMeta.URL }}">
|
||||||
|
<meta property="og:site_name" content="{{ .ogMeta.SiteName }}">
|
||||||
|
<meta property="og:description" {{ .ogMeta.Description | noescapeAttr }}>
|
||||||
|
{{ if .ogMeta.ArticlePublisher }}
|
||||||
|
<meta property="og:article:publisher" content="{{ .ogMeta.ArticlePublisher }}">
|
||||||
|
<meta property="og:article:author" content="{{ .ogMeta.ArticleAuthor }}">
|
||||||
|
<meta property="og:article:modified_time" content="{{ .ogMeta.ArticleModifiedTime }}">
|
||||||
|
<meta property="og:article:published_time" content="{{ .ogMeta.ArticlePublishedTime }}">
|
||||||
|
{{ end }}{{ if .ogMeta.ProfileUsername }}
|
||||||
|
<meta property="og:profile:username" content="{{ .ogMeta.ProfileUsername }}">
|
||||||
|
{{ end }}
|
||||||
|
<meta property="og:image" content="{{ .ogMeta.Image }}">
|
||||||
|
{{ if .ogMeta.ImageAlt }}
|
||||||
|
<meta property="og:image:alt" content="{{ .ogMeta.ImageAlt }}">
|
||||||
|
{{ end }}{{ if .ogMeta.ImageWidth }}
|
||||||
|
<meta property="og:image:width" content="{{ .ogMeta.ImageWidth }}">
|
||||||
|
<meta property="og:image:height" content="{{ .ogMeta.ImageHeight }}">
|
||||||
|
{{ end }}{{ end }}
|
||||||
|
<link rel="shortcut icon" href="{{ .instance.Thumbnail }}"
|
||||||
|
type="{{ if .instance.ThumbnailType }}{{ .instance.ThumbnailType }}{{ else }}image/png{{ end }}">
|
||||||
|
{{ if .rssFeed }}
|
||||||
|
<link rel="alternate" type="application/rss+xml" href="{{ .rssFeed }}"
|
||||||
|
title="{{ if .ogMeta }}{{ .ogMeta.Title }}{{ else }}{{.instance.Title}}{{ end }}">{{ end }}
|
||||||
|
<link rel="preload" href="/assets/dist/_colors.css" as="style">
|
||||||
|
<link rel="preload" href="/assets/dist/base.css" as="style">
|
||||||
|
{{range .stylesheets}}
|
||||||
|
<link rel="preload" href="{{.}}" as="style">
|
||||||
|
{{end}}
|
||||||
|
<link rel="stylesheet" href="/assets/dist/_colors.css">
|
||||||
|
<link rel="stylesheet" href="/assets/dist/base.css">
|
||||||
|
{{range .stylesheets}}
|
||||||
|
<link rel="stylesheet" href="{{.}}">
|
||||||
|
{{end}}<title>{{ if .ogMeta }}{{ .ogMeta.Title }}{{ else }}{{.instance.Title}} - GoToSocial{{ end }}</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="page">
|
||||||
|
<div class="content">
|
|
@ -0,0 +1,2 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
index
|
|
@ -0,0 +1,28 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<section class="oob-token">
|
||||||
|
<h1>Hi {{ .user }}!</h1>
|
||||||
|
<p>Here's your out-of-band token with scope "<em>{{.scope}}</em>", use it wisely:</p>
|
||||||
|
<code>{{ .oobToken }}</code>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,131 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
|
||||||
|
<main class="profile">
|
||||||
|
<div class="header">
|
||||||
|
<div class="header-image">
|
||||||
|
{{ if .account.Header }}
|
||||||
|
<img src="{{.account.Header}}" alt="" />
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
<div class="basic-info" aria-hidden="true">
|
||||||
|
<a class="avatar" href="{{.account.Avatar}}">
|
||||||
|
<img src="{{.account.Avatar}}" alt="">
|
||||||
|
</a>
|
||||||
|
<span class="displayname text-cutoff">
|
||||||
|
{{if .account.DisplayName}}
|
||||||
|
{{emojify .account.Emojis (escape .account.DisplayName)}}
|
||||||
|
{{else}}
|
||||||
|
{{.account.Username}}
|
||||||
|
{{end}}
|
||||||
|
</span>
|
||||||
|
<span class="username text-cutoff">@{{.account.Username}}@{{.instance.AccountDomain}}</span>
|
||||||
|
{{- /* Only render account role if 1. it's present and 2. it's not equal to the standard 'user' role */ -}}
|
||||||
|
{{ if and (.account.Role) (ne .account.Role.Name "user") }}
|
||||||
|
<div class="role {{ .account.Role.Name }}">
|
||||||
|
{{ if and (.account.Role) (eq .account.Role.Name "admin") }}
|
||||||
|
webmain
|
||||||
|
{{ else }}
|
||||||
|
{{ .account.Role.Name }}
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="column-split">
|
||||||
|
|
||||||
|
<section class="about-user">
|
||||||
|
|
||||||
|
<div class="bio">
|
||||||
|
{{ if .account.Note }}
|
||||||
|
{{emojify .account.Emojis (noescape .account.Note)}}
|
||||||
|
{{else}}
|
||||||
|
This GoToSocial user hasn't written a bio yet!
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="fields">
|
||||||
|
{{ range .account.Fields }}
|
||||||
|
<div class="field">
|
||||||
|
<b>{{emojify $.account.Emojis (noescape .Name)}}</b>
|
||||||
|
<span>{{emojify $.account.Emojis (noescape .Value)}}</span>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="accountstats" aria-hidden="true">
|
||||||
|
<b>Joined</b><time datetime="{{.account.CreatedAt}}">{{.account.CreatedAt | timestampVague}}</time>
|
||||||
|
<b>Posts</b><span>{{.account.StatusesCount}}</span>
|
||||||
|
<b>Followed by</b><span>{{.account.FollowersCount}}</span>
|
||||||
|
<b>Following</b><span>{{.account.FollowingCount}}</span>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="toots">
|
||||||
|
{{ if .pinned_statuses }}
|
||||||
|
<div class="col-header">
|
||||||
|
<h2>Pinned posts</h2>
|
||||||
|
<a href="#recent">jump to recent</a>
|
||||||
|
</div>
|
||||||
|
<section class="thread">
|
||||||
|
{{ range .pinned_statuses }}
|
||||||
|
<article class="toot expanded" id="{{.ID}}">
|
||||||
|
{{ template "status.tmpl" .}}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<div class="col-header">
|
||||||
|
<h2 id="recent" tabindex="-1">Recent posts</h2>
|
||||||
|
{{ if .rssFeed }}
|
||||||
|
<a href="{{ .rssFeed }}" class="rss-icon" aria-label="RSS feed">
|
||||||
|
<i class="fa fa-rss-square" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<section class="thread">
|
||||||
|
{{ if not .statuses }}
|
||||||
|
<div data-nosnippet class="nothinghere">Nothing here!</div>
|
||||||
|
{{ else }}
|
||||||
|
{{ range .statuses }}
|
||||||
|
<article class="toot expanded" id="{{.ID}}">
|
||||||
|
{{ template "status.tmpl" .}}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="backnextlinks">
|
||||||
|
{{ if .show_back_to_top }}
|
||||||
|
<a href="/@{{ .account.Username }}">Back to top</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ if .statuses_next }}
|
||||||
|
<a href="{{ .statuses_next }}" class="next">Show older</a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,37 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<section class="login">
|
||||||
|
<h1>Login</h1>
|
||||||
|
<form action="/auth/sign_in" method="POST">
|
||||||
|
<div class="labelinput">
|
||||||
|
<label for="email">Email</label>
|
||||||
|
<input type="email" class="form-control" name="username" required placeholder="Please enter your email address">
|
||||||
|
</div>
|
||||||
|
<div class="labelinput">
|
||||||
|
<label for="password">Password</label>
|
||||||
|
<input type="password" class="form-control" name="password" required placeholder="Please enter your password">
|
||||||
|
</div>
|
||||||
|
<button type="submit" class="btn btn-success">Login</button>
|
||||||
|
</form>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|
|
@ -0,0 +1,115 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
<section class="author">
|
||||||
|
<a href="{{.Account.URL}}">
|
||||||
|
<img class="avatar" src="{{.Account.Avatar}}" alt="">
|
||||||
|
<span class="displayname">
|
||||||
|
{{if .Account.DisplayName}}
|
||||||
|
{{emojify .Account.Emojis (escape .Account.DisplayName)}}
|
||||||
|
{{else}}
|
||||||
|
{{.Account.Username}}
|
||||||
|
{{end}}
|
||||||
|
</span>
|
||||||
|
<span class="username">@{{.Account.Username}}</span>
|
||||||
|
</a>
|
||||||
|
</section>
|
||||||
|
<section class="body">
|
||||||
|
<div class="text">
|
||||||
|
{{if .SpoilerText}}
|
||||||
|
<details class="text-spoiler">
|
||||||
|
<summary>
|
||||||
|
<span class="spoiler-text">{{emojify .Emojis (escape .SpoilerText)}}</span>
|
||||||
|
<span class="button" role="button" tabindex="0">Toggle visibility</span>
|
||||||
|
</summary>
|
||||||
|
<div class="content">
|
||||||
|
{{emojify .Emojis (noescape .Content)}}
|
||||||
|
</div>
|
||||||
|
</details>
|
||||||
|
{{else}}
|
||||||
|
<div class="content">
|
||||||
|
{{emojify .Emojis (noescape .Content)}}
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
{{with .MediaAttachments}}
|
||||||
|
<div
|
||||||
|
class="media photoswipe-gallery {{(len .) | oddOrEven }}{{if eq (len .) 1}} single{{end}}{{if eq (len .) 2}} double{{end}}">
|
||||||
|
{{range $index, $media := .}}
|
||||||
|
{{with $media}}
|
||||||
|
<div class="media-wrapper">
|
||||||
|
<details class="{{.Type}}-spoiler media-spoiler" {{if not $.Sensitive}}open{{end}}>
|
||||||
|
<summary>
|
||||||
|
<div class="show sensitive button" aria-hidden="true">
|
||||||
|
Show sensitive media
|
||||||
|
</div>
|
||||||
|
<span class="eye button" role="button" tabindex="0" aria-label="Toggle media">
|
||||||
|
<i class="hide fa fa-fw fa-eye-slash" aria-hidden="true"></i>
|
||||||
|
<i class="show fa fa-fw fa-eye" aria-hidden="true"></i>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
{{if eq .Type "video"}}
|
||||||
|
<video {{if .Description}} title="{{.Description}}" {{end}}>
|
||||||
|
<source type="video/mp4" src="{{.URL}}" />
|
||||||
|
</video>
|
||||||
|
{{else}}
|
||||||
|
<img {{if .Description}} title="{{.Description}}" {{end}} src="{{.PreviewURL}}" />
|
||||||
|
{{end}}
|
||||||
|
</summary>
|
||||||
|
{{if eq .Type "video"}}
|
||||||
|
<video class="plyr-video photoswipe-slide" controls {{if .Description}}alt="{{.Description}}"
|
||||||
|
title="{{.Description}}" {{end}} data-pswp-index="{{$index}}" data-pswp-width="{{.Meta.Original.Width}}px"
|
||||||
|
data-pswp-height="{{.Meta.Original.Height}}px">
|
||||||
|
<source type="video/mp4" src="{{.URL}}" />
|
||||||
|
</video>
|
||||||
|
{{else}}
|
||||||
|
<a class="photoswipe-slide" href="{{.URL}}" target="_blank" {{if .Description}}title="{{.Description}}" {{end}}
|
||||||
|
data-pswp-width="{{.Meta.Original.Width}}px" data-pswp-height="{{.Meta.Original.Height}}px"
|
||||||
|
data-cropped="true">
|
||||||
|
<img src="{{.PreviewURL}}" {{if .Description}}alt="{{.Description}}" {{end}} />
|
||||||
|
</a>
|
||||||
|
{{end}}
|
||||||
|
</details>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<aside class="info">
|
||||||
|
<time datetime="{{.CreatedAt}}" title="{{.CreatedAt}}">{{.CreatedAt | timestampPrecise}}</time>
|
||||||
|
<div class="stats" role="group">
|
||||||
|
<div>
|
||||||
|
<span>{{.RepliesCount}} {{if .RepliesCount | eq 1}}reply{{else}}replies{{end}}</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<span>{{.FavouritesCount}} favourite{{if .FavouritesCount | eq 1 | not}}s{{end}}</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<span>{{.ReblogsCount}} boost{{if .ReblogsCount | eq 1 | not}}s{{end}}</span>
|
||||||
|
</div>
|
||||||
|
{{if .Pinned}}
|
||||||
|
<div>
|
||||||
|
<span>pinned</span>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
|
<a data-nosnippet href="{{.URL}}" class="toot-link">Open thread</a>
|
|
@ -0,0 +1,38 @@
|
||||||
|
{{- /*
|
||||||
|
// GoToSocial
|
||||||
|
// Copyright (C) GoToSocial Authors admin@gotosocial.org
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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/>.
|
||||||
|
*/ -}}
|
||||||
|
|
||||||
|
{{ template "header.tmpl" .}}
|
||||||
|
<main>
|
||||||
|
<section data-nosnippet class="thread">
|
||||||
|
{{range .context.Ancestors}}
|
||||||
|
<article class="toot" id="{{.ID}}">
|
||||||
|
{{ template "status.tmpl" .}}
|
||||||
|
</article>
|
||||||
|
{{end}}
|
||||||
|
<article class="toot expanded" id="{{.status.ID}}">
|
||||||
|
{{ template "status.tmpl" .status}}
|
||||||
|
</article>
|
||||||
|
{{range .context.Descendants}}
|
||||||
|
<article class="toot" id="{{.ID}}">
|
||||||
|
{{ template "status.tmpl" .}}
|
||||||
|
</article>
|
||||||
|
{{end}}
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
{{ template "footer.tmpl" .}}
|