UNPKG

@ttk/component

Version:

ttk组件库

200 lines (199 loc) 4.41 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ .timetree { width: 100%; height: 100%; overflow: hidden; position: relative; font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif; } .timetree #detailMessage p { font-size: 12px!important; margin-bottom: 0!important; line-height: 20px; } .timetree .rocket { width: 100%; height: 40px; position: absolute; top: 0; left: 0; z-index: 10; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-animation: fly 2s; animation: fly 2s; } .timetree .rocket-img { display: block; width: 26px; height: 40px; position: absolute; top: 0; left: 50%; margin-left: -13px; background: url(./img/rocket.png) no-repeat; background-size: cover; } .timetree .bottom { width: 100%; height: 31px; position: absolute; bottom: 0; left: 0; z-index: 1; } .timetree .bottom-img { display: block; width: 100%; height: 100%; background: url(./img/cloud.png) no-repeat; background-size: cover; } .timetree .content { width: 100%; position: absolute; top: 0; bottom: 0; overflow-y: auto; } .timetree .content .main { width: 930px; margin: 40px auto 0; min-height: 100%; position: relative; } .timetree .content .main .line { width: 2px; background: #E2FBF9; position: absolute; top: 0; bottom: 0; left: 50%; margin-left: -1px; } .timetree .content .main .year { width: 31px; height: 31px; background: #1eb5ad; border-radius: 100%; text-align: center; line-height: 30px; font-size: 13px; margin: 0 auto; color: #ffffff; } .timetree .content .main .msgBox { width: 100%; overflow: hidden; } .timetree .content .main .msgBox > div { width: 464px; } .timetree .content .main .msgBox > div .detail { width: 443px; } .timetree .content .main .msgBox > div .detail > div { width: 434px; border: 1px solid #d9d9d9; position: relative; padding: 9px 13px; border-radius: 3px; } .timetree .content .main .msgBox > div .detail > div .title { font-size: 14px; color: #333333; } .timetree .content .main .msgBox > div .detail > div .version { color: #0066B3; font-size: 13px; line-height: 20px; } .timetree .content .main .msgBox.leftSide > div { float: left; /*.arrow img{ width: 16px; height: 8px; float: right; margin: 16px -6px 0 0; }*/ } .timetree .content .main .msgBox.leftSide > div .arrow-img { width: 16px; height: 8px; float: right; margin: 16px -6px 0 0; display: block; } .timetree .content .main .msgBox.leftSide > div .arrow-left { background: url(./img/left.png) no-repeat; background-size: cover; } .timetree .content .main .msgBox.leftSide > div .arrow-right { background: url(./img/right.png) no-repeat; background-size: cover; } .timetree .content .main .msgBox.leftSide > div .detail > div:after { content: ''; position: absolute; width: 0; height: 0; border-style: solid; border-width: 5px; border-color: #ffffff #ffffff transparent transparent; transform: rotate(45deg); box-shadow: 1px -1px 0px #d9d9d9; right: -4px; top: 14px; } .timetree .content .main .msgBox.rightSide > div { float: right; } .timetree .content .main .msgBox.rightSide > div .arrow img { width: 16px; height: 8px; float: left; margin: 16px 0 0 -7px; } .timetree .content .main .msgBox.rightSide > div .detail { margin-left: 20px; } .timetree .content .main .msgBox.rightSide > div .detail > div { margin-left: 9px; } .timetree .content .main .msgBox.rightSide > div .detail > div:after { content: ''; position: absolute; width: 0; height: 0; border-style: solid; border-width: 5px; border-color: #ffffff #ffffff transparent transparent; transform: rotate(225deg); box-shadow: 1px -1px 0px #d9d9d9; left: -4px; top: 14px; } .timetree .content .main .msgBox:not(:first-child) { margin-top: -30px; } @-webkit-keyframes fly { from { top: 100%; } to { top: 0; } } @keyframes fly { from { top: 100%; } to { top: 0; } }