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/dark.ts to regenerate
|
|
|
|
* - Edit grafana-ui/src/themes/_variables.dark.scss.tmpl.ts to update template
|
|
|
|
*
|
|
|
|
* !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
|
|
|
|
*/
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Global values
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2017-10-18 00:49:52 -05:00
|
|
|
$theme-name: dark;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
// New Colors
|
|
|
|
// -------------------------
|
2019-02-20 09:11:36 -06:00
|
|
|
$blue-faint: #041126;
|
|
|
|
$blue-light: #5794f2;
|
|
|
|
$blue-base: #3274d9;
|
|
|
|
$blue-shade: #1f60c4;
|
|
|
|
$red-base: #e02f44;
|
|
|
|
$red-shade: #c4162a;
|
2019-02-19 06:57:56 -06:00
|
|
|
$green-base: #299c46;
|
|
|
|
$green-shade: #23843b;
|
2019-09-26 02:32:32 -05:00
|
|
|
$orange-dark: #ff780a;
|
2019-02-19 06:57:56 -06:00
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Grays
|
2016-02-19 05:26:39 -06:00
|
|
|
// -------------------------
|
2019-02-20 09:11:36 -06:00
|
|
|
$black: #000000;
|
2019-02-19 06:57:56 -06:00
|
|
|
$dark-1: #141414;
|
|
|
|
$dark-2: #161719;
|
|
|
|
$dark-3: #1f1f20;
|
|
|
|
$dark-4: #212124;
|
|
|
|
$dark-5: #222426;
|
|
|
|
$dark-6: #262628;
|
|
|
|
$dark-7: #292a2d;
|
|
|
|
$dark-8: #2f2f32;
|
|
|
|
$dark-9: #343436;
|
|
|
|
$dark-10: #424345;
|
|
|
|
$gray-1: #555555;
|
|
|
|
$gray-2: #8e8e8e;
|
|
|
|
$gray-3: #b3b3b3;
|
|
|
|
$gray-4: #d8d9da;
|
|
|
|
$gray-5: #ececec;
|
2019-06-24 07:39:59 -05:00
|
|
|
$gray-6: #f4f5f8;
|
2019-02-19 06:57:56 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$gray-blue: #212327;
|
|
|
|
$input-black: #09090b;
|
|
|
|
|
2019-02-12 14:54:20 -06:00
|
|
|
$white: #ffffff;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
|
|
|
// Accent colors
|
|
|
|
// -------------------------
|
2019-02-19 14:23:04 -06:00
|
|
|
$blue: #33b5e5;
|
2019-02-20 09:11:36 -06:00
|
|
|
$red: $red-base;
|
2017-12-19 09:22:41 -06:00
|
|
|
$yellow: #ecbb13;
|
2019-02-20 09:11:36 -06:00
|
|
|
$orange: #eb7b18;
|
2017-12-19 09:22:41 -06:00
|
|
|
$purple: #9933cc;
|
|
|
|
$variable: #32d1df;
|
|
|
|
|
2019-02-21 08:05:17 -06:00
|
|
|
$brand-primary: #eb7b18;
|
|
|
|
$brand-success: #299c46;
|
|
|
|
$brand-warning: #eb7b18;
|
|
|
|
$brand-danger: #e02f44;
|
2017-12-19 09:22:41 -06:00
|
|
|
|
2019-02-21 08:05:17 -06:00
|
|
|
$query-red: #e02f44;
|
2019-02-20 09:11:36 -06:00
|
|
|
$query-green: #74e680;
|
2018-12-03 10:20:02 -06:00
|
|
|
$query-purple: #fe85fc;
|
2019-02-21 08:05:17 -06:00
|
|
|
$query-orange: #eb7b18;
|
2018-12-03 10:20:02 -06:00
|
|
|
$query-keyword: #66d9ef;
|
2017-12-15 04:01:18 -06:00
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Status colors
|
|
|
|
// -------------------------
|
2019-02-21 08:05:17 -06:00
|
|
|
$online: #299c46;
|
2017-12-19 09:22:41 -06:00
|
|
|
$warn: #f79520;
|
2019-02-21 08:05:17 -06:00
|
|
|
$critical: #e02f44;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2016-02-16 02:42:46 -06:00
|
|
|
// Scaffolding
|
2016-02-15 08:27:41 -06:00
|
|
|
// -------------------------
|
2019-02-21 05:32:29 -06:00
|
|
|
$body-bg: #161719;
|
|
|
|
$page-bg: #161719;
|
2017-11-30 08:37:03 -06:00
|
|
|
|
2019-02-21 08:05:17 -06:00
|
|
|
$body-color: #d8d9da;
|
|
|
|
$text-color: #d8d9da;
|
|
|
|
$text-color-strong: #ffffff;
|
|
|
|
$text-color-weak: #8e8e8e;
|
|
|
|
$text-color-faint: #222426;
|
|
|
|
$text-color-emphasis: #ececec;
|
2016-03-24 21:01:33 -05:00
|
|
|
|
2016-03-28 06:10:42 -05:00
|
|
|
$text-shadow-faint: 1px 1px 4px rgb(45, 45, 45);
|
2019-02-06 08:51:36 -06:00
|
|
|
$textShadow: none;
|
2016-02-16 01:30:37 -06:00
|
|
|
|
2016-02-24 03:32:22 -06:00
|
|
|
// gradients
|
2019-09-04 04:28:35 -05:00
|
|
|
$brand-gradient-horizontal: linear-gradient(to right, #f05a28 30%, #fbca0a 99%);
|
|
|
|
$brand-gradient-vertical: linear-gradient(#f05a28 30%, #fbca0a 99%);
|
2019-02-19 06:57:56 -06:00
|
|
|
$page-gradient: linear-gradient(180deg, $dark-5 10px, dark-2 100px);
|
|
|
|
$edit-gradient: linear-gradient(180deg, $dark-2 50%, $input-black);
|
2016-02-24 03:32:22 -06:00
|
|
|
|
2016-02-16 02:42:46 -06:00
|
|
|
// Links
|
|
|
|
// -------------------------
|
2019-04-08 03:52:00 -05:00
|
|
|
$link-color: #d8d9da;
|
|
|
|
$link-color-disabled: #8e8e8e;
|
2019-02-21 08:05:17 -06:00
|
|
|
$link-hover-color: #ffffff;
|
|
|
|
$external-link-color: #33b5e5;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2016-02-16 02:42:46 -06:00
|
|
|
// Typography
|
|
|
|
// -------------------------
|
2019-04-08 03:52:00 -05:00
|
|
|
$headings-color: #d8d9da;
|
2019-02-19 06:57:56 -06:00
|
|
|
$abbr-border-color: $gray-2 !default;
|
2017-12-19 09:22:41 -06:00
|
|
|
$text-muted: $text-color-weak;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$hr-border-color: $dark-9;
|
2016-02-16 02:42:46 -06:00
|
|
|
|
|
|
|
// Panel
|
|
|
|
// -------------------------
|
2019-12-23 00:22:44 -06:00
|
|
|
$panel-bg: #212124;
|
2019-02-05 05:05:02 -06:00
|
|
|
$panel-border: solid 1px $dark-1;
|
2019-02-19 06:57:56 -06:00
|
|
|
$panel-header-hover-bg: $dark-9;
|
2019-01-07 06:56:36 -06:00
|
|
|
$panel-corner: $panel-bg;
|
2016-02-16 02:42:46 -06:00
|
|
|
|
2017-12-03 01:11:07 -06:00
|
|
|
// page header
|
2019-02-19 06:57:56 -06:00
|
|
|
$page-header-bg: linear-gradient(90deg, $dark-7, $black);
|
|
|
|
$page-header-shadow: inset 0px -4px 14px $dark-3;
|
|
|
|
$page-header-border-color: $dark-9;
|
2017-12-03 01:11:07 -06:00
|
|
|
|
2019-02-05 05:05:02 -06:00
|
|
|
$divider-border-color: $gray-1;
|
2016-02-16 02:42:46 -06:00
|
|
|
|
|
|
|
// Graphite Target Editor
|
2019-02-19 06:57:56 -06:00
|
|
|
$tight-form-func-bg: $dark-9;
|
|
|
|
$tight-form-func-highlight-bg: $dark-10;
|
2016-02-16 02:42:46 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$modal-backdrop-bg: #353c42;
|
2018-10-06 14:09:30 -05:00
|
|
|
$code-tag-bg: $dark-1;
|
2019-02-19 06:57:56 -06:00
|
|
|
$code-tag-border: $dark-9;
|
2016-04-14 10:38:07 -05:00
|
|
|
|
2017-11-23 05:54:12 -06:00
|
|
|
// cards
|
2019-02-19 06:57:56 -06:00
|
|
|
$card-background: linear-gradient(135deg, $dark-8, $dark-6);
|
|
|
|
$card-background-hover: linear-gradient(135deg, $dark-9, $dark-6);
|
2018-01-18 07:40:08 -06:00
|
|
|
$card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, 0.1), 1px 1px 0 0 rgba(0, 0, 0, 0.3);
|
2016-02-16 02:42:46 -06:00
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Lists
|
2017-12-19 09:22:41 -06:00
|
|
|
$list-item-bg: $card-background;
|
2019-02-19 06:57:56 -06:00
|
|
|
$list-item-hover-bg: $card-background-hover;
|
2017-11-23 05:54:12 -06:00
|
|
|
$list-item-link-color: $text-color;
|
2017-12-19 09:22:41 -06:00
|
|
|
$list-item-shadow: $card-shadow;
|
2018-11-06 01:01:00 -06:00
|
|
|
|
2018-01-31 07:14:11 -06:00
|
|
|
$empty-list-cta-bg: $gray-blue;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
|
|
|
// Scrollbars
|
2019-02-21 02:41:53 -06:00
|
|
|
$scrollbarBackground: #404357;
|
|
|
|
$scrollbarBackground2: $dark-10;
|
|
|
|
$scrollbarBorder: black;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
|
|
|
// Tables
|
|
|
|
// -------------------------
|
2019-02-19 06:57:56 -06:00
|
|
|
$table-bg-accent: $dark-6; // for striping
|
|
|
|
$table-border: $dark-6; // table and cell border
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$table-bg-odd: $dark-3;
|
|
|
|
$table-bg-hover: $dark-6;
|
2017-12-05 05:48:16 -06:00
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Buttons
|
|
|
|
// -------------------------
|
2019-02-20 09:11:36 -06:00
|
|
|
$btn-secondary-bg: $blue-base;
|
|
|
|
$btn-secondary-bg-hl: $blue-shade;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$btn-primary-bg: $green-base;
|
|
|
|
$btn-primary-bg-hl: $green-shade;
|
2019-02-11 09:38:05 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$btn-success-bg: $green-base;
|
|
|
|
$btn-success-bg-hl: $green-shade;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-20 09:11:36 -06:00
|
|
|
$btn-danger-bg: $red-base;
|
|
|
|
$btn-danger-bg-hl: $red-shade;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$btn-inverse-bg: $dark-6;
|
|
|
|
$btn-inverse-bg-hl: lighten($dark-6, 4%);
|
2017-12-19 09:22:41 -06:00
|
|
|
$btn-inverse-text-color: $link-color;
|
|
|
|
$btn-inverse-text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.1);
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$btn-link-color: $gray-3;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$iconContainerBackground: $black;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$btn-divider-left: $dark-9;
|
|
|
|
$btn-divider-right: $dark-3;
|
2016-08-11 14:22:40 -05:00
|
|
|
|
2018-01-18 07:40:08 -06:00
|
|
|
$btn-drag-image: '../img/grab_dark.svg';
|
2016-08-11 11:25:41 -05:00
|
|
|
|
2019-04-17 08:18:32 -05:00
|
|
|
$navbar-btn-gicon-brightness: brightness(0.5);
|
|
|
|
|
2019-11-22 05:26:14 -06:00
|
|
|
$btn-active-box-shadow: 0px 0px 4px rgba(255, 120, 10, 0.5);
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Forms
|
|
|
|
// -------------------------
|
2017-12-19 09:22:41 -06:00
|
|
|
$input-bg: $input-black;
|
2019-02-19 06:57:56 -06:00
|
|
|
$input-bg-disabled: $dark-6;
|
2017-12-19 09:22:41 -06:00
|
|
|
|
|
|
|
$input-color: $gray-4;
|
2019-02-19 06:57:56 -06:00
|
|
|
$input-border-color: $dark-6;
|
2019-03-28 05:14:30 -05:00
|
|
|
$input-box-shadow: inset 1px 0px 4px 0px rgba(150, 150, 150, 0.1);
|
2019-02-19 06:57:56 -06:00
|
|
|
$input-border-focus: $dark-6 !default;
|
2019-02-20 09:11:36 -06:00
|
|
|
$input-box-shadow-focus: $blue-light !default;
|
2017-12-19 09:22:41 -06:00
|
|
|
$input-color-placeholder: $gray-1 !default;
|
|
|
|
$input-label-bg: $gray-blue;
|
2019-02-19 06:57:56 -06:00
|
|
|
$input-label-border-color: $dark-6;
|
2018-10-08 06:39:00 -05:00
|
|
|
$input-color-select-arrow: $white;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-06 08:51:36 -06:00
|
|
|
// Input placeholder text color
|
|
|
|
$placeholderText: darken($text-color, 25%);
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Search
|
2017-12-08 11:15:24 -06:00
|
|
|
$search-shadow: 0 0 30px 0 $black;
|
2017-11-29 10:13:50 -06:00
|
|
|
$search-filter-box-bg: $gray-blue;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2018-05-25 05:51:27 -05:00
|
|
|
// Typeahead
|
|
|
|
$typeahead-shadow: 0 5px 10px 0 $black;
|
2019-02-19 06:57:56 -06:00
|
|
|
$typeahead-selected-bg: $dark-9;
|
2018-12-03 10:20:02 -06:00
|
|
|
$typeahead-selected-color: $yellow;
|
2018-05-25 05:51:27 -05:00
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Dropdowns
|
|
|
|
// -------------------------
|
2019-02-19 06:57:56 -06:00
|
|
|
$dropdownBackground: $dark-6;
|
2017-12-19 09:22:41 -06:00
|
|
|
$dropdownBorder: rgba(0, 0, 0, 0.2);
|
|
|
|
$dropdownDividerTop: transparent;
|
|
|
|
$dropdownDividerBottom: #444;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$dropdownLinkColor: $text-color;
|
|
|
|
$dropdownLinkColorHover: $white;
|
|
|
|
$dropdownLinkColorActive: $white;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$dropdownLinkBackgroundHover: $dark-9;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
|
|
|
// Horizontal forms & lists
|
|
|
|
// -------------------------
|
2017-12-19 09:22:41 -06:00
|
|
|
$horizontalComponentOffset: 180px;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-06 08:51:36 -06:00
|
|
|
// Navbar
|
2016-02-15 08:27:41 -06:00
|
|
|
// -------------------------
|
2017-12-19 09:22:41 -06:00
|
|
|
$navbarHeight: 55px;
|
2018-12-07 07:59:38 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$navbarBackground: $panel-bg;
|
2019-02-19 06:57:56 -06:00
|
|
|
$navbarBorder: 1px solid $dark-6;
|
2017-12-19 09:22:41 -06:00
|
|
|
|
|
|
|
$navbarButtonBackground: $navbarBackground;
|
2017-06-12 14:11:22 -05:00
|
|
|
$navbarButtonBackgroundHighlight: $body-bg;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2018-01-18 07:40:08 -06:00
|
|
|
$navbar-button-border: #2f2f32;
|
2017-12-05 05:48:16 -06:00
|
|
|
|
2016-02-15 09:02:58 -06:00
|
|
|
// Sidemenu
|
|
|
|
// -------------------------
|
2017-12-19 09:22:41 -06:00
|
|
|
$side-menu-bg: $black;
|
2018-03-06 07:16:10 -06:00
|
|
|
$side-menu-bg-mobile: $side-menu-bg;
|
2019-02-19 06:57:56 -06:00
|
|
|
$side-menu-item-hover-bg: $dark-3;
|
2017-12-19 09:22:41 -06:00
|
|
|
$side-menu-shadow: 0 0 20px black;
|
|
|
|
$side-menu-link-color: $link-color;
|
2016-02-15 09:02:58 -06:00
|
|
|
|
2017-06-12 09:46:02 -05:00
|
|
|
// Menu dropdowns
|
|
|
|
// -------------------------
|
2017-12-19 09:22:41 -06:00
|
|
|
$menu-dropdown-bg: $body-bg;
|
2019-02-19 06:57:56 -06:00
|
|
|
$menu-dropdown-hover-bg: $dark-3;
|
2017-06-12 14:11:22 -05:00
|
|
|
$menu-dropdown-shadow: 5px 5px 20px -5px $black;
|
2017-06-12 09:46:02 -05:00
|
|
|
|
2017-12-05 05:48:16 -06:00
|
|
|
// Tabs
|
|
|
|
// -------------------------
|
2019-02-19 06:57:56 -06:00
|
|
|
$tab-border-color: $dark-9;
|
2016-02-15 09:02:58 -06:00
|
|
|
|
2018-11-11 10:46:40 -06:00
|
|
|
// Toolbar
|
2018-12-13 00:44:58 -06:00
|
|
|
$toolbar-bg: $input-black;
|
2018-11-11 10:46:40 -06:00
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Form states and alerts
|
|
|
|
// -------------------------
|
2017-12-19 09:22:41 -06:00
|
|
|
$warning-text-color: $warn;
|
|
|
|
$error-text-color: #e84d4d;
|
2019-02-20 09:11:36 -06:00
|
|
|
$success-text-color: #12d95a;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2019-02-20 09:11:36 -06:00
|
|
|
$alert-error-bg: linear-gradient(90deg, $red-base, $red-shade);
|
2019-02-19 06:57:56 -06:00
|
|
|
$alert-success-bg: linear-gradient(90deg, $green-base, $green-shade);
|
2019-02-20 09:11:36 -06:00
|
|
|
$alert-warning-bg: linear-gradient(90deg, $red-base, $red-shade);
|
|
|
|
$alert-info-bg: linear-gradient(100deg, $blue-base, $blue-shade);
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2016-02-22 04:41:50 -06:00
|
|
|
// popover
|
2019-02-19 06:57:56 -06:00
|
|
|
$popover-bg: $dark-2;
|
2017-12-19 09:22:41 -06:00
|
|
|
$popover-color: $text-color;
|
2019-02-19 06:57:56 -06:00
|
|
|
$popover-border-color: $dark-9;
|
2019-06-24 07:39:59 -05:00
|
|
|
$popover-header-bg: $dark-9;
|
2017-12-19 09:22:41 -06:00
|
|
|
$popover-shadow: 0 0 20px black;
|
2016-02-22 11:46:58 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$popover-help-bg: $btn-secondary-bg;
|
2019-06-25 04:38:51 -05:00
|
|
|
$popover-help-color: $gray-6;
|
2016-02-22 04:41:50 -06:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$popover-error-bg: $btn-danger-bg;
|
2017-09-12 01:01:44 -05:00
|
|
|
|
2016-04-11 19:33:58 -05:00
|
|
|
// Tooltips and popovers
|
|
|
|
// -------------------------
|
2017-12-19 09:22:41 -06:00
|
|
|
$tooltipColor: $popover-help-color;
|
|
|
|
$tooltipArrowWidth: 5px;
|
|
|
|
$tooltipLinkColor: $link-color;
|
|
|
|
$graph-tooltip-bg: $dark-1;
|
2016-04-11 19:33:58 -05:00
|
|
|
|
2019-01-29 06:42:29 -06:00
|
|
|
$tooltipBackground: $black;
|
|
|
|
$tooltipColor: $gray-4;
|
2019-01-07 06:05:27 -06:00
|
|
|
$tooltipArrowColor: $tooltipBackground;
|
|
|
|
$tooltipBackgroundError: $brand-danger;
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// images
|
2018-01-18 07:40:08 -06:00
|
|
|
$checkboxImageUrl: '../img/checkbox.png';
|
2016-03-15 03:15:24 -05:00
|
|
|
|
2017-07-31 07:39:33 -05:00
|
|
|
// info box
|
2019-02-20 09:11:36 -06:00
|
|
|
$info-box-border-color: $blue-base;
|
2017-07-31 07:39:33 -05:00
|
|
|
|
2016-05-24 01:11:28 -05:00
|
|
|
// footer
|
2017-12-19 09:22:41 -06:00
|
|
|
$footer-link-color: $gray-2;
|
|
|
|
$footer-link-hover: $gray-4;
|
2016-11-01 10:06:49 -05:00
|
|
|
|
2017-05-20 11:21:41 -05:00
|
|
|
// json-explorer
|
2017-05-20 16:43:59 -05:00
|
|
|
$json-explorer-default-color: $text-color;
|
2017-05-20 15:55:36 -05:00
|
|
|
$json-explorer-string-color: #23d662;
|
|
|
|
$json-explorer-number-color: $variable;
|
|
|
|
$json-explorer-boolean-color: $variable;
|
2017-12-19 09:22:41 -06:00
|
|
|
$json-explorer-null-color: #eec97d;
|
2017-05-20 11:21:41 -05:00
|
|
|
$json-explorer-undefined-color: rgb(239, 143, 190);
|
2017-12-19 09:22:41 -06:00
|
|
|
$json-explorer-function-color: #fd48cb;
|
2017-05-20 11:21:41 -05:00
|
|
|
$json-explorer-rotate-time: 100ms;
|
|
|
|
$json-explorer-toggler-opacity: 0.6;
|
2017-12-19 09:22:41 -06:00
|
|
|
$json-explorer-bracket-color: #9494ff;
|
|
|
|
$json-explorer-key-color: #23a0db;
|
|
|
|
$json-explorer-url-color: #027bff;
|
History and Version Control for Dashboard Updates
A simple version control system for dashboards. Closes #1504.
Goals
1. To create a new dashboard version every time a dashboard is saved.
2. To allow users to view all versions of a given dashboard.
3. To allow users to rollback to a previous version of a dashboard.
4. To allow users to compare two versions of a dashboard.
Usage
Navigate to a dashboard, and click the settings cog. From there, click
the "Changelog" button to be brought to the Changelog view. In this
view, a table containing each version of a dashboard can be seen. Each
entry in the table represents a dashboard version. A selectable
checkbox, the version number, date created, name of the user who created
that version, and commit message is shown in the table, along with a
button that allows a user to restore to a previous version of that
dashboard. If a user wants to restore to a previous version of their
dashboard, they can do so by clicking the previously mentioned button.
If a user wants to compare two different versions of a dashboard, they
can do so by clicking the checkbox of two different dashboard versions,
then clicking the "Compare versions" button located below the dashboard.
From there, the user is brought to a view showing a summary of the
dashboard differences. Each summarized change contains a link that can
be clicked to take the user a JSON diff highlighting the changes line by
line.
Overview of Changes
Backend Changes
- A `dashboard_version` table was created to store each dashboard
version, along with a dashboard version model and structs to represent
the queries and commands necessary for the dashboard version API
methods.
- API endpoints were created to support working with dashboard
versions.
- Methods were added to create, update, read, and destroy dashboard
versions in the database.
- Logic was added to compute the diff between two versions, and
display it to the user.
- The dashboard migration logic was updated to save a "Version
1" of each existing dashboard in the database.
Frontend Changes
- New views
- Methods to pull JSON and HTML from endpoints
New API Endpoints
Each endpoint requires the authorization header to be sent in
the format,
```
Authorization: Bearer <jwt>
```
where `<jwt>` is a JSON web token obtained from the Grafana
admin panel.
`GET "/api/dashboards/db/:dashboardId/versions?orderBy=<string>&limit=<int>&start=<int>"`
Get all dashboard versions for the given dashboard ID. Accepts
three URL parameters:
- `orderBy` String to order the results by. Possible values
are `version`, `created`, `created_by`, `message`. Default
is `versions`. Ordering is always in descending order.
- `limit` Maximum number of results to return
- `start` Position in results to start from
`GET "/api/dashboards/db/:dashboardId/versions/:id"`
Get an individual dashboard version by ID, for the given
dashboard ID.
`POST "/api/dashboards/db/:dashboardId/restore"`
Restore to the given dashboard version. Post body is of
content-type `application/json`, and must contain.
```json
{
"dashboardId": <int>,
"version": <int>
}
```
`GET "/api/dashboards/db/:dashboardId/compare/:versionA...:versionB"`
Compare two dashboard versions by ID for the given
dashboard ID, returning a JSON delta formatted
representation of the diff. The URL format follows
what GitHub does. For example, visiting
[/api/dashboards/db/18/compare/22...33](http://ec2-54-80-139-44.compute-1.amazonaws.com:3000/api/dashboards/db/18/compare/22...33)
will return the diff between versions 22 and 33 for
the dashboard ID 18.
Dependencies Added
- The Go package [gojsondiff](https://github.com/yudai/gojsondiff)
was added and vendored.
2017-05-24 18:14:39 -05:00
|
|
|
|
|
|
|
// Changelog and diff
|
|
|
|
// -------------------------
|
2019-02-19 06:57:56 -06:00
|
|
|
$diff-label-bg: $dark-3;
|
2017-12-19 09:22:41 -06:00
|
|
|
$diff-label-fg: $white;
|
History and Version Control for Dashboard Updates
A simple version control system for dashboards. Closes #1504.
Goals
1. To create a new dashboard version every time a dashboard is saved.
2. To allow users to view all versions of a given dashboard.
3. To allow users to rollback to a previous version of a dashboard.
4. To allow users to compare two versions of a dashboard.
Usage
Navigate to a dashboard, and click the settings cog. From there, click
the "Changelog" button to be brought to the Changelog view. In this
view, a table containing each version of a dashboard can be seen. Each
entry in the table represents a dashboard version. A selectable
checkbox, the version number, date created, name of the user who created
that version, and commit message is shown in the table, along with a
button that allows a user to restore to a previous version of that
dashboard. If a user wants to restore to a previous version of their
dashboard, they can do so by clicking the previously mentioned button.
If a user wants to compare two different versions of a dashboard, they
can do so by clicking the checkbox of two different dashboard versions,
then clicking the "Compare versions" button located below the dashboard.
From there, the user is brought to a view showing a summary of the
dashboard differences. Each summarized change contains a link that can
be clicked to take the user a JSON diff highlighting the changes line by
line.
Overview of Changes
Backend Changes
- A `dashboard_version` table was created to store each dashboard
version, along with a dashboard version model and structs to represent
the queries and commands necessary for the dashboard version API
methods.
- API endpoints were created to support working with dashboard
versions.
- Methods were added to create, update, read, and destroy dashboard
versions in the database.
- Logic was added to compute the diff between two versions, and
display it to the user.
- The dashboard migration logic was updated to save a "Version
1" of each existing dashboard in the database.
Frontend Changes
- New views
- Methods to pull JSON and HTML from endpoints
New API Endpoints
Each endpoint requires the authorization header to be sent in
the format,
```
Authorization: Bearer <jwt>
```
where `<jwt>` is a JSON web token obtained from the Grafana
admin panel.
`GET "/api/dashboards/db/:dashboardId/versions?orderBy=<string>&limit=<int>&start=<int>"`
Get all dashboard versions for the given dashboard ID. Accepts
three URL parameters:
- `orderBy` String to order the results by. Possible values
are `version`, `created`, `created_by`, `message`. Default
is `versions`. Ordering is always in descending order.
- `limit` Maximum number of results to return
- `start` Position in results to start from
`GET "/api/dashboards/db/:dashboardId/versions/:id"`
Get an individual dashboard version by ID, for the given
dashboard ID.
`POST "/api/dashboards/db/:dashboardId/restore"`
Restore to the given dashboard version. Post body is of
content-type `application/json`, and must contain.
```json
{
"dashboardId": <int>,
"version": <int>
}
```
`GET "/api/dashboards/db/:dashboardId/compare/:versionA...:versionB"`
Compare two dashboard versions by ID for the given
dashboard ID, returning a JSON delta formatted
representation of the diff. The URL format follows
what GitHub does. For example, visiting
[/api/dashboards/db/18/compare/22...33](http://ec2-54-80-139-44.compute-1.amazonaws.com:3000/api/dashboards/db/18/compare/22...33)
will return the diff between versions 22 and 33 for
the dashboard ID 18.
Dependencies Added
- The Go package [gojsondiff](https://github.com/yudai/gojsondiff)
was added and vendored.
2017-05-24 18:14:39 -05:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$diff-group-bg: $dark-9;
|
2017-12-19 09:22:41 -06:00
|
|
|
$diff-arrow-color: $white;
|
History and Version Control for Dashboard Updates
A simple version control system for dashboards. Closes #1504.
Goals
1. To create a new dashboard version every time a dashboard is saved.
2. To allow users to view all versions of a given dashboard.
3. To allow users to rollback to a previous version of a dashboard.
4. To allow users to compare two versions of a dashboard.
Usage
Navigate to a dashboard, and click the settings cog. From there, click
the "Changelog" button to be brought to the Changelog view. In this
view, a table containing each version of a dashboard can be seen. Each
entry in the table represents a dashboard version. A selectable
checkbox, the version number, date created, name of the user who created
that version, and commit message is shown in the table, along with a
button that allows a user to restore to a previous version of that
dashboard. If a user wants to restore to a previous version of their
dashboard, they can do so by clicking the previously mentioned button.
If a user wants to compare two different versions of a dashboard, they
can do so by clicking the checkbox of two different dashboard versions,
then clicking the "Compare versions" button located below the dashboard.
From there, the user is brought to a view showing a summary of the
dashboard differences. Each summarized change contains a link that can
be clicked to take the user a JSON diff highlighting the changes line by
line.
Overview of Changes
Backend Changes
- A `dashboard_version` table was created to store each dashboard
version, along with a dashboard version model and structs to represent
the queries and commands necessary for the dashboard version API
methods.
- API endpoints were created to support working with dashboard
versions.
- Methods were added to create, update, read, and destroy dashboard
versions in the database.
- Logic was added to compute the diff between two versions, and
display it to the user.
- The dashboard migration logic was updated to save a "Version
1" of each existing dashboard in the database.
Frontend Changes
- New views
- Methods to pull JSON and HTML from endpoints
New API Endpoints
Each endpoint requires the authorization header to be sent in
the format,
```
Authorization: Bearer <jwt>
```
where `<jwt>` is a JSON web token obtained from the Grafana
admin panel.
`GET "/api/dashboards/db/:dashboardId/versions?orderBy=<string>&limit=<int>&start=<int>"`
Get all dashboard versions for the given dashboard ID. Accepts
three URL parameters:
- `orderBy` String to order the results by. Possible values
are `version`, `created`, `created_by`, `message`. Default
is `versions`. Ordering is always in descending order.
- `limit` Maximum number of results to return
- `start` Position in results to start from
`GET "/api/dashboards/db/:dashboardId/versions/:id"`
Get an individual dashboard version by ID, for the given
dashboard ID.
`POST "/api/dashboards/db/:dashboardId/restore"`
Restore to the given dashboard version. Post body is of
content-type `application/json`, and must contain.
```json
{
"dashboardId": <int>,
"version": <int>
}
```
`GET "/api/dashboards/db/:dashboardId/compare/:versionA...:versionB"`
Compare two dashboard versions by ID for the given
dashboard ID, returning a JSON delta formatted
representation of the diff. The URL format follows
what GitHub does. For example, visiting
[/api/dashboards/db/18/compare/22...33](http://ec2-54-80-139-44.compute-1.amazonaws.com:3000/api/dashboards/db/18/compare/22...33)
will return the diff between versions 22 and 33 for
the dashboard ID 18.
Dependencies Added
- The Go package [gojsondiff](https://github.com/yudai/gojsondiff)
was added and vendored.
2017-05-24 18:14:39 -05:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$diff-json-bg: $dark-9;
|
2017-12-19 09:22:41 -06:00
|
|
|
$diff-json-fg: $gray-5;
|
History and Version Control for Dashboard Updates
A simple version control system for dashboards. Closes #1504.
Goals
1. To create a new dashboard version every time a dashboard is saved.
2. To allow users to view all versions of a given dashboard.
3. To allow users to rollback to a previous version of a dashboard.
4. To allow users to compare two versions of a dashboard.
Usage
Navigate to a dashboard, and click the settings cog. From there, click
the "Changelog" button to be brought to the Changelog view. In this
view, a table containing each version of a dashboard can be seen. Each
entry in the table represents a dashboard version. A selectable
checkbox, the version number, date created, name of the user who created
that version, and commit message is shown in the table, along with a
button that allows a user to restore to a previous version of that
dashboard. If a user wants to restore to a previous version of their
dashboard, they can do so by clicking the previously mentioned button.
If a user wants to compare two different versions of a dashboard, they
can do so by clicking the checkbox of two different dashboard versions,
then clicking the "Compare versions" button located below the dashboard.
From there, the user is brought to a view showing a summary of the
dashboard differences. Each summarized change contains a link that can
be clicked to take the user a JSON diff highlighting the changes line by
line.
Overview of Changes
Backend Changes
- A `dashboard_version` table was created to store each dashboard
version, along with a dashboard version model and structs to represent
the queries and commands necessary for the dashboard version API
methods.
- API endpoints were created to support working with dashboard
versions.
- Methods were added to create, update, read, and destroy dashboard
versions in the database.
- Logic was added to compute the diff between two versions, and
display it to the user.
- The dashboard migration logic was updated to save a "Version
1" of each existing dashboard in the database.
Frontend Changes
- New views
- Methods to pull JSON and HTML from endpoints
New API Endpoints
Each endpoint requires the authorization header to be sent in
the format,
```
Authorization: Bearer <jwt>
```
where `<jwt>` is a JSON web token obtained from the Grafana
admin panel.
`GET "/api/dashboards/db/:dashboardId/versions?orderBy=<string>&limit=<int>&start=<int>"`
Get all dashboard versions for the given dashboard ID. Accepts
three URL parameters:
- `orderBy` String to order the results by. Possible values
are `version`, `created`, `created_by`, `message`. Default
is `versions`. Ordering is always in descending order.
- `limit` Maximum number of results to return
- `start` Position in results to start from
`GET "/api/dashboards/db/:dashboardId/versions/:id"`
Get an individual dashboard version by ID, for the given
dashboard ID.
`POST "/api/dashboards/db/:dashboardId/restore"`
Restore to the given dashboard version. Post body is of
content-type `application/json`, and must contain.
```json
{
"dashboardId": <int>,
"version": <int>
}
```
`GET "/api/dashboards/db/:dashboardId/compare/:versionA...:versionB"`
Compare two dashboard versions by ID for the given
dashboard ID, returning a JSON delta formatted
representation of the diff. The URL format follows
what GitHub does. For example, visiting
[/api/dashboards/db/18/compare/22...33](http://ec2-54-80-139-44.compute-1.amazonaws.com:3000/api/dashboards/db/18/compare/22...33)
will return the diff between versions 22 and 33 for
the dashboard ID 18.
Dependencies Added
- The Go package [gojsondiff](https://github.com/yudai/gojsondiff)
was added and vendored.
2017-05-24 18:14:39 -05:00
|
|
|
|
2019-02-20 09:11:36 -06:00
|
|
|
$diff-json-added: $blue-shade;
|
|
|
|
$diff-json-deleted: $red-shade;
|
History and Version Control for Dashboard Updates
A simple version control system for dashboards. Closes #1504.
Goals
1. To create a new dashboard version every time a dashboard is saved.
2. To allow users to view all versions of a given dashboard.
3. To allow users to rollback to a previous version of a dashboard.
4. To allow users to compare two versions of a dashboard.
Usage
Navigate to a dashboard, and click the settings cog. From there, click
the "Changelog" button to be brought to the Changelog view. In this
view, a table containing each version of a dashboard can be seen. Each
entry in the table represents a dashboard version. A selectable
checkbox, the version number, date created, name of the user who created
that version, and commit message is shown in the table, along with a
button that allows a user to restore to a previous version of that
dashboard. If a user wants to restore to a previous version of their
dashboard, they can do so by clicking the previously mentioned button.
If a user wants to compare two different versions of a dashboard, they
can do so by clicking the checkbox of two different dashboard versions,
then clicking the "Compare versions" button located below the dashboard.
From there, the user is brought to a view showing a summary of the
dashboard differences. Each summarized change contains a link that can
be clicked to take the user a JSON diff highlighting the changes line by
line.
Overview of Changes
Backend Changes
- A `dashboard_version` table was created to store each dashboard
version, along with a dashboard version model and structs to represent
the queries and commands necessary for the dashboard version API
methods.
- API endpoints were created to support working with dashboard
versions.
- Methods were added to create, update, read, and destroy dashboard
versions in the database.
- Logic was added to compute the diff between two versions, and
display it to the user.
- The dashboard migration logic was updated to save a "Version
1" of each existing dashboard in the database.
Frontend Changes
- New views
- Methods to pull JSON and HTML from endpoints
New API Endpoints
Each endpoint requires the authorization header to be sent in
the format,
```
Authorization: Bearer <jwt>
```
where `<jwt>` is a JSON web token obtained from the Grafana
admin panel.
`GET "/api/dashboards/db/:dashboardId/versions?orderBy=<string>&limit=<int>&start=<int>"`
Get all dashboard versions for the given dashboard ID. Accepts
three URL parameters:
- `orderBy` String to order the results by. Possible values
are `version`, `created`, `created_by`, `message`. Default
is `versions`. Ordering is always in descending order.
- `limit` Maximum number of results to return
- `start` Position in results to start from
`GET "/api/dashboards/db/:dashboardId/versions/:id"`
Get an individual dashboard version by ID, for the given
dashboard ID.
`POST "/api/dashboards/db/:dashboardId/restore"`
Restore to the given dashboard version. Post body is of
content-type `application/json`, and must contain.
```json
{
"dashboardId": <int>,
"version": <int>
}
```
`GET "/api/dashboards/db/:dashboardId/compare/:versionA...:versionB"`
Compare two dashboard versions by ID for the given
dashboard ID, returning a JSON delta formatted
representation of the diff. The URL format follows
what GitHub does. For example, visiting
[/api/dashboards/db/18/compare/22...33](http://ec2-54-80-139-44.compute-1.amazonaws.com:3000/api/dashboards/db/18/compare/22...33)
will return the diff between versions 22 and 33 for
the dashboard ID 18.
Dependencies Added
- The Go package [gojsondiff](https://github.com/yudai/gojsondiff)
was added and vendored.
2017-05-24 18:14:39 -05:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$diff-json-old: #a04338;
|
|
|
|
$diff-json-new: #457740;
|
History and Version Control for Dashboard Updates
A simple version control system for dashboards. Closes #1504.
Goals
1. To create a new dashboard version every time a dashboard is saved.
2. To allow users to view all versions of a given dashboard.
3. To allow users to rollback to a previous version of a dashboard.
4. To allow users to compare two versions of a dashboard.
Usage
Navigate to a dashboard, and click the settings cog. From there, click
the "Changelog" button to be brought to the Changelog view. In this
view, a table containing each version of a dashboard can be seen. Each
entry in the table represents a dashboard version. A selectable
checkbox, the version number, date created, name of the user who created
that version, and commit message is shown in the table, along with a
button that allows a user to restore to a previous version of that
dashboard. If a user wants to restore to a previous version of their
dashboard, they can do so by clicking the previously mentioned button.
If a user wants to compare two different versions of a dashboard, they
can do so by clicking the checkbox of two different dashboard versions,
then clicking the "Compare versions" button located below the dashboard.
From there, the user is brought to a view showing a summary of the
dashboard differences. Each summarized change contains a link that can
be clicked to take the user a JSON diff highlighting the changes line by
line.
Overview of Changes
Backend Changes
- A `dashboard_version` table was created to store each dashboard
version, along with a dashboard version model and structs to represent
the queries and commands necessary for the dashboard version API
methods.
- API endpoints were created to support working with dashboard
versions.
- Methods were added to create, update, read, and destroy dashboard
versions in the database.
- Logic was added to compute the diff between two versions, and
display it to the user.
- The dashboard migration logic was updated to save a "Version
1" of each existing dashboard in the database.
Frontend Changes
- New views
- Methods to pull JSON and HTML from endpoints
New API Endpoints
Each endpoint requires the authorization header to be sent in
the format,
```
Authorization: Bearer <jwt>
```
where `<jwt>` is a JSON web token obtained from the Grafana
admin panel.
`GET "/api/dashboards/db/:dashboardId/versions?orderBy=<string>&limit=<int>&start=<int>"`
Get all dashboard versions for the given dashboard ID. Accepts
three URL parameters:
- `orderBy` String to order the results by. Possible values
are `version`, `created`, `created_by`, `message`. Default
is `versions`. Ordering is always in descending order.
- `limit` Maximum number of results to return
- `start` Position in results to start from
`GET "/api/dashboards/db/:dashboardId/versions/:id"`
Get an individual dashboard version by ID, for the given
dashboard ID.
`POST "/api/dashboards/db/:dashboardId/restore"`
Restore to the given dashboard version. Post body is of
content-type `application/json`, and must contain.
```json
{
"dashboardId": <int>,
"version": <int>
}
```
`GET "/api/dashboards/db/:dashboardId/compare/:versionA...:versionB"`
Compare two dashboard versions by ID for the given
dashboard ID, returning a JSON delta formatted
representation of the diff. The URL format follows
what GitHub does. For example, visiting
[/api/dashboards/db/18/compare/22...33](http://ec2-54-80-139-44.compute-1.amazonaws.com:3000/api/dashboards/db/18/compare/22...33)
will return the diff between versions 22 and 33 for
the dashboard ID 18.
Dependencies Added
- The Go package [gojsondiff](https://github.com/yudai/gojsondiff)
was added and vendored.
2017-05-24 18:14:39 -05:00
|
|
|
|
2017-12-19 09:22:41 -06:00
|
|
|
$diff-json-changed-fg: $gray-5;
|
2017-06-07 05:39:06 -05:00
|
|
|
$diff-json-changed-num: $text-color;
|
History and Version Control for Dashboard Updates
A simple version control system for dashboards. Closes #1504.
Goals
1. To create a new dashboard version every time a dashboard is saved.
2. To allow users to view all versions of a given dashboard.
3. To allow users to rollback to a previous version of a dashboard.
4. To allow users to compare two versions of a dashboard.
Usage
Navigate to a dashboard, and click the settings cog. From there, click
the "Changelog" button to be brought to the Changelog view. In this
view, a table containing each version of a dashboard can be seen. Each
entry in the table represents a dashboard version. A selectable
checkbox, the version number, date created, name of the user who created
that version, and commit message is shown in the table, along with a
button that allows a user to restore to a previous version of that
dashboard. If a user wants to restore to a previous version of their
dashboard, they can do so by clicking the previously mentioned button.
If a user wants to compare two different versions of a dashboard, they
can do so by clicking the checkbox of two different dashboard versions,
then clicking the "Compare versions" button located below the dashboard.
From there, the user is brought to a view showing a summary of the
dashboard differences. Each summarized change contains a link that can
be clicked to take the user a JSON diff highlighting the changes line by
line.
Overview of Changes
Backend Changes
- A `dashboard_version` table was created to store each dashboard
version, along with a dashboard version model and structs to represent
the queries and commands necessary for the dashboard version API
methods.
- API endpoints were created to support working with dashboard
versions.
- Methods were added to create, update, read, and destroy dashboard
versions in the database.
- Logic was added to compute the diff between two versions, and
display it to the user.
- The dashboard migration logic was updated to save a "Version
1" of each existing dashboard in the database.
Frontend Changes
- New views
- Methods to pull JSON and HTML from endpoints
New API Endpoints
Each endpoint requires the authorization header to be sent in
the format,
```
Authorization: Bearer <jwt>
```
where `<jwt>` is a JSON web token obtained from the Grafana
admin panel.
`GET "/api/dashboards/db/:dashboardId/versions?orderBy=<string>&limit=<int>&start=<int>"`
Get all dashboard versions for the given dashboard ID. Accepts
three URL parameters:
- `orderBy` String to order the results by. Possible values
are `version`, `created`, `created_by`, `message`. Default
is `versions`. Ordering is always in descending order.
- `limit` Maximum number of results to return
- `start` Position in results to start from
`GET "/api/dashboards/db/:dashboardId/versions/:id"`
Get an individual dashboard version by ID, for the given
dashboard ID.
`POST "/api/dashboards/db/:dashboardId/restore"`
Restore to the given dashboard version. Post body is of
content-type `application/json`, and must contain.
```json
{
"dashboardId": <int>,
"version": <int>
}
```
`GET "/api/dashboards/db/:dashboardId/compare/:versionA...:versionB"`
Compare two dashboard versions by ID for the given
dashboard ID, returning a JSON delta formatted
representation of the diff. The URL format follows
what GitHub does. For example, visiting
[/api/dashboards/db/18/compare/22...33](http://ec2-54-80-139-44.compute-1.amazonaws.com:3000/api/dashboards/db/18/compare/22...33)
will return the diff between versions 22 and 33 for
the dashboard ID 18.
Dependencies Added
- The Go package [gojsondiff](https://github.com/yudai/gojsondiff)
was added and vendored.
2017-05-24 18:14:39 -05:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$diff-json-icon: $gray-5;
|
2018-07-20 09:02:41 -05:00
|
|
|
|
|
|
|
//Submenu
|
2019-02-19 06:57:56 -06:00
|
|
|
$variable-option-bg: $dropdownLinkBackgroundHover;
|
2018-11-16 06:02:29 -06:00
|
|
|
|
|
|
|
//Switch Slider
|
|
|
|
// -------------------------
|
2018-11-16 14:45:19 -06:00
|
|
|
$switch-bg: $input-bg;
|
2019-02-19 06:57:56 -06:00
|
|
|
$switch-slider-color: $dark-3;
|
2018-11-16 06:02:29 -06:00
|
|
|
$switch-slider-off-bg: $gray-1;
|
2019-02-19 06:57:56 -06:00
|
|
|
$switch-slider-on-bg: linear-gradient(90deg, #eb7b18, #d44a3a);
|
2018-11-16 06:02:29 -06:00
|
|
|
$switch-slider-shadow: 0 0 3px black;
|
2018-11-16 09:35:04 -06:00
|
|
|
|
|
|
|
//Checkbox
|
|
|
|
// -------------------------
|
|
|
|
$checkbox-bg: $dark-1;
|
2018-11-23 00:31:13 -06:00
|
|
|
$checkbox-border: 1px solid $gray-1;
|
2019-02-19 06:57:56 -06:00
|
|
|
$checkbox-checked-bg: linear-gradient(0deg, #eb7b18, #d44a3a);
|
2018-11-16 09:35:04 -06:00
|
|
|
$checkbox-color: $dark-1;
|
2018-11-28 08:51:45 -06:00
|
|
|
|
|
|
|
//Panel Edit
|
|
|
|
// -------------------------
|
|
|
|
$panel-editor-shadow: 0 0 20px black;
|
|
|
|
$panel-editor-side-menu-shadow: drop-shadow(0 0 10px $black);
|
2019-02-19 06:57:56 -06:00
|
|
|
$panel-editor-viz-item-shadow: 0 0 8px $dark-10;
|
|
|
|
$panel-editor-viz-item-border: 1px solid $dark-10;
|
2019-02-20 09:11:36 -06:00
|
|
|
$panel-editor-viz-item-shadow-hover: 0 0 4px $blue-light;
|
|
|
|
$panel-editor-viz-item-border-hover: 1px solid $blue-light;
|
2018-12-13 00:44:58 -06:00
|
|
|
$panel-editor-viz-item-bg: $input-black;
|
2018-11-28 08:51:45 -06:00
|
|
|
$panel-editor-tabs-line-color: #e3e3e3;
|
2019-02-19 06:57:56 -06:00
|
|
|
|
2019-02-20 09:11:36 -06:00
|
|
|
$panel-editor-viz-item-bg-hover: darken($blue-base, 46%);
|
2018-11-30 07:14:23 -06:00
|
|
|
|
2019-01-29 08:37:22 -06:00
|
|
|
$panel-options-group-border: none;
|
|
|
|
$panel-options-group-header-bg: $gray-blue;
|
2018-12-13 09:02:14 -06:00
|
|
|
|
2019-02-20 09:11:36 -06:00
|
|
|
$panel-grid-placeholder-bg: $blue-faint;
|
|
|
|
$panel-grid-placeholder-shadow: 0 0 4px $blue-shade;
|
2018-12-07 07:59:38 -06:00
|
|
|
|
2018-12-06 13:55:01 -06:00
|
|
|
// logs
|
|
|
|
$logs-color-unkown: $gray-2;
|
2018-12-07 10:15:46 -06:00
|
|
|
|
|
|
|
// toggle-group
|
2019-02-19 06:57:56 -06:00
|
|
|
$button-toggle-group-btn-active-bg: linear-gradient(90deg, #eb7b18, #d44a3a);
|
2018-12-07 10:15:46 -06:00
|
|
|
$button-toggle-group-btn-active-shadow: inset 0 0 4px $black;
|
2019-02-19 06:57:56 -06:00
|
|
|
$button-toggle-group-btn-seperator-border: 1px solid $dark-2;
|
2018-12-18 10:20:09 -06:00
|
|
|
|
2019-02-19 06:57:56 -06:00
|
|
|
$vertical-resize-handle-bg: $dark-10;
|
2018-12-18 10:20:09 -06:00
|
|
|
$vertical-resize-handle-dots: $gray-1;
|
|
|
|
$vertical-resize-handle-dots-hover: $gray-2;
|
2019-06-24 07:39:59 -05:00
|
|
|
|
|
|
|
// Calendar
|
|
|
|
$calendar-bg-days: $input-bg;
|
|
|
|
$calendar-bg-now: $dark-10;
|