simple-images-upload/sass/list.scss

32 lines
651 B
SCSS
Raw Normal View History

2023-09-23 20:54:44 +02:00
.list {
margin: 2rem 0;
.item{
padding: 0.5rem 0.75rem;
border: 2px solid var(--border-color);
background-color: var(--bg-alternate-color);
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
@include transition() {}
&:nth-child(2n) {
background-color: var(--default-color);
}
&.link {
cursor: pointer;
}
img {
border: 2px solid var(--font-color);
}
}
&.hover {
.item:hover {
background-color: var(--border-color);
}
}
}