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

_videolayout_default.scss 10KB

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