index.less 1.5 KB

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