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 12KB

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