246 lines
4.1 KiB
SCSS
246 lines
4.1 KiB
SCSS
.claim-list {
|
|
.claim-preview {
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
}
|
|
|
|
.claim-list__header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
margin: var(--spacing-medium) 0;
|
|
margin-top: 0;
|
|
font-size: var(--font-body);
|
|
|
|
.spinner {
|
|
margin-left: var(--spacing-medium);
|
|
}
|
|
}
|
|
|
|
.claim-list__header--small {
|
|
color: var(--color-text-subtitle);
|
|
}
|
|
|
|
.claim-list__dropdown {
|
|
padding: 0 var(--spacing-medium);
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
.claim-list__conjuction {
|
|
color: var(--color-text-subtitle);
|
|
font-size: var(--font-small);
|
|
}
|
|
|
|
.claim-list__alt-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: auto;
|
|
|
|
& > * {
|
|
margin-left: var(--spacing-small);
|
|
}
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.claim-preview {
|
|
flex: 1;
|
|
display: flex;
|
|
position: relative;
|
|
overflow: visible;
|
|
padding: var(--spacing-medium);
|
|
|
|
&:not(.claim-preview--inline):not(.claim-preview--pending):not(.claim-preview--inactive) {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.media__thumb {
|
|
width: var(--file-list-thumbnail-width);
|
|
flex-shrink: 0;
|
|
margin-right: var(--spacing-medium);
|
|
}
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
font-size: 14px;
|
|
|
|
.media__thumb {
|
|
width: 4rem;
|
|
height: 2.25rem;
|
|
}
|
|
|
|
.channel-thumbnail {
|
|
width: 4rem;
|
|
height: 4rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.claim-preview--large {
|
|
border: none;
|
|
padding: 0;
|
|
padding: var(--spacing-medium);
|
|
|
|
&:hover {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.media__thumb {
|
|
width: 14rem;
|
|
}
|
|
|
|
.channel-thumbnail {
|
|
width: 7.5rem;
|
|
height: 7.5rem;
|
|
}
|
|
}
|
|
|
|
.claim-preview--small {
|
|
padding: var(--spacing-small);
|
|
|
|
.media__thumb {
|
|
width: 8rem;
|
|
}
|
|
|
|
.channel-thumbnail {
|
|
width: 4rem;
|
|
height: 4rem;
|
|
}
|
|
}
|
|
|
|
.claim-preview--channel:not(.claim-preview--inline) {
|
|
background-color: var(--color-card-background-highlighted);
|
|
}
|
|
|
|
.claim-preview--pending {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.claim-preview--inline {
|
|
padding: 0;
|
|
border-bottom: none;
|
|
margin-bottom: var(--spacing-medium);
|
|
|
|
.channel-thumbnail {
|
|
width: var(--channel-thumbnail-width--small);
|
|
height: var(--channel-thumbnail-width--small);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
@media (max-width: $breakpoint-xsmall) {
|
|
.claim-preview__text {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.claim-preview__actions {
|
|
align-self: flex-start;
|
|
}
|
|
}
|
|
}
|
|
|
|
.claim-preview__text {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.claim-preview-title {
|
|
font-weight: var(--font-weight-bold);
|
|
font-size: var(--font-body);
|
|
margin-right: auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.claim-preview-metadata {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
}
|
|
|
|
.claim-preview-info {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.claim-preview-info,
|
|
.claim-preview-properties {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.claim-preview__actions {
|
|
align-self: flex-end;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.claim-preview__button {
|
|
margin-left: 2rem;
|
|
}
|
|
|
|
.claim-preview-properties {
|
|
align-items: flex-end;
|
|
flex: 1;
|
|
font-size: var(--font-small);
|
|
color: var(--color-text-subtitle);
|
|
}
|
|
|
|
.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 {
|
|
background: var(--color-primary-alt);
|
|
padding: var(--spacing-miniscule);
|
|
}
|