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

_videolayout_default.scss 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. #videoconference_page {
  2. min-height: 100%;
  3. }
  4. #videospace {
  5. display: block;
  6. height: 100%;
  7. width: 100%;
  8. min-height: 100%;
  9. position: absolute;
  10. top: 0px;
  11. left: 0px;
  12. right: 0px;
  13. overflow: hidden;
  14. }
  15. #largeVideoBackgroundContainer,
  16. .large-video-background {
  17. height: 100%;
  18. left: 0;
  19. overflow: hidden;
  20. position: absolute;
  21. top: 0;
  22. width: 100%;
  23. #largeVideoBackground {
  24. min-height: 100%;
  25. min-width: 100%;
  26. }
  27. }
  28. #largeVideoBackgroundContainer {
  29. filter: blur(40px);
  30. }
  31. .videocontainer {
  32. position: relative;
  33. text-align: center;
  34. &__background {
  35. @include topLeft();
  36. background-color: black;
  37. border-radius: $borderRadius;
  38. width: 100%;
  39. height: 100%;
  40. }
  41. /**
  42. * The toolbar of the video thumbnail.
  43. */
  44. &__toolbar,
  45. &__toptoolbar {
  46. position: absolute;
  47. left: 0;
  48. pointer-events: none;
  49. z-index: $zindex10;
  50. width: 100%;
  51. box-sizing: border-box; // Includes the padding in the 100% width.
  52. /**
  53. * FIXME (lenny): Disabling pointer-events is a pretty big sin that
  54. * sidesteps the problems. There are z-index wars occurring within
  55. * videocontainer and AtlasKit Tooltips rely on their parent z-indexe
  56. * being higher than whatever they need to appear over. So set a higher
  57. * z-index for the tooltip containers but make any empty space not block
  58. * mouse overs for various mouseover triggers.
  59. */
  60. pointer-events: none;
  61. * {
  62. pointer-events: auto;
  63. }
  64. .indicator-container {
  65. display: inline-block;
  66. float: left;
  67. pointer-events: all;
  68. }
  69. }
  70. &__toolbar {
  71. bottom: 0;
  72. height: $thumbnailToolbarHeight;
  73. padding: 0 5px 0 5px;
  74. }
  75. &__toptoolbar {
  76. $toolbarIconMargin: 5px;
  77. top: 0;
  78. padding-bottom: 0;
  79. /**
  80. * Override text-align center as icons need to be left justified.
  81. */
  82. text-align: left;
  83. /**
  84. * Intentionally use margin on the icon itself as AtlasKit InlineDialog
  85. * positioning depends on the trigger (indicator icon).
  86. */
  87. .indicator {
  88. margin-left: 5px;
  89. margin-top: $toolbarIconMargin;
  90. }
  91. .indicator-container:nth-child(1) .indicator {
  92. margin-left: $toolbarIconMargin;
  93. }
  94. .indicator-container {
  95. display: inline-block;
  96. vertical-align: top;
  97. .popover-trigger {
  98. display: inline-block;
  99. }
  100. }
  101. .connection-indicator,
  102. .indicator {
  103. position: relative;
  104. font-size: 8px;
  105. text-align: center;
  106. line-height: $thumbnailIndicatorSize;
  107. padding: 0;
  108. @include circle($thumbnailIndicatorSize);
  109. box-sizing: border-box;
  110. z-index: $zindex3;
  111. background: $dominantSpeakerBg;
  112. color: $thumbnailPictogramColor;
  113. border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
  114. .indicatoricon {
  115. @include absoluteAligning();
  116. }
  117. .connection {
  118. position: relative;
  119. display: inline-block;
  120. margin: 0 auto;
  121. left: 0;
  122. @include transform(translate(0, -50%));
  123. &_empty,
  124. &_lost
  125. {
  126. color: #8B8B8B;/*#FFFFFF*/
  127. overflow: hidden;
  128. }
  129. &_full
  130. {
  131. @include topLeft();
  132. color: #FFFFFF;/*#15A1ED*/
  133. overflow: hidden;
  134. }
  135. &_ninja
  136. {
  137. font-size: 1.5em;
  138. }
  139. }
  140. .icon-gsm-bars {
  141. cursor: pointer;
  142. font-size: 1em;
  143. }
  144. }
  145. .hide-connection-indicator {
  146. display: none;
  147. }
  148. }
  149. &__hoverOverlay {
  150. background: rgba(0,0,0,.6);
  151. border-radius: $borderRadius;
  152. position: absolute;
  153. top: 0px;
  154. left: 0px;
  155. width: 100%;
  156. height: 100%;
  157. visibility: hidden;
  158. z-index: $zindex2;
  159. }
  160. &.shift-right {
  161. &#largeVideoContainer {
  162. margin-left: $sidebarWidth;
  163. width: calc(100% - #{$sidebarWidth});
  164. }
  165. }
  166. }
  167. #localVideoWrapper {
  168. display:inline-block;
  169. }
  170. .flipVideoX {
  171. transform: scale(-1, 1);
  172. -moz-transform: scale(-1, 1);
  173. -webkit-transform: scale(-1, 1);
  174. -o-transform: scale(-1, 1);
  175. }
  176. #localVideoWrapper video,
  177. #localVideoWrapper object {
  178. border-radius: $borderRadius !important;
  179. cursor: hand;
  180. object-fit: cover;
  181. }
  182. #largeVideo,
  183. #largeVideoWrapper,
  184. #largeVideoContainer {
  185. overflow: hidden;
  186. text-align: center;
  187. }
  188. #largeVideoContainer {
  189. height: 100%;
  190. width: 100%;
  191. }
  192. #largeVideoWrapper {
  193. box-shadow: 0 0 20px -2px #444;
  194. }
  195. #largeVideo,
  196. #largeVideoWrapper
  197. {
  198. object-fit: cover;
  199. }
  200. #sharedVideo,
  201. #etherpad,
  202. #localVideoWrapper video,
  203. #localVideoWrapper object,
  204. #localVideoWrapper,
  205. #largeVideoWrapper,
  206. #largeVideoWrapper>video,
  207. #largeVideoWrapper>object,
  208. .videocontainer>video,
  209. .videocontainer>object {
  210. position: absolute;
  211. left: 0;
  212. top: 0;
  213. z-index: $zindex1;
  214. width: 100%;
  215. height: 100%;
  216. }
  217. #etherpad {
  218. text-align: center;
  219. }
  220. #etherpad {
  221. z-index: $zindex0;
  222. }
  223. /**
  224. * Positions video thumbnail display name and editor.
  225. */
  226. #alwaysOnTop .displayname,
  227. .videocontainer .displayname,
  228. .videocontainer .editdisplayname {
  229. display: inline-block;
  230. position: absolute;
  231. left: 10%;
  232. width: 80%;
  233. top: 50%;
  234. @include transform(translateY(-40%));
  235. color: $participantNameColor;
  236. text-align: center;
  237. text-overflow: ellipsis;
  238. font-size: 12px;
  239. font-weight: 100;
  240. overflow: hidden;
  241. white-space: nowrap;
  242. line-height: $thumbnailToolbarHeight;
  243. z-index: $zindex2;
  244. }
  245. #alwaysOnTop .displayname {
  246. font-size: 15px;
  247. position: inherit;
  248. width: 100%;
  249. left: 0px;
  250. top: 0px;
  251. margin-top: 10px;
  252. }
  253. /**
  254. * Positions video thumbnail display name editor.
  255. */
  256. .videocontainer .editdisplayname {
  257. outline: none;
  258. border: none;
  259. background: none;
  260. box-shadow: none;
  261. padding: 0;
  262. }
  263. #localVideoContainer .displayname:hover {
  264. cursor: text;
  265. }
  266. .videocontainer .displayname {
  267. pointer-events: none;
  268. padding: 0 3px 0 3px;
  269. }
  270. .videocontainer .editdisplayname {
  271. height: auto;
  272. }
  273. #localDisplayName {
  274. pointer-events: auto !important;
  275. }
  276. .videocontainer>a.displayname {
  277. display: inline-block;
  278. position: absolute;
  279. color: #FFFFFF;
  280. bottom: 0;
  281. right: 0;
  282. padding: 3px 5px;
  283. font-size: 9pt;
  284. cursor: pointer;
  285. z-index: $zindex2;
  286. }
  287. /**
  288. * Video thumbnail toolbar icon.
  289. */
  290. .videocontainer .toolbar-icon {
  291. font-size: 8pt;
  292. text-align: center;
  293. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  294. color: #FFFFFF;
  295. width: 12px;
  296. line-height: $thumbnailToolbarHeight;
  297. height: $thumbnailToolbarHeight;
  298. padding: 0;
  299. border: 0;
  300. margin: 0px 5px 0px 0px;
  301. }
  302. /**
  303. * Toolbar icon internal i elements (font icons).
  304. */
  305. .toolbar-icon>div {
  306. height: $thumbnailToolbarHeight;
  307. display: flex;
  308. flex-direction: column;
  309. justify-content: center;
  310. }
  311. /**
  312. * Toolbar icons positioned on the right.
  313. */
  314. .moderator-icon {
  315. display: inline-block;
  316. &.right {
  317. float: right;
  318. margin: 0px 0px 0px 5px;
  319. }
  320. .toolbar-icon {
  321. margin: 0;
  322. }
  323. }
  324. .raisehandindicator {
  325. background: $raiseHandBg;
  326. }
  327. .connection-indicator {
  328. background: $connectionIndicatorBg;
  329. &.status-high {
  330. background: green;
  331. }
  332. &.status-med {
  333. background: #FFD740;
  334. }
  335. &.status-lost {
  336. background: gray;
  337. }
  338. &.status-low {
  339. background: #BF2117;
  340. }
  341. &.status-other {
  342. background: $connectionIndicatorBg;
  343. }
  344. }
  345. .remote-video-menu-trigger,
  346. .remotevideomenu
  347. {
  348. display: inline-block;
  349. position: absolute;
  350. top: 0px;
  351. right: 0;
  352. z-index: $zindex2;
  353. width: 18px;
  354. height: 13px;
  355. color: #FFF;
  356. font-size: 10pt;
  357. margin-right: $remoteVideoMenuIconMargin;
  358. >i{
  359. cursor: hand;
  360. }
  361. }
  362. .remote-video-menu-trigger {
  363. margin-top: 7px;
  364. }
  365. /**
  366. * Audio indicator on video thumbnails.
  367. */
  368. .videocontainer>span.audioindicator,
  369. .videocontainer>.audioindicator-container {
  370. position: absolute;
  371. display: inline-block;
  372. left: 6px;
  373. top: 50%;
  374. margin-top: -17px;
  375. width: 6px;
  376. height: 35px;
  377. z-index: $zindex2;
  378. border: none;
  379. .audiodot-top,
  380. .audiodot-bottom,
  381. .audiodot-middle {
  382. opacity: 0;
  383. display: inline-block;
  384. @include circle(5px);
  385. background: $audioLevelShadow;
  386. margin: 1px 0 1px 0;
  387. transition: opacity .25s ease-in-out;
  388. -moz-transition: opacity .25s ease-in-out;
  389. }
  390. span.audiodot-top::after,
  391. span.audiodot-bottom::after,
  392. span.audiodot-middle::after {
  393. content: "";
  394. display: inline-block;
  395. width: 5px;
  396. height: 5px;
  397. border-radius: 50%;
  398. -webkit-filter: blur(0.5px);
  399. filter: blur(0.5px);
  400. background: $audioLevelBg;
  401. }
  402. }
  403. #reloadPresentation {
  404. display: none;
  405. position: absolute;
  406. color: #FFFFFF;
  407. top: 0;
  408. right:0;
  409. padding: 10px 10px;
  410. font-size: 11pt;
  411. cursor: pointer;
  412. background: rgba(0, 0, 0, 0.3);
  413. border-radius: 5px;
  414. background-clip: padding-box;
  415. -webkit-border-radius: 5px;
  416. -webkit-background-clip: padding-box;
  417. z-index: $reloadZ; /*The reload button should appear on top of the header!*/
  418. }
  419. .audiolevel {
  420. display: inline-block;
  421. position: absolute;
  422. z-index: $zindex0;
  423. border-radius:1px;
  424. pointer-events: none;
  425. }
  426. #dominantSpeaker {
  427. visibility: hidden;
  428. width: 300px;
  429. height: 300px;
  430. margin: auto;
  431. position: relative;
  432. top: 50%;
  433. transform: translateY(-50%);
  434. }
  435. #mixedstream {
  436. display:none !important;
  437. }
  438. #dominantSpeakerAvatarContainer,
  439. .dynamic-shadow {
  440. width: 200px;
  441. height: 200px;
  442. }
  443. #dominantSpeakerAvatarContainer {
  444. top: 50px;
  445. margin: auto;
  446. position: relative;
  447. overflow: hidden;
  448. visibility: inherit;
  449. }
  450. .dynamic-shadow {
  451. border-radius: 50%;
  452. position: absolute;
  453. top: 50%;
  454. left: 50%;
  455. margin: -100px 0 0 -100px;
  456. transition: box-shadow 0.3s ease;
  457. }
  458. .avatar-container {
  459. @include maxSize(60px);
  460. @include absoluteAligning();
  461. display: flex;
  462. justify-content: center;
  463. height: 50%;
  464. width: auto;
  465. overflow: hidden;
  466. .userAvatar {
  467. height: 100%;
  468. object-fit: cover;
  469. width: 100%;
  470. top: 0px;
  471. left: 0px;
  472. position: absolute;
  473. }
  474. }
  475. #videoNotAvailableScreen {
  476. text-align: center;
  477. #avatarContainer {
  478. border-radius: 50%;
  479. display: inline-block;
  480. height: 50vh;
  481. margin-top: 25vh;
  482. overflow: hidden;
  483. width: 50vh;
  484. #avatar {
  485. height: 100%;
  486. object-fit: cover;
  487. width: 100%;
  488. }
  489. }
  490. }
  491. .sharedVideoAvatar {
  492. position: absolute;
  493. left: 0px;
  494. top: 0px;
  495. height: 100%;
  496. width: 100%;
  497. object-fit: cover;
  498. }
  499. .videoMessageFilter {
  500. -webkit-filter: grayscale(.5) opacity(0.8);
  501. filter: grayscale(.5) opacity(0.8);
  502. }
  503. #remotePresenceMessage,
  504. #remoteConnectionMessage {
  505. position: absolute;
  506. width: auto;
  507. z-index: $zindex2;
  508. font-weight: 600;
  509. font-size: 14px;
  510. text-align: center;
  511. color: #FFF;
  512. left: 50%;
  513. transform: translate(-50%, 0);
  514. }
  515. #remotePresenceMessage .presence-label,
  516. #remoteConnectionMessage {
  517. opacity: .80;
  518. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  519. 0px 1px 1px rgba(0,0,0,0.3),
  520. 1px 0px 1px rgba(0,0,0,0.3),
  521. 0px 0px 1px rgba(0,0,0,0.3);
  522. background: rgba(0,0,0,.5);
  523. border-radius: 5px;
  524. padding: 5px;
  525. padding-left: 10px;
  526. padding-right: 10px;
  527. }
  528. #remoteConnectionMessage {
  529. display: none;
  530. }
  531. .display-avatar-with-name {
  532. .avatar-container {
  533. visibility: visible;
  534. }
  535. .displayNameContainer {
  536. visibility: visible;
  537. }
  538. .videocontainer__hoverOverlay {
  539. visibility: visible;
  540. }
  541. video {
  542. visibility: hidden;
  543. }
  544. }
  545. .display-name-on-black {
  546. .avatar-container {
  547. visibility: hidden;
  548. }
  549. .displayNameContainer {
  550. visibility: visible;
  551. }
  552. .videocontainer__hoverOverlay {
  553. visibility: hidden;
  554. }
  555. video {
  556. opacity: 0.2;
  557. visibility: visible;
  558. }
  559. }
  560. .display-video {
  561. .avatar-container {
  562. visibility: hidden;
  563. }
  564. .displayNameContainer {
  565. visibility: hidden;
  566. }
  567. .videocontainer__hoverOverlay {
  568. visibility: hidden;
  569. }
  570. video {
  571. visibility: visible;
  572. }
  573. }
  574. .display-name-on-video {
  575. .avatar-container {
  576. visibility: hidden;
  577. }
  578. .displayNameContainer {
  579. visibility: visible;
  580. }
  581. .videocontainer__hoverOverlay {
  582. visibility: visible;
  583. }
  584. video {
  585. visibility: visible;
  586. }
  587. }
  588. .display-avatar-only {
  589. .avatar-container {
  590. visibility: visible;
  591. }
  592. .displayNameContainer {
  593. visibility: hidden;
  594. }
  595. .videocontainer__hoverOverlay {
  596. visibility: hidden;
  597. }
  598. video {
  599. visibility: hidden;
  600. }
  601. }
  602. .presence-label {
  603. color: $participantNameColor;
  604. font-size: 12px;
  605. font-weight: 100;
  606. left: 0;
  607. margin: 0 auto;
  608. overflow: hidden;
  609. pointer-events: none;
  610. right: 0;
  611. text-align: center;
  612. text-overflow: ellipsis;
  613. top: calc(50% + 30px);
  614. white-space: nowrap;
  615. width: 100%;
  616. }