_variables.dark.scss 7.1 KB

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