@use 'ej2-base/styles/common/mixin' as *;
@include export-module('pdfviewer-layout') {

  /*! component layout */
  /* stylelint-disable property-no-vendor-prefix */
  .e-pdfviewer {
    .e-pv-viewer-container {
      border-style: $pv-viewer-border-style;
      border-width: $pv-viewer-border-width;
    }

    .e-pv-text-layer {
      position: absolute;
      top: 0;
      z-index: 2;
    }

    .e-pv-annotation-canvas {
      left: 0;
      position: absolute;
      top: 0;
    }

    .e-pv-text {
      background: transparent;
      color: transparent;
      line-height: $pv-line-height-normal;
      opacity: $pv-text-selection-opacity;
      position: absolute;
    }

    .e-pv-search-text-highlight,
    .e-pv-search-text-highlightother {
      line-height: $pv-line-height-normal;
      opacity: $pv-text-selection-opacity;
      position: absolute;
    }

    .e-pv-hyperlink {
      z-index: 2;
    }

    .e-pv-hyperlink.e-pv-onselection {
      z-index: 1;
    }

    .e-enable-text-selection {
      -moz-user-select: text;
      -ms-user-select: text;
      -webkit-user-select: text;
      user-select: text;
    }

    .e-disable-text-selection {
      -moz-user-select: none;
      -ms-user-select: none;
      -webkit-user-select: none;
      user-select: none;
    }

    .e-enable-text-selection .e-pv-text {
      display: inline-block;
    }

    .e-disable-text-selection .e-pv-text {
      display: none;
    }

    .e-pv-cursor {
      cursor: text;
    }

    .e-pv-crosshair-cursor {
      cursor: crosshair;
    }

    .e-pv-touch-select-drop {
      display: inline-block;
      height: $pv-height-30;
      position: absolute;
      width: $pv-width-30;
      z-index: 1000;
    }

    .e-pv-touch-ellipse {
      background-color: $pv-selection-touch-element-background-color;
      border-bottom-left-radius: $pv-border-radius-50p;
      border-bottom-right-radius: $pv-border-radius-50p;
      border-color: $pv-selection-touch-element-border-color;
      border-style: solid;
      border-top-left-radius: $pv-border-radius-50p;
      border-width: $pv-border-2;
      height: $pv-height-20;
      margin: $pv-spacing-0 $pv-spacing-0 $pv-spacing-0 $pv-spacing-9;
      position: absolute;
      width: $pv-width-20;
    }

    .e-pv-annotation-note {
      border-radius: $pv-radius-2;
      cursor: auto;
      font-size: $pv-sidebar-title-font-size;
      height: $pv-height-auto;
      max-width: $pv-width-200;
      min-height: $pv-height-10;
      min-width: $pv-width-30;
      overflow-wrap: break-word;
      padding: $pv-spacing-5;
      position: absolute;
      width: $pv-width-auto;
      z-index: 10000;
    }

    .e-pv-annotation-note-author {
      border-bottom: $pv-border-1 solid $pv-annotation-note-border-bottom-color;
      font-weight: bold;
    }

    .e-pv-annotation-popup-menu {
      cursor: auto;
      min-width: $pv-width-396;
      padding-bottom: $pv-spacing-6;
      position: absolute;
      width: $pv-width-auto;
      z-index: 10000;
    }

    .e-pv-annotation-popup-header {
      height: $pv-height-auto;
      min-height: $pv-height-29;
      padding-top: $pv-spacing-14;
    }

    .e-pv-annotation-popup-author {
      float: left;
      font-size: $pv-text-base;
      font-weight: bold;
      margin-left: $pv-spacing-14;
    }

    .e-pv-annotation-popup-close {
      float: right;
      height: $pv-height-20;
      margin-right: $pv-spacing-14;
      width: $pv-width-20;
    }

    .e-pv-annotation-modified-time {
      height: $pv-height-14;
      margin-left: $pv-spacing-14;
      padding-top: $pv-spacing-8;
    }

    .e-pv-annotation-popup-note-container {
      height: $pv-height-auto;
      padding: $pv-spacing-14;
      width: $pv-width-auto;
    }

    .e-pv-annotation-popup-content {
      background-color: $pv-annotation-note-popup-bg-color;
      border: $pv-border-1 solid;
      font-size: $pv-text-base;
      min-height: $pv-height-132;
      overflow: hidden auto;
      width: $pv-width-368;
    }

    .e-pv-properties-fill-color-icon,
    .e-pv-properties-stroke-color-icon {
      border-bottom: $pv-border-2 solid;
    }

    .e-pv-drop {
      color: $pv-selection-touch-element-background-color;
      display: inline-block;
      height: $pv-height-20;
      position: absolute;
      width: $pv-width-20;
      z-index: 1000;
    }

    .e-pv-droplet {
      background-color: $pv-selection-touch-element-background-color;
      border-bottom-left-radius: $pv-border-radius-50p;
      border-bottom-right-radius: $pv-border-radius-50p;
      border-color: $pv-selection-touch-element-border-color;
      border-style: solid;
      border-top-left-radius: $pv-border-radius-50p;
      border-width: $pv-border-2;
      height: $pv-height-20;
      margin: $pv-spacing-0 $pv-spacing-0 $pv-spacing-0 $pv-spacing-9;
      position: absolute;
      width: $pv-width-20;
    }
  }
}
