This commit is contained in:
Hachi-R 2025-01-19 19:30:48 -03:00
parent d758f326c3
commit 296524f894

View file

@ -1,136 +1,140 @@
@use "../../scss/globals.scss"; @use "../../scss/globals.scss";
.download-group { .download-group {
display: flex;
flex-direction: column;
gap: calc(globals.$spacing-unit * 2);
&__header {
display: flex; display: flex;
flex-direction: column; align-items: center;
justify-content: space-between;
gap: calc(globals.$spacing-unit * 2); gap: calc(globals.$spacing-unit * 2);
&__header { &-divider {
display: flex; flex: 1;
align-items: center; background-color: globals.$color-border;
justify-content: space-between; height: 1px;
gap: calc(globals.$spacing-unit * 2);
&-divider {
flex: 1;
background-color: globals.$color-border;
height: 1px;
}
&-count {
font-weight: 400;
}
} }
&__title-wrapper { &-count {
display: flex; font-weight: 400;
align-items: center; }
margin-bottom: globals.$spacing-unit; }
gap: globals.$spacing-unit;
&__title-wrapper {
display: flex;
align-items: center;
margin-bottom: globals.$spacing-unit;
gap: globals.$spacing-unit;
}
&__title {
font-weight: bold;
cursor: pointer;
color: var(--color-body);
text-align: left;
font-size: 16px;
display: block;
&:hover {
text-decoration: underline;
}
}
&__downloads {
width: 100%;
gap: calc(globals.$spacing-unit * 2);
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
margin-top: globals.$spacing-unit;
}
&__item {
width: 100%;
background-color: globals.$color-background;
display: flex;
border-radius: 8px;
border: solid 1px globals.$color-border;
overflow: hidden;
box-shadow: 0px 0px 5px 0px #000000;
transition: all ease 0.2s;
height: 140px;
min-height: 140px;
max-height: 140px;
position: relative;
}
&__cover {
width: 280px;
min-width: 280px;
height: auto;
border-right: solid 1px globals.$color-border;
position: relative;
z-index: 1;
&-content {
width: 100%;
height: 100%;
padding: globals.$spacing-unit;
display: flex;
align-items: flex-end;
justify-content: flex-end;
} }
&__title { &-backdrop {
font-weight: bold; width: 100%;
cursor: pointer; height: 100%;
color: var(--color-body); background: linear-gradient(
text-align: left; 0deg,
font-size: 16px; rgba(0, 0, 0, 0.8) 5%,
display: block; transparent 100%
);
&:hover { display: flex;
text-decoration: underline; overflow: hidden;
} z-index: 1;
} }
&__downloads { &-image {
width: 100%; width: 100%;
gap: calc(globals.$spacing-unit * 2); height: 100%;
display: flex; position: absolute;
flex-direction: column; z-index: -1;
margin: 0;
padding: 0;
margin-top: globals.$spacing-unit;
} }
}
&__item { &__right-content {
width: 100%; display: flex;
background-color: globals.$color-background; padding: calc(globals.$spacing-unit * 2);
display: flex; flex: 1;
border-radius: 8px; gap: globals.$spacing-unit;
border: solid 1px globals.$color-border; background: linear-gradient(90deg, transparent 20%, rgb(0 0 0 / 20%) 100%);
overflow: hidden; }
box-shadow: 0px 0px 5px 0px #000000;
transition: all ease 0.2s;
height: 140px;
min-height: 140px;
max-height: 140px;
position: relative;
}
&__cover { &__details {
width: 280px; display: flex;
min-width: 280px; flex-direction: column;
height: auto; flex: 1;
border-right: solid 1px globals.$color-border; justify-content: center;
position: relative; gap: calc(globals.$spacing-unit / 2);
z-index: 1; font-size: 14px;
}
&-content { &__actions {
width: 100%; display: flex;
height: 100%; align-items: center;
padding: globals.$spacing-unit; gap: globals.$spacing-unit;
display: flex; }
align-items: flex-end;
justify-content: flex-end;
}
&-backdrop { &__menu-button {
width: 100%; position: absolute;
height: 100%; top: 12px;
background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 5%, transparent 100%); right: 12px;
display: flex; border-radius: 50%;
overflow: hidden; border: none;
z-index: 1; padding: 8px;
} min-height: unset;
}
&-image {
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
}
}
&__right-content {
display: flex;
padding: calc(globals.$spacing-unit * 2);
flex: 1;
gap: globals.$spacing-unit;
background: linear-gradient(90deg, transparent 20%, rgb(0 0 0 / 20%) 100%);
}
&__details {
display: flex;
flex-direction: column;
flex: 1;
justify-content: center;
gap: calc(globals.$spacing-unit / 2);
font-size: 14px;
}
&__actions {
display: flex;
align-items: center;
gap: globals.$spacing-unit;
}
&__menu-button {
position: absolute;
top: 12px;
right: 12px;
border-radius: 50%;
border: none;
padding: 8px;
min-height: unset;
}
} }