style.css 4.51 KB
.xn-add{
    position: relative;
    width:100%;
}
.xn-add .add-btn{
    height:36px;
    width:36px;
    line-height:36px;
    margin-top:5px;
    float: left;
    color:#777777;
    background-color:#ededed;
    font-size:36px;
    font-weight:normal;
    font-family:Arial;
    background:-webkit-gradient(linear, left top, left bottom, color-start(0.05, #ededed), color-stop(1, #f5f5f5));
    background:-moz-linear-gradient(top, #ededed 5%, #f5f5f5 100%);
    background:-o-linear-gradient(top, #ededed 5%, #f5f5f5 100%);
    background:-ms-linear-gradient(top, #ededed 5%, #f5f5f5 100%);
    background:linear-gradient(to bottom, #ededed 5%, #f5f5f5 100%);
    background:-webkit-linear-gradient(top, #ededed 5%, #f5f5f5 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#f5f5f5',GradientType=0);
    border:1px solid #dcdcdc;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
    -moz-box-shadow: inset 0px 0px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 0px 0px 0px #ffffff;
    box-shadow: inset 0px 0px 0px 0px #ffffff;
    text-align:center;
    display:inline-block;
    text-decoration:none;
    cursor: pointer;
}
.xn-add .add-btn:hover{
    cursor: pointer;
    background-color:#f5f5f5;
    background:-webkit-gradient(linear, left top, left bottom, color-start(0.05, #f5f5f5), color-stop(1, #ededed));
    background:-moz-linear-gradient(top, #f5f5f5 5%, #ededed 100%);
    background:-o-linear-gradient(top, #f5f5f5 5%, #ededed 100%);
    background:-ms-linear-gradient(top, #f5f5f5 5%, #ededed 100%);
    background:linear-gradient(to bottom, #f5f5f5 5%, #ededed 100%);
    background:-webkit-linear-gradient(top, #f5f5f5 5%, #ededed 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#ededed',GradientType=0);
}
.xn-add .add-ul{
    height: auto;
    overflow: hidden;
}
.xn-add .add-ul li{
    background: #f5f5f5;
    border:1px solid #dcdcdc;
    border-radius: 4px;
    padding: 5px 8px;
    float: left;
    margin: 8px;
    position: relative;
}
.xn-add .add-label{
    float: left;
}
.xn-add .add-ul li .close{
    position: absolute;
    width: 16px;
    height: 16px;
    background: url("./images/close.png")center center no-repeat;
    top: -6px;
    right: -6px;
}
.xn-add .search-box{
    position: absolute;
    bottom:-30px;
    left: 0;
    z-index:999;
    width:100%;
    min-width: 300px;
    height: 34px;
    line-height: 34px;
    margin:5px;
    border:1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
}
.xn-add .search-box .search-input{
    width: 85%;
    float: left;
    line-height: 32px;
    height: 32px;
    border: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    background: none;
    text-indent: 5px;
}
.xn-add .search-box .search-btn{
    width:15%;
    box-sizing: border-box;
    border-left:1px solid #dcdcdc;
    display: block;
    float: right;
    height: 32px;
    background: url("./images/search-bg.gif") center center no-repeat;
    cursor:pointer;
}
.search-box .source-ul{
    width: 100%;
    height: auto;
    min-height: 300px;
    overflow: hidden;
    position: absolute;
    top: 32px;
    left: 0;
    margin:0 !important;
    padding:0 !important;
    background:#fff;
    border: 1px solid #dcdcdc;
}
.search-box .source-ul .pagination {
    position: absolute;
    left: 50%;
    margin-left:-16px;
    top: 75px;
    z-index: 99;
}
.search-box .source-ul .pagination{
    width: 32px;
}

.search-box .source-ul .pagination .icon {
    border: 1px solid #cdcdcd;
    text-align: center;
    line-height: 26px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: #ececec;
    opacity: 0.5;
    cursor: pointer;
}
.search-box .source-ul .pagination .icon-up-disable {
    color: #FCFCFC;
    cursor: default;
}
.search-box .source-ul .pagination .icon-up {
    margin-bottom: 30px;
}

.search-box .source-ul .pagination .icon-down-disable {
    color: #FCFCFC;
    cursor: default;
}

.search-box .source-ul li{
    width:85%;
    padding: 0 10px;
    height: 34px;
    line-height: 34px;
    border-bottom: 1px dashed #dcdcdc;
    list-style: none;
    color: #333;
}
.search-box .source-ul .right-bg{
    position: absolute;
    right: 0;
    top: 0;
    bottom:0;
    z-index: 90;
    width:15%;
    background: #fcfcfc;
    box-sizing: border-box;
    border-left:1px solid #dcdcdc;
}
.search-box .source-ul li:last-child{
    border-bottom: none;
}
.search-box .source-ul li:hover{
    cursor: pointer;
    background: #f5f5f5;
}