_variables.generated.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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: 16px !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: 0px,
  61. sm: 544px,
  62. md: 769px,
  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: 32px !default;
  80. // Component heights
  81. // -------------------------
  82. $height-sm: 24;
  83. $height-md: 32;
  84. $height-lg: 48;
  85. // Typography
  86. // -------------------------
  87. /* stylelint-disable-next-line string-quotes */
  88. $font-family-sans-serif: "Roboto", "Helvetica", "Arial", sans-serif;
  89. /* stylelint-disable-next-line string-quotes */
  90. $font-family-monospace: 'Roboto Mono', monospace;
  91. $font-size-base: 14px !default;
  92. $font-size-lg: 18px !default;
  93. $font-size-md: 14px !default;
  94. $font-size-sm: 12px !default;
  95. $font-size-xs: 10px !default;
  96. $line-height-base: 1.5 !default;
  97. $font-weight-regular: 400 !default;
  98. $font-weight-semi-bold: 500 !default;
  99. $font-size-h1: 2rem !default;
  100. $font-size-h2: 1.7142857142857142rem !default;
  101. $font-size-h3: 1.5rem !default;
  102. $font-size-h4: 1.2857142857142858rem !default;
  103. $font-size-h5: 1.1428571428571428rem !default;
  104. $font-size-h6: 1rem !default;
  105. $headings-line-height: 1.5 !default;
  106. // Components
  107. //
  108. // Define common padding and border radius sizes and more.
  109. $border-width: 1px !default;
  110. $border-radius: 2px !default;
  111. $border-radius-lg: 6px !default;
  112. $border-radius-sm: 2px !default;
  113. // Page
  114. $page-sidebar-width: 154px;
  115. $page-sidebar-margin: 56px;
  116. // Links
  117. // -------------------------
  118. $link-decoration: none !default;
  119. $link-hover-decoration: none !default;
  120. // Forms
  121. $input-line-height: 18px !default;
  122. $input-border-radius: $border-radius;
  123. $input-padding: 0 8px;
  124. $input-height: 32px !default;
  125. $cursor-disabled: not-allowed !default;
  126. // Form validation icons
  127. $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;
  128. $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;
  129. $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;
  130. // Z-index master list
  131. // -------------------------
  132. // Used for a bird's eye view of components dependent on the z-axis
  133. // Try to avoid customizing these :)
  134. $zindex-dropdown: 1030;
  135. $zindex-navbar-fixed: 1000;
  136. $zindex-sidemenu: 1020;
  137. $zindex-tooltip: 1040;
  138. $zindex-modal-backdrop: 1050;
  139. $zindex-modal: 1060;
  140. $zindex-typeahead: 1030;
  141. // Buttons
  142. //
  143. $btn-padding-x: 14px !default;
  144. $btn-padding-y: 0 !default;
  145. $btn-line-height: $line-height-base;
  146. $btn-font-weight: 500 !default;
  147. $btn-padding-x-sm: 7px !default;
  148. $btn-padding-y-sm: 4px !default;
  149. $btn-padding-x-lg: 21px !default;
  150. $btn-padding-y-lg: 11px !default;
  151. $btn-padding-x-xl: 21px !default;
  152. $btn-padding-y-xl: 11px !default;
  153. $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
  154. // sidemenu
  155. $side-menu-width: 60px;
  156. $navbar-padding: 20px;
  157. // dashboard
  158. $dashboard-padding: $space-md;
  159. $panel-padding: 8px;
  160. $panel-header-height: 32px;
  161. $panel-header-z-index: 10;
  162. // tabs
  163. $tabs-padding: 10px 15px 9px;
  164. $external-services: (
  165. github: (
  166. bgColor: #464646,
  167. borderColor: #393939,
  168. icon: '',
  169. ),
  170. gitlab: (
  171. bgColor: #fc6d26,
  172. borderColor: #e24329,
  173. icon: '',
  174. ),
  175. google: (
  176. bgColor: #e84d3c,
  177. borderColor: #b83e31,
  178. icon: '',
  179. ),
  180. azuread: (
  181. bgColor: #2f2f2f,
  182. borderColor: #2f2f2f,
  183. icon: '',
  184. ),
  185. grafanacom: (
  186. bgColor: #262628,
  187. borderColor: #393939,
  188. icon: '',
  189. ),
  190. okta: (
  191. bgColor: #2f2f2f,
  192. borderColor: #393939,
  193. icon: '',
  194. ),
  195. oauth: (
  196. bgColor: #262628,
  197. borderColor: #393939,
  198. icon: '',
  199. ),
  200. ) !default;