index.module.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. .drag-wrapper-draggable {
  2. transform: translate(0px, 0px);
  3. position: fixed;
  4. right: 0px;
  5. top: var(--layoutTopHeight, 64px);
  6. width: 100%;
  7. z-index: 99;
  8. &.draggleClose {
  9. display: none;
  10. opacity: 0;
  11. }
  12. }
  13. .guideSection {
  14. position: absolute;
  15. user-select: auto;
  16. touch-action: none;
  17. // width: 400Px;
  18. // height: 621Px;
  19. display: inline-block;
  20. top: 0px;
  21. left: 0px;
  22. cursor: auto;
  23. pointer-events: all;
  24. z-index: 101;
  25. // transform: translate(354Px, 132Px);
  26. // max-width: 1024Px;
  27. box-sizing: border-box;
  28. background: #ffffff;
  29. box-shadow: -2px 5px 12px 0px rgba(0, 0, 0, 0.12);
  30. border: 1px solid #e8e8e8;
  31. // border-radius: 16Px;
  32. overflow: hidden;
  33. }
  34. .guideCenter {
  35. display: flex;
  36. flex-direction: column;
  37. height: 100%;
  38. }
  39. .guideTitle {
  40. // border-radius: 16Px 16Px 0 0;
  41. cursor: move;
  42. background: #f7f8fa;
  43. padding: 16px 24px;
  44. display: flex;
  45. align-items: center;
  46. justify-content: space-between;
  47. pointer-events: auto;
  48. .name {
  49. font-weight: 600;
  50. font-size: 16px;
  51. color: #131415;
  52. line-height: 22px;
  53. cursor: pointer;
  54. display: flex;
  55. align-items: center;
  56. .back {
  57. display: inline-block;
  58. width: 14px;
  59. height: 14px;
  60. background: url('./images/arrow-line-left.png') no-repeat center;
  61. background-size: contain;
  62. margin-right: 8px;
  63. }
  64. }
  65. .operation {
  66. display: flex;
  67. align-items: center;
  68. i {
  69. width: 22px;
  70. height: 22px;
  71. margin-left: 12px;
  72. cursor: pointer;
  73. }
  74. .screen {
  75. background: url('./images/screen.png') no-repeat center;
  76. background-size: contain;
  77. }
  78. .screenSmall {
  79. background: url('./images/screen-small.png') no-repeat center;
  80. background-size: contain;
  81. }
  82. .resize {
  83. background: url('./images/resize.png') no-repeat center;
  84. background-size: contain;
  85. }
  86. .resizeLarge {
  87. background: url('./images/resize-large.png') no-repeat center;
  88. background-size: contain;
  89. }
  90. .close {
  91. background: url('./images/close.png') no-repeat center;
  92. background-size: contain;
  93. }
  94. }
  95. }
  96. .container {
  97. display: flex;
  98. box-sizing: border-box;
  99. height: calc(100% - 54px);
  100. &.windowContainer {
  101. .leftGuide {
  102. width: 300px;
  103. padding-right: 16px;
  104. position: sticky !important;
  105. top: 0;
  106. position: relative;
  107. > div {
  108. overflow-y: auto;
  109. &::-webkit-scrollbar {
  110. display: none;
  111. }
  112. height: 100%;
  113. &::before {
  114. position: absolute;
  115. right: 0;
  116. top: 0;
  117. bottom: 0;
  118. content: ' ';
  119. display: inline-block;
  120. border-left: 1px solid #e8e8e8;
  121. }
  122. }
  123. }
  124. .rightGuide {
  125. width: auto;
  126. flex: 1;
  127. padding-left: 16px;
  128. }
  129. }
  130. .leftGuide,
  131. .rightGuide {
  132. padding-left: 24px;
  133. padding-right: 24px;
  134. height: 100%;
  135. overflow-y: auto;
  136. }
  137. }
  138. .searchContainer {
  139. background-color: #fff;
  140. position: sticky;
  141. top: 0;
  142. left: 0;
  143. padding: 16px 0;
  144. z-index: 1;
  145. // :global {
  146. // .TheSearch {
  147. // border-radius: 6Px !important;
  148. // }
  149. // }
  150. }
  151. .leftGuide {
  152. width: 100%;
  153. :global {
  154. .n-collapse {
  155. --n-title-font-weight: 600 !important;
  156. --n-title-font-size: 16px !important;
  157. --n-title-text-color: #131415 !important;
  158. }
  159. .n-collapse-item {
  160. border-top: none !important;
  161. margin-top: 0;
  162. .n-collapse-item__header {
  163. padding: 12px 0;
  164. }
  165. }
  166. // .n-collapse .n-collapse-item:not(:first-child)
  167. .n-collapse-item__header-main {
  168. line-height: 22px;
  169. }
  170. .n-collapse-item__content-inner {
  171. padding-top: 0 !important;
  172. }
  173. }
  174. .arrow {
  175. width: 16px;
  176. height: 16px;
  177. }
  178. .childItem {
  179. padding: 10px 20px 10px 40px;
  180. font-size: 14px;
  181. color: #333333;
  182. line-height: 20px;
  183. // margin-top: 8Px;
  184. margin-bottom: 6px;
  185. cursor: pointer;
  186. overflow: hidden;
  187. text-overflow: ellipsis;
  188. white-space: nowrap;
  189. &:hover,
  190. &.active {
  191. color: #097bec;
  192. background: #e8f4ff;
  193. border-radius: 6px;
  194. }
  195. }
  196. .emptyDiv {
  197. height: 80%;
  198. }
  199. }
  200. .rightGuide {
  201. word-break: break-all;
  202. width: 100%;
  203. padding: 12px 0;
  204. :global {
  205. .n-spin-container {
  206. height: 100%;
  207. }
  208. .n-space {
  209. font-size: 0;
  210. }
  211. video,
  212. img {
  213. max-width: 100%;
  214. cursor: pointer;
  215. }
  216. .videoSection {
  217. position: relative;
  218. display: inline-block;
  219. &::before {
  220. content: '';
  221. display: inline-block;
  222. width: 50px;
  223. height: 50px;
  224. background: url('./images/video-center.png') no-repeat center;
  225. background-size: contain;
  226. position: absolute;
  227. top: 50%;
  228. left: 50%;
  229. // transform: translate(-50%);
  230. margin-left: -25px;
  231. margin-top: -25px;
  232. pointer-events: none;
  233. }
  234. }
  235. }
  236. }
  237. .videoModal {
  238. position: absolute;
  239. user-select: auto;
  240. touch-action: none;
  241. // width: 400Px;
  242. // height: 621Px;
  243. // display: flex;
  244. top: 0px;
  245. left: 0px;
  246. cursor: auto;
  247. pointer-events: all;
  248. z-index: 101;
  249. // transform: translate(354Px, 132Px);
  250. // max-width: 1024Px;
  251. box-sizing: border-box;
  252. background: #ffffff;
  253. box-shadow: -2px 5px 12px 0px rgba(0, 0, 0, 0.12);
  254. // border: 1px solid #e8e8e8;
  255. border-radius: 12px !important;
  256. overflow: hidden !important;
  257. display: flex;
  258. flex-direction: column;
  259. :global {
  260. .videoWrapModal {
  261. height: 100% !important;
  262. }
  263. }
  264. }