_variables.dark.scss 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. // Global values
  2. // --------------------------------------------------
  3. // Grays
  4. // -------------------------
  5. $black: #000;
  6. $gray: #bbb;
  7. $gray-dark: #262626;
  8. $gray-darker: #1f1f1f;
  9. $gray-light: #ADAFAE;
  10. $gray-lighter: #BBBFC2;
  11. $white: #fff;
  12. // Accent colors
  13. // -------------------------
  14. $blue: #33B5E5;
  15. $blue-dark: #005f81;
  16. $green: #669900;
  17. $red: #CC3900;
  18. $yellow: #ECBB13;
  19. $orange: #FF8800;
  20. $pink: #FF4444;
  21. $purple: #9933CC;
  22. $variable: #32D1DF;
  23. $brand-primary: $blue-dark;
  24. $brand-success: $green;
  25. $brand-warning: $orange;
  26. $brand-danger: $red;
  27. // Status colors
  28. // -------------------------
  29. $online: #10a345;
  30. $warn: #ffc03c;
  31. $critical: #ed2e18;
  32. // Scaffolding
  33. // -------------------------
  34. $body-bg: rgb(20,20,20);
  35. $page-bg: $gray-darker;
  36. $body-color: $gray-lighter;
  37. $text-color: $gray-lighter;
  38. // Links
  39. // -------------------------
  40. $link-color: darken($white,11%);
  41. $link-color-disabled: darken($link-color,30%);
  42. $link-hover-color: $white;
  43. // Typography
  44. // -------------------------
  45. $headings-color: darken($white,11%);
  46. $abbr-border-color: $gray-light !default;
  47. $text-muted: darken($link-color,30%);
  48. $blockquote-small-color: $gray-light !default;
  49. $blockquote-border-color: $gray-lighter !default;
  50. $hr-border-color: rgba(0,0,0,.1) !default;
  51. // Components
  52. $component-active-color: #fff !default;
  53. $component-active-bg: $brand-primary !default;
  54. // Panel
  55. // -------------------------
  56. $panel-bg: $gray-darker;
  57. $panel-border: solid 1px $gray-dark;
  58. $divider-border-color: #555;
  59. // Graphite Target Editor
  60. $tight-form-border: #050505;
  61. $tight-form-bg: $gray-dark;
  62. $tight-form-func-bg: #333;
  63. $tight-form-func-highlight-bg: #444;
  64. $modal-background: $black;
  65. $code-tag-bg: #444;
  66. // Lists
  67. $grafanaListBackground: $gray-dark;
  68. $grafanaListAccent: lighten($gray-darker, 2%);
  69. $grafanaListBorderTop: $gray-dark;
  70. $grafanaListBorderBottom: $black;
  71. $grafanaListHighlight: #333;
  72. $grafanaListMainLinkColor: $text-color;
  73. // Scrollbars
  74. $scrollbarBackground: #3a3a3a;
  75. $scrollbarBackground2: #3a3a3a;
  76. $scrollbarBorder: black;
  77. // Tables
  78. // -------------------------
  79. $table-bg: transparent; // overall background-color
  80. $table-bg-accent: rgba(100, 100, 100, 0.3); // for striping
  81. $table-bg-hover: $gray-dark; // for hover
  82. $table-border: $gray-dark; // table and cell border
  83. // Buttons
  84. // -------------------------
  85. $btnBackground: $gray-dark;
  86. $btnBackgroundHighlight: darken($gray-light, 15%);
  87. $btnBorder: #bbb;
  88. $btnPrimaryBackground: $blue-dark;
  89. $btnPrimaryBackgroundHighlight: lighten($blue-dark, 5%);
  90. $btnInfoBackground: lighten($purple, 3%);
  91. $btnInfoBackgroundHighlight: darken($purple, 3%);
  92. $btnSuccessBackground: lighten($green, 3%);
  93. $btnSuccessBackgroundHighlight: darken($green, 3%);
  94. $btnWarningBackground: lighten($orange, 3%);
  95. $btnWarningBackgroundHighlight: darken($orange, 3%);
  96. $btnDangerBackground: lighten($red, 3%);
  97. $btnDangerBackgroundHighlight: darken($red, 3%);
  98. $btnInverseBackground: $gray-dark;
  99. $btnInverseBackgroundHighlight: lighten($gray-dark, 1%);
  100. $btnInverseText: $link-color;
  101. $btnInverseBorder: #333;
  102. $btnText: $gray;
  103. $iconContainerBackground: $black;
  104. $iconContainerBackgroundHighlight: lighten($black, 5%);
  105. $iconContainerBorder: 1px solid transparent;
  106. $iconContainerShadow: 0 0 14px 2px rgba(255,255,255, 0.05);
  107. // Forms
  108. // -------------------------
  109. $input-bg: lighten($gray-dark,5%);
  110. $input-bg-disabled: #555;
  111. $input-color: $gray-light;
  112. $input-border-color: lighten($gray-dark,5%);
  113. $input-btn-border-width: 1px;
  114. $input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default;
  115. $input-border-focus: $input-border-color !default;
  116. $input-box-shadow-focus: rgba(102,175,233,.6) !default;
  117. $input-color-placeholder: #999 !default;
  118. $input-label-bg: $gray-dark;
  119. // Search
  120. $searchShadow: 0 0 35px 0 $body-bg;
  121. // Dropdowns
  122. // -------------------------
  123. $dropdownBackground: $gray-dark;
  124. $dropdownBorder: rgba(0,0,0,.2);
  125. $dropdownDividerTop: transparent;
  126. $dropdownDividerBottom: #444;
  127. $dropdownDivider: $dropdownDividerBottom;
  128. $dropdownTitle: $link-color-disabled;
  129. $dropdownLinkColor: $text-color;
  130. $dropdownLinkColorHover: $white;
  131. $dropdownLinkColorActive: $white;
  132. $dropdownLinkBackgroundActive: $blue-dark;
  133. $dropdownLinkBackgroundHover: $blue-dark;
  134. // COMPONENT VARIABLES
  135. // --------------------------------------------------
  136. // -------------------------
  137. $placeholderText: darken($text-color, 25%);
  138. // Horizontal forms & lists
  139. // -------------------------
  140. $horizontalComponentOffset: 180px;
  141. // Wells
  142. // -------------------------
  143. $wellBackground: #131517;
  144. $navbarHeight: 52px;
  145. $navbarBackgroundHighlight: $gray-dark;
  146. $navbarBackground: $gray-dark;
  147. $navbarBorder: 1px solid $body-bg;
  148. $navbarText: $gray-light;
  149. $navbarLinkColor: $gray-light;
  150. $navbarLinkColorHover: $white;
  151. $navbarLinkColorActive: $navbarLinkColorHover;
  152. $navbarLinkBackgroundHover: transparent;
  153. $navbarLinkBackgroundActive: $navbarBackground;
  154. $navbarBrandColor: $link-color;
  155. $navbarDropdownShadow: inset 0px 4px 10px -4px $body-bg;
  156. $navbarButtonBackground: lighten($navbarBackground, 3%);
  157. $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
  158. // Sidemenu
  159. // -------------------------
  160. $sideMenuTopShadow: $navbarDropdownShadow;
  161. $sideMenuBackground: $gray-dark;
  162. $sideMenuBackgroundHighlight: lighten($gray-dark, 4%);
  163. $sideMenuShadow: 0 0 35px 0 $body-bg;
  164. // Pagination
  165. // -------------------------
  166. $paginationBackground: $body-bg;
  167. $paginationBorder: transparent;
  168. $paginationActiveBackground: $blue;
  169. // Form states and alerts
  170. // -------------------------
  171. $state-warning-text: darken(#c09853, 10%);
  172. $state-warning-bg: $orange;
  173. $errorText: #b94a48;
  174. $errorBackground: $btnDangerBackground;
  175. $successText: #468847;
  176. $successBackground: $btnSuccessBackground;
  177. $infoText: $blue-dark;
  178. $infoBackground: $btnInfoBackground;
  179. // Tooltips and popovers
  180. // -------------------------
  181. $tooltipColor: $white;
  182. $tooltipBackground: rgb(58, 57, 57);
  183. $tooltipArrowWidth: 5px;
  184. $tooltipArrowColor: $tooltipBackground;
  185. $tooltipLinkColor: $link-color;
  186. $popoverBackground: $dropdownBackground;
  187. $popoverArrowWidth: 10px;
  188. $popoverArrowColor: $popoverBackground;
  189. $popoverTitleBackground: $popoverBackground;
  190. // Special enhancement for popovers
  191. $popoverArrowOuterWidth: $popoverArrowWidth + 1;
  192. $popoverArrowOuterColor: rgba(0,0,0,.25);
  193. // images
  194. $checkboxImageUrl: '../img/checkbox.png';