/*
 * Solo - A small and beautiful blogging system written in Java.
 * Copyright (c) 2010-present, b3log.org
 *
 * Solo is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *         http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
/**
 * Function and font text style
 *
 * @author <a href="http://vanessa.b3log.org">Liyuan Li</ta>
 * @version 0.3.0.0, Jul 17, 2019
 */

.fn {
  &__flex {
    display: flex;

    &-center {
      align-self: center;
    }

    &-inline {
      display: inline-flex;
      align-items: center;
    }

    &-1 {
      flex: 1;
      min-width: 1px;
    }

    &-column {
      min-height: 100%;
      display: flex;
      flex-direction: column;
    }
  }

  &__pointer {
    cursor: pointer;
  }

  &__clear:before,
  &__clear:after {
    display: table;
    content: "";
  }

  &__clear:after {
    clear: both;
  }

  &__left {
    float: left;
  }

  &__right {
    float: right;
  }

  &__none {
    display: none;
  }

  &__hidden {
    visibility: hidden;
  }

  &__ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
  }
}

.ft {

  &__13 {
    font-size: 13px;
  }

  &__smaller {
    font-size: 12px;
  }

  &__center {
    text-align: center;
  }

  &__nowrap {
    white-space: nowrap;
  }
}