Lots of updates
This commit is contained in:
parent
e3cfff8310
commit
39e7af6238
454 changed files with 221168 additions and 36622 deletions
|
@ -15,7 +15,7 @@
|
|||
// Panel contents
|
||||
.panel-body {
|
||||
padding: $panel-body-padding;
|
||||
@include clearfix();
|
||||
@include clearfix;
|
||||
}
|
||||
|
||||
// Optional heading
|
||||
|
@ -36,7 +36,11 @@
|
|||
font-size: ceil(($font-size-base * 1.125));
|
||||
color: inherit;
|
||||
|
||||
> a {
|
||||
> a,
|
||||
> small,
|
||||
> .small,
|
||||
> small > a,
|
||||
> .small > a {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
@ -56,7 +60,8 @@
|
|||
// any kind of custom content between the two.
|
||||
|
||||
.panel {
|
||||
> .list-group {
|
||||
> .list-group,
|
||||
> .panel-collapse > .list-group {
|
||||
margin-bottom: 0;
|
||||
|
||||
.list-group-item {
|
||||
|
@ -71,6 +76,7 @@
|
|||
@include border-top-radius(($panel-border-radius - 1));
|
||||
}
|
||||
}
|
||||
|
||||
// Add border bottom radius for last one
|
||||
&:last-child {
|
||||
.list-group-item:last-child {
|
||||
|
@ -79,6 +85,11 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
> .panel-heading + .panel-collapse > .list-group {
|
||||
.list-group-item:first-child {
|
||||
@include border-top-radius(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
// Collapse space between when there's no additional content.
|
||||
.panel-heading + .list-group {
|
||||
|
@ -100,6 +111,11 @@
|
|||
> .table-responsive > .table,
|
||||
> .panel-collapse > .table {
|
||||
margin-bottom: 0;
|
||||
|
||||
caption {
|
||||
padding-left: $panel-body-padding;
|
||||
padding-right: $panel-body-padding;
|
||||
}
|
||||
}
|
||||
// Add border top radius for first one
|
||||
> .table:first-child,
|
||||
|
@ -109,6 +125,9 @@
|
|||
> thead:first-child,
|
||||
> tbody:first-child {
|
||||
> tr:first-child {
|
||||
border-top-left-radius: ($panel-border-radius - 1);
|
||||
border-top-right-radius: ($panel-border-radius - 1);
|
||||
|
||||
td:first-child,
|
||||
th:first-child {
|
||||
border-top-left-radius: ($panel-border-radius - 1);
|
||||
|
@ -128,6 +147,9 @@
|
|||
> tbody:last-child,
|
||||
> tfoot:last-child {
|
||||
> tr:last-child {
|
||||
border-bottom-left-radius: ($panel-border-radius - 1);
|
||||
border-bottom-right-radius: ($panel-border-radius - 1);
|
||||
|
||||
td:first-child,
|
||||
th:first-child {
|
||||
border-bottom-left-radius: ($panel-border-radius - 1);
|
||||
|
@ -140,7 +162,9 @@
|
|||
}
|
||||
}
|
||||
> .panel-body + .table,
|
||||
> .panel-body + .table-responsive {
|
||||
> .panel-body + .table-responsive,
|
||||
> .table + .panel-body,
|
||||
> .table-responsive + .panel-body {
|
||||
border-top: 1px solid $table-border-color;
|
||||
}
|
||||
> .table > tbody:first-child > tr:first-child th,
|
||||
|
@ -202,6 +226,7 @@
|
|||
.panel {
|
||||
margin-bottom: 0;
|
||||
border-radius: $panel-border-radius;
|
||||
|
||||
+ .panel {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
@ -209,10 +234,13 @@
|
|||
|
||||
.panel-heading {
|
||||
border-bottom: 0;
|
||||
+ .panel-collapse > .panel-body {
|
||||
|
||||
+ .panel-collapse > .panel-body,
|
||||
+ .panel-collapse > .list-group {
|
||||
border-top: 1px solid $panel-inner-border;
|
||||
}
|
||||
}
|
||||
|
||||
.panel-footer {
|
||||
border-top: 0;
|
||||
+ .panel-collapse .panel-body {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue