您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

_videolayout_default.scss 11KB

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