index.module.less 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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. transition: .2s ease;
  74. &:hover {
  75. background-color: rgba(34, 71, 133, 0.08);
  76. border-radius: 4px;
  77. transition: .2s ease;
  78. }
  79. }
  80. .screen {
  81. background: url('./images/screen.png') no-repeat center;
  82. background-size: contain;
  83. }
  84. .screenSmall {
  85. background: url('./images/screen-small.png') no-repeat center;
  86. background-size: contain;
  87. }
  88. .resize {
  89. background: url('./images/resize.png') no-repeat center;
  90. background-size: contain;
  91. }
  92. .resizeLarge {
  93. background: url('./images/resize-large.png') no-repeat center;
  94. background-size: contain;
  95. }
  96. .close {
  97. background: url('./images/close.png') no-repeat center;
  98. background-size: contain;
  99. }
  100. }
  101. }
  102. .container {
  103. display: flex;
  104. box-sizing: border-box;
  105. height: calc(100% - 54px);
  106. &.windowContainer {
  107. .leftGuide {
  108. width: 300px;
  109. padding-right: 16px;
  110. position: sticky !important;
  111. top: 0;
  112. position: relative;
  113. > div {
  114. overflow-y: auto;
  115. &::-webkit-scrollbar {
  116. display: none;
  117. }
  118. height: 100%;
  119. &::before {
  120. position: absolute;
  121. right: 0;
  122. top: 0;
  123. bottom: 0;
  124. content: ' ';
  125. display: inline-block;
  126. border-left: 1px solid #e8e8e8;
  127. }
  128. }
  129. }
  130. .rightGuide {
  131. width: auto;
  132. flex: 1;
  133. padding-left: 16px;
  134. }
  135. }
  136. .leftGuide,
  137. .rightGuide {
  138. padding-left: 24px;
  139. padding-right: 24px;
  140. height: 100%;
  141. overflow-y: auto;
  142. }
  143. }
  144. .searchContainer {
  145. background-color: #fff;
  146. position: sticky;
  147. top: 0;
  148. left: 0;
  149. padding: 16px 0;
  150. z-index: 1;
  151. // :global {
  152. // .TheSearch {
  153. // border-radius: 6Px !important;
  154. // }
  155. // }
  156. }
  157. .leftGuide {
  158. width: 100%;
  159. :global {
  160. .n-collapse {
  161. --n-title-font-weight: 600 !important;
  162. --n-title-font-size: 16px !important;
  163. --n-title-text-color: #131415 !important;
  164. }
  165. .n-collapse-item {
  166. border-top: none !important;
  167. margin-top: 0;
  168. .n-collapse-item__header {
  169. padding: 12px 0;
  170. &:hover .n-collapse-item__header-main {
  171. color: #097bec !important;
  172. }
  173. }
  174. }
  175. // .n-collapse .n-collapse-item:not(:first-child)
  176. .n-collapse-item__header-main {
  177. line-height: 22px;
  178. }
  179. .n-collapse-item__content-inner {
  180. padding-top: 0 !important;
  181. }
  182. }
  183. .arrow {
  184. width: 16px;
  185. height: 16px;
  186. }
  187. .childItem {
  188. padding: 10px 20px 10px 40px;
  189. font-size: 14px;
  190. color: #333333;
  191. line-height: 20px;
  192. // margin-top: 8Px;
  193. margin-bottom: 6px;
  194. cursor: pointer;
  195. overflow: hidden;
  196. text-overflow: ellipsis;
  197. white-space: nowrap;
  198. &:hover,
  199. &.active {
  200. color: #097bec;
  201. background: #e8f4ff;
  202. border-radius: 6px;
  203. }
  204. }
  205. .emptyDiv {
  206. height: 80%;
  207. }
  208. }
  209. .rightGuide {
  210. word-break: break-all;
  211. width: 100%;
  212. padding: 12px 0;
  213. :global {
  214. .n-spin-container {
  215. height: 100%;
  216. }
  217. .n-space {
  218. font-size: 0;
  219. }
  220. video,
  221. img {
  222. max-width: 100%;
  223. cursor: pointer;
  224. }
  225. .videoSection {
  226. position: relative;
  227. display: inline-block;
  228. &::before {
  229. content: '';
  230. display: inline-block;
  231. width: 50px;
  232. height: 50px;
  233. background: url('./images/video-center.png') no-repeat center;
  234. background-size: contain;
  235. position: absolute;
  236. top: 50%;
  237. left: 50%;
  238. // transform: translate(-50%);
  239. margin-left: -25px;
  240. margin-top: -25px;
  241. pointer-events: none;
  242. }
  243. }
  244. }
  245. }
  246. .videoModal {
  247. position: absolute;
  248. user-select: auto;
  249. touch-action: none;
  250. // width: 400Px;
  251. // height: 621Px;
  252. // display: flex;
  253. top: 0px;
  254. left: 0px;
  255. cursor: auto;
  256. pointer-events: all;
  257. z-index: 101;
  258. // transform: translate(354Px, 132Px);
  259. // max-width: 1024Px;
  260. box-sizing: border-box;
  261. background: #ffffff;
  262. box-shadow: -2px 5px 12px 0px rgba(0, 0, 0, 0.12);
  263. // border: 1px solid #e8e8e8;
  264. border-radius: 12px !important;
  265. overflow: hidden !important;
  266. display: flex;
  267. flex-direction: column;
  268. :global {
  269. .videoWrapModal {
  270. height: 100% !important;
  271. }
  272. }
  273. }