summaryrefslogtreecommitdiff
path: root/scss/bootstrap-callout.scss
blob: 1dc08a16323882835aaa8cbf20f3c9ab512e056b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.bs-callout {
      padding: 20px;
      margin: 20px 0;
      border: 1px solid #eee;
      border-left-width: 5px;
      border-radius: 4px;
      margin-left: 50px;
}

.bs-callout-xl {
      margin-left: 0px;
}

.bs-callout-lg {
      margin-left: 50px;
}

.bs-callout-md {
      margin-left: 100px;
}

.bs-callout-sm {
      margin-left: 150px;
}

.bs-callout-xs {
      margin-left: 200px;
}

.bs-callout h4 {
      margin-top: 0;
      margin-bottom: 5px;
}

.bs-callout p:last-child {
      margin-bottom: 0;
}

.bs-callout code {
      border-radius: 4px;
}

.bs-callout+.bs-callout {
      margin-top: -5px;
}

.bs-callout-default {
      border-left-color: #777;
      background-color: #f7f7f9;
}

.bs-callout-default h4 {
      color: #777;
}

@each $color, $value in $theme-colors {
      .bs-callout-#{$color} {
            border-left-color: $value;
      }
      .bs-callout-#{$color} h4 {
            color: $value;
      }
}