BigW Consortium Gitlab

callout.scss 865 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/*
 * Callouts from Bootstrap3 docs
 *
 * Not quite alerts, but custom and helpful notes for folks reading the docs.
 * Requires a base and modifier class.
 */

/* Common styles for all types */
.bs-callout {
10 11
  margin: $gl-padding 0;
  padding: $gl-padding;
12 13 14
  border-left: 3px solid $border-color;
  color: $text-color;
  background: $background-color;
15
}
16

17 18 19 20
.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}
21

22 23 24 25 26 27 28 29 30 31
.bs-callout p:last-child {
  margin-bottom: 0;
}

/* Variations */
.bs-callout-danger {
  background-color: #fdf7f7;
  border-color: #eed3d7;
  color: #b94a48;
}
32

33 34 35 36 37
.bs-callout-warning {
  background-color: #faf8f0;
  border-color: #faebcc;
  color: #8a6d3b;
}
38

39 40 41 42 43
.bs-callout-info {
  background-color: #f4f8fa;
  border-color: #bce8f1;
  color: #34789a;
}
44

45 46
.bs-callout-success {
  background-color: #dff0d8;
47
  border-color: #5ca64d;
48 49
  color: #3c763d;
}