.container { display: flex; flex-direction: column; min-width: 266px; max-width: 266px; height: 100vh; color: #333; font-size: 12px; box-sizing: border-box; background: #fff; } .pointHead { display: flex; align-items: center; padding: 16px 0 12px 0; margin: 0 14px 0 14px; flex-shrink: 0; font-size: 14px; font-weight: 500; border-bottom: 1px solid #f2f2f2; img { width: 16px; height: 16px; margin-right: 7px; } } .content { position: relative; flex: 1; overflow-x: hidden; overflow-y: auto; padding: 12px 14px 12px 36px; &::-webkit-scrollbar { width: 0; display: none; } .list { position: relative; &::before { content: ''; position: absolute; width: 0; height: 100%; top: 0; bottom: 0; left: -10px; border-left: 2px dashed #dbdbdb; } } .item { position: relative; margin-bottom: 8px; h2 { font-size: 18px; color: #333333; line-height: 21px; font-family: DINAlternate-Bold, DINAlternate; span { font-size: 12px; } } h3 { position: relative; padding-top: 2px; font-family: DINAlternate, DINAlternate; font-size: 14px; color: #777777; line-height: 16px; &::before { content: ''; position: absolute; left: -12px; top: 50%; margin-top: -3px; width: 6px; height: 6px; background: #AAAAAA; border-radius: 50%; } } .item_inner { position: relative; background: #ffffff; border-radius: 6px; border: 2px solid #f2f2f2; padding: 10px; margin: 4px 0; &.active { border: 2px solid #daecff; background: #f2f8ff; .title { color: #1CACF1; } } .currentImg { position: absolute; top: 5px; right: 5px; width: 30px; height: 16px; } .title { font-weight: 600; font-size: 13px; color: #333333; line-height: 18px; max-width: 165px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .timers { padding-top: 6px; display: flex; align-items: center; font-size: 12px; color: #777777; line-height: 17px; .courseTimer { width: 18px; height: 18px; margin-right: 2px; padding-top: 0px; } } } } }