Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

_videolayout_default.scss 12KB

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