-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Padding of sidebar menu is now done in the parent div, instead of e…
…ach element adding indent for itself. - Remove collapsible styling CSS, since it is not used any longer. - Items now have smaller font when in an expanded group.
- Loading branch information
1 parent
eb13502
commit 94ffaa4
Showing
8 changed files
with
16 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 2 additions & 22 deletions
24
packages/panels/src/components/sidebar-menu/SidebarMenuCollapsible.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
.sidebarMenuCollapsible { | ||
--swui-collapsible-header-text-color: var(--current-text-color); | ||
--swui-collapsible-header-background-color: var(--current-background-color); | ||
--swui-collapsible-header-background-color-hover: var( | ||
--current-background-color-hover | ||
); | ||
--swui-collapsible-header-background-color-active: var( | ||
--current-background-color-active | ||
); | ||
--swui-collapsible-header-indicator-color: var(--current-text-color); | ||
--swui-collapsible-header-indicator-color-collapsed: var( | ||
--current-text-color | ||
); | ||
--swui-collapsible-header-indicator-color-hover: var(--current-text-color); | ||
--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 0; | ||
--swui-collapsible-header-content-margin: 0; | ||
--swui-collapsible-collapsible-link-padding: var(--swui-metrics-indent) | ||
var(--swui-metrics-indent) var(--swui-metrics-indent) | ||
calc(var(--swui-metrics-indent) * 4); | ||
--swui-collapsible-header-border-color: transparent; | ||
|
||
--swui-collapsible-min-height: var(--swui-sidebar-menu-item-height); | ||
.label { | ||
font-size: var(--current-text-size, var(--swui-font-size-medium)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters