.box { width: 280px; font-size: 16px; border: 1px solid #558DB1; } .title { height: 32px; line-height: 32px; background-image: url(../../../../assets/gismap/listtitle.png); background-size: 100% 100%; background-repeat: no-repeat; color: #fff; box-sizing: border-box; padding-left: 16px; padding-right: 10px; display: flex; justify-content: space-between; cursor: default; .close{ cursor: pointer; } } .content { max-height: 250px; overflow-y: auto; ul{ margin-bottom: 0; } li { height: 38px; line-height: 38px; padding-left: 16px; padding-right: 10px; color: #f7faff; font-size: 15px; cursor: pointer; } li:nth-child(odd) { background: linear-gradient( 90deg, RGBA(17, 50, 83, 1), RGBA(17, 50, 83, 0.8) ); } li:nth-child(even) { background: linear-gradient( 90deg, RGBA(38, 56, 73, 1), RGBA(38, 56, 73, 0.8) ); border-top: 1px solid #3e4f60; border-bottom: 1px solid #3e4f60; } }