_variables.light.scss 7.4 KB

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