/*主题*/
.theme {
    position: relative;
    border: 1px solid #dedede;
    -webkit-box-shadow: 0 1px 1px -1px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 1px -1px rgba(0, 0, 0, .1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.theme .theme-screenshot {
    display: block;
    overflow: hidden;
    height: 290px;
}

.theme .theme-screenshot img {
    height:auto;
    width: 100%;
    opacity: 0.8;
}

.theme.active .theme-screenshot img {
    opacity: 1;
}

.theme .theme-screenshot.blank, .theme-overlay .screenshot.blank {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)
}

.theme .more-details {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
    position: absolute;
    top: 35%;
    right: 25%;
    left: 25%;
    background: #23282d;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 15px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
    -webkit-font-smoothing: antialiased;
    font-weight: 600;
    padding: 15px 12px;
    text-align: center;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: opacity .1s ease-in-out;
    transition: opacity .1s ease-in-out;
}

.theme .theme-author {
    background: #23282d;
    color: #eee;
    display: none;
    font-size: 14px;
    margin: 0 10px;
    padding: 5px 10px;
    position: absolute;
    bottom: 56px;
}

.theme .theme-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    padding: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: #ecf0f5;
}

.theme.active .theme-name {
    background: #e14d43;
    color: #fff;
    font-weight: 300;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5);
}

.theme.active .theme-name span {
    font-weight: 600;
}

.theme .theme-actions {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    display: none;
    -webkit-transition: opacity .1s ease-in-out;
    transition: opacity .1s ease-in-out;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 46px;
    padding: 0 15px;
    line-height: 45px;
    background: rgba(244, 244, 244, .7);
    border-left: 1px solid rgba(0, 0, 0, .05);
}

.theme.active .theme-actions {
    background: rgba(49, 49, 49, .7);
    border-left: none;
    opacity: 1;
    display: block;
}

.theme:hover .theme-actions {
    display: block;
}

.theme:hover .more-details {
    opacity: 1;
}

.theme:hover .theme-screenshot img {
    opacity: 0.5;
}

.theme-screenshots {
    text-align: center;
}

.theme-overlay .screenshot {
    overflow: hidden;
    max-height:662px;
    line-height:662px;
}

.theme-overlay .screenshot img {
    height: auto;
    max-width: 100%;
    border: 1px solid #fff;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
}

.theme-overlay .theme-name {
    color: #23282d;
    font-size: 32px;
    font-weight: 100;
    margin: 10px 0 0;
    line-height: 1.3;
}

.theme-overlay .theme-version {
    color: #999;
    font-size: 13px;
    font-weight: 400;
    float: none;
    display: inline-block;
    margin-left: 10px;
}

.theme-overlay .theme-author {
    color: #686868;
    font-size: 16px;
    font-weight: 400;
    margin: 15px 0 25px;
}

.theme-overlay .theme-description {
    color: #555;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin: 30px 0 0;
}

.theme-overlay .theme-tags {
    border-top: 3px solid #eee;
    color: #82878c;
    font-size: 13px;
    font-weight: 400;
    margin: 30px 0;
    padding-top: 20px;
}

.theme-overlay .current-label {
    background: #32373c;
    color: #fff;
    font-size: 11px;
    display: inline-block;
    padding: 2px 8px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin: 0 0 -10px;
    user-select: none;
}


.upload-theme {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.upload-theme .install-help {
    color: #999;
    font-size: 18px;
    font-style: normal;
    margin: 0;
    padding: 40px 0 0;
    text-align: center;
}

.upload-theme .wp-upload-form {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    padding: 30px;
    margin: 30px auto;
    max-width: 500px;
}


#template textarea {
    font-family: Consolas,Monaco,monospace;
    font-size: 13px;
    background: #f9f9f9;
    outline: 0;
}