comment.less 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. @import '../theme.less';
  2. @{theme-deepblue} {
  3. .video-parent {
  4. --image-camera_bg: url('/@/assets/images/themify/deepblue/vent/camera_bg.png');
  5. }
  6. #LivePlayerBox {
  7. --image-camera_bg: url('/@/assets/images/themify/deepblue/vent/camera_bg.png');
  8. }
  9. }
  10. /*公共*/
  11. .vent-flex-row {
  12. display: flex;
  13. align-items: center;
  14. }
  15. .vent-flex-row-between {
  16. display: flex;
  17. align-items: center;
  18. justify-content: space-between;
  19. }
  20. .vent-flex-row-wrap {
  21. display: flex;
  22. flex-wrap: wrap;
  23. }
  24. .vent-row-center {
  25. display: flex;
  26. justify-content: center;
  27. align-items: center;
  28. }
  29. .vent-column-center {
  30. display: flex;
  31. flex-direction: column;
  32. justify-content: center;
  33. align-items: center;
  34. }
  35. .vent-right {
  36. text-align: right;
  37. }
  38. .vent-margin-b-20 {
  39. margin-bottom: 20px;
  40. }
  41. .vent-margin-b-10 {
  42. margin-bottom: 10px;
  43. }
  44. .vent-margin-b-5 {
  45. margin-bottom: 5px;
  46. }
  47. .vent-margin-t-20 {
  48. margin-top: 20px !important;
  49. }
  50. .vent-margin-t-15 {
  51. margin-top: 15px !important;
  52. }
  53. .vent-margin-t-10 {
  54. margin-top: 10px;
  55. }
  56. .vent-margin-l-5 {
  57. margin-left: 5px;
  58. }
  59. .vent-margin-l-8 {
  60. margin-left: 8px;
  61. }
  62. .vent-margin-l-10 {
  63. margin-left: 10px;
  64. }
  65. .vent-margin-l-15 {
  66. margin-left: 15px;
  67. }
  68. .vent-margin-l-20 {
  69. margin-left: 20px;
  70. }
  71. .vent-margin-r-8 {
  72. margin-right: 8px;
  73. }
  74. .vent-margin-r-10 {
  75. margin-right: 10px;
  76. }
  77. .vent-margin-r-5 {
  78. margin-right: 5px;
  79. }
  80. .vent-padding-lr-5 {
  81. padding: 0 5px;
  82. }
  83. .vent-padding-lr-10 {
  84. padding: 0 10px;
  85. }
  86. .table-action-link {
  87. color: @vent-table-action-link;
  88. padding: 0 5px;
  89. }
  90. .signal-round {
  91. display: inline-block;
  92. width: 8px;
  93. height: 8px;
  94. border-radius: 50%;
  95. // margin: 0 10px;
  96. position: relative;
  97. &::after {
  98. display: block;
  99. content: '';
  100. position: absolute;
  101. width: 12px;
  102. height: 12px;
  103. top: -2px;
  104. left: -2px;
  105. border-radius: 50%;
  106. }
  107. }
  108. .signal-round-gry {
  109. background-color: #858585;
  110. &::after {
  111. background-color: #85858544;
  112. box-shadow: 0 0 1px 1px #85858599;
  113. }
  114. }
  115. .signal-round-run {
  116. background-color: #67fc00;
  117. &::after {
  118. background-color: #67fc0044;
  119. box-shadow: 0 0 1px 1px #c6ff77;
  120. }
  121. }
  122. .signal-round-blue {
  123. background-color: #00ffe1;
  124. &::after {
  125. background-color: #00b2de66;
  126. box-shadow: 0 0 1px 1px rgba(105, 238, 255, 0.3);
  127. }
  128. }
  129. .signal-round-warning {
  130. background-color: #e9170b;
  131. &::after {
  132. background-color: #e9170b44;
  133. box-shadow: 0 0 1px 1px #e9170b;
  134. }
  135. }
  136. .vent-breathe-zc {
  137. display: inline-block;
  138. position: relative;
  139. width: 14px;
  140. height: 14px;
  141. line-height: 14px;
  142. border: 1px solid #008000;
  143. border-radius: 10px;
  144. color: @vent-font-color;
  145. font-size: 20px;
  146. text-align: center;
  147. cursor: pointer;
  148. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  149. overflow: hidden;
  150. background-color: #00ff00;
  151. animation: ease-in-out breathe 500ms infinite alternate;
  152. }
  153. .vent-breathe-yc {
  154. position: relative;
  155. width: 14px;
  156. height: 14px;
  157. line-height: 14px;
  158. border: 1px solid #008000;
  159. border-radius: 10px;
  160. color: @vent-font-color;
  161. font-size: 20px;
  162. text-align: center;
  163. cursor: pointer;
  164. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  165. overflow: hidden;
  166. background-color: #ff0000;
  167. animation: ease-in-out breathe 100ms infinite alternate;
  168. }
  169. // 视频样式
  170. .video-parent {
  171. --image-camera_bg: url('/@/assets/images/vent/camera_bg.png');
  172. margin-top: 10px;
  173. position: relative;
  174. // width: 314px;
  175. // height: 208px;
  176. // width: 614px;
  177. // height: 508px;
  178. background: var(--image-camera_bg);
  179. background-size: cover;
  180. padding: 10px;
  181. .rtspVideo {
  182. border: 1px solid #ffffff22;
  183. height: 180px;
  184. width: 320px;
  185. }
  186. .video-name {
  187. font-size: 14px;
  188. position: absolute;
  189. top: 25px;
  190. right: 35px;
  191. color: @vent-font-color;
  192. background-color: hsla(0, 0%, 50%, 0.5);
  193. border-radius: 2px;
  194. padding: 1px 5px;
  195. max-width: 120px;
  196. overflow: hidden;
  197. white-space: nowrap;
  198. text-overflow: ellipsis;
  199. }
  200. }
  201. #LivePlayerBox {
  202. --image-camera_bg: url('/@/assets/images/vent/camera_bg.png');
  203. width: 100%;
  204. height: 100%;
  205. // height: 208px;
  206. position: relative;
  207. display: flex;
  208. flex-direction: column;
  209. .liveVideo {
  210. pointer-events: auto !important;
  211. width: 460px !important;
  212. height: 269px !important;
  213. padding: 10px;
  214. background: var(--image-camera_bg);
  215. background-size: cover;
  216. align-self: flex-end;
  217. // .player {
  218. // width: 314px;
  219. // height: 208px;
  220. // padding: 10px;
  221. // background: url('/@/assets/images/vent/camera_bg.png');
  222. // background-size: cover;
  223. // }
  224. }
  225. }
  226. @keyframes breathe {
  227. 0% {
  228. opacity: 0.2;
  229. box-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
  230. }
  231. 100% {
  232. opacity: 1;
  233. border: 1px solid rgba(59, 235, 235, 1);
  234. box-shadow: 0 1px 30px rgba(59, 255, 255, 1);
  235. }
  236. }