/* ::-webkit-scrollbar { width: 9px; height: 9px; } */ ::-webkit-scrollbar-track-piece { background-color: #ebebeb; border-radius: 4px; -webkit-border-radius: 4px; } ::-webkit-scrollbar-thumb:vertical { height: 32px; background-color: #ccc; border-radius: 4px; -webkit-border-radius: 4px; } ::-webkit-scrollbar-thumb:horizontal { width: 32px; background-color: #ccc; border-radius: 4px; -webkit-border-radius: 4px; } ul, li { padding: 0; margin: 0 } .mySelect { position: relative; } .mySelect .inputWrap { width: 100%; min-height: 1.8rem; display: flex; flex-direction: row; justify-content: space-between; align-items: center; font-size: 0.6rem; border: 1px solid white; border-radius: 4px; position: relative; cursor: pointer; } .mySelect ul { height: 100%; padding: 0 5px; margin: 0; padding-right: 35px; } .mySelect ul, li { list-style: none; } .mySelect li { display: inline-block; background: green; padding: 2px 4px; margin: 2px 2px 2px 0; border-radius: 5px; } .mySelect .fa-close { cursor: pointer; } .mySelect .fa-close:hover { color: #237eff; } .mySelect .mySelect-option { width: 100%; border: 1px solid #ccc; /* max-height: 200px; */ color: #35343491; overflow-y: scroll; position: absolute; background: #ffffff; height: 0; opacity: 0; z-index: 2; } .mySelect .mySelect-option div { padding: 2px; } .mySelect .inputWrap>i { position: relative; /* padding: 6px; */ margin-right: 4px; right: 0; top: 0; } .mySelect-option div { cursor: pointer; border-bottom: 1px solid #e7e7e7; margin: 5px; } .mySelect-option div i { float: right; color: #ffffff; } .mySelect-option div.selected { background: #225cad9a; color: #ffffff; border-radius: 5px; } .mySelect-option div:hover { /*background: #9ec6ff;*/ color: #9ec6ff; border-bottom: 1px solid #9ec6ff; } .mySelect-option::-webkit-scrollbar { width: 10px; border-radius: 10px; background-color: #F5F5F5; } .mySelect-option::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; background-color: #15809F; background-image: -webkit-linear-gradient(linear, left bottom, left top, color-stop(0.44, rgb(122, 153, 217)), color-stop(0.72, rgb(73, 125, 189)), color-stop(0.86, rgb(28, 58, 148))); } .mySelect-option::-webkit-scrollbar-track { /*滚动条里面轨道*/ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9); -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9); border-radius: 10px; background-color: #CCCCCC; }