lbry-desktop/ui/scss/component/_collection.scss
mayeaux 0c4f85fe53
MAKE ODYSEE EVEN MORE BEAUTIFUL (#539)
WE LOVE YOU RAPHAEL FOR MAKING THIS HAPPEN!
2022-02-11 13:50:55 -05:00

162 lines
2.9 KiB
SCSS

.collection-preview__info {
display: flex;
align-items: center;
position: relative;
}
.collection__subtitle {
display: flex;
margin-bottom: var(--spacing-s);
}
.collection-preview__items {
display: flex;
align-items: center;
width: 100%;
height: 100%;
card {
pointer-events: none;
}
.claim-preview--tile {
z-index: 5;
margin-bottom: 0;
width: 100%;
box-shadow: 1px 1px 5px 2px #44444420;
}
}
.collection-preview__overlay-thumbs {
top: 0;
bottom: 0;
position: relative;
background-color: black;
opacity: 0;
}
.collection-img__hidden {
display: none;
}
.collection-preview__overlay-grid {
position: absolute;
display: flex;
flex-direction: column;
opacity: 1;
width: 50%;
left: 0;
top: 0;
bottom: 0;
.collection-preview__overlay-grid-items {
position: relative;
transform: scale(0.85);
.media__thumb {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
}
}
.collection-preview__overlay-side {
position: absolute;
opacity: 0.7;
background: black;
width: 50%;
top: 0;
bottom: 0;
left: 0;
height: 1000px;
}
.collection-title__hasEdits {
color: var(--color-primary);
}
.collection-select__item {
display: flex;
&:first-of-type {
margin-top: var(--spacing-xs);
}
margin-bottom: var(--spacing-xs);
margin-left: var(--spacing-xxs);
}
.icon-collection-select {
vertical-align: middle;
margin-right: var(--spacing-xs);
}
.collection-preview__edit-buttons {
position: absolute;
left: 0;
top: calc(var(--spacing-m) * -1);
bottom: calc(var(--spacing-m) * -1);
padding-left: 0;
padding-top: var(--spacing-m);
padding-bottom: var(--spacing-m);
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
align-items: center;
@media (max-width: $breakpoint-small) {
margin-right: var(--spacing-s);
}
}
.collection-preview__edit-group {
height: 100%;
display: flex;
flex-direction: column;
width: 2rem;
align-items: center;
justify-content: center;
align-items: stretch;
flex-grow: 4;
@media (max-width: $breakpoint-small) {
margin-right: 0;
button {
padding: var(--spacing-xs) var(--spacing-xs);
}
}
}
.collection-edit__header {
position: relative;
background-image: var(--color-card-background);
display: flex;
align-items: flex-end;
box-sizing: content-box;
color: #fff;
}
.collection-edit__thumb {
position: absolute;
top: 0;
left: var(--spacing-l);
margin-top: calc(var(--spacing-m) * 7);
z-index: $metadata-z-index;
> * {
padding: 0 var(--spacing-xs);
&:not(:last-child) {
margin-right: var(--spacing-m);
}
}
@media (max-width: $breakpoint-small) {
margin-top: 0;
.button {
margin-top: var(--spacing-l);
}
}
}
.collection-grid__results-summary {
padding: 0;
padding-bottom: var(--spacing-m);
color: var(--color-text-help);
}