mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix errors due to icon to codicon rename in VSCode (#7837)
Found numerous errors where icons weren't rendering correctly. - Anything that's an action must have CSS using "codicon" not "icon" since VSCode sets the "codicon" class automatically. This affected Agent view in particular, but also: - acounts view - new tab view in dashboard - many more - Anything referencing the common-icons.css icons needed updating. This hid help tooltip text in FormContainer UI for example. - Finally I tried to convert all references from icon -> codicon, even when the CSS was technically correct. This was done for maintainability reasons - from now on always add codicon. Fixes #7827
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
.vs .dropdown-arrow.icon {
|
||||
.vs .dropdown-arrow.codicon {
|
||||
background-image: url("dropdownarrow.svg");
|
||||
}
|
||||
|
||||
.vs-dark .dropdown-arrow.icon,
|
||||
.hc-black .dropdown-arrow.icon {
|
||||
.vs-dark .dropdown-arrow.codicon,
|
||||
.hc-black .dropdown-arrow.codicon {
|
||||
background-image: url("dropdownarrow_inverse.svg");
|
||||
}
|
||||
|
||||
.monaco-dropdown .monaco-action-bar .action-label.icon.dropdown-arrow {
|
||||
.monaco-dropdown .monaco-action-bar .action-label.codicon.dropdown-arrow {
|
||||
padding: 0;
|
||||
background-size: 10px;
|
||||
background-position: 50%;
|
||||
@@ -38,12 +38,12 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.connection-input .monaco-dropdown .monaco-action-bar .action-label.icon.dropdown-arrow {
|
||||
.connection-input .monaco-dropdown .monaco-action-bar .action-label.codicon.dropdown-arrow {
|
||||
background-position: 50%;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.connection-input .monaco-inputbox .monaco-action-bar .action-item .icon {
|
||||
.connection-input .monaco-inputbox .monaco-action-bar .action-item .codicon {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user