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

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