.Tab5 { background-color: #554a3e; padding: 10px 0 20px 20px; position: relative; :global { .tab5Top { height: 40px; display: flex; .tab5TopRow { height: 40px; line-height: 40px; color: #F0D99C; font-size: 18px; margin-right: 20px; } .tab5TopRowAc { color: #fff; font-weight: 700; position: relative; &::before { content: ''; position: absolute; bottom: 6px; left: 0; width: 100%; height: 4px; background-color: #F0D99C; } } } .tab5Main { padding-top: 6px; margin-top: 10px; width: 100%; height: calc(100% - 50px); overflow-y: auto; padding-right: 20px; .tab5Row { border: 1px solid #F0D99C; border-radius: 6px; margin-bottom: 20px; position: relative; height: 240px; .tab5RowSon { position: absolute; top: -5px; left: -5px; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; &::before { content: ''; position: absolute; z-index: 10; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, .2); } &>p { z-index: 10; position: absolute; bottom: 0px; left: 0px; height: 40px; line-height: 40px; width: 100%; color: #fff; font-size: 16px; padding: 0 5px 0 15px; letter-spacing: 2px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .6)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } } } } }