index.less 1.4 KB

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