generated from zhouhua/obsidian-markdown-media-card
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
111 lines (99 loc) · 2.01 KB
/
styles.css
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
.power-mode-combo {
position: fixed;
display: flex;
right: 6%;
top: 120px;
font-weight: 900;
pointer-events: none;
z-index: 1;
font-size: 40px;
flex-direction: column;
align-items: flex-end;
font-family: monospace;
}
.power-mode-combo-progress {
height: 12px;
background-color: white;
border: solid 1px white;
}
.power-mode-combo-text {
color: white;
}
.power-mode-combo-exclamation {
font-size: 24px;
}
.power-mode-explosion {
position: absolute;
pointer-events: none;
transform: translateX(-50%);
}
.power-mode-explosion-mask {
background-color: currentColor;
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
filter: saturate(150%);
}
.power-mode-explosion-image {
background-repeat: no-repeat;
background-size: contain;
}
.power-mode-setting-preview {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 10px;
justify-content: flex-end;
}
.power-mode-setting-preview .power-mode-setting-item {
height: 64px;
width: fit-content;
position: relative;
}
.power-mode-setting-preview .power-mode-setting-remove {
opacity: 0;
transition: opacity 0.2s;
height: 20px;
width: 20px;
position: absolute;
right: -5px;
top: -5px;
background-color: rgba(128, 128, 128, 0.4);
border-radius: 50%;
cursor: pointer;
display: flex;
justify-content: center;
color: black;
font-size: 14px;
cursor: pointer;
}
.power-mode-setting-item:hover .power-mode-setting-remove {
opacity: 1;
}
.power-mode-setting-preview img {
width: auto;
height: 64px;
background-color: rgba(128, 128, 128, 0.4);
}
.power-mode-setting-list {}
.sortable-item {
transition: transform 200ms ease, opacity 200ms ease;
touch-action: none;
}
.is-dragging {
z-index: 1;
opacity: 0.4;
}
.power-mode-setting-item.dragging {
cursor: grabbing;
box-shadow: 0 5px 15px rgba(0,0,0,0.15);
transform-origin: 0 0;
animation: pop 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
}
@keyframes pop {
0% {
transform: scale(1);
}
100% {
transform: scale(1.05);
}
}