引入嵌套回复功能

我一直觉得“回复”标签可以更加具体——所以 不久前 我使用了一些自定义 CSS 来添加上下文:

截图

CSS
/* 为主题原始帖子(即主题本身)的回复按钮添加文本 */
#post_1 nav.post-controls {
  .actions {
    button.reply {
      span.d-button-label:after {
        // 在“回复”后添加此内容
        content: " 回复此主题";
      }
    }
  }
}

/* 为所有后续帖子(我称之为评论)的回复按钮添加文本 */
nav.post-controls {
  .actions {
    button.reply {
      span.d-button-label:after {
        // 在“回复”后添加此内容
        content: " 回复此评论";
      }
    }
  }
}

/* 为页面底部出现的蓝色“回复(主题)”按钮添加文本 */
#topic-footer-buttons {
  .topic-footer-main-buttons {
    button.btn-primary.create {
      span.d-button-label:after {
        // 在“回复”后添加此内容
        content: " 回复主主题";
      }
    }
  }
}
2 个赞