@import url('../gezi/gezi.css');

* {
    padding: 0;
    margin: 0;
}

#editor {
    background: white;
    transform-origin: 0 0 0px;
    position: relative;
}

#editor {
    background: white;
    transform-origin: 0 0 0px;
    position: relative;
}

#editor .bj2 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
}

#editor .bj3 {
    position: absolute;
    z-index: -3;
    width: 100%;
    height: 100%;
}

#editor .zu-box {
    position: absolute;
    z-index: 900;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


#editor .zu-box .zu-l1h1-box {
}

#editor .zu-box .zu-l1h2-box {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 50%;
    top: 50%;
    position: absolute;
}

#editor .zu-box .zu-l2h1-box {
    background-color: rgba(0, 0, 0, 0.3);
    width: 50%;
    height: 100%;
    left: 50%;
    position: absolute;
}

#editor .zu-box .zu-l2h2-box:before {
    content: "";
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 50%;
    top: 50%;
    position: absolute;
}

#editor .zu-box .zu-l2h2-box:after {
    content: "";
    background-color: rgba(0, 0, 0, 0.3);
    width: 50%;
    height: 50%;
    left: 50%;
    position: absolute;
}

#editor .item-box {
    position: absolute;
    user-select: none;
}

#editor .item-box.selected {
    margin-left: -2px;
    margin-top: -2px;
    border: #086D37 dashed 2px;
    z-index: 999 !important;
}

#editorPanel {
    overflow: hidden;
    padding: 10px;
}

#editorContent, .editorContent {
    overflow: scroll;
}

.editorContentHeight {
    overflow: scroll;
}

#editor .item-box * {
    pointer-events: none;
}

#editor .item-box .resize-right-button {
    pointer-events: auto;
    display: none;
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 20px;
    height: 20px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
}

#editor .item-box.selected .resize-right-button {
    display: block;
}

.mainMenu {
    background-color: white;
    margin: 5px
}

.img-aside {
    height: 500px;
}

.img-content {
    height: 500px;
    overflow: scroll;
}

.img-content .t-card {
    width: 150px;
    float: left;
    margin-left: 12px;
    margin-top: 12px;
}

.img-content .t-card .t-card__subtitle {
    height: 22px;
    overflow: hidden;
    width: 120px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.img-content .t-card .t-card__cover {
    height: 148px;
    width: 148px;
    position: relative;
    text-align: center;
    border: 1px solid var(--td-component-border);
    margin-left: -1px;
}

.img-content .t-card .t-card__cover img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.padding-5 {
    padding: 0px;
}

.padding-5 .t-collapse-panel__content {
    padding: 5px !important;
}

.single-line .t-list-item__meta-description, .single-line .t-list-item__meta-title {
    white-space: nowrap;
    margin-right: 10px;
    width: 120px;
}

.single-line p {
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0px;
    margin: 0px;
}

.t-slider__mark-text {
    white-space: nowrap !important;
}

.t-radio-group.t-radio-group__outline {
    margin-left: 5px !important;
    height: 30px;
}

.t-radio-group .t-radio {
    margin-right: 12px !important;
}

.t-color-picker__trigger {
    height: 32px;
}

/*描红 */
.miaohong-panel {
    float: left;
    padding: 10px;
    max-height: 400px;
}

.miaohong-btn {
    float: left;
    width: 800px;
}


.miaohong-header {
    width: 30px;
    height: 20px;
    border: 1px black solid;
    float: left;
    margin-top: -1px;
    margin-left: -1px;
    background-color: #dcdcdc;
}

.miaohong-lie {
    width: 50px;
    height: 20px;
    border: 1px black solid;
    float: left;
    margin-top: -1px;
    margin-left: -1px;
    text-align: center;
    line-height: 20px;
    background-color: #dcdcdc;
}

.miaohong-box {
    width: 50px;
    height: 50px;
    border: 1px black solid;
    float: left;
    margin-top: -1px;
    margin-left: -1px;
    text-align: center;
    line-height: 50px;
}

.miaohong-hang {
    width: 30px;
    height: 50px;
    border: 1px black solid;
    float: left;
    margin-top: -1px;
    margin-left: -1px;
    text-align: center;
    line-height: 50px;
    background-color: #dcdcdc;
}

.miaohong-panel .select {
    background-color: #dae5ce;
}

.gezi_select img {
    height: 40px;
    float: left;
}

.gezi_select button {
    height: 40px;
    float: left;
}
.color-df-title{
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
}
.color-df-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding:0 10px;
}
.color-df-panel div {
    width: 65px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid grey;
}
.color-df-panel span{
    background-color: white;
    color: black;
    line-height: 15px;
    font-size: 10px;
    height: 15px;
    width: 55px;
    opacity: 0.8;
    text-align: center;
    border-radius: 3px;
}