_variables.dark.scss 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. // Global values
  2. // --------------------------------------------------
  3. $theme-name: dark;
  4. // Grays
  5. // -------------------------
  6. $black: #000;
  7. // -------------------------
  8. $black: #000;
  9. $dark-1: #141414;
  10. $dark-2: #1f1f20;
  11. $dark-3: #262628;
  12. $dark-4: #333333;
  13. $dark-5: #444444;
  14. $gray-1: #555555;
  15. $gray-2: #8e8e8e;
  16. $gray-3: #b3b3b3;
  17. $gray-4: #d8d9da;
  18. $gray-5: #ececec;
  19. $gray-6: #f4f5f8;
  20. $gray-7: #fbfbfb;
  21. $gray-blue: #212327;
  22. $input-black: #09090b;
  23. $white: #fff;
  24. // Accent colors
  25. // -------------------------
  26. $blue: #33b5e5;
  27. $blue-dark: #005f81;
  28. $green: #299c46;
  29. $red: #d44a3a;
  30. $yellow: #ecbb13;
  31. $pink: #ff4444;
  32. $purple: #9933cc;
  33. $variable: #32d1df;
  34. $orange: #eb7b18;
  35. $brand-primary: $orange;
  36. $brand-success: $green;
  37. $brand-warning: $brand-primary;
  38. $brand-danger: $red;
  39. $query-red: $red;
  40. $query-green: $green;
  41. $query-purple: $purple;
  42. $query-orange: $orange;
  43. // Status colors
  44. // -------------------------
  45. $online: #10a345;
  46. $warn: #f79520;
  47. $critical: #ed2e18;
  48. // Scaffolding
  49. // -------------------------
  50. $body-bg: rgb(23, 24, 25);
  51. $page-bg: rgb(22, 23, 25);
  52. $body-color: $gray-4;
  53. $text-color: $gray-4;
  54. $text-color-strong: $white;
  55. $text-color-weak: $gray-2;
  56. $text-color-faint: $dark-5;
  57. $text-color-emphasis: $gray-5;
  58. $text-shadow-strong: 1px 1px 4px $black;
  59. $text-shadow-faint: 1px 1px 4px rgb(45, 45, 45);
  60. // gradients
  61. $brand-gradient: linear-gradient(
  62. to right,
  63. rgba(255, 213, 0, 0.7) 0%,
  64. rgba(255, 68, 0, 0.7) 99%,
  65. rgba(255, 68, 0, 0.7) 100%
  66. );
  67. $page-gradient: linear-gradient(180deg, #222426 10px, rgb(22, 23, 25) 100px);
  68. $edit-gradient: linear-gradient(180deg, rgb(22, 23, 25) 50%, #090909);
  69. // Links
  70. // -------------------------
  71. $link-color: darken($white, 11%);
  72. $link-color-disabled: darken($link-color, 30%);
  73. $link-hover-color: $white;
  74. $external-link-color: $blue;
  75. // Typography
  76. // -------------------------
  77. $headings-color: darken($white, 11%);
  78. $abbr-border-color: $gray-3 !default;
  79. $text-muted: $text-color-weak;
  80. $hr-border-color: rgba(0, 0, 0, 0.1) !default;
  81. // Panel
  82. // -------------------------
  83. $panel-bg: #212124;
  84. $panel-border-color: $dark-1;
  85. $panel-border: solid 1px $panel-border-color;
  86. $panel-header-hover-bg: $dark-4;
  87. // page header
  88. $page-header-bg: linear-gradient(90deg, #292a2d, black);
  89. $page-header-shadow: inset 0px -4px 14px $dark-2;
  90. $page-header-border-color: $dark-4;
  91. $divider-border-color: #555;
  92. // Graphite Target Editor
  93. $tight-form-bg: $dark-3;
  94. $tight-form-func-bg: #333334;
  95. $tight-form-func-highlight-bg: #444445;
  96. $modal-backdrop-bg: #353c42;
  97. $code-tag-bg: $dark-1;
  98. $code-tag-border: $dark-4;
  99. // cards
  100. $card-background: linear-gradient(135deg, #2f2f32, #262628);
  101. $card-background-hover: linear-gradient(135deg, #343436, #262628);
  102. $card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, 0.1), 1px 1px 0 0 rgba(0, 0, 0, 0.3);
  103. // Lists
  104. $list-item-bg: $card-background;
  105. $list-item-hover-bg: lighten($gray-blue, 2%);
  106. $list-item-link-color: $text-color;
  107. $list-item-shadow: $card-shadow;
  108. $empty-list-cta-bg: $gray-blue;
  109. // Scrollbars
  110. $scrollbarBackground: #404357;
  111. $scrollbarBackground2: #3a3a3a;
  112. $scrollbarBorder: black;
  113. // Tables
  114. // -------------------------
  115. $table-bg: transparent; // overall background-color
  116. $table-bg-accent: $dark-3; // for striping
  117. $table-bg-hover: $dark-4; // for hover
  118. $table-border: $dark-3; // table and cell border
  119. $table-bg-odd: $dark-2;
  120. $table-bg-hover: $dark-3;
  121. // Buttons
  122. // -------------------------
  123. $btn-primary-bg: #ff6600;
  124. $btn-primary-bg-hl: #bc3e06;
  125. $btn-secondary-bg-hl: lighten($blue-dark, 5%);
  126. $btn-secondary-bg: $blue-dark;
  127. $btn-success-bg: $green;
  128. $btn-success-bg-hl: darken($green, 6%);
  129. $btn-warning-bg: $brand-warning;
  130. $btn-warning-bg-hl: lighten($brand-warning, 8%);
  131. $btn-danger-bg: $red;
  132. $btn-danger-bg-hl: darken($red, 8%);
  133. $btn-inverse-bg: $dark-3;
  134. $btn-inverse-bg-hl: lighten($dark-3, 4%);
  135. $btn-inverse-text-color: $link-color;
  136. $btn-inverse-text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.1);
  137. $btn-active-bg: $gray-4;
  138. $btn-active-text-color: $blue-dark;
  139. $btn-link-color: $gray-3;
  140. $iconContainerBackground: $black;
  141. $btn-divider-left: $dark-4;
  142. $btn-divider-right: $dark-2;
  143. $btn-drag-image: '../img/grab_dark.svg';
  144. // Forms
  145. // -------------------------
  146. $input-bg: $input-black;
  147. $input-bg-disabled: $dark-3;
  148. $input-color: $gray-4;
  149. $input-border-color: $dark-3;
  150. $input-box-shadow: inset 1px 0px 0.3rem 0px rgba(150, 150, 150, 0.1);
  151. $input-border-focus: $input-border-color;
  152. $input-box-shadow-focus: rgba(102, 175, 233, 0.6);
  153. $input-color-placeholder: $gray-1 !default;
  154. $input-label-bg: $gray-blue;
  155. $input-label-border-color: $dark-3;
  156. $input-color-select-arrow: $white;
  157. // Search
  158. $search-shadow: 0 0 30px 0 $black;
  159. $search-filter-box-bg: $gray-blue;
  160. // Typeahead
  161. $typeahead-shadow: 0 5px 10px 0 $black;
  162. $typeahead-selected-bg: $dark-4;
  163. $typeahead-selected-color: $blue;
  164. // Dropdowns
  165. // -------------------------
  166. $dropdownBackground: $dark-3;
  167. $dropdownBorder: rgba(0, 0, 0, 0.2);
  168. $dropdownDividerTop: transparent;
  169. $dropdownDividerBottom: #444;
  170. $dropdownDivider: $dropdownDividerBottom;
  171. $dropdownLinkColor: $text-color;
  172. $dropdownLinkColorHover: $white;
  173. $dropdownLinkColorActive: $white;
  174. $dropdownLinkBackgroundActive: $dark-4;
  175. $dropdownLinkBackgroundHover: $dark-4;
  176. // COMPONENT VARIABLES
  177. // --------------------------------------------------
  178. // -------------------------
  179. $placeholderText: darken($text-color, 25%);
  180. // Horizontal forms & lists
  181. // -------------------------
  182. $horizontalComponentOffset: 180px;
  183. // Wells
  184. // -------------------------
  185. $navbarHeight: 55px;
  186. $navbarBackground: $panel-bg;
  187. $navbarBorder: 1px solid $dark-3;
  188. $navbarShadow: 0 0 20px black;
  189. $navbarLinkColor: $gray-4;
  190. $navbarButtonBackground: $navbarBackground;
  191. $navbarButtonBackgroundHighlight: $body-bg;
  192. $navbar-button-border: #2f2f32;
  193. // Sidemenu
  194. // -------------------------
  195. $side-menu-bg: $black;
  196. $side-menu-bg-mobile: $side-menu-bg;
  197. $side-menu-item-hover-bg: $dark-2;
  198. $side-menu-shadow: 0 0 20px black;
  199. $side-menu-link-color: $link-color;
  200. // Menu dropdowns
  201. // -------------------------
  202. $menu-dropdown-bg: $body-bg;
  203. $menu-dropdown-hover-bg: $dark-2;
  204. $menu-dropdown-shadow: 5px 5px 20px -5px $black;
  205. // Breadcrumb
  206. // -------------------------
  207. // Tabs
  208. // -------------------------
  209. $tab-border-color: $dark-4;
  210. // Toolbar
  211. $toolbar-bg: $black;
  212. // Pagination
  213. // -------------------------
  214. // Form states and alerts
  215. // -------------------------
  216. $warning-text-color: $warn;
  217. $error-text-color: #e84d4d;
  218. $success-text-color: #12d95a;
  219. $info-text-color: $blue-dark;
  220. $alert-error-bg: linear-gradient(90deg, #d44939, #e0603d);
  221. $alert-success-bg: linear-gradient(90deg, #3aa655, #47b274);
  222. $alert-warning-bg: linear-gradient(90deg, #d44939, #e0603d);
  223. $alert-info-bg: linear-gradient(100deg, #1a4552, #00374a);
  224. // popover
  225. $popover-bg: $page-bg;
  226. $popover-color: $text-color;
  227. $popover-border-color: $dark-4;
  228. $popover-shadow: 0 0 20px black;
  229. $popover-help-bg: $btn-secondary-bg;
  230. $popover-help-color: $text-color;
  231. $popover-error-bg: $btn-danger-bg;
  232. // Tooltips and popovers
  233. // -------------------------
  234. $tooltipColor: $popover-help-color;
  235. $tooltipBackground: $popover-help-bg;
  236. $tooltipArrowWidth: 5px;
  237. $tooltipArrowColor: $tooltipBackground;
  238. $tooltipLinkColor: $link-color;
  239. $graph-tooltip-bg: $dark-1;
  240. // images
  241. $checkboxImageUrl: '../img/checkbox.png';
  242. // info box
  243. $info-box-border-color: darken($blue, 12%);
  244. // footer
  245. $footer-link-color: $gray-2;
  246. $footer-link-hover: $gray-4;
  247. // json-explorer
  248. $json-explorer-default-color: $text-color;
  249. $json-explorer-string-color: #23d662;
  250. $json-explorer-number-color: $variable;
  251. $json-explorer-boolean-color: $variable;
  252. $json-explorer-null-color: #eec97d;
  253. $json-explorer-undefined-color: rgb(239, 143, 190);
  254. $json-explorer-function-color: #fd48cb;
  255. $json-explorer-rotate-time: 100ms;
  256. $json-explorer-toggler-opacity: 0.6;
  257. $json-explorer-bracket-color: #9494ff;
  258. $json-explorer-key-color: #23a0db;
  259. $json-explorer-url-color: #027bff;
  260. // Changelog and diff
  261. // -------------------------
  262. $diff-label-bg: $dark-2;
  263. $diff-label-fg: $white;
  264. $diff-group-bg: $dark-4;
  265. $diff-arrow-color: $white;
  266. $diff-json-bg: $dark-4;
  267. $diff-json-fg: $gray-5;
  268. $diff-json-added: #457740;
  269. $diff-json-deleted: #a04338;
  270. $diff-json-old: #a04338;
  271. $diff-json-new: #457740;
  272. $diff-json-changed-fg: $gray-5;
  273. $diff-json-changed-num: $text-color;
  274. $diff-json-icon: $gray-7;
  275. //Submenu
  276. $variable-option-bg: $blue-dark;
  277. //Switch Slider
  278. // -------------------------
  279. $switch-bg: $input-bg;
  280. $switch-slider-color: $dark-2;
  281. $switch-slider-off-bg: $gray-1;
  282. $switch-slider-on-bg: linear-gradient(90deg, $orange, $red);
  283. $switch-slider-shadow: 0 0 3px black;
  284. //Checkbox
  285. // -------------------------
  286. $checkbox-bg: $dark-1;
  287. $checkbox-border: 1px solid $gray-1;
  288. $checkbox-checked-bg: linear-gradient(0deg, $orange, $red);
  289. $checkbox-color: $dark-1;
  290. //Panel Edit
  291. // -------------------------
  292. $panel-editor-shadow: 0 0 20px black;
  293. $panel-editor-side-menu-shadow: drop-shadow(0 0 10px $black);
  294. $panel-editor-toolbar-view-bg: $black;
  295. $panel-editor-viz-item-shadow: 0 0 8px $dark-5;
  296. $panel-editor-viz-item-border: 1px solid $dark-5;
  297. $panel-editor-viz-item-shadow-hover: 0 0 4px $blue;
  298. $panel-editor-viz-item-border-hover: 1px solid $blue;
  299. $panel-editor-viz-item-bg: $black;
  300. $panel-editor-tabs-line-color: #e3e3e3;
  301. $panel-editor-viz-item-bg-hover: darken($blue, 47%);
  302. $panel-editor-viz-item-bg-hover-active: darken($orange, 45%);
  303. $panel-grid-placeholder-bg: darken($blue, 47%);
  304. $panel-grid-placeholder-shadow: 0 0 4px $blue;