Skip to content

Commit 1d4ac7e

Browse files
committed
add build artefact for icons
1 parent 61d1c7b commit 1d4ac7e

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

Diff for: build/plotcss.js

+5-7
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,15 @@ var rules = {
3131
"X .cursor-n-resize": "cursor:n-resize;",
3232
"X .cursor-ne-resize": "cursor:ne-resize;",
3333
"X .cursor-grab": "cursor:-webkit-grab;cursor:grab;",
34-
"X .modebar": "position:absolute;top:2px;right:2px;z-index:1001;background:rgba(255,255,255,0.7);",
34+
"X .modebar": "position:absolute;top:2px;right:2px;z-index:1001;",
3535
"X .modebar--hover": "opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;",
3636
"X:hover .modebar--hover": "opacity:1;",
3737
"X .modebar-group": "float:left;display:inline-block;box-sizing:border-box;margin-left:8px;position:relative;vertical-align:middle;white-space:nowrap;",
38-
"X .modebar-group:first-child": "margin-left:0px;",
39-
"X .modebar-btn": "position:relative;font-size:16px;padding:3px 4px;cursor:pointer;line-height:normal;box-sizing:border-box;",
38+
"X .modebar-btn": "position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;",
4039
"X .modebar-btn svg": "position:relative;top:2px;",
41-
"X .modebar-btn path": "fill:rgba(0,31,95,0.3);",
42-
"X .modebar-btn.active path,X .modebar-btn:hover path": "fill:rgba(0,22,72,0.5);",
43-
"X .modebar-btn.modebar-btn--logo": "padding:3px 1px;",
44-
"X .modebar-btn.modebar-btn--logo path": "fill:#447adb !important;",
40+
"X .modebar-btn.modebar-btn--logo": "font-size:20px;",
41+
"X .modebar.vertical .modebar-group": "display:block;float:none;margin-left:0px;margin-top:8px;",
42+
"X .modebar.vertical .modebar-group .modebar-btn": "display:block;text-align:center;",
4543
"X [data-title]:before,X [data-title]:after": "position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;",
4644
"X [data-title]:hover:before,X [data-title]:hover:after": "display:block;opacity:1;",
4745
"X [data-title]:before": "content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;",

Diff for: build/ploticon.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ module.exports = {
3232
'transform': 'matrix(1 0 0 -1 0 850)'
3333
},
3434
'zoom_plus': {
35-
'width': 1000,
35+
'width': 875,
3636
'height': 1000,
3737
'path': 'm1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z',
3838
'transform': 'matrix(1 0 0 -1 0 850)'
3939
},
4040
'zoom_minus': {
41-
'width': 1000,
41+
'width': 875,
4242
'height': 1000,
4343
'path': 'm0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z',
4444
'transform': 'matrix(1 0 0 -1 0 850)'
@@ -120,5 +120,9 @@ module.exports = {
120120
'height': 1000,
121121
'path': 'M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z',
122122
'transform': 'matrix(1.5 0 0 -1.5 0 850)'
123+
},
124+
'newplotlylogo': {
125+
'name': 'newplotlylogo',
126+
'svg': '<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 132 132\'><defs><style>&#xD;\n .cls-1 {&#xD;\n fill: #119dff;&#xD;\n }&#xD;\n&#xD;\n .cls-2 {&#xD;\n fill: #25fefd;&#xD;\n }&#xD;\n&#xD;\n .cls-3 {&#xD;\n fill: #fff;&#xD;\n }&#xD;\n </style></defs><title>plotly-logomark</title><g id=\'symbol\'><rect class=\'cls-1\' width=\'132\' height=\'132\' rx=\'6\' ry=\'6\'/><circle class=\'cls-2\' cx=\'78\' cy=\'54\' r=\'6\'/><circle class=\'cls-2\' cx=\'102\' cy=\'30\' r=\'6\'/><circle class=\'cls-2\' cx=\'78\' cy=\'30\' r=\'6\'/><circle class=\'cls-2\' cx=\'54\' cy=\'30\' r=\'6\'/><circle class=\'cls-2\' cx=\'30\' cy=\'30\' r=\'6\'/><circle class=\'cls-2\' cx=\'30\' cy=\'54\' r=\'6\'/><path class=\'cls-3\' d=\'M30,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,30,72Z\'/><path class=\'cls-3\' d=\'M78,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,78,72Z\'/><path class=\'cls-3\' d=\'M54,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,54,48Z\'/><path class=\'cls-3\' d=\'M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z\'/></g></svg>'
123127
}
124128
};

0 commit comments

Comments
 (0)