Atividades de "ageiter"

Responder

Even though I got the MVC part to work, it doesn't work at all in the Blazor app. I have made a separate ticket for this.

Currently the ABP support doesn't seem to react that fast... hope I don't have to wait too long for an answer. But if you still have an idea, I would be very grateful :-)

https://support.abp.io/QA/Questions/4077/LeptonX-Problems-with-overwriting-styles

Responder

Everything looks exactly the same for me.

But I found out that only the CSS files from the wwwroot are on the server. The ones under the folder "Themes" are not there.

When I set "Copy to Output Directory" to "Copy always", then they are exported. But according to your screenshot you didn't have to do that either... would you know what else it could be?

Responder

Thanks for the quick feedback.

Looks exactly the same as mine (just with difference top-menu).

But it probably only runs on your computer (via Visual Studio)? Then you will probably have the same problems with the deployment...

Unfortunately I get the following error message with my site on Azure: Refused to apply style from 'https://myproject.azurewebsites.net/Error?httpStatusCode=404' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Responder

Do you know how to integrate the CSS files in the folder Themes/LeptonX/Global/top-menu/css into the bundle?

It looks good on my machine, but when I deploy to Azure, the CSS files are missing.

Responder

Thanks for the feedback.

For me the name appears correctly when I am on the profile page (which is made with MVC). But on the normal application pages (Blazor) it looks like yours.

Responder

I finally got it working. Path must be like this: wwwroot/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/

Found out that the name is displayed correctly when you are on the profile page.

Responder

Unfortunately, the custom theme does not work for me yet. I copied the files "bootstrap-light.css" and "light.css" from the LeptonX theme and added them to the following two paths with new names: wwwroot\top-menu\css\bootstrap-custom.css wwwroot\top-menu\css\custom.css

Themes\LeptonX\Global\top-menu\css\bootstrap-custom.css Themes\LeptonX\Global\top-menu\css\custom.css

Are these paths wrong? @christophe.baille, can you take me again screenshots of the solution tree with you?

The name thing doesn't work for me either....

Responder

Hello,

Sorry for the late response

There is no way to override bootstrap colors with CSS variables right now. But this is in our roadmap.

Is there any way that I could replace the whole file? Then I can replace all colors in there with search + replace. If so, where can I find the source file?

Oh, sorry I missed that you're using Blazor-Server single project. So, you should make that MVC configuration in your Blazor.Server project module file.

Thanks, I should have figured it out myself... works!

The breadcrumb are unfortunately not displayed there. But it's not a problem for me at the moment.

Go to you .AtuhServer or .HttpApi.Host project and find Module class of that project.

  • Configure that project's layout in ConfigureServices method:
    Configure<LeptonXThemeMvcOptions>(options => 
    { 
        options.ApplicationLayout = LeptonXMvcLayouts.TopMenu; 
    }); 
    

I do not have these projects in the Blazor Server non-tiered solution. But I suppose I have to do this in the .HttpApi project.

Mostrando 131 até 140 de 149 registros
Made with ❤️ on ABP v8.2.0-preview Updated on março 25, 2024, 15:11