callout.scss 1021 字节
Newer Older
D
Dmitriy Zaporozhets 已提交
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-color: $border-color;
  border-style: solid;
  border-width: 0 0 0 3px;
15
  color: $text-color;
A
Annabel Dunstone Gray 已提交
16
  background: $gray-light;
17

18 19 20 21
  h4 {
    margin-top: 0;
    margin-bottom: 5px;
  }
22

23 24 25
  p:last-child {
    margin-bottom: 0;
  }
D
Dmitriy Zaporozhets 已提交
26 27 28 29
}

/* Variations */
.bs-callout-danger {
30 31 32
  background-color: $red-100;
  border-color: $red-200;
  color: $red-700;
J
jerasmus 已提交
33 34 35 36

  a {
    color: $red-700;
  }
D
Dmitriy Zaporozhets 已提交
37
}
38

D
Dmitriy Zaporozhets 已提交
39
.bs-callout-warning {
40 41
  background-color: $orange-100;
  border-color: $orange-200;
42 43 44 45 46
  color: $orange-900;

  a {
    color: $orange-900;
  }
D
Dmitriy Zaporozhets 已提交
47
}
48

D
Dmitriy Zaporozhets 已提交
49
.bs-callout-info {
50 51 52
  background-color: $blue-100;
  border-color: $blue-200;
  color: $blue-700;
53 54 55 56

  h4 {
    color: $blue-700;
  }
D
Dmitriy Zaporozhets 已提交
57
}
58

D
Dmitriy Zaporozhets 已提交
59
.bs-callout-success {
60 61 62
  background-color: $green-100;
  border-color: $green-200;
  color: $green-700;
D
Dmitriy Zaporozhets 已提交
63
}