_details.css 2.74 KB
.personal-details {
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #fff;

    ul {
        width: 95%;
        height: auto;
        overflow: hidden;
        float: right;

        li {
            &:first-of-type {
                height: 130px;
                line-height: 130px;
            }

            height: 90px;
            border-bottom: 1px solid #e0e0e0;

            .details-icon,
            .details-gender,
            .details-birthday {
                float: right;
                height: 100%;
                margin-right: 15px;

                .icon {
                    vertical-align: middle;
                    color: #b0b0b0;
                }
            }

            .user-avatar {
                display: inline-block;
                width: 100%;
                height: 100%;
                background-image: resolve("me/user-icon.png");
                background-size: 100%;
            }

            .head-portrait {
                width: 92px;
                height: 92px;
                overflow: hidden;
                border-radius: 50%;
                border: 1px solid #eee;
                vertical-align: middle;
            }

            > label {
                width: 100%;
                line-height: 80px;
                font-size: 34px;
                margin-right: 8%;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                display: inline-block;
                vertical-align: middle;

                .nickname {
                    text-align: right;
                    float: right;
                    margin-top: 20px;
                    margin-right: 40px;
                    color: #b0b0b0;
                    height: 50px;
                    line-height: 50px;
                }

                .gender {
                    text-align: right;
                    color: #b0b0b0;
                }

                .birthday-span {
                    float: right;
                    margin-top: 1px;
                    color: #b0b0b0;
                    z-index: -1;
                }

                .birthday {
                    text-align: right;
                    color: transparent;
                    background: transparent;
                    border: 1px solid #fff;
                    height: 100%;
                    width: 100%;
                    flex-direction: row-reverse;
                    -webkit-appearance: none;
                }

                .birthday::-webkit-inner-spin-button,
                .birthday::-webkit-calendar-picker-indicator {
                    display: none;
                    -webkit-appearance: none;
                }
            }
        }
    }
}