feat(iine): add like buttons (#550)

This commit is contained in:
Óscar 2025-08-01 21:43:04 +02:00 committed by GitHub
parent 79b5dcf9a7
commit daa8b1a412
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 505 additions and 8 deletions

37
sass/parts/_iine.scss Normal file
View file

@ -0,0 +1,37 @@
.iine-button {
display: inline-flex;
align-items: center;
gap: 5px;
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
cursor: pointer;
border: none;
background: transparent;
color: inherit;
font-family: var(--sans-serif-font);
-webkit-tap-highlight-color: transparent;
appearance: none;
margin: 0;
padding: 0;
font-size: inherit;
line-height: inherit;
.icon {
display: inline-flex;
align-items: center;
}
.counter {
margin-left: .2rem;
font-size: 0.8rem;
}
svg {
width: 1em;
height: 1em;
}
}
.iine-auto-buttons {
margin-top: 2rem;
padding: 1rem 0;
}