BigW Consortium Gitlab

callout.scss 1 KB
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
.bs-callout p:last-child {
  margin-bottom: 0;
}

/* Variations */
.bs-callout-danger {
28 29 30
  background-color: $callout-danger-bg;
  border-color: $callout-danger-border;
  color: $callout-danger-color;
31
}
32

33
.bs-callout-warning {
34 35 36
  background-color: $callout-warning-bg;
  border-color: $callout-warning-border;
  color: $callout-warning-color;
37
}
38

39
.bs-callout-info {
40 41 42
  background-color: $callout-info-bg;
  border-color: $callout-info-border;
  color: $callout-info-color;
43
}
44

45
.bs-callout-success {
46 47 48
  background-color: $callout-success-bg;
  border-color: $callout-success-border;
  color: $callout-success-color;
49
}