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