_variables.light.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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: #141414;
  13. $dark-2: #1d1d1f;
  14. $dark-3: #262628;
  15. $dark-4: #373737;
  16. $dark-5: #444444;
  17. $gray-1: #555555;
  18. $gray-2: #7B7B7B;
  19. $gray-3: #b3b3b3;
  20. $gray-4: #D8D9DA;
  21. $gray-5: #ECECEC;
  22. $gray-6: #f4f5f8;
  23. $gray-7: #fbfbfb;*/
  24. $black: #000;
  25. $dark-1: #121314;
  26. $dark-2: #1d1d1f;
  27. $dark-3: #272729;
  28. $dark-4: #38383b;
  29. $dark-5: #444547;
  30. $gray-1: #525357;
  31. $gray-2: #7a7c80;
  32. $gray-3: #b2b3b8;
  33. $gray-4: #d5d6db;
  34. $gray-5: #e9eaf0;
  35. $gray-6: #f4f5f8;
  36. $gray-7: #fafbfc;
  37. $white: #fff;
  38. // Accent colors
  39. // -------------------------
  40. $blue: #2AB2E4;
  41. $blue-dark: #3CAAD6;
  42. $green: #3aa655;
  43. $red: #d44939;
  44. $yellow: #FF851B;
  45. $orange: #Ff7941;
  46. $pink: #E671B8;
  47. $purple: #9954BB;
  48. $variable: #2AB2E4;
  49. $brand-primary: $orange;
  50. $brand-success: $green;
  51. $brand-warning: $orange;
  52. $brand-danger: $red;
  53. // Status colors
  54. // -------------------------
  55. $online: #01A64F;
  56. $warn: #F79520;
  57. $critical: #EC2128;
  58. // Scaffolding
  59. // -------------------------
  60. $body-bg: $white;
  61. $page-bg: $white;
  62. $body-color: $gray-1;
  63. $text-color: $gray-1;
  64. $text-color-strong: $white;
  65. $text-color-weak: $gray-3;
  66. $text-color-faint: $gray-4;
  67. $text-color-emphasis: $dark-5;
  68. $text-shadow-strong: none;
  69. $text-shadow-faint: none;
  70. // gradients
  71. $brand-gradient: linear-gradient(to right, rgba(255,213,0,1.0) 0%, rgba(255,68,0,1.0) 99%, rgba(255,68,0,1.0) 100%);
  72. $page-gradient: linear-gradient(-60deg, transparent 70%, darken($page-bg, 4%) 98%);
  73. // Links
  74. // -------------------------
  75. $link-color: $gray-1;
  76. $link-color-disabled: lighten($link-color, 30%);
  77. $link-hover-color: darken($link-color, 20%);
  78. $external-link-color: $blue;
  79. // Typography
  80. // -------------------------
  81. $headings-color: $text-color;
  82. $abbr-border-color: $gray-2 !default;
  83. $text-muted: $text-color-weak;
  84. $blockquote-small-color: $gray-2 !default;
  85. $blockquote-border-color: $gray-3 !default;
  86. $hr-border-color: $dark-3 !default;
  87. // Components
  88. $component-active-color: $white !default;
  89. $component-active-bg: $brand-primary !default;
  90. // Panel
  91. // -------------------------
  92. $panel-bg: $gray-7;
  93. $panel-border-color: $gray-5;
  94. $panel-border: solid 1px $panel-border-color;
  95. $panel-drop-zone-bg: repeating-linear-gradient(-128deg, $body-bg, $body-bg 10px, $gray-6 10px, $gray-6 20px);
  96. $panel-header-hover-bg: $gray-6;
  97. $panel-header-menu-hover-bg: $gray-4;
  98. $divider-border-color: $gray-2;
  99. // Graphite Target Editor
  100. $tight-form-bg: #eaebee;
  101. $tight-form-func-bg: $gray-5;
  102. $tight-form-func-highlight-bg: $gray-6;
  103. $modal-backdrop-bg: $body-bg;
  104. $code-tag-bg: $gray-6;
  105. $code-tag-border: darken($code-tag-bg, 3%);
  106. // cards
  107. $card-background: linear-gradient(135deg, $gray-5, $gray-6);
  108. $card-background-hover: linear-gradient(135deg, $gray-6, $gray-7);
  109. $card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, .1), 1px 1px 0 0 rgba(0, 0, 0, .1);
  110. // Lists
  111. $list-item-bg: $card-background;
  112. $list-item-hover-bg: darken($gray-5, 5%);
  113. $list-item-link-color: $text-color;
  114. $list-item-shadow: $card-shadow;
  115. // Tables
  116. // -------------------------
  117. $table-bg: transparent; // overall background-color
  118. $table-bg-accent: $gray-5; // for striping
  119. $table-bg-hover: $gray-5; // for hover
  120. $table-bg-active: $table-bg-hover !default;
  121. $table-border: $gray-3; // table and cell border
  122. // Scrollbars
  123. $scrollbarBackground: $gray-5;
  124. $scrollbarBackground2: $gray-5;
  125. $scrollbarBorder: $gray-4;
  126. // Buttons
  127. // -------------------------
  128. $btn-primary-bg: $brand-primary;
  129. $btn-primary-bg-hl: lighten($brand-primary, 8%);
  130. $btn-secondary-bg: $blue-dark;
  131. $btn-secondary-bg-hl: lighten($blue-dark, 4%);
  132. $btn-success-bg: lighten($green, 3%);
  133. $btn-success-bg-hl: darken($green, 3%);
  134. $btn-warning-bg: lighten($orange, 3%);
  135. $btn-warning-bg-hl: darken($orange, 3%);
  136. $btn-danger-bg: lighten($red, 3%);
  137. $btn-danger-bg-hl: darken($red, 3%);
  138. $btn-inverse-bg: $gray-5;
  139. $btn-inverse-bg-hl: darken($gray-5, 5%);
  140. $btn-inverse-text-color: $dark-4;
  141. $btn-link-color: $gray-1;
  142. $btn-divider-left: $gray-4;
  143. $btn-divider-right: $gray-7;
  144. $btn-drag-image: '../img/grab_light.svg';
  145. $iconContainerBackground: $white;
  146. // Forms
  147. // -------------------------
  148. $input-bg: $gray-7;
  149. $input-bg-disabled: $gray-5;
  150. $input-color: $dark-3;
  151. $input-border-color: $gray-5;
  152. $input-box-shadow: none;
  153. $input-border-focus: $blue !default;
  154. $input-box-shadow-focus: $blue !default;
  155. $input-color-placeholder: $gray-4 !default;
  156. $input-label-bg: #eaebee;
  157. $input-label-border-color: #e3e4e7;
  158. $input-invalid-border-color: lighten($red, 5%);
  159. // Sidemenu
  160. // -------------------------
  161. $side-menu-bg: $gray-7;
  162. $side-menu-item-hover-bg: $gray-5;
  163. $side-menu-shadow: 0 0 5px #c2c2c2;
  164. // Menu dropdowns
  165. // -------------------------
  166. $menu-dropdown-bg: $white;
  167. $menu-dropdown-hover-bg: $gray-6;
  168. $menu-dropdown-border-color: $gray-4;
  169. $menu-dropdown-shadow: 5px 5px 20px -5px $gray-4;
  170. // Breadcrumb
  171. // -------------------------
  172. $page-nav-bg: $gray-5;
  173. $page-nav-shadow: 5px 5px 20px -5px $gray-4;
  174. $page-nav-breadcrumb-color: $black;
  175. $breadcrumb-hover-hl: #d9dadd;
  176. // search
  177. $search-shadow: 0 5px 30px 0 $gray-4;
  178. // Dropdowns
  179. // -------------------------
  180. $dropdownBackground: $white;
  181. $dropdownBorder: $gray-4;
  182. $dropdownDividerTop: $gray-6;
  183. $dropdownDividerBottom: $white;
  184. $dropdownDivider: $dropdownDividerTop;
  185. $dropdownTitle: $gray-3;
  186. $dropdownLinkColor: $dark-3;
  187. $dropdownLinkColorHover: $link-color;
  188. $dropdownLinkColorActive: $link-color;
  189. $dropdownLinkBackgroundActive: $gray-6;
  190. $dropdownLinkBackgroundHover: $gray-6;
  191. // COMPONENT VARIABLES
  192. // --------------------------------------------------
  193. // Input placeholder text color
  194. // -------------------------
  195. $placeholderText: $gray-2;
  196. // Hr border color
  197. // -------------------------
  198. $hrBorder: $gray-3;
  199. // Horizontal forms & lists
  200. // -------------------------
  201. $horizontalComponentOffset: 180px;
  202. // Wells
  203. // -------------------------
  204. $wellBackground: $gray-3;
  205. // Navbar
  206. // -------------------------
  207. $navbarHeight: 52px;
  208. $navbarBackgroundHighlight: white;
  209. $navbarBackground: $white;
  210. $navbarBorder: 1px solid $gray-4;
  211. $navbarShadow: 0 0 3px #c1c1c1;
  212. $navbarText: #444;
  213. $navbarLinkColor: #444;
  214. $navbarLinkColorHover: #000;
  215. $navbarLinkColorActive: #333;
  216. $navbarLinkBackgroundHover: transparent;
  217. $navbarLinkBackgroundActive: darken($navbarBackground, 6.5%);
  218. $navbarDropdownShadow: inset 0px 4px 7px -4px darken($body-bg, 20%);
  219. $navbarBrandColor: $navbarLinkColor;
  220. $navbarButtonBackground: lighten($navbarBackground, 3%);
  221. $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
  222. // Pagination
  223. // -------------------------
  224. $paginationBackground: $gray-2;
  225. $paginationBorder: transparent;
  226. $paginationActiveBackground: $blue;
  227. // Form states and alerts
  228. // -------------------------
  229. $warning-text-color: lighten($orange, 10%);
  230. $error-text-color: lighten($red, 10%);
  231. $success-text-color: lighten($green, 10%);
  232. $info-text-color: $blue;
  233. $alert-error-bg: linear-gradient(90deg, #d44939, #e04d3d);
  234. $alert-success-bg: linear-gradient(90deg, #3aa655, #47b274);
  235. $alert-warning-bg: linear-gradient(90deg, #d44939, #e04d3d);
  236. $alert-info-bg: $blue-dark;
  237. // popover
  238. $popover-bg: $panel-bg;
  239. $popover-color: $text-color;
  240. $popover-border-color: $gray-5;
  241. $popover-shadow: 0 0 20px $white;
  242. $popover-help-bg: $blue-dark;
  243. $popover-help-color: $gray-6;
  244. $popover-error-bg: $btn-danger-bg;
  245. // Tooltips and popovers
  246. // -------------------------
  247. $tooltipColor: $popover-help-color;
  248. $tooltipBackground: $popover-help-bg;
  249. $tooltipArrowWidth: 5px;
  250. $tooltipArrowColor: $tooltipBackground;
  251. $tooltipLinkColor: lighten($popover-help-color, 5%);
  252. $graph-tooltip-bg: $gray-5;
  253. // images
  254. $checkboxImageUrl: '../img/checkbox_white.png';
  255. // info box
  256. $info-box-background: linear-gradient(135deg, #f1fbff, #d7ebff);
  257. // footer
  258. $footer-link-color: $gray-3;
  259. $footer-link-hover: $dark-5;
  260. // collapse box
  261. $collapse-box-body-border: $gray-4;
  262. $collapse-box-body-error-border: $red;
  263. // json explorer
  264. $json-explorer-default-color: black;
  265. $json-explorer-string-color: green;
  266. $json-explorer-number-color: blue;
  267. $json-explorer-boolean-color: red;
  268. $json-explorer-null-color: #855A00;
  269. $json-explorer-undefined-color: rgb(202, 11, 105);
  270. $json-explorer-function-color: #FF20ED;
  271. $json-explorer-rotate-time: 100ms;
  272. $json-explorer-toggler-opacity: 0.6;
  273. $json-explorer-toggler-color: #45376F;
  274. $json-explorer-bracket-color: blue;
  275. $json-explorer-key-color: #00008B;
  276. $json-explorer-url-color: blue;
  277. // Changelog and diff
  278. // -------------------------
  279. $diff-label-bg: $gray-5;
  280. $diff-label-fg: $gray-2;
  281. $diff-switch-bg: $gray-7;
  282. $diff-switch-disabled: $gray-5;
  283. $diff-arrow-color: $dark-3;
  284. $diff-group-bg: $gray-7;
  285. $diff-json-bg: $gray-5;
  286. $diff-json-fg: $gray-2;
  287. $diff-json-added: lighten(desaturate($green, 30%), 10%);
  288. $diff-json-deleted: desaturate($red, 35%);
  289. $diff-json-old: #5a372a;
  290. $diff-json-new: #664e33;
  291. $diff-json-changed-fg: $gray-6;
  292. $diff-json-changed-num: $gray-4;
  293. $diff-json-icon: $gray-4;