forked from langflow-ai/langflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgifplayer.css
More file actions
36 lines (35 loc) · 1.08 KB
/
gifplayer.css
File metadata and controls
36 lines (35 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.gif_player {
display: inline-block;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent; }
.gif_player .play_button {
background-color: rgba(0, 0, 0, 0.5);
border: 2px dashed #fff;
border-radius: 50%;
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.5);
color: #fff;
cursor: pointer;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 24px;
left: 50%;
opacity: 1;
padding: 14px 10px;
position: absolute;
top: 50%;
transform: translate(-50%, -50%) scale(1) rotate(0deg);
transition: transform 0.4s, opacity 0.4s; }
.gif_player .play_button:hover {
background-color: rgba(0, 0, 0, 0.7);
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.7); }
.gif_player .play_button::after {
content: "GIF"; }
.gif_player.playing .play_button {
transform: translate(-50%, -50%) scale(0) rotate(180deg);
opacity: 0.5; }
.gif_player img {
max-width: 100%; }