Right, we solved many bugs the last month like this. It was already one or two that was not clearly fixed or not, since the test Alex did worked by when I tried to use wasn't. Don't remember if this was one of them. Please check the issues, and see if it relates to some open CSS bug. I think the ones that was fixed are all closed (expect I think one closed, that for me was not working if I remember ok)
Thanks 2018-05-15 11:09 GMT+02:00 Harbs <harbs.li...@gmail.com>: > Interesting. It looks to me like a bug. > > The theme CSS compiles into this: > Button { > border: 1px solid #808080; > padding: 4px; > background-color: #f8f8f8; > margin: 0px; > border-radius: 2px; > } > Button:hover { > border: 1px solid #808080; > padding: 4px; > background-color: #e8e8e8; > } > Button:active { > border: 1px solid #808080; > padding: 4px; > background-color: #d8d8d8; > } > > Instead of this: > > .Button { > border: 1px solid #808080; > padding: 4px; > background-color: #f8f8f8; > margin: 0px; > border-radius: 2px; > } > .Button:hover { > border: 1px solid #808080; > padding: 4px; > background-color: #e8e8e8; > } > .Button:active { > border: 1px solid #808080; > padding: 4px; > background-color: #d8d8d8; > } > > Button is an element name (case insensitive) instead of a class name… > > Harbs > > > On May 15, 2018, at 11:52 AM, Harbs <harbs.li...@gmail.com> wrote: > > > > I just tried an experiment of giving an MDL Button a classname of > “Button” in addition to all the MDL classes. Interestingly, the mdl class > names overrode the Button one. I’m really not sure why because the Button > css should have been loaded later than MDL. I’d appreciate your thoughts if > you have any on that. > > -- Carlos Rovira http://about.me/carlosrovira