Materialize: Background color of Table specified both Highlight and Striped

Created on 8 Nov 2015  路  4Comments  路  Source: Dogfalo/materialize

When we add both "highlight" and "striped" class to the table tag, the odd row's background color is the same(#f2f2f2).
The highlight color should be changed, such as #eee.

Most helpful comment

Like this.

table.highlight tbody tr:hover {
    background-color: #eee !important;
}

All 4 comments

How would we specify the striped color?

Like this.

table.highlight tbody tr:hover {
    background-color: #eee !important;
}

image

I recommend changing the materializecss to abide by the guidelines as much as possible. I can make a pull request if that's okay with the team?

In 1.0 alpha we did do a light style update for table, but we'll do a more in depth one later. We'll be handling it after 1.0 goes stable.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bradley-varol picture bradley-varol  路  3Comments

acierpinski picture acierpinski  路  3Comments

onigetoc picture onigetoc  路  3Comments

ericlormul picture ericlormul  路  3Comments

heshamelmasry77 picture heshamelmasry77  路  3Comments