@phun-ky/speccer 3.5.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/speccer.css CHANGED
@@ -1,2 +1,614 @@
1
- .dissection.button-icon:after,.dissection.button-outline:after{content:"";position:absolute;width:48px;top:50%;height:1px;background-color:#d4397a;z-index:99999}.dissection{height:1.5rem;width:1.5rem;display:flex;border-radius:100%;color:#fff;font-weight:600;align-items:center;justify-content:center;line-height:150%;font-size:16px;z-index:100000;box-sizing:content-box}.dissection,.dissection:after{position:absolute;background-color:#d4397a}.dissection:after{content:"";height:48px;top:100%;width:1px;z-index:99999}.dissection.outline.left:after{height:1px;width:48px;top:50%;left:100%}.dissection.outline.right:after{height:1px;width:48px;top:50%;right:100%}.dissection.outline.enclose{border-radius:0;background-color:transparent;color:red;border:1px solid #d4397a}.dissection.outline.enclose.right:after{left:calc(100% + 49px);right:auto}.dissection.outline.enclose.right:before{left:100%;right:auto}.dissection.outline.enclose.left:after{left:-49px;right:auto}.dissection.outline.enclose.left:before{right:100%;left:auto}.dissection.outline.enclose.top:after{top:-49px;bottom:auto}.dissection.outline.enclose.top:before{bottom:100%;top:auto}.dissection.outline.enclose.bottom:after{top:calc(100% + 49px);bottom:auto}.dissection.outline.enclose.bottom:before{top:100%;bottom:auto}.dissection.outline.full{border-radius:0;background-color:transparent;color:red;border:1px solid #d4397a}.dissection.outline.full.right{border-left:none}.dissection.outline.full.right:after{left:56px}.dissection.outline.full.right:before{left:100%}.dissection.outline.full.left{border-right:none}.dissection.outline.full.left:after{left:-56px}.dissection.outline.full.left:before{right:100%}.dissection.outline.full.top{border-bottom:none}.dissection.outline.full.top:after{top:-56px}.dissection.outline.full.top:before{bottom:100%}.dissection.outline.full.bottom{border-top:none}.dissection.outline.full.bottom:after{top:56px}.dissection.outline.full.bottom:before{top:100%}.dissection.outline.bottom:after{height:48px;width:1px;top:calc(-100% - 24px);right:50%}.dissection.button-center:after{content:"";position:absolute;height:48px;top:100%;width:1px;background-color:#d4397a;z-index:99999}.dissection.button-outline:after{right:100%}.dissection.button-icon:after{left:100%}.dissection.button-icon:before{content:"";position:absolute;height:1.5rem;left:calc(100% + 48px);width:1.5rem;border:1px solid #d4397a;z-index:99999}.dissection.outline.top:after,.dissection.outline:after{height:48px;width:1px;top:100%;right:50%}[data-anatomy-section]{counter-reset:type}.dissection.outline.full.left,.dissection.outline.full.right{width:8px}.dissection.outline.full.bottom,.dissection.outline.full.top{height:8px}.dissection.outline.full.bottom:after,.dissection.outline.full.left:after,.dissection.outline.full.right:after,.dissection.outline.full.top:after{content:attr(data-dissection-counter);height:1.5rem;width:1.5rem;display:flex;position:absolute;border-radius:100%;background-color:#d4397a;color:#fff;font-weight:600;align-items:center;justify-content:center;line-height:150%;font-size:16px;z-index:100000}.dissection.outline.full.left:after,.dissection.outline.full.right:after{top:50%;transform:translateY(-50%)}.dissection.outline.full.bottom:after,.dissection.outline.full.top:after{left:50%;transform:translateX(-50%)}.dissection.outline.full.bottom:before,.dissection.outline.full.left:before,.dissection.outline.full.right:before,.dissection.outline.full.top:before{content:"";position:absolute;background-color:#d4397a;z-index:100000;display:block}.dissection.outline.full.left:before,.dissection.outline.full.right:before{top:50%;transform:translateY(-50%);height:1px;width:49px}.dissection.outline.full.bottom:before,.dissection.outline.full.top:before{left:50%;transform:translateX(-50%);width:1px;height:49px}.dissection.outline.enclose.left,.dissection.outline.enclose.right{width:8px}.dissection.outline.enclose.bottom,.dissection.outline.enclose.top{height:8px}.dissection.outline.enclose.bottom:after,.dissection.outline.enclose.left:after,.dissection.outline.enclose.right:after,.dissection.outline.enclose.top:after{content:attr(data-dissection-counter);height:1.5rem;width:1.5rem;display:flex;position:absolute;border-radius:100%;background-color:#d4397a;color:#fff;font-weight:600;align-items:center;justify-content:center;line-height:150%;font-size:16px;z-index:100000}.dissection.outline.enclose.left:after,.dissection.outline.enclose.right:after{top:50%;transform:translateY(-50%)}.dissection.outline.enclose.bottom:after,.dissection.outline.enclose.top:after{left:50%;transform:translateX(-50%)}.dissection.outline.enclose.bottom:before,.dissection.outline.enclose.left:before,.dissection.outline.enclose.right:before,.dissection.outline.enclose.top:before{content:"";position:absolute;background-color:#d4397a;z-index:100000;display:block}.dissection.outline.enclose.left:before,.dissection.outline.enclose.right:before{top:50%;transform:translateY(-50%);height:1px;width:49px}.dissection.outline.enclose.bottom:before,.dissection.outline.enclose.top:before{left:50%;transform:translateX(-50%);width:1px;height:49px}.dissection.button-icon:after,.dissection.button-outline:after{content:"";position:absolute;width:48px;top:50%;height:1px;background-color:#d4397a;z-index:99999}
2
- .speccer{font-family:Menlo for Powerline,Menlo Regular for Powerline,DejaVu Sans Mono,Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace!important;justify-content:center;align-items:center;z-index:99999;position:absolute;display:flex;font-size:12px;line-height:12px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.speccer:hover{border:1px solid #333}.speccer.measure.width{color:red;border:1px solid red;border-bottom:none;height:8px}.speccer.measure.width:after{content:attr(data-measure);position:absolute;top:calc(-100% - 10px)}.speccer.measure.width.bottom{color:red;border:1px solid red;border-top:none}.speccer.measure.width.bottom:after{content:attr(data-measure);position:absolute;top:calc(100% + 5px)}.speccer.measure.height{color:red;border:1px solid red;border-right:none;width:8px}.speccer.measure.height:after{content:attr(data-measure);position:absolute;top:50%;left:calc(-100% - 25px);transform:translateY(-50%) rotate(-90deg)}.speccer.measure.height.right{color:red;border:1px solid red;border-left:none}.speccer.measure.height.right:after{content:attr(data-measure);position:absolute;top:50%;left:100%;transform:translateY(-50%) rotate(90deg)}.speccer-isSpecced:hover~.speccer.margin{background-color:#fff76f}.speccer-isSpecced:hover~.speccer.padding{background-color:#db6fff;color:#fff}.speccer.margin,.speccer.marginBottom,.speccer.marginLeft,.speccer.marginRight,.speccer.marginTop{background-color:rgba(255,247,111,.4);color:#333}.speccer.padding,.speccer.paddingBottom,.speccer.paddingLeft,.speccer.paddingRight,.speccer.paddingTop{background-color:rgba(219,111,255,.4);color:#ff3aa8}.speccer.marginBottom:after,.speccer.marginTop:after{content:"";position:absolute;height:100%;border-top:1px solid #333;border-bottom:1px solid #333;width:9px;left:40%}.speccer.marginBottom:before,.speccer.marginTop:before{content:"";position:absolute;height:100%;border-left:1px solid #333;margin-left:4px;width:0;left:40%}.speccer.marginLeft:after,.speccer.marginRight:after{content:"";position:absolute;height:9px;border-right:1px solid #ff3aa8;border-left:1px solid #ff3aa8;width:100%;top:10%}.speccer.marginLeft:before,.speccer.marginRight:before{content:"";position:absolute;height:0;border-top:1px solid #ff3aa8;margin-top:4px;width:100%;top:10%}.speccer.paddingBottom:after,.speccer.paddingTop:after{content:"";position:absolute;height:100%;border-top:1px solid #ff3aa8;border-bottom:1px solid #ff3aa8;width:9px;left:40%}.speccer.paddingBottom:before,.speccer.paddingTop:before{content:"";position:absolute;height:100%;border-left:1px solid #ff3aa8;margin-left:4px;width:0;left:40%}.speccer.paddingLeft:after,.speccer.paddingRight:after{content:"";position:absolute;height:9px;border-right:1px solid #ff3aa8;border-left:1px solid #ff3aa8;width:100%;top:10%}.speccer.paddingLeft:before,.speccer.paddingRight:before{content:"";position:absolute;height:0;border-top:1px solid #ff3aa8;margin-top:4px;width:100%;top:10%}.speccer.typography{background-color:#fff;color:#57575b;font-size:12px;padding:8px 24px;max-width:none;width:auto;display:block;text-align:left;line-height:140%;min-width:320px}.speccer.typography,.speccer.typography:hover{border:1px solid #e227b3}.speccer.typography:after{content:"";position:absolute;display:block;background-color:#e227b3}.speccer.typography.left:after,.speccer.typography:after{left:100%;top:50%;transform:translateY(-50%);height:1px;width:48px}.speccer.typography.right:after{left:auto;right:100%;top:50%;transform:translateY(-50%);height:1px;width:48px}.speccer.typography.top:after{top:100%}.speccer.typography.bottom:after,.speccer.typography.top:after{left:50%;right:auto;transform:translateX(-50%);height:48px;width:1px}.speccer.typography.bottom:after{top:auto;bottom:100%}.speccer.typography .speccer-styles{list-style:none;width:100%;margin:0;line-height:140%;padding:0 0 0 1rem;font-size:12px}.speccer.typography .speccer-styles .property{font-weight:400;color:#3f85f2;text-align:left;padding:0;font-size:12px;margin:0}.speccer.typography .speccer-styles>li{font-weight:400;color:#e227b3;text-align:left;padding:0;font-size:12px;margin:0;list-style:none;border:none}
1
+ .ph.speccer,
2
+ .ph.speccer::after,
3
+ .ph.speccer::before {
4
+ font-family: "Menlo for Powerline", "Menlo Regular for Powerline", "DejaVu Sans Mono", Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
5
+ justify-content: center;
6
+ align-items: center;
7
+ z-index: 99999;
8
+ position: absolute;
9
+ display: flex;
10
+ font-size: 12px;
11
+ box-sizing: border-box;
12
+ transition: all 0.2s ease-in;
13
+ line-height: 12px;
14
+ }
15
+ .ph.speccer.dissection {
16
+ font-family: sans-serif;
17
+ height: 1.5rem;
18
+ width: 1.5rem;
19
+ display: flex;
20
+ position: absolute;
21
+ border-radius: 100%;
22
+ background-color: #d4397a;
23
+ color: #fff;
24
+ font-weight: 400;
25
+ align-items: center;
26
+ justify-content: center;
27
+ line-height: 150%;
28
+ font-size: 16px;
29
+ z-index: 100000;
30
+ box-sizing: content-box;
31
+ }
32
+ .ph.speccer.dissection:after {
33
+ content: "";
34
+ position: absolute;
35
+ height: 48px;
36
+ top: 100%;
37
+ width: 1px;
38
+ background-color: #d4397a;
39
+ z-index: 99999;
40
+ }
41
+ .ph.speccer.dissection.outline:after,
42
+ .ph.speccer.dissection.outline.top:after {
43
+ height: 48px;
44
+ width: 1px;
45
+ top: 100%;
46
+ right: 50%;
47
+ }
48
+ .ph.speccer.dissection.outline.left:after {
49
+ height: 1px;
50
+ width: 48px;
51
+ top: 50%;
52
+ left: 100%;
53
+ }
54
+ .ph.speccer.dissection.outline.right:after {
55
+ height: 1px;
56
+ width: 48px;
57
+ top: 50%;
58
+ right: 100%;
59
+ }
60
+ .ph.speccer.dissection.outline.bottom:after {
61
+ height: 48px;
62
+ width: 1px;
63
+ top: calc(-100% - 24px);
64
+ right: 50%;
65
+ }
66
+ .ph.speccer.dissection.button-center:after {
67
+ content: "";
68
+ position: absolute;
69
+ height: 48px;
70
+ top: 100%;
71
+ width: 1px;
72
+ background-color: #d4397a;
73
+ z-index: 99999;
74
+ }
75
+ .ph.speccer.dissection.button-outline:after {
76
+ content: "";
77
+ position: absolute;
78
+ width: 48px;
79
+ top: 50%;
80
+ right: 100%;
81
+ height: 1px;
82
+ background-color: #d4397a;
83
+ z-index: 99999;
84
+ }
85
+ .ph.speccer.dissection.button-icon:after {
86
+ content: "";
87
+ position: absolute;
88
+ width: 48px;
89
+ left: 100%;
90
+ top: 50%;
91
+ height: 1px;
92
+ background-color: #d4397a;
93
+ z-index: 99999;
94
+ }
95
+ .ph.speccer.dissection.button-icon:before {
96
+ content: "";
97
+ position: absolute;
98
+ height: 1.5rem;
99
+ left: calc(100% + 48px);
100
+ width: 1.5rem;
101
+ border: 1px solid #d4397a;
102
+ z-index: 99999;
103
+ }
104
+ .ph.speccer.dissection:after {
105
+ content: "";
106
+ position: absolute;
107
+ height: 48px;
108
+ top: 100%;
109
+ width: 1px;
110
+ background-color: #d4397a;
111
+ z-index: 99999;
112
+ }
113
+ .ph.speccer.dissection.outline.left:after {
114
+ height: 1px;
115
+ width: 48px;
116
+ top: 50%;
117
+ left: 100%;
118
+ }
119
+ .ph.speccer.dissection.outline.right:after {
120
+ height: 1px;
121
+ width: 48px;
122
+ top: 50%;
123
+ right: 100%;
124
+ }
125
+ .ph.speccer.dissection.outline.enclose {
126
+ border-radius: 0;
127
+ background-color: transparent;
128
+ color: #f00;
129
+ border: 1px solid #d4397a;
130
+ }
131
+ .ph.speccer.dissection.outline.enclose.right:after {
132
+ left: calc(100% + 49px);
133
+ right: auto;
134
+ }
135
+ .ph.speccer.dissection.outline.enclose.right:before {
136
+ left: 100%;
137
+ right: auto;
138
+ }
139
+ .ph.speccer.dissection.outline.enclose.left:after {
140
+ left: calc(-1px - 48px);
141
+ right: auto;
142
+ }
143
+ .ph.speccer.dissection.outline.enclose.left:before {
144
+ right: 100%;
145
+ left: auto;
146
+ }
147
+ .ph.speccer.dissection.outline.enclose.top:after {
148
+ top: calc(-1px - 48px);
149
+ bottom: auto;
150
+ }
151
+ .ph.speccer.dissection.outline.enclose.top:before {
152
+ bottom: 100%;
153
+ top: auto;
154
+ }
155
+ .ph.speccer.dissection.outline.enclose.bottom:after {
156
+ top: calc(100% + 49px);
157
+ bottom: auto;
158
+ }
159
+ .ph.speccer.dissection.outline.enclose.bottom:before {
160
+ top: 100%;
161
+ bottom: auto;
162
+ }
163
+ .ph.speccer.dissection.outline.full {
164
+ border-radius: 0;
165
+ background-color: transparent;
166
+ color: #f00;
167
+ border: 1px solid #d4397a;
168
+ }
169
+ .ph.speccer.dissection.outline.full.right {
170
+ border-left: none;
171
+ }
172
+ .ph.speccer.dissection.outline.full.right:after {
173
+ left: calc(8px + 48px);
174
+ }
175
+ .ph.speccer.dissection.outline.full.right:before {
176
+ left: 100%;
177
+ }
178
+ .ph.speccer.dissection.outline.full.left {
179
+ border-right: none;
180
+ }
181
+ .ph.speccer.dissection.outline.full.left:after {
182
+ left: calc(-8px - 48px);
183
+ }
184
+ .ph.speccer.dissection.outline.full.left:before {
185
+ right: 100%;
186
+ }
187
+ .ph.speccer.dissection.outline.full.top {
188
+ border-bottom: none;
189
+ }
190
+ .ph.speccer.dissection.outline.full.top:after {
191
+ top: calc(-8px - 48px);
192
+ }
193
+ .ph.speccer.dissection.outline.full.top:before {
194
+ bottom: 100%;
195
+ }
196
+ .ph.speccer.dissection.outline.full.bottom {
197
+ border-top: none;
198
+ }
199
+ .ph.speccer.dissection.outline.full.bottom:after {
200
+ top: calc(8px + 48px);
201
+ }
202
+ .ph.speccer.dissection.outline.full.bottom:before {
203
+ top: 100%;
204
+ }
205
+ .ph.speccer.dissection.outline.bottom:after {
206
+ height: 48px;
207
+ width: 1px;
208
+ top: calc(-100% - 24px);
209
+ right: 50%;
210
+ }
211
+ .ph.speccer.dissection.button-center:after {
212
+ content: "";
213
+ position: absolute;
214
+ height: 48px;
215
+ top: 100%;
216
+ width: 1px;
217
+ background-color: #d4397a;
218
+ z-index: 99999;
219
+ }
220
+ .ph.speccer.dissection.button-outline:after {
221
+ right: 100%;
222
+ }
223
+ .ph.speccer.dissection.button-icon:after {
224
+ left: 100%;
225
+ }
226
+ .ph.speccer.dissection.button-icon:before {
227
+ content: "";
228
+ position: absolute;
229
+ height: 1.5rem;
230
+ left: calc(100% + 48px);
231
+ width: 1.5rem;
232
+ border: 1px solid #d4397a;
233
+ z-index: 99999;
234
+ }
235
+ .ph.speccer.dissection.outline.top:after,
236
+ .ph.speccer.dissection.outline:after {
237
+ height: 48px;
238
+ width: 1px;
239
+ top: 100%;
240
+ right: 50%;
241
+ }
242
+ [data-anatomy-section] {
243
+ counter-reset: type;
244
+ }
245
+ .ph.speccer.dissection.outline.full.right,
246
+ .ph.speccer.dissection.outline.full.left {
247
+ width: 8px;
248
+ }
249
+ .ph.speccer.dissection.outline.full.top,
250
+ .ph.speccer.dissection.outline.full.bottom {
251
+ height: 8px;
252
+ }
253
+ .ph.speccer.dissection.outline.full.right:after,
254
+ .ph.speccer.dissection.outline.full.left:after,
255
+ .ph.speccer.dissection.outline.full.top:after,
256
+ .ph.speccer.dissection.outline.full.bottom:after {
257
+ content: attr(data-dissection-counter);
258
+ height: 1.5rem;
259
+ width: 1.5rem;
260
+ display: flex;
261
+ position: absolute;
262
+ border-radius: 100%;
263
+ background-color: #d4397a;
264
+ color: #fff;
265
+ align-items: center;
266
+ justify-content: center;
267
+ line-height: 150%;
268
+ font-size: 16px;
269
+ z-index: 100000;
270
+ }
271
+ .ph.speccer.dissection.outline.full.right:after,
272
+ .ph.speccer.dissection.outline.full.left:after {
273
+ top: 50%;
274
+ transform: translateY(-50%);
275
+ }
276
+ .ph.speccer.dissection.outline.full.top:after,
277
+ .ph.speccer.dissection.outline.full.bottom:after {
278
+ left: 50%;
279
+ transform: translateX(-50%);
280
+ }
281
+ .ph.speccer.dissection.outline.full.right:before,
282
+ .ph.speccer.dissection.outline.full.left:before,
283
+ .ph.speccer.dissection.outline.full.top:before,
284
+ .ph.speccer.dissection.outline.full.bottom:before {
285
+ content: "";
286
+ position: absolute;
287
+ background-color: #d4397a;
288
+ z-index: 100000;
289
+ display: block;
290
+ }
291
+ .ph.speccer.dissection.outline.full.right:before,
292
+ .ph.speccer.dissection.outline.full.left:before {
293
+ top: 50%;
294
+ transform: translateY(-50%);
295
+ height: 1px;
296
+ width: 49px;
297
+ }
298
+ .ph.speccer.dissection.outline.full.top:before,
299
+ .ph.speccer.dissection.outline.full.bottom:before {
300
+ left: 50%;
301
+ transform: translateX(-50%);
302
+ width: 1px;
303
+ height: 49px;
304
+ }
305
+ .ph.speccer.dissection.outline.enclose.right,
306
+ .ph.speccer.dissection.outline.enclose.left {
307
+ width: 8px;
308
+ }
309
+ .ph.speccer.dissection.outline.enclose.top,
310
+ .ph.speccer.dissection.outline.enclose.bottom {
311
+ height: 8px;
312
+ }
313
+ .ph.speccer.dissection.outline.enclose.right:after,
314
+ .ph.speccer.dissection.outline.enclose.left:after,
315
+ .ph.speccer.dissection.outline.enclose.top:after,
316
+ .ph.speccer.dissection.outline.enclose.bottom:after {
317
+ content: attr(data-dissection-counter);
318
+ height: 1.5rem;
319
+ width: 1.5rem;
320
+ display: flex;
321
+ position: absolute;
322
+ border-radius: 100%;
323
+ background-color: #d4397a;
324
+ color: #fff;
325
+ align-items: center;
326
+ justify-content: center;
327
+ line-height: 150%;
328
+ font-size: 16px;
329
+ z-index: 100000;
330
+ }
331
+ .ph.speccer.dissection.outline.enclose.right:after,
332
+ .ph.speccer.dissection.outline.enclose.left:after {
333
+ top: 50%;
334
+ transform: translateY(-50%);
335
+ }
336
+ .ph.speccer.dissection.outline.enclose.top:after,
337
+ .ph.speccer.dissection.outline.enclose.bottom:after {
338
+ left: 50%;
339
+ transform: translateX(-50%);
340
+ }
341
+ .ph.speccer.dissection.outline.enclose.right:before,
342
+ .ph.speccer.dissection.outline.enclose.left:before,
343
+ .ph.speccer.dissection.outline.enclose.top:before,
344
+ .ph.speccer.dissection.outline.enclose.bottom:before {
345
+ content: "";
346
+ position: absolute;
347
+ background-color: #d4397a;
348
+ z-index: 100000;
349
+ display: block;
350
+ }
351
+ .ph.speccer.dissection.outline.enclose.right:before,
352
+ .ph.speccer.dissection.outline.enclose.left:before {
353
+ top: 50%;
354
+ transform: translateY(-50%);
355
+ height: 1px;
356
+ width: 49px;
357
+ }
358
+ .ph.speccer.dissection.outline.enclose.top:before,
359
+ .ph.speccer.dissection.outline.enclose.bottom:before {
360
+ left: 50%;
361
+ transform: translateX(-50%);
362
+ width: 1px;
363
+ height: 49px;
364
+ }
365
+ .ph.speccer.dissection.button-icon:after,
366
+ .ph.speccer.dissection.button-outline:after {
367
+ content: "";
368
+ position: absolute;
369
+ width: 48px;
370
+ top: 50%;
371
+ height: 1px;
372
+ background-color: #d4397a;
373
+ z-index: 99999;
374
+ }
375
+ .ph.speccer.spacing:hover {
376
+ border: 1px solid #333;
377
+ }
378
+ .ph.speccer.spacing.is-specced:hover ~ .speccer.margin {
379
+ background-color: #fff76f;
380
+ }
381
+ .ph.speccer.spacing.is-specced:hover ~ .speccer.padding {
382
+ background-color: #db6fff;
383
+ color: #fff;
384
+ }
385
+ .ph.speccer.spacing.margin {
386
+ background-color: rgba(255,247,111,0.4);
387
+ color: #333;
388
+ }
389
+ .ph.speccer.spacing.padding {
390
+ background-color: rgba(219,111,255,0.4);
391
+ color: #ff3aa8;
392
+ }
393
+ .ph.speccer.spacing.margin.bottom:after,
394
+ .ph.speccer.spacing.margin.top:after {
395
+ content: "";
396
+ position: absolute;
397
+ height: 100%;
398
+ border-top: 1px solid #333;
399
+ border-bottom: 1px solid #333;
400
+ width: 9px;
401
+ left: 40%;
402
+ }
403
+ .ph.speccer.spacing.margin.bottom:before,
404
+ .ph.speccer.spacing.margin.top:before {
405
+ content: "";
406
+ position: absolute;
407
+ height: 100%;
408
+ border-left: 1px solid #333;
409
+ margin-left: 4px;
410
+ width: 0;
411
+ left: 40%;
412
+ }
413
+ .ph.speccer.spacing.margin.left:after,
414
+ .ph.speccer.spacing.margin.right:after {
415
+ content: "";
416
+ position: absolute;
417
+ height: 9px;
418
+ border-right: 1px solid #ff3aa8;
419
+ border-left: 1px solid #ff3aa8;
420
+ width: 100%;
421
+ top: 10%;
422
+ }
423
+ .ph.speccer.spacing.margin.left:before,
424
+ .ph.speccer.spacing.margin.right:before {
425
+ content: "";
426
+ position: absolute;
427
+ height: 0;
428
+ border-top: 1px solid #ff3aa8;
429
+ margin-top: 4px;
430
+ width: 100%;
431
+ top: 10%;
432
+ }
433
+ .ph.speccer.spacing.padding.bottom:after,
434
+ .ph.speccer.spacing.padding.top:after {
435
+ content: "";
436
+ position: absolute;
437
+ height: 100%;
438
+ border-top: 1px solid #ff3aa8;
439
+ border-bottom: 1px solid #ff3aa8;
440
+ width: 9px;
441
+ left: 40%;
442
+ }
443
+ .ph.speccer.spacing.padding.bottom:before,
444
+ .ph.speccer.spacing.padding.top:before {
445
+ content: "";
446
+ position: absolute;
447
+ height: 100%;
448
+ border-left: 1px solid #ff3aa8;
449
+ margin-left: 4px;
450
+ width: 0;
451
+ left: 40%;
452
+ }
453
+ .ph.speccer.spacing.padding.left:after,
454
+ .ph.speccer.spacing.padding.right:after {
455
+ content: "";
456
+ position: absolute;
457
+ height: 9px;
458
+ border-right: 1px solid #ff3aa8;
459
+ border-left: 1px solid #ff3aa8;
460
+ width: 100%;
461
+ top: 10%;
462
+ }
463
+ .ph.speccer.spacing.padding.left:before,
464
+ .ph.speccer.spacing.padding.right:before {
465
+ content: "";
466
+ position: absolute;
467
+ height: 0;
468
+ border-top: 1px solid #ff3aa8;
469
+ margin-top: 4px;
470
+ width: 100%;
471
+ top: 10%;
472
+ }
473
+ .ph.speccer.typography {
474
+ background-color: #fff;
475
+ color: #57575b;
476
+ font-size: 12px;
477
+ padding: 8px 24px;
478
+ max-width: none;
479
+ width: auto;
480
+ display: block;
481
+ text-align: left;
482
+ line-height: 140%;
483
+ border: 1px solid #e227b3;
484
+ min-width: 320px;
485
+ }
486
+ .ph.speccer.typography:hover {
487
+ border: 1px solid #e227b3;
488
+ }
489
+ .ph.speccer.typography:after {
490
+ content: "";
491
+ position: absolute;
492
+ display: block;
493
+ background-color: #e227b3;
494
+ left: 100%;
495
+ top: 50%;
496
+ transform: translateY(-50%);
497
+ height: 1px;
498
+ width: 48px;
499
+ }
500
+ .ph.speccer.typography.left:after {
501
+ left: 100%;
502
+ top: 50%;
503
+ transform: translateY(-50%);
504
+ height: 1px;
505
+ width: 48px;
506
+ }
507
+ .ph.speccer.typography.right:after {
508
+ left: auto;
509
+ right: 100%;
510
+ top: 50%;
511
+ transform: translateY(-50%);
512
+ height: 1px;
513
+ width: 48px;
514
+ }
515
+ .ph.speccer.typography.top:after {
516
+ left: 50%;
517
+ right: auto;
518
+ top: 100%;
519
+ transform: translateX(-50%);
520
+ height: 48px;
521
+ width: 1px;
522
+ }
523
+ .ph.speccer.typography.bottom:after {
524
+ left: 50%;
525
+ right: auto;
526
+ top: auto;
527
+ bottom: 100%;
528
+ transform: translateX(-50%);
529
+ height: 48px;
530
+ width: 1px;
531
+ }
532
+ .ph.speccer.typography .speccer-styles {
533
+ list-style: none;
534
+ width: 100%;
535
+ padding: 0;
536
+ margin: 0;
537
+ line-height: 140%;
538
+ padding-left: 1rem;
539
+ font-size: 12px;
540
+ }
541
+ .ph.speccer.typography .speccer-styles .property {
542
+ font-weight: normal;
543
+ color: #3f85f2;
544
+ text-align: left;
545
+ padding: 0;
546
+ font-size: 12px;
547
+ margin: 0;
548
+ }
549
+ .ph.speccer.typography .speccer-styles > li {
550
+ font-weight: normal;
551
+ color: #e227b3;
552
+ text-align: left;
553
+ padding: 0;
554
+ font-size: 12px;
555
+ margin: 0;
556
+ list-style: none;
557
+ border: none;
558
+ }
559
+ .ph.speccer.measure.width {
560
+ color: #f00;
561
+ border: 1px solid #f00;
562
+ border-bottom: none;
563
+ height: 8px;
564
+ }
565
+ .ph.speccer.measure.width::after {
566
+ content: attr(data-measure);
567
+ position: absolute;
568
+ top: calc(-100% - 10px);
569
+ }
570
+ .ph.speccer.measure.width.bottom {
571
+ color: #f00;
572
+ border: 1px solid #f00;
573
+ border-top: none;
574
+ }
575
+ .ph.speccer.measure.width.bottom::after {
576
+ content: attr(data-measure);
577
+ position: absolute;
578
+ top: calc(100% + 5px);
579
+ }
580
+ .ph.speccer.measure.width.top {
581
+ color: #f00;
582
+ border: 1px solid #f00;
583
+ border-bottom: none;
584
+ }
585
+ .ph.speccer.measure.width.top::after {
586
+ content: attr(data-measure);
587
+ position: absolute;
588
+ bottom: calc(100% + 5px);
589
+ }
590
+ .ph.speccer.measure.height {
591
+ color: #f00;
592
+ border: 1px solid #f00;
593
+ border-right: none;
594
+ width: 8px;
595
+ }
596
+ .ph.speccer.measure.height::after {
597
+ content: attr(data-measure);
598
+ position: absolute;
599
+ top: 50%;
600
+ left: calc(-100% - 25px);
601
+ transform: translateY(-50%) rotate(-90deg);
602
+ }
603
+ .ph.speccer.measure.height.right {
604
+ color: #f00;
605
+ border: 1px solid #f00;
606
+ border-left: none;
607
+ }
608
+ .ph.speccer.measure.height.right::after {
609
+ content: attr(data-measure);
610
+ position: absolute;
611
+ top: 50%;
612
+ left: 100%;
613
+ transform: translateY(-50%) rotate(90deg);
614
+ }