Knockout-Contrib / KoGrid

A Knockout DataGrid
https://knockout-contrib.github.io/KoGrid/
280 stars 131 forks source link

Twitter Bootstrap Theme #200

Open mpaul31 opened 11 years ago

mpaul31 commented 11 years ago

I'm wondering if it is possible or how I can change the look and feel of the grid to more so match twitter bootstrap? i'm also looking to change the look and feel of the pager.

thanks!

mariocosmi commented 11 years ago

I'm using this, hope it helps

.kgTopPanel { background-color: #ffffff; border: none; } .kgHeaderCell:last-child { border-right: none; } .kgHeaderButton { background-color: rgb(0, 136, 204); left: -20px; } .kgHeaderButtonArrow { border-top-color: #ffffff; } .kgColMenu { left: -20px;right: auto;background-color: #f5f5f5; border: 1px solid #e3e3e3;}

.kgViewport { height: 100% !important; overflow-y: hidden; border: none; }

.kgViewport .kgRow .kgCell { background-color: #ffffff; border-top: 1px solid #dddddd; border-bottom: none; border-left: none; border-right: none; }

.kgAggregate { background-color: #e3e3e3; }

.kgViewport .kgRow:hover .kgCell { background-color: #f5f5f5; }

.kgFooterPanel { display: none; }