connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10.01k stars 579 forks source link

Too many global styles! #98

Open Huxpro opened 8 years ago

Huxpro commented 8 years ago

I dont know is it a bug or feature request. But I have to said there is tooooo many global styles applied to basic html elements which really makes UI broken unexpectedly.

For instances,

thead {
  background-color: #f5f5f4;
}

tbody {
  background-color: #fff;
}
thiakil commented 8 years ago

Can you give an example of how/where you're using tables that you don't want to have the default styles?

xiaokaike commented 8 years ago

Too many global styles too! i don't want the actrve style in my table

tr:active,
.table-striped tr:active:nth-child(even) {
  color: #fff;
  background-color: #116cd6;
}

thead tr:active {
  color: #333;
  background-color: #f5f5f4;
}