@import "src/assets/css/variable"; .video-catalog { color: #515b65; border-top: 1px solid #e7e9f1; ul { margin: 0 15px; } li { border-bottom: 1px solid #e7e9f1; &.active { .video-title { color: $active; } .exercise { font-size: $font_12; .iconRectangleCopy { font-weight: 500; color: $active; } } } .video-title { height: 100%; padding: 12px 0; display: flex; justify-content: space-between; align-items: center; .iconfont { font-size: 18px; } } .exercise { padding: 0 10px; height: 24px; background: #f7f8f9; line-height: 24px; font-size: $font_12; color: #525b65; font-weight: 500; margin-bottom: 5px; border-radius: 2px; display: flex; justify-content: space-between; span { max-width: 90%; } &:last-child { margin-bottom: 15px; } .iconfont { font-size: 18px; } } } .title { display: inline-block; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; width: 90%; font-size: $font_14; margin-right: 26px; } .duration { display: inline-block; font-size: 11px; overflow: hidden; } .iconfont { float: right; } .iconplay_hovericon { color: $active; } .icontimeout { font-size: 20px !important; color: $active; } }