_variables.light.scss 7.4 KB

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