navigation for languages modifed, flags deleted. Content index changed
3 // --------------------------------------------------
8 margin-bottom: @line-height-computed;
9 background-color: @panel-bg;
10 border: 1px solid transparent;
11 border-radius: @panel-border-radius;
12 .box-shadow(0 1px 1px rgba(0,0,0,.05));
22 // List groups in panels
24 // By default, space out list group content from panel headings to account for
25 // any kind of custom content between the two.
34 // Remove border radius for top one
36 .border-top-radius(0);
38 // But keep it for the last one
45 // Collapse space between when there's no additional content.
46 .panel-heading + .list-group {
47 .list-group-item:first-child {
55 // Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
56 // watch it go full width.
60 > .table-responsive > .table {
63 > .panel-body + .table,
64 > .panel-body + .table-responsive {
65 border-top: 1px solid @table-border-color;
67 > .table > tbody:first-child th,
68 > .table > tbody:first-child td {
72 > .table-responsive > .table-bordered {
104 border-bottom: 1px solid transparent;
105 .border-top-radius(@panel-border-radius - 1);
107 > .dropdown .dropdown-toggle {
112 // Within heading, strip any `h*` tag of it's default margins for spacing.
116 font-size: ceil((@font-size-base * 1.125));
124 // Optional footer (stays gray in every modifier class)
127 background-color: @panel-footer-bg;
128 border-top: 1px solid @panel-inner-border;
129 .border-bottom-radius(@panel-border-radius - 1);
133 // Collapsable panels (aka, accordion)
135 // Wrap a series of panels in `.panel-group` to turn them into an accordion with
136 // the help of our collapse JavaScript plugin.
139 // Tighten up margin so it's only between panels
142 border-radius: @panel-border-radius;
143 overflow: hidden; // crop contents when collapsed
151 + .panel-collapse .panel-body {
152 border-top: 1px solid @panel-inner-border;
157 + .panel-collapse .panel-body {
158 border-bottom: 1px solid @panel-inner-border;
164 // Contextual variations
166 .panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);
169 .panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);
172 .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
175 .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
178 .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
181 .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);