/*!
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author:  
 */
 .tags-container .tag-item:hover{
  background: #f5f5f5;
 }
.tags-breadcrumb {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 50px;
}

.tags-breadcrumb-list {
  padding: 0 15px;
}

.tag-collapse {
  font-size: 36px !important;
}

.tag-collapse.tag-collapse_right {
  transform: rotate(90deg);
}

.tags-container {
  .font_family{
    font-size: 28px;
    opacity: 0.7;
 
  }
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  // box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  .contextmenu{
    position: fixed;
    width: 90px !important;
    z-index: 100;
    border: 1px solid #f1eded;
    li{
      display: inline-block;
      width: 100%;
    box-sizing: border-box;
    }
    li:hover{
      background: $--color-primary;
      color: #fff !important;
    }
    
  }
  .contextmenu:before{
    content: "";
    top: -7px;
    left: 40px;
    position: absolute;
    z-index: 100;
    width: 0;
    height: 0;
    border-width: 0 7px 7px;
    border-style: solid;
    border-color: transparent transparent #fff;
  }
  .tags-box {
    position: relative;
    box-sizing: border-box;
    padding-right: 58px;
    width: 100%;
    height: 40px;
    background: #fff;
  }
  .tags-list {
    position: absolute;
    // padding: 0px 10px;
    overflow: visible;
    white-space: nowrap;
    transition: left .3s ease;
  }
  .tag-item-icon {
    color: #eee;
    font-size: 11px !important;
  }
  .tag-item {
    position: relative;
    display: inline-block;
    height: 42px;
    line-height: 42px;
    // margin: 2px 4px 2px 0;
    padding: 0 10px;
    // border: 1px solid #eee;
    border-right: 1px solid #eee;
    // border-top: 1px solid #eee;
    background: #fff;
    color: #333 !important;
    font-size: 12px;
    vertical-align: middle;
    box-sizing: border-box;
    opacity: 1;
    overflow: hidden;
    cursor: pointer;
    .tag-item-icon:before{
      content:"\e725"
    }
    &.is-active {
      .tag-item-icon:before {
        content: "\e701";
        color: $--color-primary;
        width: 8px;
        height: 8px;
        border-radius: 100%;
        background-color: #fff;
        }
      color: #333 !important;
      .tag-item-icon {
        color: $--color-primary;
      }
      border-top:3px solid $--color-primary;
      box-sizing: border-box;
      line-height: 39px;
      background: #f1f4f5;
    }
    .tag-text{
      margin-left: 5px;
    }
  }
 
  .tag-close {
    margin-left: 8px;
  }
  .tag-item:hover {
    opacity: .85;
  }
  .tags-menu {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding-right:10px;
    height: 100%;
    box-sizing: border-box;
    background-color: #fff;
    // border-left: 1px solid #eee;
    .el-button{
      box-sizing: border-box;
      color: #333;
      height: 42px;
      line-height: 42px;
      background:#fff !important;
      border:none;
      border-top: 1px solid #eee !important;
      border-radius: 0;
      line-height: 30px;
      font-size: 18px;
    }
  }
}

.contextmenu {
  margin: 0;
  background: #fff;
  top: 64px;
  list-style-type: none;
  padding: 5px 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  color: #333;
  box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
  li {
    margin: 0;
    height: 32px;
    line-height: 32px;
    padding: 0 15px;
    cursor: pointer;
    &:hover {
      background: #eee;
    }
  }
}

.tags-container .tags-box{
  padding-right: 58px;
  border-top: 1px solid #eee;
  box-sizing: border-box;
  // margin-right: 106px;
  }
  .tags-list-arrow{
  display: inline-block;
  width: 42px;
  height: 42px;
  line-height: 42px;
 
  background-color: #fff;
  position:absolute;
  font-size: 16px;
  z-index: 1;
  // border: 1px solid #eee;
  // border-right: 1px solid #eee;
  color: #333;
      text-align: center;
  }


  .tags-list-left{
  left: 0;
  }
  .tags-list-home:hover{
    background: #f5f5f5;
  }
  .tags-list-right{
  right: 58px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  box-sizing: border-box;
  }

  .tags-list-home{
    display: inline-block;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-left: 1px solid #eee;
    background-color: #fff;
    position:absolute;
    left: 42px;
    font-size: 20px;
    z-index: 1;
    border-right: 1px solid #eee;
    // border: 1px solid #eee; 
    color: #333;
        text-align: center;

  }

.isHome-active{
  border-top: 3px solid $--color-primary;
  background: #f1f4f5;
  box-sizing: border-box;
    line-height: 39px;
}

.el-dropdown-menu__item:not(.is-disabled):hover, .el-dropdown-menu__item:focus{
  background-color: $--color-primary !important;
  color: #fff !important;
}

.el-tag--mini{
  padding: 0 10px !important;
}

.el-select__tags .el-tag{
  line-height: 24px !important;
}