style.css 2.42 KB


/*时:分:秒*/

.xn-wapper {
    width: 400px;
    margin: 30px auto;
    min-width:200px;
    height: auto;
}

.xn-directive-time {
    width: 100%;
    height: auto;
    position: relative;
}



.xn-directive-time .xn-time-input {
    display: block;
    width: 100%;
    margin: 0 auto;
    height: 34px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0 8px;
    font-size: 14px;
    line-height: 34px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-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;
}

.xn-directive-time .hmstab {
    position: absolute;
    width: 100%;
    height: auto;
    border-radius: 3px 3px 0 0;
    left: 0;
    bottom: -35px;
    border: 1px solid #ccc;

}

.xn-directive-time .hmstab ul {
    width: 100%;
    height: 34px;
    color: #428bca;

}

.xn-directive-time .hmstab ul li {
    width: 33.33%;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-right: 1px solid #ddd;
    height: 100%;
}

.xn-directive-time .hmstab ul li:last-child {
    border: none;
}

.hmstab .time-select {
    width: 100%;
    height: 100%;
    border: none;

    position: relative;

}

.hmstab select optgroup {
    position: absolute;
    left: 0;
    bottom: -35px;
    height: auto;
}

.hmstab select option {
    height: 34px;
    line-height: 34px;
    color: #253b22;
}

.hmstab select option a {
    display: block;
    width: 100%;
    height: 34px;
    text-decoration: none;

}

.hmstab .btncon {
    position: absolute;
    width: 100%;
    height: 34px;
    left: 0;
    bottom: -35px;
    text-align: center;
    line-height: 34px;
    background: #ededed;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 3px 3px;

}

.hmstab .btncon a {
    display: block;
    float: left;
    width: 50%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    text-decoration: none;

}

.hmstab .btncon .rightborder {
    border-right: 1px solid #ddd;

}