_variables.light.scss 8.4 KB

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