authserver/testCAS/resources/assets/less/bootstrap/mixins/panels.less
author Nicolas Sauret <nicolas.sauret@iri.centrepompidou.fr>
Tue, 16 Jun 2015 11:30:44 +0200
changeset 6 4d2f10800d4b
parent 0 1afc9d2ab94d
permissions -rw-r--r--
add scénario Enseignant + sources button

// 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;
    }
  }
}