index.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. @import "~@less/variables.less";
  2. .modal {
  3. .shade {
  4. .maskZIndex;
  5. position: fixed;
  6. top: 0;
  7. left:0;
  8. right: 0;
  9. bottom: 0;
  10. background: #000;
  11. opacity: 0.6;
  12. filter:alpha(opacity=60);
  13. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  14. }
  15. .content {
  16. .maskContentZIndex1;
  17. position: fixed;
  18. top: 50%;
  19. width: 45%;
  20. min-width: 450px;
  21. left:27%;
  22. margin-top:-265px;
  23. /*margin-left: -216px;*/
  24. min-height: 284px;
  25. background: #fff;
  26. .oper{
  27. margin: 20px 30px;
  28. p{
  29. margin-bottom: 10px;
  30. &.big-marb{
  31. margin-bottom: 20px;
  32. }
  33. span{
  34. display: inline-block;
  35. width: 140px;
  36. }
  37. }
  38. .fade{
  39. opacity: .4;
  40. }
  41. }
  42. .explain{
  43. margin: 50px 30px;
  44. /*opacity: .5;*/
  45. color: #777;
  46. p{
  47. font-size: 12px;
  48. line-height: 20px;
  49. }
  50. }
  51. .switch{
  52. text-decoration: none;
  53. color:inherit ;
  54. img{
  55. vertical-align: middle;
  56. margin: 0 12px 0 20px;
  57. }
  58. }
  59. .fade .switch{
  60. cursor: auto;
  61. }
  62. .close{
  63. line-height: 24px;
  64. padding: 8px 3px 7px 10px;
  65. border-bottom: 1px solid #EAEDF1;
  66. img{
  67. float: right;
  68. margin: 0px;
  69. cursor: pointer;
  70. }
  71. }
  72. h1{
  73. font-size: 16px;
  74. letter-spacing: 0;
  75. margin: 20px 0px 20px 10px;
  76. }
  77. ul {
  78. margin: 0px 0px 0px 10px;
  79. li {
  80. width: 190px;
  81. height: 44px;
  82. line-height: 44px;
  83. margin: 0px 0px 2px 0px;
  84. padding: 0px 0px 0px 10px;
  85. cursor: pointer;
  86. img{
  87. margin: -1px 4px 0 0;
  88. visibility: hidden;
  89. }
  90. }
  91. }
  92. .btn {
  93. text-align: center;
  94. margin-bottom: 30px;
  95. button{
  96. .btnCom;
  97. height: 34px;
  98. line-height: 32px;
  99. text-align: center;
  100. outline: none;
  101. border-radius: 4px;
  102. cursor: pointer;
  103. box-sizing: border-box;
  104. margin-left: 20px;
  105. background: @blue;
  106. color: #fff;
  107. margin-right: 20px;
  108. }
  109. }
  110. }
  111. }