You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_videolayout_default.scss 13KB

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