// Copyright (c) 2014, 2025, Oracle and/or its affiliates.  Licensed under The Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl/

// !!!
// WARNING: do not directly import this file, instead import the
//          version in your theme's directory,
//          for example alta/widgets/_oj.alta.dvt.sunburst.scss
// !!!
@import "../../utilities/oj.utilities";
@if $includeSunburstClasses != false {
  @include module-include-once("common.sunburst") {

    // This is to prevent the flash of unstyled content before the html becomes JET components.
    @if $initialVisibility == hidden {
      oj-sunburst:not(.oj-complete) {
        visibility: hidden;
      }
    }

    oj-sunburst {
      display: block;
    }

    .oj-sunburst {

          font-size: $dvtSunburstLabelFontSize;
          color: $textColor;
          @include oj-user-select-property(none);

      width:400px;
      height:400px;
    }

    .oj-sunburst-attribute-type-text {

        color: $formControlLabelColor;
        font-size: $fontSize;

    }

    .oj-sunburst-attribute-value-text {

        font-size: $fontSize;
        color: $textColor;

    }

    .oj-sunburst-current-drill-text {

        font-size: $fontSize;
        color: $textColor;

    }

    .oj-sunburst-drill-text {

      color: $dvtSunburstDrillTextColor;
      font-size: $fontSize;
      text-decoration: $linkTextDecoration;

    }

    .oj-sunburst-drill-text.oj-hover {

      text-decoration: $linkTextDecorationHover;

    }

    .oj-sunburst-node {

      font-size: $dvtSunburstLabelFontSize;

    }

    .oj-sunburst-node.oj-hover {

      border-color: $dvtSunburstNodeBorderColorHover;

    }

    .oj-sunburst-node.oj-selected {

      border-top-color:$dvtBorderColor;
      border-bottom-color: $dvtBorder2Color;
      
    }
  }
}
