Notebook toolbar UI improvement (#5282)

Fixed  #5236
- Change the icon to blue image. Existing icons are not deleted. We will use them when the icons are - - moved as the secondary actions.
- Change the font size to 13px
- Change the height to 21px
- Move Add actions to the left
This commit is contained in:
Yurong He
2019-04-30 16:18:48 -07:00
committed by GitHub
parent 97cab22e00
commit f9af34b103
17 changed files with 133 additions and 20 deletions

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#4894FE;}
</style>
<title>add_12x12</title>
<path class="st0" d="M8,0c0.7,0,1.4,0.1,2.1,0.3C12.8,1,15,3.2,15.7,5.9c0.4,1.4,0.4,2.9,0,4.2c-0.8,2.7-2.9,4.8-5.6,5.6
c-1.4,0.4-2.9,0.4-4.2,0C3.2,15,1,12.8,0.3,10.1c-0.4-1.4-0.4-2.9,0-4.2C1,3.2,3.2,1,5.9,0.3C6.6,0.1,7.3,0,8,0z M7.9,14.9
c0.6,0,1.2-0.1,1.8-0.2c0.6-0.2,1.1-0.4,1.6-0.7c1-0.6,1.8-1.4,2.4-2.4c0.3-0.5,0.5-1.1,0.7-1.6c0.3-1.2,0.3-2.4,0-3.6
c-0.2-0.6-0.4-1.1-0.7-1.6c-0.6-1-1.4-1.9-2.4-2.4C10.8,2,10.2,1.8,9.7,1.6c-1.2-0.3-2.4-0.3-3.6,0C5.5,1.8,5,2,4.5,2.3
C3.4,2.9,2.6,3.7,2,4.7C1.7,5.3,1.5,5.8,1.4,6.4C1,7.5,1,8.8,1.4,9.9c0.2,0.6,0.4,1.1,0.7,1.6c0.6,1,1.4,1.8,2.4,2.4
c0.5,0.3,1.1,0.5,1.6,0.7C6.7,14.8,7.3,14.9,7.9,14.9L7.9,14.9z M8.6,7.5h3.6V9H8.6v3.6H7.1V9H3.5V7.5h3.6V3.9h1.4L8.6,7.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#4894FE;}
</style>
<title>clear_results_inverse</title>
<path class="st0" d="M8.7,13.8H12v1H3.5l-3.2-3.2c-0.1-0.1-0.2-0.3-0.3-0.4c-0.1-0.3-0.1-0.7,0-1.1C0.2,10,0.3,9.9,0.4,9.7l9.4-9.4
L16,6.6L8.7,13.8z M7.3,13.8l1-1L3.5,8l-2.4,2.4c-0.1,0.2-0.1,0.4,0,0.6L4,13.8H7.3z M9.8,1.8L4.2,7.3L9,12.1l5.5-5.5L9.8,1.8z"/>
</svg>

After

Width:  |  Height:  |  Size: 698 B

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><defs><style>.cls-1{fill:none;}.cls-2{fill:#4894fe;}.cls-3{fill:#d02e00;}.cls-4{clip-path:url(#clip-path);}</style><clipPath id="clip-path"><rect class="cls-1" x="-804.35" y="-93.32" width="15.81" height="13.48"/></clipPath></defs><title>Not_trusted_command_inverse</title><path class="cls-2" d="M13.74,2.25a9.47,9.47,0,0,1-1.19-.17,6.53,6.53,0,0,1-1.14-.35,6.23,6.23,0,0,1-1.12-.64C10.07,1,9.85.83,9.62.72S9.21.54,9,.46A4.79,4.79,0,0,0,8.26.25c-.25,0-.51,0-.76,0A4.77,4.77,0,0,0,6,.46a5.51,5.51,0,0,0-1.29.63,6.64,6.64,0,0,1-1.12.59A6.53,6.53,0,0,1,2.45,2a9.58,9.58,0,0,1-1.19.22H0v4A7.5,7.5,0,0,0,.29,8.41a9.37,9.37,0,0,0,.78,1.94,10.35,10.35,0,0,0,1.2,1.74,12.59,12.59,0,0,0,1.49,1.52,15.55,15.55,0,0,0,1.7,1.33c.59.42,1.19.8,1.8,1.15l.24.16.24-.14c.61-.35,1.21-.73,1.8-1.15a11.79,11.79,0,0,0,1.24-1l-.7-.7a12.52,12.52,0,0,1-1,.76c-.53.37-1.06.7-1.59,1-.53-.3-1.06-.64-1.59-1a16.79,16.79,0,0,1-1.5-1.17A13.12,13.12,0,0,1,3,11.46,9.41,9.41,0,0,1,2,9.9a8.86,8.86,0,0,1-.72-1.74A7.23,7.23,0,0,1,1,6.25v-3a9.37,9.37,0,0,0,2.23-.37,7.81,7.81,0,0,0,2-.95,4.67,4.67,0,0,1,1.06-.5,4.22,4.22,0,0,1,2.37,0,4.67,4.67,0,0,1,1.06.5,7.81,7.81,0,0,0,2,1A9.31,9.31,0,0,0,14,3.25v3a7.21,7.21,0,0,1-.26,1.91A8.35,8.35,0,0,1,13,9.9l-.1.18.73.73a2.69,2.69,0,0,0,.28-.46,8.85,8.85,0,0,0,.78-1.94A7.52,7.52,0,0,0,15,6.25v-4Z"/><polygon class="cls-3" points="13.82 13.49 16 15.66 15.43 16.23 13.26 14.05 11.07 16.23 10.5 15.66 12.69 13.49 10.46 11.26 11.03 10.69 13.26 12.92 15.43 10.74 16 11.3 13.82 13.49"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#4894fe;}</style></defs><title>run_cells_command_inverse</title><path class="cls-1" d="M8,15.92a8,8,0,1,1,8-8A8,8,0,0,1,8,15.92ZM8,1a7,7,0,1,0,7,7A7,7,0,0,0,8,1Z"/><polygon class="cls-1" points="10.7 8 6.67 11 6.67 5 10.7 8 10.7 8"/></svg>

After

Width:  |  Height:  |  Size: 357 B

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#4894FE;}
.st1{fill:#061C08;}
.st2{fill:#3BB44A;}
</style>
<title>trust_inverse</title>
<path class="st0" d="M13.7,2c-0.4,0-0.8-0.1-1.2-0.2c-0.4-0.1-0.8-0.2-1.1-0.4c-0.4-0.2-0.8-0.4-1.1-0.6c-0.2-0.1-0.4-0.3-0.7-0.4
C9.2,0.3,8.7,0.1,8.3,0.1C8,0,7.8,0,7.5,0C7,0,6.5,0.1,6,0.2C5.5,0.4,5.1,0.6,4.7,0.9C4.4,1.1,4,1.3,3.6,1.5
C3.2,1.6,2.8,1.7,2.5,1.8C2.1,1.9,1.7,2,1.3,2C0.9,2,0.4,2,0,2v4c0,0.7,0.1,1.5,0.3,2.2c0.2,0.7,0.4,1.3,0.8,1.9
c0.3,0.6,0.7,1.2,1.2,1.7c0.5,0.5,1,1.1,1.5,1.5c0.5,0.5,1.1,0.9,1.7,1.3c0.6,0.4,1.2,0.8,1.8,1.1L7.5,16l0.2-0.1
c0.3-0.2,0.6-0.3,0.9-0.5l-0.7-0.7l-0.4,0.2c-0.5-0.3-1.1-0.6-1.6-1c-0.5-0.4-1-0.8-1.5-1.2c-0.5-0.4-1-0.9-1.4-1.4
c-0.4-0.5-0.7-1-1-1.6C1.7,9.1,1.5,8.5,1.3,7.9C1.1,7.3,1,6.7,1,6V3c0.8,0,1.5-0.2,2.2-0.4c0.7-0.2,1.4-0.6,2-1
c0.3-0.2,0.7-0.4,1.1-0.5C6.7,1,7.1,1,7.5,1c0.4,0,0.8,0,1.2,0.2C9,1.3,9.4,1.4,9.7,1.7c0.6,0.4,1.3,0.8,2,1C12.5,2.9,13.2,3,14,3v3
c0,0.6-0.1,1.3-0.3,1.9c-0.2,0.6-0.4,1.2-0.7,1.8c-0.3,0.6-0.6,1.1-1,1.6c-0.3,0.3-0.5,0.6-0.8,0.9l0.7,0.7c0.3-0.3,0.6-0.7,0.9-1
c0.5-0.5,0.9-1.1,1.2-1.7c0.3-0.6,0.6-1.3,0.8-1.9C14.9,7.4,15,6.7,15,6V2C14.6,2,14.1,2,13.7,2z M10,13.1c-0.3,0.2-0.6,0.5-0.9,0.7
l0.5,0.6l0.2,0.2c0.3-0.2,0.6-0.4,0.9-0.7L10,13.1z"/>
<polygon class="st1" points="16,10.9 11.1,15.8 10.5,15.1 9.9,14.5 9.7,14.3 9.1,13.8 8.8,13.4 9.6,12.7 10,13.1 10.8,13.8
10.9,13.9 11.1,14.2 15.2,10.1 15.3,10.3 "/>
<polygon class="st2" points="16,10.9 11.1,15.8 10.5,15.1 9.9,14.5 9.7,14.3 9.1,13.8 8.8,13.4 9.6,12.7 10,13.1 10.8,13.8
10.9,13.9 11.1,14.2 15.2,10.1 15.3,10.3 "/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#015CDA;}
</style>
<title>add_16x16</title>
<path class="st0" d="M8,0c0.7,0,1.4,0.1,2.1,0.3C12.8,1,15,3.2,15.7,5.9c0.4,1.4,0.4,2.9,0,4.2c-0.8,2.7-2.9,4.8-5.6,5.6
c-1.4,0.4-2.9,0.4-4.2,0C3.2,15,1,12.8,0.3,10.1c-0.4-1.4-0.4-2.9,0-4.2C1,3.2,3.1,1,5.9,0.3C6.6,0.1,7.3,0,8,0z M7.9,14.9
c0.6,0,1.2-0.1,1.8-0.2c0.6-0.2,1.1-0.4,1.6-0.7c1-0.6,1.8-1.4,2.4-2.4c0.3-0.5,0.5-1.1,0.7-1.6c0.3-1.2,0.3-2.4,0-3.6
c-0.2-0.6-0.4-1.1-0.7-1.6c-0.6-1-1.4-1.9-2.4-2.4C10.8,2,10.2,1.8,9.7,1.6c-1.2-0.3-2.4-0.3-3.6,0C5.5,1.8,5,2,4.4,2.3
C3.4,2.9,2.6,3.7,2,4.7C1.7,5.3,1.5,5.8,1.4,6.4C1,7.5,1,8.8,1.4,9.9c0.2,0.6,0.4,1.1,0.7,1.6c0.6,1,1.4,1.8,2.4,2.4
c0.5,0.3,1.1,0.5,1.6,0.7C6.7,14.8,7.3,14.9,7.9,14.9L7.9,14.9z M8.6,7.5h3.6V9H8.6v3.6H7.1V9H3.5V7.5h3.6V3.9h1.4L8.6,7.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#015CDA;}
</style>
<title>clear_results</title>
<path class="st0" d="M8.7,13.8H12v1H3.5l-3.2-3.2c-0.1-0.1-0.2-0.3-0.3-0.4c-0.1-0.3-0.1-0.7,0-1.1C0.2,10,0.3,9.9,0.4,9.7l9.4-9.4
L16,6.6L8.7,13.8z M7.3,13.8l1-1L3.5,8l-2.4,2.4c-0.1,0.2-0.1,0.4,0,0.6L4,13.8H7.3z M9.8,1.8L4.2,7.3L9,12.1l5.5-5.5L9.8,1.8z"/>
</svg>

After

Width:  |  Height:  |  Size: 690 B

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><defs><style>.cls-1{fill:none;}.cls-2{fill:#015cda;}.cls-3{fill:#d02e00;}.cls-4{clip-path:url(#clip-path);}</style><clipPath id="clip-path"><rect class="cls-1" x="-777.5" y="-93.32" width="15.81" height="13.48"/></clipPath></defs><title>Not_trusted_command</title><path class="cls-2" d="M13.74,2.25a9.47,9.47,0,0,1-1.19-.17,6.53,6.53,0,0,1-1.14-.35,6.23,6.23,0,0,1-1.12-.64C10.07,1,9.85.83,9.62.72S9.21.54,9,.46A4.79,4.79,0,0,0,8.26.25c-.25,0-.51,0-.76,0A4.77,4.77,0,0,0,6,.46a5.51,5.51,0,0,0-1.29.63,6.64,6.64,0,0,1-1.12.59A6.53,6.53,0,0,1,2.45,2a9.58,9.58,0,0,1-1.19.22H0v4A7.5,7.5,0,0,0,.29,8.41a9.37,9.37,0,0,0,.78,1.94,10.35,10.35,0,0,0,1.2,1.74,12.59,12.59,0,0,0,1.49,1.52,15.55,15.55,0,0,0,1.7,1.33c.59.42,1.19.8,1.8,1.15l.24.16.24-.14c.61-.35,1.21-.73,1.8-1.15a11.79,11.79,0,0,0,1.24-1l-.7-.7a12.52,12.52,0,0,1-1,.76c-.53.37-1.06.7-1.59,1-.53-.3-1.06-.64-1.59-1a16.79,16.79,0,0,1-1.5-1.17A13.12,13.12,0,0,1,3,11.46,9.41,9.41,0,0,1,2,9.9a8.86,8.86,0,0,1-.72-1.74A7.23,7.23,0,0,1,1,6.25v-3a9.37,9.37,0,0,0,2.23-.37,7.81,7.81,0,0,0,2-.95,4.67,4.67,0,0,1,1.06-.5,4.22,4.22,0,0,1,2.37,0,4.67,4.67,0,0,1,1.06.5,7.81,7.81,0,0,0,2,1A9.31,9.31,0,0,0,14,3.25v3a7.21,7.21,0,0,1-.26,1.91A8.35,8.35,0,0,1,13,9.9l-.1.18.73.73a2.69,2.69,0,0,0,.28-.46,8.85,8.85,0,0,0,.78-1.94A7.52,7.52,0,0,0,15,6.25v-4Z"/><polygon class="cls-3" points="13.82 13.49 16 15.66 15.43 16.23 13.26 14.05 11.07 16.23 10.5 15.66 12.69 13.49 10.46 11.26 11.03 10.69 13.26 12.92 15.43 10.74 16 11.3 13.82 13.49"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#015cda;}</style></defs><title>run_cells_command</title><path class="cls-1" d="M8,15.92a8,8,0,1,1,8-8A8,8,0,0,1,8,15.92ZM8,1a7,7,0,1,0,7,7A7,7,0,0,0,8,1Z"/><polygon class="cls-1" points="10.7 8 6.67 11 6.67 5 10.7 8 10.7 8"/></svg>

After

Width:  |  Height:  |  Size: 349 B

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#015CDA;}
.st1{fill:#061C08;}
.st2{fill:#3BB44A;}
</style>
<title>trust</title>
<path class="st0" d="M13.7,2c-0.4,0-0.8-0.1-1.2-0.2c-0.4-0.1-0.8-0.2-1.1-0.4c-0.4-0.2-0.8-0.4-1.1-0.6c-0.2-0.1-0.4-0.3-0.7-0.4
C9.2,0.3,8.7,0.1,8.3,0.1C8,0,7.8,0,7.5,0C7,0,6.5,0.1,6,0.2C5.5,0.4,5.1,0.6,4.7,0.9C4.4,1.1,4,1.3,3.6,1.4
C3.2,1.6,2.8,1.7,2.5,1.8C2.1,1.9,1.7,2,1.3,2C0.9,2,0.4,2,0,2v4c0,0.7,0.1,1.5,0.3,2.2c0.2,0.7,0.4,1.3,0.8,1.9
c0.3,0.6,0.7,1.2,1.2,1.7c0.5,0.5,1,1.1,1.5,1.5c0.5,0.5,1.1,0.9,1.7,1.3c0.6,0.4,1.2,0.8,1.8,1.1L7.5,16l0.2-0.1
c0.3-0.2,0.6-0.3,0.9-0.5l-0.7-0.7l-0.4,0.2c-0.5-0.3-1.1-0.6-1.6-1c-0.5-0.4-1-0.8-1.5-1.2c-0.5-0.4-1-0.9-1.4-1.4
c-0.4-0.5-0.7-1-1-1.6C1.7,9.1,1.5,8.5,1.3,7.9C1.1,7.3,1,6.6,1,6V3c0.8,0,1.5-0.2,2.2-0.4c0.7-0.2,1.4-0.6,2-1
c0.3-0.2,0.7-0.4,1.1-0.5C6.7,1,7.1,1,7.5,1c0.4,0,0.8,0,1.2,0.2C9,1.3,9.4,1.4,9.7,1.7c0.6,0.4,1.3,0.8,2,1C12.5,2.9,13.2,3,14,3v3
c0,0.6-0.1,1.3-0.3,1.9c-0.2,0.6-0.4,1.2-0.7,1.7c-0.3,0.6-0.6,1.1-1,1.6c-0.3,0.3-0.5,0.6-0.8,0.9l0.7,0.7c0.3-0.3,0.6-0.7,0.9-1
c0.5-0.5,0.9-1.1,1.2-1.7c0.3-0.6,0.6-1.3,0.8-1.9C14.9,7.4,15,6.7,15,6V2C14.6,2,14.1,2,13.7,2z M10,13.1c-0.3,0.2-0.6,0.5-0.9,0.7
l0.5,0.6l0.2,0.2c0.3-0.2,0.6-0.4,0.9-0.7L10,13.1z"/>
<polygon class="st1" points="16,10.9 11.1,15.8 10.5,15.1 9.9,14.5 9.7,14.3 9.1,13.8 8.8,13.4 9.6,12.6 10,13.1 10.8,13.8
10.9,13.9 11.1,14.2 15.2,10.1 15.3,10.2 "/>
<polygon class="st2" points="16,10.9 11.1,15.8 10.5,15.1 9.9,14.5 9.7,14.3 9.1,13.8 8.8,13.4 9.6,12.6 10,13.1 10.8,13.8
10.9,13.9 11.1,14.2 15.2,10.1 15.3,10.2 "/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -20,7 +20,7 @@ export class NotebookContexts {
let defaultConnection: ConnectionProfile = <any>{
providerName: NotebookContexts.MSSQL_PROVIDER,
id: '-1',
serverName: localize('selectConnection', 'Select connection')
serverName: localize('selectConnection', 'Select Connection')
};
return {
@@ -109,7 +109,7 @@ export class NotebookContexts {
let newConnection = <ConnectionProfile><any>{
providerName: 'SQL',
id: '-2',
serverName: localize('addConnection', 'Add new connection')
serverName: localize('addConnection', 'Add New Connection')
};
activeConnections.push(newConnection);
}

View File

@@ -383,10 +383,10 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe
this._actionBar = new Taskbar(taskbar, { actionItemProvider: action => this.actionItemProvider(action as Action) });
this._actionBar.context = this;
this._actionBar.setContent([
{ element: kernelContainer },
{ element: attachToContainer },
{ action: addCodeCellButton },
{ action: addTextCellButton },
{ element: kernelContainer },
{ element: attachToContainer },
{ action: this._trustedAction },
{ action: this._runAllCellsAction },
{ action: clearResultsButton }

View File

@@ -24,6 +24,7 @@
.notebookEditor .actionbar-container .monaco-action-bar > ul.actions-container {
padding-top: 4px;
padding-bottom: 4px;
min-height: 21px;
}
.notebookEditor .actions-container .action-item .notebook-button {
@@ -35,57 +36,61 @@
padding-left: 18px;
background-size: 13px;
margin-right: 20px;
font-size: 11px;
font-size: 13px;
height: 21px;
}
.notebookEditor .labelOnLeftContainer {
min-width: 100px;
margin-right: 20px;
font-size: 13px;
text-align: center;
vertical-align: bottom;
}
.notebookEditor .notebook-button.icon-add{
background-image: url("./media/light/add.svg");
background-image: url("./media/light/add_blue.svg");
}
.vs-dark .notebookEditor .notebook-button.icon-add,
.hc-black .notebookEditor .notebook-button.icon-add{
background-image: url("./media/dark/add_inverse.svg");
background-image: url("./media/dark/add_blue_inverse.svg");
}
.notebookEditor .notebook-button.icon-run-cells{
background-image: url("./media/light/run_cells.svg");
background-image: url("./media/light/run_cells_blue.svg");
}
.vs-dark .notebookEditor .notebook-button.icon-run-cells,
.hc-black .notebookEditor .notebook-button.icon-run-cells{
background-image: url("./media/dark/run_cells_inverse.svg");
background-image: url("./media/dark/run_cells_blue_inverse.svg");
}
.notebookEditor .notebook-button.icon-trusted{
background-image: url("./media/light/trusted.svg");
background-image: url("./media/light/trusted_blue.svg");
}
.vs-dark .notebookEditor .notebook-button.icon-trusted,
.hc-black .notebookEditor .notebook-button.icon-trusted{
background-image: url("./media/dark/trusted_inverse.svg");
background-image: url("./media/dark/trusted_blue_inverse.svg");
}
.notebookEditor .notebook-button.icon-notTrusted{
background-image: url("./media/light/nottrusted.svg");
background-image: url("./media/light/nottrusted_blue.svg");
}
.vs-dark .notebookEditor .notebook-button.icon-notTrusted,
.hc-black .notebookEditor .notebook-button.icon-notTrusted{
background-image: url("./media/dark/nottrusted_inverse.svg");
background-image: url("./media/dark/nottrusted_blue_inverse.svg");
}
.notebookEditor .notebook-button.icon-clear-results{
background-image: url("./media/light/clear_results.svg");
background-image: url("./media/light/clear_results_blue.svg");
}
.vs-dark .notebookEditor .notebook-button.icon-clear-results,
.hc-black .notebookEditor .notebook-button.icon-clear-results{
background-image: url("./media/dark/clear_results_inverse.svg");
background-image: url("./media/dark/clear_results_blue_inverse.svg");
}
.moreActions .action-label.icon.toggle-more {

View File

@@ -27,10 +27,10 @@ import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
const msgLoading = localize('loading', "Loading kernels...");
const msgChanging = localize('changing', "Changing kernel...");
const kernelLabel: string = localize('Kernel', "Kernel: ");
const attachToLabel: string = localize('AttachTo', "Attach to: ");
const attachToLabel: string = localize('AttachTo', "Attach To: ");
const msgLoadingContexts = localize('loadingContexts', "Loading contexts...");
const msgAddNewConnection = localize('addNewConnection', "Add new connection");
const msgSelectConnection = localize('selectConnection', "Select connection");
const msgAddNewConnection = localize('addNewConnection', "Add New Connection");
const msgSelectConnection = localize('selectConnection', "Select Connection");
const msgLocalHost = localize('localhost', "localhost");
const HIDE_ICON_CLASS = ' hideIcon';