@import "../../globals.core";

// Windows Popover
// --------------------------------------------------

$popover-wp-width:                     200px !default;
$popover-wp-max-height:                90% !default;

$popover-wp-border:                    2px solid #ccc !default;
$popover-wp-border-radius:             0 !default;

$popover-wp-text-color:                #000 !default;
$popover-wp-background:                #f2f2f2 !default;
$popover-wp-item-background:           $popover-wp-background !default;


.popover-content {
  width: $popover-wp-width;
  min-width: 0;
  min-height: 0;
  max-height: $popover-wp-max-height;

  border: $popover-wp-border;
  border-radius: $popover-wp-border-radius;
  color: $popover-wp-text-color;
  background: $popover-wp-background;

  transform-origin: top left;

  ion-content {
    background: $popover-wp-background;
  }
}

.popover-content .item {
  background-color: $popover-wp-item-background;
}

.popover-viewport {
  opacity: 0;
  transition-delay: 100ms;
}
