index.less 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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-top: 45px;
  27. }
  28. .close {
  29. padding: 0 15px;
  30. height: 45px;
  31. line-height: 45px;
  32. border-bottom: 1px solid #EAEDF1;
  33. position: absolute;
  34. width: 100%;
  35. top: 0;
  36. }
  37. img{
  38. cursor: pointer;
  39. position: absolute;
  40. top: 10px;
  41. right: 10px;
  42. z-index: 100;
  43. }
  44. .button {
  45. position: fixed;
  46. bottom: 75px;
  47. left: 50%;
  48. margin-left: 280px;
  49. span{
  50. display: inline-block;
  51. width: 80px;
  52. height: 34px;
  53. background: #3B9ED0;
  54. font-size: 14px;
  55. color: #FFFFFF;
  56. font-size: 14px;
  57. text-align: center;
  58. line-height: 34px;
  59. border-radius: 4px;
  60. cursor: pointer;
  61. }
  62. }
  63. }