Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

playback.css 8.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. /*
  2. BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
  3. Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
  4. This program is free software; you can redistribute it and/or modify it under the
  5. terms of the GNU Lesser General Public License as published by the Free Software
  6. Foundation; either version 3.0 of the License, or (at your option) any later
  7. version.
  8. BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  10. PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public License along
  12. with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
  13. */
  14. /* Visually hides text
  15. * see: yaccessibilityblog.com/library/css-clip-hidden-content.html
  16. */
  17. .visually-hidden {
  18. position: absolute !important;
  19. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  20. clip: rect(1px, 1px, 1px, 1px);
  21. padding: 0 !important;
  22. border: 0 !important;
  23. height: 1px !important;
  24. width: 1px !important;
  25. overflow: hidden;
  26. }
  27. /* Foundation overrides */
  28. .row {
  29. max-width: 100%; /* Foundation restricts the rows to ~1000px */
  30. }
  31. button, .button {
  32. margin-bottom: 0; /* this has impact in the media player buttons */
  33. }
  34. body {
  35. color: #111;
  36. font-size: 14px;
  37. }
  38. /* Main containers need to fill the entire page height */
  39. body, #playback-content, #playback-row, #main-section, #side-section {
  40. height: 100%;
  41. }
  42. /* Restrict the page to a minimum width */
  43. html, .acorn-controls {
  44. min-width: 310px;
  45. }
  46. /* Swappable components have different settings depending on where they are */
  47. #main-section #presentation-area {
  48. height: 100%;
  49. margin-bottom: 5px;
  50. }
  51. #main-section #video-area, #main-section #audio-area {
  52. height: 100%;
  53. margin-bottom: 5px;
  54. background: #fff;
  55. }
  56. #side-section #presentation-area {
  57. height: 30%; /* we HAVE to set a height here, otherwise the slides won't scale properly */
  58. min-height: 250px;
  59. }
  60. #side-section #video-area, #side-section #audio-area {
  61. height: auto;
  62. }
  63. #presentation-area {
  64. position: relative;
  65. }
  66. /* Some internal elements should just fill the entire size of their parents,
  67. that will control their size. */
  68. #slide {
  69. width: 100%;
  70. height: 100%;
  71. margin: 0 auto;
  72. /* vertical and horizontal alignment */
  73. position: absolute;
  74. top: 50%;
  75. left: 50%;
  76. transform: translateX(-50%) translateY(-50%);
  77. }
  78. #deskshare-video {
  79. display: block;
  80. visibility: hidden;
  81. width: 100%;
  82. height: 100%;
  83. margin: 0 auto;
  84. /* vertical and horizontal alignment */
  85. position: absolute;
  86. top: 50%;
  87. left: 50%;
  88. transform: translateX(-50%) translateY(-50%);
  89. }
  90. #chat {
  91. width: 100%;
  92. height: 100%;
  93. }
  94. #video-area, #video {
  95. width: 100%;
  96. height: 100%;
  97. /* can't set height:100% here because the height is controlled automatically
  98. to maintain the aspect ratio. */
  99. }
  100. .acorn-player {
  101. width: 100%;
  102. height: 100%;
  103. }
  104. /* The playback bar is moved out of the video/audio area into a more
  105. generic place in the page, making it look like the controls are not
  106. only for audio and video, but for all playback. */
  107. #audio-area .acorn-controls, #video-area .acorn-controls {
  108. position: fixed;
  109. bottom: 0;
  110. left: 0;
  111. width: 100%;
  112. z-index: 99;
  113. }
  114. /* Prevent unwanted scrollbars and "leaking" elements in the page */
  115. body {
  116. overflow: hidden;
  117. /* background: #f6f6f6; */
  118. }
  119. #main-section {
  120. border-right: 1px solid #e2e2e2;
  121. background: #f6f6f6;
  122. }
  123. /* Chat style */
  124. #chat {
  125. padding: 0 10px;
  126. overflow-y: auto;
  127. word-wrap: break-word;
  128. background: #fff;
  129. /* we use borders here instead of padding because the top/bottom
  130. padding doesn't really work with a vertical scrollbar */
  131. border-top: 5px solid #fff;
  132. border-bottom: 5px solid #fff;
  133. }
  134. #chat strong {
  135. color: #888;
  136. }
  137. #chat-area {
  138. border-bottom: 1px solid #e2e2e2;
  139. }
  140. #chat > div {
  141. margin-bottom: 4px;
  142. }
  143. /* Navbar style */
  144. #navbar {
  145. height: 48px;
  146. border-bottom: 1px solid #e2e2e2;
  147. background: white;
  148. padding: 0 10px 0 0;
  149. }
  150. #recording-title {
  151. font-size: 1.45rem;
  152. padding-top: 8px;
  153. margin: 0;
  154. color: #666666;
  155. font-weight: bold;
  156. white-space: nowrap;
  157. overflow: hidden;
  158. text-overflow: ellipsis;
  159. }
  160. #navbar .sidebar-icon {
  161. font-size: 1.65em;
  162. margin-right: 15px;
  163. padding-right: 15px;
  164. padding-left: 15px;
  165. border-right: 1px solid #e2e2e2;
  166. float: left;
  167. color: #666;
  168. padding-top: 8px;
  169. height: 48px;
  170. }
  171. /* Presentation and related elements */
  172. #slide {
  173. background-image: url('logo.png');
  174. background-size: 160px 160px;
  175. background-repeat: no-repeat;
  176. background-position: center center;
  177. }
  178. #slide.no-background {
  179. background-image:none;
  180. }
  181. #cursor {
  182. visibility: hidden;
  183. width: 12px;
  184. height: 12px;
  185. transform: translate(-6px, -6px);
  186. border-radius: 50%;
  187. position: fixed;
  188. background: red;
  189. z-index: 10;
  190. }
  191. #main-section {
  192. padding: 10px 10px 25px 10px;
  193. }
  194. #copyright {
  195. width: 100%;
  196. font-size: 0.65rem;
  197. text-align: center;
  198. color: #888;
  199. bottom: 5px;
  200. white-space: nowrap;
  201. overflow: hidden;
  202. text-overflow: ellipsis;
  203. }
  204. /* Thumbnails */
  205. #thumbnails {
  206. padding: 10px;
  207. text-align: center;
  208. }
  209. #thumbnails .thumbnail-wrapper {
  210. position: relative;
  211. margin: 0;
  212. padding: 5px 0;
  213. cursor: pointer;
  214. }
  215. #thumbnails .thumbnail-wrapper.active,
  216. #thumbnails .thumbnail-wrapper.active:hover {
  217. background-color: #D9EDF7;
  218. }
  219. #thumbnails .thumbnail-wrapper.active img,
  220. #thumbnails .thumbnail-wrapper.active:hover img {
  221. border-color: #289ad6; /* #314b5d; */
  222. }
  223. #thumbnails .thumbnail-wrapper:hover img {
  224. border-color: #289ad6; /* #314b5d; */
  225. }
  226. #thumbnails img {
  227. max-height: 125px;
  228. border: 1px solid #eee;
  229. }
  230. #thumbnails .thumbnail-wrapper.hovered .thumbnail-label,
  231. #thumbnails .thumbnail-wrapper.active .thumbnail-label {
  232. display: block;
  233. }
  234. #thumbnails .thumbnail-label {
  235. color: #fff;
  236. background: #289ad6;
  237. font-weight: bold;
  238. font-size: 12px;
  239. position: absolute;
  240. bottom: 5px;
  241. left: 0;
  242. right: 0;
  243. width: 50%;
  244. margin: 0 auto;
  245. text-align: center;
  246. display: none;
  247. padding: 2px 5px;
  248. }
  249. /* Sliding sidebar */
  250. .inner-wrap {
  251. height: 100%;
  252. }
  253. .left-off-canvas-menu {
  254. background: #fff;
  255. width: 13rem;
  256. border-right: 1px solid #e2e2e2;
  257. }
  258. .move-right > .inner-wrap {
  259. -webkit-transform: translate3d(13rem, 0, 0);
  260. -moz-transform: translate3d(13rem, 0, 0);
  261. -ms-transform: translate(13rem, 0);
  262. -o-transform: translate3d(13rem, 0, 0);
  263. transform: translate3d(13rem, 0, 0);
  264. }
  265. ul.off-canvas-list li label {
  266. background: #2a2d34;
  267. color: #eee;
  268. }
  269. .exit-off-canvas {
  270. box-shadow: none !important;
  271. }
  272. /* Video style */
  273. #video, #deskshare-video {
  274. background-color: #f6f6f6;
  275. }
  276. #loading-error {
  277. visibility: hidden;
  278. width: 100%;
  279. height: 100%;
  280. background-image: url('logo.png');
  281. background-size: 160px 160px;
  282. background-position: center center;
  283. background-repeat: no-repeat;
  284. }
  285. #load-error-msg {
  286. text-align: center;
  287. vertical-align: middle;
  288. position: absolute;
  289. bottom: 30px;
  290. font-weight: bold;
  291. width: 100%;
  292. left: 0;
  293. right: 0;
  294. }
  295. /* Small screens only */
  296. @media only screen and (max-width: 40em) {
  297. #copyright {
  298. font-size: 0.6rem;
  299. }
  300. #chat {
  301. font-size: 12px;
  302. }
  303. #side-section #presentation-area {
  304. min-height: 100px;
  305. }
  306. }
  307. /* Medium screens up */
  308. @media only screen and (min-width: 40.063em) {
  309. #side-section #presentation-area {
  310. min-height: 150px;
  311. }
  312. }
  313. /* Large screens up */
  314. /* @media only screen and (min-width: 64.063em) { */
  315. /* } */
  316. @media (orientation: portrait) {
  317. #main-section, #side-section {
  318. float: none;
  319. width: 100%;
  320. }
  321. #slide {
  322. /* background-size: contain; */
  323. }
  324. #side-section #video-area {
  325. width: 60%;
  326. margin: 0 auto;
  327. }
  328. #chat {
  329. font-size: 12px;
  330. }
  331. /* show only video or only presentation, not both */
  332. #side-section #video-area video, #side-section #presentation-area {
  333. display: none;
  334. }
  335. #chat-area {
  336. border: none;
  337. }
  338. }
  339. .pace {
  340. -webkit-pointer-events: none;
  341. pointer-events: none;
  342. -webkit-user-select: none;
  343. -moz-user-select: none;
  344. user-select: none;
  345. }
  346. .pace .pace-progress {
  347. background: #35383e;
  348. position: fixed;
  349. z-index: 2000;
  350. top: 0;
  351. right: 100%;
  352. width: 100%;
  353. height: 4px;
  354. }
  355. .pace-inactive {
  356. display: none;
  357. }