/* Author: David Qin E-mail: david@hereapp.cn Date: 2014-11-05 */ .searchable-select-hide { display: none; } .searchable-select { display: inline-block; width:100%; font-size: 1.6rem; line-height: 1.428571429; color: #555; vertical-align: middle; position: relative; outline: none; } .searchable-select-holder{ height: 100%; /*line-height: 5rem;*/ background-color: #fff; background-image: none; /*border: 1px solid #ccc;*/ border-radius: 4px; min-height: 30px; color: #ccc; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis /* -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;*/ } /* .searchable-select-caret { position: absolute; width: 0 !important; height: 0; box-sizing: border-box; border-color: black transparent transparent transparent; top: 5px; bottom: 0; border-style: solid; border-width: 5px; margin: auto; right: 10px; }*/ .searchable-select-dropdown { position: absolute; background-color: #fff; border:none; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; padding: 0; border-top: none; top:0; left:0%; right: 0; z-index: 9999; } .searchable-select-input { margin-top: 5px; border: 1px solid #ccc; outline: none; padding: 4px; width: 100%; box-sizing: border-box; width: 100%; } .searchable-scroll { margin-top: 4px; position: relative; } .searchable-scroll.has-privious { padding-top: 16px; } .searchable-scroll.has-next { padding-bottom: 16px; } .searchable-has-privious { top: 0; } .searchable-has-next { bottom: 0; } .searchable-has-privious, .searchable-has-next { height: 16px; left: 0; right: 0; position: absolute; text-align: center; z-index: 10; background-color: white; line-height: 8px; cursor: pointer; } .searchable-select-items { max-height:165px; overflow-y: scroll; position: relative; border:1px solid #e2e2e2; } .searchable-select-items::-webkit-scrollbar { display: none; } .searchable-select-item { padding: 5px 5px; cursor: pointer; min-height: 30px; box-sizing: border-box; } .searchable-select-item.hover { background: #555; color: white; } .searchable-select-item.selected { background: #28a4c9; color: white; } /* 本代码由【素材家园】收集并编辑整理; 尊重他人劳动成果; 转载请保留【素材家园】链接 - 【www.sucaijiayuan.com】 */