callouts.less 697 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // Callouts
  2. //
  3. // Not quite alerts, but custom and helpful notes for folks reading the docs.
  4. // Requires a base and modifier class.
  5. .bs-callout {
  6. padding: 20px;
  7. margin: 20px 0;
  8. border: 1px solid #eee;
  9. border-left-width: 5px;
  10. border-radius: 3px;
  11. h4 {
  12. margin-top: 0;
  13. margin-bottom: 5px;
  14. }
  15. p:last-child {
  16. margin-bottom: 0;
  17. }
  18. code {
  19. border-radius: 3px;
  20. }
  21. + .bs-callout {
  22. margin-top: -5px;
  23. }
  24. }
  25. .bs-callout-danger {
  26. border-left-color: #ce4844;
  27. h4 {
  28. color: #ce4844;
  29. }
  30. }
  31. .bs-callout-warning {
  32. border-left-color: #aa6708;
  33. h4 {
  34. color: #aa6708;
  35. }
  36. }
  37. .bs-callout-info {
  38. border-left-color: #1b809e;
  39. h4 {
  40. color: #1b809e;
  41. }
  42. }