_panels.scss 543 B

123456789101112131415161718192021222324
  1. // Panels
  2. @mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) {
  3. border-color: $border;
  4. & > .panel-heading {
  5. color: $heading-text-color;
  6. background-color: $heading-bg-color;
  7. border-color: $heading-border;
  8. + .panel-collapse > .panel-body {
  9. border-top-color: $border;
  10. }
  11. .badge {
  12. color: $heading-bg-color;
  13. background-color: $heading-text-color;
  14. }
  15. }
  16. & > .panel-footer {
  17. + .panel-collapse > .panel-body {
  18. border-bottom-color: $border;
  19. }
  20. }
  21. }