-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMMM-Random-local-image.css
More file actions
125 lines (110 loc) · 2.02 KB
/
Copy pathMMM-Random-local-image.css
File metadata and controls
125 lines (110 loc) · 2.02 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* MMM-Random-local-image Transition Effects */
.mmm-random-image-wrapper {
position: relative;
overflow: hidden;
}
.mmm-random-image-container {
display: inline-block;
background-color: #000; /* Black background while image loads */
}
/* Fade Transition */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.transition-fade {
animation-name: fadeIn;
animation-timing-function: ease-in-out;
animation-fill-mode: both;
}
/* Slide Left Transition */
@keyframes slideInLeft {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.transition-slide-left {
animation-name: slideInLeft;
animation-timing-function: ease-out;
animation-fill-mode: both;
}
/* Slide Right Transition */
@keyframes slideInRight {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.transition-slide-right {
animation-name: slideInRight;
animation-timing-function: ease-out;
animation-fill-mode: both;
}
/* Slide Up Transition */
@keyframes slideInUp {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.transition-slide-up {
animation-name: slideInUp;
animation-timing-function: ease-out;
animation-fill-mode: both;
}
/* Slide Down Transition */
@keyframes slideInDown {
from {
transform: translateY(-100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.transition-slide-down {
animation-name: slideInDown;
animation-timing-function: ease-out;
animation-fill-mode: both;
}
/* Zoom Transition */
@keyframes zoomIn {
from {
transform: scale(0.5);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
.transition-zoom {
animation-name: zoomIn;
animation-timing-function: ease-out;
animation-fill-mode: both;
}
/* Backup Directory Indicator */
.backup-indicator {
color: #ff9800;
font-size: 0.9em;
margin-left: 8px;
opacity: 0.8;
}