Skip to content
This repository was archived by the owner on Feb 14, 2019. It is now read-only.

Commit 539945e

Browse files
author
Alena Bobrova
authored
Merge pull request #1 from DevExpress/svg-icon
remove inline css styles
2 parents 8e6c46b + 312060a commit 539945e

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

dist/webpage-extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var CustomItems;
3131
/// <reference path="meta.ts" />
3232
var CustomItems;
3333
(function (CustomItems) {
34-
CustomItems.WEBPAGE_ICON = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 21.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg version=\"1.1\" id=\"" + CustomItems.webPageMeta.icon + "\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n<style type=\"text/css\">\n\t.dx_blue{fill:#579ADD;}\n\t.dx_white{fill:#FFFFFF;}\n\t.dx_darkgray{fill:#414141;}\n</style>\n<path class=\"dx_darkgray\" d=\"M20,23H4c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12.6c0.3,0,0.5,0.1,0.7,0.3l3.4,3.4\n\tC20.9,4.9,21,5.1,21,5.4V22C21,22.6,20.6,23,20,23z\"/>\n<path class=\"dx_white\" d=\"M19,21H5V3h11v2c0,0.6,0.4,1,1,1h2V21z\"/>\n<path class=\"dx_blue\" d=\"M13.7,17.5c-0.2-0.4-1.6-1.8-1.4-2.2s0.2-1.1-0.1-1.3c-0.3-0.1-0.7,0.1-0.7-0.2c-0.1-0.3-1.1-0.2-1.2-1.6\n\tc-0.1-1.5-0.6-2-1.2-2s-1.6,0.6-1.5,0c0-0.1,0-0.2,0-0.3C6.6,10.9,6,12.4,6,14c0,3.3,2.7,6,6,6c0.6,0,1.1-0.1,1.6-0.2\n\tC13.7,19.1,13.9,17.8,13.7,17.5z\"/>\n<path class=\"dx_blue\" d=\"M12,8c-1.1,0-2.2,0.3-3.1,0.9c0,0,0.1,0,0.1,0c1,0.2,3.1,0.7,3.1,0.3c0-0.4-0.1-0.9,0.1-0.8\n\tc0.2,0.2,0.8,0.7,0.6,1c-0.2,0.3-0.8,0.6-0.6,0.9c0.2,0.2,0.8,0.6,1,0.4s-0.1-0.9,0.2-0.8c0.3,0,1.8,0.8,1.3,1.1\n\tc-0.5,0.3-1.4,1.9-1.9,2c-0.5,0.1-0.9,0.2-0.8,0.6c0.2,0.5,0.5,0.2,0.7,0.3c0.1,0.1,0.1,0.4,0.3,0.6s0.4,0.1,0.7,0.1\n\tc0.3-0.1,2.5,0.9,2.3,1.4c-0.2,0.5-0.2,1.2-1,2.1c-0.5,0.5-0.7,1.1-0.9,1.5c2.3-0.8,4-3,4-5.6C18,10.7,15.3,8,12,8z\"/>\n</svg>";
34+
CustomItems.WEBPAGE_ICON = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 21.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg version=\"1.1\" id=\"" + CustomItems.webPageMeta.icon + "\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n<path class=\"dx_darkgray\" d=\"M20,23H4c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12.6c0.3,0,0.5,0.1,0.7,0.3l3.4,3.4\n\tC20.9,4.9,21,5.1,21,5.4V22C21,22.6,20.6,23,20,23z\"/>\n<path class=\"dx_white\" d=\"M19,21H5V3h11v2c0,0.6,0.4,1,1,1h2V21z\"/>\n<path class=\"dx_blue\" d=\"M13.7,17.5c-0.2-0.4-1.6-1.8-1.4-2.2s0.2-1.1-0.1-1.3c-0.3-0.1-0.7,0.1-0.7-0.2c-0.1-0.3-1.1-0.2-1.2-1.6\n\tc-0.1-1.5-0.6-2-1.2-2s-1.6,0.6-1.5,0c0-0.1,0-0.2,0-0.3C6.6,10.9,6,12.4,6,14c0,3.3,2.7,6,6,6c0.6,0,1.1-0.1,1.6-0.2\n\tC13.7,19.1,13.9,17.8,13.7,17.5z\"/>\n<path class=\"dx_blue\" d=\"M12,8c-1.1,0-2.2,0.3-3.1,0.9c0,0,0.1,0,0.1,0c1,0.2,3.1,0.7,3.1,0.3c0-0.4-0.1-0.9,0.1-0.8\n\tc0.2,0.2,0.8,0.7,0.6,1c-0.2,0.3-0.8,0.6-0.6,0.9c0.2,0.2,0.8,0.6,1,0.4s-0.1-0.9,0.2-0.8c0.3,0,1.8,0.8,1.3,1.1\n\tc-0.5,0.3-1.4,1.9-1.9,2c-0.5,0.1-0.9,0.2-0.8,0.6c0.2,0.5,0.5,0.2,0.7,0.3c0.1,0.1,0.1,0.4,0.3,0.6s0.4,0.1,0.7,0.1\n\tc0.3-0.1,2.5,0.9,2.3,1.4c-0.2,0.5-0.2,1.2-1,2.1c-0.5,0.5-0.7,1.1-0.9,1.5c2.3-0.8,4-3,4-5.6C18,10.7,15.3,8,12,8z\"/>\n</svg>";
3535
})(CustomItems || (CustomItems = {}));
3636
/// <reference path="../typings/globals/dashboards/dx-dashboard-designer.d.ts" />
3737
/// <reference path="meta.ts" />

dist/webpage-extension.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/icon.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ module CustomItems {
66
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
77
<svg version="1.1" id="` + webPageMeta.icon + `" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
88
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
9-
<style type="text/css">
10-
.dx_blue{fill:#579ADD;}
11-
.dx_white{fill:#FFFFFF;}
12-
.dx_darkgray{fill:#414141;}
13-
</style>
149
<path class="dx_darkgray" d="M20,23H4c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12.6c0.3,0,0.5,0.1,0.7,0.3l3.4,3.4
1510
C20.9,4.9,21,5.1,21,5.4V22C21,22.6,20.6,23,20,23z"/>
1611
<path class="dx_white" d="M19,21H5V3h11v2c0,0.6,0.4,1,1,1h2V21z"/>

0 commit comments

Comments
 (0)