generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
211 lines (183 loc) · 4.49 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
body {
--status-bar: #2fcc70ee;
--status-bar-animate: #2fcc70;
--status-bar-animate-shadow: #0280ff;
--status-bar-hover: #9e2ff9;
}
.theme-light {
--pa-text-normal: rgb(198, 208, 245);
--pa-background-primary: rgb(30, 30, 46);
--pa-record-font-color: #000000;
--pa-record-background-color: #ffffff;
}
.theme-dark {
--pa-text-normal: #e1e7fe;
--pa-background-primary: #1e1e2e;
--pa-record-font-color: #e1e7fe;
--pa-record-background-color: #1e1e2e;
}
.personal-assistant-statusbar:hover {
color: var(--status-bar-hover);
}
.personal-assistant-statusbar {
/* fill="#2fcc7099" */
order: 1;
color: var(--status-bar);
}
.personal-assistant-statusbar-breathing {
animation: svg-blink 2s infinite;
opacity: 1;
}
@keyframes svg-blink {
0% {
opacity: 1;
color: var(--status-bar-animate);
}
50% {
opacity: .8;
transform: scale(0.8);
filter: drop-shadow(6px 6px 10px var(--status-bar-animate-shadow));
color: var(--status-bar);
}
100% {
opacity: 1;
color: var(--status-bar-animate);
}
}
#svg-animate {
/*fill:#f42323 !important;*/
filter: drop-shadow(6px 6px 10px var(--status-bar-animate));
}
.plugin-swith-on-off-svg {
top: 0.24em;
position: relative;
margin-right: 4px;
}
.resize-popover-width {
--popover-width: var(--resize-popover-width);
}
.plugin-update-svg {
position: relative;
margin-right: 4px;
align-self: center;
}
.meter {
box-sizing: content-box;
height: 14px;
/* Can be anything */
position: relative;
margin: 1px 0 1px 0;
/* Just for demo spacing */
background: rgb(122, 122, 122);
border-radius: 9px;
padding: 1px;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
text-align: left;
font-family: "Courier New", "Comic Mono";
font-size: 13px;
font-style: oblique 40deg;
;
color: brown;
width: auto;
}
.meter>span {
display: block;
height: 100%;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
background-color: rgb(43, 194, 83);
background-image: linear-gradient(center bottom,
rgb(43, 194, 83) 37%,
rgb(84, 240, 84) 69%);
box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
inset 0 -2px 6px rgba(0, 0, 0, 0.4);
position: relative;
overflow: hidden;
width: auto;
}
.meter>span:after,
.animate>span>span {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-image: linear-gradient(-45deg,
rgba(255, 255, 255, 0.2) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.2) 50%,
rgba(255, 255, 255, 0.2) 75%,
transparent 75%,
transparent);
z-index: 1;
background-size: 40px 40px;
animation: move 4s linear infinite;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
overflow: hidden;
width: auto;
}
.animate>span:after {
display: none;
}
@keyframes move {
0% {
background-position: 0 0;
}
100% {
background-position: 40px 40px;
}
}
.orange>span {
background-image: linear-gradient(#f1a165, #f36d0a);
}
.red>span {
background-image: linear-gradient(#f0a3a3, #f42323);
}
.nostripes>span>span,
.nostripes>span::after {
background-image: none;
}
.progress-bar-grid {
display: grid;
grid-template-columns: 9fr 1fr;
column-gap: 8px;
margin-bottom: 8px;
width: 100%;
}
.progress-bar-number {
color: rgba(84, 240, 84, 0.69);
}
.progress-bar-notice {
max-width: 480px !important;
/*background-color: #363636;*/
background-color: var(--pa-background-primary);
border: 0.08em dashed #ff00005e;
box-shadow:
inset 0 -3em 3em rgba(0, 0, 0, 0.1),
0 0 0 1px rgba(172, 172, 172, 0.9),
0.3em 0.3em 1em rgba(0, 0, 0, 0.1);
}
.progress-bar-items-grid {
display: grid;
grid-template-columns: 18px 9fr;
grid-template-rows: repeat(auto-fill, 37px);
column-gap: 8px;
}
.progress-bar-items-text {
color: var(--pa-text-normal);
display: inline-block;
height: 18px;
align-self: center;
}
/* callout setting if it is nessecary to use in preview */
div.callout[data-callout="abstract"] {
--callout-icon: loader;
--callout-color: rgb(34, 152, 225);
}