Welcome to mirror list, hosted at ThFree Co, Russian Federation.

callouts.less « less « assets « docs - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 28f66650f281d2e5902e0ab8a78b43a49fc9b4b3 (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
// Callouts
//
// Not quite alerts, but custom and helpful notes for folks reading the docs.
// Requires a base and modifier class.

.bs-callout {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;

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

  p:last-child {
    margin-bottom: 0;
  }

  code {
    border-radius: 3px;
  }

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

.bs-callout-danger {
  border-left-color: #ce4844;

  h4 {
    color: #ce4844;
  }
}

.bs-callout-warning {
  border-left-color: #aa6708;

  h4 {
    color: #aa6708;
  }
}

.bs-callout-info {
  border-left-color: #1b809e;

  h4 {
    color: #1b809e;
  }
}