Fix pin, unpin and close icon issues (#822)
* fix pin, unpin and close icon issues * formatting
@@ -37,12 +37,19 @@ panel {
|
||||
|
||||
.tabbedPanel .tabList .tab .tabLabel {
|
||||
text-transform: uppercase;
|
||||
margin-left: 16px;
|
||||
margin-right: 16px;
|
||||
font-size: 11px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.tabbedPanel .tabList .tab-header {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.tabbedPanel .tabList .actions-container {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.tabbedPanel .composite.title .title-actions .action-label {
|
||||
display: block;
|
||||
height: 35px;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="3 3 16 16" enable-background="new 3 3 16 16"><polygon fill="#C5C5C5" points="12.597,11.042 15.4,13.845 13.844,15.4 11.042,12.598 8.239,15.4 6.683,13.845 9.485,11.042 6.683,8.239 8.238,6.683 11.042,9.486 13.845,6.683 15.4,8.239"/></svg>
|
||||
|
Before Width: | Height: | Size: 307 B |
@@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="3 3 16 16" enable-background="new 3 3 16 16"><polygon fill="#424242" points="12.597,11.042 15.4,13.845 13.844,15.4 11.042,12.598 8.239,15.4 6.683,13.845 9.485,11.042 6.683,8.239 8.238,6.683 11.042,9.486 13.845,6.683 15.4,8.239"/></svg>
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><title>close_small</title><path d="M5.58,5.11,10,9.53l-.58.58L5,5.69.58,10.11,0,9.53,4.42,5.11,0,.69.58.11,5,4.53,9.42.11,10,.69Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 231 B |
1
src/sql/media/icons/close_inverse.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><defs><style>.cls-1{fill:#fff;}</style></defs><title>close_small_inverse</title><path class="cls-1" d="M5.58,5,10,9.42,9.42,10,5,5.58.58,10,0,9.42,4.42,5,0,.58.58,0,5,4.42,9.42,0,10,.58Z"/></svg>
|
||||
|
After Width: | Height: | Size: 288 B |
@@ -104,13 +104,16 @@
|
||||
background-position: 2px center;
|
||||
}
|
||||
|
||||
.vs .icon.close {
|
||||
background-image: url('close.svg');
|
||||
.vs .icon.close,
|
||||
.vs .icon.remove {
|
||||
background: url('close.svg') center center no-repeat !important;
|
||||
}
|
||||
|
||||
.vs-dark .icon.close,
|
||||
.hc-black .icon.close {
|
||||
background-image: url('close-dark.svg');
|
||||
.hc-black .icon.close,
|
||||
.vs-dark .icon.remove,
|
||||
.hc-black .icon.remove {
|
||||
background: url('close_inverse.svg') center center no-repeat !important;
|
||||
}
|
||||
|
||||
.vs .icon.filter {
|
||||
@@ -122,14 +125,6 @@
|
||||
background: url("filter_inverse.svg") center center no-repeat !important;
|
||||
}
|
||||
|
||||
.vs .icon.remove {
|
||||
background: url("remove.svg") center center no-repeat !important;
|
||||
}
|
||||
|
||||
.vs-dark .icon.remove,
|
||||
.hc-black .icon.remove {
|
||||
background: url("remove_inverse.svg") center center no-repeat !important;
|
||||
}
|
||||
|
||||
.vs .icon.warning-badge,
|
||||
.vs-dark .icon.warning-badge,
|
||||
|
||||
@@ -1 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>pin</title><path d="M15.55,5.84q-.26.26-.5.47a3,3,0,0,1-.51.36,2.41,2.41,0,0,1-.57.23,2.73,2.73,0,0,1-.7.08,2.67,2.67,0,0,1-.51,0l-3,3a3.51,3.51,0,0,1,.15.61,4.21,4.21,0,0,1,0,.63,3.89,3.89,0,0,1-.1.92,3.44,3.44,0,0,1-.29.78,4,4,0,0,1-.46.7q-.27.33-.62.68l-3-3L1.06,15.65,0,16l.35-1.06L4.8,10.5l-3-3,.35-.35A3.77,3.77,0,0,1,3.39,6.3,3.94,3.94,0,0,1,6.09,6.2l3-3a2.67,2.67,0,0,1,0-.51A2.7,2.7,0,0,1,9.09,2a2.48,2.48,0,0,1,.23-.57A3,3,0,0,1,9.68,1q.22-.25.47-.5ZM13.27,6a1.7,1.7,0,0,0,.81-.2L10.21,1.92a1.7,1.7,0,0,0-.2.81,1.58,1.58,0,0,0,.05.41c0,.13.07.26.11.39L6.33,7.37,6,7.23l-.34-.12L5.26,7a2.63,2.63,0,0,0-.39,0A2.91,2.91,0,0,0,4,7.14a2.79,2.79,0,0,0-.78.38l5.26,5.26A2.88,2.88,0,0,0,8.87,12,2.8,2.8,0,0,0,9,11.14a2.63,2.63,0,0,0,0-.39,2.77,2.77,0,0,0-.08-.36A3.49,3.49,0,0,0,8.77,10l-.15-.37,3.84-3.84.39.11A1.58,1.58,0,0,0,13.27,6Z"/></svg>
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><title>pin_small</title><path d="M12,4l-.38.36a2.32,2.32,0,0,1-.39.28,1.84,1.84,0,0,1-.43.18,2.08,2.08,0,0,1-.53.06,2,2,0,0,1-.39,0L7.61,7.13a2.68,2.68,0,0,1,.11.46,3.21,3.21,0,0,1,0,.48,3,3,0,0,1-.08.7,2.63,2.63,0,0,1-.22.6,3.07,3.07,0,0,1-.35.53q-.21.25-.47.52l-2.3-2.3L1,11.51l-.81.27L.41,11,3.8,7.59,1.5,5.29,1.77,5a2.88,2.88,0,0,1,1-.64,3,3,0,0,1,2.06-.07L7,2.05a2,2,0,0,1,0-.39,2.06,2.06,0,0,1,.06-.53A1.89,1.89,0,0,1,7.25.7,2.28,2.28,0,0,1,7.53.31l.36-.38Zm-1.74.11A1.3,1.3,0,0,0,10.88,4L7.93,1a1.3,1.3,0,0,0-.15.62,1.21,1.21,0,0,0,0,.31l.09.3L5,5.2l-.28-.11L4.43,5l-.27-.06-.3,0A2.22,2.22,0,0,0,3.2,5a2.13,2.13,0,0,0-.59.29l4,4a2.2,2.2,0,0,0,.29-.59A2.13,2.13,0,0,0,7,8.08a2,2,0,0,0,0-.3,2.11,2.11,0,0,0-.06-.27,2.66,2.66,0,0,0-.09-.27L6.72,7,9.65,4l.3.09A1.21,1.21,0,0,0,10.26,4.15Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 947 B After Width: | Height: | Size: 893 B |
@@ -1 +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:#fff;}</style></defs><title>pin_inverse</title><path class="cls-1" d="M15.55,5.84q-.26.26-.5.47a3,3,0,0,1-.51.36,2.41,2.41,0,0,1-.57.23,2.73,2.73,0,0,1-.7.08,2.67,2.67,0,0,1-.51,0l-3,3a3.51,3.51,0,0,1,.15.61,4.21,4.21,0,0,1,0,.63,3.89,3.89,0,0,1-.1.92,3.44,3.44,0,0,1-.29.78,4,4,0,0,1-.46.7q-.27.33-.62.68l-3-3L1.06,15.65,0,16l.35-1.06L4.8,10.5l-3-3,.35-.35A3.77,3.77,0,0,1,3.39,6.3,3.94,3.94,0,0,1,6.09,6.2l3-3a2.67,2.67,0,0,1,0-.51A2.7,2.7,0,0,1,9.09,2a2.48,2.48,0,0,1,.23-.57A3,3,0,0,1,9.68,1q.22-.25.47-.5ZM13.27,6a1.7,1.7,0,0,0,.81-.2L10.21,1.92a1.7,1.7,0,0,0-.2.81,1.58,1.58,0,0,0,.05.41c0,.13.07.26.11.39L6.33,7.37,6,7.23l-.34-.12L5.26,7a2.63,2.63,0,0,0-.39,0A2.91,2.91,0,0,0,4,7.14a2.79,2.79,0,0,0-.78.38l5.26,5.26A2.88,2.88,0,0,0,8.87,12,2.8,2.8,0,0,0,9,11.14a2.63,2.63,0,0,0,0-.39,2.77,2.77,0,0,0-.08-.36A3.49,3.49,0,0,0,8.77,10l-.15-.37,3.84-3.84.39.11A1.58,1.58,0,0,0,13.27,6Z"/></svg>
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><defs><style>.cls-1{fill:#fff;}</style></defs><title>pin_small_inverse</title><path class="cls-1" d="M11.93,4.18l-.38.36a2.32,2.32,0,0,1-.39.28,1.84,1.84,0,0,1-.43.18,2.08,2.08,0,0,1-.53.06A2,2,0,0,1,9.8,5L7.54,7.28a2.68,2.68,0,0,1,.11.46,3.21,3.21,0,0,1,0,.48,3,3,0,0,1-.08.7,2.63,2.63,0,0,1-.22.6,3.07,3.07,0,0,1-.35.53q-.21.25-.47.52l-2.3-2.3L.88,11.66l-.81.27.27-.81L3.73,7.73l-2.3-2.3.27-.27a2.88,2.88,0,0,1,1-.64,3,3,0,0,1,2.06-.07L7,2.2a2,2,0,0,1,0-.39A2.06,2.06,0,0,1,7,1.28,1.89,1.89,0,0,1,7.18.85,2.28,2.28,0,0,1,7.46.46L7.82.07Zm-1.74.11a1.3,1.3,0,0,0,.62-.15L7.86,1.19a1.3,1.3,0,0,0-.15.62,1.21,1.21,0,0,0,0,.31l.09.3L4.9,5.35l-.28-.11-.26-.09-.27-.06-.3,0a2.22,2.22,0,0,0-.66.1,2.13,2.13,0,0,0-.59.29l4,4a2.2,2.2,0,0,0,.29-.59,2.13,2.13,0,0,0,.1-.65,2,2,0,0,0,0-.3,2.11,2.11,0,0,0-.06-.27,2.66,2.66,0,0,0-.09-.27L6.65,7.1,9.57,4.17l.3.09A1.21,1.21,0,0,0,10.19,4.3Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 1015 B After Width: | Height: | Size: 979 B |
@@ -1 +0,0 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>close_16x16</title><path d="M8.93,8,16,15.08l-.92.92L8,8.93.92,16,0,15.08,7.07,8,0,.92.92,0,8,7.07,15.08,0,16,.92Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 223 B |
@@ -1 +0,0 @@
|
||||
<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:#fff;}</style></defs><title>close_inverse_16x16</title><path class="cls-1" d="M8.93,8,16,15.08l-.92.92L8,8.93.92,16,0,15.08,7.07,8,0,.92.92,0,8,7.07,15.08,0,16,.92Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 291 B |
@@ -1 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>unpin</title><path d="M15.55,5.84q-.26.26-.5.47a3,3,0,0,1-.51.36,2.41,2.41,0,0,1-.57.23,2.73,2.73,0,0,1-.7.08,2.67,2.67,0,0,1-.51,0L11.71,8H10.29l2.17-2.17.4.11a1.59,1.59,0,0,0,.41.05,1.7,1.7,0,0,0,.81-.2L10.21,1.92a1.7,1.7,0,0,0-.2.81,1.59,1.59,0,0,0,.05.41c0,.13.07.26.11.4L6.33,7.37,6,7.23l-.34-.12L5.27,7a2.63,2.63,0,0,0-.39,0A3,3,0,0,0,4,7.14a2.77,2.77,0,0,0-.78.38L7,11.29v1.42L5.5,11.2,1.06,15.65,0,16l.35-1.06L4.8,10.5l-3-3,.35-.35A3.74,3.74,0,0,1,3.4,6.3,4,4,0,0,1,4.89,6a3.59,3.59,0,0,1,.61.05,4.51,4.51,0,0,1,.6.14l3-3a2.67,2.67,0,0,1,0-.51A2.7,2.7,0,0,1,9.09,2a2.48,2.48,0,0,1,.23-.57A3,3,0,0,1,9.68,1q.22-.25.47-.5ZM11.5,9a3.41,3.41,0,0,1,1.36.27,3.51,3.51,0,0,1,1.86,1.86,3.54,3.54,0,0,1,0,2.73,3.51,3.51,0,0,1-1.86,1.86,3.54,3.54,0,0,1-2.73,0,3.51,3.51,0,0,1-1.86-1.86,3.54,3.54,0,0,1,0-2.73,3.51,3.51,0,0,1,1.86-1.86A3.41,3.41,0,0,1,11.5,9ZM9,12.5a2.45,2.45,0,0,0,.2,1,2.49,2.49,0,0,0,1.33,1.33,2.45,2.45,0,0,0,1,.2,2.49,2.49,0,0,0,.72-.11,2.43,2.43,0,0,0,.66-.31L9.41,11.12a2.43,2.43,0,0,0-.31.66A2.49,2.49,0,0,0,9,12.5Zm4.59,1.38a2.43,2.43,0,0,0,.31-.66A2.49,2.49,0,0,0,14,12.5a2.38,2.38,0,0,0-.2-1,2.56,2.56,0,0,0-1.33-1.33,2.38,2.38,0,0,0-1-.2,2.49,2.49,0,0,0-.72.11,2.43,2.43,0,0,0-.66.31Z"/></svg>
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><title>unpin_small</title><path d="M11.71,4.25l-.37.35a2.24,2.24,0,0,1-.37.27,1.77,1.77,0,0,1-.42.17,2,2,0,0,1-.51.06,2,2,0,0,1-.37,0l-.77.77h-1L9.44,4.24l.29.08a1.17,1.17,0,0,0,.3,0,1.25,1.25,0,0,0,.6-.15L7.79,1.37a1.25,1.25,0,0,0-.15.6,1.17,1.17,0,0,0,0,.3l.08.29L4.94,5.37l-.26-.11-.25-.09-.26-.05-.29,0a2.17,2.17,0,0,0-.64.09,2,2,0,0,0-.57.28L5.43,8.25v1L4.33,8.19,1.07,11.45l-.78.26.26-.78L3.81,7.67,1.6,5.46l.26-.26a2.75,2.75,0,0,1,.93-.61,2.92,2.92,0,0,1,1.1-.21,2.64,2.64,0,0,1,.44,0,3.31,3.31,0,0,1,.44.11L6.94,2.34a2,2,0,0,1,0-.37A2,2,0,0,1,7,1.46,1.82,1.82,0,0,1,7.14,1,2.2,2.2,0,0,1,7.4.66L7.75.29Zm-3,2.32a2.51,2.51,0,0,1,1,.2,2.58,2.58,0,0,1,1.37,1.37,2.6,2.6,0,0,1,0,2,2.58,2.58,0,0,1-1.37,1.37,2.6,2.6,0,0,1-2,0,2.58,2.58,0,0,1-1.37-1.37,2.6,2.6,0,0,1,0-2A2.58,2.58,0,0,1,7.74,6.77,2.51,2.51,0,0,1,8.74,6.57ZM6.9,9.14A1.8,1.8,0,0,0,7,9.85a1.83,1.83,0,0,0,1,1,1.8,1.8,0,0,0,.71.14,1.83,1.83,0,0,0,.53-.08,1.79,1.79,0,0,0,.48-.23L7.2,8.13A1.79,1.79,0,0,0,7,8.61,1.83,1.83,0,0,0,6.9,9.14Zm3.37,1a1.79,1.79,0,0,0,.23-.48,1.83,1.83,0,0,0,.08-.53,1.75,1.75,0,0,0-.15-.71,1.88,1.88,0,0,0-1-1,1.75,1.75,0,0,0-.71-.15,1.83,1.83,0,0,0-.53.08,1.79,1.79,0,0,0-.48.23Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -1 +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:#fff;}</style></defs><title>unpin_inverse</title><path class="cls-1" d="M15.55,5.84q-.26.26-.5.47a3,3,0,0,1-.51.36,2.41,2.41,0,0,1-.57.23,2.73,2.73,0,0,1-.7.08,2.67,2.67,0,0,1-.51,0L11.71,8H10.29l2.17-2.17.4.11a1.59,1.59,0,0,0,.41.05,1.7,1.7,0,0,0,.81-.2L10.21,1.92a1.7,1.7,0,0,0-.2.81,1.59,1.59,0,0,0,.05.41c0,.13.07.26.11.4L6.33,7.37,6,7.23l-.34-.12L5.27,7a2.63,2.63,0,0,0-.39,0A3,3,0,0,0,4,7.14a2.77,2.77,0,0,0-.78.38L7,11.29v1.42L5.5,11.2,1.06,15.65,0,16l.35-1.06L4.8,10.5l-3-3,.35-.35A3.74,3.74,0,0,1,3.4,6.3,4,4,0,0,1,4.89,6a3.59,3.59,0,0,1,.61.05,4.51,4.51,0,0,1,.6.14l3-3a2.67,2.67,0,0,1,0-.51A2.7,2.7,0,0,1,9.09,2a2.48,2.48,0,0,1,.23-.57A3,3,0,0,1,9.68,1q.22-.25.47-.5ZM11.5,9a3.41,3.41,0,0,1,1.36.27,3.51,3.51,0,0,1,1.86,1.86,3.54,3.54,0,0,1,0,2.73,3.51,3.51,0,0,1-1.86,1.86,3.54,3.54,0,0,1-2.73,0,3.51,3.51,0,0,1-1.86-1.86,3.54,3.54,0,0,1,0-2.73,3.51,3.51,0,0,1,1.86-1.86A3.41,3.41,0,0,1,11.5,9ZM9,12.5a2.45,2.45,0,0,0,.2,1,2.49,2.49,0,0,0,1.33,1.33,2.45,2.45,0,0,0,1,.2,2.49,2.49,0,0,0,.72-.11,2.43,2.43,0,0,0,.66-.31L9.41,11.12a2.43,2.43,0,0,0-.31.66A2.49,2.49,0,0,0,9,12.5Zm4.59,1.38a2.43,2.43,0,0,0,.31-.66A2.49,2.49,0,0,0,14,12.5a2.38,2.38,0,0,0-.2-1,2.56,2.56,0,0,0-1.33-1.33,2.38,2.38,0,0,0-1-.2,2.49,2.49,0,0,0-.72.11,2.43,2.43,0,0,0-.66.31Z"/></svg>
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><defs><style>.cls-1{fill:#fff;}</style></defs><title>unpin_small_inverse</title><path class="cls-1" d="M11.71,4.25l-.37.35a2.24,2.24,0,0,1-.37.27,1.77,1.77,0,0,1-.42.17,2,2,0,0,1-.51.06,2,2,0,0,1-.37,0l-.77.77h-1L9.44,4.24l.29.08a1.17,1.17,0,0,0,.3,0,1.25,1.25,0,0,0,.6-.15L7.79,1.37a1.25,1.25,0,0,0-.15.6,1.17,1.17,0,0,0,0,.3l.08.29L4.94,5.37l-.26-.11-.25-.09-.26-.05-.29,0a2.17,2.17,0,0,0-.64.09,2,2,0,0,0-.57.28L5.43,8.25v1L4.33,8.19,1.07,11.45l-.78.26.26-.78L3.81,7.67,1.6,5.46l.26-.26a2.75,2.75,0,0,1,.93-.61,2.92,2.92,0,0,1,1.1-.21,2.64,2.64,0,0,1,.44,0,3.31,3.31,0,0,1,.44.11L6.94,2.34a2,2,0,0,1,0-.37A2,2,0,0,1,7,1.46,1.82,1.82,0,0,1,7.14,1,2.2,2.2,0,0,1,7.4.66L7.75.29Zm-3,2.32a2.51,2.51,0,0,1,1,.2,2.58,2.58,0,0,1,1.37,1.37,2.6,2.6,0,0,1,0,2,2.58,2.58,0,0,1-1.37,1.37,2.6,2.6,0,0,1-2,0,2.58,2.58,0,0,1-1.37-1.37,2.6,2.6,0,0,1,0-2A2.58,2.58,0,0,1,7.74,6.77,2.51,2.51,0,0,1,8.74,6.57ZM6.9,9.14A1.8,1.8,0,0,0,7,9.85a1.83,1.83,0,0,0,1,1,1.8,1.8,0,0,0,.71.14,1.83,1.83,0,0,0,.53-.08,1.79,1.79,0,0,0,.48-.23L7.2,8.13A1.79,1.79,0,0,0,7,8.61,1.83,1.83,0,0,0,6.9,9.14Zm3.37,1a1.79,1.79,0,0,0,.23-.48,1.83,1.83,0,0,0,.08-.53,1.75,1.75,0,0,0-.15-.71,1.88,1.88,0,0,0-1-1,1.75,1.75,0,0,0-.71-.15,1.83,1.83,0,0,0-.53.08,1.79,1.79,0,0,0-.48.23Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.3 KiB |
14
src/sql/media/overwriteVsIcons.css
Normal file
@@ -0,0 +1,14 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
/* Overwrite close editor action icon */
|
||||
.vs .monaco-workbench .close-editor-action {
|
||||
background: url('icons/close.svg') center center no-repeat !important;
|
||||
background-size: 10px !important;
|
||||
}
|
||||
|
||||
.vs-dark .monaco-workbench .close-editor-action,
|
||||
.hc-black .monaco-workbench .close-editor-action {
|
||||
background: url('icons/close_inverse.svg') center center no-repeat !important;
|
||||
}
|
||||
@@ -13,3 +13,13 @@ dashboard-page .monaco-scrollable-element {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
dashboard-page .dashboard-panel .tab-header .action-item .action-label.unpin,
|
||||
dashboard-page .dashboard-panel .tab-header .action-item .action-label.pin {
|
||||
padding: 6px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
dashboard-page .dashboard-panel .tab-header .action-item .action-label.close {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
'use strict';
|
||||
|
||||
import 'vs/css!sql/media/overwriteVsIcons';
|
||||
import { Registry } from 'vs/platform/registry/common/platform';
|
||||
import { EditorDescriptor, IEditorRegistry, Extensions as EditorExtensions } from 'vs/workbench/browser/editor';
|
||||
import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors';
|
||||
@@ -85,24 +85,24 @@ let actionRegistry = <IWorkbenchActionRegistry>Registry.as(Extensions.WorkbenchA
|
||||
|
||||
// Query Actions
|
||||
actionRegistry.registerWorkbenchAction(
|
||||
new SyncActionDescriptor(
|
||||
RunQueryKeyboardAction,
|
||||
RunQueryKeyboardAction.ID,
|
||||
RunQueryKeyboardAction.LABEL,
|
||||
{ primary: KeyCode.F5 }
|
||||
),
|
||||
RunQueryKeyboardAction.LABEL
|
||||
);
|
||||
new SyncActionDescriptor(
|
||||
RunQueryKeyboardAction,
|
||||
RunQueryKeyboardAction.ID,
|
||||
RunQueryKeyboardAction.LABEL,
|
||||
{ primary: KeyCode.F5 }
|
||||
),
|
||||
RunQueryKeyboardAction.LABEL
|
||||
);
|
||||
|
||||
actionRegistry.registerWorkbenchAction(
|
||||
new SyncActionDescriptor(
|
||||
RunCurrentQueryKeyboardAction,
|
||||
RunCurrentQueryKeyboardAction.ID,
|
||||
RunCurrentQueryKeyboardAction.LABEL,
|
||||
{ primary:KeyMod.CtrlCmd | KeyCode.F5 }
|
||||
),
|
||||
RunCurrentQueryKeyboardAction.LABEL
|
||||
);
|
||||
new SyncActionDescriptor(
|
||||
RunCurrentQueryKeyboardAction,
|
||||
RunCurrentQueryKeyboardAction.ID,
|
||||
RunCurrentQueryKeyboardAction.LABEL,
|
||||
{ primary: KeyMod.CtrlCmd | KeyCode.F5 }
|
||||
),
|
||||
RunCurrentQueryKeyboardAction.LABEL
|
||||
);
|
||||
|
||||
actionRegistry.registerWorkbenchAction(
|
||||
new SyncActionDescriptor(
|
||||
@@ -114,23 +114,23 @@ actionRegistry.registerWorkbenchAction(
|
||||
);
|
||||
|
||||
actionRegistry.registerWorkbenchAction(
|
||||
new SyncActionDescriptor(
|
||||
CancelQueryKeyboardAction,
|
||||
CancelQueryKeyboardAction.ID,
|
||||
CancelQueryKeyboardAction.LABEL,
|
||||
{ primary: KeyMod.Alt | KeyCode.PauseBreak }
|
||||
),
|
||||
CancelQueryKeyboardAction.LABEL
|
||||
);
|
||||
new SyncActionDescriptor(
|
||||
CancelQueryKeyboardAction,
|
||||
CancelQueryKeyboardAction.ID,
|
||||
CancelQueryKeyboardAction.LABEL,
|
||||
{ primary: KeyMod.Alt | KeyCode.PauseBreak }
|
||||
),
|
||||
CancelQueryKeyboardAction.LABEL
|
||||
);
|
||||
|
||||
actionRegistry.registerWorkbenchAction(
|
||||
new SyncActionDescriptor(
|
||||
RefreshIntellisenseKeyboardAction,
|
||||
RefreshIntellisenseKeyboardAction.ID,
|
||||
RefreshIntellisenseKeyboardAction.LABEL
|
||||
),
|
||||
new SyncActionDescriptor(
|
||||
RefreshIntellisenseKeyboardAction,
|
||||
RefreshIntellisenseKeyboardAction.ID,
|
||||
RefreshIntellisenseKeyboardAction.LABEL
|
||||
);
|
||||
),
|
||||
RefreshIntellisenseKeyboardAction.LABEL
|
||||
);
|
||||
|
||||
// Grid actions
|
||||
|
||||
@@ -139,7 +139,7 @@ actionRegistry.registerWorkbenchAction(
|
||||
ToggleQueryResultsKeyboardAction,
|
||||
ToggleQueryResultsKeyboardAction.ID,
|
||||
ToggleQueryResultsKeyboardAction.LABEL,
|
||||
{ primary:KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KEY_R },
|
||||
{ primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KEY_R },
|
||||
QueryEditorVisibleCondition
|
||||
),
|
||||
ToggleQueryResultsKeyboardAction.LABEL
|
||||
@@ -299,7 +299,7 @@ for (let i = 0; i < 9; i++) {
|
||||
const queryIndex = i + 1;
|
||||
let settingKey = `sql.query.shortcut${queryIndex}`;
|
||||
let defaultVal = i < initialShortcuts.length ? initialShortcuts[i].name : '';
|
||||
let defaultPrimary = i < initialShortcuts.length ? initialShortcuts[i].primary : null;
|
||||
let defaultPrimary = i < initialShortcuts.length ? initialShortcuts[i].primary : null;
|
||||
|
||||
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
||||
id: `workbench.action.query.shortcut${queryIndex}`,
|
||||
|
||||
@@ -39,9 +39,11 @@
|
||||
}
|
||||
|
||||
.server-explorer-viewlet .monaco-action-bar .action-label {
|
||||
margin-right: 0;
|
||||
margin-right: 0.3em;
|
||||
margin-left: 0.3em;
|
||||
line-height: 15px;
|
||||
width: 10px !important;
|
||||
height: 10px !important;
|
||||
}
|
||||
|
||||
/* Add space beneath the button */
|
||||
|
||||