Skip to content

Commit

Permalink
Merge branch 'master' into anywidget-search
Browse files Browse the repository at this point in the history
  • Loading branch information
sufyanAbbasi committed Dec 17, 2024
2 parents b4f335c + 0f9b090 commit b14cce9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions js/ipywidgets_styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,24 @@ export const legacyStyles = css`
color: var(--jp-ui-inverse-font-color0);
}
.legacy-button.active {
background-color: var(--colab-primary-surface-color, --jp-layout-color3);
color: var(--jp-ui-font-color1);
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),
0 1px 10px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity)),
0 2px 4px -1px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity));
}
.legacy-button.primary {
background-color: var(--jp-brand-color1);
color: var(--jp-ui-inverse-font-color1);
}
.legacy-button.primary.active {
background-color: var(--jp-brand-color0);
color: var(--jp-ui-inverse-font-color0);
}
.legacy-select {
-moz-appearance: none;
-webkit-appearance: none;
Expand Down
4 changes: 2 additions & 2 deletions js/toolbar_item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export class ToolbarItem extends LitWidget<ToolbarItemModel, ToolbarItem> {
active: boolean = false;

@property({ type: String })
icon: string = "";
icon: string = '';

@property({ type: String })
tooltip_text: string = "";
tooltip_text: string = '';

render() {
return html`
Expand Down

0 comments on commit b14cce9

Please sign in to comment.