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

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