_variables.light.scss 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. // Cosmo 2.3.2
  2. // Variables
  3. // --------------------------------------------------
  4. // Global values
  5. // --------------------------------------------------
  6. // Grays
  7. // -------------------------
  8. $black: #000;
  9. // -------------------------
  10. $black: #000;
  11. $dark-1: #141414;
  12. $dark-2: #1f1d1d;
  13. $dark-3: #292929;
  14. $dark-4: #373737;
  15. $dark-5: #444444;
  16. $gray-1: #555555;
  17. $gray-2: #7B7B7B;
  18. $gray-3: #b3b3b3;
  19. $gray-4: #D8D9DA;
  20. $gray-5: #ECECEC;
  21. $gray-6: #f4f5f8;
  22. $gray-7: #fbfbfb;
  23. $white: #fff;
  24. // Accent colors
  25. // -------------------------
  26. $blue: #2AB2E4;
  27. $blue-dark: #3CAAD6;
  28. $green: #28B62C;
  29. $red: #FF4136;
  30. $yellow: #FF851B;
  31. $orange: #Ff7941;
  32. $pink: #E671B8;
  33. $purple: #9954BB;
  34. $variable: #2AB2E4;
  35. $brand-primary: $orange;
  36. $brand-success: $green;
  37. $brand-warning: $orange;
  38. $brand-danger: $red;
  39. // Status colors
  40. // -------------------------
  41. $online: #01A64F;
  42. $warn: #F79520;
  43. $critical: #EC2128;
  44. // Scaffolding
  45. // -------------------------
  46. $body-bg: $white;
  47. $page-bg: $white;
  48. $body-color: $gray-1;
  49. $text-color: $gray-1;
  50. $text-color-strong: $white;
  51. $text-color-weak: $gray-3;
  52. $text-color-faint: $gray-4;
  53. $text-color-emphasis: $dark-5;
  54. $text-shadow-strong: none;
  55. $text-shadow-faint: none;
  56. // gradients
  57. $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%);
  58. $page-gradient: linear-gradient(60deg, transparent 70%, darken($page-bg, 4%) 98%);
  59. // Links
  60. // -------------------------
  61. $link-color: $gray-1;
  62. $link-color-disabled: lighten($link-color, 30%);
  63. $link-hover-color: darken($link-color, 20%);
  64. $external-link-color: $blue;
  65. // Typography
  66. // -------------------------
  67. $headings-color: $text-color;
  68. $abbr-border-color: $gray-2 !default;
  69. $text-muted: $text-color-weak;
  70. $blockquote-small-color: $gray-2 !default;
  71. $blockquote-border-color: $gray-3 !default;
  72. $hr-border-color: $dark-3 !default;
  73. // Components
  74. $component-active-color: $white !default;
  75. $component-active-bg: $brand-primary !default;
  76. // Panel
  77. // -------------------------
  78. $panel-bg: $gray-7;
  79. $panel-border: solid 1px $gray-6;
  80. $panel-drop-zone-bg: repeating-linear-gradient(-128deg, $body-bg, $body-bg 10px, $gray-6 10px, $gray-6 20px);
  81. $panel-menu-border: solid 1px white;
  82. // Row
  83. // -------------------------
  84. $row-menu-bg: $body-bg;
  85. $divider-border-color: $gray-2;
  86. // Graphite Target Editor
  87. $tight-form-border: $gray-4;
  88. $tight-form-bg: $gray-6;
  89. $tight-form-func-bg: $gray-5;
  90. $tight-form-func-highlight-bg: $gray-6;
  91. $modal-background: $body-bg;
  92. $code-tag-bg: $gray-6;
  93. $code-tag-border: darken($code-tag-bg, 3%);
  94. // Lists
  95. $grafanaListBackground: $gray-6;
  96. $grafanaListAccent: $gray-5;
  97. $grafanaListBorderTop: $gray-3;
  98. $grafanaListBorderBottom: $gray-3;
  99. $grafanaListHighlight: $gray-5;
  100. $grafanaListMainLinkColor: $text-color;
  101. // Tables
  102. // -------------------------
  103. $table-bg: transparent; // overall background-color
  104. $table-bg-accent: $gray-5; // for striping
  105. $table-bg-hover: $gray-5; // for hover
  106. $table-bg-active: $table-bg-hover !default;
  107. $table-border: $gray-3; // table and cell border
  108. // Scrollbars
  109. $scrollbarBackground: $gray-5;
  110. $scrollbarBackground2: $gray-5;
  111. $scrollbarBorder: $gray-4;
  112. // Buttons
  113. // -------------------------
  114. $btn-primary-bg: $brand-primary;
  115. $btn-primary-bg-hl: lighten($brand-primary, 8%);
  116. $btn-secondary-bg: $blue-dark;
  117. $btn-secondary-bg-hl: lighten($blue-dark, 4%);
  118. $btn-success-bg: lighten($green, 3%);
  119. $btn-success-bg-hl: darken($green, 3%);
  120. $btn-warning-bg: lighten($orange, 3%);
  121. $btn-warning-bg-hl: darken($orange, 3%);
  122. $btn-danger-bg: lighten($red, 3%);
  123. $btn-danger-bg-hl: darken($red, 3%);
  124. $btn-inverse-bg: $gray-5;
  125. $btn-inverse-bg-hl: darken($gray-5, 5%);
  126. $btn-inverse-text-color: $dark-4;
  127. $btn-link-color: $gray-1;
  128. $btn-divider-left: $gray-4;
  129. $btn-divider-right: $gray-7;
  130. $btn-drag-image: '../img/grab_light.svg';
  131. $iconContainerBackground: $white;
  132. // Forms
  133. // -------------------------
  134. $input-bg: $gray-7;
  135. $input-bg-disabled: $gray-5;
  136. $input-color: $dark-3;
  137. $input-border-color: $gray-5;
  138. $input-box-shadow: none;
  139. $input-border-focus: $blue !default;
  140. $input-box-shadow-focus: $blue !default;
  141. $input-color-placeholder: $gray-4 !default;
  142. $input-label-bg: $gray-6;
  143. $input-invalid-border-color: lighten($red, 5%);
  144. // Sidemenu
  145. // -------------------------
  146. $side-menu-bg: $body-bg;
  147. $side-menu-item-hover-bg: $gray-6;
  148. // search
  149. $search-shadow: 0 5px 30px 0 lighten($gray-2, 30%);
  150. // Dropdowns
  151. // -------------------------
  152. $dropdownBackground: $white;
  153. $dropdownBorder: $tight-form-border;
  154. $dropdownDividerTop: $gray-6;
  155. $dropdownDividerBottom: $white;
  156. $dropdownDivider: $dropdownDividerTop;
  157. $dropdownTitle: $gray-3;
  158. $dropdownLinkColor: $dark-3;
  159. $dropdownLinkColorHover: $link-color;
  160. $dropdownLinkColorActive: $link-color;
  161. $dropdownLinkBackgroundActive: $gray-6;
  162. $dropdownLinkBackgroundHover: $gray-6;
  163. // COMPONENT VARIABLES
  164. // --------------------------------------------------
  165. // Input placeholder text color
  166. // -------------------------
  167. $placeholderText: $gray-2;
  168. // Hr border color
  169. // -------------------------
  170. $hrBorder: $gray-3;
  171. // Horizontal forms & lists
  172. // -------------------------
  173. $horizontalComponentOffset: 180px;
  174. // Wells
  175. // -------------------------
  176. $wellBackground: $gray-3;
  177. // Navbar
  178. // -------------------------
  179. $navbarHeight: 52px;
  180. $navbarBackgroundHighlight: #f8f8f8;
  181. $navbarBackground: #f8f8f8;
  182. $navbarBorder: 1px solid $tight-form-border;
  183. $navbarText: #666;
  184. $navbarLinkColor: #666;
  185. $navbarLinkColorHover: #333;
  186. $navbarLinkColorActive: #555;
  187. $navbarLinkBackgroundHover: transparent;
  188. $navbarLinkBackgroundActive: darken($navbarBackground, 6.5%);
  189. $navbarDropdownShadow: inset 0px 4px 7px -4px darken($body-bg, 20%);
  190. $navbarBrandColor: $navbarLinkColor;
  191. $navbarButtonBackground: lighten($navbarBackground, 3%);
  192. $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
  193. // Pagination
  194. // -------------------------
  195. $paginationBackground: $gray-2;
  196. $paginationBorder: transparent;
  197. $paginationActiveBackground: $blue;
  198. // Form states and alerts
  199. // -------------------------
  200. $state-warning-text: lighten($orange, 10%);
  201. $state-warning-bg: $orange;
  202. $warningBorder: transparent;
  203. $errorText: lighten($red, 10%);
  204. $errorBackground: $red;
  205. $errorBorder: transparent;
  206. $successText: lighten($green, 10%);
  207. $successBackground: $green;
  208. $successBorder: transparent;
  209. $infoText: $blue;
  210. $infoBackground: $blue-dark;
  211. $infoBorder: transparent;
  212. // popover
  213. $popover-bg: $gray-5;
  214. $popover-color: $text-color;
  215. $popover-border-color: $gray-3;
  216. $popover-help-bg: $blue-dark;
  217. $popover-help-color: $gray-6;
  218. // Tooltips and popovers
  219. // -------------------------
  220. $tooltipColor: $popover-help-color;
  221. $tooltipBackground: $popover-help-bg;
  222. $tooltipArrowWidth: 5px;
  223. $tooltipArrowColor: $tooltipBackground;
  224. $tooltipLinkColor: lighten($popover-help-color, 5%);
  225. $graph-tooltip-bg: $gray-5;
  226. // images
  227. $checkboxImageUrl: '../img/checkbox_white.png';
  228. // cards
  229. $card-background: linear-gradient(135deg, $gray-5, $gray-6);
  230. $card-background-hover: linear-gradient(135deg, $gray-6, $gray-7);
  231. $card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, .1), 1px 1px 0 0 rgba(0, 0, 0, .1);
  232. // footer
  233. $footer-link-color: $gray-3;
  234. $footer-link-hover: $dark-5;
  235. // Changelog and diff
  236. // -------------------------
  237. $diff-label-bg: $gray-5;
  238. $diff-label-fg: $gray-2;
  239. $diff-switch-bg: $gray-7;
  240. $diff-switch-disabled: $gray-5;
  241. $diff-arrow-color: $dark-3;
  242. $diff-group-bg: $gray-7;
  243. $diff-json-bg: $gray-5;
  244. $diff-json-fg: $gray-2;
  245. $diff-json-added: lighten(desaturate($green, 30%), 10%);
  246. $diff-json-deleted: desaturate($red, 35%);
  247. $diff-json-old: #5a372a;
  248. $diff-json-new: #664e33;
  249. $diff-json-changed-fg: $gray-6;
  250. $diff-json-changed-num: $gray-4;
  251. $diff-json-icon: $gray-4;