@openui5/sap.ui.codeeditor 1.124.2 → 1.126.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/.reuse/dep5 +9 -4
- package/THIRDPARTY.txt +13 -6
- package/package.json +2 -2
- package/src/sap/ui/codeeditor/.library +2 -2
- package/src/sap/ui/codeeditor/CodeEditor.js +27 -39
- package/src/sap/ui/codeeditor/js/ace/ext-themelist.js +0 -1
- package/src/sap/ui/codeeditor/library.js +2 -2
- package/src/sap/ui/codeeditor/themes/base/CodeEditor.less +119 -0
- package/src/sap/ui/codeeditor/themes/base/library.source.less +1 -0
- package/src/sap/ui/codeeditor/themes/sap_hcb/base_CodeEditor.less +114 -0
- package/src/sap/ui/codeeditor/themes/sap_hcb/library.source.less +13 -1
package/.reuse/dep5
CHANGED
|
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
|
|
|
50
50
|
License: Apache-2.0
|
|
51
51
|
Comment: these files belong to: purify.js
|
|
52
52
|
|
|
53
|
+
Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
54
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
55
|
+
License: MIT
|
|
56
|
+
Comment: these files belong to: QUnit Composite 2.0.0
|
|
57
|
+
|
|
53
58
|
|
|
54
59
|
# Library: sap.ui.codeeditor:
|
|
55
60
|
|
|
@@ -379,13 +384,13 @@ Copyright: 2017 Wei Song and Oliver Nightingale
|
|
|
379
384
|
License: MIT
|
|
380
385
|
Comment: these files belong to: Elasticlunr
|
|
381
386
|
|
|
382
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
383
|
-
Copyright:
|
|
387
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
388
|
+
Copyright: SpryMedia Ltd
|
|
384
389
|
License: MIT
|
|
385
390
|
Comment: these files belong to: DataTables
|
|
386
391
|
|
|
387
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
388
|
-
Copyright:
|
|
392
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
393
|
+
Copyright: SpryMedia Ltd
|
|
389
394
|
License: MIT
|
|
390
395
|
Comment: these files belong to: Buttons extension for DataTables
|
|
391
396
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -12,6 +12,13 @@ License: Apache-2.0
|
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
13
|
Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
14
14
|
|
|
15
|
+
Component: QUnit Composite 2.0.0, version: 2.0.0
|
|
16
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
17
|
+
License: MIT
|
|
18
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
19
|
+
Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
|
|
20
|
+
src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
21
|
+
|
|
15
22
|
|
|
16
23
|
Library: sap.ui.codeeditor:
|
|
17
24
|
|
|
@@ -356,17 +363,17 @@ License: MIT
|
|
|
356
363
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
357
364
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
|
|
358
365
|
|
|
359
|
-
Component: DataTables, version:
|
|
360
|
-
Copyright:
|
|
366
|
+
Component: DataTables, version: 2.0.1
|
|
367
|
+
Copyright: SpryMedia Ltd
|
|
361
368
|
License: MIT
|
|
362
369
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
363
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
370
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
364
371
|
|
|
365
|
-
Component: Buttons extension for DataTables, version:
|
|
366
|
-
Copyright:
|
|
372
|
+
Component: Buttons extension for DataTables, version: 3.0.0
|
|
373
|
+
Copyright: SpryMedia Ltd
|
|
367
374
|
License: MIT
|
|
368
375
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
369
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
376
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
370
377
|
|
|
371
378
|
|
|
372
379
|
Library: sap.ui.integration:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.codeeditor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.126.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.codeeditor",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.126.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.126.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.codeeditor</documentation>
|
|
12
12
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
</packaging>
|
|
34
34
|
<!-- Thirdparty references -->
|
|
35
35
|
<thirdparty xmlns="http://www.sap.com/ui5/buildext/thirdparty" >
|
|
36
|
-
<lib name="ace" displayName="Ace (Ajax.org Cloud9 Editor)" npmName="ace-builds" version="1.31.1" hash="
|
|
36
|
+
<lib name="ace" displayName="Ace (Ajax.org Cloud9 Editor)" npmName="ace-builds" version="1.31.1" hash="3ad935f25f3d28a896c05d95d81b1e1b" homepage="https://ace.c9.io/" id="73554900106100278574">
|
|
37
37
|
<license url="https://github.com/ajaxorg/ace/blob/master/LICENSE" type="BSD-3-Clause" />
|
|
38
38
|
<copyright>2010, Ajax.org B.V.</copyright>
|
|
39
39
|
<pattern>sap/ui/codeeditor/js/ace/*</pattern>
|
|
@@ -30,10 +30,10 @@ sap.ui.define([
|
|
|
30
30
|
"sap/ui/core/Lib",
|
|
31
31
|
"sap/ui/core/RenderManager",
|
|
32
32
|
"sap/ui/core/ResizeHandler",
|
|
33
|
-
"sap/ui/core/Theming",
|
|
34
33
|
"sap/ui/dom/includeStylesheet",
|
|
35
34
|
"sap/ui/thirdparty/jquery",
|
|
36
35
|
"sap/ui/codeeditor/js/ace/ace",
|
|
36
|
+
"sap/base/strings/capitalize",
|
|
37
37
|
"sap/ui/codeeditor/js/ace/ext-language_tools",
|
|
38
38
|
"sap/ui/codeeditor/js/ace/ext-beautify",
|
|
39
39
|
"sap/ui/codeeditor/js/ace/mode-javascript",
|
|
@@ -44,10 +44,10 @@ sap.ui.define([
|
|
|
44
44
|
Library,
|
|
45
45
|
RenderManager,
|
|
46
46
|
ResizeHandler,
|
|
47
|
-
Theming,
|
|
48
47
|
includeStylesheet,
|
|
49
48
|
jQuery,
|
|
50
|
-
ace
|
|
49
|
+
ace,
|
|
50
|
+
capitalize
|
|
51
51
|
) {
|
|
52
52
|
"use strict";
|
|
53
53
|
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @extends sap.ui.core.Control
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.126.0
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -182,8 +182,13 @@ sap.ui.define([
|
|
|
182
182
|
renderer: {
|
|
183
183
|
apiVersion: 2,
|
|
184
184
|
render: function (oRM, oControl) {
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
const sColorTheme = oControl.getColorTheme();
|
|
186
|
+
|
|
187
|
+
oRM.openStart("div", oControl).class("sapCEd");
|
|
188
|
+
if (sColorTheme === "default") {
|
|
189
|
+
oRM.class("sapCEdTheme" + capitalize(sColorTheme));
|
|
190
|
+
}
|
|
191
|
+
oRM.style("width", oControl.getWidth())
|
|
187
192
|
.style("height", oControl.getHeight())
|
|
188
193
|
.attr("data-sap-ui-syntaxhints", oControl.getSyntaxHints())
|
|
189
194
|
.attr("role", "application")
|
|
@@ -220,6 +225,13 @@ sap.ui.define([
|
|
|
220
225
|
this._oEditorDomRef.style.width = "100%";
|
|
221
226
|
|
|
222
227
|
this._oEditor = ace.edit(this._oEditorDomRef);
|
|
228
|
+
this._oDefaultTheme = {
|
|
229
|
+
cssClass: "ace-default",
|
|
230
|
+
isDark: false,
|
|
231
|
+
cssText: ""
|
|
232
|
+
};
|
|
233
|
+
this._oEditor.setTheme(this._oDefaultTheme);
|
|
234
|
+
|
|
223
235
|
var oSession = this._oEditor.getSession();
|
|
224
236
|
|
|
225
237
|
// Ensure worker is used only when the CodeEditor has focus.
|
|
@@ -236,8 +248,6 @@ sap.ui.define([
|
|
|
236
248
|
"sap-ui-codeeditor-ace"
|
|
237
249
|
);
|
|
238
250
|
|
|
239
|
-
this._applyTheme();
|
|
240
|
-
|
|
241
251
|
this._oEditor.setOptions({
|
|
242
252
|
enableBasicAutocompletion: true,
|
|
243
253
|
enableSnippets: true,
|
|
@@ -300,33 +310,6 @@ sap.ui.define([
|
|
|
300
310
|
this._oEditor = null;
|
|
301
311
|
};
|
|
302
312
|
|
|
303
|
-
/**
|
|
304
|
-
* @private
|
|
305
|
-
*/
|
|
306
|
-
CodeEditor.prototype.onThemeChanged = function() {
|
|
307
|
-
this._applyTheme();
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* @private
|
|
312
|
-
*/
|
|
313
|
-
CodeEditor.prototype._applyTheme = function() {
|
|
314
|
-
var sUiTheme = Theming.getTheme().toLowerCase();
|
|
315
|
-
var sEditorTheme = "tomorrow";
|
|
316
|
-
if (sUiTheme.indexOf("hcb") > -1) {
|
|
317
|
-
sEditorTheme = "chaos";
|
|
318
|
-
} else if (sUiTheme.indexOf("hcw") > -1) {
|
|
319
|
-
sEditorTheme = "github";
|
|
320
|
-
} else if (sUiTheme === "sap_fiori_3") {
|
|
321
|
-
sEditorTheme = "crimson_editor";
|
|
322
|
-
} else if (sUiTheme === "sap_fiori_3_dark") {
|
|
323
|
-
sEditorTheme = "clouds_midnight";
|
|
324
|
-
} else if (sUiTheme === "sap_horizon_dark") {
|
|
325
|
-
sEditorTheme = "nord_dark";
|
|
326
|
-
}
|
|
327
|
-
this.setColorTheme(sEditorTheme);
|
|
328
|
-
};
|
|
329
|
-
|
|
330
313
|
/**
|
|
331
314
|
* @private
|
|
332
315
|
*/
|
|
@@ -340,13 +323,13 @@ sap.ui.define([
|
|
|
340
323
|
}
|
|
341
324
|
|
|
342
325
|
this._deregisterResizeListener();
|
|
326
|
+
|
|
343
327
|
};
|
|
344
328
|
|
|
345
329
|
/**
|
|
346
330
|
* @private
|
|
347
331
|
*/
|
|
348
332
|
CodeEditor.prototype.onAfterRendering = function() {
|
|
349
|
-
|
|
350
333
|
this._bIsRenderingPhase = false;
|
|
351
334
|
|
|
352
335
|
var oDomRef = this.getDomRef(),
|
|
@@ -421,11 +404,15 @@ sap.ui.define([
|
|
|
421
404
|
* @public
|
|
422
405
|
*/
|
|
423
406
|
CodeEditor.prototype.setColorTheme = function(sTheme) {
|
|
424
|
-
this.setProperty("colorTheme", sTheme
|
|
407
|
+
this.setProperty("colorTheme", sTheme);
|
|
425
408
|
|
|
426
409
|
if (sTheme === "default") {
|
|
427
|
-
|
|
428
|
-
|
|
410
|
+
this._oEditor.setTheme(this._oDefaultTheme);
|
|
411
|
+
|
|
412
|
+
return this;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
if (sTheme === "hcb") {
|
|
429
416
|
sTheme = "tomorrow_night";
|
|
430
417
|
} else if (sTheme === "hcb_bright") {
|
|
431
418
|
sTheme = "tomorrow_night_bright";
|
|
@@ -434,6 +421,7 @@ sap.ui.define([
|
|
|
434
421
|
}
|
|
435
422
|
|
|
436
423
|
this._oEditor.setTheme("ace/theme/" + sTheme);
|
|
424
|
+
|
|
437
425
|
includeStylesheet(
|
|
438
426
|
sap.ui.require.toUrl("sap/ui/codeeditor/js/ace/css/theme/" + sTheme + ".css"),
|
|
439
427
|
"sap-ui-codeeditor-theme-" + sTheme
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @namespace
|
|
20
20
|
* @alias sap.ui.codeeditor
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.126.0
|
|
23
23
|
* @since 1.48
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
],
|
|
35
35
|
elements: [],
|
|
36
36
|
noLibraryCSS: false,
|
|
37
|
-
version: "1.
|
|
37
|
+
version: "1.126.0"
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
return thisLib;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/*
|
|
2
|
+
/ ============================================ /
|
|
3
|
+
/ CSS for control sap.ui.codeeditor/CodeEditor /
|
|
4
|
+
/ Base theme /
|
|
5
|
+
/ ============================================ /
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
.sapCEdThemeDefault .ace_editor {
|
|
9
|
+
background-color: @sapField_Background;
|
|
10
|
+
color: @sapField_TextColor;
|
|
11
|
+
font-family: "72 Mono", 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace;
|
|
12
|
+
|
|
13
|
+
.ace_gutter {
|
|
14
|
+
background: @sapField_ReadOnly_Background;
|
|
15
|
+
color: @sapField_TextColor;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ace_print-margin {
|
|
19
|
+
width: 1px;
|
|
20
|
+
background: @sapField_ReadOnly_Background;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ace_cursor {
|
|
24
|
+
color: @sapField_TextColor;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ace_marker-layer .ace_selection {
|
|
28
|
+
background: @sapField_ReadOnly_Background;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ace_marker-layer .ace_bracket {
|
|
32
|
+
margin: -1px 0 0 -1px;
|
|
33
|
+
border: 1px solid @sapField_SuccessColor;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ace_marker-layer .ace_active-line {
|
|
37
|
+
background: transparent;
|
|
38
|
+
/* no indication for better contrast */
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ace_gutter-active-line {
|
|
42
|
+
background-color: @sapField_SuccessBackground;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ace_keyword,
|
|
46
|
+
.ace_meta,
|
|
47
|
+
.ace_storage,
|
|
48
|
+
.ace_storage.ace_type,
|
|
49
|
+
.ace_support.ace_type {
|
|
50
|
+
color: @sapUiLegend10;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ace_keyword.ace_operator {
|
|
54
|
+
color: @sapUiLegend7;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ace_constant.ace_character,
|
|
58
|
+
.ace_constant.ace_language,
|
|
59
|
+
.ace_constant.ace_numeric,
|
|
60
|
+
.ace_keyword.ace_other.ace_unit,
|
|
61
|
+
.ace_support.ace_constant,
|
|
62
|
+
.ace_variable.ace_parameter {
|
|
63
|
+
color: @sapUiLegend12;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ace_constant.ace_other {
|
|
67
|
+
color: @sapUiLegend4;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ace_fold {
|
|
71
|
+
background-color: @sapUiLegend20;
|
|
72
|
+
border-color: @sapUiLegend20;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.ace_entity.ace_name.ace_function,
|
|
76
|
+
.ace_support.ace_function {
|
|
77
|
+
color: @sapUiLegend6;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ace_support.ace_class,
|
|
81
|
+
.ace_support.ace_type {
|
|
82
|
+
color: @sapUiLegend3;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ace_heading,
|
|
86
|
+
.ace_markup.ace_heading,
|
|
87
|
+
.ace_string {
|
|
88
|
+
color: @sapUiLegend18;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ace_entity.ace_name.ace_tag,
|
|
92
|
+
.ace_entity.ace_other.ace_attribute-name,
|
|
93
|
+
.ace_meta.ace_tag,
|
|
94
|
+
.ace_string.ace_regexp,
|
|
95
|
+
.ace_variable {
|
|
96
|
+
color: @sapUiLegend2;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ace_comment {
|
|
100
|
+
color: @sapUiLegend9;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.ace_marker-layer .ace_error_bracket {
|
|
104
|
+
border-color: @sapField_InvalidColor;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.ace_fold-widget {
|
|
108
|
+
background-color: @sapField_SuccessBackground;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ace_fold-widget:hover {
|
|
112
|
+
border-color: @sapField_SuccessColor;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ace_indent-guide {
|
|
116
|
+
border-inline-end: 0.0625rem dotted @sapField_SuccessColor;
|
|
117
|
+
margin-inline-end: -0.0625rem;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
/ ============================================ /
|
|
3
|
+
/ CSS for control sap.ui.codeeditor/CodeEditor /
|
|
4
|
+
/ Base theme /
|
|
5
|
+
/ ============================================ /
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
.sapCEdThemeDefault .ace_editor {
|
|
9
|
+
background-color: @sapField_Background;
|
|
10
|
+
color: @sapField_TextColor;
|
|
11
|
+
font-family: "72 Mono", 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace;
|
|
12
|
+
|
|
13
|
+
.ace_gutter {
|
|
14
|
+
background: @sapField_ReadOnly_Background;
|
|
15
|
+
color: @sapField_TextColor;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ace_print-margin {
|
|
19
|
+
width: 1px;
|
|
20
|
+
background: @sapField_ReadOnly_Background;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ace_cursor {
|
|
24
|
+
color: @sapField_TextColor;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ace_marker-layer .ace_selection {
|
|
28
|
+
background: @sapField_ReadOnly_Background;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ace_marker-layer .ace_bracket {
|
|
32
|
+
margin: -1px 0 0 -1px;
|
|
33
|
+
border: 1px solid @sapField_SuccessColor;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ace_marker-layer .ace_active-line {
|
|
37
|
+
background: transparent;
|
|
38
|
+
/* no indication for better contrast */
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ace_gutter-active-line {
|
|
42
|
+
background-color: @sapField_SuccessBackground;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ace_keyword,
|
|
46
|
+
.ace_meta,
|
|
47
|
+
.ace_storage,
|
|
48
|
+
.ace_storage.ace_type,
|
|
49
|
+
.ace_support.ace_type {
|
|
50
|
+
color: @sapUiLegend10;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ace_keyword.ace_operator {
|
|
54
|
+
color: @sapUiLegend7;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ace_constant.ace_character,
|
|
58
|
+
.ace_constant.ace_language,
|
|
59
|
+
.ace_constant.ace_numeric,
|
|
60
|
+
.ace_keyword.ace_other.ace_unit,
|
|
61
|
+
.ace_support.ace_constant,
|
|
62
|
+
.ace_variable.ace_parameter {
|
|
63
|
+
color: @sapUiLegend12;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ace_constant.ace_other {
|
|
67
|
+
color: @sapUiLegend4;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ace_fold {
|
|
71
|
+
background-color: @sapUiLegend20;
|
|
72
|
+
border-color: @sapUiLegend20;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.ace_entity.ace_name.ace_function,
|
|
76
|
+
.ace_support.ace_function {
|
|
77
|
+
color: @sapUiLegend6;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ace_support.ace_class,
|
|
81
|
+
.ace_support.ace_type {
|
|
82
|
+
color: @sapUiLegend3;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ace_heading,
|
|
86
|
+
.ace_markup.ace_heading,
|
|
87
|
+
.ace_string {
|
|
88
|
+
color: @sapUiLegend18;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ace_entity.ace_name.ace_tag,
|
|
92
|
+
.ace_entity.ace_other.ace_attribute-name,
|
|
93
|
+
.ace_meta.ace_tag,
|
|
94
|
+
.ace_string.ace_regexp,
|
|
95
|
+
.ace_variable {
|
|
96
|
+
color: @sapUiLegend2;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ace_comment {
|
|
100
|
+
color: @sapUiLegend9;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.ace_marker-layer .ace_error_bracket {
|
|
104
|
+
border-color: @sapField_InvalidColor;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.ace_fold-widget {
|
|
108
|
+
background-color: @sapField_SuccessBackground;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ace_fold-widget:hover {
|
|
112
|
+
border-color: @sapField_SuccessColor;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -4,5 +4,17 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/* ============================================================================== */
|
|
8
|
+
/* Due to deprecation of sap_hcb with SAPUI5 version 1.46 the library.source.less */
|
|
9
|
+
/* file of base is resolved: Imports to base.less and global.less of */
|
|
10
|
+
/* base are added to this library.source.less file (sap_hcb) and the */
|
|
11
|
+
/* respective control css files of base are added to the sap_hcb theme folder. */
|
|
12
|
+
/* This decoupling of the base theme is introduced with SAPUI5 version 1.126. */
|
|
13
|
+
/* ============================================================================== */
|
|
14
|
+
|
|
15
|
+
@import "../../../core/themes/base/base.less";
|
|
16
|
+
@import "../../../core/themes/base/global.less";
|
|
17
|
+
|
|
18
|
+
@import "base_CodeEditor.less";
|
|
19
|
+
|
|
8
20
|
@import "../../../../../sap/ui/core/themes/sap_hcb/global.less";
|