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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  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. position: absolute;
  282. display: inline-block;
  283. left: 6px;
  284. top: 50%;
  285. margin-top: -17px;
  286. width: 6px;
  287. height: 35px;
  288. z-index: $zindex2;
  289. border: none;
  290. .audiodot-top,
  291. .audiodot-bottom,
  292. .audiodot-middle {
  293. opacity: 0;
  294. display: inline-block;
  295. @include circle(5px);
  296. background: $audioLevelShadow;
  297. margin: 1px 0 1px 0;
  298. transition: opacity .25s ease-in-out;
  299. -moz-transition: opacity .25s ease-in-out;
  300. }
  301. span.audiodot-top::after,
  302. span.audiodot-bottom::after,
  303. span.audiodot-middle::after {
  304. content: "";
  305. display: inline-block;
  306. width: 5px;
  307. height: 5px;
  308. border-radius: 50%;
  309. -webkit-filter: blur(0.5px);
  310. filter: blur(0.5px);
  311. background: $audioLevelBg;
  312. }
  313. }
  314. #reloadPresentation {
  315. display: none;
  316. position: absolute;
  317. color: #FFFFFF;
  318. top: 0;
  319. right:0;
  320. padding: 10px 10px;
  321. font-size: 11pt;
  322. cursor: pointer;
  323. background: rgba(0, 0, 0, 0.3);
  324. border-radius: 5px;
  325. background-clip: padding-box;
  326. -webkit-border-radius: 5px;
  327. -webkit-background-clip: padding-box;
  328. z-index: $reloadZ; /*The reload button should appear on top of the header!*/
  329. }
  330. .audiolevel {
  331. display: inline-block;
  332. position: absolute;
  333. z-index: $zindex0;
  334. border-radius:1px;
  335. pointer-events: none;
  336. }
  337. #dominantSpeaker {
  338. visibility: hidden;
  339. width: 300px;
  340. height: 300px;
  341. margin: auto;
  342. position: relative;
  343. }
  344. #mixedstream {
  345. display:none !important;
  346. }
  347. #dominantSpeakerAvatar,
  348. .dynamic-shadow {
  349. width: 200px;
  350. height: 200px;
  351. }
  352. #dominantSpeakerAvatar {
  353. top: 50px;
  354. margin: auto;
  355. position: relative;
  356. border-radius: 100px;
  357. visibility: inherit;
  358. background-color: #000000;
  359. }
  360. .dynamic-shadow {
  361. border-radius: 50%;
  362. position: absolute;
  363. top: 50%;
  364. left: 50%;
  365. margin: -100px 0 0 -100px;
  366. transition: box-shadow 0.3s ease;
  367. }
  368. .userAvatar {
  369. @include maxSize(60px);
  370. @include absoluteAligning();
  371. border-radius: 50%;
  372. height: 50%;
  373. width: auto;
  374. }
  375. .sharedVideoAvatar {
  376. height: 100%;
  377. width: 100%;
  378. object-fit: cover;
  379. }
  380. .noMic {
  381. position: absolute;
  382. border-radius: 8px;
  383. z-index: $zindex1;
  384. width: 100%;
  385. height: 100%;
  386. background-image: url("../images/noMic.png");
  387. background-color: #000;
  388. background-repeat: no-repeat;
  389. background-position: center;
  390. }
  391. .noVideo {
  392. position: absolute;
  393. border-radius: 8px;
  394. z-index: $zindex1;
  395. width: 100%;
  396. height: 100%;
  397. background-image: url("../images/noVideo.png");
  398. background-color: #000;
  399. background-repeat: no-repeat;
  400. background-position: center;
  401. }
  402. .videoMessageFilter {
  403. -webkit-filter: grayscale(.5) opacity(0.8);
  404. filter: grayscale(.5) opacity(0.8);
  405. }
  406. .remoteVideoProblemFilter {
  407. -webkit-filter: grayscale(100%);
  408. filter: grayscale(100%);
  409. }
  410. .videoProblemFilter {
  411. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  412. filter: blur(10px) grayscale(.5) opacity(0.8);
  413. }
  414. .videoThumbnailProblemFilter {
  415. -webkit-filter: grayscale(100%);
  416. filter: grayscale(100%);
  417. }
  418. #remoteConnectionMessage {
  419. display: none;
  420. position: absolute;
  421. width: auto;
  422. z-index: $zindex2;
  423. font-weight: 600;
  424. font-size: 14px;
  425. text-align: center;
  426. color: #FFF;
  427. opacity: .80;
  428. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  429. 0px 1px 1px rgba(0,0,0,0.3),
  430. 1px 0px 1px rgba(0,0,0,0.3),
  431. 0px 0px 1px rgba(0,0,0,0.3);
  432. background: rgba(0,0,0,.5);
  433. border-radius: 5px;
  434. padding: 5px;
  435. padding-left: 10px;
  436. padding-right: 10px;
  437. }
  438. #localConnectionMessage {
  439. display: none;
  440. position: absolute;
  441. left: 0;
  442. width: 100%;
  443. top:50%;
  444. z-index: $zindex2;
  445. font-weight: 600;
  446. font-size: 14px;
  447. text-align: center;
  448. color: #FFF;
  449. opacity: .80;
  450. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  451. 0px 1px 1px rgba(0,0,0,0.3),
  452. 1px 0px 1px rgba(0,0,0,0.3),
  453. 0px 0px 1px rgba(0,0,0,0.3);
  454. }
  455. .filmstrip-only {
  456. #videoResolutionLabel {
  457. display: none;
  458. }
  459. }
  460. .video-state-indicator {
  461. background: $videoStateIndicatorBackground;
  462. color: $videoStateIndicatorColor;
  463. cursor: pointer;
  464. font-size: 13px;
  465. height: 40px;
  466. line-height: 20px;
  467. text-align: center;
  468. min-width: 40px;
  469. padding: 10px 5px;
  470. border-radius: 50%;
  471. position: absolute;
  472. box-sizing: border-box;
  473. i {
  474. cursor: pointer;
  475. }
  476. }
  477. #videoResolutionLabel,
  478. .centeredVideoLabel.moveToCorner {
  479. z-index: $tooltipsZ;
  480. }
  481. .centeredVideoLabel {
  482. bottom: 45%;
  483. border-radius: 2px;
  484. display: none;
  485. -webkit-transition: all 2s 2s linear;
  486. transition: all 2s 2s linear;
  487. z-index: $centeredVideoLabelZ;
  488. &.moveToCorner {
  489. bottom: auto;
  490. }
  491. }
  492. .moveToCorner {
  493. position: absolute;
  494. top: 30px;
  495. right: 30px;
  496. }
  497. .moveToCorner + .moveToCorner {
  498. right: 80px;
  499. }
  500. .video-state-indicator-menu {
  501. display: none;
  502. padding: 10px;
  503. position: absolute;
  504. right: -10px;
  505. top: 20px;
  506. .video-state-indicator-menu-options {
  507. background: $popoverBg;
  508. border-radius: 3px;
  509. color: $popoverFontColor;
  510. margin-top: 20px;
  511. padding: 5px 0;
  512. position: relative;
  513. div {
  514. cursor: pointer;
  515. padding: 10px;
  516. padding-right: 30px;
  517. text-align: left;
  518. white-space: nowrap;
  519. &.active {
  520. background: $toolbarToggleBackground;
  521. }
  522. &:hover:not(.active) {
  523. background: $popupMenuSelectedItemBackground;
  524. }
  525. i {
  526. margin-right: 5px;
  527. vertical-align: middle;
  528. }
  529. }
  530. }
  531. .video-state-indicator-menu-options::after {
  532. content: " ";
  533. border-color: transparent transparent $popoverBg transparent;
  534. border-style: solid;
  535. border-width: 5px;
  536. position: absolute;
  537. right: 15px;
  538. top: -10px;
  539. }
  540. }
  541. .video-state-indicator:hover,
  542. .video-state-indicator *:hover {
  543. background: $toolbarSelectBackground;
  544. .video-state-indicator-menu {
  545. display: block;
  546. }
  547. }