選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

_videolayout_default.scss 13KB

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