_variables.light.scss 8.1 KB

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