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

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