/*
tami-wordpress-plugin
tami-global.scss
2023
*/

@import "../../../../common/assets/scss/variables";

#toplevel_page_tami-admin{
  .wp-menu-name{
    text-indent: -9999px;
    background-size: 48px !important;

    background-repeat: no-repeat !important;
    background-position: calc(0% + 10px) 7.5px !important;
    background-color: $tami-purple !important;
    transition: all .25s ease-in-out;
    background-image: url("./../images/tami-white.svg") !important;
  }
  .wp-menu-image{
    display: none;
  }

  a.toplevel_page_tami-admin.current{
    border-top: 3px solid $tami-purple;
    border-bottom: 3px solid $tami-purple;
    transition: all .25s ease-in-out;
    margin-top: -3px;
    margin-bottom: -3px;
    .wp-menu-name {
      background-image: url("./../images/tami-full.png") !important;
      background-color: $white2 !important;
    }
    &.current::after{
      transition: all .25s ease-in-out;
      border-right-color: $tami-purple !important;
    }
  }
  &:hover{
    .wp-menu-name {
      background-color: rgba($tami-purple, 0.9) !important;
    }
    a.toplevel_page_tami-admin.current {
      border-color: rgba($tami-purple, 0.5) !important;

      &.current::after{
        border-right-color: rgba($tami-purple, 0.5) !important;
      }
    }
  }
}
