2022-01-20 08:54:45 +09:00
|
|
|
.collection-add,.collections-list {
|
2021-12-30 09:51:12 +09:00
|
|
|
padding: 10px 12px;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collection-add > form > div {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collection-add > form > div .mb-6 {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collection-add > form > div button {
|
2022-01-20 08:54:45 +09:00
|
|
|
margin-top: 0;
|
2021-12-30 09:51:12 +09:00
|
|
|
margin-bottom: var(--s);
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
@media only screen and (max-width:465px) {
|
2022-01-20 08:54:45 +09:00
|
|
|
.collection-add > form,.collection-add > form > div .mb-6 {
|
2021-12-30 09:51:12 +09:00
|
|
|
width: 100%;
|
2022-01-20 08:54:45 +09:00
|
|
|
margin: 0;
|
2021-12-30 09:51:12 +09:00
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collection-add > form > div {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collection-add > form > div button {
|
2022-01-20 08:54:45 +09:00
|
|
|
margin-top: var(--s);
|
|
|
|
margin-bottom: 0;
|
2021-12-30 09:51:12 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--collections-list-quantity: 3;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
|
|
|
@media only screen and (min-width:1281px) {
|
|
|
|
:root {
|
|
|
|
--collections-list-quantity: 3;
|
|
|
|
}
|
2021-12-30 09:51:12 +09:00
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
@media only screen and (max-width:1280px) {
|
2022-01-20 08:54:45 +09:00
|
|
|
:root {
|
|
|
|
--collections-list-quantity: 4;
|
|
|
|
}
|
2021-12-30 09:51:12 +09:00
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
@media only screen and (max-width:900px) {
|
2022-01-20 08:54:45 +09:00
|
|
|
:root {
|
|
|
|
--collections-list-quantity: 3;
|
|
|
|
}
|
2021-12-30 09:51:12 +09:00
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
@media only screen and (max-width:700px) {
|
2022-01-20 08:54:45 +09:00
|
|
|
:root {
|
|
|
|
--collections-list-quantity: 2;
|
|
|
|
}
|
2021-12-30 09:51:12 +09:00
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
@media only screen and (max-width:465px) {
|
2022-01-20 08:54:45 +09:00
|
|
|
:root {
|
|
|
|
--collections-list-quantity: 1;
|
|
|
|
}
|
2021-12-30 09:51:12 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.collections-list {
|
2022-01-20 08:54:45 +09:00
|
|
|
display: grid!important;
|
2021-12-30 09:51:12 +09:00
|
|
|
grid-gap: 12px;
|
2022-01-20 08:54:45 +09:00
|
|
|
grid-template-columns: repeat(var(--collections-list-quantity),1fr);
|
2021-12-30 09:51:12 +09:00
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
|
|
|
.collections-list h3,.collections-list h2,.collections-list h1 {
|
2021-12-30 09:51:12 +09:00
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: calc(var(--collections-list-quantity) + 1);
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item {
|
|
|
|
border: 2px solid var(--border);
|
|
|
|
border-radius: var(--s);
|
|
|
|
padding: 10px 20px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item .name {
|
|
|
|
margin-right: auto;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
word-break: break-word;
|
|
|
|
margin-right: 60px;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item summary {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 50px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item details + details > summary {
|
|
|
|
right: 20px;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item details {
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item svg {
|
|
|
|
fill: var(--foreground);
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item svg:hover {
|
|
|
|
fill: var(--accent);
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item details label {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-01-20 08:54:45 +09:00
|
|
|
|
2021-12-30 09:51:12 +09:00
|
|
|
.collections-list .collection-item details .danger {
|
|
|
|
color: #cb2d2d;
|
2022-01-20 08:54:45 +09:00
|
|
|
}
|