Repository navigation
Conversation
There was a problem hiding this comment.
Tested in a Studio Pro 11.16 app with this branch's atlas_core, all three layouts, desktop and 375px mobile.
-
Collapsed sidebar fly-out: sub-items without an icon aren't aligned with the others. Their label starts ~60px further left than sub-items with an icon. The changelog says labels align in one column "including items without an icon" — true for the expanded sidebar, not for the fly-out.
-
Long app name in the top bar on mobile (Atlas_TopBar, also Atlas_Default): the name doesn't end in an ellipsis, it wraps onto several lines. In Atlas_TopBar this also pushes the logo + name below the menu toggle, because they share a
flex-rowcontainer with flex-wrap: wrap. The top bar ends up ~156px tall at 375px wide. The nowrap/ellipsis rules for .sidebar-brand-name only apply inside the sidebar (_layout-atlas-responsive.scss); in the top bar's .navbar-brand the name has no white-space/overflow/min-width rules, so it can't shrink. Expected per the changelog: toggle, logo and name on one row, name truncated with "…".
Breaking change
The default theme is now Atlas Neutral. Apps that set their own values in
theme/web/custom-variables.scsskeep them; everything an app left to Atlas changes:Navigation bars no longer follow
--brand-primary. Each layout now has one primary bar (dark by default) and may have one secondary bar (light by default):Atlas no longer sets the navigation region variables (
--topbar-*,--sidebar-bg,--navsidebar-*and--navtopbar-*colors,--navbar-brand-name) or the shared navigation colors (--navigation-color*,--navigation-bg*,--navigation-sub-*,--navigation-border-color). They still work as overrides, so a theme that sets them keeps its look.A theme that sets only a region's background must also set that region's text colors, or
--navigation-color. Otherwise, where that region is the secondary bar, its text is dark.Layouts copied from Atlas get the bar colors only if they keep the
region-topbarandregion-sidebarclasses. To show the app logo and name, add theAppInfosnippet.Sidebar navigation items are full width, without rounded corners, and the icon box is 40px.
To keep the previous look: before upgrading, paste the block below into the
:rootoftheme/web/custom-variables.scss, and delete every line for a variable the app already sets. You can then remove lines one by one to adopt parts of the new look. Layout details (sidebar alignment, the current-page marker) change regardless.Previous look (Atlas Core 4.5)
Added
--bar-primary-*and--bar-secondary-*theme variables to style the navigation bars by role:bg,bg-hover,bg-active,color,color-hover,color-active,sub-color,title-color,border-colorandedge.AppInfosnippet that shows the app logo and app name, with a non-persistableAppInfoentity filled by a nanoflow:JSA_GetAppNamereads the Application title of the navigation profile.JSA_GetAppLogoUrluses the app's ownlogo.svg, otherwise the App icon of the navigation profile.logo.svg(the Mendix brandmark) at the web root. The app'stheme/web/logo.svgor a theme module'spublic/logo.svgoverrides it.com.mendix.charts.json, for charts with theme configuration enabled. The app'stheme/web/com.mendix.charts.jsonor a theme module's overrides it.--navigation-sub-item-padding.Changed
region-topbar topbar-secondary..navbar-brand.Content.Mendiximage is now the Mendix brandmark.--topbar-bgand--topbar-colorwhen set, otherwise the primary bar colors.Fixed
--navtopbar-bgwhen--navtopbar-bg-secondaryisn't set.