124 lines
3.6 KiB
SCSS
124 lines
3.6 KiB
SCSS
.joe_wallpaper {
|
|
&__type {
|
|
position: relative;
|
|
background: var(--background);
|
|
border-radius: var(--radius-wrap);
|
|
box-shadow: var(--box-shadow);
|
|
padding: 60px 15px 15px;
|
|
margin-bottom: 15px;
|
|
&-title {
|
|
position: absolute;
|
|
top: 15px;
|
|
left: -10px;
|
|
background: var(--theme);
|
|
color: #fff;
|
|
font-weight: 500;
|
|
box-shadow: 2px 5px 10px rgba(49, 58, 70, 0.15);
|
|
height: 30px;
|
|
line-height: 30px;
|
|
padding: 0 12px;
|
|
border-radius: 2px 2px 2px 0;
|
|
user-select: none;
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
border-style: solid;
|
|
border-width: 10px;
|
|
bottom: -20px;
|
|
left: 0;
|
|
z-index: -1;
|
|
border-color: var(--theme) transparent transparent;
|
|
}
|
|
}
|
|
&-list {
|
|
display: grid;
|
|
gap: 15px;
|
|
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
|
border-top: 1px solid var(--classC);
|
|
padding-top: 15px;
|
|
.item {
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
background: var(--classD);
|
|
height: 28px;
|
|
line-height: 28px;
|
|
border-radius: 14px;
|
|
cursor: pointer;
|
|
color: var(--routine);
|
|
font-size: 12px;
|
|
padding: 0 15px;
|
|
text-align: center;
|
|
transition: color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.35s;
|
|
&.active {
|
|
transform: translateY(-2px);
|
|
color: #fff;
|
|
background: var(--theme);
|
|
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
.error {
|
|
text-align: center;
|
|
color: var(--routine);
|
|
user-select: none;
|
|
}
|
|
}
|
|
}
|
|
&__list {
|
|
column-count: 5;
|
|
column-gap: 0;
|
|
margin-bottom: 15px;
|
|
.item {
|
|
display: block;
|
|
break-inside: avoid;
|
|
img {
|
|
transition: 0.35s;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
&__pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
&-item {
|
|
user-select: none;
|
|
cursor: pointer;
|
|
margin-left: 5px;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
padding: 0 15px;
|
|
background: var(--background);
|
|
color: var(--main);
|
|
border-radius: 2px;
|
|
transition: background 0.35s, color 0.35s;
|
|
svg {
|
|
fill: var(--routine);
|
|
transition: fill 0.35s;
|
|
}
|
|
.next {
|
|
transform: rotate(180deg);
|
|
}
|
|
&.active,
|
|
&:hover {
|
|
color: #fff;
|
|
background: var(--theme);
|
|
svg {
|
|
fill: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&__loading {
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 50px 0;
|
|
}
|
|
}
|