KeynoteDHTMLPlayer.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871
  1. /* Body
  2. ---- */
  3. body
  4. {
  5. overflow: hidden;
  6. margin: 0;
  7. -webkit-user-select: none;
  8. -moz-user-select: none;
  9. }
  10. @media screen and (max-device-width: 1025px)
  11. {
  12. body
  13. {
  14. background-color: black;
  15. }
  16. }
  17. div.bigBlackSquare
  18. {
  19. position: absolute;
  20. top: 0px;
  21. left: 0px;
  22. width: 1024px;
  23. height: 1024px;
  24. visibility: hidden;
  25. background-color: black;
  26. }
  27. /* Debug Status Display
  28. -------------------- */
  29. div#statisticsDisplay
  30. {
  31. position: absolute;
  32. color : white;
  33. background-color: grey;
  34. visibility: hidden;
  35. }
  36. /* Stage
  37. ----- */
  38. div#stageArea
  39. {
  40. position: absolute;
  41. visibility: hidden;
  42. overflow: hidden;
  43. }
  44. div.stage
  45. {
  46. position: absolute;
  47. top: 0;
  48. left: 0;
  49. /*visibility: visible;*/
  50. overflow: hidden;
  51. }
  52. /* Hyperlinke Plane
  53. ---------------- */
  54. div#hyperlinkPlane
  55. {
  56. visibility: hidden;
  57. }
  58. div.hyperlink
  59. {
  60. position: absolute;
  61. cursor: pointer;
  62. /* Debugging: enable the following line to draw a red border around hyperlink areas */
  63. /*border: 1px dotted red;*/
  64. }
  65. /* Embedded Control Bar
  66. -------------------- */
  67. div#embeddedControlBar
  68. {
  69. position: absolute;
  70. display: none;
  71. }
  72. div#embeddedControlBarBackground
  73. {
  74. position: absolute;
  75. top: 0px;
  76. height: 30px;
  77. width: 100%;
  78. }
  79. div.embeddedControlBarBezel
  80. {
  81. position: absolute;
  82. top: 0px;
  83. height: 30px;
  84. }
  85. div#embeddedControlBarBezel_LeftEndCap
  86. {
  87. background-image: url('control_bg-cap-left.png');
  88. width: 10px;
  89. }
  90. div#embeddedControlBarBezel_Filler
  91. {
  92. background-image: url('control_bg-fill.png');
  93. background-repeat: repeat-x;
  94. left: 10px;
  95. }
  96. div#embeddedControlBarBezel_RightEndCap
  97. {
  98. background-image: url('control_bg-cap-right.png');
  99. width: 10px;
  100. }
  101. div#embeddedSlideCounterSection
  102. {
  103. position: absolute;
  104. top: 8px;
  105. height: 14px;
  106. width: 80px;
  107. font-family: "Helvetica";
  108. font-size: 12px;
  109. text-shadow: 0.0em 0.2em #000000;
  110. text-align: center;
  111. color: #FFFFFF;
  112. }
  113. /* Embedded Restart Button
  114. ----------------------- */
  115. div#embeddedControls_Restart
  116. {
  117. position: absolute;
  118. top: 0px;
  119. width: 35px;
  120. height: 30px;
  121. }
  122. div.embeddedControls_Restart_Enabled
  123. {
  124. cursor: pointer;
  125. background-image: url('control_restart_N.png');
  126. }
  127. div.embeddedControls_Restart_Enabled:active
  128. {
  129. cursor: pointer;
  130. background-image: url('control_restart_P.png');
  131. }
  132. div.embeddedControls_Restart_Disabled
  133. {
  134. cursor: default;
  135. background-image: url('control_restart_D.png');
  136. }
  137. /* Embedded Prev Button
  138. -------------------- */
  139. div#embeddedControls_Previous
  140. {
  141. position: absolute;
  142. top: 0px;
  143. width: 35px;
  144. height: 30px;
  145. left: 100px;
  146. }
  147. div.embeddedControls_Previous_Enabled
  148. {
  149. cursor: pointer;
  150. background-image: url('control_previous_N.png');
  151. }
  152. div.embeddedControls_Previous_Enabled:active
  153. {
  154. background-image: url('control_previous_P.png');
  155. }
  156. div.embeddedControls_Previous_Disabled
  157. {
  158. cursor: default;
  159. background-image: url('control_previous_D.png');
  160. }
  161. /* Embedded Next Button
  162. -------------------- */
  163. div#embeddedControls_Next
  164. {
  165. position: absolute;
  166. top: 0px;
  167. width: 35px;
  168. height: 30px;
  169. left: 200px;
  170. }
  171. div.embeddedControls_Next_Enabled
  172. {
  173. cursor: pointer;
  174. background-image: url('control_next_N.png');
  175. }
  176. div.embeddedControls_Next_Enabled:active
  177. {
  178. background-image: url('control_next_P.png');
  179. }
  180. div.embeddedControls_Next_Disabled
  181. {
  182. cursor: default;
  183. background-image: url('control_next_D.png');
  184. }
  185. /* Embedded Mute Button
  186. -------------------- */
  187. div#embeddedControls_Mute
  188. {
  189. position: absolute;
  190. top: 0px;
  191. width: 35px;
  192. height: 30px;
  193. left: 300px;
  194. background-image: url('control_sound-on_P.png');
  195. }
  196. div.embeddedControls_Mute_Class:active
  197. {
  198. background-image: url('control_sound-on_P.png');
  199. }
  200. /* Embedded iWork.com link Button
  201. ------------------------------ */
  202. div#embeddedControls_Link
  203. {
  204. position: absolute;
  205. top: 0px;
  206. width: 35px;
  207. height: 30px;
  208. left: 425px;
  209. }
  210. div.embeddedControls_Link_Enabled
  211. {
  212. cursor: pointer;
  213. background-image: url('control_link_N.png');
  214. }
  215. div.embeddedControls_Link_Enabled:active
  216. {
  217. background-image: url('control_link_P.png');
  218. }
  219. /* HUD
  220. --- */
  221. div#hud
  222. {
  223. position: absolute;
  224. width: 420px;
  225. height: 59px;
  226. display: block;
  227. opacity: 0;
  228. -webkit-transition-property: opacity;
  229. -webkit-transition-duration: 500ms;
  230. }
  231. /* HUD Background Bezel
  232. -------------------- */
  233. .hudBezel
  234. {
  235. position: absolute;
  236. top: 0px;
  237. height: 59px;
  238. }
  239. div#hudBezelLeftEndCap
  240. {
  241. left: 0px;
  242. width: 10px;
  243. background-image: url('bezel-l.png');
  244. }
  245. div#hudBezelFiller
  246. {
  247. left: 10px;
  248. width: 400px;
  249. background-image: url('bezel-m.png');
  250. }
  251. div#hudBezelRightEndCap
  252. {
  253. left: 410px;
  254. width: 10px;
  255. background-image: url('bezel-r.png');
  256. }
  257. img#hudBezelLeftDivider
  258. {
  259. left: 75px;
  260. width: 2px;
  261. background-image: url('doc_info_mobile_cut.png');
  262. }
  263. img#hudBezelRightDivider
  264. {
  265. left: 345px;
  266. width: 2px;
  267. background-image: url('doc_info_mobile_cut.png');
  268. }
  269. /* HUD Mute Button
  270. --------------- */
  271. div.hudMuteButton
  272. {
  273. position: absolute;
  274. cursor: pointer;
  275. left: 26px;
  276. top: 18px;
  277. width: 24px;
  278. height: 21px;
  279. background-image: url('snd_on_n.png');
  280. }
  281. div#hudMuteButton:active
  282. {
  283. background-image: url('snd_on_p.png');
  284. }
  285. /* HUD Prev Button
  286. --------------- */
  287. div#hudPreviousButton
  288. {
  289. position: absolute;
  290. left: 107px;
  291. top: 17px;
  292. width: 31px;
  293. height: 23px;
  294. }
  295. div.hudPreviousButtonEnabled
  296. {
  297. cursor: pointer;
  298. background-image: url('left_arrow_n.png');
  299. }
  300. div.hudPreviousButtonEnabled:active
  301. {
  302. background-image: url('left_arrow_p.png');
  303. }
  304. div.hudPreviousButtonDisabled
  305. {
  306. cursor: default;
  307. background-image: url('left_arrow_d.png');
  308. }
  309. /* HUD Slide Counter
  310. ----------------- */
  311. div.hudSlideCounter
  312. {
  313. position: absolute;
  314. height: 22px;
  315. left: 142px;
  316. width: 136px;
  317. font-family: "Helvetica";
  318. text-shadow: 0.0em 0.2em #000000;
  319. text-align: center;
  320. color: #838383;
  321. }
  322. div#hudSlideCounterSection
  323. {
  324. top: 19px;
  325. height: 22px;
  326. font-size: 16px;
  327. }
  328. /* HUD Next Button
  329. --------------- */
  330. div#hudNextButton
  331. {
  332. position: absolute;
  333. left: 283px;
  334. top: 17px;
  335. width: 31px;
  336. height: 23px;
  337. }
  338. div.hudNextButtonEnabled
  339. {
  340. cursor: pointer;
  341. background-image: url('right_arrow_n.png');
  342. }
  343. div.hudNextButtonEnabled:active
  344. {
  345. background-image: url('right_arrow_p.png');
  346. }
  347. div.hudNextButtonDisabled
  348. {
  349. cursor: default;
  350. background-image: url('right_arrow_d.png');
  351. }
  352. /* HUD Close Button
  353. ---------------- */
  354. div#hudCloseButton
  355. {
  356. position: absolute;
  357. left: 371px;
  358. top: 18px;
  359. width: 21px;
  360. height: 22px;
  361. }
  362. div.hudCloseButtonEnabled
  363. {
  364. cursor: pointer;
  365. background-image: url('close_n.png');
  366. }
  367. div.hudCloseButtonEnabled:active
  368. {
  369. background-image: url('close_p.png');
  370. }
  371. /* iPhone Controls Section
  372. ----------------------- */
  373. div#previousButton
  374. {
  375. position: absolute;
  376. background-repeat: no-repeat;
  377. background-position: center center;
  378. visibility: hidden;
  379. width: 22px;
  380. height: 27px;
  381. }
  382. div.previousButtonEnabled
  383. {
  384. background-image: url('left_arrow_mobile_n.png');
  385. background-size: 22px 27px;
  386. width: 22px;
  387. height: 27px;
  388. }
  389. div.previousButtonDisabled
  390. {
  391. background-image: url('left_arrow_mobile_d.png');
  392. background-size: 22px 27px;
  393. -webkit-tap-highlight-color: rgba(0,0,0,0);
  394. width: 22px;
  395. height: 27px;
  396. }
  397. div#nextButton
  398. {
  399. position: absolute;
  400. background-repeat: no-repeat;
  401. background-position: center center;
  402. visibility: hidden;
  403. background-size: 22px 27px;
  404. width: 22px;
  405. height: 27px;
  406. }
  407. div.nextButtonEnabled
  408. {
  409. background-image: url('right_arrow_mobile_n.png');
  410. background-size: 22px 27px;
  411. width: 22px;
  412. height: 27px;
  413. }
  414. div.nextButtonDisabled
  415. {
  416. background-image: url('right_arrow_mobile_d.png');
  417. background-size: 22px 27px;
  418. -webkit-tap-highlight-color: rgba(0,0,0,0);
  419. width: 22px;
  420. height: 27px;
  421. }
  422. #infoPanelIcon
  423. {
  424. position: absolute;
  425. background-repeat: no-repeat;
  426. background-position: center center;
  427. background-image: static_url('badge_info_n.png');
  428. background-size: 17px 17px;
  429. width: 17px;
  430. height: 17px;
  431. visibility: hidden;
  432. }
  433. /* iPad assets */
  434. @media all and (min-device-width: 481px) and (max-device-width: 1024px) {
  435. div#previousButton
  436. {
  437. background-size: 44px 54px;
  438. width: 44px;
  439. height: 54px;
  440. }
  441. div#nextButton
  442. {
  443. background-size: 44px 54px;
  444. width: 44px;
  445. height: 54px;
  446. }
  447. div.previousButtonEnabled
  448. {
  449. background-size: 44px 54px;
  450. width: 44px;
  451. height: 54px;
  452. background-image: static_url('left_arrow_mobile_n-hd.png');
  453. }
  454. div.previousButtonDisabled
  455. {
  456. background-size: 44px 54px;
  457. width: 44px;
  458. height: 54px;
  459. background-image: static_url('left_arrow_mobile_d-hd.png');
  460. }
  461. div.nextButtonEnabled
  462. {
  463. background-size: 44px 54px;
  464. width: 44px;
  465. height: 54px;
  466. background-image: static_url('right_arrow_mobile_n-hd.png');
  467. }
  468. div.nextButtonDisabled
  469. {
  470. background-size: 44px 54px;
  471. width: 44px;
  472. height: 54px;
  473. background-image: static_url('right_arrow_mobile_d-hd.png');
  474. }
  475. #infoPanelIcon
  476. {
  477. background-size: 34px 34px;
  478. width: 34px;
  479. height: 34px;
  480. background-image: static_url('badge_info_n-hd.png');
  481. }
  482. }
  483. /* Retina display assets */
  484. @media all and (-webkit-min-device-pixel-ratio:2) {
  485. div.previousButtonEnabled
  486. {
  487. background-image: static_url('left_arrow_mobile_n-hd.png');
  488. }
  489. div.previousButtonDisabled
  490. {
  491. background-image: static_url('left_arrow_mobile_d-hd.png');
  492. }
  493. div.nextButtonEnabled
  494. {
  495. background-image: static_url('right_arrow_mobile_n-hd.png');
  496. }
  497. div.nextButtonDisabled
  498. {
  499. background-image: static_url('right_arrow_mobile_d-hd.png');
  500. }
  501. #infoPanelIcon
  502. {
  503. background-image: static_url('badge_info_n-hd.png');
  504. }
  505. }
  506. div#slideCounter
  507. {
  508. position: absolute;
  509. display: table-cell;
  510. text-align: center;
  511. vertical-align: middle;
  512. font-family: Helvetica;
  513. font-size: 23px;
  514. color: #FFFFFF;
  515. text-shadow: 0.0em 0.2em #000000;
  516. visibility: hidden;
  517. }
  518. #helpText
  519. {
  520. position: absolute;
  521. text-align: center;
  522. font-family: Helvetica;
  523. font-size: 13px;
  524. color: #838383;
  525. text-shadow: 0.0em 0.2em #000000;
  526. visibility: hidden;
  527. }
  528. /* Waiting Indicator
  529. ----------------- */
  530. div#waitingIndicator
  531. {
  532. position: absolute;
  533. visibility: visible;
  534. width: 110px;
  535. height: 110px;
  536. background-image: url('waiting_bezel.png');
  537. }
  538. div#waitingSpinner
  539. {
  540. position: absolute;
  541. visibility: visible;
  542. top: 32px;
  543. left: 38px;
  544. width: 32px;
  545. height: 32px;
  546. background-image: url('spinner_dkgrey.gif');
  547. }
  548. /* Info Panel
  549. ---------- */
  550. div#infoPanelButton
  551. {
  552. position: absolute;
  553. off-background-color: blue;
  554. off-opacity: 0.5;
  555. }
  556. div#infoPanel
  557. {
  558. position: absolute;
  559. visibility: hidden;
  560. }
  561. div#closeInfoPanelButton
  562. {
  563. position: absolute;
  564. left: 251px;
  565. top: 0px;
  566. height: 27px;
  567. width: 49px;
  568. color: #B3B3B3;
  569. font-family: "Helvetica";
  570. font-size: 13px;
  571. padding-top: 10px;
  572. padding-right: 1px;
  573. display: table-cell;
  574. text-align: center;
  575. vertical-align: middle;
  576. }
  577. img#closeButtonDivider
  578. {
  579. position: absolute;
  580. left: 250px;
  581. top: 0px;
  582. }
  583. div.layout
  584. {
  585. position: absolute;
  586. padding-top: 0px;
  587. padding-left: 0px;
  588. margin: 0px;
  589. }
  590. div.infoPanelSection
  591. {
  592. position: absolute;
  593. padding-top: 0px;
  594. padding-left: 0px;
  595. margin: 0px;
  596. }
  597. img#avatar
  598. {
  599. position: absolute;
  600. left: 20px;
  601. top: 47px;
  602. width: 60px;
  603. height: 60px;
  604. -webkit-box-shadow: 0px 2px 3px #454545
  605. }
  606. div#documentPublisherSection
  607. {
  608. left: 100px;
  609. top: 47px;
  610. height: 40px;
  611. width: 184px;
  612. }
  613. div#publisherEmailSection
  614. {
  615. left: 100px;
  616. top: 87px;
  617. height: 20px;
  618. width: 184px;
  619. }
  620. div#documentNameSection
  621. {
  622. left: 20px;
  623. top: 114px;
  624. width: 264px;
  625. height: 35px;
  626. white-space: nowrap;
  627. }
  628. div#publishDateSection
  629. {
  630. left: 20px;
  631. top: 156px;
  632. width: 264px;
  633. height: 35px;
  634. }
  635. div#linksSection
  636. {
  637. left: 20px;
  638. top: 206px;
  639. width: 264px;
  640. height: 10px;
  641. }
  642. span.infoPanelLabel
  643. {
  644. font-family: "Helvetica";
  645. font-size: 12px;
  646. color: #434343;
  647. off-color: #1A1A1A;
  648. text-shadow: 0px 1px 1px #F6F6F6;
  649. }
  650. span.infoPanelValue
  651. {
  652. font-family: "Helvetica";
  653. font-weight: 700;
  654. font-size: 15px;
  655. color: #1A1A1A;
  656. text-shadow: 0px 1px 1px #F6F6F6;
  657. }
  658. span#documentPublisherEmailText
  659. {
  660. color: #0040B4;
  661. }
  662. a
  663. {
  664. text-decoration: none;
  665. }
  666. a.infoPanelLink:link
  667. {
  668. color: #434343;
  669. text-decoration: none;
  670. }
  671. a.infoPanelLink:visited
  672. {
  673. color: #434343;
  674. text-decoration: none;
  675. }
  676. a.infoPanelLink:active
  677. {
  678. color: #434343;
  679. text-decoration: none;
  680. }
  681. a.infoPanelLink:hover
  682. {
  683. color: blue;
  684. text-decoration: none;
  685. }
  686. /* Info Panel Animation Keyframes
  687. ------------------------------ */
  688. @keyframes 'flipStageOut'
  689. {
  690. 0% {
  691. -webkit-transform: rotateY( 0deg );
  692. opacity: 1;
  693. }
  694. 50% {
  695. -webkit-transform: rotateY( 90deg );
  696. opacity: 0.5;
  697. }
  698. 51% {
  699. -webkit-transform: rotateY( 91deg );
  700. opacity: 0;
  701. }
  702. 100% {
  703. -webkit-transform: rotateY( 180deg );
  704. opacity: 0;
  705. }
  706. }
  707. @keyframes 'moveInfoPanelIn'
  708. {
  709. 0% {
  710. left: 1000px;
  711. }
  712. 100% {
  713. left: 10px;
  714. }
  715. }
  716. @keyframes 'flipInfoPanelIn'
  717. {
  718. 0% {
  719. -webkit-transform: rotateY( 180deg );
  720. opacity: 0;
  721. }
  722. 50% {
  723. -webkit-transform: rotateY( 90deg );
  724. opacity: 0;
  725. }
  726. 51% {
  727. -webkit-transform: rotateY( 89deg );
  728. opacity: 0.5;
  729. }
  730. 100% {
  731. -webkit-transform: rotateY( 0deg );
  732. opacity: 1;
  733. }
  734. }
  735. @keyframes 'flipStageIn'
  736. {
  737. }
  738. @keyframes 'flipInfoPanelOut'
  739. {
  740. }