_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-light2: lighten(#000, 70%); // #999
  14. $gray-lighter: lighten(#000, 96.5%); // #eee
  15. $gray-lightest: lighten(#000, 98%); // #eee
  16. $white: #fff;
  17. // Accent colors
  18. // -------------------------
  19. $blue: #2AB2E4;
  20. $blue-dark: #75CAEB;
  21. $green: #28B62C;
  22. $red: #FF4136;
  23. $yellow: #FF851B;
  24. $orange: #FF7518;
  25. $pink: #E671B8;
  26. $purple: #9954BB;
  27. $variable: #2AB2E4;
  28. $brand-primary: $orange;
  29. $brand-success: $green;
  30. $brand-warning: $orange;
  31. $brand-danger: $red;
  32. // Status colors
  33. // -------------------------
  34. $online: #01A64F;
  35. $warn: #F79520;
  36. $critical: #EC2128;
  37. // Scaffolding
  38. // -------------------------
  39. $body-bg: $white;
  40. $page-bg: $white;
  41. $body-color: $gray;
  42. $text-color: $gray;
  43. // Links
  44. // -------------------------
  45. $link-color: $gray;
  46. $link-color-disabled: lighten($link-color,30%);
  47. $link-hover-color: darken($link-color, 20%);
  48. // Typography
  49. // -------------------------
  50. $headings-color: $text-color;
  51. $abbr-border-color: $gray-light !default;
  52. $text-muted: darken($link-color,30%);
  53. $blockquote-small-color: $gray-light !default;
  54. $blockquote-border-color: $gray-lighter !default;
  55. $hr-border-color: rgba(0,0,0,.1) !default;
  56. // Components
  57. $component-active-color: #fff !default;
  58. $component-active-bg: $brand-primary !default;
  59. // Panel
  60. // -------------------------
  61. $panel-bg: $gray-lightest;
  62. $panel-border: solid 1px $gray-lighter;
  63. $divider-border-color: $gray-light;
  64. // Submenu
  65. $submenuBackground: rgb(218, 217, 217);
  66. $submenuBorder: $white;
  67. // Graphite Target Editor
  68. $tight-form-border: #ddd;
  69. $tight-form-bg: #efefef;
  70. $tight-form-func-bg: darken($tight-form-bg, 5%);
  71. $tight-form-func-highlight-bg: darken($tight-form-bg, 10%);
  72. $modal-background: $body-bg;
  73. $code-tag-bg: #ddd;
  74. // Lists
  75. $grafanaListBackground: darken($gray-lighter,5%);
  76. $grafanaListAccent: darken($gray-lighter,8%);
  77. $grafanaListBorderTop: #eee;
  78. $grafanaListBorderBottom: #eee;
  79. $grafanaListHighlight: darken($gray-lighter,10%);
  80. $grafanaListHighlightContrast: #ddd;
  81. $grafanaListMainLinkColor: $text-color;
  82. // Tables
  83. // -------------------------
  84. $table-bg: transparent; // overall background-color
  85. $table-bg-accent: #f9f9f9; // for striping
  86. $table-bg-hover: #E8F8FD; // for hover
  87. $table-bg-active: $table-bg-hover !default;
  88. $table-border: #ddd; // table and cell border
  89. // Scrollbars
  90. $scrollbarBackground: $gray-lighter;
  91. $scrollbarBackground2: $gray-lighter;
  92. $scrollbarBorder: $gray-light;
  93. // Buttons
  94. // -------------------------
  95. $btnBackground: $gray-lighter;
  96. $btnBackgroundHighlight: darken($gray-lighter, 15%);
  97. $btnBorder: #bbb;
  98. $btn-primary-bg: $brand-primary;
  99. $btn-primary-bg-hl: lighten($brand-primary, 10%);
  100. $btnInfoBackground: lighten($purple, 3%);
  101. $btnInfoBackgroundHighlight: darken($purple, 3%);
  102. $btnSuccessBackground: lighten($green, 3%);
  103. $btnSuccessBackgroundHighlight: darken($green, 3%);
  104. $btnWarningBackground: lighten($orange, 3%);
  105. $btnWarningBackgroundHighlight: darken($orange, 3%);
  106. $btnDangerBackground: lighten($red, 3%);
  107. $btnDangerBackgroundHighlight: darken($red, 3%);
  108. $btnInverseBackground: $gray-lighter;
  109. $btnInverseBackgroundHighlight: darken($gray-lighter, 5%);
  110. $btnInverseText: $black;
  111. $btnInverseBorder: $gray-light;
  112. $btnText: $gray-lighter;
  113. $iconContainerBackground: $white;
  114. $iconContainerBackgroundHighlight: lighten($white, 5%);
  115. $iconContainerBorder: 1px solid rgba(0,0,0, 0.05);
  116. $iconContainerShadow: 0 0 14px 2px rgba(0,0,0, 0.05);
  117. // Forms
  118. // -------------------------
  119. $input-bg: $white;
  120. $input-bg-disabled: $gray-lighter;
  121. $input-color: #020202;
  122. $input-border-color: $gray-lighter;
  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';