material icon indicating copy to clipboard operation
material copied to clipboard

0.11.4 md-tabs label colours wrong

Open alphatwit opened this issue 11 years ago • 5 comments

The colours of the tabs seem to be overridden by the same colour scheme as md-warn

selected tab:

md-toolbar.md-warn > md-tabs.md-default-theme, md-tabs > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar.md-warn > md-tabs.md-default-theme, md-tabs > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused {
    color: rgb(255,255,255);
}
md-toolbar.md-accent > md-tabs.md-default-theme, md-tabs > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar.md-accent > md-tabs.md-default-theme, md-tabs > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused {
    color: rgba(255,255,255,0.87);
}
md-toolbar > md-tabs.md-default-theme, md-tabs > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar > md-tabs.md-default-theme, md-tabs > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused {
    color: rgba(255,255,255,0.87);
}

other tabs

md-toolbar.md-warn > md-tabs.md-default-theme, md-tabs > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) {
    color: rgb(255,205,210);
}

alphatwit avatar Oct 16 '15 15:10 alphatwit

I am also experiencing this. You can see it in effect in the Tabs demo: https://material.angularjs.org/latest/demo/tabs

chrislambe avatar Oct 16 '15 16:10 chrislambe

+1

tsdragon0404 avatar Oct 16 '15 16:10 tsdragon0404

@alphatwit @chrislambe @tsdragon0404 This is fixed in HEAD, so the next release will be back to the old styling.

houmark avatar Oct 16 '15 17:10 houmark

+1

salalaslam avatar Oct 17 '15 07:10 salalaslam

Duplicate of #5155. Fixed in https://github.com/angular/material/commit/c9f822ddbbee4dc148e62b8007dce5fca1feb0aa.

Splaktar avatar Oct 17 '15 19:10 Splaktar