2022-02-11 19:50:55 +01:00
|
|
|
body {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2019-04-18 18:51:15 +02:00
|
|
|
.main-wrapper {
|
2019-07-23 10:05:51 +02:00
|
|
|
position: relative;
|
2020-06-30 07:51:15 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2019-04-18 18:51:15 +02:00
|
|
|
}
|
|
|
|
|
2019-10-09 18:34:18 +02:00
|
|
|
.main-wrapper--mac {
|
|
|
|
margin-top: calc(var(--header-height) + var(--mac-titlebar-height));
|
|
|
|
}
|
|
|
|
|
2019-07-17 22:49:06 +02:00
|
|
|
.main-wrapper__inner {
|
2019-04-18 18:51:15 +02:00
|
|
|
display: flex;
|
2019-07-17 22:49:06 +02:00
|
|
|
align-items: flex-start;
|
2019-07-23 10:05:51 +02:00
|
|
|
justify-content: space-between;
|
2019-06-11 20:10:58 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2019-07-23 10:05:51 +02:00
|
|
|
margin-top: var(--header-height);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-l); // Unfortunately this is coupled with .claim-preview--tile width calculation
|
2020-08-10 22:47:39 +02:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2019-12-18 06:27:08 +01:00
|
|
|
|
2020-08-11 22:32:03 +02:00
|
|
|
> :first-child {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2019-12-18 06:27:08 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
2020-08-10 22:47:39 +02:00
|
|
|
padding: var(--spacing-xs);
|
2021-12-21 14:47:24 +01:00
|
|
|
margin-top: var(--header-height-mobile);
|
2019-12-18 06:27:08 +01:00
|
|
|
}
|
2020-08-10 22:47:39 +02:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-large) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-wrapper__inner--filepage {
|
|
|
|
padding: 0;
|
2022-02-02 13:44:33 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-top: 0px;
|
|
|
|
padding-top: var(--header-height-mobile);
|
|
|
|
}
|
2019-04-18 18:51:15 +02:00
|
|
|
}
|
2019-01-08 00:29:40 +01:00
|
|
|
|
2021-01-08 16:21:27 +01:00
|
|
|
.main-wrapper__inner--theater-mode {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2021-12-11 15:59:32 +01:00
|
|
|
.sidebar--pusher {
|
|
|
|
animation-timing-function: var(--resizing-animation-function);
|
|
|
|
transition: transform var(--resizing-animation-timing);
|
2022-02-11 19:50:55 +01:00
|
|
|
transform-origin: top center;
|
2021-12-11 15:59:32 +01:00
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
transform: translateX(0);
|
|
|
|
width: calc(100% - var(--spacing-m));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
transform: translateX(var(--side-nav-width--micro));
|
|
|
|
width: calc(100% - ((var(--side-nav-width--micro))));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar--pusher--filepage {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar--pusher--open {
|
|
|
|
@media (min-width: $breakpoint-medium) {
|
2022-02-11 19:50:55 +01:00
|
|
|
transform: scaleX(0.9) translateX(calc(5.4 * var(--spacing-l))) scaleY(0.9);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-wrapper__inner--auth {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.main--auth-page {
|
|
|
|
min-height: unset;
|
2022-02-28 12:33:14 +01:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
min-height: calc(100vh - var(--header-height) - var(--spacing-main-padding));
|
|
|
|
}
|
2021-12-11 15:59:32 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.main {
|
2019-09-26 18:07:11 +02:00
|
|
|
position: relative;
|
2021-12-11 15:59:32 +01:00
|
|
|
width: calc(100% - 2 * var(--spacing-l));
|
2020-08-10 22:47:39 +02:00
|
|
|
max-width: var(--page-max-width);
|
|
|
|
z-index: 0;
|
2020-06-30 07:51:15 +02:00
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2022-02-02 13:45:16 +01:00
|
|
|
|
2021-12-11 15:59:32 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
2019-06-11 20:10:58 +02:00
|
|
|
width: 100%;
|
2020-08-10 22:47:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main--file-page {
|
|
|
|
width: 100%;
|
|
|
|
max-width: var(--page-max-width--filepage);
|
2022-03-18 14:44:16 +01:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2021-03-11 18:08:11 +01:00
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
padding: 0 var(--spacing-m);
|
2022-03-18 14:44:16 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
2021-01-08 16:21:27 +01:00
|
|
|
position: relative;
|
2020-08-10 22:47:39 +02:00
|
|
|
|
2022-03-18 14:44:16 +01:00
|
|
|
> :first-child {
|
|
|
|
flex-grow: 2;
|
2021-01-08 16:21:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-page__secondary-content {
|
|
|
|
display: flex;
|
2022-02-01 21:27:48 +01:00
|
|
|
flex-direction: column;
|
2021-01-08 16:21:27 +01:00
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
max-width: var(--page-max-width--filepage);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
> :first-child {
|
|
|
|
flex: 1;
|
2021-06-28 18:11:28 +02:00
|
|
|
max-width: 100%;
|
2021-01-08 16:21:27 +01:00
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.claim-preview__wrapper--inline {
|
|
|
|
.media__subtitle {
|
2022-02-18 12:37:45 +01:00
|
|
|
padding-bottom: 0;
|
2022-02-11 19:50:55 +01:00
|
|
|
a.button {
|
|
|
|
display: inline-block !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.date_time {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__meta-information {
|
|
|
|
.date_time {
|
|
|
|
font-size: var(--font-xsmall) !important;
|
|
|
|
color: rgba(var(--color-text-base), 0.6);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-medium) {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
section + .empty__wrap {
|
|
|
|
margin: var(--spacing-m);
|
|
|
|
}
|
2022-02-18 12:37:45 +01:00
|
|
|
.claim-preview__wrapper--inline {
|
|
|
|
.claim-preview-metadata {
|
|
|
|
.claim-tile__info {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.media__subtitle {
|
|
|
|
padding-bottom: 1;
|
|
|
|
a.button {
|
|
|
|
display: inline-block !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--alt {
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
}
|
|
|
|
.button-following {
|
|
|
|
padding-left: var(--spacing-m);
|
|
|
|
padding-right: var(--spacing-m);
|
|
|
|
}
|
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-top: var(--spacing-xs) !important;
|
|
|
|
.claim-preview__wrapper {
|
|
|
|
padding: 0 !important;
|
2022-02-18 17:52:30 +01:00
|
|
|
.claim-preview-info {
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: -2px;
|
|
|
|
.claim-preview__title {
|
|
|
|
span {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.claim-tile__info {
|
|
|
|
.media__subtitle {
|
|
|
|
margin-bottom: 1px;
|
|
|
|
}
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__subtitle--centered::before {
|
|
|
|
content: '•';
|
|
|
|
margin-right: var(--spacing-s);
|
2021-01-08 16:21:27 +01:00
|
|
|
}
|
|
|
|
|
2021-07-21 15:34:46 +02:00
|
|
|
@keyframes fadeIn {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-11 18:08:11 +01:00
|
|
|
.file-page__post-comments {
|
|
|
|
margin-top: var(--spacing-l);
|
|
|
|
|
2021-07-21 15:34:46 +02:00
|
|
|
opacity: 0;
|
|
|
|
animation: fadeIn 2s;
|
|
|
|
animation-delay: 2s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
|
2021-03-11 18:08:11 +01:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-m);
|
|
|
|
}
|
2022-02-18 08:46:41 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-top: 0;
|
|
|
|
.card {
|
|
|
|
padding: 0;
|
|
|
|
.card__first-pane {
|
Re-design comment threads (#1489)
* Redesign threadline and fetching state
- threadline goes right below channel avatar, mimicking reddits implementation, has a increase effect on hover and is slimmer, creating more space for comments on screen
- fetching state now replaces show/hide button, also mimicking reddit, and now says that it is loading, instead of a blank spinner, and also improves space a bit
* Redesign comment threads
- Allow for infinite comment chains
- Can go back and forth between the pages
- Can go back to all comments or to the first comment in the chain
- Some other improvements, which include:
- add title on non-drawer comment sections (couldn't see amount of comments)
- fix Expandable component (would begin expanded and collapse after the effect runs, which looked bad and shifted the layout, now each comments greater than the set length begins collapsed)
- used constants for consistency
* Fix replying to last thread comment
* Fix buttons condition (only on fetched comment to avoid deleted case)
* Fix auto-scroll
* Bring back instant feedback for Show More replies
* Improve thread back links
- Now going back to all comments links the top-level comment for easier navigation
- Going back to ~ previous ~ now goes back into the chain instead of topmost level
* Clear timeouts due to unrelated issue
* Fix deep thread linked comment case and more scroll improvements
* More minor changes
* Flow
* Fix commentList tile style
* Fix long channel names overflowing on small screens
* More scroll changes
* Fix threadline
* Revert "Fix long channel names overflowing on small screens"
This reverts commit e4d2dc7da5861ed8136a60f3352e41a690cd4d33.
* Fix replies fetch
* Revert "Fix replies fetch"
This reverts commit ec70054675a604a7a5f3764ba07c36bf7b0f49c8.
* Cleanup and make smooth
* Always use linked comment on threads
* Cleanup
* Higlight thread comment
* Fix comment body styles
2022-05-16 12:22:13 +02:00
|
|
|
.button--alt[aria-label='Refresh'] {
|
|
|
|
top: -1px;
|
|
|
|
float: right;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.comment__sort {
|
|
|
|
.button--alt[aria-label='Refresh'] {
|
|
|
|
top: unset;
|
|
|
|
float: unset;
|
|
|
|
margin-right: unset;
|
2022-02-18 08:46:41 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-11 18:08:11 +01:00
|
|
|
}
|
|
|
|
|
2021-01-08 16:21:27 +01:00
|
|
|
.file-page__info {
|
|
|
|
margin-top: var(--spacing-m);
|
2020-08-10 22:47:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-page__recommended {
|
|
|
|
height: 0%;
|
2022-02-11 19:50:55 +01:00
|
|
|
width: 32rem;
|
|
|
|
margin-left: var(--spacing-l);
|
|
|
|
|
|
|
|
.card__first-pane {
|
|
|
|
.card__header--between {
|
|
|
|
.card__title-section {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.card__body.card__body--list {
|
|
|
|
border-top: unset;
|
|
|
|
}
|
|
|
|
}
|
2021-01-08 16:21:27 +01:00
|
|
|
|
2021-12-31 13:27:05 +01:00
|
|
|
.card__header--between {
|
2022-02-11 19:50:55 +01:00
|
|
|
align-items: unset;
|
|
|
|
.card__title-section--body-list {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview-metadata {
|
|
|
|
.claim-tile__info {
|
|
|
|
margin-top: 0;
|
|
|
|
.media__subtitle {
|
|
|
|
.button__content {
|
|
|
|
margin-top: 0;
|
|
|
|
.channel-name {
|
|
|
|
margin-top: 0;
|
2022-07-04 14:32:30 +02:00
|
|
|
p {
|
|
|
|
width: 181px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
span,
|
|
|
|
.date_time {
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.claim-preview__title {
|
|
|
|
.truncated-text {
|
|
|
|
-webkit-line-clamp: 2 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.channel-thumbnail {
|
|
|
|
display: none;
|
|
|
|
width: 1.4rem;
|
|
|
|
height: 1.4rem;
|
|
|
|
/*
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
display: flex;
|
|
|
|
margin-right: var(--spacing-xs);
|
|
|
|
}*/
|
|
|
|
}
|
2021-12-31 13:27:05 +01:00
|
|
|
}
|
|
|
|
|
2020-08-11 22:32:03 +02:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
2020-08-18 16:17:45 +02:00
|
|
|
width: 100%;
|
2021-03-30 18:00:30 +02:00
|
|
|
margin-left: 0;
|
2020-08-11 22:32:03 +02:00
|
|
|
margin-top: var(--spacing-l);
|
|
|
|
}
|
2022-02-02 13:48:24 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.card__header--between {
|
|
|
|
padding: var(--spacing-xxs);
|
2022-02-11 19:50:55 +01:00
|
|
|
padding-bottom: var(--spacing-s);
|
|
|
|
padding-left: 0;
|
2022-02-02 13:48:24 +01:00
|
|
|
}
|
|
|
|
}
|
2020-08-10 22:47:39 +02:00
|
|
|
}
|
|
|
|
|
2021-09-02 22:05:32 +02:00
|
|
|
.file-page__recommended-collection {
|
|
|
|
@extend .file-page__recommended;
|
2022-03-18 16:26:15 +01:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card__title-section--body-list {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-09-02 22:05:32 +02:00
|
|
|
|
2022-01-12 20:14:12 +01:00
|
|
|
.card__header--between {
|
|
|
|
align-items: flex-start !important;
|
|
|
|
|
|
|
|
.card__title-actions {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-top: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.card__title-actions-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
height: unset;
|
|
|
|
display: unset;
|
|
|
|
flex-direction: unset;
|
|
|
|
.card__title-actions {
|
|
|
|
padding: 0;
|
|
|
|
.button {
|
|
|
|
height: 2rem;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
top: calc(var(--spacing-s) * -1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-02 22:05:32 +02:00
|
|
|
.file-page__recommended-collection__row {
|
|
|
|
display: block;
|
2022-02-11 19:50:55 +01:00
|
|
|
max-width: unset;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
color: var(--color-text);
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
display: flex;
|
|
|
|
margin-top: calc(var(--spacing-m) * -1 - 10px);
|
|
|
|
.button {
|
|
|
|
flex: auto;
|
|
|
|
.button__content {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
.color-override {
|
|
|
|
stroke: var(--color-primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-02 22:05:32 +02:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-medium) {
|
2022-02-11 19:50:55 +01:00
|
|
|
// max-width: 15rem;
|
2021-09-02 22:05:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-medium) {
|
2022-02-11 19:50:55 +01:00
|
|
|
// max-width: 50rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
// display: inline-block;
|
|
|
|
max-width: unset;
|
|
|
|
width: 100%;
|
|
|
|
.button--file-action {
|
|
|
|
height: unset;
|
|
|
|
margin-right: var(--spacing-xxxs);
|
|
|
|
.button__content {
|
|
|
|
padding: var(--spacing-xxs);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--file-action:last-of-type {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
.file-page__recommended-collection__row {
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: calc(100% - var(--spacing-xl));
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2021-09-02 22:05:32 +02:00
|
|
|
}
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
2022-01-12 20:14:12 +01:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.file-page__playlist-collection {
|
|
|
|
@extend .file-page__recommended-collection;
|
2022-03-18 16:26:15 +01:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.card__first-pane {
|
|
|
|
.card__header--between {
|
|
|
|
.card__title-section {
|
|
|
|
display: unset !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-18 16:26:15 +01:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.file-page__playlist-collection__row {
|
|
|
|
@extend .file-page__recommended-collection__row;
|
|
|
|
|
|
|
|
.button--file-action {
|
|
|
|
&:hover {
|
|
|
|
.icon {
|
|
|
|
stroke: white !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-01-12 20:14:12 +01:00
|
|
|
}
|
2021-09-02 22:05:32 +02:00
|
|
|
}
|
|
|
|
|
2020-08-10 22:47:39 +02:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
2021-03-30 18:00:30 +02:00
|
|
|
flex-direction: column;
|
2020-08-10 22:47:39 +02:00
|
|
|
> :first-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
2020-08-18 16:17:45 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-xs);
|
2022-02-11 19:50:55 +01:00
|
|
|
// margin-top: var(--spacing-s);
|
2021-03-11 18:08:11 +01:00
|
|
|
flex-direction: column;
|
2020-08-19 16:02:00 +02:00
|
|
|
padding-top: 0;
|
2022-02-01 21:30:57 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.file-page__secondary-content {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
border-radius: 0;
|
2022-02-02 13:44:33 +01:00
|
|
|
margin-bottom: 0px !important;
|
2022-02-11 19:50:55 +01:00
|
|
|
padding: var(--spacing-xxs);
|
2022-02-01 21:30:57 +01:00
|
|
|
}
|
2022-02-02 13:44:33 +01:00
|
|
|
|
|
|
|
.file-page__recommended {
|
2022-02-02 13:45:16 +01:00
|
|
|
margin-top: 0px !important;
|
2022-02-02 13:44:33 +01:00
|
|
|
}
|
2020-08-18 16:17:45 +02:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2019-01-09 19:39:05 +01:00
|
|
|
|
2022-03-18 15:25:14 +01:00
|
|
|
.main--video-page {
|
|
|
|
@media (min-width: $breakpoint-medium) {
|
|
|
|
$recommended-width: calc(var(--recommended-content-width) - var(--spacing-l) * 3 - var(--spacing-m) * 2);
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr $recommended-width;
|
|
|
|
justify-content: space-between;
|
|
|
|
gap: var(--spacing-l);
|
|
|
|
|
2022-03-18 16:26:15 +01:00
|
|
|
.file-page__recommended,
|
|
|
|
.file-page__playlist-collection {
|
2022-03-18 15:25:14 +01:00
|
|
|
margin: 0 !important;
|
|
|
|
height: 100% !important;
|
|
|
|
width: 100% !important;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.card__title-section--body-list {
|
|
|
|
display: unset !important;
|
|
|
|
// width: 100%;
|
|
|
|
div {
|
|
|
|
flex: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.card__title {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main--upcoming {
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-xs);
|
|
|
|
flex-direction: column;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-08 16:21:27 +01:00
|
|
|
.main--theater-mode {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2021-04-12 18:43:47 +02:00
|
|
|
margin-top: 0;
|
2021-01-08 16:21:27 +01:00
|
|
|
width: 100vw;
|
|
|
|
max-width: none;
|
|
|
|
|
|
|
|
> :first-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-page__info {
|
|
|
|
padding: 0 var(--spacing-m);
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
max-width: var(--page-max-width--filepage);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2022-04-04 14:13:15 +02:00
|
|
|
.file-page__video-container {
|
|
|
|
max-height: unset;
|
|
|
|
}
|
|
|
|
|
2021-01-08 16:21:27 +01:00
|
|
|
.file-page__recommended {
|
2021-09-20 16:20:28 +02:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-01-08 16:21:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-page__secondary-content {
|
|
|
|
padding: 0 var(--spacing-s);
|
2021-09-20 16:20:28 +02:00
|
|
|
flex-direction: row;
|
2021-01-08 16:21:27 +01:00
|
|
|
|
2021-09-20 16:20:28 +02:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
flex-direction: column;
|
2021-01-08 16:21:27 +01:00
|
|
|
}
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
.file-page__recommended {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2021-01-08 16:21:27 +01:00
|
|
|
}
|
|
|
|
|
2021-03-10 19:34:21 +01:00
|
|
|
.main--livestream {
|
2021-10-04 15:19:52 +02:00
|
|
|
@extend .main--file-page;
|
|
|
|
|
2022-03-15 18:42:39 +01:00
|
|
|
@media (min-width: 1750px) {
|
|
|
|
padding: 0;
|
2022-03-16 19:21:31 +01:00
|
|
|
width: 100%;
|
|
|
|
max-width: var(--page-max-width--filepage);
|
|
|
|
position: relative;
|
|
|
|
display: grid;
|
2022-05-18 18:15:12 +02:00
|
|
|
|
|
|
|
$file-min-width: calc(var(--page-max-width--filepage) - var(--livestream-comments-width));
|
|
|
|
grid-template-columns: minmax($file-min-width, 0) 1fr;
|
|
|
|
|
2022-03-16 19:21:31 +01:00
|
|
|
justify-content: space-between;
|
|
|
|
justify-items: end;
|
|
|
|
gap: var(--spacing-m);
|
|
|
|
|
|
|
|
.livestream__chat {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
2022-03-15 18:42:39 +01:00
|
|
|
}
|
|
|
|
|
2021-10-04 15:19:52 +02:00
|
|
|
.card-stack {
|
|
|
|
margin-bottom: var(--spacing-m);
|
2022-03-15 18:42:39 +01:00
|
|
|
|
2021-10-04 15:19:52 +02:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
max-width: none;
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.help--notice {
|
|
|
|
margin: var(--spacing-xs);
|
|
|
|
margin-top: var(--spacing-xs);
|
|
|
|
margin-bottom: var(--spacing-xs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card__body {
|
|
|
|
.date_time {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
2021-04-23 21:59:48 +02:00
|
|
|
}
|
2021-06-17 20:38:00 +02:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
padding: 0 var(--spacing-s);
|
2022-03-15 18:42:39 +01:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.card__main-actions {
|
|
|
|
.claim-preview__wrapper {
|
|
|
|
a {
|
|
|
|
.button__content {
|
2022-04-04 17:43:10 +02:00
|
|
|
// align-items: unset;
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-01 21:30:57 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.card {
|
|
|
|
margin: 0;
|
2022-02-11 19:50:55 +01:00
|
|
|
.card__first-pane {
|
|
|
|
.card__main-actions {
|
|
|
|
.claim-preview {
|
|
|
|
align-items: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-01 21:30:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-stack {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) and (max-width: $breakpoint-medium) {
|
2021-10-04 15:19:52 +02:00
|
|
|
padding: 0 var(--spacing-m);
|
2021-06-17 20:38:00 +02:00
|
|
|
}
|
2021-03-10 19:34:21 +01:00
|
|
|
}
|
|
|
|
|
2020-08-21 17:49:13 +02:00
|
|
|
.main--full-width {
|
|
|
|
@extend .main;
|
2021-12-11 15:59:32 +01:00
|
|
|
max-width: none;
|
2020-08-21 17:49:13 +02:00
|
|
|
}
|
|
|
|
|
2022-01-14 21:24:16 +01:00
|
|
|
.main--popout-chat {
|
|
|
|
@extend .main;
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
width: 100vw !important;
|
|
|
|
height: 100vh !important;
|
|
|
|
}
|
|
|
|
|
2019-08-27 16:43:42 +02:00
|
|
|
.main--auth-page {
|
2020-08-21 17:49:13 +02:00
|
|
|
width: 100%;
|
2020-04-13 21:16:07 +02:00
|
|
|
max-width: 70rem;
|
2019-08-27 16:43:42 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2020-08-24 06:00:10 +02:00
|
|
|
padding: 0 var(--spacing-s);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-top: var(--spacing-main-padding);
|
|
|
|
padding: 0 var(--spacing-l);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-08 10:13:35 +02:00
|
|
|
.main--settings-page {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 70rem;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
padding: 0 var(--spacing-m);
|
|
|
|
|
2022-04-25 10:10:45 +02:00
|
|
|
.section__actions {
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.section__header--actions {
|
|
|
|
.section__actions--inline:last-of-type {
|
|
|
|
.button__label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.card__body--list {
|
|
|
|
background-color: rgba(var(--color-header-background-base), 0.4);
|
|
|
|
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border-top: unset;
|
|
|
|
|
2022-03-16 17:32:59 +01:00
|
|
|
.settings-row {
|
2022-02-11 19:50:55 +01:00
|
|
|
padding: var(--spacing-s);
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
|
|
|
|
2022-03-16 17:32:59 +01:00
|
|
|
.settings-row__value {
|
2022-02-11 19:50:55 +01:00
|
|
|
.button__content {
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fieldset-group--smushed {
|
|
|
|
label {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
fieldset-section:last-of-type {
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-16 17:32:59 +01:00
|
|
|
.settings-row:first-of-type {
|
2022-02-11 19:50:55 +01:00
|
|
|
margin-top: var(--spacing-xxxs);
|
|
|
|
}
|
2022-03-16 17:32:59 +01:00
|
|
|
.settings-row:last-of-type {
|
2022-02-11 19:50:55 +01:00
|
|
|
border-bottom: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card__main-actions {
|
|
|
|
border-top: unset;
|
|
|
|
}
|
2022-05-31 11:14:59 +02:00
|
|
|
|
|
|
|
input,
|
|
|
|
select {
|
|
|
|
box-shadow: 0 0 0 2px var(--color-border) inset;
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-input-toggle-bg-hover);
|
|
|
|
}
|
|
|
|
&:focus-visible {
|
|
|
|
background-color: var(--color-input-toggle-bg-hover) !important;
|
|
|
|
box-shadow: 0 0 0 2px var(--color-primary) inset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox,
|
|
|
|
.radio {
|
|
|
|
label {
|
|
|
|
&::before {
|
|
|
|
top: unset;
|
|
|
|
border: unset;
|
|
|
|
box-shadow: 0 0 0 2px var(--color-border) inset;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
top: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.checkbox {
|
|
|
|
label {
|
|
|
|
&::after {
|
|
|
|
top: 8px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.button--secondary {
|
|
|
|
background-color: var(--color-header-button) !important;
|
|
|
|
.button__content {
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-text) !important;
|
|
|
|
}
|
|
|
|
.button__label {
|
|
|
|
color: var(--color-text) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
.button__content {
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-primary-contrast) !important;
|
|
|
|
}
|
|
|
|
.button__label {
|
|
|
|
color: var(--color-primary-contrast) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-29 13:36:45 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: 0 0;
|
2022-02-11 19:50:55 +01:00
|
|
|
.wunderbar__wrapper {
|
|
|
|
margin-right: 0;
|
|
|
|
.wunderbar {
|
|
|
|
padding-left: 0;
|
|
|
|
.icon {
|
|
|
|
left: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-29 13:36:45 +01:00
|
|
|
}
|
|
|
|
|
2021-08-08 10:13:35 +02:00
|
|
|
.card__subtitle {
|
|
|
|
margin: 0 0 var(--spacing-s) 0;
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button--inverse {
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
.card__title-section {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
.card__title-section:not(:first-child) {
|
|
|
|
padding-top: var(--spacing-l);
|
|
|
|
}
|
|
|
|
|
|
|
|
.section__actions--between:first-child {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
}
|
|
|
|
.section__actions--between {
|
|
|
|
border-top: unset;
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: var(--spacing-s);
|
|
|
|
padding-bottom: var(--spacing-s);
|
|
|
|
margin-left: auto;
|
|
|
|
position: relative;
|
|
|
|
|
2022-03-16 17:32:59 +01:00
|
|
|
.settings-row__value {
|
2022-02-11 19:50:55 +01:00
|
|
|
align-self: start;
|
|
|
|
}
|
|
|
|
|
2022-03-16 17:32:59 +01:00
|
|
|
.settings-row__title {
|
2022-02-11 19:50:55 +01:00
|
|
|
color: rgba(var(--color-text-base), 0.9);
|
|
|
|
}
|
2022-03-16 17:32:59 +01:00
|
|
|
.settings-row__subtitle {
|
2022-02-11 19:50:55 +01:00
|
|
|
color: rgba(var(--color-text-base), 0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(.opacity-30) {
|
2022-03-16 17:32:59 +01:00
|
|
|
.settings-row__title {
|
2022-02-11 19:50:55 +01:00
|
|
|
color: rgba(var(--color-text-base), 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags--remove {
|
|
|
|
.button {
|
|
|
|
background-color: var(--color-header-background);
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__wrapper--channel {
|
|
|
|
.menu__button {
|
|
|
|
right: var(--spacing-s);
|
|
|
|
}
|
|
|
|
.claim-tile__info {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-bottom: var(--spacing-xxxs);
|
|
|
|
.claim-preview-metadata-sub-upload {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--secondary {
|
|
|
|
background-color: var(--color-header-button) !important;
|
|
|
|
&:hover {
|
|
|
|
.button__label {
|
|
|
|
color: var(--color-text) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.claim__tags {
|
|
|
|
a.button {
|
|
|
|
.button__content {
|
|
|
|
margin-top: -3px;
|
|
|
|
.button__label {
|
|
|
|
overflow: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.claim-preview__wrapper--channel.placeholder {
|
|
|
|
.media__thumb {
|
|
|
|
width: 6rem !important;
|
|
|
|
height: 6rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
.channel-thumbnail {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.media__thumb {
|
|
|
|
width: 4rem !important;
|
|
|
|
height: 4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-08-08 10:13:35 +02:00
|
|
|
}
|
|
|
|
|
2021-03-12 17:18:09 +01:00
|
|
|
.main--markdown {
|
2021-03-11 18:08:11 +01:00
|
|
|
flex-direction: column;
|
2022-02-11 19:50:55 +01:00
|
|
|
.claim-preview__wrapper {
|
|
|
|
.claim-tile__info {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-bottom: var(--spacing-xxxs);
|
|
|
|
.claim-preview-metadata-sub-upload {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
.channel-name {
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.post__info--grouped {
|
|
|
|
.button__content {
|
|
|
|
color: var(--color-primary);
|
|
|
|
.icon {
|
|
|
|
color: var(--color-text-subtitle);
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-14 11:13:06 +01:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.markdown-preview {
|
2022-02-14 11:13:06 +01:00
|
|
|
p {
|
|
|
|
.button--uri-indicator {
|
|
|
|
.channel-name {
|
2022-02-14 11:26:23 +01:00
|
|
|
color: var(--color-primary);
|
2022-02-14 11:13:06 +01:00
|
|
|
font-size: var(--font-large);
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
font-size: var(--font-base);
|
|
|
|
}
|
2022-02-14 11:26:23 +01:00
|
|
|
&:hover {
|
|
|
|
color: var(--color-secondary);
|
|
|
|
}
|
2022-02-14 11:13:06 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-page__post-comments {
|
|
|
|
p {
|
|
|
|
.button--uri-indicator {
|
|
|
|
.channel-name {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
font-size: var(--font-xsmall);
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-xxxs);
|
|
|
|
}
|
2021-03-11 18:08:11 +01:00
|
|
|
}
|
|
|
|
|
2020-08-24 06:00:10 +02:00
|
|
|
.main__auth-content {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
flex-direction: column;
|
|
|
|
padding-bottom: var(--spacing-xl);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
> :first-child {
|
|
|
|
position: fixed;
|
2022-04-04 17:43:10 +02:00
|
|
|
// background-color: var(--color-background);
|
2020-08-24 06:00:10 +02:00
|
|
|
width: calc(40% - var(--spacing-l));
|
|
|
|
margin-top: var(--spacing-xl);
|
|
|
|
}
|
|
|
|
|
|
|
|
> :nth-child(2) {
|
|
|
|
width: 50%;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-medium) {
|
|
|
|
> :first-child {
|
|
|
|
width: calc(30% - var(--spacing-l));
|
|
|
|
max-width: 25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
> :nth-child(2) {
|
|
|
|
width: 50%;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
2019-08-27 16:43:42 +02:00
|
|
|
}
|
|
|
|
|
2020-06-01 19:03:19 +02:00
|
|
|
.main--buy {
|
|
|
|
@extend .main--auth-page;
|
|
|
|
max-width: 30rem;
|
|
|
|
min-height: 400px;
|
|
|
|
|
|
|
|
.card {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
min-height: 420px;
|
|
|
|
background-color: var(--color-card-background);
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sm:bg-grey-lighter {
|
|
|
|
background-color: var(--color-card-background);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-10 07:36:02 +01:00
|
|
|
.main--send {
|
|
|
|
@extend .main--buy;
|
|
|
|
max-width: 34rem;
|
|
|
|
}
|
|
|
|
|
2021-03-25 12:24:49 +01:00
|
|
|
.main--swap {
|
|
|
|
@extend .main--buy;
|
|
|
|
max-width: 34rem;
|
|
|
|
}
|
|
|
|
|
2021-04-08 17:39:33 +02:00
|
|
|
.main--report-content {
|
|
|
|
@extend .main--auth-page;
|
|
|
|
max-width: 40rem;
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
.form-field__two-column {
|
|
|
|
display: flex;
|
|
|
|
.comment__char-count-mde {
|
|
|
|
margin-left: auto;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-04-19 21:01:28 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.card__main-actions {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
}
|
|
|
|
.section__actions {
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
}
|
|
|
|
.MuiAutocomplete-root {
|
|
|
|
background-color: var(--color-input-bg);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
.MuiOutlinedInput-input {
|
|
|
|
font-size: var(--font-body);
|
|
|
|
padding-left: var(--spacing-s);
|
|
|
|
padding-right: var(--spacing-s);
|
|
|
|
height: 22px !important;
|
|
|
|
&::placeholder {
|
|
|
|
color: #ffffff !important;
|
|
|
|
font-size: var(--font-body);
|
|
|
|
}
|
|
|
|
&:focus-visible {
|
|
|
|
box-shadow: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.Mui-focused {
|
|
|
|
outline: 2px solid var(--color-primary);
|
|
|
|
}
|
|
|
|
.MuiOutlinedInput-notchedOutline {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-08 17:39:33 +02:00
|
|
|
}
|
|
|
|
|
2019-04-18 18:51:15 +02:00
|
|
|
.main--empty {
|
2019-09-27 22:03:05 +02:00
|
|
|
align-self: center;
|
2019-04-18 18:51:15 +02:00
|
|
|
display: flex;
|
2019-09-27 22:03:05 +02:00
|
|
|
align-items: center;
|
2019-04-18 18:51:15 +02:00
|
|
|
flex-direction: column;
|
|
|
|
text-align: center;
|
2020-08-26 18:24:07 +02:00
|
|
|
padding: 0 var(--spacing-m);
|
|
|
|
margin-top: var(--spacing-l);
|
|
|
|
margin-bottom: var(--spacing-l);
|
2020-09-15 16:05:04 +02:00
|
|
|
width: 100%;
|
2020-08-26 18:24:07 +02:00
|
|
|
|
2020-04-01 20:43:50 +02:00
|
|
|
> .card {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-05-21 17:38:28 +02:00
|
|
|
|
2020-08-26 18:24:07 +02:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-top: 100px;
|
|
|
|
margin-bottom: 100px;
|
2020-05-21 17:38:28 +02:00
|
|
|
}
|
2019-04-18 18:51:15 +02:00
|
|
|
}
|
2019-06-17 22:32:38 +02:00
|
|
|
|
2019-07-23 10:05:51 +02:00
|
|
|
.main--launching {
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
background-color: var(--color-background);
|
|
|
|
}
|
|
|
|
|
2019-09-26 18:07:11 +02:00
|
|
|
.main--contained {
|
|
|
|
margin: auto;
|
2019-09-27 20:56:15 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
2020-08-24 06:00:10 +02:00
|
|
|
max-width: 60rem;
|
2019-09-27 20:56:15 +02:00
|
|
|
text-align: left;
|
2019-10-03 23:40:54 +02:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-09-26 18:07:11 +02:00
|
|
|
}
|
2019-08-27 16:43:42 +02:00
|
|
|
|
2020-08-26 22:28:33 +02:00
|
|
|
.main--hoisted {
|
|
|
|
margin-top: calc(var(--spacing-s) * -1);
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-top: calc(var(--spacing-l) * -1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-13 21:16:07 +02:00
|
|
|
.main__sign-in,
|
|
|
|
.main__sign-up {
|
|
|
|
max-width: 27rem;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
|
|
|
|
.card__title {
|
|
|
|
font-size: var(--font-large) !important;
|
|
|
|
}
|
|
|
|
}
|
2020-04-13 21:16:07 +02:00
|
|
|
}
|
|
|
|
|
2021-05-13 09:26:59 +02:00
|
|
|
.main__sign-up--graphic {
|
|
|
|
max-width: 47rem;
|
|
|
|
|
2021-12-14 06:58:28 +01:00
|
|
|
.card__first-pane {
|
|
|
|
width: 50%;
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2021-05-13 09:26:59 +02:00
|
|
|
.card__second-pane {
|
2021-05-30 08:01:00 +02:00
|
|
|
width: 50%;
|
2021-05-13 09:26:59 +02:00
|
|
|
border: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.signup-image {
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2021-05-13 09:26:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.card__title {
|
2022-02-11 19:50:55 +01:00
|
|
|
font-size: 0.93rem;
|
2021-05-13 09:26:59 +02:00
|
|
|
font-weight: var(--font-weight-bold);
|
|
|
|
}
|
|
|
|
|
|
|
|
.card__main-actions {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-13 21:16:07 +02:00
|
|
|
.main__channel-creation {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 32rem;
|
2022-05-02 09:48:28 +02:00
|
|
|
|
|
|
|
fieldset-section {
|
|
|
|
.form-field__avatar_upload {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
|
|
|
align-items: center;
|
|
|
|
.button--alt {
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-13 21:16:07 +02:00
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
|
2022-03-02 03:17:28 +01:00
|
|
|
// Temp hacks until 'section__actions--no-margin' is generic again.
|
2022-03-01 10:18:06 +01:00
|
|
|
.main__discover {
|
|
|
|
.section__actions--no-margin {
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2022-03-02 03:17:28 +01:00
|
|
|
width: unset; // It was being set to '100%' at the base level.
|
|
|
|
}
|
|
|
|
}
|
2022-04-04 21:00:16 +02:00
|
|
|
|
|
|
|
.claim-preview {
|
|
|
|
.claim-preview__text {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.claim-preview-metadata {
|
|
|
|
.claim-tile__info {
|
|
|
|
.media__subtitle {
|
|
|
|
width: calc(100% - 2.1rem);
|
|
|
|
.button {
|
|
|
|
display: inline;
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.button__content {
|
|
|
|
width: 100%;
|
|
|
|
.channel-name {
|
|
|
|
width: 100%;
|
|
|
|
p {
|
|
|
|
width: 99%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
span:not(.channel-name) {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-02 03:17:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Temp hacks until 'section__actions--no-margin' is generic again.
|
|
|
|
.main__channelsFollowing {
|
|
|
|
.section__actions--no-margin {
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
text-align: left; // It was forced to 'right' at the base level.
|
|
|
|
.button--secondary {
|
|
|
|
width: unset; // It was being set to '100%' at the base level.
|
|
|
|
}
|
2022-03-01 10:18:06 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.main-wrapper--scrollbar {
|
|
|
|
// The W3C future standard; currently supported by Firefox only.
|
|
|
|
// It'll hopefully auto fallback to this when 'webkit-scrollbar' below is deprecated in the future.
|
|
|
|
scrollbar-width: 6px;
|
|
|
|
scrollbar-color: var(--color-scrollbar-thumb-bg) var(--color-scrollbar-track-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-wrapper--scrollbar *::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-wrapper--scrollbar *::-webkit-scrollbar-track {
|
|
|
|
background: var(--color-scrollbar-track-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-wrapper--scrollbar *::-webkit-scrollbar-thumb {
|
|
|
|
// Don't set 'border-radius' because Firefox's 'scrollbar-xx'
|
|
|
|
// standard currently doesn't support it. Stick with square
|
|
|
|
// scrollbar for all browsers.
|
|
|
|
background-color: var(--color-scrollbar-thumb-bg);
|
|
|
|
}
|