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

_videolayout_default.scss 13KB

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