2023-02-11 04:03:18 +03:00
|
|
|
@import url('@szhsin/react-menu/dist/core.css');
|
|
|
|
@import url('toastify-js/src/toastify.css');
|
|
|
|
|
2022-12-12 16:54:31 +03:00
|
|
|
html,
|
|
|
|
body {
|
2022-12-10 12:14:48 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2022-12-12 05:08:55 +03:00
|
|
|
background-color: var(--bg-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--text-color);
|
2023-01-10 20:08:18 +03:00
|
|
|
overflow-x: hidden;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-30 16:54:30 +03:00
|
|
|
body {
|
|
|
|
touch-action: pan-x pan-y;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
#app {
|
|
|
|
min-height: 100vh;
|
2022-12-11 03:14:14 +03:00
|
|
|
min-height: 100dvh;
|
2022-12-10 12:14:48 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2023-04-23 16:37:42 +03:00
|
|
|
#app-standalone {
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2022-12-10 14:16:43 +03:00
|
|
|
/* MENTIONS */
|
|
|
|
|
|
|
|
a.mention {
|
|
|
|
text-decoration-line: none;
|
|
|
|
}
|
|
|
|
a.mention span {
|
|
|
|
text-decoration-line: underline;
|
|
|
|
text-decoration-color: inherit;
|
2022-12-23 14:33:06 +03:00
|
|
|
text-decoration-thickness: 2px;
|
|
|
|
text-underline-offset: 2px;
|
2022-12-10 14:16:43 +03:00
|
|
|
}
|
2022-12-16 08:30:07 +03:00
|
|
|
/* a.mention:has(span).hashtag {
|
2022-12-10 14:16:43 +03:00
|
|
|
color: var(--link-light-color);
|
2022-12-16 08:30:07 +03:00
|
|
|
} */
|
2022-12-12 16:54:31 +03:00
|
|
|
a.mention span {
|
2022-12-10 14:16:43 +03:00
|
|
|
color: var(--text-color);
|
|
|
|
}
|
2023-01-17 08:37:48 +03:00
|
|
|
a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
|
|
|
color: var(--link-visited-color);
|
|
|
|
text-decoration-color: var(--link-visited-color);
|
|
|
|
}
|
2022-12-10 14:16:43 +03:00
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
.deck-container {
|
|
|
|
width: 100%;
|
|
|
|
height: 100vh;
|
2022-12-11 03:01:53 +03:00
|
|
|
height: 100dvh;
|
2022-12-10 12:14:48 +03:00
|
|
|
overflow: auto;
|
2022-12-11 03:01:53 +03:00
|
|
|
overflow-x: hidden;
|
2022-12-12 16:54:31 +03:00
|
|
|
transition: opacity 0.1s ease-in-out;
|
2022-12-23 03:00:11 +03:00
|
|
|
overscroll-behavior: contain;
|
2022-12-31 04:52:31 +03:00
|
|
|
scroll-behavior: smooth;
|
2023-01-20 19:23:59 +03:00
|
|
|
background-color: var(--bg-color);
|
2023-04-15 14:19:43 +03:00
|
|
|
/* This `transform` fixes carousel blocking vertical scrolling for pointer devices on iPad */
|
|
|
|
transform: translateZ(0);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-07-08 08:42:09 +03:00
|
|
|
|
|
|
|
@media (hover: hover) {
|
|
|
|
.deck-container {
|
|
|
|
overscroll-behavior: auto;
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.deck-container[hidden] {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
|
|
|
content-visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.deck-container,
|
|
|
|
.deck.contained {
|
2022-12-15 20:44:51 +03:00
|
|
|
scroll-padding-top: 3em;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.deck {
|
|
|
|
min-height: 100vh;
|
2022-12-11 03:14:14 +03:00
|
|
|
min-height: 100dvh;
|
2022-12-10 12:14:48 +03:00
|
|
|
margin: auto;
|
2023-02-17 15:47:09 +03:00
|
|
|
width: var(--main-width);
|
2023-01-30 14:49:38 +03:00
|
|
|
max-width: 100%;
|
2022-12-10 12:14:48 +03:00
|
|
|
background-color: var(--bg-color);
|
|
|
|
}
|
|
|
|
.deck.contained {
|
|
|
|
overflow: auto;
|
2022-12-11 03:01:53 +03:00
|
|
|
overflow-x: hidden;
|
2022-12-10 12:14:48 +03:00
|
|
|
height: 100vh;
|
2022-12-11 03:14:14 +03:00
|
|
|
height: 100dvh;
|
2022-12-23 03:00:11 +03:00
|
|
|
overscroll-behavior: contain;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-07-08 08:42:09 +03:00
|
|
|
@media (hover: hover) {
|
|
|
|
.deck.contained {
|
|
|
|
overscroll-behavior: auto;
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2023-01-14 14:42:04 +03:00
|
|
|
.deck > header {
|
2022-12-10 12:14:48 +03:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
cursor: default;
|
2022-12-11 10:30:49 +03:00
|
|
|
z-index: 10;
|
2022-12-23 16:28:16 +03:00
|
|
|
user-select: none;
|
2023-01-02 16:36:24 +03:00
|
|
|
transition: transform 0.5s ease-in-out;
|
2023-01-03 10:51:16 +03:00
|
|
|
user-select: none;
|
2023-01-02 16:36:24 +03:00
|
|
|
}
|
2023-01-14 14:42:04 +03:00
|
|
|
.deck > header[hidden] {
|
2023-02-08 14:11:33 +03:00
|
|
|
display: block;
|
2023-01-02 16:36:24 +03:00
|
|
|
transform: translateY(-100%);
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-08 14:11:33 +03:00
|
|
|
.deck > header .header-grid {
|
|
|
|
background-color: var(--bg-blur-color);
|
|
|
|
background-image: linear-gradient(to bottom, var(--bg-color), transparent);
|
|
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
|
|
border-bottom: var(--hairline-width) solid var(--divider-color);
|
|
|
|
min-height: 3em;
|
|
|
|
display: grid;
|
2023-02-25 05:04:30 +03:00
|
|
|
grid-template-columns: 1fr minmax(0, max-content) 1fr;
|
2023-02-08 14:11:33 +03:00
|
|
|
align-items: center;
|
2023-02-10 17:10:13 +03:00
|
|
|
white-space: nowrap;
|
2023-02-08 14:11:33 +03:00
|
|
|
}
|
|
|
|
.deck > header .header-grid > .header-side:last-of-type {
|
2022-12-10 12:14:48 +03:00
|
|
|
text-align: right;
|
2022-12-19 14:24:39 +03:00
|
|
|
grid-column: 3;
|
|
|
|
}
|
2023-02-08 14:11:33 +03:00
|
|
|
.deck > header .header-grid :is(button, .button).plain {
|
2022-12-19 14:24:39 +03:00
|
|
|
backdrop-filter: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-08 14:11:33 +03:00
|
|
|
.deck > header .header-grid h1 {
|
2022-12-19 11:25:57 +03:00
|
|
|
margin: 0 8px;
|
2022-12-10 12:14:48 +03:00
|
|
|
padding: 0;
|
|
|
|
font-size: 1.2em;
|
|
|
|
text-align: center;
|
2023-02-25 05:04:30 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-11 18:35:03 +03:00
|
|
|
.deck > header .header-grid.header-grid-2 {
|
|
|
|
grid-template-columns: 1fr max-content;
|
|
|
|
}
|
|
|
|
.deck > header .header-grid-2 h1 {
|
2022-12-10 12:14:48 +03:00
|
|
|
text-align: left;
|
|
|
|
padding-left: 8px;
|
2023-02-11 18:35:03 +03:00
|
|
|
}
|
|
|
|
.deck > header .header-grid h1:has(.ancestors-indicator) {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
align-items: center;
|
|
|
|
max-width: fit-content;
|
|
|
|
}
|
|
|
|
.deck > header .header-grid h1:has(.ancestors-indicator) .hero-heading {
|
|
|
|
flex: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.deck h2 {
|
|
|
|
font-size: 1.45em;
|
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
.deck.padded-bottom .timeline > li:last-child {
|
2022-12-18 19:19:34 +03:00
|
|
|
padding-bottom: 80vh !important;
|
|
|
|
padding-bottom: 80dvh !important;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
2023-04-14 10:46:11 +03:00
|
|
|
@keyframes indeterminate-bar {
|
|
|
|
0% {
|
|
|
|
transform: translateX(-50%);
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateX(50%);
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.deck > header.loading:after {
|
|
|
|
pointer-events: none;
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 4px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 50%;
|
|
|
|
left: 25%;
|
|
|
|
background-image: radial-gradient(
|
2023-04-14 13:14:25 +03:00
|
|
|
farthest-side at bottom,
|
2023-04-14 10:46:11 +03:00
|
|
|
var(--link-color),
|
|
|
|
transparent
|
|
|
|
);
|
|
|
|
animation: indeterminate-bar 1s ease-in-out infinite alternate;
|
|
|
|
}
|
2023-04-17 15:52:05 +03:00
|
|
|
@media (min-width: 40em) {
|
|
|
|
.deck > header.loading:after {
|
|
|
|
height: 8px;
|
|
|
|
}
|
|
|
|
}
|
2023-04-14 10:46:11 +03:00
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
.timeline {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
2023-01-01 03:51:56 +03:00
|
|
|
}
|
|
|
|
.timeline.grow {
|
2023-01-07 06:46:30 +03:00
|
|
|
/* min-height: 100vh;
|
|
|
|
min-height: 100dvh; */
|
2023-01-01 07:01:39 +03:00
|
|
|
padding-bottom: calc(env(safe-area-inset-bottom) + 16px);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
.timeline > li {
|
2022-12-10 12:14:48 +03:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2023-01-14 17:27:02 +03:00
|
|
|
border-bottom: var(--hairline-width) solid var(--divider-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
.timeline.flat > li {
|
2022-12-10 12:14:48 +03:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2023-01-28 20:02:25 +03:00
|
|
|
.timeline.contextual {
|
|
|
|
--thread-start: 40px;
|
|
|
|
--line-start: 40px;
|
|
|
|
--line-width: 3px;
|
|
|
|
--line-end: calc(var(--line-start) + var(--line-width));
|
|
|
|
--line-margin-end: 16px;
|
|
|
|
--line-radius: 10px;
|
|
|
|
--line-diameter: calc(var(--line-radius) * 2);
|
|
|
|
--avatar-size: 50px;
|
|
|
|
--avatar-margin-start: 16px;
|
|
|
|
--avatar-margin-end: 12px;
|
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
.timeline.contextual > li {
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
transparent,
|
2023-01-28 20:02:25 +03:00
|
|
|
transparent var(--line-start),
|
|
|
|
var(--comment-line-color) var(--line-start),
|
|
|
|
var(--comment-line-color) var(--line-end),
|
|
|
|
transparent var(--line-end),
|
2022-12-12 16:54:31 +03:00
|
|
|
transparent
|
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
background-repeat: no-repeat;
|
2022-12-21 13:02:13 +03:00
|
|
|
transition: opacity 0.3s ease-in-out;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
.timeline.contextual > li:first-child {
|
2023-04-23 18:37:58 +03:00
|
|
|
background-position: 0 calc(16px + var(--avatar-size));
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
.timeline.contextual > li:last-child {
|
2022-12-10 12:14:48 +03:00
|
|
|
background-size: 100% 20px;
|
|
|
|
}
|
2023-03-17 12:15:24 +03:00
|
|
|
.timeline.contextual > li:only-child {
|
|
|
|
background-image: none;
|
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
.timeline.contextual > li.descendant {
|
2022-12-10 12:14:48 +03:00
|
|
|
position: relative;
|
|
|
|
}
|
2022-12-19 05:05:50 +03:00
|
|
|
.timeline.contextual > li.descendant {
|
2022-12-18 15:46:13 +03:00
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
2023-07-31 19:59:58 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant:not(.thread)
|
|
|
|
> :is(.status-link, .status-focus) {
|
2022-12-18 15:46:13 +03:00
|
|
|
padding-left: 40px;
|
|
|
|
}
|
2023-05-07 13:20:25 +03:00
|
|
|
.timeline.contextual .replies[data-scroll-left]:not([data-scroll-left='0']) {
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
box-shadow: inset 0 -3px var(--comment-line-color),
|
|
|
|
inset 0 3px var(--comment-line-color);
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
.timeline.contextual .replies[data-comments-level='4'] {
|
2023-05-22 06:17:13 +03:00
|
|
|
overflow-x: auto;
|
2023-03-30 15:07:07 +03:00
|
|
|
}
|
|
|
|
.timeline.contextual .replies[data-comments-level='4']:has(.replies) {
|
2023-05-22 06:17:13 +03:00
|
|
|
overflow-x: auto;
|
2023-03-30 15:07:07 +03:00
|
|
|
mask-image: linear-gradient(to left, transparent, black 32px);
|
|
|
|
}
|
|
|
|
.timeline.contextual
|
|
|
|
.replies[data-comments-level='4']:has(.replies)
|
|
|
|
> .replies-summary {
|
|
|
|
border-top: 2px dashed var(--divider-color);
|
|
|
|
}
|
|
|
|
.timeline.contextual
|
|
|
|
.replies[data-comments-level='4']
|
|
|
|
.replies[data-comments-level-overflow='true']
|
|
|
|
.status {
|
2023-05-07 13:20:25 +03:00
|
|
|
min-width: min(20em, 80vw);
|
2023-03-30 15:07:07 +03:00
|
|
|
}
|
2022-12-18 15:46:13 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant.thread
|
2023-07-31 19:59:58 +03:00
|
|
|
> :is(.status-link, .status-focus)
|
2022-12-18 15:46:13 +03:00
|
|
|
+ .replies
|
2023-03-30 15:07:07 +03:00
|
|
|
.replies-summary {
|
2023-01-28 20:02:25 +03:00
|
|
|
margin-left: calc(
|
2023-03-30 15:07:07 +03:00
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
(var(--line-margin-end) * (var(--comments-level) - 1))
|
2023-01-28 20:02:25 +03:00
|
|
|
);
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
/* .timeline.contextual
|
2023-01-28 20:02:25 +03:00
|
|
|
> li.descendant.thread
|
|
|
|
> .status-link
|
|
|
|
+ .replies
|
|
|
|
.replies
|
2023-03-30 15:07:07 +03:00
|
|
|
> .replies-summary {
|
2023-01-28 20:02:25 +03:00
|
|
|
margin-left: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
var(--line-margin-end)
|
|
|
|
);
|
2022-12-18 15:46:13 +03:00
|
|
|
}
|
2023-01-28 20:29:26 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant.thread
|
|
|
|
> .status-link
|
|
|
|
+ .replies
|
|
|
|
.replies
|
|
|
|
.replies
|
2023-03-30 15:07:07 +03:00
|
|
|
> .replies-summary {
|
2023-01-28 20:29:26 +03:00
|
|
|
margin-left: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
(var(--line-margin-end) * 2)
|
|
|
|
);
|
2023-03-30 15:07:07 +03:00
|
|
|
} */
|
2022-12-18 15:46:13 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant.thread
|
2023-07-31 19:59:58 +03:00
|
|
|
> :is(.status-link, .status-focus)
|
2022-12-18 15:46:13 +03:00
|
|
|
+ .replies
|
2023-07-31 19:59:58 +03:00
|
|
|
:is(.status-link, .status-focus) {
|
2023-01-28 20:02:25 +03:00
|
|
|
padding-left: calc(
|
2023-03-30 15:07:07 +03:00
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
(var(--line-margin-end) * (var(--comments-level) - 1))
|
2023-01-28 20:02:25 +03:00
|
|
|
);
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
/* .timeline.contextual
|
2023-01-28 20:02:25 +03:00
|
|
|
> li.descendant.thread
|
|
|
|
> .status-link
|
|
|
|
+ .replies
|
|
|
|
.replies
|
|
|
|
.status-link {
|
|
|
|
padding-left: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
var(--line-margin-end)
|
|
|
|
);
|
2022-12-18 15:46:13 +03:00
|
|
|
}
|
2023-01-28 20:29:26 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant.thread
|
|
|
|
> .status-link
|
|
|
|
+ .replies
|
|
|
|
.replies
|
|
|
|
.replies
|
|
|
|
.status-link {
|
|
|
|
padding-left: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
(var(--line-margin-end) * 2)
|
|
|
|
);
|
2023-03-30 15:07:07 +03:00
|
|
|
} */
|
2022-12-18 15:46:13 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant:not(.thread)
|
2023-07-31 19:59:58 +03:00
|
|
|
> :is(.status-link, .status-focus)
|
2022-12-18 15:46:13 +03:00
|
|
|
+ .replies
|
2023-03-30 15:07:07 +03:00
|
|
|
.replies-summary {
|
|
|
|
margin-left: calc(
|
|
|
|
var(--thread-start) + var(--line-margin-end) * var(--comments-level)
|
|
|
|
);
|
2023-01-28 20:02:25 +03:00
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
/* .timeline.contextual
|
2023-01-28 20:02:25 +03:00
|
|
|
> li.descendant:not(.thread)
|
|
|
|
> .status-link
|
|
|
|
+ .replies
|
|
|
|
.replies
|
2023-03-30 15:07:07 +03:00
|
|
|
> .replies-summary {
|
2023-01-28 20:02:25 +03:00
|
|
|
margin-left: calc(
|
|
|
|
var(--thread-start) + var(--line-margin-end) + var(--line-margin-end)
|
|
|
|
);
|
2022-12-18 15:46:13 +03:00
|
|
|
}
|
2023-01-28 20:29:26 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant:not(.thread)
|
|
|
|
> .status-link
|
|
|
|
+ .replies
|
|
|
|
.replies
|
|
|
|
.replies
|
2023-03-30 15:07:07 +03:00
|
|
|
> .replies-summary {
|
2023-01-28 20:29:26 +03:00
|
|
|
margin-left: calc(
|
|
|
|
var(--thread-start) + var(--line-margin-end) + (var(--line-margin-end) * 2)
|
|
|
|
);
|
2023-03-30 15:07:07 +03:00
|
|
|
} */
|
2022-12-18 15:46:13 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant:not(.thread)
|
2023-07-31 19:59:58 +03:00
|
|
|
> :is(.status-link, .status-focus)
|
2022-12-18 15:46:13 +03:00
|
|
|
+ .replies
|
2023-07-31 19:59:58 +03:00
|
|
|
:is(.status-link, .status-focus) {
|
2023-03-30 15:07:07 +03:00
|
|
|
padding-left: calc(
|
|
|
|
var(--thread-start) + var(--line-margin-end) * var(--comments-level)
|
|
|
|
);
|
2023-01-28 20:02:25 +03:00
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
/* .timeline.contextual
|
2023-01-28 20:02:25 +03:00
|
|
|
> li.descendant:not(.thread)
|
|
|
|
> .status-link
|
|
|
|
+ .replies
|
|
|
|
.replies
|
|
|
|
.status-link {
|
2023-01-28 20:29:26 +03:00
|
|
|
padding-left: calc(var(--thread-start) + (var(--line-margin-end) * 2));
|
|
|
|
}
|
|
|
|
.timeline.contextual
|
|
|
|
> li.descendant:not(.thread)
|
|
|
|
> .status-link
|
|
|
|
+ .replies
|
|
|
|
.replies
|
|
|
|
.replies
|
|
|
|
.status-link {
|
|
|
|
padding-left: calc(var(--thread-start) + (var(--line-margin-end) * 3));
|
2023-03-30 15:07:07 +03:00
|
|
|
} */
|
2022-12-18 15:46:13 +03:00
|
|
|
.timeline.contextual > li.descendant:not(.thread):before {
|
2022-12-10 12:14:48 +03:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
2023-01-28 20:02:25 +03:00
|
|
|
left: var(--line-start);
|
|
|
|
width: var(--line-diameter);
|
|
|
|
height: var(--line-diameter);
|
|
|
|
border-radius: var(--line-radius);
|
2022-12-10 12:14:48 +03:00
|
|
|
border-style: solid;
|
2023-01-28 20:02:25 +03:00
|
|
|
border-width: var(--line-width);
|
2022-12-10 12:14:48 +03:00
|
|
|
border-color: transparent transparent var(--comment-line-color) transparent;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
2022-12-22 19:30:55 +03:00
|
|
|
.timeline.contextual > li .replies-link {
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
margin-left: 16px;
|
|
|
|
margin-top: -12px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
2023-04-08 13:32:00 +03:00
|
|
|
.timeline.contextual > li.ancestor .replies-link {
|
|
|
|
margin-left: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end)
|
|
|
|
);
|
|
|
|
}
|
2023-07-31 19:59:58 +03:00
|
|
|
.timeline.contextual
|
|
|
|
> li.thread
|
|
|
|
> :is(.status-link, .status-focus)
|
|
|
|
.replies-link {
|
2023-01-28 20:02:25 +03:00
|
|
|
margin-left: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end)
|
|
|
|
);
|
2022-12-23 20:11:11 +03:00
|
|
|
}
|
2022-12-22 19:30:55 +03:00
|
|
|
.timeline.contextual > li .replies-link * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2022-12-18 15:46:13 +03:00
|
|
|
.timeline.contextual > li .replies {
|
2022-12-19 11:35:22 +03:00
|
|
|
margin-top: -12px;
|
2022-12-18 15:46:13 +03:00
|
|
|
}
|
2023-05-08 07:47:30 +03:00
|
|
|
.timeline.contextual > li .replies :is(ul, li):not(.content *) {
|
2022-12-18 15:46:13 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
.timeline.contextual > li .replies > .replies-summary {
|
2023-01-31 11:12:57 +03:00
|
|
|
padding: 8px;
|
2022-12-18 15:46:13 +03:00
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
text-transform: uppercase;
|
2023-01-31 11:12:57 +03:00
|
|
|
font-weight: 500;
|
2022-12-18 15:46:13 +03:00
|
|
|
font-size: 12px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
user-select: none;
|
2022-12-18 19:19:44 +03:00
|
|
|
box-shadow: 0 0 0 2px var(--bg-color);
|
2022-12-19 11:35:09 +03:00
|
|
|
position: relative;
|
2023-01-28 20:02:25 +03:00
|
|
|
list-style: none;
|
2023-01-31 11:12:57 +03:00
|
|
|
white-space: nowrap;
|
2023-01-28 20:02:25 +03:00
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
.timeline.contextual > li .replies > .replies-summary::-webkit-details-marker {
|
2023-01-30 19:37:55 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
.timeline.contextual > li .replies > .replies-summary > * {
|
2023-01-28 20:02:25 +03:00
|
|
|
vertical-align: middle;
|
2022-12-18 15:46:13 +03:00
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
.timeline.contextual > li .replies > .replies-summary .avatars {
|
2023-01-28 20:02:25 +03:00
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
.timeline.contextual > li .replies > .replies-summary:active,
|
|
|
|
.timeline.contextual > li .replies[open] > .replies-summary {
|
2022-12-18 15:46:13 +03:00
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--comment-line-color);
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to top right,
|
|
|
|
var(--comment-line-color),
|
|
|
|
var(--bg-faded-color)
|
|
|
|
);
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
.timeline.contextual > li .replies[open] > .replies-summary {
|
2022-12-18 15:46:13 +03:00
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
.timeline.contextual > li .replies .replies-summary[hidden] {
|
2022-12-19 05:05:50 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2023-05-08 07:47:30 +03:00
|
|
|
.timeline.contextual > li .replies li:not(.content li) {
|
2022-12-10 12:14:48 +03:00
|
|
|
position: relative;
|
|
|
|
}
|
2023-05-08 07:47:30 +03:00
|
|
|
.timeline.contextual > li .replies li:not(.content li) {
|
2023-03-30 15:07:07 +03:00
|
|
|
--line-start: calc(
|
|
|
|
var(--thread-start) + var(--line-margin-end) * var(--comments-level)
|
|
|
|
);
|
2023-01-28 20:02:25 +03:00
|
|
|
--line-end: calc(var(--line-start) + var(--line-width));
|
2022-12-18 15:46:13 +03:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
transparent,
|
2023-01-28 20:02:25 +03:00
|
|
|
transparent var(--line-start),
|
|
|
|
var(--comment-line-color) var(--line-start),
|
|
|
|
var(--comment-line-color) var(--line-end),
|
|
|
|
transparent var(--line-end),
|
2022-12-18 15:46:13 +03:00
|
|
|
transparent
|
|
|
|
);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
/* .timeline.contextual > li .replies .replies li {
|
2023-01-28 20:29:26 +03:00
|
|
|
--line-start: calc(var(--thread-start) + (var(--line-margin-end) * 2));
|
|
|
|
}
|
|
|
|
.timeline.contextual > li .replies .replies .replies li {
|
|
|
|
--line-start: calc(var(--thread-start) + (var(--line-margin-end) * 3));
|
2023-03-30 15:07:07 +03:00
|
|
|
} */
|
2023-05-08 07:47:30 +03:00
|
|
|
.timeline.contextual > li.thread .replies li:not(.content li) {
|
2023-01-28 20:02:25 +03:00
|
|
|
--line-start: calc(
|
2023-03-30 15:07:07 +03:00
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
(var(--line-margin-end) * (var(--comments-level) - 1))
|
2023-01-28 20:02:25 +03:00
|
|
|
);
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
/* .timeline.contextual > li.thread .replies .replies li {
|
2023-01-28 20:02:25 +03:00
|
|
|
--line-start: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
var(--line-margin-end)
|
|
|
|
);
|
2022-12-23 20:11:11 +03:00
|
|
|
}
|
2023-01-28 20:29:26 +03:00
|
|
|
.timeline.contextual > li.thread .replies .replies .replies li {
|
|
|
|
--line-start: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
(var(--line-margin-end) * 2)
|
|
|
|
);
|
2023-03-30 15:07:07 +03:00
|
|
|
} */
|
2023-05-08 17:41:35 +03:00
|
|
|
.timeline.contextual > li .replies li:not(.content li):last-child {
|
2022-12-18 15:46:13 +03:00
|
|
|
background-size: 100% 20px;
|
|
|
|
}
|
2023-05-08 17:41:35 +03:00
|
|
|
.timeline.contextual > li .replies li:not(.content li):before {
|
2022-12-18 15:46:13 +03:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
2023-01-28 20:02:25 +03:00
|
|
|
left: var(--line-start);
|
|
|
|
width: var(--line-diameter);
|
|
|
|
height: var(--line-diameter);
|
|
|
|
border-radius: var(--line-radius);
|
2022-12-18 15:46:13 +03:00
|
|
|
border-style: solid;
|
2023-01-28 20:02:25 +03:00
|
|
|
border-width: var(--line-width);
|
2022-12-18 15:46:13 +03:00
|
|
|
border-color: transparent transparent var(--comment-line-color) transparent;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
/* .timeline.contextual > li .replies .replies li:before {
|
2023-01-28 20:02:25 +03:00
|
|
|
--line-start: calc(
|
|
|
|
var(--thread-start) + var(--line-margin-end) + var(--line-margin-end)
|
|
|
|
);
|
|
|
|
}
|
2023-01-28 20:29:26 +03:00
|
|
|
.timeline.contextual > li .replies .replies .replies li:before {
|
|
|
|
--line-start: calc(
|
|
|
|
var(--thread-start) + var(--line-margin-end) + (var(--line-margin-end) * 2)
|
|
|
|
);
|
2023-03-30 15:07:07 +03:00
|
|
|
} */
|
2023-05-08 17:41:35 +03:00
|
|
|
.timeline.contextual > li.thread .replies li:not(.content li):before {
|
2023-01-28 20:02:25 +03:00
|
|
|
--line-start: calc(
|
2023-03-30 15:07:07 +03:00
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
(var(--line-margin-end) * (var(--comments-level) - 1))
|
2023-01-28 20:02:25 +03:00
|
|
|
);
|
|
|
|
}
|
2023-03-30 15:07:07 +03:00
|
|
|
/* .timeline.contextual > li.thread .replies .replies li:before {
|
2023-01-28 20:02:25 +03:00
|
|
|
--line-start: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
var(--line-margin-end)
|
|
|
|
);
|
2022-12-18 15:46:13 +03:00
|
|
|
}
|
2023-01-28 20:29:26 +03:00
|
|
|
.timeline.contextual > li.thread .replies .replies .replies li:before {
|
|
|
|
--line-start: calc(
|
|
|
|
var(--avatar-size) + var(--avatar-margin-start) + var(--avatar-margin-end) +
|
|
|
|
(var(--line-margin-end) * 2)
|
|
|
|
);
|
2023-03-30 15:07:07 +03:00
|
|
|
} */
|
2022-12-20 10:32:31 +03:00
|
|
|
.timeline.contextual.loading > li:not(.hero) {
|
2023-01-28 09:05:04 +03:00
|
|
|
/* opacity: 0.5; */
|
2022-12-20 10:32:31 +03:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
.timeline-deck.compact .status {
|
|
|
|
max-height: max(25vh, 160px);
|
|
|
|
overflow: hidden;
|
2022-12-12 16:54:31 +03:00
|
|
|
mask-image: linear-gradient(
|
|
|
|
rgba(0, 0, 0, 1),
|
|
|
|
rgba(0, 0, 0, 1) 80%,
|
|
|
|
transparent 95%
|
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.timeline-deck.compact .status .meta ~ * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-header {
|
|
|
|
padding: 0 16px;
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-empty {
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
padding: 0 16px;
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
|
|
|
|
2023-03-26 18:18:36 +03:00
|
|
|
.timeline:not(.flat) > li.timeline-item-container {
|
2023-04-23 18:37:58 +03:00
|
|
|
--avatar-size: 50px;
|
2023-03-26 18:18:36 +03:00
|
|
|
--line-start: 40px;
|
|
|
|
--line-width: 3px;
|
|
|
|
--line-end: calc(var(--line-start) + var(--line-width));
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
transparent,
|
|
|
|
transparent var(--line-start),
|
|
|
|
var(--comment-line-color) var(--line-start),
|
|
|
|
var(--comment-line-color) var(--line-end),
|
|
|
|
transparent var(--line-end),
|
|
|
|
transparent
|
|
|
|
);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
.timeline:not(.flat) > li.timeline-item-container-start {
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-bottom: 0;
|
2023-04-23 18:37:58 +03:00
|
|
|
background-position: 0 calc(16px + var(--avatar-size));
|
2023-03-26 18:18:36 +03:00
|
|
|
}
|
|
|
|
.timeline:not(.flat) > li.timeline-item-container-middle {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
.timeline:not(.flat) > li.timeline-item-container-end {
|
|
|
|
margin-top: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-top: 0;
|
2023-04-23 18:37:58 +03:00
|
|
|
background-size: 100% 16px;
|
2023-03-26 18:18:36 +03:00
|
|
|
}
|
|
|
|
.timeline:not(.flat)
|
|
|
|
> li:is(.timeline-item-container-middle, .timeline-item-container-end)
|
2023-04-24 13:59:38 +03:00
|
|
|
.status-reply-to:not(.visibility-direct):not(.status-card) {
|
2023-03-26 18:18:36 +03:00
|
|
|
background-image: none;
|
|
|
|
}
|
2023-06-11 18:57:53 +03:00
|
|
|
.timeline:not(.flat)
|
|
|
|
> li.timeline-item-diff-author
|
2023-07-31 19:59:58 +03:00
|
|
|
> :is(.status-link, .status-focus)
|
2023-06-11 18:57:53 +03:00
|
|
|
> .status
|
|
|
|
> a
|
|
|
|
> .avatar {
|
|
|
|
transform: scale(0.8);
|
|
|
|
filter: drop-shadow(0 0 16px var(--bg-color))
|
|
|
|
drop-shadow(0 0 8px var(--bg-color)) drop-shadow(0 0 8px var(--bg-color));
|
|
|
|
}
|
2023-03-26 18:18:36 +03:00
|
|
|
|
2023-05-24 12:16:45 +03:00
|
|
|
.timeline .show-more {
|
|
|
|
padding-left: calc(var(--line-end) + var(--line-margin-end)) !important;
|
|
|
|
text-align: left;
|
|
|
|
background-color: transparent !important;
|
|
|
|
backdrop-filter: none !important;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 0;
|
|
|
|
padding-block: 16px !important;
|
|
|
|
}
|
|
|
|
.timeline .show-more:hover {
|
|
|
|
filter: none !important;
|
|
|
|
color: var(--text-color) !important;
|
|
|
|
background-color: var(--bg-faded-blur-color) !important;
|
|
|
|
}
|
|
|
|
.timeline .show-more:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
left: var(--line-start);
|
|
|
|
width: var(--line-diameter);
|
|
|
|
height: var(--line-diameter);
|
|
|
|
border-radius: var(--line-radius);
|
|
|
|
border-style: solid;
|
|
|
|
border-width: var(--line-width);
|
|
|
|
border-color: transparent transparent var(--comment-line-color) transparent;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
.status-loading {
|
|
|
|
text-align: center;
|
|
|
|
color: var(--text-insignificant-color);
|
2023-04-14 10:45:55 +03:00
|
|
|
max-width: var(--main-width);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-01 07:02:06 +03:00
|
|
|
.status-error {
|
|
|
|
text-align: center;
|
|
|
|
color: var(--text-insignificant-color);
|
2023-04-14 10:45:55 +03:00
|
|
|
max-width: var(--main-width);
|
2023-01-01 07:02:06 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
.status-link {
|
|
|
|
display: block;
|
|
|
|
text-decoration-line: none;
|
|
|
|
color: inherit;
|
2023-01-03 10:51:16 +03:00
|
|
|
user-select: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
transition: background-color 0.2s ease-out;
|
2022-12-22 14:44:22 +03:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
2023-01-02 16:36:24 +03:00
|
|
|
animation: appear 0.2s ease-out;
|
2023-03-07 19:01:51 +03:00
|
|
|
-webkit-touch-callout: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-08-01 04:12:43 +03:00
|
|
|
@media (pointer: coarse) {
|
2023-08-01 09:26:59 +03:00
|
|
|
.status-focus:not(.hero .status-focus) {
|
|
|
|
/* Only the hero doesn't have context menu */
|
2023-08-01 04:43:25 +03:00
|
|
|
user-select: none;
|
2023-08-01 04:12:43 +03:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
}
|
|
|
|
}
|
2023-01-27 15:54:18 +03:00
|
|
|
:is(.status-link, .status-focus):is(:focus, .is-active) {
|
2022-12-10 12:14:48 +03:00
|
|
|
background-color: var(--link-bg-hover-color);
|
2022-12-30 18:09:25 +03:00
|
|
|
outline-offset: -2px;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-24 11:26:22 +03:00
|
|
|
@media (hover: hover) {
|
|
|
|
.status-link:hover {
|
|
|
|
background-color: var(--link-bg-hover-color);
|
|
|
|
outline-offset: -2px;
|
|
|
|
}
|
|
|
|
}
|
2023-01-12 14:28:37 +03:00
|
|
|
.status-link:active:not(:has(:is(.media, button):active)) {
|
2022-12-30 06:03:03 +03:00
|
|
|
filter: brightness(0.95);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel {
|
|
|
|
--carousel-faded-color: var(--bg-faded-color);
|
2023-01-14 14:42:04 +03:00
|
|
|
background: linear-gradient(
|
|
|
|
to bottom right,
|
2023-02-17 05:55:16 +03:00
|
|
|
var(--carousel-faded-color),
|
2023-01-14 17:17:47 +03:00
|
|
|
transparent 150%
|
2023-01-14 14:42:04 +03:00
|
|
|
);
|
|
|
|
position: relative;
|
2023-09-03 13:10:47 +03:00
|
|
|
container-type: inline-size;
|
2023-01-14 14:42:04 +03:00
|
|
|
}
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel:after {
|
2023-01-14 14:42:04 +03:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
background-image: radial-gradient(
|
|
|
|
ellipse 50% 32px at bottom center,
|
2023-02-17 05:55:16 +03:00
|
|
|
var(--carousel-faded-color),
|
2023-01-14 14:42:04 +03:00
|
|
|
transparent
|
|
|
|
),
|
|
|
|
linear-gradient(to top, var(--bg-color), transparent 64px);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom center;
|
|
|
|
}
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel header {
|
2023-01-14 14:42:04 +03:00
|
|
|
padding: 8px 16px 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel h3 {
|
2023-01-14 14:42:04 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
text-transform: uppercase;
|
2023-02-17 05:55:16 +03:00
|
|
|
color: var(--carousel-color);
|
2023-01-14 14:42:04 +03:00
|
|
|
text-shadow: 0 1px var(--bg-color);
|
|
|
|
}
|
2023-05-04 05:28:34 +03:00
|
|
|
.status-carousel > ul {
|
2023-01-14 14:42:04 +03:00
|
|
|
display: flex;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
scroll-snap-type: x mandatory;
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
margin: 0;
|
|
|
|
padding: 8px 16px;
|
|
|
|
gap: 16px;
|
|
|
|
align-items: flex-start;
|
|
|
|
counter-reset: index;
|
2023-09-25 05:20:32 +03:00
|
|
|
min-height: 160px;
|
2023-01-14 14:42:04 +03:00
|
|
|
}
|
2023-05-04 05:28:34 +03:00
|
|
|
.status-carousel > ul > li {
|
2023-01-14 14:42:04 +03:00
|
|
|
scroll-snap-align: center;
|
|
|
|
scroll-snap-stop: always;
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
max-width: min(320px, calc(100% - 16px));
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2023-01-16 19:56:13 +03:00
|
|
|
max-height: 65vh;
|
|
|
|
max-height: 65dvh;
|
2023-01-14 14:42:04 +03:00
|
|
|
counter-increment: index;
|
|
|
|
position: relative;
|
|
|
|
}
|
2023-05-04 05:28:34 +03:00
|
|
|
.status-carousel > ul > li:is(:empty, :has(> a:empty)) {
|
2023-04-30 11:53:00 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2023-09-03 13:10:47 +03:00
|
|
|
/*
|
|
|
|
Assume that browsers that do support inline-size property also support container queries.
|
|
|
|
https://www.smashingmagazine.com/2021/05/css-container-queries-use-cases-migration-strategies/#progressive-enhancement-polyfills
|
|
|
|
*/
|
|
|
|
@supports not (contain: inline-size) {
|
|
|
|
@media (hover: hover) or (pointer: fine) or (min-width: 40em) {
|
|
|
|
.status-carousel > ul {
|
|
|
|
scroll-snap-type: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@container (min-width: 640px) {
|
2023-05-04 05:28:34 +03:00
|
|
|
.status-carousel > ul {
|
2023-03-29 16:24:00 +03:00
|
|
|
scroll-snap-type: none;
|
2023-03-28 16:25:41 +03:00
|
|
|
}
|
|
|
|
}
|
2023-02-18 20:10:06 +03:00
|
|
|
.status-carousel .content-container .content:only-child {
|
|
|
|
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
|
|
|
|
}
|
2023-08-09 08:29:31 +03:00
|
|
|
/* .status-carousel
|
2023-02-21 18:59:34 +03:00
|
|
|
.content-container[data-content-text-weight='1']
|
2023-02-18 20:10:06 +03:00
|
|
|
.media-container.media-eq1 {
|
2023-08-09 08:29:31 +03:00
|
|
|
/* LOL, this is madness, reading a value from the style attribute * /
|
2023-02-18 20:10:06 +03:00
|
|
|
height: auto;
|
2023-02-18 20:39:27 +03:00
|
|
|
min-height: 160px;
|
2023-02-18 20:23:31 +03:00
|
|
|
max-height: max(160px, 50vh);
|
2023-08-09 08:29:31 +03:00
|
|
|
} */
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel.boosts-carousel {
|
|
|
|
--carousel-color: var(--reblog-color);
|
|
|
|
--carousel-faded-color: var(--reblog-faded-color);
|
|
|
|
}
|
|
|
|
.status-carousel.boosts-carousel .status-reblog {
|
|
|
|
background-image: none;
|
|
|
|
}
|
2023-05-04 05:28:34 +03:00
|
|
|
.status-carousel.boosts-carousel > ul > li:before {
|
2023-01-14 14:42:04 +03:00
|
|
|
content: counter(index);
|
|
|
|
position: absolute;
|
2023-01-16 15:49:26 +03:00
|
|
|
left: 0;
|
2023-01-14 14:42:04 +03:00
|
|
|
font-size: 10px;
|
2023-02-17 05:55:16 +03:00
|
|
|
color: var(--carousel-color);
|
2023-01-14 14:42:04 +03:00
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
.ui-state {
|
|
|
|
padding: 16px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel-link {
|
2023-01-14 14:42:04 +03:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-decoration-line: none;
|
|
|
|
color: inherit;
|
|
|
|
user-select: none;
|
|
|
|
transition: background-color 0.2s ease-out;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
animation: appear 0.2s ease-out;
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
background-color: var(--bg-blur-color);
|
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
box-shadow: 0 1px var(--bg-color);
|
|
|
|
}
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel-link::focus {
|
2023-01-14 14:42:04 +03:00
|
|
|
background-color: var(--link-bg-hover-color);
|
|
|
|
}
|
2023-01-24 11:26:22 +03:00
|
|
|
@media (hover: hover) {
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel-link:hover {
|
2023-01-24 11:26:22 +03:00
|
|
|
background-color: var(--link-bg-hover-color);
|
|
|
|
}
|
|
|
|
}
|
2023-02-17 05:55:16 +03:00
|
|
|
.status-carousel-link:active:not(:has(:is(.media, button):active)) {
|
2023-01-14 14:42:04 +03:00
|
|
|
filter: brightness(0.95);
|
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
.deck-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1000;
|
|
|
|
display: flex;
|
|
|
|
background-color: var(--backdrop-color);
|
2023-01-02 10:00:13 +03:00
|
|
|
animation: appear 0.2s ease-out;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.deck-backdrop > a {
|
|
|
|
flex-grow: 1;
|
2023-01-02 10:00:13 +03:00
|
|
|
/* backdrop-filter: saturate(0.75); */
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
@keyframes slide-in {
|
|
|
|
0% {
|
2022-12-20 10:13:49 +03:00
|
|
|
transform: translate3d(100%, 0, 0);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
100% {
|
2022-12-20 10:13:49 +03:00
|
|
|
transform: translate3d(0, 0, 0);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.deck-backdrop .deck {
|
2023-02-17 15:47:09 +03:00
|
|
|
width: var(--main-width);
|
2022-12-10 12:14:48 +03:00
|
|
|
max-width: 100vw;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
box-shadow: -1px 0 var(--bg-color);
|
|
|
|
}
|
2023-04-17 14:31:11 +03:00
|
|
|
.deck-backdrop .deck.slide-in:not(.deck-view-full) {
|
2023-04-14 10:30:04 +03:00
|
|
|
animation: slide-in 0.5s var(--timing-function);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.deck-backdrop .deck .status {
|
2023-02-17 15:47:09 +03:00
|
|
|
max-width: var(--main-width);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-04-20 16:37:55 +03:00
|
|
|
.deck-backdrop .deck .menu-switch-view {
|
2023-04-16 19:14:09 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 40em) {
|
2023-04-20 16:37:55 +03:00
|
|
|
.deck-backdrop .deck .menu-switch-view {
|
2023-04-16 19:14:09 +03:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.deck-backdrop .deck.deck-view-full {
|
2023-08-10 16:58:11 +03:00
|
|
|
/* min-width: 100%; */
|
|
|
|
width: 100%;
|
2023-04-16 19:14:09 +03:00
|
|
|
background-image: radial-gradient(
|
|
|
|
circle,
|
|
|
|
transparent 30em,
|
|
|
|
var(--bg-faded-color)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
.deck-backdrop .deck.deck-view-full > * {
|
|
|
|
max-width: calc(var(--main-width) + 32px);
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
.deck-backdrop .deck.deck-view-full .status {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
.deck-close {
|
|
|
|
color: var(--text-insignificant-color) !important;
|
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
.deck-close:is(:hover, :focus) {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--text-color) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(button, .button).plain.has-badge:after {
|
2022-12-12 16:54:31 +03:00
|
|
|
content: '';
|
2022-12-10 12:14:48 +03:00
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--link-color);
|
2022-12-12 16:54:31 +03:00
|
|
|
opacity: 0.5;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fade-from-top {
|
|
|
|
0% {
|
2023-01-07 16:03:01 +03:00
|
|
|
transform: translate(-50%, -200%);
|
2022-12-10 12:14:48 +03:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
2023-01-01 14:24:08 +03:00
|
|
|
transform: translate(-50%, 0);
|
2022-12-10 12:14:48 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.updates-button {
|
|
|
|
position: absolute;
|
2023-01-04 14:41:35 +03:00
|
|
|
z-index: 2;
|
2023-02-07 19:31:46 +03:00
|
|
|
top: 3em;
|
2023-02-09 19:36:56 +03:00
|
|
|
animation: fade-from-top 0.3s var(--timing-function);
|
2022-12-10 12:14:48 +03:00
|
|
|
left: 50%;
|
2023-02-07 19:31:46 +03:00
|
|
|
margin-top: 16px;
|
2023-01-01 14:24:08 +03:00
|
|
|
transform: translate(-50%, 0);
|
2022-12-19 14:24:51 +03:00
|
|
|
font-size: 90%;
|
2023-03-03 06:14:10 +03:00
|
|
|
pointer-events: auto;
|
2022-12-19 14:24:51 +03:00
|
|
|
}
|
|
|
|
.updates-button .icon {
|
|
|
|
vertical-align: top;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-24 20:49:40 +03:00
|
|
|
@media (pointer: coarse) {
|
|
|
|
.updates-button:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: -16px;
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
/* BOX */
|
|
|
|
|
|
|
|
.box {
|
2023-02-17 15:47:09 +03:00
|
|
|
width: var(--main-width);
|
2022-12-10 12:14:48 +03:00
|
|
|
max-width: 100vw;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CAROUSEL */
|
|
|
|
/* use snap, center children, max width viewport */
|
|
|
|
|
2023-04-14 10:30:04 +03:00
|
|
|
.media-modal-container {
|
|
|
|
position: relative;
|
2023-08-10 16:58:11 +03:00
|
|
|
width: 70%;
|
|
|
|
flex-grow: 1;
|
2023-04-20 14:10:07 +03:00
|
|
|
background-color: var(--backdrop-solid-color);
|
2023-04-14 10:30:04 +03:00
|
|
|
animation: appear 0.3s var(--timing-function) both;
|
|
|
|
}
|
2023-04-15 07:26:11 +03:00
|
|
|
.media-modal-container.loading {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background-image: radial-gradient(
|
|
|
|
closest-side,
|
|
|
|
var(--bg-blur-color),
|
|
|
|
transparent
|
|
|
|
);
|
|
|
|
}
|
2023-04-14 10:30:04 +03:00
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
.carousel {
|
|
|
|
display: flex;
|
|
|
|
overflow-x: auto;
|
|
|
|
scroll-snap-type: x mandatory;
|
|
|
|
/* scroll-behavior: smooth; */
|
|
|
|
scrollbar-width: none;
|
2022-12-11 11:00:44 +03:00
|
|
|
overscroll-behavior: contain;
|
2022-12-28 15:38:16 +03:00
|
|
|
touch-action: pan-x;
|
2023-01-24 17:21:27 +03:00
|
|
|
user-select: none;
|
2023-01-29 10:23:53 +03:00
|
|
|
width: 100%;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.carousel::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-03-27 14:26:00 +03:00
|
|
|
.carousel .carousel-item {
|
2022-12-10 12:14:48 +03:00
|
|
|
scroll-snap-align: center;
|
2022-12-23 04:17:41 +03:00
|
|
|
scroll-snap-stop: always;
|
2022-12-10 12:14:48 +03:00
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-01-29 10:23:53 +03:00
|
|
|
width: 100%;
|
2022-12-10 12:14:48 +03:00
|
|
|
height: 100vh;
|
2022-12-11 03:14:14 +03:00
|
|
|
height: 100dvh;
|
2023-01-07 15:38:05 +03:00
|
|
|
background-color: var(--average-color-alpha);
|
|
|
|
background-image: radial-gradient(
|
|
|
|
closest-side,
|
|
|
|
var(--average-color) 10%,
|
|
|
|
var(--average-color-alpha) 40%,
|
|
|
|
transparent 100%
|
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-03-27 14:26:00 +03:00
|
|
|
.carousel .carousel-item :is(img, video) {
|
2022-12-10 12:14:48 +03:00
|
|
|
width: auto;
|
2023-01-29 10:23:53 +03:00
|
|
|
max-width: 100%;
|
2022-12-10 12:14:48 +03:00
|
|
|
height: auto;
|
|
|
|
max-height: 100vh;
|
2022-12-11 03:14:14 +03:00
|
|
|
max-height: 100dvh;
|
2022-12-28 09:43:58 +03:00
|
|
|
vertical-align: middle;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-03-27 14:26:00 +03:00
|
|
|
.carousel .carousel-item video {
|
2022-12-20 08:21:53 +03:00
|
|
|
min-height: 80px;
|
2022-12-28 09:43:58 +03:00
|
|
|
max-height: 80vh; /* prevent other UI elements from obscuring video */
|
2022-12-20 08:21:53 +03:00
|
|
|
}
|
2023-03-27 14:26:00 +03:00
|
|
|
.carousel .carousel-item .media {
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
|
|
|
|
env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
|
|
|
|
background-origin: content-box;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2022-12-10 17:27:00 +03:00
|
|
|
.carousel-top-controls {
|
|
|
|
top: 0;
|
2022-12-18 16:07:40 +03:00
|
|
|
top: env(safe-area-inset-top, 0);
|
2022-12-10 17:27:00 +03:00
|
|
|
}
|
|
|
|
:is(.carousel-top-controls, .carousel-controls) {
|
2023-10-03 15:38:55 +03:00
|
|
|
/* mix-blend-mode: luminosity; */
|
2023-04-14 10:30:04 +03:00
|
|
|
position: absolute;
|
2022-12-18 16:07:40 +03:00
|
|
|
left: 0;
|
|
|
|
left: env(safe-area-inset-left, 0);
|
|
|
|
right: 0;
|
|
|
|
right: env(safe-area-inset-right, 0);
|
2022-12-10 17:27:00 +03:00
|
|
|
padding: 16px;
|
2022-12-10 12:14:48 +03:00
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
justify-content: space-between;
|
2022-12-10 17:27:00 +03:00
|
|
|
text-align: center;
|
2022-12-10 18:39:12 +03:00
|
|
|
pointer-events: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-28 14:31:08 +03:00
|
|
|
:is(.carousel-top-controls, .carousel-controls)[hidden] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2023-04-17 09:41:40 +03:00
|
|
|
.carousel-controls {
|
|
|
|
top: 45%;
|
|
|
|
}
|
2022-12-10 17:27:00 +03:00
|
|
|
|
2023-01-01 07:28:54 +03:00
|
|
|
:is(.button, button).carousel-button,
|
2022-12-11 09:35:57 +03:00
|
|
|
button.carousel-dot {
|
2022-12-10 18:39:12 +03:00
|
|
|
pointer-events: auto;
|
2022-12-10 12:14:48 +03:00
|
|
|
font-weight: bold;
|
2023-08-14 15:32:09 +03:00
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--bg-faded-blur-color);
|
2023-08-27 08:07:06 +03:00
|
|
|
border: 1px solid var(--outline-color);
|
2023-08-14 15:32:09 +03:00
|
|
|
box-shadow: 0 4px 32px var(--drop-shadow-color);
|
|
|
|
transition: all 0.2s ease-out;
|
|
|
|
}
|
|
|
|
button.carousel-dot {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.carousel-controls :is(.button, button).carousel-button {
|
|
|
|
background-color: var(--bg-blur-color);
|
|
|
|
}
|
|
|
|
.carousel-controls
|
|
|
|
:is(.button, button).carousel-button:is(:hover, :focus):not(:active) {
|
|
|
|
background-color: var(--bg-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-03-28 10:59:20 +03:00
|
|
|
.carousel-top-controls .szh-menu-container {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
2023-01-01 07:28:54 +03:00
|
|
|
:is(.button, button).carousel-button[hidden] {
|
2022-12-10 12:14:48 +03:00
|
|
|
display: inline-block;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.carousel-dots {
|
|
|
|
border-radius: 999px;
|
2023-08-14 15:32:09 +03:00
|
|
|
background-color: var(--bg-faded-blur-color);
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
box-shadow: 0 4px 32px var(--drop-shadow-color);
|
|
|
|
/* backdrop-filter: blur(12px) invert(0.25); */
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
button.carousel-dot {
|
|
|
|
backdrop-filter: none !important;
|
2023-08-14 15:32:09 +03:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-22 11:27:00 +03:00
|
|
|
button.carousel-dot[disabled] {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-08-10 18:52:29 +03:00
|
|
|
button.carousel-dot .icon {
|
|
|
|
transition: all 0.2s;
|
|
|
|
transform: scale(0.5);
|
|
|
|
}
|
|
|
|
button.carousel-dot:not(.active) .icon {
|
2023-02-28 16:02:55 +03:00
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2023-08-10 18:52:29 +03:00
|
|
|
button.carousel-dot:not(.active):is(:hover, :focus) .icon {
|
2023-02-28 16:02:55 +03:00
|
|
|
opacity: 1;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-22 11:27:00 +03:00
|
|
|
button.carousel-dot:is(.active, [disabled].active) {
|
2022-12-12 03:46:50 +03:00
|
|
|
opacity: 1;
|
2023-08-10 18:52:29 +03:00
|
|
|
}
|
|
|
|
button.carousel-dot:is(.active, [disabled].active) .icon {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
2022-12-10 15:47:53 +03:00
|
|
|
}
|
2022-12-10 15:56:38 +03:00
|
|
|
@media (hover: hover) {
|
2022-12-10 18:39:12 +03:00
|
|
|
.carousel-top-controls {
|
|
|
|
transform: translateY(-100%);
|
|
|
|
transition: transform 0.2s ease-in-out;
|
|
|
|
}
|
2022-12-10 15:56:38 +03:00
|
|
|
.carousel-controls {
|
2023-01-29 10:23:53 +03:00
|
|
|
transform: scale(0);
|
|
|
|
/* transition: transform 0.2s ease-in-out; */
|
2022-12-10 15:56:38 +03:00
|
|
|
}
|
2023-08-14 15:55:21 +03:00
|
|
|
.carousel-controls
|
|
|
|
:is(.button, button).carousel-button:is(:hover, :focus):not(:active) {
|
|
|
|
transform: scale(1.2);
|
|
|
|
}
|
|
|
|
.carousel-controls :is(.button, button).carousel-button:active {
|
|
|
|
transition-duration: 0s;
|
|
|
|
}
|
|
|
|
|
2022-12-28 14:31:08 +03:00
|
|
|
:is(.carousel-top-controls, .carousel-controls)[hidden] {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2022-12-10 18:39:12 +03:00
|
|
|
.carousel:hover + .carousel-top-controls,
|
|
|
|
.carousel:hover + .carousel-top-controls + .carousel-controls,
|
|
|
|
.carousel-top-controls:hover,
|
2022-12-10 15:56:38 +03:00
|
|
|
.carousel-controls:hover,
|
2022-12-10 18:39:12 +03:00
|
|
|
.carousel-top-controls:focus-within,
|
2022-12-10 15:56:38 +03:00
|
|
|
.carousel-controls:focus-within {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2023-01-29 10:23:53 +03:00
|
|
|
/* CAROUSEL + STATUS PAGE COMBO */
|
|
|
|
|
2023-01-29 10:55:15 +03:00
|
|
|
.media-post-link .button-label {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-02-18 12:38:42 +03:00
|
|
|
body:has(.status-deck) .media-post-link {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-01-29 10:55:15 +03:00
|
|
|
|
2023-04-14 10:30:04 +03:00
|
|
|
/* ✨ New */
|
|
|
|
body:has(.media-modal-container + .status-deck) .media-post-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.media-modal-container + .status-deck {
|
|
|
|
/* display: none; */
|
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
2023-01-29 10:23:53 +03:00
|
|
|
@media (min-width: calc(40em + 350px)) {
|
2023-01-29 10:55:15 +03:00
|
|
|
.media-post-link .button-label {
|
|
|
|
display: inline;
|
|
|
|
}
|
2023-01-29 10:23:53 +03:00
|
|
|
#modal-container > div,
|
|
|
|
.status-deck {
|
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
/* Don't do this if there's a modal sheet (.sheet) */
|
2023-02-23 12:01:59 +03:00
|
|
|
:has(#modal-container .carousel):has(.status-deck):not(
|
|
|
|
:has(.sheet, #compose-container)
|
|
|
|
)
|
2023-01-29 10:23:53 +03:00
|
|
|
.status-deck {
|
|
|
|
width: 350px;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2023-02-23 12:01:59 +03:00
|
|
|
:has(#modal-container .carousel):has(.status-deck):not(
|
|
|
|
:has(.sheet, #compose-container)
|
|
|
|
)
|
2023-01-29 10:23:53 +03:00
|
|
|
#modal-container
|
|
|
|
> div {
|
|
|
|
left: 0;
|
|
|
|
right: 350px;
|
|
|
|
width: auto;
|
|
|
|
}
|
2023-04-14 10:30:04 +03:00
|
|
|
/* ✨ New */
|
2023-08-10 16:58:11 +03:00
|
|
|
/* .deck-backdrop > a {
|
2023-04-14 10:30:04 +03:00
|
|
|
width: 100%;
|
|
|
|
flex-grow: 0;
|
2023-08-10 16:58:11 +03:00
|
|
|
} */
|
2023-04-16 19:14:09 +03:00
|
|
|
.deck-backdrop .media-modal-container + .status-deck:not(.deck-view-full) {
|
2023-04-14 10:30:04 +03:00
|
|
|
/* display: block; */
|
2023-08-10 16:58:11 +03:00
|
|
|
width: 30%;
|
|
|
|
/* min-width: 350px; */
|
2023-04-14 10:30:04 +03:00
|
|
|
position: static;
|
|
|
|
z-index: 1;
|
|
|
|
pointer-events: auto;
|
|
|
|
user-select: auto;
|
|
|
|
}
|
|
|
|
.deck-backdrop .media-modal-container + .status-deck:not(.slide-in) {
|
|
|
|
animation: appear 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
body:has(.media-modal-container + .status-deck) .media-post-link {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-01-29 10:23:53 +03:00
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
/* COMPOSE BUTTON */
|
|
|
|
|
|
|
|
#compose-button {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 16px;
|
2022-12-18 16:07:40 +03:00
|
|
|
bottom: max(16px, env(safe-area-inset-bottom));
|
2022-12-10 12:14:48 +03:00
|
|
|
right: 16px;
|
2022-12-18 16:07:40 +03:00
|
|
|
right: max(16px, env(safe-area-inset-right));
|
2022-12-10 12:14:48 +03:00
|
|
|
padding: 16px;
|
2023-01-01 12:19:20 +03:00
|
|
|
background-color: var(--button-bg-blur-color);
|
|
|
|
backdrop-filter: blur(16px);
|
2023-05-06 12:12:13 +03:00
|
|
|
z-index: 10;
|
2023-02-12 03:10:48 +03:00
|
|
|
box-shadow: 0 3px 8px -1px var(--drop-shadow-color),
|
2023-01-01 12:19:20 +03:00
|
|
|
0 10px 36px -4px var(--button-bg-blur-color);
|
2023-01-02 16:36:24 +03:00
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
}
|
2023-05-08 17:41:21 +03:00
|
|
|
.deck-container:has(header[hidden]) ~ #compose-button,
|
2023-01-02 16:36:24 +03:00
|
|
|
#compose-button[hidden] {
|
2023-01-02 16:43:04 +03:00
|
|
|
transform: translateY(200%);
|
2023-01-02 16:36:24 +03:00
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
2023-02-27 18:59:41 +03:00
|
|
|
opacity: 0;
|
2023-01-02 16:36:24 +03:00
|
|
|
}
|
|
|
|
#compose-button .icon {
|
|
|
|
transition: transform 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
#compose-button[hidden] .icon {
|
2023-02-08 14:34:58 +03:00
|
|
|
transform: rotate3d(0, 0, 1, -25deg);
|
2023-01-01 12:19:20 +03:00
|
|
|
}
|
|
|
|
#compose-button:is(:hover, :focus) {
|
|
|
|
background-color: var(--button-bg-color);
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
#compose-button:active {
|
2023-02-17 14:31:28 +03:00
|
|
|
transform: scale(0.95);
|
|
|
|
transition: none;
|
2023-01-01 12:19:20 +03:00
|
|
|
}
|
|
|
|
#compose-button .icon {
|
|
|
|
filter: drop-shadow(0 1px 2px var(--button-bg-color));
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-28 03:30:38 +03:00
|
|
|
@media (max-width: calc(40em - 1px)) {
|
2023-04-02 10:18:08 +03:00
|
|
|
#app[data-shortcuts-view-mode='tab-menu-bar'] #compose-button {
|
2023-02-28 03:30:38 +03:00
|
|
|
bottom: calc(16px + 52px);
|
|
|
|
bottom: calc(16px + env(safe-area-inset-bottom) + 52px);
|
|
|
|
}
|
2023-02-27 18:59:41 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
/* SHEET */
|
|
|
|
|
|
|
|
.sheet {
|
|
|
|
align-self: flex-end;
|
2022-12-25 13:01:01 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-12-10 12:14:48 +03:00
|
|
|
max-height: 90vh;
|
2022-12-15 07:38:30 +03:00
|
|
|
max-height: 90dvh;
|
2023-03-15 17:06:36 +03:00
|
|
|
/* overflow: hidden; */
|
2022-12-10 12:14:48 +03:00
|
|
|
background-color: var(--bg-color);
|
|
|
|
width: 100%;
|
2023-02-17 15:47:09 +03:00
|
|
|
max-width: calc(var(--main-width) - 50px - 16px);
|
2022-12-17 19:38:19 +03:00
|
|
|
border-radius: 16px 16px 0 0;
|
2023-03-06 13:19:37 +03:00
|
|
|
box-shadow: 0 -1px 32px var(--drop-shadow-color);
|
2022-12-30 08:55:46 +03:00
|
|
|
animation: slide-up 0.3s var(--timing-function);
|
2023-03-10 12:36:42 +03:00
|
|
|
/* border: 1px solid var(--outline-color); */
|
2023-04-20 11:10:57 +03:00
|
|
|
position: relative;
|
2022-12-25 13:01:01 +03:00
|
|
|
}
|
2023-01-13 12:23:18 +03:00
|
|
|
.sheet-max {
|
|
|
|
width: 90vw;
|
|
|
|
width: 90dvw;
|
|
|
|
max-width: none;
|
|
|
|
height: 90vh;
|
|
|
|
height: 90dvh;
|
|
|
|
}
|
2023-04-20 11:10:57 +03:00
|
|
|
.sheet .sheet-close {
|
|
|
|
position: absolute;
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 0;
|
|
|
|
right: env(safe-area-inset-right);
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
z-index: 2;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: radial-gradient(
|
|
|
|
circle,
|
|
|
|
var(--close-button-bg-color) 0px 14px,
|
|
|
|
transparent 14px
|
|
|
|
);
|
|
|
|
color: var(--close-button-color);
|
|
|
|
}
|
|
|
|
.sheet .sheet-close.outer {
|
|
|
|
margin-top: -44px;
|
|
|
|
background-image: radial-gradient(
|
|
|
|
circle,
|
|
|
|
var(--bg-faded-color) 0px 14px,
|
|
|
|
transparent 14px
|
|
|
|
);
|
|
|
|
}
|
|
|
|
.sheet .sheet-close:is(:hover, :focus) {
|
|
|
|
color: var(--close-button-hover-color);
|
|
|
|
}
|
|
|
|
.sheet .sheet-close:active {
|
|
|
|
background-image: radial-gradient(
|
|
|
|
circle,
|
|
|
|
var(--close-button-bg-active-color) 0px 14px,
|
|
|
|
transparent 14px
|
|
|
|
);
|
|
|
|
}
|
2022-12-25 13:01:01 +03:00
|
|
|
.sheet header {
|
|
|
|
padding: 16px 16px 8px;
|
|
|
|
padding-left: max(16px, env(safe-area-inset-left));
|
|
|
|
padding-right: max(16px, env(safe-area-inset-right));
|
2023-01-03 10:51:16 +03:00
|
|
|
user-select: none;
|
2022-12-25 13:01:01 +03:00
|
|
|
}
|
2023-04-20 11:10:57 +03:00
|
|
|
.sheet .sheet-close:not(.outer) + header {
|
|
|
|
padding-right: max(44px, env(safe-area-inset-right));
|
|
|
|
}
|
2023-01-05 20:51:39 +03:00
|
|
|
.sheet header :is(h1, h2, h3) {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2023-03-07 17:38:06 +03:00
|
|
|
.sheet header.header-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
grid-gap: 8px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2022-12-25 13:01:01 +03:00
|
|
|
.sheet main {
|
|
|
|
overflow: auto;
|
|
|
|
overflow-x: hidden;
|
2022-12-23 03:00:11 +03:00
|
|
|
overscroll-behavior: contain;
|
2022-12-25 13:01:01 +03:00
|
|
|
padding: 16px 16px;
|
|
|
|
padding-left: max(16px, env(safe-area-inset-left));
|
|
|
|
padding-right: max(16px, env(safe-area-inset-right));
|
|
|
|
padding-bottom: max(16px, env(safe-area-inset-bottom));
|
|
|
|
}
|
|
|
|
.sheet header + main {
|
|
|
|
padding-top: 0;
|
2022-12-27 14:12:36 +03:00
|
|
|
mask-image: linear-gradient(to bottom, transparent 0%, black 10px);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
2023-02-11 17:36:19 +03:00
|
|
|
/* ICON */
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
/* TAG */
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
font-size: smaller;
|
|
|
|
color: var(--bg-faded-color);
|
|
|
|
background-color: var(--text-insignificant-color);
|
|
|
|
padding: 2px 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 4px;
|
|
|
|
align-self: center;
|
2023-09-28 10:48:32 +03:00
|
|
|
|
|
|
|
&.clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-27 12:54:48 +03:00
|
|
|
.tag .icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2023-05-06 12:13:39 +03:00
|
|
|
.tag.collapsed {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2023-08-15 15:14:09 +03:00
|
|
|
.tag.insignificant {
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
}
|
2023-06-28 18:37:05 +03:00
|
|
|
.tag.danger {
|
|
|
|
background-color: var(--red-color);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2022-12-12 16:54:31 +03:00
|
|
|
/* MENU POPUP */
|
|
|
|
|
2023-03-07 19:01:51 +03:00
|
|
|
.szh-menu-container {
|
|
|
|
user-select: none;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-drag: none;
|
|
|
|
}
|
2023-05-13 15:20:47 +03:00
|
|
|
body > .szh-menu-container {
|
|
|
|
position: fixed !important;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2023-02-28 03:12:07 +03:00
|
|
|
.szh-menu-container:has(.szh-menu--state-open) {
|
|
|
|
inset: 0;
|
2023-02-28 11:56:30 +03:00
|
|
|
inset: env(safe-area-inset-top) env(safe-area-inset-right)
|
|
|
|
env(safe-area-inset-bottom) env(safe-area-inset-left);
|
2023-02-28 03:12:07 +03:00
|
|
|
}
|
2023-01-24 15:56:43 +03:00
|
|
|
.szh-menu {
|
2023-02-16 12:51:54 +03:00
|
|
|
padding: 8px 0;
|
2022-12-12 16:54:31 +03:00
|
|
|
margin: 0;
|
2023-03-08 12:17:23 +03:00
|
|
|
font-size: var(--text-size);
|
2023-02-16 12:51:54 +03:00
|
|
|
background-color: var(--bg-color);
|
|
|
|
border: 1px solid var(--outline-color);
|
2022-12-12 16:54:31 +03:00
|
|
|
border-radius: 8px;
|
2023-02-26 19:55:04 +03:00
|
|
|
box-shadow: 0 3px 16px -3px var(--drop-shadow-color);
|
2023-01-24 15:56:43 +03:00
|
|
|
text-align: left;
|
2023-02-17 14:39:33 +03:00
|
|
|
animation: appear-smooth 0.15s ease-in-out;
|
2023-02-10 19:15:20 +03:00
|
|
|
width: 16em;
|
|
|
|
max-width: 90vw;
|
2023-07-17 16:01:00 +03:00
|
|
|
/* overflow: hidden; */
|
2023-02-16 12:51:54 +03:00
|
|
|
}
|
2023-03-18 11:24:04 +03:00
|
|
|
.szh-menu[aria-label='Submenu'] {
|
|
|
|
background-color: var(--bg-blur-color);
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
box-shadow: 0 3px 24px -3px var(--drop-shadow-color);
|
2022-12-12 16:54:31 +03:00
|
|
|
}
|
2023-02-26 19:55:04 +03:00
|
|
|
.szh-menu__header {
|
|
|
|
margin: -8px 0 8px;
|
|
|
|
padding: 8px 16px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
font-size: 90%;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
/* background-image: linear-gradient(to top, var(--bg-faded-color), transparent); */
|
|
|
|
text-shadow: 0 1px 0 var(--bg-color);
|
|
|
|
line-height: 1.2;
|
|
|
|
/* border-bottom: 1px solid var(--outline-color); */
|
2023-07-17 16:01:00 +03:00
|
|
|
border-radius: 8px 8px 0 0;
|
2023-02-26 19:55:04 +03:00
|
|
|
}
|
2023-03-24 10:05:57 +03:00
|
|
|
.szh-menu__header.plain {
|
|
|
|
margin-bottom: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2023-02-26 19:55:04 +03:00
|
|
|
.szh-menu__header * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2023-07-17 16:01:00 +03:00
|
|
|
.szh-menu.menu-emphasized {
|
|
|
|
border-color: var(--outline-hover-color);
|
|
|
|
box-shadow: 0 3px 16px -3px var(--drop-shadow-color),
|
|
|
|
0 3px 32px var(--drop-shadow-color), 0 3px 48px var(--drop-shadow-color);
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
animation-duration: 0.3s;
|
|
|
|
animation-timing-function: ease-in-out;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.szh-menu .footer {
|
|
|
|
margin: 8px 0 -8px;
|
|
|
|
padding: 8px 16px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
font-size: 90%;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
text-shadow: 0 1px 0 var(--bg-color);
|
|
|
|
line-height: 1.2;
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 0 0 8px 8px;
|
|
|
|
}
|
2023-01-24 15:56:43 +03:00
|
|
|
.szh-menu .szh-menu__item {
|
2023-02-26 19:55:04 +03:00
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
align-items: center;
|
2023-03-18 11:24:04 +03:00
|
|
|
line-height: 1.1;
|
2023-01-24 15:56:43 +03:00
|
|
|
padding: 8px 16px !important;
|
2023-02-10 08:39:46 +03:00
|
|
|
transition: all 0.1s ease-in-out;
|
2023-03-09 16:51:50 +03:00
|
|
|
text-decoration: none;
|
2023-02-10 19:15:20 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-03-09 16:51:50 +03:00
|
|
|
}
|
2023-03-18 11:24:04 +03:00
|
|
|
.szh-menu .szh-menu__item--focusable {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2023-03-09 16:51:50 +03:00
|
|
|
.szh-menu .szh-menu__item span {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2022-12-12 16:54:31 +03:00
|
|
|
}
|
2023-04-09 19:30:13 +03:00
|
|
|
/* .szh-menu .szh-menu__item * {
|
2023-01-28 17:34:36 +03:00
|
|
|
vertical-align: middle;
|
2023-04-09 19:30:13 +03:00
|
|
|
} */
|
2023-02-10 08:39:46 +03:00
|
|
|
.szh-menu .szh-menu__item a {
|
2023-02-26 19:55:04 +03:00
|
|
|
flex: 1;
|
2023-02-10 19:15:20 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-02-16 12:51:54 +03:00
|
|
|
display: flex;
|
2023-02-26 19:55:04 +03:00
|
|
|
gap: 8px;
|
2023-02-10 08:39:46 +03:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 8px 16px !important;
|
|
|
|
margin: -8px -16px !important;
|
2023-03-13 13:53:58 +03:00
|
|
|
align-items: center;
|
2023-04-24 14:16:23 +03:00
|
|
|
user-select: none;
|
|
|
|
-webkit-touch-callout: none;
|
2023-02-16 12:51:54 +03:00
|
|
|
}
|
|
|
|
.szh-menu .szh-menu__item a.is-active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.szh-menu .szh-menu__item .icon {
|
|
|
|
opacity: 0.5;
|
2023-02-10 08:39:46 +03:00
|
|
|
}
|
2023-01-24 15:56:43 +03:00
|
|
|
.szh-menu
|
|
|
|
.szh-menu__item:not(.szh-menu__item--disabled, .szh-menu__item--hover) {
|
|
|
|
color: var(--text-color);
|
2022-12-12 16:54:31 +03:00
|
|
|
}
|
2023-02-25 05:04:30 +03:00
|
|
|
.szh-menu .szh-menu__item--hover:not(.menu-field) {
|
2023-01-24 15:56:43 +03:00
|
|
|
color: var(--button-text-color);
|
|
|
|
background-color: var(--button-bg-color);
|
2022-12-12 16:54:31 +03:00
|
|
|
}
|
2023-02-10 19:15:20 +03:00
|
|
|
.szh-menu__divider {
|
|
|
|
background-color: var(--divider-color);
|
|
|
|
}
|
2023-02-16 12:51:54 +03:00
|
|
|
.szh-menu .szh-menu__item .menu-grow {
|
|
|
|
flex-grow: 1;
|
2023-02-25 06:36:07 +03:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2023-02-16 12:51:54 +03:00
|
|
|
}
|
2023-03-09 16:51:50 +03:00
|
|
|
.szh-menu .menu-double-lines {
|
2023-03-24 10:05:57 +03:00
|
|
|
white-space: normal !important;
|
2023-03-09 16:51:50 +03:00
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
2023-03-24 10:05:57 +03:00
|
|
|
overflow: hidden !important;
|
2023-03-09 16:51:50 +03:00
|
|
|
}
|
|
|
|
.szh-menu .menu-double-lines span {
|
|
|
|
white-space: normal;
|
2023-03-09 18:46:55 +03:00
|
|
|
line-height: inherit;
|
|
|
|
font-size: inherit;
|
2023-03-09 16:51:50 +03:00
|
|
|
}
|
|
|
|
.szh-menu .menu-horizontal {
|
2023-07-17 16:01:00 +03:00
|
|
|
display: grid;
|
|
|
|
/* two columns only */
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
2023-03-09 16:51:50 +03:00
|
|
|
}
|
2023-08-09 14:59:06 +03:00
|
|
|
.szh-menu .menu-horizontal:has(> .szh-menu__item:only-child) {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
2023-07-17 16:01:00 +03:00
|
|
|
.szh-menu .menu-horizontal > .szh-menu__item:not(:only-child):first-child,
|
|
|
|
.szh-menu .menu-horizontal > *:not(:only-child):first-child .szh-menu__item {
|
2023-04-09 20:21:02 +03:00
|
|
|
padding-right: 4px !important;
|
|
|
|
}
|
|
|
|
.szh-menu
|
|
|
|
.menu-horizontal
|
2023-07-17 16:01:00 +03:00
|
|
|
> .szh-menu__item:not(:only-child):not(:first-child):not(:last-child),
|
|
|
|
.szh-menu
|
|
|
|
.menu-horizontal
|
|
|
|
> *:not(:only-child):not(:first-child):not(:last-child)
|
|
|
|
.szh-menu__item {
|
2023-04-09 20:21:02 +03:00
|
|
|
padding-left: 8px !important;
|
|
|
|
padding-right: 4px !important;
|
|
|
|
}
|
2023-07-17 16:01:00 +03:00
|
|
|
.szh-menu .menu-horizontal > .szh-menu__item:not(:only-child):last-child,
|
|
|
|
.szh-menu .menu-horizontal > *:not(:only-child):last-child .szh-menu__item {
|
2023-04-09 20:21:02 +03:00
|
|
|
padding-left: 8px !important;
|
|
|
|
}
|
2023-02-16 12:51:54 +03:00
|
|
|
.szh-menu .szh-menu__item .menu-shortcut {
|
|
|
|
opacity: 0.5;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2023-02-25 05:04:30 +03:00
|
|
|
.szh-menu .szh-menu__item form {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
gap: 8px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.szh-menu .szh-menu__item form > input[type='text'] {
|
|
|
|
flex-grow: 1;
|
2023-02-27 18:15:32 +03:00
|
|
|
width: 100%;
|
2023-02-25 05:04:30 +03:00
|
|
|
}
|
|
|
|
.szh-menu .szh-menu__item--hover .danger-icon {
|
|
|
|
color: var(--red-color);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-07-17 16:01:00 +03:00
|
|
|
.szh-menu
|
|
|
|
.szh-menu__item:not(.szh-menu__item--disabled):not(
|
|
|
|
.szh-menu__item--hover
|
|
|
|
).danger {
|
|
|
|
color: var(--red-color);
|
|
|
|
}
|
|
|
|
.szh-menu
|
|
|
|
.szh-menu__item:not(.szh-menu__item--disabled):not(
|
|
|
|
.szh-menu__item--hover
|
|
|
|
).danger
|
|
|
|
.icon {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-02-16 12:51:54 +03:00
|
|
|
|
2023-03-18 11:24:04 +03:00
|
|
|
.szh-menu .menu-wrap {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
.szh-menu .menu-wrap > * {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 50%;
|
|
|
|
}
|
|
|
|
|
2023-02-16 12:51:54 +03:00
|
|
|
/* GLASS MENU */
|
|
|
|
|
|
|
|
.glass-menu {
|
|
|
|
background-color: var(--bg-blur-color);
|
|
|
|
backdrop-filter: blur(8px) saturate(3);
|
2023-02-17 14:31:28 +03:00
|
|
|
border: var(--hairline-width) solid var(--bg-color);
|
2023-02-16 12:51:54 +03:00
|
|
|
box-shadow: 0 3px 8px -1px var(--drop-shadow-color);
|
2023-02-23 05:45:28 +03:00
|
|
|
text-shadow: 0 var(--hairline-width) var(--bg-color), 0 0 8px var(--bg-color);
|
2023-02-16 12:51:54 +03:00
|
|
|
}
|
|
|
|
.glass-menu .szh-menu__item--hover {
|
|
|
|
background-color: var(--button-bg-blur-color);
|
2023-02-23 10:56:35 +03:00
|
|
|
text-shadow: none;
|
2023-02-16 12:51:54 +03:00
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
|
2022-12-23 11:45:02 +03:00
|
|
|
/* DONUT METER */
|
|
|
|
|
|
|
|
meter.donut {
|
|
|
|
appearance: none;
|
|
|
|
}
|
|
|
|
|
2022-12-26 15:34:24 +03:00
|
|
|
meter.donut::-webkit-meter-inner-element,
|
|
|
|
meter.donut::-webkit-meter-bar,
|
|
|
|
meter.donut::-webkit-meter-optimum-value,
|
|
|
|
meter.donut::-webkit-meter-suboptimum-value,
|
|
|
|
meter.donut::-webkit-meter-even-less-good-value {
|
2022-12-23 11:45:02 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-12-26 15:34:24 +03:00
|
|
|
meter.donut::-moz-meter-bar {
|
2022-12-23 11:45:02 +03:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
meter.donut {
|
|
|
|
position: relative;
|
2023-08-13 07:00:33 +03:00
|
|
|
--dimension: 24px;
|
|
|
|
--border-width: 2px;
|
|
|
|
--middle-circle-radius: calc(var(--dimension) / 2 - var(--border-width));
|
|
|
|
width: var(--dimension);
|
|
|
|
height: var(--dimension);
|
2022-12-23 11:45:02 +03:00
|
|
|
border-radius: 50%;
|
|
|
|
--fill: calc(var(--percentage) * 1%);
|
|
|
|
--color: var(--link-color);
|
|
|
|
--middle-circle: radial-gradient(
|
|
|
|
circle at 50% 50%,
|
2023-08-13 07:00:33 +03:00
|
|
|
var(--bg-color) var(--middle-circle-radius),
|
|
|
|
transparent var(--middle-circle-radius)
|
2022-12-23 11:45:02 +03:00
|
|
|
);
|
|
|
|
background-image: var(--middle-circle),
|
2023-08-13 07:00:33 +03:00
|
|
|
conic-gradient(var(--color) var(--fill), var(--outline-color) 0);
|
|
|
|
transform: scale(0.7);
|
|
|
|
transition: transform 0.2s ease-in-out;
|
2022-12-23 11:45:02 +03:00
|
|
|
}
|
|
|
|
meter.donut.warning {
|
|
|
|
--color: var(--orange-color);
|
2023-08-13 07:00:33 +03:00
|
|
|
transform: scale(1);
|
2022-12-23 11:45:02 +03:00
|
|
|
}
|
|
|
|
meter.donut.danger {
|
|
|
|
--color: var(--red-color);
|
2023-08-13 07:00:33 +03:00
|
|
|
transform: scale(1);
|
2022-12-23 11:45:02 +03:00
|
|
|
}
|
|
|
|
meter.donut.explode {
|
|
|
|
background-image: none;
|
2023-08-13 07:00:33 +03:00
|
|
|
transform: scale(1);
|
2022-12-23 11:45:02 +03:00
|
|
|
}
|
|
|
|
meter.donut:is(.warning, .danger, .explode):after {
|
|
|
|
content: attr(data-left);
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
font-size: 12px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
}
|
|
|
|
meter.donut:is(.danger, .explode):after {
|
|
|
|
color: var(--red-color);
|
|
|
|
}
|
2023-03-23 20:26:49 +03:00
|
|
|
meter.donut[hidden] {
|
|
|
|
display: inline-block;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2022-12-23 11:45:02 +03:00
|
|
|
|
2023-02-23 10:56:58 +03:00
|
|
|
/* SHINY PILL */
|
2022-12-26 09:02:05 +03:00
|
|
|
|
2023-03-06 11:01:33 +03:00
|
|
|
:is(.shiny-pill, :root .toastify.shiny-pill) {
|
|
|
|
pointer-events: auto;
|
2023-09-21 16:55:30 +03:00
|
|
|
color: var(--link-text-color);
|
|
|
|
font-weight: 500;
|
|
|
|
text-shadow: 0 1px var(--bg-color);
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
border: 1px solid var(--outline-color);
|
2023-09-23 14:16:32 +03:00
|
|
|
box-shadow: 0 3px 16px var(--drop-shadow-color),
|
2023-09-21 16:55:30 +03:00
|
|
|
0 6px 16px -3px var(--drop-shadow-color);
|
2023-03-06 11:01:33 +03:00
|
|
|
}
|
2023-09-23 14:16:32 +03:00
|
|
|
:is(.shiny-pill, :root .toastify.shiny-pill):hover:not(:active) {
|
2023-09-21 16:55:30 +03:00
|
|
|
color: var(--text-color);
|
|
|
|
border-color: var(--link-color);
|
2023-09-23 14:16:32 +03:00
|
|
|
filter: none !important;
|
|
|
|
box-shadow: 0 0 0 1px var(--link-text-color),
|
|
|
|
0 3px 16px var(--drop-shadow-color),
|
|
|
|
0 6px 16px -3px var(--drop-shadow-color),
|
|
|
|
0 6px 16px var(--drop-shadow-color);
|
2023-02-23 10:56:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* TOAST */
|
|
|
|
|
|
|
|
:root .toastify {
|
2023-03-06 11:01:33 +03:00
|
|
|
user-select: none;
|
2023-02-23 10:56:58 +03:00
|
|
|
padding: 8px 16px;
|
2023-02-24 05:01:07 +03:00
|
|
|
border-radius: 999px;
|
2023-03-06 11:01:33 +03:00
|
|
|
pointer-events: none;
|
|
|
|
color: var(--button-text-color);
|
|
|
|
text-shadow: 0 calc(var(--hairline-width) * -1) var(--drop-shadow-color);
|
2023-09-21 16:55:30 +03:00
|
|
|
background-color: var(--button-bg-color);
|
2023-03-06 11:01:33 +03:00
|
|
|
background-image: none;
|
2023-09-21 16:55:30 +03:00
|
|
|
box-shadow: 0 3px 8px -1px var(--drop-shadow-color),
|
|
|
|
0 10px 36px -4px var(--button-bg-blur-color);
|
2022-12-26 09:02:05 +03:00
|
|
|
}
|
2022-12-28 13:04:58 +03:00
|
|
|
.toastify-bottom {
|
|
|
|
margin-bottom: env(safe-area-inset-bottom);
|
|
|
|
}
|
2022-12-26 09:02:05 +03:00
|
|
|
|
2023-07-17 16:01:00 +03:00
|
|
|
/* TOAST - ALERT */
|
|
|
|
|
|
|
|
:root .toastify.alert {
|
|
|
|
z-index: 1001;
|
|
|
|
box-shadow: 0 8px 32px var(--text-insignificant-color);
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
color: var(--text-color);
|
|
|
|
cursor: pointer;
|
|
|
|
pointer-events: auto;
|
|
|
|
padding: 16px 32px;
|
|
|
|
font-size: max(calc(16px * 1.1), var(--text-size));
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1.25;
|
|
|
|
}
|
|
|
|
:root .toastify.alert:is(:hover, :active) {
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
}
|
|
|
|
|
2023-01-06 07:51:53 +03:00
|
|
|
/* AVATARS STACK */
|
|
|
|
|
|
|
|
.avatars-stack {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
2023-01-27 06:47:37 +03:00
|
|
|
/* I'm just feeling bored, so having fun here */
|
|
|
|
@media (hover: hover) {
|
2023-03-03 06:38:10 +03:00
|
|
|
.avatars-stack > * img {
|
2023-01-27 06:47:37 +03:00
|
|
|
transition: transform 0.3s ease-in-out;
|
|
|
|
}
|
2023-03-03 06:38:10 +03:00
|
|
|
.avatars-stack:hover > *:nth-of-type(odd) img {
|
2023-01-27 06:47:37 +03:00
|
|
|
transform: rotate(15deg);
|
|
|
|
}
|
2023-03-03 06:38:10 +03:00
|
|
|
.avatars-stack:hover > *:nth-of-type(even) img {
|
2023-01-27 06:47:37 +03:00
|
|
|
transform: rotate(-15deg);
|
|
|
|
}
|
|
|
|
}
|
2023-01-06 07:51:53 +03:00
|
|
|
|
2023-01-20 19:23:59 +03:00
|
|
|
.deck-container {
|
|
|
|
width: 100%;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2023-08-19 14:21:51 +03:00
|
|
|
:is(#home-page, #welcome, #columns, #loader-root) ~ .deck-container {
|
2023-01-20 19:23:59 +03:00
|
|
|
z-index: 10;
|
|
|
|
position: fixed;
|
|
|
|
inset: 0;
|
|
|
|
}
|
2023-08-19 14:21:51 +03:00
|
|
|
:is(#home-page, #welcome, #columns, #loader-root):has(~ .deck-container) {
|
2023-01-20 19:23:59 +03:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
2023-02-17 06:29:39 +03:00
|
|
|
/* This causes scrollTop to be reset to 0 when the page is hidden */
|
|
|
|
/* content-visibility: hidden; */
|
2023-01-20 19:23:59 +03:00
|
|
|
}
|
|
|
|
|
2023-01-28 13:52:18 +03:00
|
|
|
/* 404 */
|
|
|
|
|
|
|
|
#not-found-page {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
cursor: default;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
background-image: radial-gradient(
|
|
|
|
circle at 50% 50%,
|
|
|
|
var(--bg-color) 25%,
|
|
|
|
var(--bg-faded-color)
|
|
|
|
);
|
|
|
|
text-shadow: 0 1px var(--bg-color);
|
|
|
|
}
|
|
|
|
|
2023-01-31 14:08:10 +03:00
|
|
|
/* ACCOUNT STATUSES */
|
|
|
|
|
|
|
|
.header-account {
|
|
|
|
font-size: 90% !important;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.header-account div {
|
|
|
|
font-weight: normal;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
}
|
|
|
|
|
2023-02-11 11:48:47 +03:00
|
|
|
/* LINK LISTS? */
|
|
|
|
|
|
|
|
ul.link-list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 16px;
|
|
|
|
margin: 0;
|
2023-02-11 12:01:43 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1px;
|
2023-02-11 11:48:47 +03:00
|
|
|
}
|
|
|
|
ul.link-list li {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
ul.link-list li a {
|
2023-02-11 12:01:43 +03:00
|
|
|
--radius: 8px;
|
2023-02-11 11:48:47 +03:00
|
|
|
display: block;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
line-height: 1.25;
|
|
|
|
padding: 12px;
|
|
|
|
text-decoration: none;
|
|
|
|
line-height: 1.4;
|
|
|
|
font-weight: 500;
|
2023-02-11 12:01:43 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
ul.link-list li:first-child a {
|
|
|
|
border-top-left-radius: var(--radius);
|
|
|
|
border-top-right-radius: var(--radius);
|
|
|
|
}
|
|
|
|
ul.link-list li:last-child a {
|
|
|
|
border-bottom-left-radius: var(--radius);
|
|
|
|
border-bottom-right-radius: var(--radius);
|
|
|
|
}
|
|
|
|
ul.link-list li a:is(:hover, :focus) {
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
ul.link-list li a:active {
|
|
|
|
filter: brightness(0.9);
|
2023-02-11 11:48:47 +03:00
|
|
|
}
|
|
|
|
ul.link-list li a * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2023-02-11 12:01:43 +03:00
|
|
|
ul.link-list li a .icon {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2023-02-11 11:48:47 +03:00
|
|
|
|
|
|
|
@media (min-width: 40em) {
|
|
|
|
ul.link-list li a {
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-23 04:51:52 +03:00
|
|
|
/* NAV MENU BUTTON */
|
|
|
|
|
|
|
|
.nav-menu-button.with-avatar {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.nav-menu-button:is(:hover, :focus):not(:active) {
|
|
|
|
filter: none !important;
|
|
|
|
}
|
|
|
|
.nav-menu-button .avatar {
|
|
|
|
transition: box-shadow 0.3s ease-out;
|
|
|
|
}
|
|
|
|
.nav-menu-button:is(:hover, :focus, .active) .avatar {
|
|
|
|
box-shadow: 0 0 0 2px var(--bg-color), 0 0 0 4px var(--link-light-color);
|
|
|
|
}
|
|
|
|
.nav-menu-button.with-avatar .icon {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 4px;
|
|
|
|
right: 8px;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
.nav-menu-button.with-avatar:hover:not(:active, .active) .icon {
|
|
|
|
transform: translateY(-1px);
|
|
|
|
}
|
|
|
|
|
2023-02-16 12:52:41 +03:00
|
|
|
/* COLUMNS */
|
|
|
|
|
|
|
|
#columns {
|
|
|
|
display: flex;
|
|
|
|
width: 100vw;
|
|
|
|
overflow-y: hidden;
|
2023-02-18 15:48:24 +03:00
|
|
|
overflow-x: scroll;
|
2023-02-16 12:52:41 +03:00
|
|
|
scroll-snap-type: x mandatory;
|
|
|
|
scroll-behavior: smooth;
|
2023-02-18 15:48:24 +03:00
|
|
|
/* scrollbar-width: none; */
|
2023-02-16 12:52:41 +03:00
|
|
|
overscroll-behavior: contain;
|
2023-02-18 15:48:24 +03:00
|
|
|
overscroll-behavior-x: contain;
|
2023-04-28 10:03:14 +03:00
|
|
|
/* This `transform` fixes horizontal scrolling for pointer devices on iPad */
|
|
|
|
transform: translateZ(0);
|
2023-02-16 12:52:41 +03:00
|
|
|
}
|
2023-02-18 15:48:24 +03:00
|
|
|
/* #columns::-webkit-scrollbar {
|
2023-02-16 12:52:41 +03:00
|
|
|
display: none;
|
2023-02-18 15:48:24 +03:00
|
|
|
} */
|
2023-02-16 12:52:41 +03:00
|
|
|
#columns > * {
|
|
|
|
overscroll-behavior: auto;
|
|
|
|
scroll-snap-align: left;
|
|
|
|
scroll-snap-stop: always;
|
2023-02-18 15:48:24 +03:00
|
|
|
overscroll-behavior: auto;
|
|
|
|
flex-basis: min(100vw, 360px);
|
2023-02-16 12:52:41 +03:00
|
|
|
flex-shrink: 0;
|
2023-04-17 14:37:38 +03:00
|
|
|
box-shadow: -1px 0 var(--bg-color), -2px 0 var(--drop-shadow-color),
|
|
|
|
-3px 0 var(--bg-color);
|
2023-02-16 12:52:41 +03:00
|
|
|
}
|
2023-04-20 11:15:26 +03:00
|
|
|
#columns:has(> :nth-child(3)) > *:nth-child(even),
|
|
|
|
#columns:has(> :nth-child(3))
|
|
|
|
> *:nth-child(even)
|
|
|
|
.timeline-deck
|
|
|
|
> header
|
|
|
|
.header-grid {
|
2023-04-18 18:57:51 +03:00
|
|
|
background-color: var(--bg-blur-color);
|
|
|
|
}
|
2023-02-18 15:48:24 +03:00
|
|
|
#columns .header-grid input {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
#columns
|
|
|
|
.header-grid
|
|
|
|
.header-side:first-of-type
|
|
|
|
:is(button, .button)
|
|
|
|
~ :is(button, .button),
|
|
|
|
#columns .deck-container:not(:first-of-type) .header-grid .header-side > * {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 40em) {
|
|
|
|
#columns {
|
2023-04-17 14:37:38 +03:00
|
|
|
/* gap: 16px; */
|
|
|
|
/* padding: 0 16px; */
|
2023-04-20 11:15:26 +03:00
|
|
|
/* background-color: var(--bg-faded-color); */
|
2023-02-18 15:48:24 +03:00
|
|
|
height: 100vh;
|
|
|
|
height: 100dvh;
|
|
|
|
justify-content: stretch;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
#columns > * {
|
|
|
|
padding: 0 16px;
|
2023-04-17 14:37:38 +03:00
|
|
|
border-inline: var(--hairline-width) solid var(--bg-faded-color);
|
|
|
|
/* border-radius: 16px; */
|
|
|
|
/* box-shadow: -4px 0 16px -8px var(--drop-shadow-color); */
|
2023-02-18 15:48:24 +03:00
|
|
|
height: unset;
|
2023-04-20 11:15:26 +03:00
|
|
|
/* background-color: var(--bg-faded-blur-color); */
|
|
|
|
/* backdrop-filter: blur(16px) saturate(3); */
|
2023-04-17 14:37:38 +03:00
|
|
|
/* background-image: linear-gradient(
|
2023-02-18 15:48:24 +03:00
|
|
|
160deg,
|
|
|
|
transparent 20%,
|
|
|
|
var(--bg-color),
|
|
|
|
transparent 75%
|
2023-04-17 14:37:38 +03:00
|
|
|
); */
|
2023-04-20 11:15:26 +03:00
|
|
|
/* position: sticky;
|
|
|
|
left: 0; */
|
|
|
|
/* transition: all 0.3s ease-out; */
|
2023-04-17 14:37:38 +03:00
|
|
|
}
|
|
|
|
/* #columns > *:nth-child(2) {
|
|
|
|
left: 5%;
|
|
|
|
}
|
|
|
|
#columns > *:nth-child(3) {
|
|
|
|
left: 10%;
|
|
|
|
}
|
|
|
|
#columns > *:nth-child(4) {
|
|
|
|
left: 15%;
|
|
|
|
}
|
|
|
|
#columns > *:nth-child(5) {
|
|
|
|
left: 20%;
|
|
|
|
}
|
|
|
|
#columns > *:nth-child(6) {
|
|
|
|
left: 25%;
|
|
|
|
}
|
|
|
|
#columns > *:nth-child(7) {
|
|
|
|
left: 30%;
|
2023-02-18 15:48:24 +03:00
|
|
|
}
|
2023-04-17 14:37:38 +03:00
|
|
|
#columns > *:nth-child(8) {
|
|
|
|
left: 35%;
|
|
|
|
}
|
|
|
|
#columns > *:nth-child(9) {
|
|
|
|
left: 40%;
|
|
|
|
}
|
|
|
|
#columns > *:nth-child(10) {
|
|
|
|
left: 45%;
|
|
|
|
}
|
|
|
|
#columns > *:focus {
|
|
|
|
z-index: 1;
|
|
|
|
box-shadow: 0 0 32px var(--drop-shadow-color),
|
|
|
|
0 0 32px var(--drop-shadow-color);
|
|
|
|
} */
|
|
|
|
/* #columns:has(> *:focus) > *:not(:focus) > * {
|
|
|
|
filter: opacity(0.8);
|
|
|
|
} */
|
|
|
|
|
2023-02-18 15:48:24 +03:00
|
|
|
#columns > *:focus-visible,
|
|
|
|
#columns > *:has(:focus-visible) {
|
2023-04-17 14:37:38 +03:00
|
|
|
/* box-shadow: 0 4px 16px var(--drop-shadow-color),
|
|
|
|
0 4px 16px var(--drop-shadow-color); */
|
|
|
|
/* border-color: var(--outline-hover-color); */
|
|
|
|
z-index: 1;
|
|
|
|
box-shadow: inset 0 0 0 1px var(--outline-hover-color);
|
2023-02-18 15:48:24 +03:00
|
|
|
}
|
|
|
|
#columns .timeline:not(.flat) > li:has(.status-link.is-active),
|
|
|
|
#columns
|
|
|
|
.timeline:not(.flat)
|
|
|
|
> li:not(:has(.status-carousel)):has(+ li .status-link.is-active),
|
|
|
|
#columns
|
|
|
|
.timeline:not(.flat)
|
|
|
|
> li:not(:has(.status-carousel)):has(.status-link.is-active)
|
|
|
|
+ li {
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
#columns .timeline-deck > header {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2023-04-17 14:37:38 +03:00
|
|
|
#columns .timeline-deck > header[hidden] {
|
|
|
|
transform: none;
|
2023-04-18 19:19:43 +03:00
|
|
|
pointer-events: auto;
|
2023-04-17 14:37:38 +03:00
|
|
|
}
|
2023-07-25 12:23:22 +03:00
|
|
|
#columns li.timeline-item-carousel {
|
2023-02-18 15:48:24 +03:00
|
|
|
width: auto;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
}
|
2023-02-16 12:52:41 +03:00
|
|
|
|
2023-04-03 05:36:31 +03:00
|
|
|
/* FILTER BAR */
|
|
|
|
|
|
|
|
.filter-bar {
|
|
|
|
padding: 8px 16px;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
overflow-x: auto;
|
|
|
|
mask-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
transparent,
|
|
|
|
black 16px,
|
|
|
|
black calc(100% - 16px),
|
|
|
|
transparent
|
|
|
|
);
|
|
|
|
align-items: center;
|
|
|
|
}
|
2023-05-05 12:54:16 +03:00
|
|
|
.filter-bar.centered {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2023-04-03 05:36:31 +03:00
|
|
|
@media (min-width: 40em) {
|
|
|
|
.filter-bar {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
2023-04-03 08:17:22 +03:00
|
|
|
.filter-bar > a:not(.filter-clear) {
|
2023-04-03 05:36:31 +03:00
|
|
|
padding: 8px 16px;
|
|
|
|
border-radius: 999px;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
color: var(--link-color);
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
transition: all 0.3s ease-out;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
.filter-bar > a:is(:hover, :focus) {
|
|
|
|
border-color: var(--link-light-color);
|
|
|
|
}
|
|
|
|
.filter-bar > a > * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
.filter-bar > a.is-active {
|
|
|
|
border-color: var(--link-color);
|
|
|
|
box-shadow: inset 0 0 8px var(--link-faded-color);
|
|
|
|
}
|
|
|
|
.filter-bar > a > .filter-count {
|
|
|
|
font-size: 80%;
|
|
|
|
display: inline-block;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
min-width: 16px;
|
|
|
|
min-height: 16px;
|
|
|
|
padding: 4px;
|
|
|
|
margin: -4px -8px -4px 0;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
border-radius: 999px;
|
|
|
|
}
|
|
|
|
|
2023-08-01 04:43:25 +03:00
|
|
|
/* NOTIFICATION PEEK */
|
|
|
|
|
|
|
|
.notification-peek .notification {
|
|
|
|
padding-inline: 0 !important;
|
|
|
|
}
|
|
|
|
|
2023-02-11 11:48:47 +03:00
|
|
|
/* OTHERS */
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
@media (min-width: 40em) {
|
2022-12-12 16:54:31 +03:00
|
|
|
html,
|
|
|
|
body {
|
2022-12-12 05:08:55 +03:00
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
}
|
2023-01-20 19:23:59 +03:00
|
|
|
.deck-container {
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
#app {
|
|
|
|
display: flex;
|
|
|
|
}
|
2023-01-22 12:19:37 +03:00
|
|
|
.deck-container {
|
|
|
|
transition: transform 0.4s var(--timing-function);
|
|
|
|
}
|
2023-04-14 10:30:04 +03:00
|
|
|
.deck-container:has(~ .deck-backdrop .deck) {
|
2023-01-22 12:19:37 +03:00
|
|
|
transition: transform 0.4s ease-out;
|
|
|
|
transform: translate3d(-5vw, 0, 0);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.deck-backdrop .deck {
|
2023-08-10 16:58:11 +03:00
|
|
|
/* width: 50%;
|
|
|
|
min-width: var(--main-width); */
|
2022-12-24 18:17:13 +03:00
|
|
|
border-left: 1px solid var(--divider-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.timeline-deck {
|
|
|
|
border: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2023-01-14 14:42:04 +03:00
|
|
|
.timeline-deck > header {
|
2023-01-29 14:11:58 +03:00
|
|
|
--margin-top: 8px;
|
2023-01-29 05:17:29 +03:00
|
|
|
top: var(--margin-top);
|
2023-02-08 14:11:33 +03:00
|
|
|
margin-inline: 8px;
|
|
|
|
}
|
|
|
|
.timeline-deck > header .header-grid {
|
2022-12-10 12:14:48 +03:00
|
|
|
border-bottom: 0;
|
2023-02-08 14:11:33 +03:00
|
|
|
border-radius: 16px;
|
2022-12-10 12:14:48 +03:00
|
|
|
background-color: var(--bg-faded-blur-color);
|
2023-01-29 05:17:29 +03:00
|
|
|
background-image: none;
|
|
|
|
border-radius: 16px;
|
2023-02-08 14:11:33 +03:00
|
|
|
min-height: 4em;
|
2023-01-29 05:17:29 +03:00
|
|
|
}
|
|
|
|
.timeline-deck > header[hidden] {
|
|
|
|
transform: translate3d(0, calc((100% + var(--margin-top)) * -1), 0);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-09-23 14:16:44 +03:00
|
|
|
.deck > header {
|
|
|
|
text-shadow: 0 1px var(--bg-color);
|
|
|
|
}
|
2023-01-14 14:42:04 +03:00
|
|
|
.deck > header h1 {
|
2022-12-10 12:14:48 +03:00
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
2023-01-29 05:17:29 +03:00
|
|
|
.updates-button {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
2023-02-10 17:10:13 +03:00
|
|
|
.timeline:not(.flat) > li {
|
2023-03-02 16:54:05 +03:00
|
|
|
--item-radius: 16px;
|
2022-12-10 12:14:48 +03:00
|
|
|
border: 1px solid var(--divider-color);
|
|
|
|
margin: 16px 0;
|
|
|
|
background-color: var(--bg-color);
|
2023-03-02 16:54:05 +03:00
|
|
|
border-radius: var(--item-radius);
|
2022-12-10 12:14:48 +03:00
|
|
|
overflow: hidden;
|
|
|
|
box-shadow: 0px 1px var(--bg-blur-color);
|
2023-01-20 19:23:59 +03:00
|
|
|
transition: transform 0.4s var(--timing-function);
|
|
|
|
--back-transition: transform 0.4s ease-out;
|
2023-02-23 18:06:35 +03:00
|
|
|
}
|
2023-03-02 16:54:05 +03:00
|
|
|
.timeline:not(.flat) > li > a {
|
2023-03-26 18:18:36 +03:00
|
|
|
border-radius: inherit;
|
2023-03-02 16:54:05 +03:00
|
|
|
}
|
2023-02-23 18:06:35 +03:00
|
|
|
.timeline:not(.flat) > li:not(:has(.status-carousel)) {
|
2023-02-22 18:39:52 +03:00
|
|
|
transform: translate3d(0, 0, 0);
|
2023-01-20 19:23:59 +03:00
|
|
|
}
|
2023-04-02 11:16:27 +03:00
|
|
|
.timeline:not(.flat)
|
|
|
|
> li:not(.timeline-item-container-end, .timeline-item-container-middle):has(
|
|
|
|
.status-badge:not(:empty)
|
|
|
|
) {
|
2023-03-29 16:17:44 +03:00
|
|
|
border-top-right-radius: 8px;
|
|
|
|
}
|
2023-02-10 17:10:13 +03:00
|
|
|
.timeline:not(.flat) > li:has(.status-link.is-active) {
|
2023-01-20 19:23:59 +03:00
|
|
|
transition: var(--back-transition);
|
|
|
|
transform: translate3d(-2.5vw, 0, 0);
|
|
|
|
}
|
2023-09-09 18:55:11 +03:00
|
|
|
.timeline:not(.flat)
|
|
|
|
> li.timeline-item-container:has(.status-link.is-active) {
|
|
|
|
border-top-left-radius: var(--item-radius);
|
|
|
|
border-bottom-left-radius: var(--item-radius);
|
|
|
|
}
|
2023-02-10 17:10:13 +03:00
|
|
|
.timeline:not(.flat)
|
2023-02-17 05:55:16 +03:00
|
|
|
> li:not(:has(.status-carousel)):has(+ li .status-link.is-active),
|
2023-02-10 17:10:13 +03:00
|
|
|
.timeline:not(.flat)
|
2023-02-17 05:55:16 +03:00
|
|
|
> li:not(:has(.status-carousel)):has(.status-link.is-active)
|
2023-01-20 19:23:59 +03:00
|
|
|
+ li {
|
|
|
|
transition: var(--back-transition);
|
|
|
|
transform: translate3d(-1.25vw, 0, 0);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-09-09 18:55:11 +03:00
|
|
|
.timeline:not(.flat)
|
|
|
|
> li.timeline-item-container:not(:has(.status-carousel)):has(
|
|
|
|
+ li .status-link.is-active
|
|
|
|
) {
|
|
|
|
border-top-left-radius: var(--item-radius);
|
|
|
|
}
|
|
|
|
.timeline:not(.flat)
|
|
|
|
> li.timeline-item-container:not(:has(.status-carousel)):has(
|
|
|
|
.status-link.is-active
|
|
|
|
)
|
|
|
|
+ li.timeline-item-container {
|
|
|
|
border-bottom-left-radius: var(--item-radius);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.box {
|
|
|
|
padding: 32px;
|
|
|
|
}
|
2023-01-22 11:27:00 +03:00
|
|
|
/* :is(.carousel-top-controls, .carousel-controls) {
|
2022-12-10 17:27:00 +03:00
|
|
|
padding: 32px;
|
2023-01-22 11:27:00 +03:00
|
|
|
} */
|
2023-07-25 12:23:22 +03:00
|
|
|
li.timeline-item-carousel {
|
2023-01-16 19:56:13 +03:00
|
|
|
width: 95vw;
|
2023-01-17 19:56:35 +03:00
|
|
|
max-width: calc(320px * 3.3);
|
2023-08-09 08:29:31 +03:00
|
|
|
transform: translateX(calc(-50% + var(--main-width) / 2));
|
2023-01-16 19:56:13 +03:00
|
|
|
}
|
2022-12-12 16:54:31 +03:00
|
|
|
}
|