lbry-desktop/ui/scss/component/_claim-list.scss

185 lines
3.2 KiB
SCSS
Raw Normal View History

2019-09-27 14:56:15 -04:00
.claim-list {
.claim-preview {
2019-11-22 16:13:00 -05:00
border-bottom: 1px solid var(--color-border);
2019-09-27 14:56:15 -04:00
}
}
.claim-list__header {
2019-06-11 14:10:58 -04:00
display: flex;
align-items: center;
2019-06-19 20:57:51 -04:00
min-height: 4.5rem;
2019-06-11 14:10:58 -04:00
padding: var(--spacing-medium);
2019-07-21 17:31:22 -04:00
font-size: var(--font-body);
2019-11-22 16:13:00 -05:00
border-bottom: 1px solid var(--color-border);
2019-06-11 14:10:58 -04:00
border-top-left-radius: var(--card-radius);
border-top-right-radius: var(--card-radius);
& > *:not(:last-child) {
margin-right: 0.5rem;
}
fieldset-section {
2019-07-23 04:05:51 -04:00
margin-top: 0;
margin-bottom: 0;
2019-06-11 14:10:58 -04:00
}
2019-06-17 16:32:38 -04:00
}
.claim-list__header--small {
2019-06-17 16:32:38 -04:00
height: 3rem;
min-height: 3rem;
2019-06-11 14:10:58 -04:00
}
.claim-list__dropdown {
2019-07-21 17:31:22 -04:00
margin-bottom: 0;
2019-06-11 14:10:58 -04:00
padding: 0 var(--spacing-medium);
padding-right: var(--spacing-large);
2019-11-22 16:13:00 -05:00
}
2019-06-28 18:21:21 -04: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
}
.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-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
padding: var(--spacing-medium);
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-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
padding: 0;
2019-07-21 17:31:22 -04:00
margin: var(--spacing-medium);
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 {
padding: var(--spacing-small);
.media__thumb {
width: 8rem;
}
.channel-thumbnail {
width: 4rem;
height: 4rem;
2019-06-11 14:10:58 -04:00
}
}
2019-11-22 16:13:00 -05:00
.claim-preview--channel:not(.claim-preview--inline) {
background-color: var(--color-card-background-highlighted);
}
2019-07-11 14:06:25 -04:00
.claim-preview--pending {
opacity: 0.6;
}
2019-07-21 17:31:22 -04:00
.claim-preview--inline {
padding: 0;
border-bottom: none;
2019-11-22 16:13:00 -05:00
margin-bottom: var(--spacing-medium);
2019-07-21 17:31:22 -04:00
.channel-thumbnail {
width: var(--channel-thumbnail-width--small);
height: var(--channel-thumbnail-width--small);
}
}
.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%;
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-08-01 21:34:48 -04:00
.claim-preview-actions {
display: flex;
justify-content: space-evenly;
}
.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
}
.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);
}