_variables.generated.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. /***
  2. * !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
  3. *
  4. * Do not modify this file!
  5. * - Edit grafana-ui/src/themes/default.ts to regenerate
  6. * - Edit grafana-ui/src/themes/_variables.scss.tmpl.ts to update template
  7. *
  8. * !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
  9. */
  10. // Options
  11. //
  12. // Quickly modify global styling by enabling or disabling optional features.
  13. $enable-flex: true !default;
  14. $enable-hover-media-query: false !default;
  15. // Spacing
  16. //
  17. // Control the default styling of most Bootstrap elements by modifying these
  18. // variables. Mostly focused on spacing.
  19. $space-inset-squish-md: 4px 8px !default;
  20. $space-xxs: 2px !default;
  21. $space-xs: 4px !default;
  22. $space-sm: 8px !default;
  23. $space-md: 16px !default;
  24. $space-lg: 24px !default;
  25. $space-xl: 32px !default;
  26. $spacer: 14px !default;
  27. $spacer-x: $spacer !default;
  28. $spacer-y: $spacer !default;
  29. $spacers: (
  30. 0: (
  31. x: 0,
  32. y: 0,
  33. ),
  34. 1: (
  35. x: $spacer-x,
  36. y: $spacer-y,
  37. ),
  38. 2: (
  39. x: (
  40. $spacer-x * 1.5,
  41. ),
  42. y: (
  43. $spacer-y * 1.5,
  44. ),
  45. ),
  46. 3: (
  47. x: (
  48. $spacer-x * 3,
  49. ),
  50. y: (
  51. $spacer-y * 3,
  52. ),
  53. ),
  54. ) !default;
  55. // Grid breakpoints
  56. //
  57. // Define the minimum and maximum dimensions at which your layout will change,
  58. // adapting to different screen sizes, for use in media queries.
  59. $grid-breakpoints: (
  60. xs: 0,
  61. sm: 544px,
  62. md: 768px,
  63. lg: 992px,
  64. xl: 1200px,
  65. ) !default;
  66. // Grid containers
  67. //
  68. // Define the maximum width of `.container` for different screen sizes.
  69. $container-max-widths: (
  70. sm: 576px,
  71. md: 720px,
  72. lg: 940px,
  73. xl: 1080px,
  74. ) !default;
  75. // Grid columns
  76. //
  77. // Set the number of columns and specify the width of the gutters.
  78. $grid-columns: 12 !default;
  79. $grid-gutter-width: 30px !default;
  80. // Typography
  81. // -------------------------
  82. $font-family-sans-serif: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  83. $font-family-monospace: Menlo, Monaco, Consolas, 'Courier New', monospace;
  84. $font-size-root: 14px !default;
  85. $font-size-base: 13px !default;
  86. $font-size-lg: 18px !default;
  87. $font-size-md: 14px !default;
  88. $font-size-sm: 12px !default;
  89. $font-size-xs: 10px !default;
  90. $line-height-base: 1.5 !default;
  91. $font-weight-regular: 400 !default;
  92. $font-weight-semi-bold: 500 !default;
  93. $font-size-h1: 28px !default;
  94. $font-size-h2: 24px !default;
  95. $font-size-h3: 21px !default;
  96. $font-size-h4: 18px !default;
  97. $font-size-h5: 16px !default;
  98. $font-size-h6: 14px !default;
  99. $headings-line-height: 1.1 !default;
  100. // Components
  101. //
  102. // Define common padding and border radius sizes and more.
  103. $border-width: 1px !default;
  104. $border-radius: 3px !default;
  105. $border-radius-lg: 5px !default;
  106. $border-radius-sm: 2px !default;
  107. // Page
  108. $page-sidebar-width: 154px;
  109. $page-sidebar-margin: 56px;
  110. // Links
  111. // -------------------------
  112. $link-decoration: none !default;
  113. $link-hover-decoration: none !default;
  114. // Forms
  115. $input-line-height: 18px !default;
  116. $input-border-radius: 0 $border-radius $border-radius 0 !default;
  117. $input-border-radius-sm: 0 $border-radius-sm $border-radius-sm 0 !default;
  118. $label-border-radius: $border-radius 0 0 $border-radius !default;
  119. $label-border-radius-sm: $border-radius-sm 0 0 $border-radius-sm !default;
  120. $input-padding: 8px;
  121. $input-height: 35px !default;
  122. $cursor-disabled: not-allowed !default;
  123. // Form validation icons
  124. $form-icon-success: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") !default;
  125. $form-icon-warning: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E") !default;
  126. $form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E") !default;
  127. // Z-index master list
  128. // -------------------------
  129. // Used for a bird's eye view of components dependent on the z-axis
  130. // Try to avoid customizing these :)
  131. $zindex-dropdown: 1000;
  132. $zindex-navbar-fixed: 1020;
  133. $zindex-sidemenu: 1025;
  134. $zindex-tooltip: 1030;
  135. $zindex-modal-backdrop: 1040;
  136. $zindex-modal: 1050;
  137. $zindex-typeahead: 1060;
  138. // Buttons
  139. //
  140. $btn-padding-x: 14px !default;
  141. $btn-padding-y: 10px !default;
  142. $btn-line-height: 1 !default;
  143. $btn-font-weight: 500 !default;
  144. $btn-padding-x-sm: 7px !default;
  145. $btn-padding-y-sm: 4px !default;
  146. $btn-padding-x-lg: 21px !default;
  147. $btn-padding-y-lg: 11px !default;
  148. $btn-padding-x-xl: 21px !default;
  149. $btn-padding-y-xl: 11px !default;
  150. $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
  151. // sidemenu
  152. $side-menu-width: 60px;
  153. // dashboard
  154. $dashboard-padding: $space-md;
  155. $panel-padding: 0 16px 8px 16px;
  156. // tabs
  157. $tabs-padding: 10px 15px 9px;
  158. $external-services: (
  159. github: (
  160. bgColor: #464646,
  161. borderColor: #393939,
  162. icon: '',
  163. ),
  164. gitlab: (
  165. bgColor: #fc6d26,
  166. borderColor: #e24329,
  167. icon: '',
  168. ),
  169. google: (
  170. bgColor: #e84d3c,
  171. borderColor: #b83e31,
  172. icon: '',
  173. ),
  174. grafanacom: (
  175. bgColor: #262628,
  176. borderColor: #393939,
  177. icon: '',
  178. ),
  179. oauth: (
  180. bgColor: #262628,
  181. borderColor: #393939,
  182. icon: '',
  183. ),
  184. ) !default;