2019-02-18 04:03:52 -06:00
|
|
|
/***
|
|
|
|
* !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
|
|
|
|
*
|
2019-02-18 04:05:02 -06:00
|
|
|
* Do not modify this file!
|
2019-02-18 04:03:52 -06:00
|
|
|
* - Edit grafana-ui/src/themes/default.ts to regenerate
|
|
|
|
* - Edit grafana-ui/src/themes/_variables.scss.tmpl.ts to update template
|
|
|
|
*
|
|
|
|
* !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
|
|
|
|
*/
|
|
|
|
|
2016-02-16 03:42:06 -06:00
|
|
|
// Options
|
|
|
|
//
|
|
|
|
// Quickly modify global styling by enabling or disabling optional features.
|
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$enable-flex: true !default;
|
|
|
|
$enable-hover-media-query: false !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
|
|
|
// Spacing
|
|
|
|
//
|
|
|
|
// Control the default styling of most Bootstrap elements by modifying these
|
|
|
|
// variables. Mostly focused on spacing.
|
|
|
|
|
2019-03-28 05:13:53 -05:00
|
|
|
$space-inset-squish-md: 4px 8px !default;
|
|
|
|
|
2019-03-12 06:30:34 -05:00
|
|
|
$space-xxs: 2px !default;
|
2019-03-11 02:51:32 -05:00
|
|
|
$space-xs: 4px !default;
|
2019-03-12 02:10:31 -05:00
|
|
|
$space-sm: 8px !default;
|
|
|
|
$space-md: 16px !default;
|
|
|
|
$space-lg: 24px !default;
|
2019-03-11 02:51:32 -05:00
|
|
|
$space-xl: 32px !default;
|
2019-03-28 05:13:53 -05:00
|
|
|
|
2020-04-21 03:42:57 -05:00
|
|
|
$spacer: 16px !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
$spacer-x: $spacer !default;
|
|
|
|
$spacer-y: $spacer !default;
|
|
|
|
$spacers: (
|
2019-02-19 08:41:35 -06:00
|
|
|
0: (
|
|
|
|
x: 0,
|
|
|
|
y: 0,
|
|
|
|
),
|
|
|
|
1: (
|
|
|
|
x: $spacer-x,
|
|
|
|
y: $spacer-y,
|
|
|
|
),
|
|
|
|
2: (
|
|
|
|
x: (
|
|
|
|
$spacer-x * 1.5,
|
|
|
|
),
|
|
|
|
y: (
|
|
|
|
$spacer-y * 1.5,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
3: (
|
|
|
|
x: (
|
|
|
|
$spacer-x * 3,
|
|
|
|
),
|
|
|
|
y: (
|
|
|
|
$spacer-y * 3,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
) !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2016-02-15 11:04:45 -06:00
|
|
|
// Grid breakpoints
|
|
|
|
//
|
|
|
|
// Define the minimum and maximum dimensions at which your layout will change,
|
|
|
|
// adapting to different screen sizes, for use in media queries.
|
|
|
|
|
2019-02-19 08:41:35 -06:00
|
|
|
$grid-breakpoints: (
|
2021-04-21 07:25:43 -05:00
|
|
|
xs: 0px,
|
2019-02-19 08:41:35 -06:00
|
|
|
sm: 544px,
|
2019-04-26 12:16:03 -05:00
|
|
|
md: 769px,
|
2019-02-19 08:41:35 -06:00
|
|
|
lg: 992px,
|
|
|
|
xl: 1200px,
|
|
|
|
) !default;
|
2016-02-15 11:04:45 -06:00
|
|
|
|
|
|
|
// Grid containers
|
|
|
|
//
|
|
|
|
// Define the maximum width of `.container` for different screen sizes.
|
|
|
|
|
2019-02-19 08:41:35 -06:00
|
|
|
$container-max-widths: (
|
|
|
|
sm: 576px,
|
|
|
|
md: 720px,
|
|
|
|
lg: 940px,
|
|
|
|
xl: 1080px,
|
|
|
|
) !default;
|
2016-02-15 11:04:45 -06:00
|
|
|
|
|
|
|
// Grid columns
|
|
|
|
//
|
|
|
|
// Set the number of columns and specify the width of the gutters.
|
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$grid-columns: 12 !default;
|
2021-04-21 07:25:43 -05:00
|
|
|
$grid-gutter-width: 32px !default;
|
2016-02-15 11:04:45 -06:00
|
|
|
|
2019-04-08 02:48:15 -05:00
|
|
|
// Component heights
|
|
|
|
// -------------------------
|
2020-04-22 11:47:41 -05:00
|
|
|
$height-sm: 24;
|
|
|
|
$height-md: 32;
|
|
|
|
$height-lg: 48;
|
2019-04-08 02:48:15 -05:00
|
|
|
|
2016-02-16 03:42:06 -06:00
|
|
|
// Typography
|
|
|
|
// -------------------------
|
2021-10-20 04:34:24 -05:00
|
|
|
/* stylelint-disable-next-line string-quotes */
|
2022-12-01 05:59:37 -06:00
|
|
|
$font-family-sans-serif: "Inter", "Helvetica", "Arial", sans-serif;
|
2021-10-20 04:34:24 -05:00
|
|
|
/* stylelint-disable-next-line string-quotes */
|
2021-04-14 14:49:38 -05:00
|
|
|
$font-family-monospace: 'Roboto Mono', monospace;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2022-10-05 05:10:29 -05:00
|
|
|
$font-file-path: '../fonts' !default;
|
|
|
|
|
2019-12-16 10:45:33 -06:00
|
|
|
$font-size-base: 14px !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2019-03-08 06:02:55 -06:00
|
|
|
$font-size-lg: 18px !default;
|
|
|
|
$font-size-md: 14px !default;
|
|
|
|
$font-size-sm: 12px !default;
|
|
|
|
$font-size-xs: 10px !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2022-10-06 05:59:43 -05:00
|
|
|
$line-height-base: 1.5714285714285714 !default;
|
2019-03-13 03:40:56 -05:00
|
|
|
|
|
|
|
$font-weight-regular: 400 !default;
|
|
|
|
$font-weight-semi-bold: 500 !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2021-04-21 07:25:43 -05:00
|
|
|
$font-size-h1: 2rem !default;
|
|
|
|
$font-size-h2: 1.7142857142857142rem !default;
|
2022-10-15 09:22:33 -05:00
|
|
|
$font-size-h3: 1.5714285714285714rem !default;
|
2021-04-21 07:25:43 -05:00
|
|
|
$font-size-h4: 1.2857142857142858rem !default;
|
|
|
|
$font-size-h5: 1.1428571428571428rem !default;
|
|
|
|
$font-size-h6: 1rem !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2021-04-21 07:25:43 -05:00
|
|
|
$headings-line-height: 1.5 !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2016-02-16 05:15:09 -06:00
|
|
|
// Components
|
|
|
|
//
|
|
|
|
// Define common padding and border radius sizes and more.
|
|
|
|
|
2019-03-13 03:40:56 -05:00
|
|
|
$border-width: 1px !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2021-04-27 08:13:08 -05:00
|
|
|
$border-radius: 2px !default;
|
2021-04-21 07:25:43 -05:00
|
|
|
$border-radius-lg: 6px !default;
|
2019-02-19 08:41:35 -06:00
|
|
|
$border-radius-sm: 2px !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2016-02-26 11:25:39 -06:00
|
|
|
// Page
|
|
|
|
|
2019-03-08 06:02:55 -06:00
|
|
|
$page-sidebar-width: 154px;
|
|
|
|
$page-sidebar-margin: 56px;
|
2016-02-26 11:25:39 -06:00
|
|
|
|
2016-02-16 03:42:06 -06:00
|
|
|
// Links
|
|
|
|
// -------------------------
|
2017-12-19 09:22:41 -06:00
|
|
|
$link-decoration: none !default;
|
|
|
|
$link-hover-decoration: none !default;
|
2016-02-16 03:42:06 -06:00
|
|
|
|
2016-02-16 05:15:09 -06:00
|
|
|
// Forms
|
2017-12-19 09:22:41 -06:00
|
|
|
$input-line-height: 18px !default;
|
2020-04-13 02:58:40 -05:00
|
|
|
$input-border-radius: $border-radius;
|
2020-04-05 13:02:52 -05:00
|
|
|
$input-padding: 0 8px;
|
|
|
|
$input-height: 32px !default;
|
2016-02-16 05:15:09 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$cursor-disabled: not-allowed !default;
|
2016-02-16 05:15:09 -06:00
|
|
|
|
|
|
|
// Form validation icons
|
2019-02-19 08:41:35 -06:00
|
|
|
$form-icon-success: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") !default;
|
|
|
|
$form-icon-warning: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E") !default;
|
|
|
|
$form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E") !default;
|
2016-02-16 07:39:45 -06:00
|
|
|
|
|
|
|
// Z-index master list
|
|
|
|
// -------------------------
|
|
|
|
// Used for a bird's eye view of components dependent on the z-axis
|
|
|
|
// Try to avoid customizing these :)
|
2020-04-21 02:12:34 -05:00
|
|
|
$zindex-dropdown: 1030;
|
|
|
|
$zindex-navbar-fixed: 1000;
|
|
|
|
$zindex-sidemenu: 1020;
|
|
|
|
$zindex-tooltip: 1040;
|
|
|
|
$zindex-modal-backdrop: 1050;
|
|
|
|
$zindex-modal: 1060;
|
|
|
|
$zindex-typeahead: 1030;
|
2016-02-16 07:39:45 -06:00
|
|
|
|
2016-02-18 05:16:47 -06:00
|
|
|
// Buttons
|
|
|
|
//
|
|
|
|
|
2019-03-08 06:02:55 -06:00
|
|
|
$btn-padding-x: 14px !default;
|
2020-03-25 03:21:44 -05:00
|
|
|
$btn-padding-y: 0 !default;
|
|
|
|
$btn-line-height: $line-height-base;
|
2017-12-19 09:22:41 -06:00
|
|
|
$btn-font-weight: 500 !default;
|
2016-02-18 05:16:47 -06:00
|
|
|
|
2019-03-08 06:02:55 -06:00
|
|
|
$btn-padding-x-sm: 7px !default;
|
|
|
|
$btn-padding-y-sm: 4px !default;
|
2016-02-18 05:16:47 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$btn-padding-x-lg: 21px !default;
|
|
|
|
$btn-padding-y-lg: 11px !default;
|
2017-12-04 09:18:46 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$btn-padding-x-xl: 21px !default;
|
|
|
|
$btn-padding-y-xl: 11px !default;
|
2016-02-18 05:16:47 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
|
2017-12-11 09:31:50 -06:00
|
|
|
|
2016-02-18 12:47:00 -06:00
|
|
|
// sidemenu
|
2017-12-19 09:22:41 -06:00
|
|
|
$side-menu-width: 60px;
|
2019-09-18 01:58:08 -05:00
|
|
|
$navbar-padding: 20px;
|
2016-02-23 06:32:14 -06:00
|
|
|
|
2019-03-21 05:10:44 -05:00
|
|
|
// dashboard
|
2019-03-21 06:26:35 -05:00
|
|
|
$dashboard-padding: $space-md;
|
2019-05-06 08:26:09 -05:00
|
|
|
$panel-padding: 8px;
|
2021-04-21 07:25:43 -05:00
|
|
|
$panel-header-height: 32px;
|
2019-05-06 08:26:09 -05:00
|
|
|
$panel-header-z-index: 10;
|
2019-03-21 05:10:44 -05:00
|
|
|
|
2016-03-02 13:56:04 -06:00
|
|
|
// tabs
|
2017-12-06 10:36:44 -06:00
|
|
|
$tabs-padding: 10px 15px 9px;
|
2016-03-02 13:56:04 -06:00
|
|
|
|
2017-12-12 08:00:04 -06:00
|
|
|
$external-services: (
|
2019-02-19 08:41:35 -06:00
|
|
|
github: (
|
|
|
|
bgColor: #464646,
|
|
|
|
borderColor: #393939,
|
|
|
|
icon: '',
|
|
|
|
),
|
|
|
|
gitlab: (
|
|
|
|
bgColor: #fc6d26,
|
|
|
|
borderColor: #e24329,
|
|
|
|
icon: '',
|
|
|
|
),
|
|
|
|
google: (
|
|
|
|
bgColor: #e84d3c,
|
|
|
|
borderColor: #b83e31,
|
|
|
|
icon: '',
|
|
|
|
),
|
2020-02-13 03:12:25 -06:00
|
|
|
azuread: (
|
|
|
|
bgColor: #2f2f2f,
|
|
|
|
borderColor: #2f2f2f,
|
|
|
|
icon: '',
|
|
|
|
),
|
2019-02-19 08:41:35 -06:00
|
|
|
grafanacom: (
|
|
|
|
bgColor: #262628,
|
|
|
|
borderColor: #393939,
|
|
|
|
icon: '',
|
|
|
|
),
|
2020-04-02 09:35:48 -05:00
|
|
|
okta: (
|
|
|
|
bgColor: #2f2f2f,
|
|
|
|
borderColor: #393939,
|
|
|
|
icon: '',
|
|
|
|
),
|
2019-02-19 08:41:35 -06:00
|
|
|
oauth: (
|
|
|
|
bgColor: #262628,
|
|
|
|
borderColor: #393939,
|
|
|
|
icon: '',
|
|
|
|
),
|
|
|
|
) !default;
|