_variables.light.scss 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. // Global values
  2. // --------------------------------------------------
  3. $theme-name: light;
  4. // New Colors
  5. // -------------------------
  6. $sapphire-faint: #F5F9FF;
  7. $sapphire-light: #A8CAFF;
  8. $sapphire-base: #3274D9;
  9. $sapphire-shade: #1F60C4;
  10. $lobster-base: #E02F44;
  11. $lobster-shade: #C4162A;
  12. $green-base: #37872D;
  13. $green-shade: #19730E;
  14. $purple-shade: #8F3BB8;
  15. $yellow-base: #F2CC0C;
  16. // Grays
  17. // -------------------------
  18. $black: #000;
  19. $dark-2: #1e2028;
  20. $dark-3: #303133;
  21. $dark-4: #35373f;
  22. $dark-5: #41444b;
  23. $gray-1: #52545c;
  24. $gray-2: #767980;
  25. $gray-3: #acb6bf;
  26. $gray-4: #c7d0d9;
  27. $gray-5: #dde4ed;
  28. $gray-6: #e9edf2;
  29. $gray-7: #f7f8fa;
  30. $white: #fff;
  31. // Accent colors
  32. // -------------------------
  33. $blue: #0083b3;
  34. $blue-light: #00a8e6;
  35. $green: #3aa655;
  36. $red: $lobster-base;
  37. $yellow: #ff851b;
  38. $orange: #ff7941;
  39. $purple: #9954bb;
  40. $variable: $purple-shade;
  41. $brand-primary: $orange;
  42. $brand-success: $green;
  43. $brand-warning: $orange;
  44. $brand-danger: $lobster-base;
  45. $query-red: $lobster-base;
  46. $query-green: $green;
  47. $query-purple: $purple;
  48. $query-orange: $orange;
  49. $query-keyword: $sapphire-base;
  50. // Status colors
  51. // -------------------------
  52. $online: $green-shade;
  53. $warn: #f79520;
  54. $critical: $lobster-shade;
  55. // Scaffolding
  56. // -------------------------
  57. $body-bg: $gray-7;
  58. $page-bg: $gray-7;
  59. $body-color: $gray-1;
  60. $text-color: $gray-1;
  61. $text-color-strong: $dark-2;
  62. $text-color-weak: $gray-3;
  63. $text-color-faint: $gray-4;
  64. $text-color-emphasis: $dark-5;
  65. $text-shadow-faint: none;
  66. // gradients
  67. $brand-gradient: linear-gradient(
  68. to right,
  69. rgba(255, 213, 0, 1) 0%,
  70. rgba(255, 68, 0, 1) 99%,
  71. rgba(255, 68, 0, 1) 100%
  72. );
  73. $page-gradient: linear-gradient(180deg, $white 10px, $gray-7 100px);
  74. $edit-gradient: linear-gradient(-60deg, $gray-7, #f5f6f9 70%, $gray-7 98%);
  75. // Links
  76. // -------------------------
  77. $link-color: $gray-1;
  78. $link-color-disabled: lighten($link-color, 30%);
  79. $link-hover-color: darken($link-color, 20%);
  80. $external-link-color: $sapphire-shade;
  81. // Typography
  82. // -------------------------
  83. $headings-color: $text-color;
  84. $abbr-border-color: $gray-2 !default;
  85. $text-muted: $text-color-weak;
  86. $hr-border-color: $dark-3 !default;
  87. // Panel
  88. // -------------------------
  89. $panel-bg: $white;
  90. $panel-border: solid 1px $gray-5;
  91. $panel-header-hover-bg: $gray-6;
  92. $panel-corner: $gray-4;
  93. // Page header
  94. $page-header-bg: linear-gradient(90deg, $white, $gray-7);
  95. $page-header-shadow: inset 0px -3px 10px $gray-6;
  96. $page-header-border-color: $gray-4;
  97. $divider-border-color: $gray-2;
  98. // Graphite Target Editor
  99. $tight-form-bg: #eaebee;
  100. $tight-form-func-bg: $gray-5;
  101. $tight-form-func-highlight-bg: $gray-6;
  102. $modal-backdrop-bg: $body-bg;
  103. $code-tag-bg: $gray-6;
  104. $code-tag-border: darken($code-tag-bg, 3%);
  105. // cards
  106. $card-background: linear-gradient(135deg, $gray-6, $gray-5);
  107. $card-background-hover: linear-gradient(135deg, $gray-5, $gray-6);
  108. $card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, 0.1), 1px 1px 0 0 rgba(0, 0, 0, 0.1);
  109. // Lists
  110. $list-item-bg: linear-gradient(135deg, $gray-5, $gray-6); //$card-background;
  111. $list-item-hover-bg: darken($gray-5, 5%);
  112. $list-item-link-color: $text-color;
  113. $list-item-shadow: $card-shadow;
  114. $empty-list-cta-bg: $gray-6;
  115. // Scrollbars
  116. $scrollbarBackground: $gray-5;
  117. $scrollbarBackground2: $gray-5;
  118. $scrollbarBorder: $gray-4;
  119. // Tables
  120. // -------------------------
  121. $table-bg: transparent; // overall background-color
  122. $table-bg-accent: $gray-5; // for striping
  123. $table-border: $gray-3; // table and cell border
  124. $table-bg-odd: $gray-6;
  125. $table-bg-hover: $gray-5;
  126. // Buttons
  127. // -------------------------
  128. $btn-primary-bg: $sapphire-base;
  129. $btn-primary-bg-hl: $sapphire-shade;
  130. $btn-secondary-bg: rgba(0,0,0,0);
  131. $btn-secondary-bg-hl: rgba(0,0,0,0);
  132. $btn-danger-bg: $lobster-base;
  133. $btn-danger-bg-hl: $lobster-shade;
  134. $btn-inverse-bg: $gray-6;
  135. $btn-inverse-bg-hl: darken($gray-6, 5%);
  136. $btn-inverse-text-color: $gray-1;
  137. $btn-inverse-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  138. $btn-link-color: $gray-1;
  139. $iconContainerBackground: $white;
  140. $btn-divider-left: $gray-4;
  141. $btn-divider-right: $gray-7;
  142. $btn-drag-image: '../img/grab_light.svg';
  143. // Forms
  144. // -------------------------
  145. $input-bg: $white;
  146. $input-bg-disabled: $gray-5;
  147. $input-color: $dark-3;
  148. $input-border-color: $gray-5;
  149. $input-box-shadow: none;
  150. $input-border-focus: $sapphire-light !default;
  151. $input-box-shadow-focus: $sapphire-light !default;
  152. $input-color-placeholder: $gray-4 !default;
  153. $input-label-bg: $gray-5;
  154. $input-label-border-color: $gray-5;
  155. $input-color-select-arrow: $gray-1;
  156. // Input placeholder text color
  157. $placeholderText: $gray-2;
  158. // search
  159. $search-shadow: 0 5px 30px 0 $gray-4;
  160. $search-filter-box-bg: $gray-7;
  161. // Typeahead
  162. $typeahead-shadow: 0 5px 10px 0 $gray-5;
  163. $typeahead-selected-bg: $gray-6;
  164. $typeahead-selected-color: $yellow;
  165. // Dropdowns
  166. // -------------------------
  167. $dropdownBackground: $white;
  168. $dropdownBorder: $gray-4;
  169. $dropdownDividerTop: $gray-6;
  170. $dropdownDividerBottom: $white;
  171. $dropdownLinkColor: $dark-3;
  172. $dropdownLinkColorHover: $link-color;
  173. $dropdownLinkColorActive: $link-color;
  174. $dropdownLinkBackgroundHover: $gray-6;
  175. // Horizontal forms & lists
  176. // -------------------------
  177. $horizontalComponentOffset: 180px;
  178. // Navbar
  179. // -------------------------
  180. $navbarHeight: 52px;
  181. $navbarBackground: $white;
  182. $navbarBorder: 1px solid $gray-4;
  183. $navbarShadow: 0 0 3px #c1c1c1;
  184. $navbarLinkColor: #444;
  185. $navbarButtonBackground: lighten($navbarBackground, 3%);
  186. $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
  187. $navbar-button-border: $gray-4;
  188. // Sidemenu
  189. // -------------------------
  190. $side-menu-bg: $dark-2;
  191. $side-menu-bg-mobile: rgba(0, 0, 0, 0); //$gray-6;
  192. $side-menu-item-hover-bg: $gray-1;
  193. $side-menu-shadow: 5px 0px 10px -5px $gray-1;
  194. $side-menu-link-color: $gray-6;
  195. // Menu dropdowns
  196. // -------------------------
  197. $menu-dropdown-bg: $gray-7;
  198. $menu-dropdown-hover-bg: $gray-6;
  199. $menu-dropdown-shadow: 5px 5px 10px -5px $gray-1;
  200. // Tabs
  201. // -------------------------
  202. $tab-border-color: $gray-5;
  203. // Toolbar
  204. $toolbar-bg: white;
  205. // Form states and alerts
  206. // -------------------------
  207. $warning-text-color: lighten($orange, 10%);
  208. $error-text-color: $lobster-shade;
  209. $success-text-color: lighten($green, 10%);
  210. $info-text-color: $sapphire-shade;
  211. $alert-error-bg: linear-gradient(90deg, $lobster-base, $lobster-shade);
  212. $alert-success-bg: linear-gradient(90deg, $green-base, $green-shade);
  213. $alert-warning-bg: linear-gradient(90deg, $lobster-base, $lobster-shade);
  214. $alert-info-bg: $sapphire-base;
  215. // popover
  216. $popover-bg: $page-bg;
  217. $popover-color: $text-color;
  218. $popover-border-color: $gray-5;
  219. $popover-shadow: 0 0 20px $white;
  220. $popover-help-bg: $sapphire-base;
  221. $popover-help-color: $gray-6;
  222. $popover-error-bg: $btn-danger-bg;
  223. // Tooltips and popovers
  224. // -------------------------
  225. $tooltipColor: $popover-help-color;
  226. $tooltipArrowWidth: 5px;
  227. $tooltipLinkColor: lighten($popover-help-color, 5%);
  228. $graph-tooltip-bg: $gray-5;
  229. $tooltipBackground: $gray-1;
  230. $tooltipColor: $gray-7;
  231. $tooltipArrowColor: $tooltipBackground; // Used by Angular tooltip
  232. $tooltipBackgroundError: $brand-danger;
  233. // images
  234. $checkboxImageUrl: '../img/checkbox_white.png';
  235. // info box
  236. $info-box-border-color: $sapphire-base;
  237. // footer
  238. $footer-link-color: $gray-3;
  239. $footer-link-hover: $dark-5;
  240. // json explorer
  241. $json-explorer-default-color: black;
  242. $json-explorer-string-color: green;
  243. $json-explorer-number-color: $sapphire-base;
  244. $json-explorer-boolean-color: $lobster-base;
  245. $json-explorer-null-color: #855a00;
  246. $json-explorer-undefined-color: rgb(202, 11, 105);
  247. $json-explorer-function-color: #ff20ed;
  248. $json-explorer-rotate-time: 100ms;
  249. $json-explorer-toggler-opacity: 0.6;
  250. $json-explorer-bracket-color: $sapphire-base;
  251. $json-explorer-key-color: #00008b;
  252. $json-explorer-url-color: $sapphire-base;
  253. // Changelog and diff
  254. // -------------------------
  255. $diff-label-bg: $gray-5;
  256. $diff-label-fg: $gray-2;
  257. $diff-arrow-color: $dark-3;
  258. $diff-group-bg: $gray-7;
  259. $diff-json-bg: $gray-5;
  260. $diff-json-fg: $gray-1;
  261. $diff-json-added: $sapphire-shade;
  262. $diff-json-deleted: $lobster-shade;
  263. $diff-json-old: #5a372a;
  264. $diff-json-new: #664e33;
  265. $diff-json-changed-fg: $gray-7;
  266. $diff-json-changed-num: $gray-4;
  267. $diff-json-icon: $gray-4;
  268. //Submenu
  269. $variable-option-bg: $sapphire-light;
  270. //Switch Slider
  271. // -------------------------
  272. $switch-bg: $white;
  273. $switch-slider-color: $gray-7;
  274. $switch-slider-off-bg: $gray-5;
  275. $switch-slider-on-bg: linear-gradient(90deg, #FF9830, #E55400);
  276. $switch-slider-shadow: 0 0 3px $dark-5;
  277. //Checkbox
  278. // -------------------------
  279. $checkbox-bg: $gray-6;
  280. $checkbox-border: 1px solid $gray-3;
  281. $checkbox-checked-bg: linear-gradient(0deg, #FF9830, #E55400);
  282. $checkbox-color: $gray-7;
  283. //Panel Edit
  284. // -------------------------
  285. $panel-editor-shadow: 0px 0px 8px $gray-3;
  286. $panel-editor-side-menu-shadow: drop-shadow(0 0 2px $gray-3);
  287. $panel-editor-viz-item-shadow: 0 0 4px $gray-3;
  288. $panel-editor-viz-item-border: 1px solid $gray-3;
  289. $panel-editor-viz-item-shadow-hover: 0 0 4px $sapphire-light;
  290. $panel-editor-viz-item-border-hover: 1px solid $sapphire-light;
  291. $panel-editor-viz-item-bg: $white;
  292. $panel-editor-tabs-line-color: $dark-5;
  293. $panel-editor-viz-item-bg-hover: lighten($blue, 62%);
  294. $panel-options-group-border: none;
  295. $panel-options-group-header-bg: $gray-5;
  296. $panel-grid-placeholder-bg: $sapphire-faint;
  297. $panel-grid-placeholder-shadow: 0 0 4px $sapphire-light;
  298. // logs
  299. $logs-color-unkown: $gray-5;
  300. // toggle-group
  301. $button-toggle-group-btn-active-bg: $brand-primary;
  302. $button-toggle-group-btn-active-shadow: inset 0 0 4px $white;
  303. $button-toggle-group-btn-seperator-border: 1px solid $gray-6;
  304. $vertical-resize-handle-bg: $gray-4;
  305. $vertical-resize-handle-dots: $gray-3;
  306. $vertical-resize-handle-dots-hover: $gray-2;