_variables.dark.scss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. // Global values
  2. // --------------------------------------------------
  3. // Grays
  4. // -------------------------
  5. $black: #000;
  6. // -------------------------
  7. $black: #000;
  8. $dark-1: #141414;
  9. $dark-2: #1f1d1d;
  10. $dark-3: #292929;
  11. $dark-4: #333333;
  12. $dark-5: #444444;
  13. $gray-1: #555555;
  14. $gray-2: #7B7B7B;
  15. $gray-3: #b3b3b3;
  16. $gray-4: #D8D9DA;
  17. $gray-5: #ECECEC;
  18. $gray-6: #f4f5f8;
  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. $body-color: $gray-4;
  46. $text-color: $gray-4;
  47. // Links
  48. // -------------------------
  49. $link-color: darken($white,11%);
  50. $link-color-disabled: darken($link-color,30%);
  51. $link-hover-color: $white;
  52. // Typography
  53. // -------------------------
  54. $headings-color: darken($white,11%);
  55. $abbr-border-color: $gray-3 !default;
  56. $text-muted: darken($link-color,30%);
  57. $blockquote-small-color: $gray-3 !default;
  58. $blockquote-border-color: $gray-4 !default;
  59. $hr-border-color: rgba(0,0,0,.1) !default;
  60. // Components
  61. $component-active-color: #fff !default;
  62. $component-active-bg: $brand-primary !default;
  63. // Panel
  64. // -------------------------
  65. $panel-bg: $dark-2;
  66. $panel-border: solid 1px $dark-3;
  67. $divider-border-color: #555;
  68. // Graphite Target Editor
  69. $tight-form-border: #050505;
  70. $tight-form-bg: $dark-3;
  71. $tight-form-func-bg: #333;
  72. $tight-form-func-highlight-bg: #444;
  73. $modal-background: $black;
  74. $code-tag-bg: #444;
  75. // Lists
  76. $grafanaListBackground: $dark-3;
  77. $grafanaListAccent: lighten($dark-2, 2%);
  78. $grafanaListBorderTop: $dark-3;
  79. $grafanaListBorderBottom: $black;
  80. $grafanaListHighlight: #333;
  81. $grafanaListMainLinkColor: $text-color;
  82. // Scrollbars
  83. $scrollbarBackground: #3a3a3a;
  84. $scrollbarBackground2: #3a3a3a;
  85. $scrollbarBorder: black;
  86. // Tables
  87. // -------------------------
  88. $table-bg: transparent; // overall background-color
  89. $table-bg-accent: rgba(100, 100, 100, 0.3); // for striping
  90. $table-bg-hover: $dark-3; // for hover
  91. $table-border: $dark-3; // table and cell border
  92. // Buttons
  93. // -------------------------
  94. $btn-primary-bg: $brand-primary;
  95. $btn-primary-bg-hl: lighten($brand-primary, 8%);
  96. $btn-secondary-bg: $blue-dark;
  97. $btn-secondary-bg-hl: lighten($blue-dark, 3%);
  98. $btn-success-bg-hl: darken($green, 3%);
  99. $btn-success-bg: lighten($green, 3%);
  100. $btn-warning-bg: $brand-warning;
  101. $btn-warning-bg-hl: lighten($brand-warning, 8%);
  102. $btn-danger-bg: lighten($red, 3%);
  103. $btn-danger-bg-hl: darken($red, 3%);
  104. $btn-inverse-bg: $dark-3;
  105. $btn-inverse-bg-hl: lighten($dark-3, 1%);
  106. $btn-inverse-text-color: $link-color;
  107. $btn-link-color: $gray-3;
  108. $iconContainerBackground: $black;
  109. // Forms
  110. // -------------------------
  111. $input-bg: $dark-4;
  112. $input-bg-disabled: $dark-3;
  113. $input-color: $gray-4;
  114. $input-border-color: $dark-4;
  115. $input-box-shadow: inset 1px 0px 0.5rem 0px rgba(200, 200, 200, 0.10);
  116. $input-border-focus: $input-border-color !default;
  117. $input-box-shadow-focus: rgba(102,175,233,.6) !default;
  118. $input-color-placeholder: $gray-1 !default;
  119. $input-label-bg: $dark-3;
  120. // Search
  121. $search-shadow: 0 0 35px 0 $body-bg;
  122. // Dropdowns
  123. // -------------------------
  124. $dropdownBackground: $dark-3;
  125. $dropdownBorder: rgba(0,0,0,.2);
  126. $dropdownDividerTop: transparent;
  127. $dropdownDividerBottom: #444;
  128. $dropdownDivider: $dropdownDividerBottom;
  129. $dropdownTitle: $link-color-disabled;
  130. $dropdownLinkColor: $text-color;
  131. $dropdownLinkColorHover: $white;
  132. $dropdownLinkColorActive: $white;
  133. $dropdownLinkBackgroundActive: $dark-4;
  134. $dropdownLinkBackgroundHover: $dark-4;
  135. // COMPONENT VARIABLES
  136. // --------------------------------------------------
  137. // -------------------------
  138. $placeholderText: darken($text-color, 25%);
  139. // Horizontal forms & lists
  140. // -------------------------
  141. $horizontalComponentOffset: 180px;
  142. // Wells
  143. // -------------------------
  144. $wellBackground: #131517;
  145. $navbarHeight: 52px;
  146. $navbarBackgroundHighlight: $dark-3;
  147. $navbarBackground: $dark-3;
  148. $navbarBorder: 1px solid $body-bg;
  149. $navbarText: $gray-4;
  150. $navbarLinkColor: $gray-4;
  151. $navbarLinkColorHover: $white;
  152. $navbarLinkColorActive: $navbarLinkColorHover;
  153. $navbarLinkBackgroundHover: transparent;
  154. $navbarLinkBackgroundActive: $navbarBackground;
  155. $navbarBrandColor: $link-color;
  156. $navbarDropdownShadow: inset 0px 4px 10px -4px $body-bg;
  157. $navbarButtonBackground: lighten($navbarBackground, 3%);
  158. $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
  159. // Sidemenu
  160. // -------------------------
  161. $side-menu-bg: $body-bg;
  162. $side-menu-item-hover-bg: $dark-3;
  163. $side-menu-opacity: 0.97;
  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: $brand-warning;
  173. $errorText: #b94a48;
  174. $errorBackground: $btn-danger-bg;
  175. $successText: #468847;
  176. $successBackground: $btn-success-bg;
  177. $infoText: $blue-dark;
  178. $infoBackground: $blue-dark;
  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. // popover
  187. $popover-bg: $dark-4;
  188. $popover-color: $text-color;
  189. $popover-help-bg: $btn-secondary-bg;
  190. $popover-help-color: $text-color;
  191. // images
  192. $checkboxImageUrl: '../img/checkbox.png';