您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

_videolayout_default.scss 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. #videoconference_page {
  2. min-height: 100%;
  3. }
  4. #videospace {
  5. display: block;
  6. min-height: 100%;
  7. position: absolute;
  8. top: 0px;
  9. left: 0px;
  10. right: 0px;
  11. overflow: hidden;
  12. }
  13. #remoteVideos {
  14. display: -webkit-box;
  15. display: -moz-box;
  16. display: -ms-flexbox;
  17. display: -webkit-flex;
  18. display: flex;
  19. flex-direction: row-reverse;
  20. flex-wrap: nowrap;
  21. justify-content: flex-start;
  22. position:absolute;
  23. text-align:right;
  24. height:196px;
  25. padding: 10px 10px 10px 5px;
  26. bottom: 0;
  27. left: 0;
  28. right: 0;
  29. width:auto;
  30. border: 2px solid transparent;
  31. z-index: 5;
  32. transition: bottom 2s;
  33. overflow: visible !important;
  34. font-size: 0pt; /*!!!Removes the gap between the local video container and the remote videos.*/
  35. }
  36. #remotevideos.hidden {
  37. bottom: -196px;
  38. }
  39. .videocontainer {
  40. position: relative;
  41. text-align: center;
  42. }
  43. #remoteVideos .videocontainer {
  44. display: none;
  45. position: relative;
  46. background-color: black;
  47. background-size: contain;
  48. border-radius:1px;
  49. margin: 0 $thumbnailVideoMargin;
  50. }
  51. /**
  52. * The toolbar of the video thumbnail.
  53. */
  54. .videocontainer__toolbar {
  55. position: absolute;
  56. bottom: 0;
  57. left: 0;
  58. z-index: 1;
  59. width: 100%;
  60. box-sizing: border-box; // Includes the padding in the 100% width.
  61. height: $thumbnailToolbarHeight;
  62. max-height: 100%;
  63. background-color: rgba(0, 0, 0, 0.5);
  64. padding: 0 5px 0 5px;
  65. }
  66. #remoteVideos .videocontainer.videoContainerFocused,
  67. #remoteVideos .videocontainer:hover {
  68. cursor: hand;
  69. margin-right: $thumbnailVideoMargin - 2;
  70. margin-left: $thumbnailVideoMargin - 2;
  71. margin-top: -2px;
  72. }
  73. /**
  74. * Focused video thumbnail.
  75. */
  76. #remoteVideos .videocontainer.videoContainerFocused {
  77. transition-duration: 0.5s;
  78. -webkit-transition-duration: 0.5s;
  79. -webkit-animation-name: greyPulse;
  80. -webkit-animation-duration: 2s;
  81. -webkit-animation-iteration-count: 1;
  82. border: 2px solid $videoThumbnailSelected !important;
  83. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  84. 0 0 3px $videoThumbnailSelected !important;
  85. }
  86. /**
  87. * Hovered video thumbnail.
  88. */
  89. #remoteVideos .videocontainer:hover {
  90. cursor: hand;
  91. border: 2px solid $videoThumbnailHovered;
  92. box-shadow: inset 0 0 3px $videoThumbnailHovered,
  93. 0 0 3px $videoThumbnailHovered;
  94. }
  95. #localVideoWrapper {
  96. display:inline-block;
  97. }
  98. /* With TemasysWebRTC plugin <object/> element is used
  99. instead of <video/> */
  100. #remoteVideos .videocontainer>video,
  101. #remoteVideos .videocontainer>object {
  102. cursor: hand;
  103. border-radius:1px;
  104. object-fit: cover;
  105. overflow: hidden;
  106. }
  107. .flipVideoX {
  108. transform: scale(-1, 1);
  109. -moz-transform: scale(-1, 1);
  110. -webkit-transform: scale(-1, 1);
  111. -o-transform: scale(-1, 1);
  112. }
  113. #localVideoWrapper>video,
  114. #localVideoWrapper>object {
  115. cursor: hand;
  116. border-radius:1px !important;
  117. object-fit: cover;
  118. }
  119. #largeVideo,
  120. #largeVideoWrapper,
  121. #largeVideoContainer {
  122. overflow: hidden;
  123. text-align: center;
  124. }
  125. #largeVideo,
  126. #largeVideoWrapper
  127. {
  128. object-fit: cover;
  129. }
  130. #sharedVideo,
  131. #etherpad,
  132. #localVideoWrapper>video,
  133. #localVideoWrapper>object,
  134. #localVideoWrapper,
  135. #largeVideoWrapper,
  136. #largeVideoWrapper>video,
  137. #largeVideoWrapper>object,
  138. .videocontainer>video,
  139. .videocontainer>object {
  140. position: absolute;
  141. left: 0;
  142. top: 0;
  143. z-index: 1;
  144. width: 100%;
  145. height: 100%;
  146. }
  147. #etherpad {
  148. text-align: center;
  149. }
  150. #etherpad {
  151. z-index: 0;
  152. }
  153. /**
  154. * Positions video thumbnail display name and editor.
  155. */
  156. .videocontainer .displayname,
  157. .videocontainer .editdisplayname {
  158. display: inline-block;
  159. position: absolute;
  160. left: 30%;
  161. width: 40%;
  162. color: $participantNameColor;
  163. text-align: center;
  164. text-overflow: ellipsis;
  165. font-size: 12px;
  166. font-weight: 100;
  167. letter-spacing: 1px;
  168. overflow: hidden;
  169. white-space: nowrap;
  170. line-height: $thumbnailToolbarHeight;
  171. z-index: 2;
  172. }
  173. /**
  174. * Positions video thumbnail display name editor.
  175. */
  176. .videocontainer .editdisplayname {
  177. outline: none;
  178. border: none;
  179. background: none;
  180. box-shadow: none;
  181. padding: 0;
  182. }
  183. .videocontainer>span.status {
  184. display: inline-block;
  185. position: absolute;
  186. color: #FFFFFF;
  187. background: rgba(0,0,0,.7);
  188. text-align: center;
  189. text-overflow: ellipsis;
  190. width: 70%;
  191. height: 15%;
  192. left: 15%;
  193. bottom: 2%;
  194. padding: 5px;
  195. font-size: 10pt;
  196. overflow: hidden;
  197. white-space: nowrap;
  198. z-index: 2;
  199. border-radius:3px;
  200. }
  201. .connectionindicator
  202. {
  203. display: inline-block;
  204. position: absolute;
  205. top: 7px;
  206. right: 0;
  207. padding: 0px 5px;
  208. z-index: 3;
  209. width: 18px;
  210. height: 13px;
  211. }
  212. .connection.connection_empty
  213. {
  214. color: #8B8B8B;/*#FFFFFF*/
  215. overflow: hidden;
  216. }
  217. .connection.connection_lost
  218. {
  219. color: #8B8B8B;
  220. overflow: visible;
  221. }
  222. .connection.connection_full
  223. {
  224. color: #FFFFFF;/*#15A1ED*/
  225. overflow: hidden;
  226. }
  227. .connection
  228. {
  229. position: absolute;
  230. left: 0px;
  231. top: 0px;
  232. font-size: 8pt;
  233. border: 0px;
  234. width: 18px;
  235. height: 13px;
  236. }
  237. .connection_info
  238. {
  239. float: left;
  240. padding-bottom: 5px;
  241. }
  242. .connection_info > table
  243. {
  244. white-space: nowrap;
  245. }
  246. .connection_info, .connection_info > table
  247. {
  248. text-align: left;
  249. font-size: 11px;
  250. color: #ffffff;
  251. }
  252. #localVideoContainer>span.status:hover,
  253. #localVideoContainer .displayname:hover {
  254. cursor: text;
  255. }
  256. .videocontainer>span.status,
  257. .videocontainer .displayname {
  258. pointer-events: none;
  259. }
  260. .videocontainer .editdisplayname {
  261. height: auto;
  262. }
  263. #localDisplayName {
  264. pointer-events: auto !important;
  265. }
  266. .videocontainer>a.status,
  267. .videocontainer>a.displayname {
  268. display: inline-block;
  269. position: absolute;
  270. color: #FFFFFF;
  271. bottom: 0;
  272. right: 0;
  273. padding: 3px 5px;
  274. font-size: 9pt;
  275. cursor: pointer;
  276. z-index: 2;
  277. }
  278. /**
  279. * Video thumbnail toolbar icon.
  280. */
  281. .videocontainer .toolbar-icon {
  282. font-size: 8pt;
  283. text-align: center;
  284. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  285. color: #FFFFFF;
  286. width: 12px;
  287. line-height: $thumbnailToolbarHeight;
  288. height: $thumbnailToolbarHeight;
  289. padding: 0;
  290. border: 0;
  291. margin: 0px 5px 0px 0px;
  292. float: left;
  293. }
  294. /**
  295. * Toolbar icon internal i elements (font icons).
  296. */
  297. .toolbar-icon>i {
  298. line-height: $thumbnailToolbarHeight;
  299. }
  300. /**
  301. * Toolbar icons positioned on the right.
  302. */
  303. .toolbar-icon.right {
  304. float: right;
  305. margin: 0px 0px 0px 5px;
  306. }
  307. .videocontainer>span.indicator {
  308. position: absolute;
  309. top: 0px;
  310. left: 0px;
  311. @include circle($thumbnailIndicatorSize);
  312. box-sizing: border-box;
  313. line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  314. z-index: 3;
  315. text-align: center;
  316. background: $dominantSpeakerBg;
  317. margin: 7px;
  318. display: inline-block;
  319. color: $thumbnailPictogramColor;
  320. font-size: 8pt;
  321. border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
  322. }
  323. .videocontainer>#raisehandindicator {
  324. background: $raiseHandBg;
  325. }
  326. /**
  327. * Audio indicator on video thumbnails.
  328. */
  329. .videocontainer>span.audioindicator {
  330. position: absolute;
  331. display: inline-block;
  332. left: 6px;
  333. top: 50%;
  334. margin-top: -17px;
  335. width: 6px;
  336. height: 35px;
  337. z-index: 2;
  338. border: none;
  339. .audiodot-top,
  340. .audiodot-bottom,
  341. .audiodot-middle {
  342. opacity: 0;
  343. display: inline-block;
  344. @include circle(5px);
  345. background: $audioLevelShadow;
  346. margin: 1px 0 1px 0;
  347. transition: opacity .25s ease-in-out;
  348. -moz-transition: opacity .25s ease-in-out;
  349. }
  350. span.audiodot-top::after,
  351. span.audiodot-bottom::after,
  352. span.audiodot-middle::after {
  353. content: "";
  354. display: inline-block;
  355. width: 5px;
  356. height: 5px;
  357. border-radius: 50%;
  358. -webkit-filter: blur(0.5px);
  359. filter: blur(0.5px);
  360. background: $audioLevelBg;
  361. }
  362. }
  363. #indicatoricon {
  364. width: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  365. height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  366. line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  367. }
  368. #reloadPresentation {
  369. display: none;
  370. position: absolute;
  371. color: #FFFFFF;
  372. top: 0;
  373. right:0;
  374. padding: 10px 10px;
  375. font-size: 11pt;
  376. cursor: pointer;
  377. background: rgba(0, 0, 0, 0.3);
  378. border-radius: 5px;
  379. background-clip: padding-box;
  380. -webkit-border-radius: 5px;
  381. -webkit-background-clip: padding-box;
  382. z-index: 20; /*The reload button should appear on top of the header!*/
  383. }
  384. .audiolevel {
  385. display: inline-block;
  386. position: absolute;
  387. z-index: 0;
  388. border-radius:1px;
  389. pointer-events: none;
  390. }
  391. #dominantSpeaker {
  392. visibility: hidden;
  393. width: 300px;
  394. height: 300px;
  395. margin: auto;
  396. position: relative;
  397. }
  398. #mixedstream {
  399. display:none !important;
  400. }
  401. #dominantSpeakerAvatar,
  402. .dynamic-shadow {
  403. width: 200px;
  404. height: 200px;
  405. }
  406. #dominantSpeakerAvatar {
  407. top: 50px;
  408. margin: auto;
  409. position: relative;
  410. border-radius: 100px;
  411. z-index: 3;
  412. visibility: inherit;
  413. background-color: #000000;
  414. }
  415. .dynamic-shadow {
  416. border-radius: 50%;
  417. position: absolute;
  418. top: 50%;
  419. left: 50%;
  420. margin: -100px 0 0 -100px;
  421. transition: box-shadow 0.3s ease;
  422. }
  423. .userAvatar {
  424. @include circle(60px);
  425. @include absoluteAligning(60px, 60px);
  426. }
  427. .sharedVideoAvatar {
  428. height: 100%;
  429. width: 100%;
  430. object-fit: cover;
  431. }
  432. .noMic {
  433. position: absolute;
  434. border-radius: 8px;
  435. z-index: 1;
  436. width: 100%;
  437. height: 100%;
  438. background-image: url("../images/noMic.png");
  439. background-color: #000;
  440. background-repeat: no-repeat;
  441. background-position: center;
  442. }
  443. .noVideo {
  444. position: absolute;
  445. border-radius: 8px;
  446. z-index: 1;
  447. width: 100%;
  448. height: 100%;
  449. background-image: url("../images/noVideo.png");
  450. background-color: #000;
  451. background-repeat: no-repeat;
  452. background-position: center;
  453. }
  454. .videoMessageFilter {
  455. -webkit-filter: grayscale(.5) opacity(0.8);
  456. filter: grayscale(.5) opacity(0.8);
  457. }
  458. .remoteVideoProblemFilter {
  459. -webkit-filter: grayscale(100%);
  460. filter: grayscale(100%);
  461. }
  462. .videoProblemFilter {
  463. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  464. filter: blur(10px) grayscale(.5) opacity(0.8);
  465. }
  466. .videoThumbnailProblemFilter {
  467. -webkit-filter: grayscale(100%);
  468. filter: grayscale(100%);
  469. }
  470. #remoteConnectionMessage {
  471. display: none;
  472. position: absolute;
  473. width: auto;
  474. z-index: 1011;
  475. font-weight: 600;
  476. font-size: 14px;
  477. text-align: center;
  478. color: #FFF;
  479. opacity: .80;
  480. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  481. 0px 1px 1px rgba(0,0,0,0.3),
  482. 1px 0px 1px rgba(0,0,0,0.3),
  483. 0px 0px 1px rgba(0,0,0,0.3);
  484. background: rgba(0,0,0,.5);
  485. border-radius: 5px;
  486. padding: 5px;
  487. padding-left: 10px;
  488. padding-right: 10px;
  489. }
  490. #localConnectionMessage {
  491. display: none;
  492. position: absolute;
  493. width: 100%;
  494. top:50%;
  495. z-index: 1011;
  496. font-weight: 600;
  497. font-size: 14px;
  498. text-align: center;
  499. color: #FFF;
  500. opacity: .80;
  501. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  502. 0px 1px 1px rgba(0,0,0,0.3),
  503. 1px 0px 1px rgba(0,0,0,0.3),
  504. 0px 0px 1px rgba(0,0,0,0.3);
  505. }
  506. #videoResolutionLabel {
  507. display: none;
  508. position: absolute;
  509. top: 5px;
  510. right: 5px;
  511. background: rgba(0,0,0,.5);
  512. padding: 10px;
  513. color: rgba(255,255,255,.5);
  514. z-index: 1011;
  515. }
  516. .centeredVideoLabel {
  517. display: none;
  518. position: absolute;
  519. bottom: 45%;
  520. top: auto;
  521. right: auto;
  522. left: auto;
  523. line-height: 28px;
  524. height: 28px;
  525. width: auto;
  526. padding: 5px;
  527. margin-right: auto;
  528. margin-left: auto;
  529. background: rgba(0,0,0,.5);
  530. color: #FFF;
  531. z-index: 1011;
  532. border-radius: 2px;
  533. -webkit-transition: all 2s 2s linear;
  534. transition: all 2s 2s linear;
  535. }
  536. .moveToCorner {
  537. top: 5px;
  538. right: 50px; /*leave free space for the HD label*/
  539. margin-right: 0px;
  540. margin-left: auto;
  541. background: rgba(0,0,0,.3);
  542. color: rgba(255,255,255,.5);
  543. }
  544. .hidden {
  545. }