grafana/public/sass/_variables.dark.generated.scss

178 lines
3.8 KiB
SCSS
Raw Normal View History

/***
* !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
*
2019-02-18 18:05:02 +08:00
* Do not modify this file!
* - 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 !!!
*/
@use 'sass:color';
2016-02-15 22:27:41 +08:00
// Global values
// --------------------------------------------------
$theme-name: dark;
2016-02-15 22:27:41 +08:00
2019-02-19 20:57:56 +08:00
// New Colors
// -------------------------
$blue-base: #3d71d9;
$red-base: #d10e5c;
$green-base: #1a7f4b;
2016-02-15 22:27:41 +08:00
// Grays
2016-02-19 19:26:39 +08:00
// -------------------------
$black: #000000;
2019-02-19 20:57:56 +08:00
$dark-1: #141414;
$dark-3: #1f1f20;
$dark-6: #262628;
$dark-9: #343436;
$dark-10: #424345;
$gray-1: #555555;
$gray-2: #8e8e8e;
TimePicker: New time picker dropdown & custom range UI (#16811) * feat: Add new picker to DashNavTimeControls * chore: noImplicitAny limit reached * chore: noImplicityAny fix * chore: Add momentUtc helper to avoid the isUtc conditionals * chore: Move getRaw from Explore's time picker to grafana/ui utils and rename to getRawRange * feat: Use helper functions to convert utc to browser time * fix: Dont Select current value when pressing tab when using Time Picker * fix: Add tabIndex to time range inputs so tab works smoothly and prevent mouseDown event to propagate to react-select * fix: Add spacing to custom range labels * fix: Updated snapshot * fix: Re-adding getRaw() temporary to fix the build * fix: Disable scroll event in Popper when we're using the TimePicker so the popup wont "follow" the menu * fix: Move all "Last xxxx" quick ranges to the menu and show a "UTC" text when applicable * fix: Add zoom functionality * feat: Add logic to mark selected option as active * fix: Add tooltip to zoom button * fix: lint fix after rebase * chore: Remove old time picker from DashNav * TimePicker: minor design update * chore: Move all time picker quick ranges to the menu * fix: Remove the popover border-right, since the quick ranges are gone * chore: Remove function not in use * Fix: Close time picker on resize event * Fix: Remove border bottom * Fix: Use fa icons on prev/next arrows * Fix: Pass ref from TimePicker to TimePickerOptionGroup so the popover will align as it should * Fix: time picker ui adjustments to get better touch area on buttons * Fix: Dont increase line height on large screens * TimePicker: style updates * Fix: Add more prominent colors for selected dates and fade out dates in previous/next month * TimePicker: style updates2 * TimePicker: Big refactorings and style changes * Removed use of Popper not sure we need that here? * Made active selected item in the list have the "selected" checkmark * Changed design of popover * Changed design of and implementation of the Custom selection in the dropdown it did not feel like a item you could select like the rest now the list is just a normal list * TimePicker: Refactoring & style changes * TimePicker: use same date format everywhere * TimePicker: Calendar style updates * TimePicker: fixed unit test * fixed unit test * TimeZone: refactoring time zone type * TimePicker: refactoring * TimePicker: finally to UTC to work * TimePicker: better way to handle calendar utc dates * TimePicker: Fixed tooltip issues * Updated snapshot * TimePicker: moved tooltip from DashNavControls into TimePicker
2019-06-24 20:39:59 +08:00
$gray-6: #f4f5f8;
2019-02-19 20:57:56 +08:00
$white: #ffffff;
2016-02-15 22:27:41 +08:00
$layer2: #22252b;
2016-02-15 22:27:41 +08:00
// Accent colors
// -------------------------
$blue: #33a2e5;
$red: $red-base;
2017-12-19 23:22:41 +08:00
$yellow: #ecbb13;
$purple: #9933cc;
2016-02-15 22:27:41 +08:00
2016-02-16 16:42:46 +08:00
// Scaffolding
2016-02-15 22:27:41 +08:00
// -------------------------
$body-bg: #111217;
$text-color: rgb(204, 204, 220);
$text-color-weak: rgba(204, 204, 220, 0.65);
$text-color-emphasis: #ffffff;
2016-02-16 15:30:37 +08:00
2016-02-24 17:32:22 +08:00
2016-02-16 16:42:46 +08:00
// Links
// -------------------------
$link-color: rgb(204, 204, 220);
$link-color-disabled: rgba(204, 204, 220, 0.6);
$link-hover-color: #ffffff;
2016-02-15 22:27:41 +08:00
2016-02-16 16:42:46 +08:00
// Typography
// -------------------------
2017-12-19 23:22:41 +08:00
$text-muted: $text-color-weak;
2016-02-15 22:27:41 +08:00
2016-02-16 16:42:46 +08:00
// Panel
// -------------------------
$panel-bg: #181b1f;
2016-02-16 16:42:46 +08:00
2017-12-03 15:11:07 +08:00
// page header
$page-header-bg: #111217;
2019-02-19 20:57:56 +08:00
$page-header-shadow: inset 0px -4px 14px $dark-3;
$page-header-border-color: #111217;
2017-12-03 15:11:07 +08:00
2016-02-16 16:42:46 +08:00
// Graphite Target Editor
$tight-form-func-bg: #22252b;
2016-02-16 16:42:46 +08:00
$code-tag-bg: $dark-1;
2019-02-19 20:57:56 +08:00
$code-tag-border: $dark-9;
2016-04-14 23:38:07 +08:00
// cards
$card-background: #22252b;
$card-background-hover: rgb(40, 43, 49);
$card-shadow: none;
2016-02-16 16:42:46 +08:00
2016-02-15 22:27:41 +08:00
// Lists
2017-12-19 23:22:41 +08:00
$list-item-bg: $card-background;
2018-11-06 15:01:00 +08:00
$empty-list-cta-bg: #22252b;
2016-02-15 22:27:41 +08:00
// Scrollbars
$scrollbarBackground: #404357;
$scrollbarBackground2: $dark-10;
2016-02-15 22:27:41 +08:00
// Tables
// -------------------------
$table-bg-accent: #22252b;
2016-02-15 22:27:41 +08:00
// Buttons
// -------------------------
$btn-inverse-bg-hl: color.adjust($dark-6, $lightness: 4%);
2016-02-15 22:27:41 +08:00
2019-02-19 20:57:56 +08:00
$btn-divider-left: $dark-9;
$btn-divider-right: $dark-3;
$btn-drag-image: '../img/grab_dark.svg';
2016-02-15 22:27:41 +08:00
// Forms
// -------------------------
$input-bg: #111217;
2017-12-19 23:22:41 +08:00
$input-color: rgb(204, 204, 220);
$input-border-color: rgba(204, 204, 220, 0.2);
2018-05-25 18:51:27 +08:00
2016-02-15 22:27:41 +08:00
// Dropdowns
// -------------------------
$dropdownBackground: #181b1f;
$dropdownBorder: rgba(204, 204, 220, 0.12);
$dropdownDividerTop: rgba(204, 204, 220, 0.12);
$dropdownDividerBottom: rgba(204, 204, 220, 0.12);
2016-02-15 22:27:41 +08:00
$dropdownLinkColor: $link-color;
2017-12-19 23:22:41 +08:00
$dropdownLinkColorHover: $white;
$dropdownLinkColorActive: $white;
2019-02-19 20:57:56 +08:00
$dropdownLinkBackgroundHover: $dark-9;
2016-02-15 22:27:41 +08:00
2017-06-12 22:46:02 +08:00
// Menu dropdowns
// -------------------------
$menu-dropdown-bg: #181b1f;
$menu-dropdown-hover-bg: rgba(204, 204, 220, 0.16);
2023-05-17 20:23:54 +08:00
$menu-dropdown-shadow: 0px 8px 24px rgb(1, 4, 9);
2017-06-12 22:46:02 +08:00
2016-02-15 22:27:41 +08:00
// Form states and alerts
// -------------------------
$alert-error-bg: #d10e5c;
$alert-success-bg: #1a7f4b;
$alert-warning-bg: #ff9900;
$alert-info-bg: #ff9900;
2016-02-15 22:27:41 +08:00
// Tooltips and popovers
// -------------------------
2017-12-19 23:22:41 +08:00
$tooltipLinkColor: $link-color;
$tooltipExternalLinkColor: #6e9fff;
2017-12-19 23:22:41 +08:00
$graph-tooltip-bg: $dark-1;
$tooltipBackground: #22252b;
$tooltipColor: rgb(204, 204, 220);
2019-01-07 20:05:27 +08:00
$popover-bg: #181b1f;
$popover-color: rgb(204, 204, 220);
$popover-border-color: rgba(204, 204, 220, 0.12);
$popover-header-bg: #22252b;
2023-05-17 20:23:54 +08:00
$popover-shadow: 0px 8px 24px rgb(1, 4, 9);
$popover-help-bg: $tooltipBackground;
$popover-help-color: $text-color;
$popover-error-bg: $red-base;
2016-02-15 22:27:41 +08:00
// images
$checkboxImageUrl: '../img/checkbox.png';
2017-07-31 20:39:33 +08:00
// info box
$info-box-border-color: $blue-base;
2017-07-31 20:39:33 +08:00
//Switch Slider
// -------------------------
2018-11-17 04:45:19 +08:00
$switch-bg: $input-bg;
2019-02-19 20:57:56 +08:00
$switch-slider-color: $dark-3;
$switch-slider-off-bg: $gray-1;
2020-04-15 03:17:44 +08:00
$switch-slider-on-bg: #5794f2;
$switch-slider-shadow: 0 0 3px black;
//Checkbox
// -------------------------
$checkbox-bg: $dark-1;
2018-11-23 14:31:13 +08:00
$checkbox-border: 1px solid $gray-1;
2019-02-19 20:57:56 +08:00
$checkbox-checked-bg: linear-gradient(0deg, #eb7b18, #d44a3a);
$checkbox-color: $dark-1;