grafana/public/sass/_variables.light.generated....

179 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/light.ts to regenerate
* - Edit grafana-ui/src/themes/_variable.light.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: light;
2016-02-15 22:27:41 +08:00
2019-02-19 20:57:56 +08:00
// New Colors
// -------------------------
$blue-base: #3871dc;
$red-base: #e0226e;
$green-base: #1b855e;
2016-02-15 22:27:41 +08:00
// Grays
// -------------------------
$black: #000000;
$dark-2: #161719;
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
$dark-10: #424345;
$gray-1: #555555;
$gray-2: #8e8e8e;
$gray-4: #d8d9da;
$gray-5: #ececec;
$gray-6: #f4f5f8;
$gray-7: #fbfbfb;
2019-02-19 20:57:56 +08:00
$white: #ffffff;
2016-02-15 22:27:41 +08:00
$layer2: #f4f5f5;
2016-02-15 22:27:41 +08:00
// Accent colors
// -------------------------
$blue: #1f62e0;
$red: $red-base;
$yellow: #ecbb13;
$purple: #9933cc;
2016-02-15 22:27:41 +08:00
2016-02-15 23:02:58 +08:00
// Scaffolding
// -------------------------
$body-bg: #f4f5f5;
$text-color: rgba(36, 41, 46, 1);
$text-color-weak: rgba(36, 41, 46, 0.75);
2021-12-16 00:50:29 +08:00
$text-color-emphasis: #000000;
2016-02-24 17:32:22 +08:00
2016-02-15 22:27:41 +08:00
// Links
// -------------------------
$link-color: rgba(36, 41, 46, 1);
$link-color-disabled: rgba(36, 41, 46, 0.64);
2021-12-16 00:50:29 +08:00
$link-hover-color: #000000;
2016-02-15 22:27:41 +08:00
// Typography
// -------------------------
2017-12-19 23:22:41 +08:00
$text-muted: $text-color-weak;
2016-02-16 17:42:06 +08:00
2016-02-16 16:42:46 +08:00
// Panel
// -------------------------
$panel-bg: #ffffff;
2016-02-16 16:42:46 +08:00
2017-12-03 15:11:07 +08:00
// Page header
$page-header-bg: #f4f5f5;
$page-header-shadow: inset 0px -3px 10px $gray-6;
$page-header-border-color: #f4f5f5;
2017-12-03 15:11:07 +08:00
2016-02-16 16:42:46 +08:00
// Graphite Target Editor
$tight-form-func-bg: #f4f5f5;
2016-02-15 22:27:41 +08:00
2017-12-19 23:22:41 +08:00
$code-tag-bg: $gray-6;
2019-02-19 20:57:56 +08:00
$code-tag-border: $gray-4;
2016-02-15 22:27:41 +08:00
// cards
$card-background: #f4f5f5;
$card-background-hover: #f4f5f5;
$card-shadow: none;
2016-02-15 22:27:41 +08:00
// Lists
$list-item-bg: $gray-7;
$empty-list-cta-bg: $gray-6;
2016-02-15 22:27:41 +08:00
// Scrollbars
2019-02-19 20:57:56 +08:00
$scrollbarBackground: $gray-4;
$scrollbarBackground2: $gray-4;
2016-02-15 22:27:41 +08:00
// Tables
// -------------------------
$table-bg-accent: #f4f5f5;
2016-02-15 22:27:41 +08:00
// Buttons
// -------------------------
2019-02-19 20:57:56 +08:00
$btn-inverse-bg-hl: $gray-4;
2017-12-19 23:22:41 +08:00
$btn-divider-left: $gray-4;
$btn-divider-right: $gray-7;
$btn-drag-image: '../img/grab_light.svg';
2016-02-15 22:27:41 +08:00
// Forms
// -------------------------
$input-bg: #ffffff;
2017-12-19 23:22:41 +08:00
$input-color: rgba(36, 41, 46, 1);
$input-border-color: rgba(36, 41, 46, 0.3);
2018-05-25 18:51:27 +08:00
2016-02-15 22:27:41 +08:00
// Dropdowns
// -------------------------
$dropdownBackground: #ffffff;
$dropdownBorder: rgba(36, 41, 46, 0.12);
$dropdownDividerTop: rgba(36, 41, 46, 0.12);
$dropdownDividerBottom: rgba(36, 41, 46, 0.12);
2016-02-15 22:27:41 +08:00
$dropdownLinkColor: $dark-2;
2017-12-19 23:22:41 +08:00
$dropdownLinkColorHover: $link-color;
$dropdownLinkColorActive: $link-color;
2016-02-15 22:27:41 +08:00
2017-12-19 23:22:41 +08:00
$dropdownLinkBackgroundHover: $gray-6;
2016-02-15 22:27:41 +08:00
// Menu dropdowns
// -------------------------
$menu-dropdown-bg: #ffffff;
$menu-dropdown-hover-bg: rgba(36, 41, 46, 0.12);
$menu-dropdown-shadow: 0px 13px 20px 1px rgba(24, 26, 27, 0.18);
2016-02-15 22:27:41 +08:00
// Form states and alerts
// -------------------------
$alert-error-bg: #e0226e;
$alert-success-bg: #1b855e;
$alert-warning-bg: #ff9900;
$alert-info-bg: #ff9900;
2016-02-15 22:27:41 +08:00
// Tooltips and popovers
$tooltipBackground: #f4f5f5;
$tooltipColor: rgba(36, 41, 46, 1);
$popover-bg: #ffffff;
$popover-color: rgba(36, 41, 46, 1);
$popover-border-color: rgba(36, 41, 46, 0.12);
$popover-header-bg: #f4f5f5;
$popover-shadow: 0px 13px 20px 1px rgba(24, 26, 27, 0.18);
$graph-tooltip-bg: $gray-5;
$tooltipLinkColor: color.adjust($tooltipColor, $lightness: 5%);
$tooltipExternalLinkColor: #6e9fff;
$popover-error-bg: $red-base;
$popover-help-bg: $tooltipBackground;
$popover-help-color: $tooltipColor;
2019-01-07 20:05:27 +08:00
2016-02-15 22:27:41 +08:00
// images
$checkboxImageUrl: '../img/checkbox_white.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
// -------------------------
$switch-bg: $white;
$switch-slider-color: $gray-7;
$switch-slider-off-bg: $gray-5;
$switch-slider-on-bg: #1f60c4;
$switch-slider-shadow: 0 0 3px $dark-2;
//Checkbox
// -------------------------
$checkbox-bg: $gray-6;
$checkbox-border: 1px solid #b3b3b3;
2019-02-19 20:57:56 +08:00
$checkbox-checked-bg: linear-gradient(0deg, #ff9830, #e55400);
$checkbox-color: $gray-7;