_variables.light.scss 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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. $divider-border-color: $gray-2;
  81. // Graphite Target Editor
  82. $tight-form-border: $gray-4;
  83. $tight-form-bg: $gray-6;
  84. $tight-form-func-bg: $gray-5;
  85. $tight-form-func-highlight-bg: $gray-6;
  86. $modal-background: $body-bg;
  87. $code-tag-bg: $gray-6;
  88. $code-tag-border: darken($code-tag-bg, 3%);
  89. // Lists
  90. $grafanaListBackground: $gray-6;
  91. $grafanaListAccent: $gray-5;
  92. $grafanaListBorderTop: $gray-3;
  93. $grafanaListBorderBottom: $gray-3;
  94. $grafanaListHighlight: $gray-5;
  95. $grafanaListMainLinkColor: $text-color;
  96. // Tables
  97. // -------------------------
  98. $table-bg: transparent; // overall background-color
  99. $table-bg-accent: $gray-5; // for striping
  100. $table-bg-hover: $gray-5; // for hover
  101. $table-bg-active: $table-bg-hover !default;
  102. $table-border: $gray-3; // table and cell border
  103. // Scrollbars
  104. $scrollbarBackground: $gray-5;
  105. $scrollbarBackground2: $gray-5;
  106. $scrollbarBorder: $gray-4;
  107. // Buttons
  108. // -------------------------
  109. $btn-primary-bg: $brand-primary;
  110. $btn-primary-bg-hl: lighten($brand-primary, 8%);
  111. $btn-secondary-bg: $blue-dark;
  112. $btn-secondary-bg-hl: lighten($blue-dark, 4%);
  113. $btn-success-bg: lighten($green, 3%);
  114. $btn-success-bg-hl: darken($green, 3%);
  115. $btn-warning-bg: lighten($orange, 3%);
  116. $btn-warning-bg-hl: darken($orange, 3%);
  117. $btn-danger-bg: lighten($red, 3%);
  118. $btn-danger-bg-hl: darken($red, 3%);
  119. $btn-inverse-bg: $gray-5;
  120. $btn-inverse-bg-hl: darken($gray-5, 5%);
  121. $btn-inverse-text-color: $dark-4;
  122. $btn-link-color: $gray-1;
  123. $btn-divider-left: $gray-4;
  124. $btn-divider-right: $gray-7;
  125. $btn-drag-image: '../img/grab_light.svg';
  126. $iconContainerBackground: $white;
  127. // Forms
  128. // -------------------------
  129. $input-bg: $gray-7;
  130. $input-bg-disabled: $gray-5;
  131. $input-color: $dark-3;
  132. $input-border-color: $gray-5;
  133. $input-box-shadow: none;
  134. $input-border-focus: $blue !default;
  135. $input-box-shadow-focus: $blue !default;
  136. $input-color-placeholder: $gray-4 !default;
  137. $input-label-bg: $gray-6;
  138. $input-invalid-border-color: lighten($red, 5%);
  139. // Sidemenu
  140. // -------------------------
  141. $side-menu-bg: $body-bg;
  142. $side-menu-item-hover-bg: $gray-6;
  143. $side-menu-opacity: 0.97;
  144. // search
  145. $search-shadow: 0 5px 30px 0 lighten($gray-2, 30%);
  146. // Dropdowns
  147. // -------------------------
  148. $dropdownBackground: $white;
  149. $dropdownBorder: $tight-form-border;
  150. $dropdownDividerTop: $gray-6;
  151. $dropdownDividerBottom: $white;
  152. $dropdownDivider: $dropdownDividerTop;
  153. $dropdownTitle: $gray-3;
  154. $dropdownLinkColor: $dark-3;
  155. $dropdownLinkColorHover: $link-color;
  156. $dropdownLinkColorActive: $link-color;
  157. $dropdownLinkBackgroundActive: $gray-6;
  158. $dropdownLinkBackgroundHover: $gray-6;
  159. // COMPONENT VARIABLES
  160. // --------------------------------------------------
  161. // Input placeholder text color
  162. // -------------------------
  163. $placeholderText: $gray-2;
  164. // Hr border color
  165. // -------------------------
  166. $hrBorder: $gray-3;
  167. // Horizontal forms & lists
  168. // -------------------------
  169. $horizontalComponentOffset: 180px;
  170. // Wells
  171. // -------------------------
  172. $wellBackground: $gray-3;
  173. // Navbar
  174. // -------------------------
  175. $navbarHeight: 52px;
  176. $navbarBackgroundHighlight: #f8f8f8;
  177. $navbarBackground: #f8f8f8;
  178. $navbarBorder: 1px solid $tight-form-border;
  179. $navbarText: #666;
  180. $navbarLinkColor: #666;
  181. $navbarLinkColorHover: #333;
  182. $navbarLinkColorActive: #555;
  183. $navbarLinkBackgroundHover: transparent;
  184. $navbarLinkBackgroundActive: darken($navbarBackground, 6.5%);
  185. $navbarDropdownShadow: inset 0px 4px 7px -4px darken($body-bg, 20%);
  186. $navbarBrandColor: $navbarLinkColor;
  187. $navbarButtonBackground: lighten($navbarBackground, 3%);
  188. $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
  189. // Pagination
  190. // -------------------------
  191. $paginationBackground: $gray-2;
  192. $paginationBorder: transparent;
  193. $paginationActiveBackground: $blue;
  194. // Form states and alerts
  195. // -------------------------
  196. $state-warning-text: lighten($orange, 10%);
  197. $state-warning-bg: $orange;
  198. $warningBorder: transparent;
  199. $errorText: lighten($red, 10%);
  200. $errorBackground: $red;
  201. $errorBorder: transparent;
  202. $successText: lighten($green, 10%);
  203. $successBackground: $green;
  204. $successBorder: transparent;
  205. $infoText: $blue;
  206. $infoBackground: $blue-dark;
  207. $infoBorder: transparent;
  208. // popover
  209. $popover-bg: $gray-5;
  210. $popover-color: $text-color;
  211. $popover-help-bg: $blue-dark;
  212. $popover-help-color: $gray-6;
  213. // Tooltips and popovers
  214. // -------------------------
  215. $tooltipColor: $popover-help-color;
  216. $tooltipBackground: $popover-help-bg;
  217. $tooltipArrowWidth: 5px;
  218. $tooltipArrowColor: $tooltipBackground;
  219. $tooltipLinkColor: lighten($popover-help-color, 5%);
  220. $graph-tooltip-bg: $gray-5;
  221. // images
  222. $checkboxImageUrl: '../img/checkbox_white.png';
  223. // cards
  224. $card-background: linear-gradient(135deg, $gray-5, $gray-6);
  225. $card-background-hover: linear-gradient(135deg, $gray-6, $gray-7);
  226. $card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, .1), 1px 1px 0 0 rgba(0, 0, 0, .1);
  227. // footer
  228. $footer-link-color: $gray-3;
  229. $footer-link-hover: $dark-5;