grafana/public/sass/_variables.dark.scss

250 lines
7.4 KiB
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
// Global values
// --------------------------------------------------
// Grays
// -------------------------
$black: #000;
2016-02-15 08:27:41 -06:00
$gray: #bbb;
2016-02-16 01:30:37 -06:00
$gray-dark: #262626;
$gray-darker: #1f1f1f;
$gray-light: #ADAFAE;
$gray-lighter: #BBBFC2;
2016-02-15 08:27:41 -06:00
$white: #fff;
// Accent colors
// -------------------------
$blue: #33B5E5;
2016-02-16 01:30:37 -06:00
$blue-dark: #005f81;
2016-02-15 08:27:41 -06:00
$green: #669900;
$red: #CC3900;
$yellow: #ECBB13;
$orange: #FF8800;
$pink: #FF4444;
$purple: #9933CC;
$variable: #32D1DF;
$brand-primary: $blue-dark;
$brand-success: $green;
$brand-warning: $orange;
$brand-danger: $red;
2016-02-15 08:27:41 -06:00
// Status colors
// -------------------------
$online: #10a345;
$warn: #ffc03c;
$critical: #ed2e18;
2016-02-16 02:42:46 -06:00
// Scaffolding
2016-02-15 08:27:41 -06:00
// -------------------------
2016-02-16 02:42:46 -06:00
$body-bg: rgb(20,20,20);
$page-bg: $gray-darker;
2016-02-18 02:44:40 -06:00
$body-color: $gray-lighter;
$text-color: $gray-lighter;
2016-02-16 01:30:37 -06:00
2016-02-16 02:42:46 -06:00
// Links
// -------------------------
2016-02-16 03:42:06 -06:00
$link-color: darken($white,11%);
2016-02-16 02:42:46 -06:00
$link-color-disabled: darken($link-color,30%);
2016-02-16 03:42:06 -06:00
$link-hover-color: $white;
2016-02-15 08:27:41 -06:00
2016-02-16 02:42:46 -06:00
// Typography
// -------------------------
2016-02-18 02:44:40 -06:00
$headings-color: darken($white,11%);
$abbr-border-color: $gray-light !default;
$text-muted: darken($link-color,30%);
2016-02-15 08:27:41 -06:00
2016-02-16 03:42:06 -06:00
$blockquote-small-color: $gray-light !default;
$blockquote-border-color: $gray-lighter !default;
2016-02-15 08:27:41 -06:00
2016-02-16 03:42:06 -06:00
$hr-border-color: rgba(0,0,0,.1) !default;
2016-02-16 02:42:46 -06:00
// Components
$component-active-color: #fff !default;
$component-active-bg: $brand-primary !default;
2016-02-16 02:42:46 -06:00
// Panel
// -------------------------
2016-02-18 02:44:40 -06:00
$panel-bg: $gray-darker;
$panel-border: solid 1px $gray-dark;
2016-02-16 02:42:46 -06:00
$divider-border-color: #555;
2016-02-16 02:42:46 -06:00
// Graphite Target Editor
2016-02-18 02:44:40 -06:00
$tight-form-border: #050505;
2016-02-16 02:42:46 -06:00
$tight-form-bg: $gray-dark;
2016-02-16 02:42:46 -06:00
$tight-form-func-bg: #333;
$tight-form-func-highlight-bg: #444;
$modal-background: $black;
$code-tag-bg: #444;
2016-02-15 08:27:41 -06:00
// Lists
2016-02-18 02:44:40 -06:00
$grafanaListBackground: $gray-dark;
$grafanaListAccent: lighten($gray-darker, 2%);
2016-02-16 01:17:08 -06:00
$grafanaListBorderTop: $gray-dark;
2016-02-15 08:27:41 -06:00
$grafanaListBorderBottom: $black;
$grafanaListHighlight: #333;
$grafanaListMainLinkColor: $text-color;
2016-02-15 08:27:41 -06:00
// Scrollbars
$scrollbarBackground: #3a3a3a;
$scrollbarBackground2: #3a3a3a;
$scrollbarBorder: black;
// Tables
// -------------------------
2016-02-16 03:42:06 -06:00
$table-bg: transparent; // overall background-color
$table-bg-accent: rgba(100, 100, 100, 0.3); // for striping
$table-bg-hover: $gray-dark; // for hover
$table-border: $gray-dark; // table and cell border
2016-02-15 08:27:41 -06:00
// Buttons
// -------------------------
2016-02-16 01:17:08 -06:00
$btnBackground: $gray-dark;
$btnBackgroundHighlight: darken($gray-light, 15%);
2016-02-15 08:27:41 -06:00
$btnBorder: #bbb;
2016-02-16 01:17:08 -06:00
$btnPrimaryBackground: $blue-dark;
$btnPrimaryBackgroundHighlight: lighten($blue-dark, 5%);
2016-02-15 08:27:41 -06:00
$btnInfoBackground: lighten($purple, 3%);
$btnInfoBackgroundHighlight: darken($purple, 3%);
$btnSuccessBackground: lighten($green, 3%);
$btnSuccessBackgroundHighlight: darken($green, 3%);
$btnWarningBackground: lighten($orange, 3%);
$btnWarningBackgroundHighlight: darken($orange, 3%);
$btnDangerBackground: lighten($red, 3%);
$btnDangerBackgroundHighlight: darken($red, 3%);
2016-02-16 01:17:08 -06:00
$btnInverseBackground: $gray-dark;
$btnInverseBackgroundHighlight: lighten($gray-dark, 1%);
2016-02-16 02:42:46 -06:00
$btnInverseText: $link-color;
2016-02-15 08:27:41 -06:00
$btnInverseBorder: #333;
$btnText: $gray;
$iconContainerBackground: $black;
$iconContainerBackgroundHighlight: lighten($black, 5%);
$iconContainerBorder: 1px solid transparent;
$iconContainerShadow: 0 0 14px 2px rgba(255,255,255, 0.05);
// Forms
// -------------------------
$input-bg: lighten($gray-dark,5%);
$input-bg-disabled: #555;
$input-color: $gray-light;
$input-border-color: lighten($gray-dark,5%);
$input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default;
$input-border-focus: $input-border-color !default;
$input-box-shadow-focus: rgba(102,175,233,.6) !default;
$input-color-placeholder: #999 !default;
$input-label-bg: $gray-dark;
2016-02-15 08:27:41 -06:00
// Search
2016-02-16 02:42:46 -06:00
$searchShadow: 0 0 35px 0 $body-bg;
2016-02-15 08:27:41 -06:00
// Dropdowns
// -------------------------
$dropdownBackground: $gray-dark;
2016-02-15 08:27:41 -06:00
$dropdownBorder: rgba(0,0,0,.2);
$dropdownDividerTop: transparent;
$dropdownDividerBottom: #444;
$dropdownDivider: $dropdownDividerBottom;
2016-02-16 02:42:46 -06:00
$dropdownTitle: $link-color-disabled;
2016-02-15 08:27:41 -06:00
2016-02-16 02:42:46 -06:00
$dropdownLinkColor: $text-color;
2016-02-15 08:27:41 -06:00
$dropdownLinkColorHover: $white;
$dropdownLinkColorActive: $white;
2016-02-16 01:17:08 -06:00
$dropdownLinkBackgroundActive: $blue-dark;
$dropdownLinkBackgroundHover: $blue-dark;
2016-02-15 08:27:41 -06:00
// COMPONENT VARIABLES
// --------------------------------------------------
// -------------------------
2016-02-16 02:42:46 -06:00
$placeholderText: darken($text-color, 25%);
2016-02-15 08:27:41 -06:00
// Horizontal forms & lists
// -------------------------
$horizontalComponentOffset: 180px;
// Wells
// -------------------------
$wellBackground: #131517;
$navbarHeight: 52px;
2016-02-16 01:17:08 -06:00
$navbarBackgroundHighlight: $gray-dark;
$navbarBackground: $gray-dark;
2016-02-16 02:42:46 -06:00
$navbarBorder: 1px solid $body-bg;
2016-02-15 08:27:41 -06:00
2016-02-16 01:17:08 -06:00
$navbarText: $gray-light;
$navbarLinkColor: $gray-light;
2016-02-15 08:27:41 -06:00
$navbarLinkColorHover: $white;
$navbarLinkColorActive: $navbarLinkColorHover;
$navbarLinkBackgroundHover: transparent;
$navbarLinkBackgroundActive: $navbarBackground;
2016-02-16 02:42:46 -06:00
$navbarBrandColor: $link-color;
$navbarDropdownShadow: inset 0px 4px 10px -4px $body-bg;
2016-02-15 08:27:41 -06:00
$navbarButtonBackground: lighten($navbarBackground, 3%);
$navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
2016-02-15 09:02:58 -06:00
// Sidemenu
// -------------------------
$sideMenuTopShadow: $navbarDropdownShadow;
2016-02-16 01:17:08 -06:00
$sideMenuBackground: $gray-dark;
$sideMenuBackgroundHighlight: lighten($gray-dark, 4%);
2016-02-16 02:42:46 -06:00
$sideMenuShadow: 0 0 35px 0 $body-bg;
2016-02-15 09:02:58 -06:00
2016-02-15 08:27:41 -06:00
// Pagination
// -------------------------
2016-02-16 02:42:46 -06:00
$paginationBackground: $body-bg;
2016-02-15 08:27:41 -06:00
$paginationBorder: transparent;
$paginationActiveBackground: $blue;
// Form states and alerts
// -------------------------
2016-02-16 03:42:06 -06:00
$state-warning-text: darken(#c09853, 10%);
$state-warning-bg: $orange;
2016-02-15 08:27:41 -06:00
$errorText: #b94a48;
$errorBackground: $btnDangerBackground;
$successText: #468847;
$successBackground: $btnSuccessBackground;
2016-02-16 01:17:08 -06:00
$infoText: $blue-dark;
2016-02-15 08:27:41 -06:00
$infoBackground: $btnInfoBackground;
// Tooltips and popovers
// -------------------------
$tooltipColor: $white;
$tooltipBackground: rgb(58, 57, 57);
$tooltipArrowWidth: 5px;
$tooltipArrowColor: $tooltipBackground;
2016-02-16 02:42:46 -06:00
$tooltipLinkColor: $link-color;
2016-02-15 08:27:41 -06:00
$popoverBackground: $dropdownBackground;
2016-02-15 08:27:41 -06:00
$popoverArrowWidth: 10px;
$popoverArrowColor: $popoverBackground;
$popoverTitleBackground: $popoverBackground;
// Special enhancement for popovers
$popoverArrowOuterWidth: $popoverArrowWidth + 1;
$popoverArrowOuterColor: rgba(0,0,0,.25);
// images
$checkboxImageUrl: '../img/checkbox.png';