index.less 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. @import "~@less/mixin.less";
  2. @import "~@less/variables.less";
  3. .modal {
  4. .maskContentZIndex1;
  5. position: fixed;
  6. top: 50%;
  7. left: 50%;
  8. margin: auto;
  9. border-radius: 5px;
  10. background: #fff;
  11. // overflow: hidden;
  12. }
  13. .modal-title {
  14. width: 100%;
  15. height: 46px;
  16. line-height: 46px;
  17. padding: 0 10px;
  18. background: #e5e5e5;
  19. border-radius: 5px 5px 0 0;
  20. }
  21. .icon{
  22. vertical-align: text-top;
  23. margin-right: 2px;
  24. }
  25. .modal-close {
  26. position: absolute;
  27. right: 0px;
  28. top: 2px;
  29. width: 40px;
  30. height: 40px;
  31. cursor: pointer;
  32. }
  33. .modal-content {
  34. width: 100%;
  35. padding: 0 10px;
  36. }
  37. .modal-operator {
  38. width: 100%;
  39. height: 70px;
  40. }
  41. .modal-btn-box {
  42. width: 50%;
  43. float: left;
  44. text-align: center;
  45. }
  46. .modal-operator-close, .modal-operator-confirm {
  47. .btnCom;
  48. width: 100px;
  49. margin: auto;
  50. height: 34px;
  51. line-height: 32px;
  52. opacity: 1;
  53. color: #fff;
  54. margin-top: 6px;
  55. border: 1px solid #78bddd;
  56. }
  57. .modal-operator-confirm {
  58. background: #78bddd;
  59. }
  60. .modal-operator-close{
  61. background: #fff;
  62. color: #78bddd;
  63. }
  64. .modal-operator-close:active, .modal-operator-confirm:active {
  65. opacity: .6;
  66. filter:alpha(opacity=60);
  67. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  68. transition: opacity .3s;
  69. }
  70. .mask {
  71. .maskZIndex;
  72. position: fixed;
  73. top: 0;
  74. left: 0;
  75. right: 0;
  76. bottom: 0;
  77. background: #000;
  78. opacity: .6;
  79. filter:alpha(opacity=60);
  80. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  81. }