index.less 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. padding-bottom: 20px;
  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. .closeImg{
  39. cursor: pointer;
  40. position: absolute;
  41. top: 10px;
  42. right: 10px;
  43. z-index: 100;
  44. }
  45. .button {
  46. position: fixed;
  47. bottom: 75px;
  48. left: 50%;
  49. margin-left: 280px;
  50. span{
  51. display: inline-block;
  52. width: 80px;
  53. height: 34px;
  54. background: #3B9ED0;
  55. font-size: 14px;
  56. color: #FFFFFF;
  57. font-size: 14px;
  58. text-align: center;
  59. line-height: 34px;
  60. border-radius: 4px;
  61. cursor: pointer;
  62. }
  63. }
  64. }