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

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