timeline.css 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914
  1. /* --------------------------------
  2. Horizontal Timeline
  3. -------------------------------- */
  4. @-webkit-keyframes 'cd-enter-right' {
  5. 0% {
  6. opacity: 0;
  7. -webkit-transform: translateX(100%); }
  8. 100% {
  9. opacity: 1;
  10. -webkit-transform: translateX(0%); } }
  11. @-moz-keyframes 'cd-enter-right' {
  12. 0% {
  13. opacity: 0;
  14. -moz-transform: translateX(100%); }
  15. 100% {
  16. opacity: 1;
  17. -moz-transform: translateX(0%); } }
  18. @keyframes 'cd-enter-right' {
  19. 0% {
  20. opacity: 0;
  21. transform: translateX(100%); }
  22. 100% {
  23. opacity: 1;
  24. transform: translateX(0%); } }
  25. @-webkit-keyframes 'cd-enter-left' {
  26. 0% {
  27. opacity: 0;
  28. -webkit-transform: translateX(-100%); }
  29. 100% {
  30. opacity: 1;
  31. -webkit-transform: translateX(0%); } }
  32. @-moz-keyframes 'cd-enter-left' {
  33. 0% {
  34. opacity: 0;
  35. -moz-transform: translateX(-100%); }
  36. 100% {
  37. opacity: 1;
  38. -moz-transform: translateX(0%); } }
  39. @keyframes 'cd-enter-left' {
  40. 0% {
  41. opacity: 0;
  42. transform: translateX(-100%); }
  43. 100% {
  44. opacity: 1;
  45. transform: translateX(0%); } }
  46. .cd-horizontal-timeline {
  47. opacity: 0;
  48. margin: 2em auto;
  49. transition: opacity 0.2s; }
  50. .cd-horizontal-timeline::before {
  51. content: 'mobile';
  52. display: none; }
  53. .cd-horizontal-timeline .timeline {
  54. position: relative;
  55. height: 100px;
  56. width: 90%;
  57. max-width: 800px;
  58. margin: 0 auto; }
  59. .cd-horizontal-timeline .events-wrapper {
  60. position: relative;
  61. height: 100%;
  62. margin: 0 40px;
  63. overflow: hidden; }
  64. .cd-horizontal-timeline .events-wrapper::after {
  65. content: '';
  66. position: absolute;
  67. z-index: 2;
  68. top: 0;
  69. height: 100%;
  70. width: 20px;
  71. right: 0; }
  72. .cd-horizontal-timeline .events-wrapper::before {
  73. content: '';
  74. position: absolute;
  75. z-index: 2;
  76. top: 0;
  77. height: 100%;
  78. width: 20px;
  79. left: 0; }
  80. .cd-horizontal-timeline .events {
  81. position: absolute;
  82. z-index: 1;
  83. left: 0;
  84. top: 39px;
  85. height: 2px;
  86. background: #dfdfdf;
  87. transition: transform 0.4s; }
  88. .cd-horizontal-timeline .events a {
  89. position: absolute;
  90. bottom: 0;
  91. z-index: 2;
  92. text-align: center;
  93. font-size: 1.3rem;
  94. padding-bottom: 15px;
  95. color: #383838;
  96. transform: translateZ(0); }
  97. .cd-horizontal-timeline .events a::after {
  98. content: '';
  99. position: absolute;
  100. left: 50%;
  101. right: auto;
  102. transform: translateX(-50%);
  103. bottom: -5px;
  104. height: 12px;
  105. width: 12px;
  106. border-radius: 50%;
  107. border: 2px solid #dfdfdf;
  108. background-color: #f8f8f8;
  109. transition: background-color 0.3s, border-color 0.3s; }
  110. .cd-horizontal-timeline .events a.selected {
  111. pointer-events: none; }
  112. .cd-horizontal-timeline .events a.selected::after {
  113. background-color: #967ADC;
  114. border-color: #967ADC; }
  115. .cd-horizontal-timeline .events a.older-event::after {
  116. border-color: #967ADC; }
  117. .cd-horizontal-timeline .filling-line {
  118. position: absolute;
  119. z-index: 1;
  120. left: 0;
  121. top: 0;
  122. height: 100%;
  123. width: 100%;
  124. background-color: #967ADC;
  125. transform: scaleX(0);
  126. transform-origin: left center;
  127. transition: transform 0.3s; }
  128. .cd-horizontal-timeline .events-content {
  129. position: relative;
  130. width: 100%;
  131. margin: 2em 0;
  132. overflow: hidden;
  133. transition: height 0.4s; }
  134. .cd-horizontal-timeline .events-content li {
  135. position: absolute;
  136. z-index: 1;
  137. width: 100%;
  138. left: 0;
  139. top: 0;
  140. transform: translateX(-100%);
  141. padding: 0 5%;
  142. opacity: 0;
  143. animation-duration: 0.4s;
  144. animation-timing-function: ease-in-out; }
  145. .cd-horizontal-timeline .events-content li > * {
  146. max-width: 800px;
  147. margin: 0 auto; }
  148. .cd-horizontal-timeline .events-content li.selected {
  149. position: relative;
  150. z-index: 2;
  151. opacity: 1;
  152. transform: translateX(0); }
  153. .cd-horizontal-timeline .events-content li.enter-right {
  154. animation-name: cd-enter-right; }
  155. .cd-horizontal-timeline .events-content li.leave-right {
  156. animation-name: cd-enter-right;
  157. animation-direction: reverse; }
  158. .cd-horizontal-timeline .events-content li.enter-left {
  159. animation-name: cd-enter-left; }
  160. .cd-horizontal-timeline .events-content li.leave-left {
  161. animation-name: cd-enter-left;
  162. animation-direction: reverse; }
  163. .cd-horizontal-timeline.loaded {
  164. opacity: 1; }
  165. .no-touch .cd-horizontal-timeline .events a:hover::after {
  166. background-color: #967ADC;
  167. border-color: #967ADC; }
  168. .no-touch .cd-timeline-navigation a:hover {
  169. border-color: #967ADC; }
  170. .no-touch .cd-timeline-navigation a.inactive:hover {
  171. border-color: #dfdfdf; }
  172. .cd-timeline-navigation a {
  173. position: absolute;
  174. z-index: 1;
  175. top: 50%;
  176. bottom: auto;
  177. transform: translateY(-50%);
  178. height: 34px;
  179. width: 34px;
  180. border-radius: 50%;
  181. border: 2px solid #dfdfdf;
  182. overflow: hidden;
  183. color: transparent;
  184. text-indent: 100%;
  185. white-space: nowrap;
  186. transition: border-color 0.3s; }
  187. .cd-timeline-navigation a::after {
  188. content: '';
  189. position: absolute;
  190. height: 16px;
  191. width: 16px;
  192. left: 50%;
  193. top: 50%;
  194. bottom: auto;
  195. right: auto;
  196. transform: translateX(-50%) translateY(-50%);
  197. background: url(../../images/svg/cd-arrow.svg) no-repeat 0 0; }
  198. .cd-timeline-navigation a.prev {
  199. left: 0;
  200. transform: translateY(-50%) rotate(180deg); }
  201. .cd-timeline-navigation a.next {
  202. right: 0; }
  203. .cd-timeline-navigation a.inactive {
  204. cursor: not-allowed; }
  205. .cd-timeline-navigation a.inactive::after {
  206. background-position: 0 -16px; }
  207. @media only screen and (min-width: 1100px) {
  208. .cd-horizontal-timeline {
  209. margin: 6em auto; }
  210. .cd-horizontal-timeline::before {
  211. content: 'desktop'; } }
  212. @media only screen and (min-width: 768px) {
  213. .cd-horizontal-timeline .events-content h2 {
  214. font-size: 4rem;
  215. font-weight: 800; }
  216. .cd-horizontal-timeline .events-content em {
  217. font-size: 1.5rem; } }
  218. /* Timeline */
  219. .timeline {
  220. position: relative;
  221. display: block;
  222. margin: 0;
  223. padding: 10px 0;
  224. list-style: none; }
  225. .timeline:after {
  226. content: " ";
  227. display: table;
  228. clear: both; }
  229. .timeline:before {
  230. content: " ";
  231. display: table; }
  232. .timeline > li {
  233. list-style: none; }
  234. .timeline > li:nth-child(even) {
  235. float: left;
  236. clear: left; }
  237. .timeline > li:nth-child(odd) {
  238. float: right;
  239. clear: right; }
  240. .timeline .media {
  241. border-bottom: 1px solid #eee;
  242. font-size: 13px; }
  243. .timeline .media p {
  244. font-size: 13px; }
  245. .timeline .media:last-child {
  246. border-bottom: 0; }
  247. .timeline-line + .timeline-item {
  248. margin-top: -20px; }
  249. .timeline-group {
  250. display: block;
  251. position: relative;
  252. margin: 20px 0;
  253. text-align: center;
  254. float: none !important;
  255. z-index: 1; }
  256. .timeline-poster {
  257. margin-top: -20px; }
  258. .timeline-poster .btn-link {
  259. color: #a1aab0; }
  260. .timeline-poster .btn-link:active {
  261. color: #3e5771; }
  262. .timeline-poster .btn-link:focus {
  263. color: #3e5771; }
  264. .timeline-poster .btn-link:hover {
  265. color: #3e5771; }
  266. .timeline-poster .btn-link.active {
  267. color: #3e5771; }
  268. #timeline.timeline-center .timeline-line {
  269. display: inline-block;
  270. position: absolute;
  271. top: 0;
  272. bottom: 0;
  273. left: 50%;
  274. width: 4px;
  275. background-color: #ddd;
  276. transform: translate(-50%, 0); }
  277. #timeline.timeline-center .timeline-item {
  278. position: relative;
  279. display: inline-block;
  280. width: 50%;
  281. padding: 0 50px 35px; }
  282. #timeline.timeline-center .timeline-item:nth-child(even) {
  283. padding: 0px 35px 50px 0px; }
  284. #timeline.timeline-center .timeline-item:nth-child(even):after {
  285. content: '';
  286. position: absolute;
  287. right: 19px;
  288. top: 10px;
  289. width: 0;
  290. height: 0;
  291. border-top: 12px solid transparent;
  292. border-bottom: 12px solid transparent;
  293. border-left: 12px solid #ccc;
  294. z-index: 1;
  295. right: 25px;
  296. top: 21px;
  297. border-top: 11px solid transparent;
  298. border-bottom: 11px solid transparent;
  299. border-left: 11px solid #fff; }
  300. #timeline.timeline-center .timeline-item:nth-child(even):before {
  301. content: '';
  302. position: absolute;
  303. right: 24px;
  304. top: 20px;
  305. width: 0;
  306. height: 0;
  307. border-top: 12px solid transparent;
  308. border-bottom: 12px solid transparent;
  309. border-left: 12px solid #ccc;
  310. z-index: 1; }
  311. #timeline.timeline-center .timeline-item:nth-child(even) > .timeline-badge {
  312. right: -20px; }
  313. #timeline.timeline-center .timeline-item:nth-child(odd) {
  314. padding: 0px 0px 50px 35px; }
  315. #timeline.timeline-center .timeline-item:nth-child(odd):after {
  316. content: '';
  317. position: absolute;
  318. left: 19px;
  319. top: 10px;
  320. width: 0;
  321. height: 0;
  322. border-top: 12px solid transparent;
  323. border-bottom: 12px solid transparent;
  324. border-right: 12px solid #ccc;
  325. z-index: 1;
  326. left: 25px;
  327. top: 21px;
  328. border-top: 11px solid transparent;
  329. border-bottom: 11px solid transparent;
  330. border-right: 11px solid #fff; }
  331. #timeline.timeline-center .timeline-item:nth-child(odd):before {
  332. content: '';
  333. position: absolute;
  334. left: 24px;
  335. top: 20px;
  336. width: 0;
  337. height: 0;
  338. border-top: 12px solid transparent;
  339. border-bottom: 12px solid transparent;
  340. border-right: 12px solid #ccc;
  341. z-index: 1; }
  342. #timeline.timeline-center .timeline-item:nth-child(odd) > .timeline-badge {
  343. left: -20px; }
  344. #timeline.timeline-center .timeline-item > .timeline-badge {
  345. position: absolute;
  346. top: 12px;
  347. z-index: 1; }
  348. #timeline.timeline-center .timeline-item > .timeline-badge > span {
  349. display: inline-block;
  350. width: 40px;
  351. height: 40px;
  352. border-radius: 50%;
  353. text-align: center;
  354. text-decoration: none;
  355. transition: all ease .3s; }
  356. #timeline.timeline-center .timeline-item > .timeline-badge > span i {
  357. color: #FFFFFF;
  358. font-size: 1.6rem;
  359. display: block;
  360. line-height: 40px;
  361. top: 0; }
  362. #timeline.timeline-center .timeline-item > .timeline-badge > span:active {
  363. transform: scale(1.1); }
  364. #timeline.timeline-center .timeline-item > .timeline-badge > span:focus {
  365. transform: scale(1.1); }
  366. #timeline.timeline-center .timeline-item > .timeline-badge > span:hover {
  367. transform: scale(1.1); }
  368. #timeline.timeline-center .timeline-item > .timeline-badge > a.active {
  369. transform: scale(1.1); }
  370. #timeline.timeline-center .timeline-item > .timeline-panel {
  371. position: relative;
  372. background-color: #fff;
  373. border: 1px solid #ddd;
  374. border-radius: 4px; }
  375. #timeline.timeline-center .timeline-item > .timeline-panel:hover .timeline-actions {
  376. display: block; }
  377. #timeline.timeline-right .timeline-line {
  378. display: inline-block;
  379. position: absolute;
  380. top: 0;
  381. bottom: 0;
  382. right: 12px;
  383. width: 4px;
  384. background-color: #ddd;
  385. transform: translate(-50%, 0); }
  386. #timeline.timeline-right .timeline-group {
  387. text-align: right; }
  388. #timeline.timeline-right .timeline-item {
  389. position: relative;
  390. display: inline-block;
  391. width: 100%;
  392. padding: 0px 43px 35px 0px; }
  393. #timeline.timeline-right .timeline-item:after {
  394. content: '';
  395. position: absolute;
  396. right: 33px;
  397. top: 21px;
  398. width: 0;
  399. height: 0;
  400. z-index: 1;
  401. border-top: 11px solid transparent;
  402. border-bottom: 11px solid transparent;
  403. border-left: 11px solid #fff; }
  404. #timeline.timeline-right .timeline-item:before {
  405. content: '';
  406. position: absolute;
  407. right: 32px;
  408. top: 20px;
  409. width: 0;
  410. height: 0;
  411. border-top: 12px solid transparent;
  412. border-bottom: 12px solid transparent;
  413. border-left: 12px solid #ccc;
  414. z-index: 1; }
  415. #timeline.timeline-right .timeline-item > .timeline-badge {
  416. right: -8px; }
  417. #timeline.timeline-right .timeline-item > .timeline-badge {
  418. position: absolute;
  419. top: 12px;
  420. z-index: 1; }
  421. #timeline.timeline-right .timeline-item > .timeline-badge > span {
  422. display: inline-block;
  423. width: 40px;
  424. height: 40px;
  425. border-radius: 50%;
  426. text-align: center;
  427. text-decoration: none;
  428. transition: all ease .3s; }
  429. #timeline.timeline-right .timeline-item > .timeline-badge > span i {
  430. color: #FFFFFF;
  431. font-size: 1.6rem;
  432. display: block;
  433. line-height: 40px;
  434. top: 0; }
  435. #timeline.timeline-right .timeline-item > .timeline-badge > span:active {
  436. transform: scale(1.1); }
  437. #timeline.timeline-right .timeline-item > .timeline-badge > span:focus {
  438. transform: scale(1.1); }
  439. #timeline.timeline-right .timeline-item > .timeline-badge > span:hover {
  440. transform: scale(1.1); }
  441. #timeline.timeline-right .timeline-item > .timeline-badge > a.active {
  442. transform: scale(1.1); }
  443. #timeline.timeline-right .timeline-item > .timeline-panel {
  444. position: relative;
  445. background-color: #fff;
  446. border: 1px solid #ddd;
  447. border-radius: 4px; }
  448. #timeline.timeline-right .timeline-item > .timeline-panel:hover .timeline-actions {
  449. display: block; }
  450. #timeline.timeline-right .timeline-item.block:nth-child(even):before {
  451. right: 8px;
  452. left: auto; }
  453. #timeline.timeline-right .timeline-item.block:nth-child(even):after {
  454. right: 11px;
  455. left: auto; }
  456. #timeline.timeline-right .timeline-item.block:nth-child(odd):after {
  457. right: 8px;
  458. right: auto; }
  459. #timeline.timeline-left .timeline-line {
  460. display: inline-block;
  461. position: absolute;
  462. top: 0;
  463. bottom: 0;
  464. left: 12px;
  465. width: 4px;
  466. background-color: #ddd;
  467. transform: translate(-50%, 0); }
  468. #timeline.timeline-left .timeline-group {
  469. text-align: left; }
  470. #timeline.timeline-left .timeline-item {
  471. position: relative;
  472. display: inline-block;
  473. width: 100%;
  474. padding: 0 0 35px 43px; }
  475. #timeline.timeline-left .timeline-item:after {
  476. content: '';
  477. position: absolute;
  478. left: 33px;
  479. top: 21px;
  480. width: 0;
  481. height: 0;
  482. z-index: 1;
  483. border-top: 11px solid transparent;
  484. border-bottom: 11px solid transparent;
  485. border-right: 11px solid #fff; }
  486. #timeline.timeline-left .timeline-item:before {
  487. content: '';
  488. position: absolute;
  489. left: 32px;
  490. top: 20px;
  491. width: 0;
  492. height: 0;
  493. border-top: 12px solid transparent;
  494. border-bottom: 12px solid transparent;
  495. border-right: 12px solid #ccc;
  496. z-index: 1; }
  497. #timeline.timeline-left .timeline-item > .timeline-badge {
  498. left: -8px; }
  499. #timeline.timeline-left .timeline-item > .timeline-badge {
  500. position: absolute;
  501. top: 12px;
  502. z-index: 1; }
  503. #timeline.timeline-left .timeline-item > .timeline-badge > span {
  504. display: inline-block;
  505. width: 40px;
  506. height: 40px;
  507. border-radius: 50%;
  508. text-align: center;
  509. text-decoration: none;
  510. transition: all ease .3s; }
  511. #timeline.timeline-left .timeline-item > .timeline-badge > span i {
  512. color: #FFFFFF;
  513. font-size: 1.6rem;
  514. display: block;
  515. line-height: 40px;
  516. top: 0; }
  517. #timeline.timeline-left .timeline-item > .timeline-badge > span:active {
  518. transform: scale(1.1); }
  519. #timeline.timeline-left .timeline-item > .timeline-badge > span:focus {
  520. transform: scale(1.1); }
  521. #timeline.timeline-left .timeline-item > .timeline-badge > span:hover {
  522. transform: scale(1.1); }
  523. #timeline.timeline-left .timeline-item > .timeline-badge > a.active {
  524. transform: scale(1.1); }
  525. #timeline.timeline-left .timeline-item > .timeline-panel {
  526. position: relative;
  527. background-color: #fff;
  528. border: 1px solid #ddd;
  529. border-radius: 4px; }
  530. #timeline.timeline-left .timeline-item > .timeline-panel:hover .timeline-actions {
  531. display: block; }
  532. #timeline .timeline-item.block:nth-child(even) {
  533. width: 100% !important;
  534. margin-top: 5px; }
  535. #timeline .timeline-item.block:nth-child(even):after {
  536. left: 50%;
  537. right: auto;
  538. top: -11px;
  539. border: 0;
  540. border-left: 12px solid transparent;
  541. border-right: 12px solid transparent;
  542. border-bottom: 12px solid #ccc;
  543. transform: translate(-50%, 0);
  544. top: -10px;
  545. border: 0;
  546. border-left: 11px solid transparent;
  547. border-right: 11px solid transparent;
  548. border-bottom: 11px solid #fff; }
  549. #timeline .timeline-item.block:nth-child(even):before {
  550. left: 50%;
  551. right: auto;
  552. top: -11px;
  553. border: 0;
  554. border-left: 12px solid transparent;
  555. border-right: 12px solid transparent;
  556. border-bottom: 12px solid #ccc;
  557. transform: translate(-50%, 0); }
  558. #timeline .timeline-item.block:nth-child(even) > .timeline-badge {
  559. top: -28px;
  560. left: 50%;
  561. right: auto;
  562. transform: translate(-50%, 0); }
  563. #timeline .timeline-item.block:nth-child(odd) {
  564. width: 100% !important;
  565. margin-top: 5px; }
  566. #timeline .timeline-item.block:nth-child(odd):after {
  567. left: 50%;
  568. right: auto;
  569. top: -11px;
  570. border: 0;
  571. border-left: 12px solid transparent;
  572. border-right: 12px solid transparent;
  573. border-bottom: 12px solid #ccc;
  574. transform: translate(-50%, 0);
  575. top: -10px;
  576. border: 0;
  577. border-left: 11px solid transparent;
  578. border-right: 11px solid transparent;
  579. border-bottom: 11px solid #fff; }
  580. #timeline .timeline-item.block:nth-child(odd):before {
  581. left: 50%;
  582. right: auto;
  583. top: -11px;
  584. border: 0;
  585. border-left: 12px solid transparent;
  586. border-right: 12px solid transparent;
  587. border-bottom: 12px solid #ccc;
  588. transform: translate(-50%, 0); }
  589. #timeline .timeline-item.block:nth-child(odd) > .timeline-badge {
  590. top: -28px;
  591. left: 50%;
  592. right: auto;
  593. transform: translate(-50%, 0); }
  594. .timeline-actions {
  595. display: none; }
  596. .timeline-content {
  597. padding: 15px; }
  598. .timeline-footer {
  599. padding: 15px;
  600. border-top: 1px solid #eee;
  601. background-color: #fbfcfc;
  602. border-radius: 0 0 5px 5px; }
  603. .timeline-heading {
  604. padding: 15px;
  605. font-size: 20px; }
  606. .timeline-liveliness {
  607. padding: 15px;
  608. border-top: 1px solid #eee;
  609. background-color: #fbfcfc; }
  610. .timeline-heading + .timeline-content {
  611. padding-top: 0; }
  612. .timeline-date {
  613. font-size: 14px;
  614. color: #aaa; }
  615. .timeline-embed {
  616. position: relative;
  617. padding-bottom: 56.25%;
  618. padding-top: 25px;
  619. height: 0; }
  620. .timeline-embed .embed-element {
  621. position: absolute;
  622. top: 0;
  623. left: 0;
  624. width: 100%;
  625. height: 100%; }
  626. .timeline-embed embed {
  627. position: absolute;
  628. top: 0;
  629. left: 0;
  630. width: 100%;
  631. height: 100%; }
  632. .timeline-embed iframe {
  633. position: absolute;
  634. top: 0;
  635. left: 0;
  636. width: 100%;
  637. height: 100%; }
  638. .timeline-embed object {
  639. position: absolute;
  640. top: 0;
  641. left: 0;
  642. width: 100%;
  643. height: 100%; }
  644. .timeline-img {
  645. display: block;
  646. padding: 5px 0; }
  647. .timeline-img.first {
  648. margin-right: -10px; }
  649. .timeline-img.middle {
  650. margin-right: -10px;
  651. margin-left: -10px; }
  652. .timeline-img.last {
  653. margin-left: -10px; }
  654. .timeline-resume {
  655. border-top: 1px solid #eee;
  656. background-color: #fbfcfc; }
  657. .timeline-avatar {
  658. margin-top: -2px;
  659. margin-right: 10px; }
  660. .timeline-title {
  661. margin: 0;
  662. padding: 0;
  663. font-size: 14px;
  664. line-height: 1.42857;
  665. font-weight: 600;
  666. color: #3e5771;
  667. text-decoration: none; }
  668. .timeline-title > small {
  669. display: block;
  670. font-size: 12px;
  671. line-height: 1.5;
  672. color: #a1aab0;
  673. overflow: hidden;
  674. text-overflow: ellipsis;
  675. white-space: nowrap; }
  676. .wrapkit-content-rtl .timeline-avatar {
  677. margin-right: 0;
  678. margin-left: 10px; }
  679. @media (min-width: 992px) {
  680. .timeline-item:nth-child(even) {
  681. padding: 0px 35px 50px 0px; }
  682. .timeline-item:nth-child(odd) {
  683. padding: 0 0px 50px 35px; } }
  684. @media (max-width: 991px) {
  685. .timeline {
  686. padding-left: 15px; }
  687. .timeline-line {
  688. left: 15px; }
  689. .timeline-group {
  690. display: inline-block;
  691. margin-left: -22px; }
  692. .timeline-item {
  693. width: 100% !important;
  694. margin-top: 0 !important;
  695. padding-right: 10px; }
  696. .timeline-item:nth-child(even):after {
  697. left: 19px;
  698. top: 10px;
  699. border: 0;
  700. border-top: 12px solid transparent;
  701. border-bottom: 12px solid transparent;
  702. border-right: 12px solid #ccc;
  703. transform: translate(0, 0);
  704. left: 40px;
  705. top: 21px;
  706. border-top: 11px solid transparent;
  707. border-bottom: 11px solid transparent;
  708. border-right: 11px solid #fff; }
  709. .timeline-item:nth-child(even):before {
  710. left: 39px;
  711. top: 20px;
  712. border: 0;
  713. border-top: 12px solid transparent;
  714. border-bottom: 12px solid transparent;
  715. border-right: 12px solid #ccc;
  716. transform: translate(0, 0); }
  717. .timeline-item:nth-child(even) > .timeline-badge {
  718. top: 12px;
  719. left: -20px;
  720. right: auto;
  721. transform: translate(0, 0); }
  722. .timeline-item:nth-child(odd):after {
  723. left: 19px;
  724. top: 10px;
  725. border: 0;
  726. border-top: 12px solid transparent;
  727. border-bottom: 12px solid transparent;
  728. border-right: 12px solid #ccc;
  729. transform: translate(0, 0);
  730. left: 40px;
  731. top: 21px;
  732. border-top: 11px solid transparent;
  733. border-bottom: 11px solid transparent;
  734. border-right: 11px solid #fff; }
  735. .timeline-item:nth-child(odd):before {
  736. left: 39px;
  737. top: 20px;
  738. border: 0;
  739. border-top: 12px solid transparent;
  740. border-bottom: 12px solid transparent;
  741. border-right: 12px solid #ccc;
  742. transform: translate(0, 0); }
  743. .timeline-item:nth-child(odd) > .timeline-badge {
  744. top: 12px;
  745. left: -20px;
  746. right: auto;
  747. transform: translate(0, 0); }
  748. .timeline-item.block:nth-child(even) {
  749. padding-bottom: 0; }
  750. .timeline-item.block:nth-child(even):after {
  751. left: 19px;
  752. top: 10px;
  753. border: 0;
  754. border-top: 12px solid transparent;
  755. border-bottom: 12px solid transparent;
  756. border-right: 12px solid #ccc;
  757. transform: translate(0, 0);
  758. left: 20px;
  759. top: 11px;
  760. border-top: 11px solid transparent;
  761. border-bottom: 11px solid transparent;
  762. border-right: 11px solid #fff; }
  763. .timeline-item.block:nth-child(even):before {
  764. left: 19px;
  765. top: 10px;
  766. border: 0;
  767. border-top: 12px solid transparent;
  768. border-bottom: 12px solid transparent;
  769. border-right: 12px solid #ccc;
  770. transform: translate(0, 0); }
  771. .timeline-item.block:nth-child(even) > .timeline-badge {
  772. top: 12px;
  773. left: -6px;
  774. right: auto;
  775. transform: translate(0, 0); }
  776. .timeline-item.block:nth-child(odd) {
  777. padding-bottom: 0; }
  778. .timeline-item.block:nth-child(odd):after {
  779. left: 19px;
  780. top: 10px;
  781. border: 0;
  782. border-top: 12px solid transparent;
  783. border-bottom: 12px solid transparent;
  784. border-right: 12px solid #ccc;
  785. transform: translate(0, 0);
  786. left: 20px;
  787. top: 11px;
  788. border-top: 11px solid transparent;
  789. border-bottom: 11px solid transparent;
  790. border-right: 11px solid #fff; }
  791. .timeline-item.block:nth-child(odd):before {
  792. left: 19px;
  793. top: 10px;
  794. border: 0;
  795. border-top: 12px solid transparent;
  796. border-bottom: 12px solid transparent;
  797. border-right: 12px solid #ccc;
  798. transform: translate(0, 0); }
  799. .timeline-item.block:nth-child(odd) > .timeline-badge {
  800. top: 12px;
  801. left: -6px;
  802. right: auto;
  803. transform: translate(0, 0); } }
  804. @media (max-width: 991px) {
  805. #timeline.timeline-wrapper .timeline {
  806. padding: 0; }
  807. #timeline.timeline-wrapper .timeline .card-block {
  808. text-align: left; }
  809. #timeline.timeline-wrapper .timeline-line {
  810. display: inline-block;
  811. position: absolute;
  812. top: 0;
  813. bottom: 0;
  814. left: 50%;
  815. width: 4px;
  816. background-color: #ddd;
  817. transform: translate(-50%, 0); }
  818. #timeline.timeline-wrapper .timeline-group {
  819. display: block;
  820. margin-left: -6px;
  821. text-align: center; }
  822. #timeline.timeline-wrapper .timeline-item {
  823. display: block;
  824. padding: 20px 0 20px !important; }
  825. #timeline.timeline-wrapper .timeline-item:nth-child(even) {
  826. float: none;
  827. clear: both; }
  828. #timeline.timeline-wrapper .timeline-item:nth-child(even):after {
  829. display: none; }
  830. #timeline.timeline-wrapper .timeline-item:nth-child(even):before {
  831. display: none; }
  832. #timeline.timeline-wrapper .timeline-item:nth-child(odd) {
  833. float: none;
  834. clear: both; }
  835. #timeline.timeline-wrapper .timeline-item:nth-child(odd):after {
  836. display: none; }
  837. #timeline.timeline-wrapper .timeline-item:nth-child(odd):before {
  838. display: none; }
  839. #timeline.timeline-wrapper .timeline-item > .timeline-badge {
  840. top: 0px !important;
  841. left: 45% !important; }
  842. #timeline.timeline-wrapper .timeline-item.block:nth-child(even) {
  843. float: none;
  844. clear: both; }
  845. #timeline.timeline-wrapper .timeline-item.block:nth-child(even):after {
  846. display: none; }
  847. #timeline.timeline-wrapper .timeline-item.block:nth-child(even):before {
  848. display: none; }
  849. #timeline.timeline-wrapper .timeline-item.block:nth-child(odd) {
  850. float: none;
  851. clear: both; }
  852. #timeline.timeline-wrapper .timeline-item.block:nth-child(odd):after {
  853. display: none; }
  854. #timeline.timeline-wrapper .timeline-item.block:nth-child(odd):before {
  855. display: none; }
  856. #timeline.timeline-wrapper .timeline-item.timeline-poster > .timeline-badge {
  857. display: none; } }
  858. @media (max-width: 543px) {
  859. .timeline-item > .timeline-badge {
  860. top: 0px !important;
  861. left: 44% !important; } }