Prv8 Shell
Server : Apache
System : Linux vps.urbanovitalino.adv.br 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User : urbanovitalinoad ( 1001)
PHP Version : 7.3.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/urbanovitalinoad/public_html/servicedesk/css/chartist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/urbanovitalinoad/public_html/servicedesk/css/chartist/_generate.scss
$ct-series-names: () !default;
$ct-series-colors: () !default;

@function setColor($color) {
   @if (lightness($color) > 40) {
      @return darken($color, 30%);
    }
    @else {
      @return lighten($color, 30%);
    }
}

@for $i from 0 to length($ct-series-names) {
   $color: nth($ct-series-colors, $i + 1);

   .ct-series-#{nth($ct-series-names, $i + 1)} {
      .ct-point, .ct-line, .ct-bar, .ct-slice-donut {
         stroke: $color;
      }

      .ct-bar + .ct-barlabel {
         fill: setColor($color);
      }

      .ct-circle {
         fill: $color;

         & + .ct-label {
            fill: $color;
         }
      }

      .ct-slice-pie, .ct-area, .ct-slice-donut-solid {
         fill: $color;
         stroke: setColor($color);
      }
   }

   // legend
   .ct-series-#{$i}:before {
      background-color: $color;
      border-color: $color;
   }
}

haha - 2025