comment.less 4.2 KB

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