@@ -66,43 +66,19 @@ atom-text-editor::shadow {
66
66
}
67
67
}
68
68
69
- // TODO: more CSS sharing
70
-
71
- .ink.under {
72
- font-family : @font-family ;
73
- color : @text-color ;
74
-
75
- cursor : default ;
76
-
77
- & .error {
78
- color : @text-color-error ;
79
- }
80
-
81
- background-color : @inset-panel-background-color ;
82
-
83
- border-top : 1px solid @syntax-wrap-guide-color ;
84
- border-bottom : 1px solid @syntax-wrap-guide-color ;
85
- padding-left : 5px ;
86
- }
87
-
88
-
89
- .ink.inline {
69
+ .result-mixin () {
90
70
color : @syntax-text-color ;
91
- position : relative ;
92
- left : 1em ;
93
-
94
71
pointer-events : auto ;
95
72
96
73
& .error {
97
74
color : @text-color-error ;
98
75
border-left : 2px solid @background-color-error ;
99
76
}
100
77
101
- background : @syntax-background-color ;
102
78
border-left : 2px solid @background-color-info ;
103
79
border-right : 2px solid contrast (@syntax-background-color ,
104
- darken (@syntax-background-color , 4% ),
105
- lighten (@syntax-background-color , 4% ));
80
+ darken (@syntax-background-color , 4% ),
81
+ lighten (@syntax-background-color , 4% ));
106
82
107
83
border-radius : 3px ;
108
84
@@ -111,14 +87,18 @@ atom-text-editor::shadow {
111
87
opacity : 1 ;
112
88
cursor : default ;
113
89
114
- max-width : 400px ;
115
90
overflow : hidden ;
116
91
white-space : pre ;
117
92
118
93
* {
119
94
vertical-align : top ;
120
95
}
121
96
97
+ a {
98
+ color : @syntax-text-color ;
99
+ opacity : 0.65 ;
100
+ }
101
+
122
102
p {
123
103
margin : 0 ;
124
104
padding : 0 ;
@@ -157,9 +137,7 @@ atom-text-editor::shadow {
157
137
opacity : 1 ;
158
138
}
159
139
}
160
- > .tree > .body {
161
- max-height : 250px ;
162
- }
140
+
163
141
164
142
.editor.editor-colors {
165
143
color : @syntax-text-color ;
@@ -170,6 +148,29 @@ atom-text-editor::shadow {
170
148
}
171
149
}
172
150
151
+ .ink.inline {
152
+ .result-mixin ;
153
+ background : @syntax-background-color ;
154
+ position : relative ;
155
+ left : 1em ;
156
+ max-width : 400px ;
157
+
158
+ > .tree > .body {
159
+ max-height : 250px ;
160
+ }
161
+ }
162
+
163
+ .ink.under {
164
+ .result-mixin ;
165
+ background : contrast (@syntax-background-color ,
166
+ darken (@syntax-background-color , 3% ),
167
+ lighten (@syntax-background-color , 3% ));
168
+ font-size : 0.9em ;
169
+ max-width : 100% ;
170
+ white-space : pre-line ;
171
+ padding : 0.5em 0.5em 0.5em 1em ;
172
+ }
173
+
173
174
.ink.stepper {
174
175
.ink .inline ();
175
176
max-width : initial ;
0 commit comments