2019-09-27 20:56:15 +02:00
|
|
|
.claim-list {
|
2020-01-31 17:43:14 +01:00
|
|
|
.claim-preview__wrapper {
|
2019-11-22 22:13:00 +01:00
|
|
|
border-bottom: 1px solid var(--color-border);
|
2019-09-27 20:56:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-28 09:27:55 +02:00
|
|
|
.claim-list__header {
|
2019-06-11 20:10:58 +02:00
|
|
|
display: flex;
|
2020-01-02 23:30:58 +01:00
|
|
|
flex-wrap: wrap;
|
2020-03-09 15:46:12 +01:00
|
|
|
align-items: center;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin: var(--spacing-m) 0;
|
2020-01-02 21:36:03 +01:00
|
|
|
margin-top: 0;
|
2019-07-21 23:31:22 +02:00
|
|
|
font-size: var(--font-body);
|
2019-06-11 20:10:58 +02:00
|
|
|
|
2020-01-02 23:30:58 +01:00
|
|
|
.spinner {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-left: var(--spacing-m);
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
2019-06-17 22:32:38 +02:00
|
|
|
}
|
|
|
|
|
2019-06-28 09:27:55 +02:00
|
|
|
.claim-list__dropdown {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: 0 var(--spacing-m);
|
2019-12-18 06:27:08 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2020-01-02 23:30:58 +01:00
|
|
|
margin-left: 0;
|
2019-12-18 06:27:08 +01:00
|
|
|
}
|
2019-11-22 22:13:00 +01:00
|
|
|
}
|
2019-06-29 00:21:21 +02:00
|
|
|
|
2020-01-02 21:36:03 +01:00
|
|
|
.claim-list__header-label {
|
|
|
|
position: absolute;
|
|
|
|
transform: translateY(-130%);
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
color: var(--color-text-subtitle);
|
|
|
|
|
|
|
|
.icon {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-right: var(--spacing-xs);
|
2020-01-02 21:36:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
position: static;
|
|
|
|
transform: none;
|
|
|
|
}
|
2020-01-02 17:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-11-22 22:13:00 +01:00
|
|
|
.claim-list__conjuction {
|
|
|
|
color: var(--color-text-subtitle);
|
|
|
|
font-size: var(--font-small);
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
|
|
|
|
2019-06-28 09:27:55 +02:00
|
|
|
.claim-list__alt-controls {
|
2020-03-09 15:46:12 +01:00
|
|
|
align-self: flex-start;
|
2019-06-11 20:10:58 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
& > * {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-left: var(--spacing-s);
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
2019-12-18 06:27:08 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
|
|
|
|
2021-03-10 05:11:45 +01:00
|
|
|
.claim-list__alt-controls--wrap {
|
|
|
|
@extend .claim-list__alt-controls;
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-31 17:43:14 +01:00
|
|
|
.claim-preview__wrapper {
|
2021-03-11 18:08:11 +01:00
|
|
|
@include font-sans;
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-m);
|
2020-01-31 17:43:14 +01:00
|
|
|
list-style: none;
|
2021-03-03 19:50:16 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.claim__menu-button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2020-01-31 17:43:14 +01:00
|
|
|
}
|
|
|
|
|
2020-02-05 19:01:07 +01:00
|
|
|
.claim-preview__wrapper--notice {
|
|
|
|
background-color: var(--color-notice);
|
|
|
|
}
|
|
|
|
|
2020-01-31 17:43:14 +01:00
|
|
|
.claim-preview__wrapper--inline {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__wrapper--small {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-s);
|
2020-01-31 17:43:14 +01:00
|
|
|
}
|
|
|
|
|
2019-06-27 08:18:45 +02:00
|
|
|
.claim-preview {
|
2019-09-27 20:56:15 +02:00
|
|
|
flex: 1;
|
2019-06-11 20:10:58 +02:00
|
|
|
display: flex;
|
|
|
|
position: relative;
|
2019-07-09 03:19:46 +02:00
|
|
|
overflow: visible;
|
2019-06-11 20:10:58 +02:00
|
|
|
|
2019-11-25 18:42:49 +01:00
|
|
|
&:not(.claim-preview--inline):not(.claim-preview--pending):not(.claim-preview--inactive) {
|
2019-07-21 23:31:22 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.media__thumb {
|
2020-08-04 19:50:33 +02:00
|
|
|
overflow: hidden;
|
2020-05-28 19:07:04 +02:00
|
|
|
$width: var(--file-list-thumbnail-width);
|
|
|
|
width: $width;
|
2020-05-28 21:09:21 +02:00
|
|
|
@include handleClaimListGifThumbnail($width);
|
2020-05-28 19:07:04 +02:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
flex-shrink: 0;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-right: var(--spacing-m);
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
2019-12-18 06:27:08 +01:00
|
|
|
|
2020-12-04 01:10:23 +01:00
|
|
|
.media__thumb-placeholder-text {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: var(--spacing-m);
|
|
|
|
}
|
|
|
|
|
2020-04-13 21:16:07 +02:00
|
|
|
.channel-thumbnail {
|
2020-05-28 19:07:04 +02:00
|
|
|
@include handleChannelGif(6rem);
|
2020-04-13 21:16:07 +02:00
|
|
|
}
|
|
|
|
|
2020-02-05 03:54:19 +01:00
|
|
|
&:hover {
|
|
|
|
.claim-preview__hover-actions {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-08-04 19:50:33 +02:00
|
|
|
.claim-preview__file-property-overlay {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-02-05 03:54:19 +01:00
|
|
|
}
|
|
|
|
|
2019-12-18 06:27:08 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
2019-12-20 21:46:59 +01:00
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
2020-12-04 01:10:23 +01:00
|
|
|
@include handleChannelGif(4rem);
|
2019-12-18 06:27:08 +01:00
|
|
|
}
|
|
|
|
}
|
2019-07-23 10:05:51 +02:00
|
|
|
}
|
|
|
|
|
2020-12-04 01:10:23 +01:00
|
|
|
.claim-preview__empty {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-06-27 08:18:45 +02:00
|
|
|
.claim-preview--large {
|
2019-07-21 23:31:22 +02:00
|
|
|
border: none;
|
2020-12-04 01:10:23 +01:00
|
|
|
min-height: 8rem;
|
2019-06-11 20:10:58 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2020-12-04 01:10:23 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
min-height: 4rem;
|
|
|
|
}
|
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.media__thumb {
|
2019-07-21 23:31:22 +02:00
|
|
|
width: 14rem;
|
2020-05-29 19:26:06 +02:00
|
|
|
@include handleClaimListGifThumbnail(14rem);
|
2020-04-01 22:00:09 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2020-12-04 01:10:23 +01:00
|
|
|
min-height: 5rem;
|
|
|
|
width: 8rem;
|
2020-04-01 22:00:09 +02:00
|
|
|
}
|
2019-07-21 23:31:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
2020-12-04 01:10:23 +01:00
|
|
|
width: 7.5rem;
|
2020-05-28 19:07:04 +02:00
|
|
|
@include handleChannelGif(7.5rem);
|
2020-12-04 01:10:23 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 5rem;
|
|
|
|
@include handleChannelGif(5rem);
|
|
|
|
}
|
2019-07-21 23:31:22 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview--small {
|
|
|
|
.channel-thumbnail {
|
2020-05-28 19:07:04 +02:00
|
|
|
@include handleChannelGif(4rem);
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
2021-02-16 22:09:20 +01:00
|
|
|
|
|
|
|
.media__subtitle {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
|
|
|
|
2019-07-11 20:06:25 +02:00
|
|
|
.claim-preview--pending {
|
2019-06-28 09:27:55 +02:00
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2020-02-11 17:50:42 +01:00
|
|
|
.claim-preview--padded {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-s);
|
2020-02-11 17:50:42 +01:00
|
|
|
}
|
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
.claim-preview--inline {
|
|
|
|
.channel-thumbnail {
|
2020-05-29 05:02:56 +02:00
|
|
|
@include handleChannelGif(var(--channel-thumbnail-width--small));
|
2019-07-21 23:31:22 +02:00
|
|
|
}
|
2019-12-18 06:27:08 +01: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;
|
2020-09-30 22:46:20 +02:00
|
|
|
flex-wrap: wrap;
|
2019-12-18 06:27:08 +01:00
|
|
|
}
|
2019-12-19 21:43:49 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-xsmall) {
|
|
|
|
.claim-preview__actions {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
}
|
2019-12-18 06:27:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__text {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2019-07-21 23:31:22 +02:00
|
|
|
}
|
|
|
|
|
2020-01-30 23:25:15 +01:00
|
|
|
.claim-preview__title {
|
2019-11-07 20:39:22 +01:00
|
|
|
font-weight: var(--font-weight-bold);
|
2019-11-22 22:13:00 +01:00
|
|
|
font-size: var(--font-body);
|
2019-07-21 23:31:22 +02:00
|
|
|
margin-right: auto;
|
2019-08-13 07:35:13 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
2020-02-05 01:05:21 +01:00
|
|
|
color: var(--color-text);
|
2019-07-21 23:31:22 +02:00
|
|
|
}
|
|
|
|
|
2020-10-12 23:12:46 +02:00
|
|
|
.claim-preview__custom-properties {
|
|
|
|
text-align: right;
|
2020-12-04 01:10:23 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-end;
|
2020-10-12 23:12:46 +02:00
|
|
|
}
|
|
|
|
|
2019-06-27 08:18:45 +02:00
|
|
|
.claim-preview-metadata {
|
2019-06-11 20:10:58 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-07-09 03:19:46 +02:00
|
|
|
flex: 1;
|
2020-04-01 20:43:50 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-bottom: var(--spacing-s);
|
2020-04-01 20:43:50 +02:00
|
|
|
}
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
|
|
|
|
2019-06-27 08:18:45 +02:00
|
|
|
.claim-preview-info {
|
2019-06-11 20:10:58 +02:00
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
2019-06-27 08:18:45 +02:00
|
|
|
.claim-preview-info,
|
|
|
|
.claim-preview-properties {
|
2019-06-11 20:10:58 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2019-12-18 06:27:08 +01:00
|
|
|
.claim-preview__actions {
|
|
|
|
align-self: flex-end;
|
2019-08-02 03:34:48 +02:00
|
|
|
display: flex;
|
2020-12-16 19:38:18 +01:00
|
|
|
flex-direction: column;
|
2019-12-18 06:27:08 +01:00
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: auto;
|
|
|
|
width: 100%;
|
2020-12-16 19:38:18 +01:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2019-08-02 03:34:48 +02:00
|
|
|
}
|
2019-12-18 06:27:08 +01:00
|
|
|
|
2020-06-29 19:25:29 +02:00
|
|
|
.claim-preview__primary-actions {
|
|
|
|
@extend .section__actions;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2020-02-11 20:04:51 +01:00
|
|
|
.claim-preview__actions--header {
|
|
|
|
@extend .claim-preview__actions;
|
2020-05-11 16:50:32 +02:00
|
|
|
flex-wrap: wrap;
|
2020-02-11 20:04:51 +01:00
|
|
|
}
|
|
|
|
|
2019-08-02 03:34:48 +02:00
|
|
|
.claim-preview__button {
|
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
|
|
|
|
2019-06-27 08:18:45 +02:00
|
|
|
.claim-preview-properties {
|
2019-06-11 20:10:58 +02:00
|
|
|
align-items: flex-end;
|
2019-06-27 22:27:38 +02:00
|
|
|
flex: 1;
|
2019-11-22 22:13:00 +01:00
|
|
|
font-size: var(--font-small);
|
|
|
|
color: var(--color-text-subtitle);
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
2019-10-11 02:37:18 +02:00
|
|
|
|
|
|
|
.claim-upload {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-m);
|
2019-10-11 02:37:18 +02:00
|
|
|
|
|
|
|
.media__thumb {
|
|
|
|
width: var(--file-list-thumbnail-width);
|
|
|
|
flex-shrink: 0;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-right: var(--spacing-m);
|
2019-10-11 02:37:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-upload__progress--outer {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-upload__progress--inner {
|
2019-11-25 17:54:28 +01:00
|
|
|
background: var(--color-primary-alt);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-xxs);
|
2019-10-11 02:37:18 +02:00
|
|
|
}
|
2020-01-20 17:47:03 +01: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 {
|
2020-07-22 22:32:18 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-01-20 17:47:03 +01:00
|
|
|
&:not(:first-of-type) {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-l);
|
2020-01-20 17:47:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
&:not(:first-of-type) {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-m);
|
2020-01-20 17:47:03 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-15 20:28:04 +02:00
|
|
|
.claim-grid__header {
|
|
|
|
margin-bottom: var(--spacing-m);
|
2020-09-16 19:02:45 +02:00
|
|
|
display: inline-block;
|
2020-09-15 20:28:04 +02:00
|
|
|
|
2020-09-17 19:28:46 +02:00
|
|
|
.button {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-15 20:28:04 +02:00
|
|
|
.icon__wrapper {
|
2020-09-17 19:28:46 +02:00
|
|
|
width: 0.5rem;
|
|
|
|
height: 0.5rem;
|
2020-09-16 19:02:45 +02:00
|
|
|
background-color: var(--color-primary-alt);
|
|
|
|
margin-right: var(--spacing-m);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-primary);
|
|
|
|
}
|
2020-09-17 19:28:46 +02:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
height: 1.5rem;
|
|
|
|
width: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
2020-09-15 20:28:04 +02:00
|
|
|
}
|
|
|
|
|
2020-01-20 17:47:03 +01:00
|
|
|
.claim-grid__title {
|
2020-09-15 20:28:04 +02:00
|
|
|
font-weight: 300;
|
|
|
|
font-size: var(--font-large);
|
2020-01-20 17:47:03 +01:00
|
|
|
}
|
|
|
|
|
2020-07-22 22:32:18 +02:00
|
|
|
.claim-grid__title--secondary {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2020-01-20 17:47:03 +01:00
|
|
|
.claim-grid__help {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
stroke: var(--color-text-subtitle);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview--tile {
|
2020-09-17 21:25:58 +02:00
|
|
|
margin-bottom: var(--spacing-m);
|
2020-01-20 17:47:03 +01:00
|
|
|
margin-right: 0;
|
|
|
|
margin-top: 0;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-left: var(--spacing-m);
|
2020-01-20 17:47:03 +01:00
|
|
|
justify-content: flex-start;
|
2020-08-26 23:16:45 +02:00
|
|
|
list-style: none;
|
2020-01-20 17:47:03 +01:00
|
|
|
|
2020-08-21 17:49:13 +02:00
|
|
|
.media__thumb {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2020-08-14 22:14:37 +02:00
|
|
|
}
|
|
|
|
|
2020-08-18 18:52:48 +02:00
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
2021-03-03 19:50:16 +01:00
|
|
|
|
|
|
|
.claim__menu-button {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-08-18 18:52:48 +02:00
|
|
|
}
|
2020-08-14 22:14:37 +02:00
|
|
|
|
2020-08-21 17:49:13 +02:00
|
|
|
@media (min-width: $breakpoint-large) {
|
|
|
|
$width: calc((100% - var(--spacing-m) * 5) / 6);
|
|
|
|
width: $width;
|
|
|
|
@include handleClaimTileGifThumbnail($width);
|
|
|
|
|
|
|
|
&:first-child,
|
|
|
|
&:nth-child(6n + 1) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-large) and (min-width: $breakpoint-medium) {
|
|
|
|
$width: calc((100% - var(--spacing-m) * 3) / 4);
|
|
|
|
width: $width;
|
|
|
|
@include handleClaimTileGifThumbnail($width);
|
|
|
|
|
|
|
|
&:first-child,
|
|
|
|
&:nth-child(4n + 1) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-01-20 17:47:03 +01:00
|
|
|
}
|
|
|
|
|
2020-01-30 18:41:21 +01:00
|
|
|
@media (max-width: $breakpoint-medium) and (min-width: $breakpoint-small) {
|
2020-09-16 20:56:23 +02:00
|
|
|
$width: calc((100vw - var(--side-nav-width--micro) - var(--spacing-xl) * 3) / 3);
|
2020-05-28 19:07:04 +02:00
|
|
|
width: $width;
|
|
|
|
@include handleClaimTileGifThumbnail($width);
|
2020-01-29 16:26:39 +01:00
|
|
|
|
|
|
|
&:first-child,
|
|
|
|
&:nth-child(3n + 1) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-01-27 21:46:17 +01:00
|
|
|
}
|
|
|
|
|
2020-01-20 17:47:03 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
2020-09-17 21:25:58 +02:00
|
|
|
$width: 100%;
|
2020-05-28 19:07:04 +02:00
|
|
|
width: $width;
|
|
|
|
@include handleClaimTileGifThumbnail($width);
|
2020-09-17 21:25:58 +02:00
|
|
|
margin-left: 0;
|
2020-01-20 17:47:03 +01:00
|
|
|
|
2020-09-17 21:25:58 +02:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: var(--spacing-s);
|
2020-01-20 17:47:03 +01:00
|
|
|
}
|
2020-01-29 16:26:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-20 17:47:03 +01:00
|
|
|
.claim-tile__title {
|
2021-03-03 19:50:16 +01:00
|
|
|
position: relative;
|
|
|
|
padding: var(--spacing-s);
|
2021-03-04 07:03:58 +01:00
|
|
|
padding-right: var(--spacing-l);
|
2021-03-03 19:50:16 +01:00
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: var(--spacing-s);
|
|
|
|
|
2020-01-20 17:47:03 +01:00
|
|
|
font-weight: 600;
|
|
|
|
color: var(--color-text);
|
2020-09-17 21:25:58 +02:00
|
|
|
font-size: var(--font-small);
|
2020-09-01 21:21:01 +02:00
|
|
|
min-height: 2rem;
|
2020-01-20 17:47:03 +01:00
|
|
|
|
2021-03-03 19:50:16 +01:00
|
|
|
.claim__menu-button {
|
|
|
|
right: 0.2rem;
|
|
|
|
top: var(--spacing-s);
|
|
|
|
}
|
|
|
|
|
2020-09-01 21:21:01 +02:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
min-height: 2.5rem;
|
2021-03-04 07:03:58 +01:00
|
|
|
padding-right: var(--spacing-m);
|
2020-01-20 17:47:03 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-tile__info {
|
|
|
|
display: flex;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
padding: var(--spacing-s);
|
2020-01-20 17:47:03 +01:00
|
|
|
border-top: 1px solid var(--color-border);
|
|
|
|
color: var(--color-subtitle);
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
2020-05-28 19:07:04 +02:00
|
|
|
@include handleChannelGif(2.1rem);
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-right: var(--spacing-s);
|
2020-01-20 17:47:03 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-tile__about {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
color: var(--color-text-subtitle);
|
2020-11-06 18:52:17 +01:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-01-20 17:47:03 +01:00
|
|
|
}
|
|
|
|
|
2020-01-22 15:33:27 +01:00
|
|
|
.claim-tile__publishes {
|
2020-01-29 16:26:39 +01:00
|
|
|
font-size: var(--font-xsmall);
|
2020-01-22 15:33:27 +01:00
|
|
|
}
|
|
|
|
|
2020-01-20 17:47:03 +01:00
|
|
|
.claim-tile__about--channel {
|
|
|
|
@extend .claim-tile__about;
|
2020-01-20 20:38:15 +01:00
|
|
|
flex: 1;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-01-20 17:47:03 +01:00
|
|
|
font-size: var(--font-body);
|
|
|
|
}
|
2020-01-28 19:36:58 +01:00
|
|
|
|
2020-08-04 19:50:33 +02:00
|
|
|
.claim-preview__file-property-overlay {
|
2020-01-29 17:38:46 +01:00
|
|
|
position: absolute;
|
2020-06-01 19:03:19 +02:00
|
|
|
bottom: var(--spacing-xxs);
|
|
|
|
right: var(--spacing-xxs);
|
2020-01-29 17:38:46 +01:00
|
|
|
background-color: var(--color-black);
|
2020-05-21 17:38:28 +02:00
|
|
|
padding: 0.3rem;
|
2020-01-29 17:38:46 +01:00
|
|
|
border-radius: var(--border-radius);
|
2020-08-04 19:50:33 +02:00
|
|
|
opacity: 0.7;
|
|
|
|
z-index: 2;
|
2020-01-29 17:38:46 +01:00
|
|
|
|
|
|
|
.file-properties {
|
|
|
|
color: var(--color-white);
|
|
|
|
}
|
2020-03-26 16:18:05 +01:00
|
|
|
|
2020-05-21 17:38:28 +02:00
|
|
|
.file-price {
|
|
|
|
padding: 0.1rem;
|
|
|
|
}
|
2020-01-28 19:36:58 +01:00
|
|
|
}
|
2020-01-29 19:58:43 +01:00
|
|
|
|
|
|
|
.claim-preview--tile {
|
|
|
|
&:hover {
|
2020-02-05 17:42:46 +01:00
|
|
|
.claim-preview__hover-actions {
|
2020-01-29 19:58:43 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2020-08-04 19:50:33 +02:00
|
|
|
.claim-preview__file-property-overlay {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-01-29 19:58:43 +01:00
|
|
|
}
|
|
|
|
}
|
2020-01-31 17:43:14 +01:00
|
|
|
|
|
|
|
.claim-preview__repost-author {
|
2020-06-01 19:03:19 +02:00
|
|
|
transform: translateY(calc(var(--spacing-xs) * -1));
|
2020-01-31 17:43:14 +01:00
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
color: var(--color-text-subtitle);
|
2021-02-16 22:09:20 +01:00
|
|
|
}
|
2020-01-31 17:43:14 +01:00
|
|
|
|
2021-02-16 22:09:20 +01:00
|
|
|
.claim-preview__repost-icon {
|
|
|
|
margin-right: var(--spacing-xxs);
|
|
|
|
margin-bottom: -1px; // Offset it slightly because it doesn't look aligned next to all lowercase text + the @ from a channel
|
2020-01-31 17:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.claim-tile__repost-author {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin: var(--spacing-s);
|
2020-01-31 17:43:14 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-02-05 17:42:46 +01:00
|
|
|
|
|
|
|
.claim-preview__hover-actions {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2020-06-01 19:03:19 +02:00
|
|
|
top: var(--spacing-xxs);
|
|
|
|
right: var(--spacing-xxs);
|
2020-02-05 17:42:46 +01:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
color: var(--color-black);
|
|
|
|
background-color: var(--color-white);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-xs);
|
2020-02-05 17:42:46 +01:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
}
|
2020-10-20 19:10:02 +02:00
|
|
|
|
|
|
|
.claim-link {
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-12-04 01:10:23 +01:00
|
|
|
|
|
|
|
.claim-preview__null-label {
|
|
|
|
margin: auto;
|
|
|
|
}
|
2021-03-03 19:50:16 +01:00
|
|
|
|
|
|
|
.claim-preview__channel-staked {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
@include handleChannelGif(1.4rem);
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim__menu-button {
|
|
|
|
position: absolute;
|
|
|
|
top: var(--spacing-xs);
|
|
|
|
right: var(--spacing-xs);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-text);
|
|
|
|
}
|
|
|
|
|
2021-03-04 07:03:58 +01:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
&:not([aria-expanded='true']) {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-03-03 19:50:16 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim__menu-button--inline {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
right: auto;
|
|
|
|
top: auto;
|
|
|
|
@extend .button--alt;
|
|
|
|
padding: 0 var(--spacing-xxs);
|
|
|
|
}
|