Matblazor: CSS base?

Created on 29 Aug 2019  路  5Comments  路  Source: SamProf/MatBlazor

Maybe this is already described somewhere but I couldn't find it.

Does MatBlazor build on some existing Material CSS kit (e.g. Materialize) or are all styles unique to MatBlazor?

Most helpful comment

I just created a pull request #370 to address this

All 5 comments

I have a related question. I'm trying to override the base CSS because the menu items text color after selection is the same as the background color. I've attached pictures of the before and after click. Also attached the code. All very simple and should work.

menu-before
menu-after
menu-code

I was able to override the style using the following.

.app-sidebar {
color:#fff
}
.app-sidebar .mdc-list-item--selected {
border-left: solid 3px rgba(255, 255, 255, .5);
color: #fff !important;
}

Would be nice if we have CSS in separate file or SASS file instead of a style tag in the body.

@gitbugreport Good Idea!

I just created a pull request #370 to address this

Was this page helpful?
0 / 5 - 0 ratings