mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 15:19:32 +00:00
parent
0344b99b69
commit
279fa09771
10 changed files with 93 additions and 41 deletions
|
|
@ -305,7 +305,7 @@
|
|||
margin-top: 4px;
|
||||
margin-bottom: -2px;
|
||||
|
||||
.icon-attention {
|
||||
.icon-attention-circled {
|
||||
margin-right: -3px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,40 @@ video {
|
|||
}
|
||||
}
|
||||
|
||||
.video-download {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
z-index: 2;
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
|
||||
|
||||
.icon-container {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.icon-download-alt {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.attachment:hover .video-download {
|
||||
opacity: 1;
|
||||
|
||||
&:hover {
|
||||
color: var(--fg_color);
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: none) {
|
||||
.video-download {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.video-overlay {
|
||||
@include play-button;
|
||||
background-color: $shadow;
|
||||
|
|
|
|||
Loading…
Reference in a new issue