123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- ul{
- margin:0px;
- padding:0px;
- border-radius:3px;
- width:100%;
- }
- .rotate180{
- transform: rotate(180deg);
- }
- .my-Select{
- position: relative;
- display: inline-block;
- vertical-align: middle;
- }
- .my-Select .fa{
- position: absolute;
- right: 7px;
- top: 0;
- z-index: 1;
- color: #ccc;
- top: 9px;
- }
- .my-Select input{
- background: transparent;
- }
- .my-Select > .select-screen{
- width: 100%;
- padding: 0 24px 0 8px;
- min-height: 32px;
- position: relative;
- display: inline-block;
- outline: 0;
- user-select: none;
- cursor: pointer;
- position: relative;
- background-color: #fff;
- border-radius: 4px;
- border: 1px solid #dddee1;
- transition: all .2s ease-in-out;
- }
- .my-Select > .select-screen.disabled{
- background: #f3f3f3 !important;
- }
- .my-Select > .select-screen.active{
- border-color: #57a3f3;
- outline: 0;
- box-shadow: 0 0 0 2px rgba(45,140,240,.2);
- }
- .my-Select > .select-screen input,.my-Select > .select-screen div{
- width: 100%;
- min-height: 32px;
- border: none;
- outline: none;
- }
- .select-list{
- width:100%;
- position: absolute;
- top: 37px;
- left: 0;
- z-index: 5;
- border-radius: 4px;
- padding: 5px 0;
- background-color: #fff;
- box-sizing: border-box;
- border-radius: 4px;
- box-shadow: 0 1px 6px rgba(0,0,0,.2);
- position: absolute;
- max-height: 250px;
- overflow-y: auto;
- overflow-x: hidden;
- }
- /* 多选 */
- .my-Select > .select-screen div{
- padding-bottom: 5px;
- }
- .my-Select .multiple-list{
- /*margin: 3px 4px 2px 0;*/
- display: inline-block;
- height: 22px;
- line-height: 20px;
- margin: 5px 4px 0 0;
- padding: 0 8px;
- border: 1px solid #e9eaec;
- border-radius: 3px;
- background: #f7f7f7;
- font-size: 12px;
- vertical-align: middle;
- opacity: 1;
- overflow: hidden;
- cursor: pointer;
- position: relative;
- padding-right: 20px;
- }
- .my-Select .multiple-list:hover{
- opacity: .75
- }
- .my-Select .multiple-list i{
- position: absolute;
- font-size: 14px;
- right: 2px;
- margin-right:0;
- top: 1px;
- }
- .my-Select li{
- line-height: normal;
- padding: 7px 16px;
- clear: both;
- color: #495060;
- font-size: 12px!important;
- /*white-space: nowrap;*/
- list-style: none;
- cursor: pointer;
- transition: background .2s ease-in-out;
- word-break: break-all;
- }
- .my-Select li:hover{
- background: #f3f3f3;
- }
- .my-Select li.active{
- color: #fff;
- background: rgba(45,140,240,.9);
- }
- .my-Select .disabled li.active{
- background: #b9cad2 !important;
- }
- .select-list.disabled{
- background: #f3f3f3 !important;
- }
- .my-Select .select-list-specile{
- position: initial;
- height: 200px;
- margin-top: 5px;
- }
|