github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/ui/dashboard/src/styles/index.css (about)

     1  @tailwind base;
     2  @tailwind components;
     3  @tailwind utilities;
     4  
     5  .theme-steampipe-default {
     6    /* Control colors */
     7    --color-alert: #da1e28;
     8    --color-alert-animate: rgba(218, 30, 40, 0.8); /* #e7525a */
     9    --color-alert-light: rgba(218, 30, 40, 0.3);
    10    --color-alert-inverse: theme("colors.white");
    11    --color-orange: #ff832b;
    12    --color-orange-inverse: theme("colors.white");
    13    --color-severity: #c9a00c;
    14    --color-ok: #198038;
    15    --color-ok-animate: rgba(25, 128, 56, 0.8); /* #27ca58 */
    16    --color-ok-inverse: theme("colors.white");
    17    --color-info: #3185fc;
    18    --color-info-animate: rgba(49, 133, 252, 0.8); /* #64a3fc */
    19    --color-info-inverse: theme("colors.white");
    20    --color-skip: theme("colors.gray.400");
    21    --color-skip-animate: rgba(156, 163, 175, 0.8); /* #b4bac3 */
    22    --color-skip-inverse: theme("colors.white");
    23  
    24    /* Primary colors */
    25    --color-success: #0070f3;
    26    --color-error: #e00;
    27    --color-warning: #f9a825;
    28    --color-dashboard: rgb(243 244 246);
    29    --color-dashboard-panel: #fff;
    30    --color-foreground: #000;
    31    --color-foreground-light: #515151;
    32    --color-foreground-lighter: #666;
    33    --color-foreground-lightest: #ccc;
    34    --color-link: #2645c5;
    35    --color-black-scale-1: #fafafa;
    36    --color-black-scale-2: #eaeaea;
    37    --color-black-scale-3: #d3d3d3;
    38    --color-black-scale-4: #888;
    39    --color-black-scale-5: #666;
    40    --color-black-scale-6: #444;
    41    --color-black-scale-7: #333;
    42    --color-black-scale-8: #111;
    43    --color-secondary: var(--color-black-scale-5);
    44  
    45    /* General colors */
    46    --color-divide: theme("colors.gray.100");
    47    --color-nav: #fafbfc;
    48    --color-nav-border: #dee2e6;
    49  
    50    /* Visual colors */
    51    --color-danger: rgb(238, 0, 0);
    52  
    53    /* Borders */
    54    --color-table-border: theme("colors.gray.200");
    55    --color-table-divide: var(--color-dashboard);
    56    --color-table-head: var(--color-black-scale-6);
    57    --color-table-alternating-row: #fcfcfc;
    58  }
    59  
    60  .theme-steampipe-dark {
    61    /* Control colors */
    62    --color-alert: #f83741;
    63    --color-alert-animate: rgba(248, 55, 65, 0.8);
    64    --color-alert-light: rgba(250, 77, 86, 0.3);
    65    --color-alert-inverse: theme("colors.white");
    66    --color-orange: #ff832b;
    67    --color-orange-inverse: theme("colors.white");
    68    --color-severity: #bd960b;
    69    --color-ok: #24a148;
    70    --color-ok-animate: rgba(36, 161, 72, 0.8);
    71    --color-ok-inverse: theme("colors.white");
    72    --color-info: #4589ff;
    73    --color-info-animate: rgba(69, 137, 255, 0.8);
    74    --color-info-inverse: theme("colors.white");
    75    --color-skip: theme("colors.gray.400");
    76    --color-skip-animate: rgba(156, 163, 175, 0.8); /* #b4bac3 */
    77    --color-skip-inverse: theme("colors.white");
    78  
    79    /* Primary colors */
    80    --color-success: #0070f3;
    81    --color-error: red;
    82    --color-warning: #f9a825;
    83    --color-dashboard: #1e2329;
    84    --color-dashboard-panel: #262b32; /* #2d333b;*/ /*var(--color-black-scale-1);*/
    85    --color-foreground: #fff;
    86    --color-foreground-light: #ccc;
    87    --color-foreground-lighter: #888;
    88    --color-foreground-lightest: #626262;
    89    --color-link: #809fff;
    90    --color-black-scale-1: #222;
    91    --color-black-scale-2: #333;
    92    --color-black-scale-3: #444;
    93    --color-black-scale-4: #757575;
    94    --color-black-scale-5: #888;
    95    --color-black-scale-6: #999;
    96    --color-black-scale-7: #eaeaea;
    97    --color-black-scale-8: #fafafa;
    98    --color-secondary: var(--color-black-scale-5);
    99  
   100    /* General colors */
   101    --color-divide: var(--color-black-scale-2);
   102    --color-nav: var(--color-dashboard);
   103    --color-nav-border: #333;
   104  
   105    /* Visual colors */
   106    --color-danger: rgb(255, 0, 0);
   107  
   108    /* Borders */
   109    --color-table-border: theme("colors.gray.700");
   110    --color-table-divide: var(--color-black-scale-2);
   111    --color-table-head: var(--color-black-scale-6);
   112    --color-table-alternating-row: #23282f;
   113  }
   114  
   115  @layer base {
   116    html {
   117      font-size: 14px;
   118    }
   119  
   120    [type="text"] {
   121      background-color: var(--color-dashboard-panel);
   122    }
   123  }
   124  
   125  @layer components {
   126    /* Base */
   127    .link {
   128      @apply no-underline cursor-pointer outline-none;
   129    }
   130  
   131    .link-highlight {
   132      @apply link text-link;
   133    }
   134  
   135    h1 {
   136      @apply text-3xl font-bold;
   137    }
   138  
   139    h2 {
   140      @apply text-2xl font-semibold;
   141    }
   142  
   143    h3 {
   144      @apply text-xl mt-1 font-semibold;
   145    }
   146  }
   147  
   148  .sb-show-main.sb-main-padded {
   149    padding: 0;
   150  }
   151  
   152  .subtle-ping {
   153    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
   154  }
   155  
   156  .summary-chart-error-animate {
   157    background-image: repeating-linear-gradient(
   158      -45deg,
   159      var(--color-alert),
   160      var(--color-alert) 0.5rem,
   161      var(--color-alert-animate) 0.5rem,
   162      var(--color-alert-animate) 1.25rem
   163    );
   164    background-size: 200% 200%;
   165    animation: barberpole 10s linear infinite;
   166  }
   167  
   168  .summary-chart-alarm-animate {
   169    background-image: repeating-linear-gradient(
   170      -45deg,
   171      var(--color-alert-animate),
   172      var(--color-alert-animate) 0.5rem,
   173      var(--color-alert) 0.5rem,
   174      var(--color-alert) 1.25rem
   175    );
   176    background-size: 200% 200%;
   177    animation: barberpole 10s linear infinite;
   178  }
   179  
   180  .summary-chart-ok-animate {
   181    background-image: repeating-linear-gradient(
   182      -45deg,
   183      var(--color-ok-animate),
   184      var(--color-ok-animate) 0.5rem,
   185      var(--color-ok) 0.5rem,
   186      var(--color-ok) 1.25rem
   187    );
   188    background-size: 200% 200%;
   189    animation: barberpole 10s linear infinite;
   190  }
   191  
   192  .summary-chart-info-animate {
   193    background-image: repeating-linear-gradient(
   194      -45deg,
   195      var(--color-info-animate),
   196      var(--color-info-animate) 0.5rem,
   197      var(--color-info) 0.5rem,
   198      var(--color-info) 1.25rem
   199    );
   200    background-size: 200% 200%;
   201    animation: barberpole 10s linear infinite;
   202  }
   203  
   204  .summary-chart-skip-animate {
   205    background-image: repeating-linear-gradient(
   206      -45deg,
   207      var(--color-skip-animate),
   208      var(--color-skip-animate) 0.5rem,
   209      var(--color-skip) 0.5rem,
   210      var(--color-skip) 1.25rem
   211    );
   212    background-size: 200% 200%;
   213    animation: barberpole 10s linear infinite;
   214  }
   215  
   216  .dashboard-loading-animate {
   217    background-image: repeating-linear-gradient(
   218      -45deg,
   219      var(--color-skip-animate),
   220      var(--color-skip-animate) 0.5rem,
   221      var(--color-skip) 0.5rem,
   222      var(--color-skip) 1.25rem
   223    );
   224    background-size: 200% 200%;
   225    animation: barberpole 10s linear infinite;
   226  }
   227  
   228  .react-flow__handle {
   229    display: none;
   230  }
   231  
   232  @keyframes barberpole {
   233    100% {
   234      background-position: 100% 100%;
   235    }
   236  }
   237  
   238  @keyframes ping {
   239    75%,
   240    100% {
   241      transform: scale(1.75);
   242      opacity: 0;
   243    }
   244  }
   245  
   246  @media print {
   247    #root {
   248      -webkit-print-color-adjust: exact;
   249    }
   250  
   251    div {
   252      break-inside: avoid;
   253      page-break-inside: avoid;
   254    }
   255  
   256    canvas.chart-canvas {
   257      min-height: 100%;
   258      max-width: 100%;
   259      max-height: 100%;
   260      height: auto !important;
   261      width: auto !important;
   262    }
   263  }