alerts.less 512 B

12345678910111213141516171819202122232425
  1. /*
  2. Component: alert
  3. ------------------------
  4. */
  5. .alert {
  6. //Add padding to allow the icon to appear
  7. padding-left: 30px;
  8. margin-left: 15px;
  9. position: relative;
  10. //Make icons float to the left corner
  11. > .fa, > .glyphicon {
  12. position: absolute;
  13. left: -15px;
  14. top: -15px;
  15. width: 35px;
  16. height: 35px;
  17. .border-radius(50%);
  18. line-height: 35px;
  19. text-align: center;
  20. background: inherit;
  21. border: inherit;
  22. }
  23. }