index.less 843 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @import "~@less/variables.less";
  2. .container {
  3. .maskZIndex;
  4. position: relative;
  5. .shade {
  6. position: fixed;
  7. left: 0;
  8. top: 0;
  9. right: 0;
  10. bottom: 0;
  11. background-color: #000;
  12. opacity: 0.6;
  13. filter:alpha(opacity=60);
  14. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  15. }
  16. .modal {
  17. width: 820px;
  18. background: #fff;
  19. position: fixed;
  20. left: 50%;
  21. margin-left: -410px;
  22. top: 7%;
  23. bottom: 7%;
  24. height: 86%;
  25. overflow: hidden;
  26. padding-bottom: 20px;
  27. padding-top: 45px;
  28. }
  29. .close {
  30. padding: 0 15px;
  31. height: 45px;
  32. line-height: 45px;
  33. border-bottom: 1px solid #EAEDF1;
  34. position: absolute;
  35. width: 100%;
  36. top: 0;
  37. }
  38. img.closeImg{
  39. cursor: pointer;
  40. position: absolute;
  41. right: 10px;
  42. top: 10px;
  43. z-index: 100;
  44. }
  45. }