github.com/hernad/nomad@v1.6.112/ui/app/styles/charts.scss (about)

     1  /**
     2   * Copyright (c) HashiCorp, Inc.
     3   * SPDX-License-Identifier: MPL-2.0
     4   */
     5  
     6  @import './charts/distribution-bar';
     7  @import './charts/gauge-chart';
     8  @import './charts/line-chart';
     9  @import './charts/recommendation-chart';
    10  @import './charts/tooltip';
    11  @import './charts/colors';
    12  @import './charts/chart-annotation';
    13  @import './charts/topo-viz';
    14  @import './charts/topo-viz-node';
    15  
    16  .inline-chart {
    17    height: 1.5rem;
    18    display: flex;
    19    align-items: center;
    20  
    21    &.is-small {
    22      width: 50px;
    23    }
    24  }
    25  
    26  // Patterns are templates referenced by other SVG fill properties.
    27  // Move the pattern svgs out of sight.
    28  .svg-pattern {
    29    overflow: hidden;
    30    position: absolute;
    31    left: -100%;
    32  
    33    .das-gradient {
    34      --full-color: #{change-color($yellow-400, $alpha: 0.7)};
    35      --faint-color: #{change-color($yellow-400, $alpha: 0.1)};
    36    }
    37  }