mirror of
https://github.com/mastodon/mastodon.git
synced 2024-09-18 19:40:41 +00:00
Change media gallery item active state in web UI
This commit is contained in:
parent
4b40d13cb3
commit
3a802552b2
|
@ -7081,6 +7081,15 @@ a.status-card {
|
|||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
|
||||
.no-reduce-motion & {
|
||||
transition-property: transform;
|
||||
transition-duration: 150ms;
|
||||
|
||||
&:active {
|
||||
transform: scale(0.99);
|
||||
}
|
||||
}
|
||||
|
||||
&--tall {
|
||||
grid-row: span 2;
|
||||
}
|
||||
|
@ -7091,7 +7100,7 @@ a.status-card {
|
|||
}
|
||||
|
||||
.media-gallery__item-thumbnail {
|
||||
cursor: zoom-in;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: $secondary-text-color;
|
||||
|
@ -7132,19 +7141,12 @@ a.status-card {
|
|||
}
|
||||
|
||||
.media-gallery__item-gifv-thumbnail {
|
||||
cursor: zoom-in;
|
||||
cursor: pointer;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.media-gallery__item-thumbnail-label {
|
||||
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* End Media Gallery */
|
||||
|
||||
.detailed,
|
||||
|
|
Loading…
Reference in a new issue