alert.less 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @import "var";
  2. .alert{
  3. padding: .6em 1.5em;
  4. margin-bottom: 10px;
  5. i{
  6. margin-right: 8px;
  7. }
  8. }
  9. .alert-radius{
  10. border-radius: .25em;
  11. }
  12. .alert-red{
  13. color: @alertRedColor;
  14. border: 1px solid darken(@alertRedColor,10%);
  15. background-color: lighten(@alertRedColor,40%);
  16. }
  17. .alert-blue{
  18. color: @alertBlueColor;
  19. border: 1px solid darken(@alertBlueColor,10%);
  20. background-color: lighten(@alertBlueColor,45%);
  21. }
  22. .alert-green{
  23. color: @alertGreenColor;
  24. border: 1px solid darken(@alertGreenColor,10%);
  25. background-color: lighten(@alertGreenColor,45%);
  26. }
  27. .alert-gray{
  28. color: @alertGrayColor;
  29. border: 1px solid darken(@alertGrayColor,10%);
  30. background-color: lighten(@alertGrayColor,35%);
  31. }
  32. .alert-orange{
  33. color: @alertOrangeColor;
  34. border: 1px solid darken(@alertOrangeColor,10%);
  35. background-color: lighten(@alertOrangeColor,45%);
  36. }
  37. .white-popup-block {
  38. background: #FFF;
  39. padding: 20px 30px;
  40. text-align: left;
  41. max-width: 650px;
  42. margin: 40px auto;
  43. position: relative;
  44. p {
  45. font-size: 14px;
  46. }
  47. }