PluginProbe
Code Snippets / 3.9.6
Code Snippets v3.9.6
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
code-snippets / css / manage / _cloud.scss

_cloud.scss in Code Snippets 3.9.6, at css/manage/_cloud.scss

384 lines 5.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use '../common/theme';
2 @use '../common/tooltips';
3
4 .cloud-legend-tooltip {
5 h3 {
6 font-size: 16px;
7 color: #fff;
8 text-align: center;
9 }
10
11 td {
12 vertical-align: top;
13 }
14 }
15
16 .cloud-search-info {
17 text-align: justify;
18
19 small {
20 color: #646970;
21 float: inline-end;
22 }
23 }
24
25 .thickbox-code-viewer {
26 min-block-size: 250px;
27 background-color: hsl(0deg 0% 96.5%);
28 padding: 20px;
29 border-radius: 10px;
30 }
31
32 #snippet-code-thickbox {
33 display: block;
34 inline-size: 100%;
35 }
36
37 .no-results {
38 font-size: 15px;
39 }
40
41 .dashicons.cloud-synced {
42 color: theme.$cloud;
43 }
44
45 .dashicons.cloud-downloaded {
46 color: #e91e63;
47 }
48
49 .dashicons.cloud-not-downloaded {
50 color: theme.$outline;
51 }
52
53 .dashicons.cloud-update {
54 color: theme.$cloud-update;
55 }
56
57 .cloud_update a {
58 color: theme.$cloud-update !important;
59 text-decoration: underline;
60 }
61
62 .updated.column-updated span {
63 text-decoration: dotted underline;
64 }
65
66 td.column-name {
67 .cloud-icon {
68 margin-inline-end: 3px;
69 }
70 }
71
72 .cloud-snippet-download {
73 color: theme.$accent !important;
74 }
75
76 .cloud-snippet-downloaded, .cloud-snippet-preview-style {
77 color: #616161 !important;
78 }
79
80 .cloud-snippet-update {
81 color: theme.$cloud-update !important;
82 }
83
84 #cloud-search-form {
85 margin-block: 30px;
86 text-align: center;
87 }
88
89 .input-group {
90 position: relative;
91 display: flex;
92 flex-wrap: wrap;
93 align-items: stretch;
94 max-inline-size: 900px;
95 margin-block: 0;
96 margin-inline: auto;
97 }
98
99 #cloud_search {
100 display: block;
101 padding-block: 0.375rem;
102 padding-inline: 0.75rem;
103 font-size: 1rem;
104 color: #495057;
105 background-clip: padding-box;
106 border-radius: 0;
107 transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
108 position: relative;
109 flex: 1 1 auto;
110 inline-size: 1%;
111 margin-block-end: 0;
112
113 &:focus {
114 outline: 0;
115 border: 1px solid #8c8f94;
116 box-shadow: none;
117 }
118 }
119
120 #cloud-select-prepend {
121 margin-inline-end: -3px;
122 border-start-end-radius: 0;
123 border-end-end-radius: 0;
124 position: relative;
125 z-index: 2;
126 color: theme.$accent;
127 border-color: theme.$accent;
128 background-color: #f6f7f7;
129
130 &:hover {
131 background-color: #f0f0f1;
132 border-color: #0a4b78;
133 color: #0a4b78;
134 }
135 }
136
137 #cloud-search-submit {
138 padding-block: 0;
139 padding-inline: 15px;
140 margin-inline-start: -3px;
141 display: flex;
142 justify-content: center;
143 align-items: center;
144 }
145
146 .cloud-search {
147 margin-inline-start: 5px;
148 }
149
150 .bundle-group {
151 margin-block-start: 10px;
152 justify-content: space-between;
153 display: flex;
154 gap: 5px;
155 flex-wrap: nowrap;
156 }
157
158 #cloud-bundles {
159 color: #495057;
160 display: flex;
161 flex: 1 1 auto;
162 font-size: 1rem;
163 padding-block: 0.375rem;
164 padding-inline: 0.75rem;
165 position: relative;
166 inline-size: 50%;
167 }
168
169 #cloud-bundle-show {
170 inline-size: 10%;
171 }
172
173 #cloud-bundle-run {
174 inline-size: 15%;
175 }
176
177 #bundle_share_name {
178 color: #495057;
179 font-size: 1rem;
180 inline-size: 25%;
181 }
182
183 .heading-box {
184 max-inline-size: 900px;
185 margin: auto;
186 padding-block-end: 1rem;
187 }
188
189 .cloud-search-heading {
190 font-size: 23px;
191 font-weight: 400;
192 padding-block: 9px 4px;
193 padding-inline: 0;
194 line-height: 1.3;
195 text-align: center;
196 margin-block-end: 0;
197 }
198
199 .cloud-badge.ai-icon {
200 font-size: 12px;
201 padding: 3px;
202 margin-inline-start: 5px;
203 color: #b22222;
204 }
205
206 .cloud-search-card-bottom {
207 min-block-size: 40px;
208 }
209
210 #cloud-search-results .cloud-snippets #the-list {
211 display: flex;
212 flex-wrap: wrap;
213 justify-content: center;
214
215 .plugin-card {
216 display: flex;
217 flex-direction: column;
218 justify-content: space-between;
219
220 .cloud-meta-row {
221 display: flex;
222 justify-content: space-between;
223 align-items: center;
224 flex-grow: 1;
225 }
226
227 .column-name {
228 display: flex;
229 justify-content: space-between;
230
231 h3 {
232 display: inline-flex;
233 flex-shrink: 1;
234 }
235
236 .title-icon {
237 block-size: 90px;
238 margin-block-start: -7px;
239 }
240 }
241
242 .column-votes {
243 display: inline-flex;
244 gap: 3px;
245
246 &:hover {
247 .thumbs-up {
248 stroke: #059669;
249 fill: #6ee7b7;
250 animation: thumb 1s ease-in-out infinite;
251 }
252 }
253
254 .num-votes {
255 display: inline-flex;
256 align-items: flex-end;
257 }
258 }
259 }
260
261 .action-buttons {
262 margin: 0;
263 align-items: flex-end;
264
265 .button {
266 inline-size: 100%;
267 text-align: center;
268 }
269 }
270 }
271
272 .cloud-snippets #the-list {
273 .column-download {
274 display: flex;
275 flex-flow: column;
276 text-align: end;
277
278 li {
279 list-style: none;
280 }
281 }
282 }
283
284 .cloud-connect-wrap {
285 display: flex;
286 justify-content: space-between;
287 align-items: center;
288 max-block-size: 35px;
289 margin-block: 0;
290 margin-inline: 3px;
291 float: inline-end;
292 gap: 5px;
293 }
294
295 .cloud-table > tbody > tr {
296 block-size: 80px;
297 box-shadow: inset 0 -1px 0 rgb(0 0 0 / 10%);
298 }
299
300 .cloud-table > tbody > tr > td {
301 max-inline-size: 250px;
302 }
303
304 .cloud-table tbody .active-snippet .column-name {
305 font-weight: 400;
306 max-inline-size: 400px;
307 white-space: normal !important;
308 }
309
310 .cloud-table td .no-results {
311 margin-block-start: 15px;
312 color: #e32121;
313 text-align: center;
314 }
315
316 .cloud-status-dot {
317 block-size: 10px;
318 inline-size: 10px;
319 background-color: #ce0000;
320 border-radius: 50%;
321
322
323 .cloud-connect-active & {
324 background-color: #25a349;
325 }
326 }
327
328 .cloud-connect-text {
329 color: #ce0000;
330
331 .cloud-connect-active & {
332 color: #2e7d32;
333 }
334 }
335
336 .thumbs-up {
337 inline-size: 1.25rem; /* 20px */
338 block-size: 1.25rem; /* 20px */
339 transform-origin: bottom left;
340
341 &:hover {
342 stroke: #059669;
343 fill: #6ee7b7;
344 }
345 }
346
347 .plugin-card-bottom {
348 overflow: visible !important;
349 display: flex;
350 align-items: center;
351 }
352
353 .beta-test-notice {
354 margin-block-start: 20px;
355 }
356
357 .highlight-yellow {
358 background: #fefdba;
359 padding: 3px;
360 border-radius: 3px;
361 }
362
363 @keyframes thumb {
364 0% {
365 transform: rotate(0);
366 }
367
368 33% {
369 transform: rotate(7deg);
370 }
371
372 66% {
373 transform: rotate(-15deg);
374 }
375
376 90% {
377 transform: rotate(5deg);
378 }
379
380 100% {
381 transform: rotate(0);
382 }
383 }
384