Ou... I just found something else related to the TopMenu.
9. TopMenu layout is not consistently applied everywhere: When you go to "My Account" or "Security Logs", the view changes to the SideMenu layout.
Hello, this ticket has been closed although my question has not yet been answered....
Why does it work without the Redis service in Azure App Service? And when would it be important to use it?
I would like to change the colors of the LeptonX theme ('Light' style).
I wanted to override it in blazor-global-styles.css with my colors. But for the pink color (e.g. grid pagination) this doesn't work.
I then saw that the color code #f72585 (pink) occurs in the file bootstrap-light.css in very many places and is not set globally. So of course it is very hard to replace the color everywhere.
Can you make it so that we can just overwrite it? Something like with the variable --lpx-brand.
Or what is the easiest way to do this?
Thanks for the feedback about issue 2. Since these issues are probably not public, will you let me know when it is resolved?
About issue 5: I have now created a new app with Abp Suite, taking the latest template (Blazor Server 6.0.0-rc.4). Changed the layout to TopMenu and started. The problem is there from the beginning.
You can also press F5, each time the user menu will open automatically.
Hi, I have now created a new app with the latest template (Blazor Server 6.0.0-rc.4), run it and the problem occurs immediately. To illustrate it I made a screencast: AbpBug3705.mp4
Edited on 16.11.2022: Unfortunately, I can no longer reply here because the ticket is locked. But I think the problem is not solved yet and I would like to know for which version the bugfix is planned (currently I have version 6.0.1).
I have a solution for number 4. I have implemented the boxed layout with the following CSS:
.lpx-topbar-container, .lpx-content-container {
margin: 0 auto;
max-width: 1280px;
}
8. Footer height is too big: I have discovered another new problem. The footer height is way too big (is calculated wrong). Probably the style is good for a blank / small page. But if there is content on the page, the footer becomes huge. The problem here is the min-height:
.lpx-content-container .lpx-content {
max-width: 1280px;
min-height: calc(100vh - 192px);
margin: 0 auto;
}
I changed the image and had problems with the size and alignment. Now I have set the following CSS styles and so the image is set as background for this column. This way it looks great even with different screen sizes.
.lpx-login-image-area img {
display: none;
}
.lpx-login-image-area {
background-image: url("/Themes/LeptonX/Global/assets/img/login-bg.jpg");
background-position: right;
background-repeat: no-repeat;
background-size: cover;
}
I've grouped several questions (and bugs) together here, as they all have to do with the LeptonX theme with TopMenu layout.
private void ConfigureTheme()
{
Configure<LeptonXThemeBlazorOptions>(options =>
{
options.Layout = LeptonXBlazorLayouts.TopMenu;
});
Configure<LeptonXThemeOptions>(options =>
{
options.DefaultStyle = LeptonXStyleNames.Light;
// Remove unused styles
options.Styles.Remove(LeptonXStyleNames.System);
options.Styles.Remove(LeptonXStyleNames.Dim);
options.Styles.Remove(LeptonXStyleNames.Dark);
});
}
If I remove all styles, then only the DefaultStyle appears. That would be a workaround...
options.Styles.Clear();
And it would be nice if the menu item would be automatically hidden when there is only one option.
I hope to have contributed to an even better theme :-)
Thanks, Adrian
ABP Framework version: v6.0.0-rc.4
UI type: Blazor
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Steps to reproduce the issue:"
I installed the preview (6.0.0-rc.3) and created a new Blazor Server App by using the template.
Because of OpenIddict, I then had to install Redis on my machine (via WSL2).
Then I did a deployment to Azure. And there I wondered why the app worked without adding the "Azure Cache for Redis".
Why does it work without the Redis service in Azure App Service? And when would it be important to use it?
By the way, in order for OpenIddict to work in Azure, I still had to do some configuration in BlazorModule. I scraped the information together from issues from others. It works, but I don't understand everything yet (e.g. generating the SigningKey & EncryptionKey) and it would be great if you could document the necessary steps to deploy it to Azure (so that the application can be run securely).
Thanks, Adrian