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

_videolayout_default.scss 10KB

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