Skip to content

Commit

Permalink
fix!: Renamed the blocklyTreeSelected CSS class to blocklyToolboxSele…
Browse files Browse the repository at this point in the history
…cted #8351 (#8459)
  • Loading branch information
omwagh28 authored Aug 6, 2024
1 parent 6887940 commit f10c3b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/toolbox/category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class ToolboxCategory
'icon': 'blocklyToolboxCategoryIcon',
'label': 'blocklyTreeLabel',
'contents': 'blocklyToolboxCategoryGroup',
'selected': 'blocklyTreeSelected',
'selected': 'blocklyToolboxSelected',
'openicon': 'blocklyToolboxCategoryIconOpen',
'closedicon': 'blocklyTreeIconClosed',
};
Expand Down Expand Up @@ -659,7 +659,7 @@ export type CssConfig = ToolboxCategory.CssConfig;

/** CSS for Toolbox. See css.js for use. */
Css.register(`
.blocklyToolboxCategory:not(.blocklyTreeSelected):hover {
.blocklyToolboxCategory:not(.blocklyToolboxSelected):hover {
background-color: rgba(255, 255, 255, .2);
}
Expand Down Expand Up @@ -700,19 +700,19 @@ Css.register(`
background-position: 0 -1px;
}
.blocklyTreeSelected>.blocklyTreeIconClosed {
.blocklyToolboxSelected>.blocklyTreeIconClosed {
background-position: -32px -17px;
}
.blocklyToolboxDiv[dir="RTL"] .blocklyTreeSelected>.blocklyTreeIconClosed {
.blocklyToolboxDiv[dir="RTL"] .blocklyToolboxSelected>.blocklyTreeIconClosed {
background-position: 0 -17px;
}
.blocklyToolboxCategoryIconOpen {
background-position: -16px -1px;
}
.blocklyTreeSelected>.blocklyToolboxCategoryIconOpen {
.blocklyToolboxSelected>.blocklyToolboxCategoryIconOpen {
background-position: -16px -17px;
}
Expand All @@ -727,7 +727,7 @@ Css.register(`
cursor: url("<<<PATH>>>/handdelete.cur"), auto;
}
.blocklyTreeSelected .blocklyTreeLabel {
.blocklyToolboxSelected .blocklyTreeLabel {
color: #fff;
}
`);
Expand Down

0 comments on commit f10c3b0

Please sign in to comment.