-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
75 lines (62 loc) · 1.55 KB
/
Copy pathstyles.css
File metadata and controls
75 lines (62 loc) · 1.55 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
/* ============================================================
Typeset — Plugin Styles
============================================================ */
/* --- Margin validation warnings ---------------------------- */
.typeset-margin-group-label {
font-size: 0.8em;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-muted);
margin: 1.25rem 0 0 0;
padding: 0;
}
.typeset-margin-pair-warning {
margin: 0 0 0.5rem 0;
padding: 0;
}
.typeset-margin-warning {
margin: 0.15rem 0;
padding: 0;
font-size: 0.82em;
line-height: 1.4;
color: var(--text-muted);
}
.typeset-margin-warning::before {
content: "⚠ ";
color: var(--color-orange);
}
/* --- CSS editor search bar --------------------------------- */
.typeset-css-editor-search {
flex: 0 0 auto;
width: 100%;
height: 28px;
padding: 4px 12px;
font-size: 12px;
border: none;
border-bottom: 1px solid var(--background-modifier-border);
border-radius: 0;
background: var(--background-primary);
color: var(--text-normal);
box-sizing: border-box;
}
.typeset-css-editor-search:focus {
outline: none;
}
/* --- CSS editor CM6 container ------------------------------ */
.typeset-css-editor-cm .cm-editor {
height: 100%;
}
.typeset-css-editor-cm .cm-scroller {
overflow: auto;
}
/* Colour A — selector line highlight */
.typeset-search-selector {
background-color: rgba(255, 180, 0, 0.28);
border-radius: 2px;
}
/* Colour B — matching property line highlight */
.typeset-search-property {
background-color: rgba(0, 180, 220, 0.28);
border-radius: 2px;
}