_variables.light.scss 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. // Cosmo 2.3.2
  2. // Variables
  3. // --------------------------------------------------
  4. // Global values
  5. // --------------------------------------------------
  6. // Grays
  7. // -------------------------
  8. $black: #000;
  9. $gray-darker: lighten(#000, 11.5%); // #222
  10. $gray-dark: lighten(#000, 20%); // #333
  11. $gray: lighten(#000, 33.5%); // #555
  12. $gray-light: lighten(#000, 60%); // #999
  13. $gray-lighter: lighten(#000, 97.5%); // #eee
  14. $gray-lightest: lighten(#000, 98.5%); // #eee
  15. $white: #fff;
  16. // Accent colors
  17. // -------------------------
  18. $blue: #2AB2E4;
  19. $blue-dark: #75CAEB;
  20. $green: #28B62C;
  21. $red: #FF4136;
  22. $yellow: #FF851B;
  23. $orange: #FF7518;
  24. $pink: #E671B8;
  25. $purple: #9954BB;
  26. $variable: #2AB2E4;
  27. $brand-primary: $blue-dark;
  28. $brand-success: $green;
  29. $brand-warning: $orange;
  30. $brand-danger: $red;
  31. // Status colors
  32. // -------------------------
  33. $online: #01A64F;
  34. $warn: #F79520;
  35. $critical: #EC2128;
  36. // Scaffolding
  37. // -------------------------
  38. $body-bg: #EFEFEF;
  39. $page-bg: $gray-lightest;
  40. $body-color: $gray;
  41. $text-color: $gray;
  42. // Links
  43. // -------------------------
  44. $link-color: $gray;
  45. $link-color-disabled: lighten($link-color,30%);
  46. $link-hover-color: darken($link-color, 20%);
  47. // Typography
  48. // -------------------------
  49. $headings-color: $text-color;
  50. $abbr-border-color: $gray-light !default;
  51. $text-muted: darken($link-color,30%);
  52. $blockquote-small-color: $gray-light !default;
  53. $blockquote-border-color: $gray-lighter !default;
  54. $hr-border-color: rgba(0,0,0,.1) !default;
  55. // Components
  56. $component-active-color: #fff !default;
  57. $component-active-bg: $brand-primary !default;
  58. // Panel
  59. // -------------------------
  60. $panel-bg: $gray-lighter;
  61. $panel-border: solid 1px #ddd;
  62. $divider-border-color: $gray-light;
  63. // Submenu
  64. $submenuBackground: rgb(218, 217, 217);
  65. $submenuBorder: $white;
  66. // Graphite Target Editor
  67. $tight-form-border: #ddd;
  68. $tight-form-bg: #efefef;
  69. $tight-form-func-bg: darken($tight-form-bg, 5%);
  70. $tight-form-func-highlight-bg: darken($tight-form-bg, 10%);
  71. $modal-background: $body-bg;
  72. $code-tag-bg: #ddd;
  73. // Lists
  74. $grafanaListBackground: darken($gray-lighter,5%);
  75. $grafanaListAccent: darken($gray-lighter,8%);
  76. $grafanaListBorderTop: #eee;
  77. $grafanaListBorderBottom: #eee;
  78. $grafanaListHighlight: darken($gray-lighter,10%);
  79. $grafanaListHighlightContrast: #ddd;
  80. $grafanaListMainLinkColor: $text-color;
  81. // Tables
  82. // -------------------------
  83. $table-bg: transparent; // overall background-color
  84. $table-bg-accent: #f9f9f9; // for striping
  85. $table-bg-hover: #E8F8FD; // for hover
  86. $table-bg-active: $table-bg-hover !default;
  87. $table-border: #ddd; // table and cell border
  88. // Scrollbars
  89. $scrollbarBackground: $gray-lighter;
  90. $scrollbarBackground2: $gray-lighter;
  91. $scrollbarBorder: $gray-light;
  92. // Buttons
  93. // -------------------------
  94. $btnBackground: $gray-lighter;
  95. $btnBackgroundHighlight: darken($gray-lighter, 15%);
  96. $btnBorder: #bbb;
  97. $btnPrimaryBackground: lighten($blue, 3%);
  98. $btnPrimaryBackgroundHighlight: darken($blue, 3%);
  99. $btnInfoBackground: lighten($purple, 3%);
  100. $btnInfoBackgroundHighlight: darken($purple, 3%);
  101. $btnSuccessBackground: lighten($green, 3%);
  102. $btnSuccessBackgroundHighlight: darken($green, 3%);
  103. $btnWarningBackground: lighten($orange, 3%);
  104. $btnWarningBackgroundHighlight: darken($orange, 3%);
  105. $btnDangerBackground: lighten($red, 3%);
  106. $btnDangerBackgroundHighlight: darken($red, 3%);
  107. $btnInverseBackground: $gray-lighter;
  108. $btnInverseBackgroundHighlight: darken($gray-lighter, 5%);
  109. $btnInverseText: $black;
  110. $btnInverseBorder: $gray-light;
  111. $btnText: $gray-lighter;
  112. $iconContainerBackground: $white;
  113. $iconContainerBackgroundHighlight: lighten($white, 5%);
  114. $iconContainerBorder: 1px solid rgba(0,0,0, 0.05);
  115. $iconContainerShadow: 0 0 14px 2px rgba(0,0,0, 0.05);
  116. // Forms
  117. // -------------------------
  118. $input-bg: $white;
  119. $input-bg-disabled: $gray-lighter;
  120. $input-color: #020202;
  121. $input-border-color: $gray-lighter;
  122. $input-btn-border-width: 1px;
  123. $input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default;
  124. $input-border-focus: #66afe9 !default;
  125. $input-box-shadow-focus: rgba(102,175,233,.6) !default;
  126. $input-color-placeholder: #999 !default;
  127. $input-label-bg: #f8f8f8;
  128. // Sidemenu
  129. // -------------------------
  130. $sideMenuBackground: $panel-bg;
  131. $sideMenuBackgroundHighlight: darken($sideMenuBackground, 4%);
  132. // search
  133. $searchShadow: 0 5px 30px 0 lighten($gray-light, 30%);
  134. // Dropdowns
  135. // -------------------------
  136. $dropdownBackground: $white;
  137. $dropdownBorder: $tight-form-border;
  138. $dropdownDividerTop: #e5e5e5;
  139. $dropdownDividerBottom: $white;
  140. $dropdownDivider: $dropdownDividerTop;
  141. $dropdownTitle: #333;
  142. $dropdownLinkColor: $gray-dark;
  143. $dropdownLinkColorHover: $white;
  144. $dropdownLinkColorActive: $white;
  145. $dropdownLinkBackgroundActive: $blue;
  146. $dropdownLinkBackgroundHover: $blue;
  147. // COMPONENT VARIABLES
  148. // --------------------------------------------------
  149. // Input placeholder text color
  150. // -------------------------
  151. $placeholderText: $gray-light;
  152. // Hr border color
  153. // -------------------------
  154. $hrBorder: $gray-lighter;
  155. // Horizontal forms & lists
  156. // -------------------------
  157. $horizontalComponentOffset: 180px;
  158. // Wells
  159. // -------------------------
  160. $wellBackground: $gray-lighter;
  161. // Navbar
  162. // -------------------------
  163. $navbarHeight: 52px;
  164. $navbarBackgroundHighlight: #f8f8f8;
  165. $navbarBackground: #f8f8f8;
  166. $navbarBorder: 1px solid $tight-form-border;
  167. $navbarText: #666;
  168. $navbarLinkColor: #666;
  169. $navbarLinkColorHover: #333;
  170. $navbarLinkColorActive: #555;
  171. $navbarLinkBackgroundHover: transparent;
  172. $navbarLinkBackgroundActive: darken($navbarBackground, 6.5%);
  173. $navbarDropdownShadow: inset 0px 4px 7px -4px darken($body-bg, 20%);
  174. $navbarBrandColor: $navbarLinkColor;
  175. $navbarButtonBackground: lighten($navbarBackground, 3%);
  176. $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
  177. // Pagination
  178. // -------------------------
  179. $paginationBackground: $gray-light;
  180. $paginationBorder: transparent;
  181. $paginationActiveBackground: $blue;
  182. // Form states and alerts
  183. // -------------------------
  184. $state-warning-text: lighten($orange, 10%);
  185. $state-warning-bg: $orange;
  186. $warningBorder: transparent;
  187. $errorText: lighten($red, 10%);
  188. $errorBackground: $red;
  189. $errorBorder: transparent;
  190. $successText: lighten($green, 10%);
  191. $successBackground: $green;
  192. $successBorder: transparent;
  193. $infoText: lighten($purple,10%);
  194. $infoBackground: $purple;
  195. $infoBorder: transparent;
  196. // Tooltips and popovers
  197. // -------------------------
  198. $tooltipColor: $white;
  199. $tooltipBackground: $gray-dark;
  200. $tooltipArrowWidth: 5px;
  201. $tooltipArrowColor: $tooltipBackground;
  202. $tooltipLinkColor: darken($white,11%);
  203. $popoverBackground: $white;
  204. $popoverArrowWidth: 15px;
  205. $popoverArrowColor: $white;
  206. $popoverTitleBackground: $white;
  207. // Special enhancement for popovers
  208. $popoverArrowOuterWidth: $popoverArrowWidth + 1;
  209. $popoverArrowOuterColor: rgba(0,0,0,.25);
  210. // images
  211. $checkboxImageUrl: '../img/checkbox_white.png';