@appscode/design-system 2.17.54 → 2.17.56
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/package.json
CHANGED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
.lightweight-editor {
|
|
2
|
+
border-radius: 4px;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
|
|
5
|
+
|
|
6
|
+
.cm-editor {
|
|
7
|
+
height: 100%;
|
|
8
|
+
|
|
9
|
+
&.cm-focused {
|
|
10
|
+
outline: none;
|
|
11
|
+
border: none;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.cm-content {
|
|
16
|
+
padding: 8px;
|
|
17
|
+
min-height: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.cm-gutter {
|
|
21
|
+
background-color: var(--gutter-bg, #f8f9fa);
|
|
22
|
+
border-right: 1px solid var(--border-color, #e9ecef);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cm-lineNumbers {
|
|
26
|
+
color: var(--line-numbers-color, #6c757d);
|
|
27
|
+
font-size: 12px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.cm-foldGutter {
|
|
31
|
+
width: 16px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.cm-diagnostic {
|
|
35
|
+
padding: 2px 4px;
|
|
36
|
+
border-radius: 2px;
|
|
37
|
+
|
|
38
|
+
&.cm-diagnostic-error {
|
|
39
|
+
background-color: rgba(220, 53, 69, 0.1);
|
|
40
|
+
border-left: 3px solid #dc3545;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.cm-diagnostic-warning {
|
|
44
|
+
background-color: rgba(255, 193, 7, 0.1);
|
|
45
|
+
border-left: 3px solid #ffc107;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.cm-lintRange-error {
|
|
50
|
+
background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, #dc3545 2px, #dc3545 4px);
|
|
51
|
+
background-position: bottom;
|
|
52
|
+
background-repeat: repeat-x;
|
|
53
|
+
background-size: 6px 3px;
|
|
54
|
+
border-bottom: 2px solid transparent;
|
|
55
|
+
text-decoration: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.cm-lintRange-warning {
|
|
59
|
+
background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, #ffc107 2px, #ffc107 4px);
|
|
60
|
+
background-position: bottom;
|
|
61
|
+
background-repeat: repeat-x;
|
|
62
|
+
background-size: 6px 3px;
|
|
63
|
+
border-bottom: 2px solid transparent;
|
|
64
|
+
text-decoration: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.cm-search {
|
|
68
|
+
background-color: var(--search-bg, #fff);
|
|
69
|
+
border: 1px solid var(--border-color, #ddd);
|
|
70
|
+
border-radius: 4px;
|
|
71
|
+
padding: 4px;
|
|
72
|
+
}
|
|
73
|
+
}
|