activeDiv.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /* 拖拽相关样式 */
  2. /*包围div样式*/
  3. .box {
  4. display: flex;
  5. justify-content: space-around;
  6. width: 100%;
  7. // height: 100%;
  8. // margin: 10px 0px;
  9. overflow: auto;
  10. box-shadow: -1px 9px 10px 3px rgba(0, 0, 0, 0.11);
  11. }
  12. /*左侧div样式*/
  13. .left {
  14. // width: calc(32% - 10px);
  15. height: 100%;
  16. background: #FFFFFF;
  17. // float: left;
  18. }
  19. /*拖拽区div样式*/
  20. .resize {
  21. cursor: col-resize;
  22. // float: left;
  23. // position: relative;
  24. // top: 45%;
  25. display: flex;
  26. flex-direction: column;
  27. justify-content: center;
  28. // padding-top: 25%;
  29. background-color: #d6d6d6;
  30. /*z-index: 99999;*/
  31. font-size: 32px;
  32. color: white;
  33. div{
  34. background-size: cover;
  35. background-position: center;
  36. border-radius: 5px;
  37. width: 10px;
  38. height: 50px;
  39. }
  40. }
  41. /*右侧div'样式*/
  42. .mid {
  43. // float: left;
  44. // width: 68%;
  45. // height: 100%;
  46. background: #fff;
  47. box-shadow: -1px 4px 5px 3px rgba(0, 0, 0, 0.11);
  48. }
  49. .box1{
  50. width: 100%;
  51. // height: 100%;
  52. }
  53. /*拖拽区div样式*/
  54. .resize1 {
  55. cursor: col-resize;
  56. // position: relative;
  57. // top: 45%;
  58. // background-color: #d6d6d6;
  59. background-color: rgba(50, 50, 50, 0.3);
  60. // border-radius: 5px;
  61. margin: -10px 5px;
  62. width: 10px;
  63. // height: 100%;
  64. background-size: cover;
  65. background-position: center;
  66. /*z-index: 99999;*/
  67. font-size: 32px;
  68. color: white;
  69. span{
  70. position: relative;
  71. top: 45%;
  72. border-radius: 5px;
  73. background-color: #d6d6d6;
  74. height: 50px;
  75. display: flex;
  76. flex-direction: column;
  77. color: white;
  78. }
  79. span:hover{
  80. color: #444444;
  81. }
  82. }
  83. .resize2 {
  84. cursor: row-resize;
  85. // position: relative;
  86. // top: 45%;
  87. // background-color: #d6d6d6;
  88. background-color: rgba(50, 50, 50, 0.3);
  89. // border-radius: 5px;
  90. margin: 5px 0;
  91. width: 100%;
  92. height: 10px;
  93. background-size: cover;
  94. background-position: center;
  95. /*z-index: 99999;*/
  96. font-size: 20px;
  97. color: white;
  98. p{
  99. // position: relative;
  100. // top: 45%;
  101. margin:0 auto;
  102. border-radius: 5px;
  103. background-color: #d6d6d6;
  104. width: 50px;
  105. height: 10px;
  106. // color: white;
  107. text-align: center;
  108. // display: flex;
  109. span{
  110. margin-right:5px
  111. }
  112. }
  113. p:hover{
  114. color: #444444;
  115. }
  116. }
  117. /*拖拽区鼠标悬停样式*/
  118. .resize:hover {
  119. color: #444444;
  120. }