index.less 901 B

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