You are here

style.css in 3D Flipbook 8

#modal-wnd .modal-dialog {
  position: relative;
}

#modal-wnd .modal-dialog .close {
  position: absolute;
  right: 10px;
  top: 10px;
}

#modal-wnd .modal-dialog .modal-content {
  padding: 15px;
}

#modal-wnd .modal-content img,
.test-img-size img {
  max-width: 90vw;
}

.test-img-size {
  visibility: hidden;
  position: fixed;
}

.doc-image {
  text-align: center;
  margin-bottom: 10px;
}

.doc-image img {
  max-width: 400px;
  max-height: 400px;
}

.doc-image img:hover {
  box-shadow: 0 0 10px 1px #ccc;
  cursor: pointer;
}

.doc-image img:active {
  box-shadow: 0 0 5px 1px #aaa;
  cursor: pointer;
}


.images {
  text-align: center;
}

.images img {
  height: 250px;
}

.image-preview {
  text-align: center;
  margin-bottom: 10px;
}

.image-preview .caption,
.books .caption,
#modalView .modal-footer {
  font-size: 12pt;
  font-style: italic;
}

.hover-menu {
  position: fixed;
  left: 10px;
  top: 70px;
  display: none;
  max-width: 180px;
}

@media (min-width:1480px) {
  .hover-menu {
    display: block;
  }
}

#modalView .modal-dialog {
  opacity: 0;
}

#modalView .modal-body,
#modalView .modal-footer {
  text-align: center;
}


.navbar-nav>li>a.atr-btn {
  padding: 7px;
  margin: 8px;
  border-radius: 4px;
}

.navbar-nav>li>a.atr-btn:active {
  padding: 6px 7px;
  margin-top: 10px;
}

.navbar-nav>.open>a.atr-btn {
  background-image: none;
}

.navbar-nav>.open>a.atr-btn:hover,
.navbar-nav>.open>a.atr-btn:focus,
.navbar-nav>.open>a.atr-btn:active {
  padding: 6px 7px;
  margin-top: 10px;
}


.navbar-nav>li>a.video>img {
  position: relative;
  top: -1px;
  height: 20px;
  margin-right: 3px;
  opacity: 0.8;
}

.navbar-nav>li:hover>a.video>img {
  opacity: 1;
}

.navbar-nav>li>a.buy {
  box-shadow: 0 2px 0 #6f9a37;
  background-color: #82b440;
  color: #fff;
}

.navbar-nav>li>a.buy:hover,
.navbar-nav>li>a.buy:focus,
.navbar-nav>li>a.buy:active {
  background-color: #82a81a;
  color: #fff;
}

.navbar-nav>.open>a.buy {
  box-shadow: 0 2px 0 #6f9a37;
  background-color: #82b440;
  color: #fff;
}

.navbar-nav>.open>a.buy:hover,
.navbar-nav>.open>a.buy:focus,
.navbar-nav>.open>a.buy:active {
  background-color: #82a81a;
  color: #fff;
}


.navbar-nav>li>a.download {
  box-shadow: 0 2px 0 #335697;
  background-color: #337ab7;
  color: #fff;
}

.navbar-nav>li>a.download:hover,
.navbar-nav>li>a.download:focus,
.navbar-nav>li>a.download:active {
  background-color: #3368a5;
  color: #fff;
}

.navbar-nav>.open>a.download {
  box-shadow: 0 2px 0 #335697;
  background-color: #337ab7;
  color: #fff;
}

.navbar-nav>.open>a.download:hover,
.navbar-nav>.open>a.download:focus,
.navbar-nav>.open>a.download:active {
  background-color: #3368a5;
  color: #fff;
}


p {
  text-indent: 25px;
  font-size: 12pt;
}

.no-indent {
  text-indent: 0;
}

.file,
.path {
  font-style: italic;
}

.author span {
  font-weight: bold;
}

.libs span {
  font-weight: bold;
}

h1 {
  font-size: 18pt;
}

h2 {
  font-size: 16pt;
}

h3 {
  font-size: 18px;
}

body {
  margin: 0;
  position: relative;
}

body .navbar {
  margin-bottom: 0;
}

#flip-book-window .modal-content {
  height: 100%;
  background-image: url('../images/texture.jpg');
}

#flip-book-window .close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  font-size: 16pt;
  color: #fff;
}

#flip-book-window .close:active {
  padding-top: 2px;
  padding-right: 2px;
  font-size: 14pt;
}

#flip-book-window .modal-body {
  height: 100%;
}

#flip-book-window .modal-body .mount-node {
  width: 100%;
  height: 100%;
}

#flip-book-window .modal-body .mount-node.fullscreen {
  background-image: url('../images/texture.jpg');
}

/*.mount-node {
  width: 100%;
  height: 100%;
  background-color: red;
}*/

#flip-book-window .modal-dialog {
  width: 98%;
  height: 98%;
  margin: 0.5% auto;
}

.books {
  text-align: center;
}

.books .thumb {
  display: inline-block;
  padding: 3px;
  margin: 0 3px;
  max-width: 300px;
  background-color: #eee;
  border-radius: 5px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.books .caption {
  margin-top: 5px;
}

.books img {
  height: 300px;
  padding: 0;
  margin: 0;
}

.books img:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.books h2 {
  text-align: left;
}

.video {
  padding-top: 20px;
}

.video .row {
  margin-bottom: 20px;
}

.video .wrap {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.video .wrap iframe {
  border-width: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content {
  padding: 0 20px;
}

.sample-container {
  height: 85vh;
  background-color: #eee;
  border-radius: 5px;
  padding: 3px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.sample-container>div {
  height: 100%;
  width: 100%;
}

.source-link {
  padding-top: 20px;
  text-align: right;
}

.relative {
  position: relative;
}

.message {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1;
}

.copyright {
  padding: 10px;
  text-align: center;
}

.copyright .author {
  font-style: italic;
  font-weight: bold;
}

.copyright .sign {
  font-weight: bold;
}


.fb3d .wrap {
  display: inline-block;
  position: relative;
}

.fb3d .table {
  height: 100%;
  width: 100%;
  display: table;
}

.fb3d .cell {
  display: table-cell;
  vertical-align: middle;
}

.fb3d .play {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  text-align: center;
}

.fb3d .gif-preview {
  text-align: center;
}

.fb3d .shadow {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background-color: #000;
  /*background-image: linear-gradient(to bottom,#3c3c3c 0,#222 100%);
  background-repeat: repeat-x;*/
  opacity: 0.3;
}

.fb3d .play .pbtn {
  height: 100px;
  width: 100px;
  display: inline-block;
  border-radius: 50px;
  background-color: #222;
}

.fb3d .play .pbtn:hover {
  box-shadow: 0 0 20px #000;
  cursor: pointer;
}

.fb3d .play .pbtn:active {
  box-shadow: 0 0 10px #000;
}

.fb3d .play .pbtn::after {
  content: ' ';
  border: 25px solid transparent;
  border-left: 50px solid #eee;
  display: inline-block;
  position: relative;
  top: 25px;
  left: 20px;
}

.fb3d .play .pbtn:hover::after {
  border-left: 50px solid #fff;
}

/*Lightbox Effect*/


body::before {
  position: fixed;
  content: ' ';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: -10;
  opacity: 0;
  transition: opacity 0.5s, z-index 0.5s step-end;
}

.fb3d-modal-shadow::before {
  z-index: 10;
  opacity: 0.5;
  transition: opacity 0.5s;
}

.fb3d-modal {
  position: fixed;
  width: 95%;
  height: 95%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px #fff;
  z-index: -9;
  opacity: 0;
  transition: opacity 0.5s, z-index 0.5s step-end;
}

.fb3d-modal.visible {
  z-index: 11;
  opacity: 1;
  transition: opacity 0.5s;
}

.fb3d-modal::before {
  position: absolute;
  content: ' ';
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: -1;
}

.fb3d-modal.light::before {
  background-color: #fff;
}

.fb3d-modal.dark::before {
  background-color: #000;
}

.fb3d-modal .cmd-close {
  font-size: 16pt;
  color: #ccc;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
}

.fb3d-modal.light .cmd-close {
  color: #555;
}

.fb3d-modal .mount-container {
  width: 100%;
  height: 100%;
}

.fb3d-modal .cmd-close:hover {
  font-size: 16pt;
  color: #eee;
}

.fb3d-modal.light .cmd-close:hover {
  color: #111;
}

.fb3d-modal .cmd-close:active {
  font-size: 14pt;
  padding-top: 2px;
  padding-right: 2px;
}

.light .mount-container.fullscreen {
  background-image: url('../images/inverse-texture.jpg');
}

.dark .mount-container.fullscreen {
  background-image: url('../images/texture.jpg');
}

File

css/style.css
View source
  1. #modal-wnd .modal-dialog {
  2. position: relative;
  3. }
  4. #modal-wnd .modal-dialog .close {
  5. position: absolute;
  6. right: 10px;
  7. top: 10px;
  8. }
  9. #modal-wnd .modal-dialog .modal-content {
  10. padding: 15px;
  11. }
  12. #modal-wnd .modal-content img,
  13. .test-img-size img {
  14. max-width: 90vw;
  15. }
  16. .test-img-size {
  17. visibility: hidden;
  18. position: fixed;
  19. }
  20. .doc-image {
  21. text-align: center;
  22. margin-bottom: 10px;
  23. }
  24. .doc-image img {
  25. max-width: 400px;
  26. max-height: 400px;
  27. }
  28. .doc-image img:hover {
  29. box-shadow: 0 0 10px 1px #ccc;
  30. cursor: pointer;
  31. }
  32. .doc-image img:active {
  33. box-shadow: 0 0 5px 1px #aaa;
  34. cursor: pointer;
  35. }
  36. .images {
  37. text-align: center;
  38. }
  39. .images img {
  40. height: 250px;
  41. }
  42. .image-preview {
  43. text-align: center;
  44. margin-bottom: 10px;
  45. }
  46. .image-preview .caption,
  47. .books .caption,
  48. #modalView .modal-footer {
  49. font-size: 12pt;
  50. font-style: italic;
  51. }
  52. .hover-menu {
  53. position: fixed;
  54. left: 10px;
  55. top: 70px;
  56. display: none;
  57. max-width: 180px;
  58. }
  59. @media (min-width:1480px) {
  60. .hover-menu {
  61. display: block;
  62. }
  63. }
  64. #modalView .modal-dialog {
  65. opacity: 0;
  66. }
  67. #modalView .modal-body,
  68. #modalView .modal-footer {
  69. text-align: center;
  70. }
  71. .navbar-nav>li>a.atr-btn {
  72. padding: 7px;
  73. margin: 8px;
  74. border-radius: 4px;
  75. }
  76. .navbar-nav>li>a.atr-btn:active {
  77. padding: 6px 7px;
  78. margin-top: 10px;
  79. }
  80. .navbar-nav>.open>a.atr-btn {
  81. background-image: none;
  82. }
  83. .navbar-nav>.open>a.atr-btn:hover,
  84. .navbar-nav>.open>a.atr-btn:focus,
  85. .navbar-nav>.open>a.atr-btn:active {
  86. padding: 6px 7px;
  87. margin-top: 10px;
  88. }
  89. .navbar-nav>li>a.video>img {
  90. position: relative;
  91. top: -1px;
  92. height: 20px;
  93. margin-right: 3px;
  94. opacity: 0.8;
  95. }
  96. .navbar-nav>li:hover>a.video>img {
  97. opacity: 1;
  98. }
  99. .navbar-nav>li>a.buy {
  100. box-shadow: 0 2px 0 #6f9a37;
  101. background-color: #82b440;
  102. color: #fff;
  103. }
  104. .navbar-nav>li>a.buy:hover,
  105. .navbar-nav>li>a.buy:focus,
  106. .navbar-nav>li>a.buy:active {
  107. background-color: #82a81a;
  108. color: #fff;
  109. }
  110. .navbar-nav>.open>a.buy {
  111. box-shadow: 0 2px 0 #6f9a37;
  112. background-color: #82b440;
  113. color: #fff;
  114. }
  115. .navbar-nav>.open>a.buy:hover,
  116. .navbar-nav>.open>a.buy:focus,
  117. .navbar-nav>.open>a.buy:active {
  118. background-color: #82a81a;
  119. color: #fff;
  120. }
  121. .navbar-nav>li>a.download {
  122. box-shadow: 0 2px 0 #335697;
  123. background-color: #337ab7;
  124. color: #fff;
  125. }
  126. .navbar-nav>li>a.download:hover,
  127. .navbar-nav>li>a.download:focus,
  128. .navbar-nav>li>a.download:active {
  129. background-color: #3368a5;
  130. color: #fff;
  131. }
  132. .navbar-nav>.open>a.download {
  133. box-shadow: 0 2px 0 #335697;
  134. background-color: #337ab7;
  135. color: #fff;
  136. }
  137. .navbar-nav>.open>a.download:hover,
  138. .navbar-nav>.open>a.download:focus,
  139. .navbar-nav>.open>a.download:active {
  140. background-color: #3368a5;
  141. color: #fff;
  142. }
  143. p {
  144. text-indent: 25px;
  145. font-size: 12pt;
  146. }
  147. .no-indent {
  148. text-indent: 0;
  149. }
  150. .file,
  151. .path {
  152. font-style: italic;
  153. }
  154. .author span {
  155. font-weight: bold;
  156. }
  157. .libs span {
  158. font-weight: bold;
  159. }
  160. h1 {
  161. font-size: 18pt;
  162. }
  163. h2 {
  164. font-size: 16pt;
  165. }
  166. h3 {
  167. font-size: 18px;
  168. }
  169. body {
  170. margin: 0;
  171. position: relative;
  172. }
  173. body .navbar {
  174. margin-bottom: 0;
  175. }
  176. #flip-book-window .modal-content {
  177. height: 100%;
  178. background-image: url('../images/texture.jpg');
  179. }
  180. #flip-book-window .close {
  181. position: absolute;
  182. top: 10px;
  183. right: 10px;
  184. z-index: 1;
  185. font-size: 16pt;
  186. color: #fff;
  187. }
  188. #flip-book-window .close:active {
  189. padding-top: 2px;
  190. padding-right: 2px;
  191. font-size: 14pt;
  192. }
  193. #flip-book-window .modal-body {
  194. height: 100%;
  195. }
  196. #flip-book-window .modal-body .mount-node {
  197. width: 100%;
  198. height: 100%;
  199. }
  200. #flip-book-window .modal-body .mount-node.fullscreen {
  201. background-image: url('../images/texture.jpg');
  202. }
  203. /*.mount-node {
  204. width: 100%;
  205. height: 100%;
  206. background-color: red;
  207. }*/
  208. #flip-book-window .modal-dialog {
  209. width: 98%;
  210. height: 98%;
  211. margin: 0.5% auto;
  212. }
  213. .books {
  214. text-align: center;
  215. }
  216. .books .thumb {
  217. display: inline-block;
  218. padding: 3px;
  219. margin: 0 3px;
  220. max-width: 300px;
  221. background-color: #eee;
  222. border-radius: 5px;
  223. border: 1px solid #ddd;
  224. vertical-align: top;
  225. }
  226. .books .caption {
  227. margin-top: 5px;
  228. }
  229. .books img {
  230. height: 300px;
  231. padding: 0;
  232. margin: 0;
  233. }
  234. .books img:hover {
  235. box-shadow: 0 0 10px rgba(0,0,0,0.5);
  236. }
  237. .books h2 {
  238. text-align: left;
  239. }
  240. .video {
  241. padding-top: 20px;
  242. }
  243. .video .row {
  244. margin-bottom: 20px;
  245. }
  246. .video .wrap {
  247. width: 100%;
  248. padding-top: 56.25%;
  249. position: relative;
  250. }
  251. .video .wrap iframe {
  252. border-width: 0;
  253. position: absolute;
  254. top: 0;
  255. left: 0;
  256. width: 100%;
  257. height: 100%;
  258. }
  259. .content {
  260. padding: 0 20px;
  261. }
  262. .sample-container {
  263. height: 85vh;
  264. background-color: #eee;
  265. border-radius: 5px;
  266. padding: 3px;
  267. box-shadow: 0 0 10px rgba(0,0,0,0.5);
  268. }
  269. .sample-container>div {
  270. height: 100%;
  271. width: 100%;
  272. }
  273. .source-link {
  274. padding-top: 20px;
  275. text-align: right;
  276. }
  277. .relative {
  278. position: relative;
  279. }
  280. .message {
  281. position: absolute;
  282. top: 10px;
  283. left: 50%;
  284. transform: translate(-50%, 0);
  285. z-index: 1;
  286. }
  287. .copyright {
  288. padding: 10px;
  289. text-align: center;
  290. }
  291. .copyright .author {
  292. font-style: italic;
  293. font-weight: bold;
  294. }
  295. .copyright .sign {
  296. font-weight: bold;
  297. }
  298. .fb3d .wrap {
  299. display: inline-block;
  300. position: relative;
  301. }
  302. .fb3d .table {
  303. height: 100%;
  304. width: 100%;
  305. display: table;
  306. }
  307. .fb3d .cell {
  308. display: table-cell;
  309. vertical-align: middle;
  310. }
  311. .fb3d .play {
  312. position: absolute;
  313. height: 100%;
  314. width: 100%;
  315. top: 0;
  316. text-align: center;
  317. }
  318. .fb3d .gif-preview {
  319. text-align: center;
  320. }
  321. .fb3d .shadow {
  322. position: absolute;
  323. height: 100%;
  324. width: 100%;
  325. top: 0;
  326. background-color: #000;
  327. /*background-image: linear-gradient(to bottom,#3c3c3c 0,#222 100%);
  328. background-repeat: repeat-x;*/
  329. opacity: 0.3;
  330. }
  331. .fb3d .play .pbtn {
  332. height: 100px;
  333. width: 100px;
  334. display: inline-block;
  335. border-radius: 50px;
  336. background-color: #222;
  337. }
  338. .fb3d .play .pbtn:hover {
  339. box-shadow: 0 0 20px #000;
  340. cursor: pointer;
  341. }
  342. .fb3d .play .pbtn:active {
  343. box-shadow: 0 0 10px #000;
  344. }
  345. .fb3d .play .pbtn::after {
  346. content: ' ';
  347. border: 25px solid transparent;
  348. border-left: 50px solid #eee;
  349. display: inline-block;
  350. position: relative;
  351. top: 25px;
  352. left: 20px;
  353. }
  354. .fb3d .play .pbtn:hover::after {
  355. border-left: 50px solid #fff;
  356. }
  357. /*Lightbox Effect*/
  358. body::before {
  359. position: fixed;
  360. content: ' ';
  361. top: 0;
  362. left: 0;
  363. width: 100%;
  364. height: 100%;
  365. background-color: #000;
  366. z-index: -10;
  367. opacity: 0;
  368. transition: opacity 0.5s, z-index 0.5s step-end;
  369. }
  370. .fb3d-modal-shadow::before {
  371. z-index: 10;
  372. opacity: 0.5;
  373. transition: opacity 0.5s;
  374. }
  375. .fb3d-modal {
  376. position: fixed;
  377. width: 95%;
  378. height: 95%;
  379. top: 50%;
  380. left: 50%;
  381. transform: translate(-50%, -50%);
  382. box-shadow: 0 0 5px #fff;
  383. z-index: -9;
  384. opacity: 0;
  385. transition: opacity 0.5s, z-index 0.5s step-end;
  386. }
  387. .fb3d-modal.visible {
  388. z-index: 11;
  389. opacity: 1;
  390. transition: opacity 0.5s;
  391. }
  392. .fb3d-modal::before {
  393. position: absolute;
  394. content: ' ';
  395. width: 100%;
  396. height: 100%;
  397. opacity: 0.5;
  398. z-index: -1;
  399. }
  400. .fb3d-modal.light::before {
  401. background-color: #fff;
  402. }
  403. .fb3d-modal.dark::before {
  404. background-color: #000;
  405. }
  406. .fb3d-modal .cmd-close {
  407. font-size: 16pt;
  408. color: #ccc;
  409. position: absolute;
  410. right: 10px;
  411. top: 10px;
  412. z-index: 1;
  413. }
  414. .fb3d-modal.light .cmd-close {
  415. color: #555;
  416. }
  417. .fb3d-modal .mount-container {
  418. width: 100%;
  419. height: 100%;
  420. }
  421. .fb3d-modal .cmd-close:hover {
  422. font-size: 16pt;
  423. color: #eee;
  424. }
  425. .fb3d-modal.light .cmd-close:hover {
  426. color: #111;
  427. }
  428. .fb3d-modal .cmd-close:active {
  429. font-size: 14pt;
  430. padding-top: 2px;
  431. padding-right: 2px;
  432. }
  433. .light .mount-container.fullscreen {
  434. background-image: url('../images/inverse-texture.jpg');
  435. }
  436. .dark .mount-container.fullscreen {
  437. background-image: url('../images/texture.jpg');
  438. }