芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/breadwinnerv2/assets/rtl/pages/timeline.css
/* -------------------------------- Horizontal Timeline -------------------------------- */ @-webkit-keyframes 'cd-enter-right' { 0% { opacity : 0; -webkit-transform : translateX(-100%); } 100% { opacity : 1; -webkit-transform : translateX(0%); } } @-moz-keyframes 'cd-enter-right' { 0% { opacity : 0; -moz-transform : translateX(-100%); } 100% { opacity : 1; -moz-transform : translateX(0%); } } @-o-keyframes 'cd-enter-right' { 0% { opacity : 0; -o-transform : translateX(-100%); transform : translateX(-100%); } 100% { opacity : 1; -o-transform : translateX(0%); transform : translateX(0%); } } @keyframes 'cd-enter-right' { 0% { opacity : 0; -webkit-transform : translateX(-100%); -moz-transform : translateX(-100%); -o-transform : translateX(-100%); transform : translateX(-100%); } 100% { opacity : 1; -webkit-transform : translateX(0%); -moz-transform : translateX(0%); -o-transform : translateX(0%); transform : translateX(0%); } } @-webkit-keyframes 'cd-enter-left' { 0% { opacity : 0; -webkit-transform : translateX(100%); } 100% { opacity : 1; -webkit-transform : translateX(0%); } } @-moz-keyframes 'cd-enter-left' { 0% { opacity : 0; -moz-transform : translateX(100%); } 100% { opacity : 1; -moz-transform : translateX(0%); } } @-o-keyframes 'cd-enter-left' { 0% { opacity : 0; -o-transform : translateX(100%); transform : translateX(100%); } 100% { opacity : 1; -o-transform : translateX(0%); transform : translateX(0%); } } @keyframes 'cd-enter-left' { 0% { opacity : 0; -webkit-transform : translateX(100%); -moz-transform : translateX(100%); -o-transform : translateX(100%); transform : translateX(100%); } 100% { opacity : 1; -webkit-transform : translateX(0%); -moz-transform : translateX(0%); -o-transform : translateX(0%); transform : translateX(0%); } } .cd-horizontal-timeline { opacity : 0; margin : 2em auto; -webkit-transition : opacity 0.2s; -moz-transition : opacity 0.2s; -o-transition : opacity 0.2s; transition : opacity 0.2s; } .cd-horizontal-timeline::before { content : 'mobile'; display : none; } .cd-horizontal-timeline .timeline { position : relative; height : 100px; width : 90%; max-width : 800px; margin : 0 auto; } .cd-horizontal-timeline .events-wrapper { position : relative; height : 100%; margin : 0 40px; overflow : hidden; } .cd-horizontal-timeline .events-wrapper::after { content : ''; position : absolute; z-index : 2; top : 0; height : 100%; width : 20px; left : 0; } .cd-horizontal-timeline .events-wrapper::before { content : ''; position : absolute; z-index : 2; top : 0; height : 100%; width : 20px; right : 0; } .cd-horizontal-timeline .events { position : absolute; z-index : 1; right : 0; top : 39px; height : 2px; background : #DFDFDF; -webkit-transition : -webkit-transform 0.4s; transition : -webkit-transform 0.4s; -moz-transition : transform 0.4s, -moz-transform 0.4s; -o-transition : transform 0.4s, -o-transform 0.4s; transition : transform 0.4s; transition : transform 0.4s, -webkit-transform 0.4s, -moz-transform 0.4s, -o-transform 0.4s; } .cd-horizontal-timeline .events a { position : absolute; bottom : 0; z-index : 2; text-align : center; font-size : 1.3rem; padding-bottom : 15px; color : #383838; -webkit-transform : translateZ(0); -moz-transform : translateZ(0); transform : translateZ(0); } .cd-horizontal-timeline .events a::after { content : ''; position : absolute; right : 50%; left : auto; -webkit-transform : translateX(50%); -moz-transform : translateX(50%); -ms-transform : translateX(50%); -o-transform : translateX(50%); transform : translateX(50%); bottom : -5px; height : 12px; width : 12px; border-radius : 50%; border : 2px solid #DFDFDF; background-color : #F8F8F8; -webkit-transition : background-color 0.3s, border-color 0.3s; -moz-transition : background-color 0.3s, border-color 0.3s; -o-transition : background-color 0.3s, border-color 0.3s; transition : background-color 0.3s, border-color 0.3s; } .cd-horizontal-timeline .events a.selected { pointer-events : none; } .cd-horizontal-timeline .events a.selected::after { background-color : #967ADC; border-color : #967ADC; } .cd-horizontal-timeline .events a.older-event::after { border-color : #967ADC; } .cd-horizontal-timeline .filling-line { position : absolute; z-index : 1; right : 0; top : 0; height : 100%; width : 100%; background-color : #967ADC; -webkit-transform : scaleX(0); -moz-transform : scaleX(0); -ms-transform : scaleX(0); -o-transform : scaleX(0); transform : scaleX(0); -webkit-transform-origin : right center; -moz-transform-origin : right center; -ms-transform-origin : right center; -o-transform-origin : right center; transform-origin : right center; -webkit-transition : -webkit-transform 0.3s; transition : -webkit-transform 0.3s; -moz-transition : transform 0.3s, -moz-transform 0.3s; -o-transition : transform 0.3s, -o-transform 0.3s; transition : transform 0.3s; transition : transform 0.3s, -webkit-transform 0.3s, -moz-transform 0.3s, -o-transform 0.3s; } .cd-horizontal-timeline .events-content { position : relative; width : 100%; margin : 2em 0; overflow : hidden; -webkit-transition : height 0.4s; -moz-transition : height 0.4s; -o-transition : height 0.4s; transition : height 0.4s; } .cd-horizontal-timeline .events-content li { position : absolute; z-index : 1; width : 100%; right : 0; top : 0; -webkit-transform : translateX(100%); -moz-transform : translateX(100%); -ms-transform : translateX(100%); -o-transform : translateX(100%); transform : translateX(100%); padding : 0 5%; opacity : 0; -webkit-animation-duration : 0.4s; -moz-animation-duration : 0.4s; -o-animation-duration : 0.4s; animation-duration : 0.4s; -webkit-animation-timing-function : ease-in-out; -moz-animation-timing-function : ease-in-out; -o-animation-timing-function : ease-in-out; animation-timing-function : ease-in-out; } .cd-horizontal-timeline .events-content li > * { max-width : 800px; margin : 0 auto; } .cd-horizontal-timeline .events-content li.selected { position : relative; z-index : 2; opacity : 1; -webkit-transform : translateX(0); -moz-transform : translateX(0); -ms-transform : translateX(0); -o-transform : translateX(0); transform : translateX(0); } .cd-horizontal-timeline .events-content li.enter-right { -webkit-animation-name : cd-enter-right; -moz-animation-name : cd-enter-right; -o-animation-name : cd-enter-right; animation-name : cd-enter-right; } .cd-horizontal-timeline .events-content li.leave-right { -webkit-animation-name : cd-enter-right; -moz-animation-name : cd-enter-right; -o-animation-name : cd-enter-right; animation-name : cd-enter-right; -webkit-animation-direction : reverse; -moz-animation-direction : reverse; -o-animation-direction : reverse; animation-direction : reverse; } .cd-horizontal-timeline .events-content li.enter-left { -webkit-animation-name : cd-enter-left; -moz-animation-name : cd-enter-left; -o-animation-name : cd-enter-left; animation-name : cd-enter-left; } .cd-horizontal-timeline .events-content li.leave-left { -webkit-animation-name : cd-enter-left; -moz-animation-name : cd-enter-left; -o-animation-name : cd-enter-left; animation-name : cd-enter-left; -webkit-animation-direction : reverse; -moz-animation-direction : reverse; -o-animation-direction : reverse; animation-direction : reverse; } .cd-horizontal-timeline.loaded { opacity : 1; } .no-touch .cd-horizontal-timeline .events a:hover::after { background-color : #967ADC; border-color : #967ADC; } .no-touch .cd-timeline-navigation a:hover { border-color : #967ADC; } .no-touch .cd-timeline-navigation a.inactive:hover { border-color : #DFDFDF; } .cd-timeline-navigation a { position : absolute; z-index : 1; top : 50%; bottom : auto; -webkit-transform : translateY(-50%); -moz-transform : translateY(-50%); -ms-transform : translateY(-50%); -o-transform : translateY(-50%); transform : translateY(-50%); height : 34px; width : 34px; border-radius : 50%; border : 2px solid #DFDFDF; overflow : hidden; color : transparent; text-indent : 100%; white-space : nowrap; -webkit-transition : border-color 0.3s; -moz-transition : border-color 0.3s; -o-transition : border-color 0.3s; transition : border-color 0.3s; } .cd-timeline-navigation a::after { content : ''; position : absolute; height : 16px; width : 16px; right : 50%; top : 50%; bottom : auto; left : auto; -webkit-transform : translateX(50%) translateY(-50%); -moz-transform : translateX(50%) translateY(-50%); -ms-transform : translateX(50%) translateY(-50%); -o-transform : translateX(50%) translateY(-50%); transform : translateX(50%) translateY(-50%); background : url(../../images/svg/cd-arrow.svg) no-repeat 100% 0; } .cd-timeline-navigation a.prev { right : 0; -webkit-transform : translateY(-50%) rotate(-180deg); -moz-transform : translateY(-50%) rotate(-180deg); -ms-transform : translateY(-50%) rotate(-180deg); -o-transform : translateY(-50%) rotate(-180deg); transform : translateY(-50%) rotate(-180deg); } .cd-timeline-navigation a.next { left : 0; } .cd-timeline-navigation a.inactive { cursor : not-allowed; } .cd-timeline-navigation a.inactive::after { background-position : 100% -16px; } @media only screen and (min-width: 1100px) { .cd-horizontal-timeline { margin : 6em auto; } .cd-horizontal-timeline::before { content : 'desktop'; } } @media only screen and (min-width: 768px) { .cd-horizontal-timeline .events-content h2 { font-size : 4rem; font-weight : 800; } .cd-horizontal-timeline .events-content em { font-size : 1.5rem; } } /* Timeline */ .timeline { position : relative; display : block; margin : 0; padding : 10px 0; list-style : none; } .timeline:after { content : ' '; display : table; clear : both; } .timeline:before { content : ' '; display : table; } .timeline > li { list-style : none; } .timeline > li:nth-child(even) { float : right; clear : right; } .timeline > li:nth-child(odd) { float : left; clear : left; } .timeline .media { border-bottom : 1px solid #EEEEEE; font-size : 13px; } .timeline .media p { font-size : 13px; } .timeline .media:last-child { border-bottom : 0; } .timeline-line + .timeline-item { margin-top : -20px; } .timeline-group { display : block; position : relative; margin : 20px 0; text-align : center; float : none !important; z-index : 1; } .timeline-poster { margin-top : -20px; } .timeline-poster .btn-link { color : #A1AAB0; } .timeline-poster .btn-link:active { color : #3E5771; } .timeline-poster .btn-link:focus { color : #3E5771; } .timeline-poster .btn-link:hover { color : #3E5771; } .timeline-poster .btn-link.active { color : #3E5771; } #timeline.timeline-center .timeline-line { display : inline-block; position : absolute; top : 0; bottom : 0; right : 50%; width : 4px; background-color : #DDDDDD; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); } #timeline.timeline-center .timeline-item { position : relative; display : inline-block; width : 50%; padding : 0 50px 35px; } #timeline.timeline-center .timeline-item:nth-child(even) { padding : 0 0 50px 35px; } #timeline.timeline-center .timeline-item:nth-child(even):after { content : ''; position : absolute; left : 19px; top : 10px; width : 0; height : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-right : 12px solid #CCCCCC; z-index : 1; left : 25px; top : 21px; border-top : 11px solid transparent; border-bottom : 11px solid transparent; border-right : 11px solid #FFFFFF; } #timeline.timeline-center .timeline-item:nth-child(even):before { content : ''; position : absolute; left : 24px; top : 20px; width : 0; height : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-right : 12px solid #CCCCCC; z-index : 1; } #timeline.timeline-center .timeline-item:nth-child(even) > .timeline-badge { left : -20px; } #timeline.timeline-center .timeline-item:nth-child(odd) { padding : 0 35px 50px 0; } #timeline.timeline-center .timeline-item:nth-child(odd):after { content : ''; position : absolute; right : 19px; top : 10px; width : 0; height : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; z-index : 1; right : 25px; top : 21px; border-top : 11px solid transparent; border-bottom : 11px solid transparent; border-left : 11px solid #FFFFFF; } #timeline.timeline-center .timeline-item:nth-child(odd):before { content : ''; position : absolute; right : 24px; top : 20px; width : 0; height : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; z-index : 1; } #timeline.timeline-center .timeline-item:nth-child(odd) > .timeline-badge { right : -20px; } #timeline.timeline-center .timeline-item > .timeline-badge { position : absolute; top : 12px; z-index : 1; } #timeline.timeline-center .timeline-item > .timeline-badge > span { display : inline-block; width : 40px; height : 40px; border-radius : 50%; text-align : center; text-decoration : none; -webkit-transition : all ease 0.3s; -moz-transition : all ease 0.3s; -o-transition : all ease 0.3s; transition : all ease 0.3s; } #timeline.timeline-center .timeline-item > .timeline-badge > span i { color : #FFFFFF; font-size : 1.6rem; display : block; line-height : 40px; top : 0; } #timeline.timeline-center .timeline-item > .timeline-badge > span:active { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-center .timeline-item > .timeline-badge > span:focus { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-center .timeline-item > .timeline-badge > span:hover { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-center .timeline-item > .timeline-badge > a.active { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-center .timeline-item > .timeline-panel { position : relative; background-color : #FFFFFF; border : 1px solid #DDDDDD; border-radius : 4px; } #timeline.timeline-center .timeline-item > .timeline-panel:hover .timeline-actions { display : block; } #timeline.timeline-right .timeline-line { display : inline-block; position : absolute; top : 0; bottom : 0; left : 12px; width : 4px; background-color : #DDDDDD; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); } #timeline.timeline-right .timeline-group { text-align : left; } #timeline.timeline-right .timeline-item { position : relative; display : inline-block; width : 100%; padding : 0 0 35px 43px; } #timeline.timeline-right .timeline-item:after { content : ''; position : absolute; left : 33px; top : 21px; width : 0; height : 0; z-index : 1; border-top : 11px solid transparent; border-bottom : 11px solid transparent; border-right : 11px solid #FFFFFF; } #timeline.timeline-right .timeline-item:before { content : ''; position : absolute; left : 32px; top : 20px; width : 0; height : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-right : 12px solid #CCCCCC; z-index : 1; } #timeline.timeline-right .timeline-item > .timeline-badge { left : -8px; } #timeline.timeline-right .timeline-item > .timeline-badge { position : absolute; top : 12px; z-index : 1; } #timeline.timeline-right .timeline-item > .timeline-badge > span { display : inline-block; width : 40px; height : 40px; border-radius : 50%; text-align : center; text-decoration : none; -webkit-transition : all ease 0.3s; -moz-transition : all ease 0.3s; -o-transition : all ease 0.3s; transition : all ease 0.3s; } #timeline.timeline-right .timeline-item > .timeline-badge > span i { color : #FFFFFF; font-size : 1.6rem; display : block; line-height : 40px; top : 0; } #timeline.timeline-right .timeline-item > .timeline-badge > span:active { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-right .timeline-item > .timeline-badge > span:focus { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-right .timeline-item > .timeline-badge > span:hover { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-right .timeline-item > .timeline-badge > a.active { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-right .timeline-item > .timeline-panel { position : relative; background-color : #FFFFFF; border : 1px solid #DDDDDD; border-radius : 4px; } #timeline.timeline-right .timeline-item > .timeline-panel:hover .timeline-actions { display : block; } #timeline.timeline-right .timeline-item.block:nth-child(even):before { left : 8px; right : auto; } #timeline.timeline-right .timeline-item.block:nth-child(even):after { left : 11px; right : auto; } #timeline.timeline-right .timeline-item.block:nth-child(odd):after { left : 8px; left : auto; } #timeline.timeline-left .timeline-line { display : inline-block; position : absolute; top : 0; bottom : 0; right : 12px; width : 4px; background-color : #DDDDDD; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); } #timeline.timeline-left .timeline-group { text-align : right; } #timeline.timeline-left .timeline-item { position : relative; display : inline-block; width : 100%; padding : 0 43px 35px 0; } #timeline.timeline-left .timeline-item:after { content : ''; position : absolute; right : 33px; top : 21px; width : 0; height : 0; z-index : 1; border-top : 11px solid transparent; border-bottom : 11px solid transparent; border-left : 11px solid #FFFFFF; } #timeline.timeline-left .timeline-item:before { content : ''; position : absolute; right : 32px; top : 20px; width : 0; height : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; z-index : 1; } #timeline.timeline-left .timeline-item > .timeline-badge { right : -8px; } #timeline.timeline-left .timeline-item > .timeline-badge { position : absolute; top : 12px; z-index : 1; } #timeline.timeline-left .timeline-item > .timeline-badge > span { display : inline-block; width : 40px; height : 40px; border-radius : 50%; text-align : center; text-decoration : none; -webkit-transition : all ease 0.3s; -moz-transition : all ease 0.3s; -o-transition : all ease 0.3s; transition : all ease 0.3s; } #timeline.timeline-left .timeline-item > .timeline-badge > span i { color : #FFFFFF; font-size : 1.6rem; display : block; line-height : 40px; top : 0; } #timeline.timeline-left .timeline-item > .timeline-badge > span:active { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-left .timeline-item > .timeline-badge > span:focus { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-left .timeline-item > .timeline-badge > span:hover { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-left .timeline-item > .timeline-badge > a.active { -webkit-transform : scale(1.1); -moz-transform : scale(1.1); -ms-transform : scale(1.1); -o-transform : scale(1.1); transform : scale(1.1); } #timeline.timeline-left .timeline-item > .timeline-panel { position : relative; background-color : #FFFFFF; border : 1px solid #DDDDDD; border-radius : 4px; } #timeline.timeline-left .timeline-item > .timeline-panel:hover .timeline-actions { display : block; } #timeline .timeline-item.block:nth-child(even) { width : 100% !important; margin-top : 5px; } #timeline .timeline-item.block:nth-child(even):after { right : 50%; left : auto; top : -11px; border : 0; border-right : 12px solid transparent; border-left : 12px solid transparent; border-bottom : 12px solid #CCCCCC; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); top : -10px; border : 0; border-right : 11px solid transparent; border-left : 11px solid transparent; border-bottom : 11px solid #FFFFFF; } #timeline .timeline-item.block:nth-child(even):before { right : 50%; left : auto; top : -11px; border : 0; border-right : 12px solid transparent; border-left : 12px solid transparent; border-bottom : 12px solid #CCCCCC; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); } #timeline .timeline-item.block:nth-child(even) > .timeline-badge { top : -28px; right : 50%; left : auto; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); } #timeline .timeline-item.block:nth-child(odd) { width : 100% !important; margin-top : 5px; } #timeline .timeline-item.block:nth-child(odd):after { right : 50%; left : auto; top : -11px; border : 0; border-right : 12px solid transparent; border-left : 12px solid transparent; border-bottom : 12px solid #CCCCCC; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); top : -10px; border : 0; border-right : 11px solid transparent; border-left : 11px solid transparent; border-bottom : 11px solid #FFFFFF; } #timeline .timeline-item.block:nth-child(odd):before { right : 50%; left : auto; top : -11px; border : 0; border-right : 12px solid transparent; border-left : 12px solid transparent; border-bottom : 12px solid #CCCCCC; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); } #timeline .timeline-item.block:nth-child(odd) > .timeline-badge { top : -28px; right : 50%; left : auto; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); } .timeline-actions { display : none; } .timeline-content { padding : 15px; } .timeline-footer { padding : 15px; border-top : 1px solid #EEEEEE; background-color : #FBFCFC; border-radius : 0 0 5px 5px; } .timeline-heading { padding : 15px; font-size : 20px; } .timeline-liveliness { padding : 15px; border-top : 1px solid #EEEEEE; background-color : #FBFCFC; } .timeline-heading + .timeline-content { padding-top : 0; } .timeline-date { font-size : 14px; color : #AAAAAA; } .timeline-embed { position : relative; padding-bottom : 56.25%; padding-top : 25px; height : 0; } .timeline-embed .embed-element { position : absolute; top : 0; right : 0; width : 100%; height : 100%; } .timeline-embed embed { position : absolute; top : 0; right : 0; width : 100%; height : 100%; } .timeline-embed iframe { position : absolute; top : 0; right : 0; width : 100%; height : 100%; } .timeline-embed object { position : absolute; top : 0; right : 0; width : 100%; height : 100%; } .timeline-img { display : block; padding : 5px 0; } .timeline-img.first { margin-left : -10px; } .timeline-img.middle { margin-left : -10px; margin-right : -10px; } .timeline-img.last { margin-right : -10px; } .timeline-resume { border-top : 1px solid #EEEEEE; background-color : #FBFCFC; } .timeline-avatar { margin-top : -2px; margin-left : 10px; } .timeline-title { margin : 0; padding : 0; font-size : 14px; line-height : 1.42857; font-weight : 600; color : #3E5771; text-decoration : none; } .timeline-title > small { display : block; font-size : 12px; line-height : 1.5; color : #A1AAB0; overflow : hidden; text-overflow : ellipsis; white-space : nowrap; } .wrapkit-content-rtl .timeline-avatar { margin-left : 0; margin-right : 10px; } @media (min-width: 992px) { .timeline-item:nth-child(even) { padding : 0 0 50px 35px; } .timeline-item:nth-child(odd) { padding : 0 35px 50px 0; } } @media (max-width: 991px) { .timeline { padding-right : 15px; } .timeline-line { right : 15px; } .timeline-group { display : inline-block; margin-right : -22px; } .timeline-item { width : 100% !important; margin-top : 0 !important; padding-left : 10px; } .timeline-item:nth-child(even):after { right : 19px; top : 10px; border : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); right : 40px; top : 21px; border-top : 11px solid transparent; border-bottom : 11px solid transparent; border-left : 11px solid #FFFFFF; } .timeline-item:nth-child(even):before { right : 39px; top : 20px; border : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); } .timeline-item:nth-child(even) > .timeline-badge { top : 12px; right : -20px; left : auto; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); } .timeline-item:nth-child(odd):after { right : 19px; top : 10px; border : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); right : 40px; top : 21px; border-top : 11px solid transparent; border-bottom : 11px solid transparent; border-left : 11px solid #FFFFFF; } .timeline-item:nth-child(odd):before { right : 39px; top : 20px; border : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); } .timeline-item:nth-child(odd) > .timeline-badge { top : 12px; right : -20px; left : auto; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); } .timeline-item.block:nth-child(even) { padding-bottom : 0; } .timeline-item.block:nth-child(even):after { right : 19px; top : 10px; border : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); right : 20px; top : 11px; border-top : 11px solid transparent; border-bottom : 11px solid transparent; border-left : 11px solid #FFFFFF; } .timeline-item.block:nth-child(even):before { right : 19px; top : 10px; border : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); } .timeline-item.block:nth-child(even) > .timeline-badge { top : 12px; right : -6px; left : auto; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); } .timeline-item.block:nth-child(odd) { padding-bottom : 0; } .timeline-item.block:nth-child(odd):after { right : 19px; top : 10px; border : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); right : 20px; top : 11px; border-top : 11px solid transparent; border-bottom : 11px solid transparent; border-left : 11px solid #FFFFFF; } .timeline-item.block:nth-child(odd):before { right : 19px; top : 10px; border : 0; border-top : 12px solid transparent; border-bottom : 12px solid transparent; border-left : 12px solid #CCCCCC; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); } .timeline-item.block:nth-child(odd) > .timeline-badge { top : 12px; right : -6px; left : auto; -webkit-transform : translate(0, 0); -moz-transform : translate(0, 0); -ms-transform : translate(0, 0); -o-transform : translate(0, 0); transform : translate(0, 0); } } @media (max-width: 991px) { #timeline.timeline-wrapper .timeline { padding : 0; } #timeline.timeline-wrapper .timeline .card-block { text-align : right; } #timeline.timeline-wrapper .timeline-line { display : inline-block; position : absolute; top : 0; bottom : 0; right : 50%; width : 4px; background-color : #DDDDDD; -webkit-transform : translate(50%, 0); -moz-transform : translate(50%, 0); -ms-transform : translate(50%, 0); -o-transform : translate(50%, 0); transform : translate(50%, 0); } #timeline.timeline-wrapper .timeline-group { display : block; margin-right : -6px; text-align : center; } #timeline.timeline-wrapper .timeline-item { display : block; padding : 20px 0 20px !important; } #timeline.timeline-wrapper .timeline-item:nth-child(even) { float : none; clear : both; } #timeline.timeline-wrapper .timeline-item:nth-child(even):after { display : none; } #timeline.timeline-wrapper .timeline-item:nth-child(even):before { display : none; } #timeline.timeline-wrapper .timeline-item:nth-child(odd) { float : none; clear : both; } #timeline.timeline-wrapper .timeline-item:nth-child(odd):after { display : none; } #timeline.timeline-wrapper .timeline-item:nth-child(odd):before { display : none; } #timeline.timeline-wrapper .timeline-item > .timeline-badge { top : 0 !important; right : 45% !important; } #timeline.timeline-wrapper .timeline-item.block:nth-child(even) { float : none; clear : both; } #timeline.timeline-wrapper .timeline-item.block:nth-child(even):after { display : none; } #timeline.timeline-wrapper .timeline-item.block:nth-child(even):before { display : none; } #timeline.timeline-wrapper .timeline-item.block:nth-child(odd) { float : none; clear : both; } #timeline.timeline-wrapper .timeline-item.block:nth-child(odd):after { display : none; } #timeline.timeline-wrapper .timeline-item.block:nth-child(odd):before { display : none; } #timeline.timeline-wrapper .timeline-item.timeline-poster > .timeline-badge { display : none; } } @media (max-width: 543px) { .timeline-item > .timeline-badge { top : 0 !important; right : 44% !important; } }