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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  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-top: 7px;
  277. z-index: $zindex3;
  278. width: 18px;
  279. height: 13px;
  280. color: #FFF;
  281. font-size: 10pt;
  282. >i{
  283. cursor: hand;
  284. }
  285. }
  286. /**
  287. * Audio indicator on video thumbnails.
  288. */
  289. .videocontainer>span.audioindicator,
  290. .videocontainer>.audioindicator-container {
  291. position: absolute;
  292. display: inline-block;
  293. left: 6px;
  294. top: 50%;
  295. margin-top: -17px;
  296. width: 6px;
  297. height: 35px;
  298. z-index: $zindex2;
  299. border: none;
  300. .audiodot-top,
  301. .audiodot-bottom,
  302. .audiodot-middle {
  303. opacity: 0;
  304. display: inline-block;
  305. @include circle(5px);
  306. background: $audioLevelShadow;
  307. margin: 1px 0 1px 0;
  308. transition: opacity .25s ease-in-out;
  309. -moz-transition: opacity .25s ease-in-out;
  310. }
  311. span.audiodot-top::after,
  312. span.audiodot-bottom::after,
  313. span.audiodot-middle::after {
  314. content: "";
  315. display: inline-block;
  316. width: 5px;
  317. height: 5px;
  318. border-radius: 50%;
  319. -webkit-filter: blur(0.5px);
  320. filter: blur(0.5px);
  321. background: $audioLevelBg;
  322. }
  323. }
  324. #reloadPresentation {
  325. display: none;
  326. position: absolute;
  327. color: #FFFFFF;
  328. top: 0;
  329. right:0;
  330. padding: 10px 10px;
  331. font-size: 11pt;
  332. cursor: pointer;
  333. background: rgba(0, 0, 0, 0.3);
  334. border-radius: 5px;
  335. background-clip: padding-box;
  336. -webkit-border-radius: 5px;
  337. -webkit-background-clip: padding-box;
  338. z-index: $reloadZ; /*The reload button should appear on top of the header!*/
  339. }
  340. .audiolevel {
  341. display: inline-block;
  342. position: absolute;
  343. z-index: $zindex0;
  344. border-radius:1px;
  345. pointer-events: none;
  346. }
  347. #dominantSpeaker {
  348. visibility: hidden;
  349. width: 300px;
  350. height: 300px;
  351. margin: auto;
  352. position: relative;
  353. }
  354. #mixedstream {
  355. display:none !important;
  356. }
  357. #dominantSpeakerAvatar,
  358. .dynamic-shadow {
  359. width: 200px;
  360. height: 200px;
  361. }
  362. #dominantSpeakerAvatar {
  363. top: 50px;
  364. margin: auto;
  365. position: relative;
  366. border-radius: 100px;
  367. visibility: inherit;
  368. background-color: #000000;
  369. }
  370. .dynamic-shadow {
  371. border-radius: 50%;
  372. position: absolute;
  373. top: 50%;
  374. left: 50%;
  375. margin: -100px 0 0 -100px;
  376. transition: box-shadow 0.3s ease;
  377. }
  378. .userAvatar {
  379. @include maxSize(60px);
  380. @include absoluteAligning();
  381. border-radius: 50%;
  382. height: 50%;
  383. width: auto;
  384. }
  385. .sharedVideoAvatar {
  386. height: 100%;
  387. width: 100%;
  388. object-fit: cover;
  389. }
  390. .noMic {
  391. position: absolute;
  392. border-radius: 8px;
  393. z-index: $zindex1;
  394. width: 100%;
  395. height: 100%;
  396. background-image: url("../images/noMic.png");
  397. background-color: #000;
  398. background-repeat: no-repeat;
  399. background-position: center;
  400. }
  401. .noVideo {
  402. position: absolute;
  403. border-radius: 8px;
  404. z-index: $zindex1;
  405. width: 100%;
  406. height: 100%;
  407. background-image: url("../images/noVideo.png");
  408. background-color: #000;
  409. background-repeat: no-repeat;
  410. background-position: center;
  411. }
  412. .videoMessageFilter {
  413. -webkit-filter: grayscale(.5) opacity(0.8);
  414. filter: grayscale(.5) opacity(0.8);
  415. }
  416. .remoteVideoProblemFilter {
  417. -webkit-filter: grayscale(100%);
  418. filter: grayscale(100%);
  419. }
  420. .videoProblemFilter {
  421. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  422. filter: blur(10px) grayscale(.5) opacity(0.8);
  423. }
  424. .videoThumbnailProblemFilter {
  425. -webkit-filter: grayscale(100%);
  426. filter: grayscale(100%);
  427. }
  428. #remotePresenceMessage,
  429. #remoteConnectionMessage {
  430. position: absolute;
  431. width: auto;
  432. z-index: $zindex2;
  433. font-weight: 600;
  434. font-size: 14px;
  435. text-align: center;
  436. color: #FFF;
  437. left: 50%;
  438. transform: translate(-50%, 0);
  439. }
  440. #remotePresenceMessage .presence-label,
  441. #remoteConnectionMessage {
  442. opacity: .80;
  443. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  444. 0px 1px 1px rgba(0,0,0,0.3),
  445. 1px 0px 1px rgba(0,0,0,0.3),
  446. 0px 0px 1px rgba(0,0,0,0.3);
  447. background: rgba(0,0,0,.5);
  448. border-radius: 5px;
  449. padding: 5px;
  450. padding-left: 10px;
  451. padding-right: 10px;
  452. }
  453. #remotePresenceMessage .no-presence,
  454. #remoteConnectionMessage {
  455. display: none;
  456. }
  457. #localConnectionMessage {
  458. display: none;
  459. position: absolute;
  460. left: 0;
  461. width: 100%;
  462. top:50%;
  463. z-index: $zindex2;
  464. font-weight: 600;
  465. font-size: 14px;
  466. text-align: center;
  467. color: #FFF;
  468. opacity: .80;
  469. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  470. 0px 1px 1px rgba(0,0,0,0.3),
  471. 1px 0px 1px rgba(0,0,0,0.3),
  472. 0px 0px 1px rgba(0,0,0,0.3);
  473. }