HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/share/opensearch-dashboards/src/core/public/core_app/styles/_mixins.scss
@mixin flex-parent($grow: 1, $shrink: 1, $basis: auto, $direction: column) {
  flex: $grow $shrink $basis;
  display: flex;
  flex-direction: $direction;

  > * {
    flex-shrink: 0;
  }
}

// EUITODO: Add this
@mixin opensearchDashboardsCircleLogo() {
  display: inline-block;

  @include size($euiSizeXXL * 2);

  line-height: $euiSizeXXL * 2;
  text-align: center;
  background-color: $euiColorEmptyShade;
  border-radius: 100%;
  padding: calc($euiSize / 2);

  .euiIcon {
    vertical-align: baseline;
  }
}

// Standardizes the look and layout of resizable area handles
@mixin osdResizer($size: ($euiSizeM + 2px), $direction: horizontal) {
  position: relative;
  display: flex;
  flex: 0 0 $size;
  background-color: $euiPageBackgroundColor;
  align-items: center;
  justify-content: center;
  margin: 0;
  user-select: none;

  @if $direction == horizontal {
    width: $size;
  } @else if $direction == vertical {
    height: $size;
    width: 100%;
  } @else {
    @warn("Direction unknown for osdResizer");
  }

  &:hover {
    background-color: tintOrShade($euiColorPrimary, 80%, 60%);
  }

  &:focus,
  &.active {
    background-color: $euiColorPrimary;
    color: $euiColorEmptyShade;
  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    @if $direction == horizontal {
      cursor: ew-resize;
    } @else if $direction == vertical {
      cursor: ns-resize;
    }
  }
}

@mixin opensearchDashboardsFullScreenGraphics($euiZLevel: $euiZLevel9) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: $euiZLevel + 1000;
  background: inherit;
  background-color: $euiPageBackgroundColor;
  opacity: 0;
  overflow: auto;
  animation: opensearchDashboardsFullScreenGraphics_FadeIn $euiAnimSpeedExtraSlow $euiAnimSlightResistance 0s forwards;

  &::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 310px;
    height: 477px;
    /* stylelint-disable-next-line function-url-quotes */
    content: url(lightOrDarkTheme('~core_app_image_assets/bg_top_branded.svg', '~core_app_image_assets/bg_top_branded_dark.svg'));
  }

  &::after {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1;
    width: 313px;
    height: 461px;
    /* stylelint-disable-next-line function-url-quotes */
    content: url(lightOrDarkTheme('~core_app_image_assets/bg_bottom_branded.svg', '~core_app_image_assets/bg_bottom_branded_dark.svg'));
  }

  @keyframes opensearchDashboardsFullScreenGraphics_FadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
}