2019-09-27 14:56:15 -04:00
|
|
|
.claim-list {
|
2020-01-31 11:43:14 -05:00
|
|
|
.claim-preview__wrapper {
|
2019-11-22 16:13:00 -05:00
|
|
|
border-bottom: 1px solid var(--color-border);
|
2019-09-27 14:56:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-28 03:27:55 -04:00
|
|
|
.claim-list__header {
|
2019-06-11 14:10:58 -04:00
|
|
|
display: flex;
|
2020-01-02 17:30:58 -05:00
|
|
|
flex-wrap: wrap;
|
2019-06-11 14:10:58 -04:00
|
|
|
align-items: center;
|
2020-01-02 15:36:03 -05:00
|
|
|
margin: var(--spacing-medium) 0;
|
|
|
|
margin-top: 0;
|
2019-07-21 17:31:22 -04:00
|
|
|
font-size: var(--font-body);
|
2019-06-11 14:10:58 -04:00
|
|
|
|
2020-01-02 17:30:58 -05:00
|
|
|
.spinner {
|
|
|
|
margin-left: var(--spacing-medium);
|
2019-06-11 14:10:58 -04:00
|
|
|
}
|
2019-06-17 16:32:38 -04:00
|
|
|
}
|
|
|
|
|
2019-06-28 03:27:55 -04:00
|
|
|
.claim-list__dropdown {
|
2019-06-11 14:10:58 -04:00
|
|
|
padding: 0 var(--spacing-medium);
|
2019-12-18 00:27:08 -05:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2020-01-02 17:30:58 -05:00
|
|
|
margin-left: 0;
|
2019-12-18 00:27:08 -05:00
|
|
|
}
|
2019-11-22 16:13:00 -05:00
|
|
|
}
|
2019-06-28 18:21:21 -04:00
|
|
|
|
2020-01-02 15:36:03 -05:00
|
|
|
.claim-list__header-label {
|
|
|
|
position: absolute;
|
|
|
|
transform: translateY(-130%);
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
color: var(--color-text-subtitle);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: var(--spacing-xsmall);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
position: static;
|
|
|
|
transform: none;
|
|
|
|
}
|
2020-01-02 11:30:27 -05:00
|
|
|
}
|
|
|
|
|
2019-11-22 16:13:00 -05:00
|
|
|
.claim-list__conjuction {
|
|
|
|
color: var(--color-text-subtitle);
|
|
|
|
font-size: var(--font-small);
|
2019-06-11 14:10:58 -04:00
|
|
|
}
|
|
|
|
|
2019-06-28 03:27:55 -04:00
|
|
|
.claim-list__alt-controls {
|
2019-06-11 14:10:58 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin-left: var(--spacing-small);
|
|
|
|
}
|
2019-12-18 00:27:08 -05:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-06-11 14:10:58 -04:00
|
|
|
}
|
|
|
|
|
2020-01-31 11:43:14 -05:00
|
|
|
.claim-preview__wrapper {
|
|
|
|
padding: var(--spacing-medium);
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__wrapper--channel {
|
|
|
|
background-color: var(--color-card-background-highlighted);
|
|
|
|
}
|
|
|
|
|
2020-02-05 13:01:07 -05:00
|
|
|
.claim-preview__wrapper--notice {
|
|
|
|
background-color: var(--color-notice);
|
|
|
|
}
|
|
|
|
|
2020-01-31 11:43:14 -05:00
|
|
|
.claim-preview__wrapper--inline {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__wrapper--small {
|
|
|
|
padding: var(--spacing-small);
|
|
|
|
}
|
|
|
|
|
2019-06-27 02:18:45 -04:00
|
|
|
.claim-preview {
|
2019-09-27 14:56:15 -04:00
|
|
|
flex: 1;
|
2019-06-11 14:10:58 -04:00
|
|
|
display: flex;
|
|
|
|
position: relative;
|
2019-07-08 21:19:46 -04:00
|
|
|
overflow: visible;
|
2019-06-11 14:10:58 -04:00
|
|
|
|
2019-11-25 12:42:49 -05:00
|
|
|
&:not(.claim-preview--inline):not(.claim-preview--pending):not(.claim-preview--inactive) {
|
2019-07-21 17:31:22 -04:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-06-11 14:10:58 -04:00
|
|
|
.media__thumb {
|
|
|
|
width: var(--file-list-thumbnail-width);
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: var(--spacing-medium);
|
|
|
|
}
|
2019-12-18 00:27:08 -05:00
|
|
|
|
2020-02-04 21:54:19 -05:00
|
|
|
&:hover {
|
|
|
|
.claim-preview__hover-actions {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-18 00:27:08 -05:00
|
|
|
@media (max-width: $breakpoint-small) {
|
2019-12-20 15:46:59 -05:00
|
|
|
font-size: 14px;
|
|
|
|
|
2019-12-18 00:27:08 -05:00
|
|
|
.media__thumb {
|
2020-01-08 14:20:30 -05:00
|
|
|
width: 5rem;
|
|
|
|
height: 3rem;
|
2019-12-20 15:46:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
2020-01-08 14:20:30 -05:00
|
|
|
width: 5rem;
|
|
|
|
height: 5rem;
|
2019-12-18 00:27:08 -05:00
|
|
|
}
|
|
|
|
}
|
2019-07-23 04:05:51 -04:00
|
|
|
}
|
|
|
|
|
2019-06-27 02:18:45 -04:00
|
|
|
.claim-preview--large {
|
2019-07-21 17:31:22 -04:00
|
|
|
border: none;
|
2019-06-11 14:10:58 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__thumb {
|
2019-07-21 17:31:22 -04:00
|
|
|
width: 14rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
width: 7.5rem;
|
|
|
|
height: 7.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview--small {
|
|
|
|
.media__thumb {
|
|
|
|
width: 8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
width: 4rem;
|
|
|
|
height: 4rem;
|
2019-06-11 14:10:58 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-11 14:06:25 -04:00
|
|
|
.claim-preview--pending {
|
2019-06-28 03:27:55 -04:00
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2020-02-11 11:50:42 -05:00
|
|
|
.claim-preview--padded {
|
|
|
|
padding: var(--spacing-small);
|
|
|
|
}
|
|
|
|
|
2019-07-21 17:31:22 -04:00
|
|
|
.claim-preview--inline {
|
|
|
|
.channel-thumbnail {
|
|
|
|
width: var(--channel-thumbnail-width--small);
|
|
|
|
height: var(--channel-thumbnail-width--small);
|
|
|
|
}
|
2019-12-18 00:27:08 -05:00
|
|
|
|
|
|
|
.claim-preview__actions {
|
|
|
|
align-self: flex-end;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: auto;
|
|
|
|
justify-content: flex-end;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__text {
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2019-12-19 15:43:49 -05:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-xsmall) {
|
|
|
|
.claim-preview__text {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__actions {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
}
|
2019-12-18 00:27:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__text {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2019-07-21 17:31:22 -04:00
|
|
|
}
|
|
|
|
|
2020-01-30 17:25:15 -05:00
|
|
|
.claim-preview__title {
|
2019-11-07 14:39:22 -05:00
|
|
|
font-weight: var(--font-weight-bold);
|
2019-11-22 16:13:00 -05:00
|
|
|
font-size: var(--font-body);
|
2019-07-21 17:31:22 -04:00
|
|
|
margin-right: auto;
|
2019-08-13 01:35:13 -04:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
2020-02-05 02:05:21 +02:00
|
|
|
color: var(--color-text);
|
2019-07-21 17:31:22 -04:00
|
|
|
}
|
|
|
|
|
2019-06-27 02:18:45 -04:00
|
|
|
.claim-preview-metadata {
|
2019-06-11 14:10:58 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-07-08 21:19:46 -04:00
|
|
|
flex: 1;
|
2019-06-11 14:10:58 -04:00
|
|
|
}
|
|
|
|
|
2019-06-27 02:18:45 -04:00
|
|
|
.claim-preview-info {
|
2019-06-11 14:10:58 -04:00
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
2019-06-27 02:18:45 -04:00
|
|
|
.claim-preview-info,
|
|
|
|
.claim-preview-properties {
|
2019-06-11 14:10:58 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2019-12-18 00:27:08 -05:00
|
|
|
.claim-preview__actions {
|
|
|
|
align-self: flex-end;
|
2019-08-01 21:34:48 -04:00
|
|
|
display: flex;
|
2019-12-18 00:27:08 -05:00
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: auto;
|
|
|
|
width: 100%;
|
2019-08-01 21:34:48 -04:00
|
|
|
}
|
2019-12-18 00:27:08 -05:00
|
|
|
|
2020-02-11 14:04:51 -05:00
|
|
|
.claim-preview__actions--header {
|
|
|
|
@extend .claim-preview__actions;
|
|
|
|
}
|
|
|
|
|
2019-08-01 21:34:48 -04:00
|
|
|
.claim-preview__button {
|
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
|
|
|
|
2019-06-27 02:18:45 -04:00
|
|
|
.claim-preview-properties {
|
2019-06-11 14:10:58 -04:00
|
|
|
align-items: flex-end;
|
2019-06-27 16:27:38 -04:00
|
|
|
flex: 1;
|
2019-11-22 16:13:00 -05:00
|
|
|
font-size: var(--font-small);
|
|
|
|
color: var(--color-text-subtitle);
|
2019-06-11 14:10:58 -04:00
|
|
|
}
|
2019-10-10 20:37:18 -04:00
|
|
|
|
|
|
|
.claim-upload {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
padding: var(--spacing-medium);
|
|
|
|
|
|
|
|
.media__thumb {
|
|
|
|
width: var(--file-list-thumbnail-width);
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: var(--spacing-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-upload__progress--outer {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-upload__progress--inner {
|
2019-11-25 11:54:28 -05:00
|
|
|
background: var(--color-primary-alt);
|
2019-10-22 16:42:13 -04:00
|
|
|
padding: var(--spacing-miniscule);
|
2019-10-10 20:37:18 -04:00
|
|
|
}
|
2020-01-20 11:47:03 -05:00
|
|
|
|
|
|
|
//
|
|
|
|
// The _other_ way to view claims
|
|
|
|
// A grid of tiles
|
|
|
|
// It should probably go into it's own file once we add more to it
|
|
|
|
//
|
|
|
|
.claim-grid {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
list-style: none;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-grid__wrapper {
|
|
|
|
&:not(:first-of-type) {
|
|
|
|
margin-top: var(--spacing-large);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
&:not(:first-of-type) {
|
|
|
|
margin-top: var(--spacing-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-grid__title {
|
|
|
|
margin-bottom: var(--spacing-medium);
|
|
|
|
|
|
|
|
&:not(:first-of-type) {
|
|
|
|
margin-top: var(--spacing-xlarge);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-grid__help {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
stroke: var(--color-text-subtitle);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview--tile {
|
|
|
|
width: calc((100% - var(--spacing-medium) * 3) / 4);
|
|
|
|
margin-bottom: var(--spacing-large);
|
|
|
|
margin-right: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: var(--spacing-medium);
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
2020-01-29 10:26:39 -05:00
|
|
|
@media (min-width: $breakpoint-medium) {
|
|
|
|
&:first-child,
|
2020-02-17 14:12:28 -05:00
|
|
|
&:nth-child(4n + 1) {
|
2020-01-29 10:26:39 -05:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-01-20 11:47:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__thumb {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
2020-01-30 12:41:21 -05:00
|
|
|
@media (max-width: $breakpoint-medium) and (min-width: $breakpoint-small) {
|
2020-01-29 10:26:39 -05:00
|
|
|
width: calc((100% - var(--spacing-medium) * 2) / 3);
|
|
|
|
|
|
|
|
&:first-child,
|
|
|
|
&:nth-child(3n + 1) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2020-01-27 15:46:17 -05:00
|
|
|
.channel-thumbnail {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-20 11:47:03 -05:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: calc((100% - var(--spacing-medium) * 1) / 2);
|
|
|
|
margin-bottom: var(--spacing-large);
|
|
|
|
|
|
|
|
&:first-child,
|
|
|
|
&:nth-child(2n + 1) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-01-29 10:26:39 -05:00
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-20 11:47:03 -05:00
|
|
|
.claim-tile__title {
|
|
|
|
margin-bottom: 0;
|
2020-01-29 11:38:46 -05:00
|
|
|
margin: var(--spacing-small);
|
2020-01-20 11:47:03 -05:00
|
|
|
font-weight: 600;
|
|
|
|
font-size: var(--font-small);
|
|
|
|
color: var(--color-text);
|
2020-01-20 14:38:15 -05:00
|
|
|
min-height: 2.5rem;
|
2020-01-20 11:47:03 -05:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-tile__info {
|
|
|
|
display: flex;
|
|
|
|
margin-top: var(--spacing-small);
|
|
|
|
padding: var(--spacing-small);
|
|
|
|
border-top: 1px solid var(--color-border);
|
|
|
|
color: var(--color-subtitle);
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
width: 2.1rem;
|
|
|
|
height: 2.1rem;
|
2020-02-10 15:49:43 -05:00
|
|
|
margin-right: var(--spacing-small);
|
2020-01-20 11:47:03 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-tile__about {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
color: var(--color-text-subtitle);
|
|
|
|
}
|
|
|
|
|
2020-01-22 09:33:27 -05:00
|
|
|
.claim-tile__publishes {
|
2020-01-29 10:26:39 -05:00
|
|
|
font-size: var(--font-xsmall);
|
2020-01-22 09:33:27 -05:00
|
|
|
}
|
|
|
|
|
2020-01-20 11:47:03 -05:00
|
|
|
.claim-tile__about--channel {
|
|
|
|
@extend .claim-tile__about;
|
2020-01-20 14:38:15 -05:00
|
|
|
flex: 1;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
height: 2.1rem;
|
2020-01-20 11:47:03 -05:00
|
|
|
font-size: var(--font-body);
|
|
|
|
}
|
2020-01-28 13:36:58 -05:00
|
|
|
|
2020-01-29 11:38:46 -05:00
|
|
|
.claim-tile__file-properties {
|
|
|
|
position: absolute;
|
|
|
|
bottom: var(--spacing-miniscule);
|
|
|
|
right: var(--spacing-miniscule);
|
|
|
|
background-color: var(--color-black);
|
|
|
|
padding: 0.2rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
|
|
|
|
.file-properties {
|
|
|
|
color: var(--color-white);
|
|
|
|
}
|
2020-01-28 13:36:58 -05:00
|
|
|
}
|
2020-01-29 13:58:43 -05:00
|
|
|
|
|
|
|
.claim-preview--tile {
|
|
|
|
&:hover {
|
2020-02-05 11:42:46 -05:00
|
|
|
.claim-preview__hover-actions {
|
2020-01-29 13:58:43 -05:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-31 11:43:14 -05:00
|
|
|
|
|
|
|
.claim-preview__repost-author {
|
2020-02-12 09:11:31 -05:00
|
|
|
transform: translateY(calc(var(--spacing-xsmall) * -1));
|
2020-01-31 11:43:14 -05:00
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
color: var(--color-text-subtitle);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: var(--spacing-miniscule);
|
|
|
|
margin-bottom: -1px; // Offset it slightly because it doesn't look aligned next to all lowercase text + the @ from a channel
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-tile__repost-author {
|
|
|
|
margin: var(--spacing-small);
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-02-05 11:42:46 -05:00
|
|
|
|
|
|
|
.claim-preview__hover-actions {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: var(--spacing-miniscule);
|
|
|
|
right: var(--spacing-miniscule);
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
color: var(--color-black);
|
|
|
|
background-color: var(--color-white);
|
|
|
|
padding: var(--spacing-xsmall);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
}
|