vendor/toolkit/twitter/bootstrap/panels.less in twitter-bootswatch-rails-3.0.0.2 vs vendor/toolkit/twitter/bootstrap/panels.less in twitter-bootswatch-rails-3.0.1.0

- old
+ new

@@ -54,24 +54,53 @@ // // Place a non-bordered `.table` within a panel (not within a `.panel-body`) and // watch it go full width. .panel { - > .table { + > .table, + > .table-responsive { margin-bottom: 0; } - > .panel-body + .table { + > .panel-body + .table, + > .panel-body + .table-responsive { border-top: 1px solid @table-border-color; } + > .table-bordered, + > .table-responsive > .table-bordered { + border: 0; + > thead, + > tbody, + > tfoot { + > tr { + > th:first-child, + > td:first-child { + border-left: 0; + } + > th:last-child, + > td:last-child { + border-right: 0; + } + + &:last-child > th, + &:last-child > td { + border-bottom: 0; + } + } + } + } } // Optional heading .panel-heading { padding: 10px 15px; border-bottom: 1px solid transparent; .border-top-radius(@panel-border-radius - 1); + + & > .dropdown .dropdown-toggle { + color: inherit; + } } // Within heading, strip any `h*` tag of it's default margins for spacing. .panel-title { margin-top: 0; @@ -116,14 +145,9 @@ .panel-footer { border-top: 0; + .panel-collapse .panel-body { border-bottom: 1px solid @panel-inner-border; } - } - - // New subcomponent for wrapping collapsable content for proper animations - .panel-collapse { - } } // Contextual variations