daux.io/less/import/bootstrap/mixins/panels.less
Gautham Warrier 04a68f3cdd Code rewrite to OOPs base
Update Bootstrap to v3.2 and skim built-in themes to bare essentials
2014-07-31 08:08:22 +05:30

25 regels
537 B
Plaintext

// Panels
.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
border-color: @border;
& > .panel-heading {
color: @heading-text-color;
background-color: @heading-bg-color;
border-color: @heading-border;
+ .panel-collapse > .panel-body {
border-top-color: @border;
}
.badge {
color: @heading-bg-color;
background-color: @heading-text-color;
}
}
& > .panel-footer {
+ .panel-collapse > .panel-body {
border-bottom-color: @border;
}
}
}