viewer.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  1. * {
  2. padding: 0;
  3. margin: 0;
  4. }
  5. body {
  6. font-family: sans-serif;
  7. }
  8. .titlebar > span,
  9. .toolbarLabel,
  10. input,
  11. button,
  12. select {
  13. font: message-box;
  14. }
  15. #titlebar {
  16. position: absolute;
  17. z-index: 2;
  18. top: 0px;
  19. left: 0px;
  20. height: 32px;
  21. width: 100%;
  22. overflow: hidden;
  23. -webkit-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);
  24. -moz-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);
  25. box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);
  26. background-image: url(images/texture.png), linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
  27. background-image: url(images/texture.png), -webkit-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
  28. background-image: url(images/texture.png), -moz-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
  29. background-image: url(images/texture.png), -ms-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
  30. background-image: url(images/texture.png), -o-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
  31. }
  32. #documentName {
  33. margin-left: 10px;
  34. margin-top: 8px;
  35. color: #F2F2F2;
  36. font-size: 14px;
  37. line-height: 14px;
  38. font-family: sans-serif;
  39. }
  40. #toolbarContainer {
  41. position: absolute;
  42. z-index: 2;
  43. bottom: 0px;
  44. left: 0px;
  45. height: 32px;
  46. width: 100%;
  47. overflow: hidden;
  48. -webkit-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);
  49. -moz-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);
  50. box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);
  51. background-image: url(images/texture.png), linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
  52. background-image: url(images/texture.png), -webkit-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
  53. background-image: url(images/texture.png), -moz-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
  54. background-image: url(images/texture.png), -ms-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
  55. background-image: url(images/texture.png), -o-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
  56. }
  57. #toolbar {
  58. position: relative;
  59. }
  60. #toolbarMiddleContainer, #toolbarLeft {
  61. visibility: hidden;
  62. }
  63. html[dir='ltr'] #toolbarLeft {
  64. margin-left: -1px;
  65. }
  66. html[dir='rtl'] #toolbarRight {
  67. margin-left: -1px;
  68. }
  69. html[dir='ltr'] #toolbarLeft,
  70. html[dir='rtl'] #toolbarRight {
  71. position: absolute;
  72. top: 0;
  73. left: 0;
  74. }
  75. html[dir='ltr'] #toolbarRight,
  76. html[dir='rtl'] #toolbarLeft {
  77. position: absolute;
  78. top: 0;
  79. right: 0;
  80. }
  81. html[dir='ltr'] #toolbarLeft > *,
  82. html[dir='ltr'] #toolbarMiddle > *,
  83. html[dir='ltr'] #toolbarRight > * {
  84. float: left;
  85. }
  86. html[dir='rtl'] #toolbarLeft > *,
  87. html[dir='rtl'] #toolbarMiddle > *,
  88. html[dir='rtl'] #toolbarRight > * {
  89. float: right;
  90. }
  91. /* outer/inner center provides horizontal center */
  92. html[dir='ltr'] .outerCenter {
  93. float: right;
  94. position: relative;
  95. right: 50%;
  96. }
  97. html[dir='rtl'] .outerCenter {
  98. float: left;
  99. position: relative;
  100. left: 50%;
  101. }
  102. html[dir='ltr'] .innerCenter {
  103. float: right;
  104. position: relative;
  105. right: -50%;
  106. }
  107. html[dir='rtl'] .innerCenter {
  108. float: left;
  109. position: relative;
  110. left: -50%;
  111. }
  112. html[dir='ltr'] .splitToolbarButton {
  113. margin: 3px 2px 4px 0;
  114. display: inline-block;
  115. }
  116. html[dir='rtl'] .splitToolbarButton {
  117. margin: 3px 0 4px 2px;
  118. display: inline-block;
  119. }
  120. html[dir='ltr'] .splitToolbarButton > .toolbarButton {
  121. border-radius: 0;
  122. float: left;
  123. }
  124. html[dir='rtl'] .splitToolbarButton > .toolbarButton {
  125. border-radius: 0;
  126. float: right;
  127. }
  128. .splitToolbarButton.toggled .toolbarButton {
  129. margin: 0;
  130. }
  131. .toolbarButton {
  132. border: 0 none;
  133. background-color: rgba(0, 0, 0, 0);
  134. width: 32px;
  135. height: 25px;
  136. border-radius: 2px;
  137. background-image: none;
  138. }
  139. html[dir='ltr'] .toolbarButton,
  140. html[dir='ltr'] .dropdownToolbarButton {
  141. margin: 3px 2px 4px 0;
  142. }
  143. html[dir='rtl'] .toolbarButton,
  144. html[dir='rtl'] .dropdownToolbarButton {
  145. margin: 3px 0 4px 2px;
  146. }
  147. .toolbarButton:hover,
  148. .toolbarButton:focus,
  149. .dropdownToolbarButton {
  150. background-color: hsla(0,0%,0%,.12);
  151. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  152. background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  153. background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  154. background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  155. background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  156. background-clip: padding-box;
  157. border: 1px solid hsla(0,0%,0%,.35);
  158. border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
  159. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  160. 0 0 1px hsla(0,0%,100%,.15) inset,
  161. 0 1px 0 hsla(0,0%,100%,.05);
  162. }
  163. .toolbarButton:hover:active,
  164. .dropdownToolbarButton:hover:active {
  165. background-color: hsla(0,0%,0%,.2);
  166. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  167. background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  168. background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  169. background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  170. background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  171. border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45);
  172. box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
  173. 0 0 1px hsla(0,0%,0%,.2) inset,
  174. 0 1px 0 hsla(0,0%,100%,.05);
  175. }
  176. .splitToolbarButton:hover > .toolbarButton,
  177. .splitToolbarButton:focus > .toolbarButton,
  178. .splitToolbarButton.toggled > .toolbarButton,
  179. .toolbarButton.textButton {
  180. background-color: hsla(0,0%,0%,.12);
  181. background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  182. background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  183. background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  184. background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  185. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  186. background-clip: padding-box;
  187. border: 1px solid hsla(0,0%,0%,.35);
  188. border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
  189. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  190. 0 0 1px hsla(0,0%,100%,.15) inset,
  191. 0 1px 0 hsla(0,0%,100%,.05);
  192. -webkit-transition-property: background-color, border-color, box-shadow;
  193. -webkit-transition-duration: 150ms;
  194. -webkit-transition-timing-function: ease;
  195. -moz-transition-property: background-color, border-color, box-shadow;
  196. -moz-transition-duration: 150ms;
  197. -moz-transition-timing-function: ease;
  198. -ms-transition-property: background-color, border-color, box-shadow;
  199. -ms-transition-duration: 150ms;
  200. -ms-transition-timing-function: ease;
  201. -o-transition-property: background-color, border-color, box-shadow;
  202. -o-transition-duration: 150ms;
  203. -o-transition-timing-function: ease;
  204. transition-property: background-color, border-color, box-shadow;
  205. transition-duration: 150ms;
  206. transition-timing-function: ease;
  207. }
  208. .splitToolbarButton > .toolbarButton:hover,
  209. .splitToolbarButton > .toolbarButton:focus,
  210. .dropdownToolbarButton:hover,
  211. .toolbarButton.textButton:hover,
  212. .toolbarButton.textButton:focus {
  213. background-color: hsla(0,0%,0%,.2);
  214. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  215. 0 0 1px hsla(0,0%,100%,.15) inset,
  216. 0 0 1px hsla(0,0%,0%,.05);
  217. z-index: 199;
  218. }
  219. .splitToolbarButton:hover > .toolbarButton,
  220. .splitToolbarButton:focus > .toolbarButton,
  221. .splitToolbarButton.toggled > .toolbarButton,
  222. .toolbarButton.textButton {
  223. background-color: hsla(0,0%,0%,.12);
  224. background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  225. background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  226. background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  227. background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  228. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  229. background-clip: padding-box;
  230. border: 1px solid hsla(0,0%,0%,.35);
  231. border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
  232. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  233. 0 0 1px hsla(0,0%,100%,.15) inset,
  234. 0 1px 0 hsla(0,0%,100%,.05);
  235. -webkit-transition-property: background-color, border-color, box-shadow;
  236. -webkit-transition-duration: 150ms;
  237. -webkit-transition-timing-function: ease;
  238. -moz-transition-property: background-color, border-color, box-shadow;
  239. -moz-transition-duration: 150ms;
  240. -moz-transition-timing-function: ease;
  241. -ms-transition-property: background-color, border-color, box-shadow;
  242. -ms-transition-duration: 150ms;
  243. -ms-transition-timing-function: ease;
  244. -o-transition-property: background-color, border-color, box-shadow;
  245. -o-transition-duration: 150ms;
  246. -o-transition-timing-function: ease;
  247. transition-property: background-color, border-color, box-shadow;
  248. transition-duration: 150ms;
  249. transition-timing-function: ease;
  250. }
  251. .splitToolbarButton > .toolbarButton:hover,
  252. .splitToolbarButton > .toolbarButton:focus,
  253. .dropdownToolbarButton:hover,
  254. .toolbarButton.textButton:hover,
  255. .toolbarButton.textButton:focus {
  256. background-color: hsla(0,0%,0%,.2);
  257. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  258. 0 0 1px hsla(0,0%,100%,.15) inset,
  259. 0 0 1px hsla(0,0%,0%,.05);
  260. z-index: 199;
  261. }
  262. .dropdownToolbarButton {
  263. border: 1px solid #333 !important;
  264. }
  265. .toolbarButton,
  266. .dropdownToolbarButton {
  267. min-width: 16px;
  268. padding: 2px 6px 2px;
  269. border: 1px solid transparent;
  270. border-radius: 2px;
  271. color: hsl(0,0%,95%);
  272. font-size: 12px;
  273. line-height: 14px;
  274. -webkit-user-select:none;
  275. -moz-user-select:none;
  276. -ms-user-select:none;
  277. /* Opera does not support user-select, use <... unselectable="on"> instead */
  278. cursor: default;
  279. -webkit-transition-property: background-color, border-color, box-shadow;
  280. -webkit-transition-duration: 150ms;
  281. -webkit-transition-timing-function: ease;
  282. -moz-transition-property: background-color, border-color, box-shadow;
  283. -moz-transition-duration: 150ms;
  284. -moz-transition-timing-function: ease;
  285. -ms-transition-property: background-color, border-color, box-shadow;
  286. -ms-transition-duration: 150ms;
  287. -ms-transition-timing-function: ease;
  288. -o-transition-property: background-color, border-color, box-shadow;
  289. -o-transition-duration: 150ms;
  290. -o-transition-timing-function: ease;
  291. transition-property: background-color, border-color, box-shadow;
  292. transition-duration: 150ms;
  293. transition-timing-function: ease;
  294. }
  295. html[dir='ltr'] .toolbarButton,
  296. html[dir='ltr'] .dropdownToolbarButton {
  297. margin: 3px 2px 4px 0;
  298. }
  299. html[dir='rtl'] .toolbarButton,
  300. html[dir='rtl'] .dropdownToolbarButton {
  301. margin: 3px 0 4px 2px;
  302. }
  303. .splitToolbarButton:hover > .splitToolbarButtonSeparator,
  304. .splitToolbarButton.toggled > .splitToolbarButtonSeparator {
  305. padding: 12px 0;
  306. margin: 0;
  307. box-shadow: 0 0 0 1px hsla(0,0%,100%,.03);
  308. -webkit-transition-property: padding;
  309. -webkit-transition-duration: 10ms;
  310. -webkit-transition-timing-function: ease;
  311. -moz-transition-property: padding;
  312. -moz-transition-duration: 10ms;
  313. -moz-transition-timing-function: ease;
  314. -ms-transition-property: padding;
  315. -ms-transition-duration: 10ms;
  316. -ms-transition-timing-function: ease;
  317. -o-transition-property: padding;
  318. -o-transition-duration: 10ms;
  319. -o-transition-timing-function: ease;
  320. transition-property: padding;
  321. transition-duration: 10ms;
  322. transition-timing-function: ease;
  323. }
  324. .toolbarButton.toggled:hover:active,
  325. .splitToolbarButton > .toolbarButton:hover:active {
  326. background-color: hsla(0,0%,0%,.4);
  327. border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55);
  328. box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset,
  329. 0 0 1px hsla(0,0%,0%,.3) inset,
  330. 0 1px 0 hsla(0,0%,100%,.05);
  331. }
  332. html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child,
  333. html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child {
  334. position: relative;
  335. margin: 0;
  336. margin-left: 4px;
  337. margin-right: -1px;
  338. border-top-left-radius: 2px;
  339. border-bottom-left-radius: 2px;
  340. border-right-color: transparent;
  341. }
  342. html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child,
  343. html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child {
  344. position: relative;
  345. margin: 0;
  346. margin-left: -1px;
  347. border-top-right-radius: 2px;
  348. border-bottom-right-radius: 2px;
  349. border-left-color: transparent;
  350. }
  351. .splitToolbarButtonSeparator {
  352. padding: 8px 0;
  353. width: 1px;
  354. background-color: hsla(0,0%,00%,.5);
  355. z-index: 99;
  356. box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
  357. display: inline-block;
  358. margin: 5px 0;
  359. }
  360. html[dir='ltr'] .splitToolbarButtonSeparator {
  361. float:left;
  362. }
  363. html[dir='rtl'] .splitToolbarButtonSeparator {
  364. float:right;
  365. }
  366. .dropdownToolbarButton {
  367. min-width: 120px;
  368. max-width: 120px;
  369. padding: 4px 2px 4px;
  370. overflow: hidden;
  371. background: url(images/toolbarButton-menuArrows.png) no-repeat;
  372. }
  373. .dropdownToolbarButton > select {
  374. -webkit-appearance: none;
  375. -moz-appearance: none; /* in the future this might matter, see bugzilla bug #649849 */
  376. min-width: 140px;
  377. font-size: 12px;
  378. color: hsl(0,0%,95%);
  379. margin:0;
  380. padding:0;
  381. border:none;
  382. background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */
  383. }
  384. .dropdownToolbarButton > select > option {
  385. background: hsl(0,0%,24%);
  386. }
  387. #pageWidthOption {
  388. border-bottom: 1px rgba(255, 255, 255, .5) solid;
  389. }
  390. html[dir='ltr'] .dropdownToolbarButton {
  391. background-position: 95%;
  392. }
  393. html[dir='rtl'] .dropdownToolbarButton {
  394. background-position: 5%;
  395. }
  396. .toolbarButton.fullscreen::before {
  397. display: inline-block;
  398. content: url(images/toolbarButton-fullscreen.png);
  399. }
  400. .toolbarButton.presentation::before {
  401. display: inline-block;
  402. content: url(images/toolbarButton-presentation.png);
  403. }
  404. .toolbarButton.download::before {
  405. display: inline-block;
  406. content: url(images/toolbarButton-download.png);
  407. }
  408. .toolbarButton.zoomOut::before {
  409. display: inline-block;
  410. content: url(images/toolbarButton-zoomOut.png);
  411. }
  412. .toolbarButton.zoomIn::before {
  413. display: inline-block;
  414. content: url(images/toolbarButton-zoomIn.png);
  415. }
  416. .toolbarButton.pageUp::before {
  417. display: inline-block;
  418. content: url(images/toolbarButton-pageUp.png);
  419. }
  420. .toolbarButton.pageDown::before {
  421. display: inline-block;
  422. content: url(images/toolbarButton-pageDown.png);
  423. }
  424. .toolbarField.pageNumber {
  425. min-width: 16px;
  426. text-align: right;
  427. width: 40px;
  428. }
  429. .toolbarField {
  430. padding: 3px 6px;
  431. margin: 4px 0 4px 0;
  432. border: 1px solid transparent;
  433. border-radius: 2px;
  434. background-color: hsla(0,0%,100%,.09);
  435. background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  436. background-clip: padding-box;
  437. border: 1px solid hsla(0,0%,0%,.35);
  438. border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
  439. box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset,
  440. 0 1px 0 hsla(0,0%,100%,.05);
  441. color: hsl(0,0%,95%);
  442. font-size: 12px;
  443. line-height: 14px;
  444. outline-style: none;
  445. -moz-transition-property: background-color, border-color, box-shadow;
  446. -moz-transition-duration: 150ms;
  447. -moz-transition-timing-function: ease;
  448. }
  449. .toolbarField.pageNumber::-webkit-inner-spin-button,
  450. .toolbarField.pageNumber::-webkit-outer-spin-button {
  451. -webkit-appearance: none;
  452. margin: 0;
  453. }
  454. .toolbarField:hover {
  455. background-color: hsla(0,0%,100%,.11);
  456. border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45);
  457. }
  458. .toolbarField:focus {
  459. background-color: hsla(0,0%,100%,.15);
  460. border-color: hsla(204,100%,65%,.8) hsla(204,100%,65%,.85) hsla(204,100%,65%,.9);
  461. }
  462. .toolbarLabel {
  463. min-width: 16px;
  464. padding: 3px 6px 3px 2px;
  465. margin: 4px 2px 4px 0;
  466. border: 1px solid transparent;
  467. border-radius: 2px;
  468. color: hsl(0,0%,85%);
  469. font-size: 12px;
  470. line-height: 14px;
  471. text-align: left;
  472. -webkit-user-select:none;
  473. -moz-user-select:none;
  474. cursor: default;
  475. }
  476. #canvasContainer {
  477. overflow: auto;
  478. padding-top: 6px;
  479. padding-bottom: 6px;
  480. position: absolute;
  481. top: 32px;
  482. right: 0;
  483. bottom: 32px;
  484. left: 0;
  485. text-align: center;
  486. background-color: #888;
  487. background-image: url(images/texture.png);
  488. }
  489. .presentationMode {
  490. top: 0 !important;
  491. bottom: 0 !important;
  492. background-color: black !important;
  493. cursor: default !important;
  494. }
  495. #canvas {
  496. overflow: hidden;
  497. box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
  498. -webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
  499. -moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
  500. -ms-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
  501. -o-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
  502. }
  503. #sliderContainer {
  504. visibility: hidden;
  505. }
  506. #overlayNavigator {
  507. position: absolute;
  508. width: 100%;
  509. height: 0;
  510. top: calc(50% - 50px);
  511. background-color: rgba(0, 0, 0, 0);
  512. z-index: 3;
  513. opacity: 0;
  514. -webkit-transition: opacity 1s ease-out;
  515. -moz-transition: opacity 1s ease-out;
  516. transition: opacity 1s ease-out;
  517. }
  518. #previousPage {
  519. float: left;
  520. margin-left: 10px;
  521. /* CSS triangle */
  522. border-top: 50px solid transparent;
  523. border-bottom: 50px solid transparent;
  524. border-right: 50px solid black;
  525. opacity: 0.5;
  526. }
  527. #nextPage {
  528. float: right;
  529. margin-right: 10px;
  530. /* CSS triangle */
  531. border-top: 50px solid transparent;
  532. border-bottom: 50px solid transparent;
  533. border-left: 50px solid black;
  534. opacity: 0.5;
  535. }
  536. #previousPage:active {
  537. opacity: 0.8;
  538. }
  539. #nextPage:active {
  540. opacity: 0.8;
  541. }
  542. #overlayCloseButton {
  543. position: absolute;
  544. top: 10px;
  545. right: 10px;
  546. z-index: 3;
  547. font-size: 35px;
  548. color: white;
  549. background-color: black;
  550. opacity: 0.5;
  551. width: 40px;
  552. height: 40px;
  553. -webkit-border-radius: 20px;
  554. -moz-border-radius: 20px;
  555. border-radius: 20px;
  556. text-align: center;
  557. cursor: pointer;
  558. display: none;
  559. }
  560. #overlayCloseButton:active {
  561. background-color: red;
  562. }
  563. @media only screen and (max-width: 600px) and (max-height: 1000px) {
  564. #canvasContainer {
  565. top: 0;
  566. bottom: 0;
  567. }
  568. #titlebar, #toolbarContainer {
  569. background-color: rgba(0, 0, 0, 0.6);
  570. background-image: none;
  571. }
  572. #overlayNavigator.touched {
  573. display: block;
  574. opacity: 1;
  575. height: 100px;
  576. }
  577. #next, #previous {
  578. display: none;
  579. }
  580. }