_variables.light.scss 7.1 KB

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