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

_videolayout_default.scss 11KB

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