.ZRichTexts {
  width: 1000px;

  :global {
    // 正文
    .formRightZW {
      width: 700px;
      top: -3px;
      position: relative;
      display: flex;
      align-items: center;
      height: 32px;

      .formRightZWRR {
        display: flex;
      }
    }

    // 从查看进来
    .formRightZWLook {
      .ant-checkbox-wrapper {
        pointer-events: none;
      }
    }

    .txtBox {
      width: 100%;

      a {
        color: #fff !important;
      }

      // 隐藏媒体功能
      .control-item.media {
        display: none;
      }

      .bf-container {
        height: 100%;
      }

      .bf-content {
        height: 300px;
        padding-bottom: 0px;
      }

      .bf-controlbar {
        position: relative;

        .upImgBox {
          position: absolute;
          bottom: 13px;
          right: 15px;
          cursor: pointer;
          color: var(--themeColor);
          // display: none;
        }

        .upImgBoxNo {
          display: none;
        }
      }

      .zztxtRow {
        margin-bottom: 20px;
        border: 1px solid #ccc;

        .zztxtRow1 {
          padding: 0 20px;
          height: 40px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          background-color: #e8e8e8;

          .zztxtRow1_1 {
            display: flex;
            align-items: center;

            .zztxtRow1_1_1 {
              font-weight: 700;
              font-size: 16px;
              margin-right: 20px;
            }

            .zztxtRow1_1_2 {
              display: flex;
              align-items: center;
              width: 580px;
              height: 32px;
            }
          }
        }

        .zztxtRow1_2 {
          display: flex;
          align-items: center;

          .anticon {
            cursor: pointer;
            font-size: 18px;
          }

          .zztxtRow1_2Icon {
            position: relative;
            top: 2px;
          }

          .zztxtRow1_2IconNo {
            pointer-events: none;
            opacity: 0.2;
          }
        }
      }

      .zztxtRowErr {
        border-color: #ff4d4f;
      }
    }

    // 从查看进来
    .txtBoxLook {
      .button-remove {
        display: none !important;
      }
      .bf-controlbar {
        pointer-events: auto !important;
        display: flex;
        justify-content: flex-end;
        button {
          display: none;
          &:last-child {
            display: inline-block;
          }
        }
        div {
          display: none;
        }
        .separator-line {
          display: none;
        }
      }
    }

    .noUpThumb {
      position: relative;
      overflow: hidden;
      opacity: 0;
      transition: top 0.2s;
      color: #ff4d4f;
      top: -20px;
      height: 0;
    }

    .noUpThumbAc {
      height: auto;
      top: -10px;
      opacity: 1;
    }

    .bf-media .bf-image {
      float: initial !important;
      display: block;
      margin: 0px auto;
      text-align: center;

      // 不让拖动放大缩小图片（会报错）
      .bf-csize-icon {
        display: none !important;
      }

      img {
        max-width: 500px;
        max-height: 300px;
      }
    }
    .bf-container.fullscreen {
      width: 100%;
      height: 100%;
      position: absolute;
    }
  }
}
