github.com/thanos-io/thanos@v0.32.5/pkg/ui/react-app/src/themes/_bootstrap_dark.scss (about)

     1  /* The original file is a copy of ForEvolve/bootstrap-dark dark theme:
     2     https://github.com/ForEvolve/bootstrap-dark/blob/master/scss/toggle-bootstrap-dark.scss
     3     but with Bootstrap reboot import removed.
     4     See https://github.com/prometheus/prometheus/pull/8604#issuecomment-820391870
     5     and https://github.com/ForEvolve/bootstrap-dark/issues/49
     6  
     7     CHANGES FOR DARK THEME IN THIS FILE WAS COPIED INTO THANOS FROM PROMETHEUS 
     8     (LIVING AT https://github.com/prometheus/prometheus/blob/main/web/ui/react-app/src/themes/_bootstrap_dark.scss),
     9     PROMETHEUS CODE WAS LICENSED UNDER AN APACHE 2.0 LICENSE, SEE
    10     https://github.com/prometheus/prometheus/blob/main/LICENSE.
    11  */
    12  
    13  @import 'node_modules/bootstrap/scss/functions';
    14  @import 'node_modules/bootstrap/scss/variables';
    15  
    16  @import 'node_modules/@forevolve/bootstrap-dark/scss/dark-variables';
    17  
    18  @import 'node_modules/bootstrap/scss/mixins';
    19  @import 'node_modules/@forevolve/bootstrap-dark/scss/mixins-overrides';
    20  @import 'node_modules/@forevolve/bootstrap-dark/scss/dark-mixins';
    21  
    22  html {
    23    font-family: sans-serif; // 2
    24    line-height: 1.15; // 3
    25    -webkit-text-size-adjust: 100%; // 4
    26    -webkit-tap-highlight-color: rgba($black, 0); // 5
    27  }
    28  
    29  body.bootstrap-dark {
    30    margin: 0; // 1
    31    font-family: $font-family-base;
    32    @include font-size($font-size-base);
    33    font-weight: $font-weight-base;
    34    line-height: $line-height-base;
    35    color: $body-color;
    36    text-align: left; // 3
    37    background-color: $body-bg; // 2
    38  }
    39  
    40  body.bootstrap-dark button{
    41    color: $body-color;
    42  }
    43  
    44  .bootstrap-dark {
    45    @import 'node_modules/bootstrap/scss/root';
    46    @import 'node_modules/bootstrap/scss/type';
    47    @import 'node_modules/bootstrap/scss/images';
    48    @import 'node_modules/bootstrap/scss/code';
    49    @import 'node_modules/bootstrap/scss/grid';
    50  
    51    @import 'node_modules/bootstrap/scss/tables';
    52    @import 'node_modules/@forevolve/bootstrap-dark/scss/dark-tables';
    53  
    54    @import 'node_modules/bootstrap/scss/forms';
    55    @import 'node_modules/@forevolve/bootstrap-dark/scss/form-overrides';
    56  
    57    @import 'node_modules/bootstrap/scss/buttons';
    58    @import 'node_modules/bootstrap/scss/transitions';
    59    @import 'node_modules/bootstrap/scss/dropdown';
    60    @import 'node_modules/bootstrap/scss/button-group';
    61  
    62    @import 'node_modules/bootstrap/scss/input-group';
    63    @import 'node_modules/@forevolve/bootstrap-dark/scss/dark-input-group';
    64  
    65    @import 'node_modules/bootstrap/scss/custom-forms';
    66    @import 'node_modules/bootstrap/scss/nav';
    67    @import 'node_modules/bootstrap/scss/navbar';
    68    @import 'node_modules/bootstrap/scss/card';
    69    @import 'node_modules/bootstrap/scss/breadcrumb';
    70    @import 'node_modules/bootstrap/scss/pagination';
    71    @import 'node_modules/bootstrap/scss/badge';
    72    @import 'node_modules/bootstrap/scss/jumbotron';
    73    @import 'node_modules/bootstrap/scss/alert';
    74    @import 'node_modules/bootstrap/scss/progress';
    75    @import 'node_modules/bootstrap/scss/media';
    76    @import 'node_modules/bootstrap/scss/list-group';
    77    @import 'node_modules/bootstrap/scss/close';
    78    @import 'node_modules/bootstrap/scss/toasts';
    79    @import 'node_modules/bootstrap/scss/modal';
    80    @import 'node_modules/bootstrap/scss/tooltip';
    81    @import 'node_modules/bootstrap/scss/popover';
    82    @import 'node_modules/bootstrap/scss/carousel';
    83    @import 'node_modules/bootstrap/scss/spinners';
    84    @import 'node_modules/bootstrap/scss/utilities';
    85  
    86    .navbar-themed {
    87      @extend .bg-dark;
    88      @extend .navbar-dark;
    89    }
    90  
    91    @import 'node_modules/@forevolve/bootstrap-dark/scss/dark-styles';
    92  }