/*
 * Rhythm - A modern community (forum/BBS/SNS/blog) platform written in Java.
 * Modified version from Symphony, Thanks Symphony :)
 * Copyright (C) 2012-present, b3log.org
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
/**
 * 前台样式.
 *
 * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
 * @author <a href="http://88250.b3log.org">Liang Ding</a>
 * @version 2.33.1.3, Mar 17, 2019
 */

@import "variables";

:root {
  --background-color: #fff;
  --background-secondary-color: #f6f8fa;
  --text-color: #000;
  --text-gray-color: #787777;
  --text-fade-color: #878787;
  --layer-color: #616161;
  --layer-background-color: #fff;
  --layer-border-color: #eee;
  --layer-hover-color: #fff;
  --layer-hover-background-color: #4285f4;
  --header-background-color: #3b3e43;
  --toc-hover-color: #4285f4;
  --tab-current-background-color: var(--header-background-color);
  --box-shadow: 0 3px 12px rgba(27, 31, 35, 0.15);
  --dialog-close-color: hsla(0, 0%, 100%, 0.54);
  --input-border-color: #d1d5da;
  --logo-hover-color: var(--header-background-color);
}

/* start list */
.domains-count {
  padding: 10px 18px;
  font-size: 18px;
  line-height: 26px;
  color: $theme-primary-text;
  text-align: center;
  border: 1px solid #eee;
  background-color: $theme-primary;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  box-shadow: 0px 0px 2px rgba(98, 124, 153, .1);
}

.domains-module {
  margin: 0;
}

.module-list.domain .slogan {
  text-align: center;
  margin-top: -8px;
  width: 60px;
}

.module-list.domain .title {
  margin-left: 80px;
}

/* end list */

/* start article */
.article {
  padding-top: 60px;

  .nav {
    position: fixed;
    top: 0;
  }

  .article-container {
    position: relative;
    margin: 20px auto 20px;
    max-width: 800px;
    background: #fff;
  }

  .article-body .wrapper,
  .main .wrapper {
    display: block;
    max-width: 768px;
  }

  .main {
    min-height: inherit;
  }

  .article-body {
    padding: 20px 0;
  }

  .article-info {
    font-size: 12px;
    line-height: 20px;

    .article-actions {
      line-height: 60px;
      font-size: 13px;
    }
  }

  h1.article-title {
    word-break: break-word;
    font-size: 28px;
    font-weight: normal;
    padding-top: 15px;
    text-align: center;

    svg {
      height: 28px;
      width: 28px;
      vertical-align: -4px;
    }
  }

  .article-statement{
    width: auto;
    color: #0f8cee;
    background-color: #e3f9fd;
    border-radius: 12px;
    padding: 4px 8px;
    margin: 5px auto;
    font-weight: bold;
  }

  .article-content {
    padding-top: 15px;
  }

  #articleRewardContent {
    padding: 15px 15px 41px 15px;
    background-image: -webkit-gradient(
                    linear,
                    0 0,
                    100% 100%,
                    color-stop(0.25, rgba(255, 255, 255, 0.9)),
                    color-stop(0.25, transparent),
                    color-stop(0.5, transparent),
                    color-stop(0.5, rgba(255, 255, 255, 0.9)),
                    color-stop(0.75, rgba(255, 255, 255, 0.9)),
                    color-stop(0.75, transparent),
                    to(transparent)
    );
    background-image: -o-linear-gradient(
                    -45deg,
                    rgba(255, 255, 255, 0.9) 25%,
                    transparent 25%,
                    transparent 50%,
                    rgba(255, 255, 255, 0.9) 50%,
                    rgba(255, 255, 255, 0.9) 75%,
                    transparent 75%,
                    transparent
    );
    background-image: linear-gradient(
                    -45deg,
                    rgba(255, 255, 255, 0.9) 25%,
                    transparent 25%,
                    transparent 50%,
                    rgba(255, 255, 255, 0.9) 50%,
                    rgba(255, 255, 255, 0.9) 75%,
                    transparent 75%,
                    transparent
    );
    background-color: #f7f7f7;
    background-size: 45px 45px;
    position: relative;

    .vditor-reset > p {
      margin-bottom: 0;
    }

    & > span {
      position: absolute;
      bottom: 10px;
      right: 10px;
      cursor: pointer;
    }
  }

  .share {
    position: absolute;
    top: 100px;
    left: -60px;
    width: 30px;
    font-size: 22px;
    color: $theme-secondary;
    text-align: center;

    .article-clipboard {
      position: absolute;
      top: -100000px;
    }

    svg {
      height: 22px;
      width: 22px;
    }

    & > span {
      display: block;
      margin-bottom: 10px;
    }

    #qrCode {
      position: absolute;
      top: 87px;
      left: 35px;
      border: 5px solid #eee;
      z-index: 1;
      height: 90px;
      border-radius: 3px;
      width: 90px;
    }

    #thankArticle .ft-13 {
      margin-top: -3px;
      display: block;
    }
  }

  .article-header {
    position: fixed;
    top: -60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 58px;
    z-index: 83;
    line-height: 38px;
    padding: 0 10px;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: $shadow-tip;
    font-size: 16px;
    transition: .5s;

    h1 svg {
      color: $black-text;
      vertical-align: baseline;
      height: 38px;
      width: 38px;
    }

    h2 {
      font-size: 24px;
      line-height: 48px;
      font-weight: normal;
      //flex: 1;
      margin: 0 20px;
      transition: margin 1s cubic-bezier(0, 0, 0.2, 1);
    }

    .user-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: nowrap;
    }

    .user-nav > span,
    .user-nav > a {
      white-space: nowrap;
      padding: 16px 10px;
      line-height: 16px;
      height: 16px;
      color: $theme-secondary;
      text-decoration: none;
    }

    .user-nav > span:hover,
    .user-nav > a:hover {
      color: $black-text;
    }

    .user-nav > span.ft-red {
      color: $theme-accent;
    }

    .user-nav svg {
      height: 16px;
      width: 16px;
    }
  }

  #articleToC {
    position: fixed;
    top: 80px;
    width: 20%;
    z-index: 0;
    right: 0;
    height: 100%;
    border-radius: 0;
    background: none;

    .module-panel {
      overflow: auto;
      border-radius: 0;
    }

    .article-toc li {
      list-style-type: none;

      a {
        padding: 5px 10px 5px 20px;
        border-left: 2px solid transparent;
        display: block;
        line-height: 20px;
        color: #767676;
      }

      a:last-child {
        border-bottom-width: 0;
      }

      a:hover {
        border-left: 1px solid $blue;
        background-color: #f7f7f7;
        padding-left: 21px;
        color: $blue;
        text-decoration: none;
      }

      &.current a {
        border-left: 2px solid $blue;
        background-color: #f0f0f0;
        color: $blue;
      }

      &.toc-h2 a,
      &.toc-h2.current a:hover {
        padding-left: 34px;
      }

      &.toc-h3 a,
      &.toc-h3.current a:hover {
        padding-left: 48px;
      }

      &.toc-h4 a,
      &.toc-h4.current a:hover {
        padding-left: 62px;
      }

      &.toc-h5 a,
      &.toc-h5.current a:hover {
        padding-left: 86px;
      }

      &.toc-h2 a:hover {
        padding-left: 35px;
      }

      &.toc-h3 a:hover {
        padding-left: 49px;
      }

      &.toc-h4 a:hover {
        padding-left: 63px;
      }

      &.toc-h5 a:hover {
        padding-left: 87px;
      }
    }
  }

  #revision .revisions {
    margin: 5px 0 15px;
    text-align: center;

    a {
      color: $black-light;
      vertical-align: middle;

      &:hover {
        color: $black-text;
      }

      &.disabled {
        color: $fade;
        cursor: default;
      }
    }

    span {
      margin: 0 10px 0 10px;
    }
  }

  .editor-panel {
    position: fixed;
    width: 100%;
    z-index: 120;
    height: 100%;
    box-sizing: border-box;
    bottom: -200%;

    .editor-bg {
      background-color: rgba(0, 0, 0, 0.5);
      height: 100%;
      position: absolute;
      top: 0;
      width: 100%;
    }

    .wrapper {
      background-color: $blue-lighter;
      bottom: 0;
      z-index: 121;
      position: absolute;
      padding: 15px 10%;
      box-sizing: border-box;
      width: 100%;
      max-width: initial;

      #commentContent {
        max-height: 600px;
      }

      .comment-submit {
        display: flex;
        align-items: center;
        margin-top: 10px;
      }
    }

    .form {
      width: 100%;
    }

    .editor-hide {
      color: $theme-secondary;
      margin: -3px 0 6px;
      font-size: 22px;
    }

    .editor-hide:hover {
      color: $black-text;
    }
  }
}

#heatBar {
  position: fixed;
  top: 2px;
  right: 0px;
  width: 100%;
  z-index: 84;
}

#thoughtProgress {
  height: 2px;
  position: relative;
  margin-bottom: 10px;
  margin-top: 20px;

  .bar {
    position: absolute;
    background-color: #e0e0e0;
    height: 2px;
  }

  .icon-video {
    position: absolute;
    top: -8px;
    left: 0;
    cursor: pointer;
    color: $theme-accent;
    margin-left: -10px;
  }
}

label.cmt-anonymous {
  margin: 0 9px;

  input {
    margin-left: 4px;
  }
}

.action-btns > span,
.action-btns > a {
  color: $theme-secondary;
  text-decoration: none;
}

.action-btns > span:hover,
.action-btns > a:hover {
  color: $black-text;
}

.action-btns > span.ft-red,
.action-btns > a.ft-red,
.action-btns > span.ft-red:hover,
.action-btns > a.ft-red:hover {
  color: $theme-accent;
}

.action-btns > span.icon-reply-btn {
  color: $theme-secondary;
  font-weight: bold;
}

.action-btns > span.icon-reply-btn:hover {
  color: $black-text;
}

.action-btns svg {
  vertical-align: text-top;
}

.comments {
  &.module {
    margin-bottom: 0;
  }

  .comments-header a {
    color: $fade;
    font-size: 16px;
    text-decoration: none;
  }

  .comments-header a:hover {
    color: $gray;
  }

  .list > ul > li.cmt-shield-shield {
    background-image: -webkit-gradient(
                    linear,
                    0 0,
                    100% 100%,
                    color-stop(0.25, rgba(255, 255, 255, 0.9)),
                    color-stop(0.25, transparent),
                    color-stop(0.5, transparent),
                    color-stop(0.5, rgba(255, 255, 255, 0.9)),
                    color-stop(0.75, rgba(255, 255, 255, 0.9)),
                    color-stop(0.75, transparent),
                    to(transparent)
    );
    background-image: -o-linear-gradient(
                    -45deg,
                    rgba(255, 255, 255, 0.9) 25%,
                    transparent 25%,
                    transparent 50%,
                    rgba(255, 255, 255, 0.9) 50%,
                    rgba(255, 255, 255, 0.9) 75%,
                    transparent 75%,
                    transparent
    );
    background-image: linear-gradient(
                    -45deg,
                    rgba(255, 255, 255, 0.9) 25%,
                    transparent 25%,
                    transparent 50%,
                    rgba(255, 255, 255, 0.9) 50%,
                    rgba(255, 255, 255, 0.9) 75%,
                    transparent 75%,
                    transparent
    );
    background-color: #f7f7f7;
    background-size: 45px 45px;
  }

  .list > ul > li.cmt-perfect,
  .list > ul > li.cmt-perfect:hover {
    background-color: #f9f6f6;
  }

  .list > ul > li:hover .hover-show,
  .list > ul > li.focus .fn-hidden {
    visibility: visible;
  }

  .list > ul > li:last-child {
    border-bottom-width: 0;
  }

  .comment {
    margin: 5px 0;
  }

  .comment img:not(.emoji) {
    max-width: 150px;
    max-height: 300px;
  }

  .comment > p:last-child {
    margin-bottom: 0px;
  }

  .comment > p > img:last-child {
    margin-bottom: 10px;
  }

  .comment-info .avatar-small {
    vertical-align: bottom;
  }

  .comment-info a:hover {
    text-decoration: none;
  }

  .comment-action > .ft-fade > .fn-pointer:hover {
    color: $gray;
  }
}

.nice .comments > ul > li:last-child {
  border-bottom-width: 0;
}

.comment-get-comment.list > ul {
  padding: 0;
}

.comment-get-comment.list > ul > li {
  padding-top: 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.comment-get-comment.list > ul > li:last-child {
  border-bottom: 1px solid #eee;
}

.comment-replies.list > ul {
  margin-top: 10px;
  padding: 0;
}

.comment-replies.list > ul > li {
  border-bottom-width: 0;
  border-top: 1px solid #eee;
}

.comment-replies.list > ul > li {
  background-color: transparent;
}

#replyUseName {
  line-height: 20px;
  height: 20px;
}

.img-preview {
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 111;
  overflow: auto;
  cursor: zoom-out;
  transition: background-color 0.2s ease-in-out;

  img {
    max-width: inherit;
    transition: transform 0.3s ease-in-out;
  }
}

.article-footer {
  margin-top: 20px;
  max-width: 768px;

  .module {
    margin-left: 20px;

    &:first-child {
      margin-left: 0;
    }
  }
}

#reportDialog {
  display: none;
}

/* end article */

/* start article list */
.article-list {
  ul > li {
    padding: 15px;
  }

  .stick li:last-child {
    border-bottom-width: 0;
  }

  ul > li > h2 {
    margin: 5px 0;
  }

  ul > li > h2 > a {
    font-size: 16px;
    font-weight: 700;
  }

  ul > li:hover .fn-hidden {
    visibility: visible;
  }

  .abstract {
    margin-top: 5px;
    color: $theme-secondary;
    display: block;
    text-decoration: none;
  }

  .abstract-img {
    width: 180px;
    height: 135px;
    border-radius: 2px;
    margin-left: 10px;
    background-size: cover;
    background-position: center center;
  }

  ul > li > h2 > a:visited,
  .abstract:visited {
    color: #999;
  }

  .author {
    color: $theme-secondary;
    font-weight: 600;
  }

  .list-info {
    line-height: 18px;
  }
}

.heat {
  position: absolute;
  height: 5px;
  background-color: $theme-accent;
  z-index: 1;
  bottom: -3px;
  right: 0;
}

.point,
.point-remove {
  position: absolute;
  height: 5px;
  background-color: $theme-accent;
  z-index: 1;
  bottom: -3px;
  right: 0px;
  width: 5px;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
}

.point-remove {
  animation-name: slideInLeft;
  -webkit-animation-name: slideInLeft;
}

@keyframes slideInLeft {
  0% {
    right: 0;
  }

  100% {
    right: 100%;
  }
}

@-webkit-keyframes slideInLeft {
  0% {
    right: 0;
  }

  100% {
    right: 100%;
  }
}

@keyframes slideInRight {
  0% {
    right: 100%;
  }

  100% {
    right: 0;
  }
}

@-webkit-keyframes slideInRight {
  0% {
    right: 100%;
  }

  100% {
    right: 0;
  }
}

.article-level0 {
  color: $fade;
}

.article-level1 {
  color: #ffcc00;
}

.article-level2 {
  color: #ffc1cc;
}

.article-level3 {
  color: #ff6633;
}

.article-level4 {
  color: $theme-accent;
}

.recent-rss {
  color: #ff9933 !important;
  float: right;
  margin: 2px 0 0 10px;

  &:hover {
    color: $blue !important;
  }
}

.domain-rss {
  color: #ff9933 !important;

  svg {
    vertical-align: sub;
  }

  &:hover {
    color: $blue !important;
  }
}

/* end article list */

/* start verify */
.verify {
  background-color: #fff;

  .intro {
    padding: 100px 50px;
    background-color: $blue-lighter;
    width: 40%;
    color: $theme-secondary;
  }

  .verify-wrap {
    width: 60%;
  }

  /* start register & login form */
  .form {
    font-size: 14px;
    line-height: 1.6;
    width: 250px;
    margin: 100px auto;

    & > svg {
      margin: 0 auto;
      display: block;
      height: 100px;
      width: 100px;
    }

    input[type="text"],
    input[type="password"] {
      margin: 10px 0;
      width: 100%;
      padding-left: 36px;
      background-color: #fff;
    }

    button {
      margin: 10px 0;
      width: 100%;
    }

    .input-wrap {
      position: relative;

      svg {
        color: $gray;
        position: absolute;
        top: 19px;
        left: 10px;
      }
    }

    .captcha-img {
      top: 11px;
      position: absolute;
      height: 31px;
      left: 1px;
      border-radius: 3px 0 0 3px;
    }

    input.captcha-input {
      padding-left: 91px;
    }
  }

  /* end register & login form */

  /* start opeinid login form */
  .openid-info {
    font-size: 14px;
    line-height: 1.6;
    margin: 100px 20px;

    .tip1 {
      font-size: 20px;
      font-weight: bold;
    }

    .tip2 {
      color: #b0a114
    }

    .info-box{
      margin-top: 20px;
      margin-bottom: 20px;
      display: flex;
      flex-direction: row;
      padding: 10px;
      align-items: center;
      background: #eeeeee;
      border-radius: 2px;
    }

    .info-detail{
      font-size: 18px;
    }

  }

  .openid-intro{
    .openid-intro-title{
      color:#4285f4
    }
  }


  /* end opeinid login form */
}


/* start guide */
.guide {
  .guide-tab,
  .step-btn {
    margin: 50px;
  }

  .guide-tab svg {
    height: 100px;
    width: 100px;
  }

  .form {
    margin: 0;
    width: auto;
  }

  #avatarUpload label {
    margin-top: 0;
  }

  .tag-desc > li {
    margin: 0 20px 20px 0;
  }

  .tag-desc > li > div {
    left: -3px;
    right: inherit;
    border-radius: 0px 3px 3px 3px;
  }

  .tag-desc li.current > a {
    background-color: $blue;
    color: #fff;
    border-color: rgba(0, 0, 0, 0.02);
  }

  .intro dl {
    margin-left: 50px;
  }

  .intro dd {
    margin-bottom: 50px;
  }

  .intro dt {
    position: relative;
  }

  .intro dt.current {
    color: #ffac45;
  }

  .intro dt .index {
    position: absolute;
    left: -38px;
    font-size: 46px;
    top: -13px;
    font-family: serif;
    font-weight: 600;
  }
}

/* start guide md */
.guide {
  .fn-flex > div {
    padding: 10px;
    width: 50%;
  }

  .md {
    background-color: $blue-lighter;

    pre {
      white-space: pre-wrap;
      word-wrap: break-word;
    }
  }
}

/* end guide md */

/* end guide */
/* end verify */

/* start tag-article.html */
.tag-articles {
  .article-info {
    padding: 15px 15px 0;
    margin-bottom: 15px;
  }

  .desc,
  .tag-articles-tag-desc.tag-desc {
    margin: 0 15px;
  }

  .tag-articles-tag-desc.tag-desc > li {
    margin: 0 15px 15px 0;
  }

  .tag-articles-tag-desc.tag-desc > li > div {
    left: -3px;
    right: auto;
    border-radius: 0 3px 3px 3px;
  }
}

/* end tag-article.html */

/* start overwrite prettify.css */
code.prettyprint {
  display: inline;
  border: none;
  background-color: initial;
  border-radius: initial;
  padding: initial;
}

code .str {
  color: initial;
}

/* string  - green */
code .kwd {
  color: initial;
}

/* keyword - dark pink */
code .com {
  color: initial;
  font-style: italic;
}

/* comment - gray */
code .typ {
  color: initial;
}

/* type - light blue */
code .lit {
  color: initial;
}

/* literal - blue */
code .pun {
  color: initial;
}

/* punctuation - white */
code .pln {
  color: initial;
}

/* plaintext - white */
code .tag {
  color: initial;
}

/* html/xml tag    - light blue */
code .atn {
  color: initial;
}

/* html/xml attribute name  - khaki */
code .atv {
  color: initial;
}

/* html/xml attribute value - green */
code .dec {
  color: initial;
}

/* decimal - blue */
/* end overwrite prettify.css */

/* start activity */
.activity {
  min-height: 300px;
}

.activity .list .ft-fade {
  margin-top: 6px;
  display: block;
}

#charCanvas {
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #fff;
  display: block;
  background-image: url(../images/m-char.png);
  background-size: cover;
  margin: 20px auto;
}

#paintCanvas {
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #fff;
  display: block;
  background-size: cover;
  margin: 20px auto;
}

#snakeCanvas,
#gobangCanvas {
  margin: 20px auto;
  display: block;
}

.snak-rank {
  margin: 30px 15px 0;

  .module:last-child {
    margin-left: 20px;
    margin-bottom: 20px;
  }

  .count {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

.sub-head .avatar-small {
  height: 24px;
  width: 24px;
  vertical-align: -3px;
}

.sub-head .ft-13 {
  font-weight: normal;
}

/* end activity */

/* start chatroom */
.chat-room .online-cnt {
  line-height: 33px;
  margin-right: 10px;
  color: $gray;
}

.chat-room .list {
  height: 200px;
  overflow: auto;
}

.chat-room .form.fn-content {
  background-color: #f1f7fe;
}

.chat-room #comments li img {
  max-height: 400px;
  max-width: 600px;
}

/* end chatroom */

/* start index */
.index {
  .index-main {
    width: 60%;
  }

  .index-side {
    margin-left: 2px;
    width: 40%;
  }

  .article-list .heat {
    display: none;
  }

  .more {
    display: block;
    text-align: right;
  }

  .index-tabs > span {
    flex: 1;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
    cursor: pointer;
    transform: translateZ(0);
    backface-visibility: hidden;
    position: relative;
    transition-property: color;
    transition-duration: 0.3s;
    text-align: center;
    border-bottom: 2px solid $blue;
    background-color: #fff;
    color: $gray;
    overflow: hidden;
  }

  .index-tabs > span a {
    color: $black-text;
    text-decoration: none;
    display: block;

    svg {
      vertical-align: text-bottom;
    }
  }

  .index-tabs > span.current,
  .index-tabs > span.current:hover {
    color: $black-text;
  }

  .index-tabs > span.tags {
    border-bottom-color: $green;
    margin: 0 2px;
  }

  .index-tabs > span.users {
    border-bottom-color: #f1e05a;
  }

  .index-tabs > span.perfect {
    border-bottom-color: $theme-accent;
  }

  .index-tabs > span.check {
    border-bottom-color: #563d7c;
    margin: 0 2px;
  }

  .index-tabs > span.post {
    border-bottom-color: #ffac45;
  }

  .index-tabs > span:hover,
  .index-tabs > span:hover a {
    color: #fff;
  }

  .index-tabs > span:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: $blue;
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition: transform 0.3s ease-out;
  }

  .index-tabs > span.tags:before {
    background-color: $green;
  }

  .index-tabs > span.users:before {
    background-color: #f1e05a;
  }

  .index-tabs > span.perfect:before {
    background-color: $theme-accent;
  }

  .index-tabs > span.check:before {
    background-color: #563d7c;
  }

  .index-tabs > span.post:before {
    background-color: #ffac45;
  }

  .index-tabs > span:hover:before {
    transform: scaleY(1);
  }

  .index-tabs > span.current:hover:before {
    transform: scaleY(0);
  }

  .index-tabs > span > svg {
    display: none;
    vertical-align: text-top;
  }

  .index-tabs > span.current > svg {
    display: inline-block;
  }

  .perfect-panel {
    background-color: $blue-lighter;

    .avatar-small {
      position: absolute;
      left: 10px;
    }

    .fn-ellipsis {
      padding: 0 50px 0 30px;
      display: block;
      box-sizing: border-box;
      line-height: 20px;
    }

    .count {
      position: absolute;
      right: 10px;
      top: 17px;
    }
  }

  .metro-item {
    flex: 1;
    width: 215px;
    height: 215px;
    text-align: center;
    overflow: hidden;
    position: relative;
    margin-right: 2px;
    margin-bottom: 2px;

    .calendar-container {
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      .canendar-body {
        height: 75%;
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 20px 20px 5px 5px;
        box-shadow: 0 2px 4px rgb(0 0 0 / 50%);
        transition: all .15s ease-in-out;

        .calendar-head {
          height: 33%;
          font-size: 13px;
          background: #be4145;
          border-radius: 10px 10px 0 0;
          width: 100%;
          color: white;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
        }

        .calendar-content {
          height: 67%;
          font-size: 80px;
          font-weight: bold;
          color: #333333;
          background: white;
          width: 100%;
          border-radius: 0 0 5px 5px;
        }
      }

      .canendar-body:hover {
        box-shadow: 0 5px 10px rgb(0 0 0 / 50%);
      }
    }

    .preview {
      height: 100%;
      width: 100%;
      padding-top: 108px;
      position: relative;
      box-sizing: border-box;
      display: block;
      transition: all 0.2s ease-out 0s;
      color: #999;
      text-decoration: none;
    }

    .preview:hover {
      background-color: rgba(0, 0, 0, 0.02);
      color: $black-text;
    }

    .preview img {
      transition: all 0.2s ease-out 0s;
      margin-top: -48px;
      height: 60px;
      width: 60px;
    }

    .preview:hover > img {
      border-radius: 30px;
    }

    .preview > b {
      display: block;
      margin-top: 20px;
      font-weight: normal;
    }
  }

  .tag-metro-item {
    text-align: center;
    overflow: hidden;
    position: relative;
    margin-right: 15px;
    width: 40px;
    margin-bottom: 15px;

    .preview {
      height: 100%;
      width: 100%;
      position: relative;
      box-sizing: border-box;
      display: block;
      transition: all 0.2s ease-out 0s;
      color: #999;
      text-decoration: none;
    }

    .preview:hover {
      background-color: rgba(0, 0, 0, 0.02);
      color: $black-text;
    }

    .preview img {
      transition: all 0.2s ease-out 0s;
      margin-top: 0px;
      height: 40px;
      width: 40px;
    }

    .preview:hover > img {
      border-radius: 30px;
    }

    .preview > b {
      display: block;
      font-weight: normal;
      white-space: nowrap;
    }
  }

  &__bottom {
    background-color: rgba(0, 0, 0, 0.02);
    padding-top: 20px;
    margin-top: 20px;
  }

  .metro-border > div {
    height: 2px;
    flex: 1;
    background-color: $blue;
    margin-right: 2px;
    margin-top: -2px;
  }

  .metro-border > div.yellow {
    background-color: #f1e05a;
  }

  .metro-border > div.green {
    background-color: $green;
  }

  .metro-border > div.red {
    background-color: $red;
  }

  .metro-border > div.purple {
    background-color: #563d7c;
  }

  .ad img {
    width: 100%;
  }
}

@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

.ripple {
  position: absolute;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 100%;
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.75s ease-out;
  content: " ";
  width: 100%;
  height: 100%;
}

/* end index */

/* start symhub */
.symhub {
  li a {
    color: $theme-secondary;
    vertical-align: middle;
    font-size: 16px;
    line-height: 20px;
  }

  li:last-child {
    border-bottom: 0;
  }
}

/* end symhub */

/* start top */
.top-ranking {
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* end top */

.cake {
  animation: move 3s 0s infinite;
  -webkit-animation: move 3s 0s infinite;
  transform-origin: bottom;
  -webkit-transform-origin: bottom;
}

@keyframes move {
  0%,
  65% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  70% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  75% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
  80% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  85% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
  90% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  95% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@-webkit-keyframes move {
  0%,
  65% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  70% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  75% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
  80% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  85% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
  90% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  95% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

/* index chatroom */
#chatRoomIndex li img {
  max-width: 150px;
  max-height: 150px;
}

.comment__reply {
  padding: 15px;

  .reply__text {
    color: #4285f4;
    cursor: pointer;
    border: 1px solid #eee;
    line-height: 37px;
    border-radius: 3px;
    padding: 0 10px;
  }
}

.article__meta {
  background-color: #f6f8fa;
  color: rgba(0, 0, 0, 0.38);
  font-size: 12px;
  transition: all 0.15s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 3px;
  display: flex;

  a {
    outline: 0;
    text-decoration: none;
  }

  #articleMeta {
    height: 38px;
    overflow: hidden;
    margin: 15px 0 0 5px;
  }

  .meta__more {
    float: right;
    margin: 0 15px 0 0;
    cursor: pointer;
    height: 38px;
  }

  .avatar {
    height: 68px;
    width: 68px;
    border-radius: 3px 0 3px 0;
  }

  .article__titles {
    text-align: center;
    width: 68px;

    span {
      margin: 15px 1px 0;
      display: inline-block;
    }
  }
}

.ft-a-title {
  color: #616161 !important;
  text-decoration: none;
}

.article__stats {
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: #8b8b8b;
  margin-right: 15px;
  float: left;
}

.article__view {
  line-height: 16px;
  color: #8b8b8b;
  margin: 15px 0 15px 5px;
  text-align: right;
  border-top: 1px solid #eee;
  padding: 15px 0 0;

  .tooltipped__n {
    margin-right: 15px;
  }

  svg {
    margin-right: 3px;
  }

  .tooltipped__n:hover {
    color: var(--text-gray-color);
  }
}

.article__cnt {
  font-size: 14px;
  line-height: 20px;
  display: block;
  color: rgba(0, 0, 0, 0.54);
}

.article-tail .article__cmt-refs,
.article-tail .comment__action,
.article__meta {
  margin-top: 15px;
}

.article-tail {
  padding-top: 15px;

  .tag-desc > li {
    margin-bottom: 0;
  }

  .tag-desc > li > a {
    float: left;
    color: var(--layer-color);
    padding: 2px 5px;
    border: 1px solid transparent;
    position: relative;
    height: 20px;
    white-space: nowrap;
    word-wrap: normal;
    background-color: var(--background-secondary-color);
    border-radius: 3px 3px 3px 3px;
    line-height: 21px;
  }

  .tag-desc > li > a > div {
    border-radius: 2px 2px 2px 2px;
    height: 16px;
    width: 16px;
    float: left;
    margin: 2px 3px 0 0;
    background-image: none;
    background-color: rgba(0, 0, 0, 0.02);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
  }
}

.article-level0 {
  color: var(--text-fade-color) !important;
}

.fn__flex-inline {
  display: inline-flex;
  align-items: center;
}

.article__stats--a:hover {
  text-decoration: none;
  color: var(--text-color);
}

.article__meta:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.article__stats--a:hover .article__cnt {
  color: var(--text-color) !important;
}

.tag-desc > li:hover > a,
.tag-desc > li > a.tag-desc--current {
  border-bottom-style: dotted;
  border-radius: 3px 3px 0 0;
  z-index: 2;
  color: var(--text-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tag-desc > li > a {
  float: left;
  color: var(--layer-color);
  padding: 2px 5px;
  border: 1px solid transparent;
  position: relative;
  height: 20px;
  white-space: nowrap;
  word-wrap: normal;
  background-color: var(--background-secondary-color);
  border-radius: 3px 3px 3px 3px;
  line-height: 21px;
}

.tag-desc > li:hover > div {
  display: block;
}

.tag-desc > li > div {
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
  -webkit-animation-name: scale-in;
  animation-name: scale-in;
  -webkit-animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
  animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
  background-color: var(--background-secondary-color);
  border-radius: 3px 0 3px 3px;
  display: none;
  right: 0;
  margin-left: 3px;
  padding: 5px 10px;
  position: absolute;
  top: 26px;
  z-index: 41;
  width: 200px;
  min-width: 150px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tag-desc--right > li > div {
  left: -3px !important;
  right: auto !important;
  border-radius: 0 3px 3px 3px !important;
}

.article-tail .tag-desc > li {
  margin-bottom: 0;
}

.tag-desc > li {
  float: left;
  position: relative;
  list-style: none;
  margin: 0 15px 15px 0;
  font-size: 12px;
}

.ft__smaller {
  font-size: 12px;
}

.chats__content .ft__smaller {
  font-weight: 500;
  font-size: 13px;
}

.article__participant {
  float: left;
  cursor: pointer;
  width: 42px;
  height: 38px;
  padding-top: 3px;
  box-sizing: border-box;

  .avatar-small {
    border-radius: 18px;
    height: 32px;
    width: 32px;
  }
}

.fn__space5 {
  width: 5px;
  display: inline-block;
}

.fn__pointer {
  cursor: pointer;
}

.article__meta .meta__more {
  float: right;
  margin: 0 15px 0 0;
  cursor: pointer;
  height: 38px;
}

.ft-a-title:hover {
  color: var(--text-color) !important;
}

.ft-a-title {
  color: var(--layer-color) !important;
  text-decoration: none;
}

.chats__users {
  overflow: auto;
}

.chats__users::-webkit-scrollbar {
  display: none;
}

.chats__input {
  margin-bottom: 15px;
}

.chats__editor {
  min-height: 160px;
}

.chats__content {
  background-color: var(--background-secondary-color);
  border-radius: 5px;
  padding: 8px 15px;
  margin: 0 53px 15px 15px;
  overflow: initial;
  max-width: 85%;
  box-sizing: border-box;
}

.chats__content .vditor-reset::-webkit-scrollbar {
  display: none;
}

.chats__content .language-echarts,
.chats__content .language-mermaid,
.chats__content .language-mindmap,
.chats__content iframe {
  max-width: 510px;
  border: none !important;
}

.chats__content .vditor-reset img:not(.emoji) {
  max-width: 150px;
  max-height: 300px;
}

.chats__arrow {
  position: relative;
}

.chats__arrow:after {
  position: absolute;
  width: 0;
  height: 0;
  content: "";
  top: 5px;
  left: -25px;
  border: 5px solid transparent;
  border-right: 5px solid var(--background-secondary-color);
}

.chats__item .avatar {
  position: relative;
  margin-right: 0;
}

.chats__item .avatar::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
}

.Christmas .avatar::after {
  right: -18px;
  top: -12px;
  transform: rotate(15deg);
  background: url("../images/festival/Christmas.png") no-repeat center center;
  background-size: cover;
}

.NationalDay .avatar::after {
  right: 0;
  top: 0;
  background: url("../images/festival/NationalDay.png") no-repeat center center;
  background-size: cover;
}

.MidAutumnFestival .avatar::after {
  right: -7px;
  top: -7px;
  width: 52px;
  height: 52px;
  background: url("../images/festival/MidAutumnFestival.png") no-repeat center center;
  background-size: cover;
}

.SpringFestival .avatar::after {
  right: 0;
  top: 0;
  background: url("../images/festival/SpringFestival.png") no-repeat center center;
  background-size: cover;
}

.chats__item--me {
  flex-direction: row-reverse;
}

.chats__item--me .chats__content {
  margin: 0 15px 15px 53px;
  background-color: rgba(98, 162, 240, 0.1);
}

.chats__item--me .chats__content .chats__arrow:after {
  right: -25px;
  border-left-color: rgba(98, 162, 240, 0.1);
  left: auto;
  border-right-color: transparent;
}

.ft__fade {
  color: var(--text-fade-color);
}

.fn__right {
  float: right;
}

.action__item {
  line-height: 18px;
  height: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.action__item,
.comment__titles span {
  font-size: 12px;
  color: var(--layer-color);
}

.fn__flex-center {
  -ms-grid-row-align: center;
  align-self: center;
}

.details {
  display: inline-block;
  position: relative;
}

.details > summary {
  list-style: none;
}

.fn__layer {
  display: block;
  padding: 5px 0;
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
  -webkit-animation-name: scale-in;
  animation-name: scale-in;
  -webkit-animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
  animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
  position: absolute;
  background-color: var(--layer-background-color);
  line-height: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--layer-border-color);
  border-radius: 3px;
  min-width: 180px;
  right: 0;
  z-index: 100;
}

.action__item details-menu {
  right: -15px;
  top: 20px;
}

.details > summary {
  list-style: none;
}

.details > summary::-webkit-details-marker,
.details > summary:before {
  display: none;
}

.details > summary:focus {
  outline: none;
}

.details:not([open]) > :not(summary) {
  display: none;
}

.details details-menu:after,
.details details-menu:before {
  top: -14px;
  right: 12px;
  left: auto;
  position: absolute;
  border: 7px solid transparent;
  border-bottom: 7px solid var(--layer-background-color);
  content: " ";
}

.details details-menu:before {
  border-width: 8px;
  border-bottom-color: var(--layer-border-color);
  top: -16px;
  right: 11px;
}

.fn__layer .item {
  display: block;
  text-shadow: 0 1px 0 var(--layer-background-color);
  position: relative;
  padding: 5px 10px;
  color: var(--layer-color);
  font-weight: 400;
  width: 100%;
  box-sizing: border-box;
  word-break: break-all;
}

.fn__layer .item--current,
.fn__layer .item:hover {
  text-decoration: none;
  background-color: var(--layer-hover-background-color);
  color: var(--layer-hover-color) !important;
  text-shadow: none;
}

.fn__layer a:hover {
  text-decoration: underline;
}

.chats__item--me {
  flex-direction: row-reverse;
}

.pd__15 {
  padding: 15px;
}

.user-card {
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
  -webkit-animation-name: scale-in;
  animation-name: scale-in;
  -webkit-animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
  animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
  width: 400px;
  box-shadow: 0 3px 12px rgba(27, 31, 35, 0.15);
  background-color: var(--layer-background-color);
  min-height: 50px;
  box-sizing: border-box;
  font-size: 14px;
  border-radius: 3px;
  border-top: 1px solid transparent;
}

.user-card > div {
  padding: 15px;
  border-radius: 3px;
}

.user-card--bg {
  width: 460px !important;
  background-size: cover;
  background-position: 50%;
}

.user-card--bg .avatar-mid {
  width: 120px !important;
  height: 120px !important;
  top: 65px !important;
}

.user-card--bg > div {
  margin-top: 120px;
  border-radius: 0 0 3px 3px;
}

.user-card--bg .user-card__info,
.user-card--bg .user-card__name {
  margin-left: 135px !important;
}

.user-card__name {
  font-size: 18px;
  line-height: 22px;
  margin-left: 92px;
}

.user-card__name,
.user-card__name:hover {
  color: var(--text-color);
}

.user-card__info {
  margin: 8px 0;
  line-height: 18px;
  font-size: 14px;
  min-height: 18px;
  overflow: hidden;
}

.user-card__icons a,
.user-card__icons span {
  margin-right: 10px;
  float: left;
  height: 20px;
}

.user-card__icons a svg,
.user-card__icons span svg {
  margin-top: 2px;
  height: 16px;
  width: 16px;
  color: var(--text-gray-color);
  vertical-align: super;
}

.user-card__icons a:hover {
  text-decoration: none;
}

.user-card__icons a:hover svg {
  color: #4285f4;
}

.user-card__icons img {
  float: left;
  margin-top: 2px;
}

.user-card__icon--disabled svg {
  opacity: 0.3;
}

.user-card .avatar-mid-card {
  height: 77px;
  width: 77px;
  position: absolute;
  top: -39px;
  background-color: hsla(0, 0%, 100%, 0.8);
  background-size: 100% 100%;
}

.user-card .avatar-mid-card::after {
  content: "";
  position: absolute;
  width: 77px;
  height: 77px;
}

.Christmas .avatar-mid-card::after {
  right: -36px;
  top: -20px;
  transform: rotate(22deg);
  background: url("../images/festival/Christmas.png") no-repeat center center;
  background-size: cover;
}

.NationalDay .avatar-mid-card::after {
  right: 0;
  top: 0;
  background: url("../images/festival/NationalDay.png") no-repeat center center;
  background-size: cover;
}

.NationalDay .user-card.user-card--bg .avatar-mid-card::after {
  width: 105px;
  height: 105px;
}

.MidAutumnFestival .avatar-mid-card::after {
  right: -14px;
  top: -14px;
  width: 100px;
  height: 100px;
  background: url("../images/festival/MidAutumnFestival.png") no-repeat center center;
  background-size: cover;
}

.MidAutumnFestival .user-card.user-card--bg .avatar-mid-card::after {
  right: -14px;
  top: -14px;
  width: 130px;
  height: 130px;
}

.SpringFestival .avatar-mid-card::after {
  right: 0;
  top: 0;
  background: url("../images/festival/SpringFestival.png") no-repeat center center;
  background-size: cover;
}

.SpringFestival .user-card.user-card--bg .avatar-mid-card::after {
  width: 105px;
  height: 105px;
}

.progress {
  background-color: rgba(100, 100, 100, 0.2);
  border-radius: 5px;
  position: relative;
  margin: 0 3px 0 10px;
  height: 10px;
  width: 100%;
}

.progress-done {
  background: linear-gradient(to left, rgb(34, 199, 102), rgb(23, 154, 76));
  border-radius: 5px;
  height: 10px;
  width: 0;
  transition: width 1s ease 0.3s;
}

.percent {
  color: #333;
  user-select: none;
}

.review {
  border: 1px solid transparent;
  border-radius: 5px;
  color: #777;
  display: flex;
  font-size: 12px;
  align-items: center;
  padding: 0 10px 10px 10px;
  margin: 5px 0;
}

.chats__content .vditor-reset {
  overflow: visible;
}

.hongbao__item {
  position: relative;
  background-color: var(--layer-background-color);
  color: var(--layer-color);
  cursor: pointer;
  padding: 7px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin: 3px 5px 8px 3px;
}

.hongbao__item:hover {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.13), 0 3px 6px rgba(0, 0, 0, 0.26);

}

.hongbao__finger_guessing {
  position: absolute;
  z-index: 128;
  top: 0;
  left: 0;
  /*display: flex;
  justify-content: space-around;
  align-items: center;*/
  width: 100%;
  height: 100%;
  padding: 5px;
  opacity: 1;
  transition: .5s;
  box-sizing: border-box;
}

/*.hongbao__item:hover .hongbao__finger_guessing,
.hongbao__item:active .hongbao__finger_guessing{
  opacity: 1;
  background: rgba(0,0,0,.3);
}*/

.opened .hongbao__finger_guessing {
  display: none;
}

.hongbao__finger_guessing_icon {
  position: absolute;
  right: -25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: .2s;
}

.hongbao__finger_guessing_icon:hover {
  border-color: #5c1151;
}

.hongbao__finger_guessing_icon:nth-child(1) {
  top: -25px;
  background: url("../images/redpacket/gesture/rock.png") no-repeat center center;
  background-size: contain;
}

.hongbao__finger_guessing_icon:nth-child(2) {
  top: 15px;
  right: -50px;
  background: url("../images/redpacket/gesture/scissors.png") no-repeat center center;
  background-size: contain;
}

.hongbao__finger_guessing_icon:nth-child(3) {
  top: 55px;
  background: url("../images/redpacket/gesture/paper.png") no-repeat center center;
  background-size: contain;
}

.hongbao__icon {
  height: 50px !important;
  width: 50px !important;
  margin-right: 7px;
}

.hongbao__count {
  font-size: 24px;
  margin: 10px 0;
}

.hide-list {
  --border-color: #d1d5da;
  --second-color: rgba(88, 96, 105, 0.36);
  --panel-background-color: #fff;
  --panel-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  --toolbar-background-color: #f6f8fa;
  --toolbar-icon-color: #586069;
  --toolbar-icon-hover-color: #4285f4;
  --toolbar-height: 35px;
  --toolbar-divider-margin-top: 8px;
  --textarea-background-color: #fafbfc;
  --textarea-text-color: #24292e;
  --resize-icon-color: var(--toolbar-icon-color);
  --resize-background-color: var(--toolbar-background-color);
  --resize-hover-icon-color: var(--panel-background-color);
  --resize-hover-background-color: var(--toolbar-icon-hover-color);
  --count-background-color: rgba(27, 31, 35, 0.05);
  --heading-border-color: #eaecef;
  --blockquote-color: #6a737d;
  --ir-heading-color: #660e7a;
  --ir-title-color: #808080;
  --ir-bi-color: #0033b3;
  --ir-link-color: #008000;
  --ir-bracket-color: #0000ff;
  --ir-paren-color: #008000;
  background-color: var(--panel-background-color);
  position: absolute;
  box-shadow: var(--panel-shadow);
  border-radius: 3px;
  padding: 5px;
  z-index: 3;
  font-size: 14px;
  display: none;
  user-select: none;
  max-width: 320px;
  min-width: 80px;
  animation-duration: 0.15s;
  animation-name: scale-in;
  animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
  color: var(--toolbar-icon-color);
}

.hide-list-emojis {
  display: inline-block;
  overflow: auto;
}

.hide-list-emojis button {
  cursor: pointer;
  border-radius: 3px;
  float: left;
  height: 72px;
  width: 72px;
  text-align: center;
  line-height: 26px;
  padding: 3px;
  box-sizing: border-box;
  font-size: 16px;
  transition: all 0.15s ease-in-out;
  border: 0;
  margin: 0;
  background-color: transparent;
  overflow: hidden;
}

.hide-list-emojis__tail {
  margin-top: 5px;
  font-size: 12px;
  color: var(--toolbar-icon-color);
  display: flex;
}

.hide-list-emojis__tail a {
  text-decoration: none;
  color: var(--toolbar-icon-color);
}

.hide-list-emojis__tail a:hover {
  color: var(--toolbar-icon-hover-color);
  cursor: pointer;
  text-decoration: none;
}

.hide-list-emojis__tip {
  flex: 1;
  min-width: 1px;
  width: 200px;
  margin-right: 10px;
  color: var(--toolbar-icon-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.hide-list-emojis button:hover {
  text-decoration: none;
  border-color: rgba(0, 0, 0, 0.38);
  background-color: #eee;
}

.hide-list-emojis button:active {
  background-color: rgba(0, 0, 0, 0.38);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) inset;
}

.showList {
  display: block;

  &#emojiList {
    top: 360px;
  }
}

.divX {
  text-align: right;
  cursor: pointer;
  height: 15px;

  > svg:hover {
    border: dashed red 1px;
    border-bottom-left-radius: 100px;
  }
}

.TGIF__item {
  background-color: var(--layer-background-color);
  color: var(--layer-color);
  cursor: default;
  padding: 10px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin: 0px 5px 10px 5px;
  transition: all .15s ease-in-out;
}

.TGIF__item:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.index-full-size {
  height: 120px;
  border-radius: 10px;
  margin-bottom: 30px;
  color: #000000;
  font-family: "Ma Shan Zheng", cursive;
  cursor: default;
}

.index-full-size-white {
  background-color: rgba(229, 228, 228, 0.7);
  height: 65px;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 18px;
  color: #303049;
  font-family: "Ma Shan Zheng", cursive;
  cursor: default;
}


/* 扫码登录 */
.hide-me {
  display: none;
}

.login-qrcode-box {
  position: relative;
  margin: 10px;
  text-align: center;

  &.scan-ing::after {
    content: "处理中...";
    position: absolute;
    top: 0;
    left: 50%;
    width: 150px;
    height: 150px;
    background: rgba(0, 0, 0, .7);
    line-height: 150px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    transform: translateX(-50%);
  }
}

