﻿@use 'ej2-base/styles/common/mixin' as *;
@include export-module('document-editor-container-layout') {
  .e-de-toolbar {
    height: $e-de-toolbar-height;
  }
  .e-documenteditorcontainer {
    display: block;
  }
  .e-de-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn-text .e-de-text-wrap {
    height: $e-de-text-wrap-height;
    @if $skin-name == 'tailwind' {
      line-height: 1;
    }
    @else if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
      line-height: .5;
    }
    @else {
      line-height: $de-toolbar-line-height;
    }
  }

  .e-de-ctnr-file-picker {
    left: -110em;
    position: fixed;
  }

  .e-de-ctnr-rtl {
    direction: rtl;
  }

  .e-de-ctnr-layout-tab {
    position: relative;
    width: 100%;
    display: flex;
    align-content: center;
  }

  .e-de-ctnr-layout-ribbon-segment.e-de-ctnr-layout-tab .e-textbox,
  .e-de-ctnr-layout-ribbon-segment.e-de-ctnr-layout-tab .e-textbox {
    width: 100px;
  }

  .e-de-ctnr-hglt-btn {
    border: $e-de-ctnr-hglt-btn-border solid transparent;
    display: inline-block;
    height: $e-de-ctnr-hglt-btn-height;
    margin: $de-ctnr-hglt-btn-margin;
    width: 25px;
  }

  .e-color-selected,
  .e-de-ctnr-hglt-btn:hover {
    border-color: $de-white-color;
    outline: $de-black-color .5px solid;
  }

  .e-hglt-no-color {
    height: $e-hglt-no-color-height;
    padding-top: $de-hglt-no-color-padding-top;
    width: 157px;

    #{if(&, '&', '*')}:hover {
      background-color: $de-hover-bg;
      cursor: pointer;
    }
  }

  .e-de-ctnr-hglt-no-color {
    font-size: $de-ctnr-hglt-no-color-font-size;
    font-weight: normal;
    left: 40px;
    padding-top: $de-ctnr-hglt-no-color-padding-top;
    position: absolute;
    top: 100px;
  }

  /* stylelint-disable */
  .e-de-scrollbar-hide::-webkit-scrollbar {
    width: 0;
  }

  .e-de-scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* stylelint-enable */
  @if $skin-name == 'FluentUI' {
    .e-de-ctnr-group-btn .e-btn .e-btn-icon.e-icons.e-de-ctnr-fontcolor,
    .e-de-ctnr-group-btn .e-btn .e-btn-icon.e-icons.e-de-ctnr-change-case {
      font-size: 18px;
    }
  }

  .e-de-contextmenu-wrapper {
    .e-lib.e-contextmenu.e-control.e-menu-parent {
      .e-blankicon {
        padding-left: $de-tbl-merge-cell !important; /* stylelint-disable-line declaration-no-important */
      }
    }
  }
}
