index.less 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. }
  20. .icon{
  21. vertical-align: text-top;
  22. margin-right: 2px;
  23. }
  24. .modal-close {
  25. position: absolute;
  26. right: 0px;
  27. top: 2px;
  28. width: 40px;
  29. height: 40px;
  30. cursor: pointer;
  31. }
  32. .modal-content {
  33. width: 100%;
  34. padding: 0 10px;
  35. }
  36. .modal-operator {
  37. width: 100%;
  38. height: 70px;
  39. }
  40. .modal-btn-box {
  41. width: 50%;
  42. float: left;
  43. text-align: center;
  44. }
  45. .modal-operator-close, .modal-operator-confirm {
  46. .btnCom;
  47. width: 100px;
  48. margin: auto;
  49. height: 34px;
  50. line-height: 32px;
  51. opacity: 1;
  52. color: #fff;
  53. border: 1px solid #78bddd;
  54. }
  55. .modal-operator-confirm {
  56. background: #78bddd;
  57. }
  58. .modal-operator-close{
  59. background: #fff;
  60. color: #78bddd;
  61. }
  62. .modal-operator-close:active, .modal-operator-confirm:active {
  63. opacity: .6;
  64. filter:alpha(opacity=60);
  65. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  66. transition: opacity .3s;
  67. }
  68. .mask {
  69. .maskZIndex;
  70. position: fixed;
  71. top: 0;
  72. left: 0;
  73. right: 0;
  74. bottom: 0;
  75. background: #000;
  76. opacity: .6;
  77. filter:alpha(opacity=60);
  78. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  79. }