_variables.light.scss 10 KB

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