region_ui.css 2.06 KB
/**
 * 城市组件样式
 **/
.m-region {
    width: 240px;
    border: 1px solid #ddd;
    height: 30px;
    position: relative;
    background: #fff;
}
.m-region .title {
    float: left;
    height: 30px;
    width: 240px;
}
.m-region .title div {
    cursor: pointer;
    font-size: 14px;
    height: 100%;
    line-height: 30px;
    margin-left: 10px;
    overflow: hidden;
    text-align: left;
    width: 230px;
}
span.s-live {
    display: inline-block;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
    right: 12px;
    top: 12px;
    border: 5px solid #666;
    border-top-color: #666;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
}
.m-region .region-view {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px #ddd;
    left: -1px;
    position: absolute;
    top: 30px;
    width: 405px;
    padding: 0;
    z-index: 891;
    display: none;
}
.m-region .region-view .head {
    height: 30px;
    float: left;
    width: 100%;
    border-bottom: 1px solid #ddd;
    background-color: #f8f8f8;
}
.m-region .head li {
    color: #000;
    cursor: pointer;
    float: left;
    height: 29px;
    line-height: 30px;
    max-width: 80px;
    overflow: hidden;
    padding: 0 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}
.m-region .head li.act {
    border-color: #5acf76 #ddd #fff #ddd;
    border-style: solid;
    border-width: 1px;
    background-color: #fff;
}
.m-region .cont {
    float: left;
    margin: 5px 0 10px 20px
}
.m-region .cont li {
    color: #999;
    cursor: pointer;
    float: left;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    font-size: 12px;
    width: 83px;
    padding: 0 0 0 13px;
    text-align: left;
    margin: 0;
}
.m-region .cont li:hover {
    background-color: #4aca10;
    color: #fff;
}
.m-region .reset {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 10px;
}
.m-region .title >input {
  line-height: 28px;
}