_variables.generated.scss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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-xxs: 2px !default;
  20. $space-xs: 4px !default;
  21. $space-sm: 8px !default;
  22. $space-md: 16px !default;
  23. $space-lg: 24px !default;
  24. $space-xl: 32px !default;
  25. $spacer: 14px !default;
  26. $spacer-x: $spacer !default;
  27. $spacer-y: $spacer !default;
  28. $spacers: (
  29. 0: (
  30. x: 0,
  31. y: 0,
  32. ),
  33. 1: (
  34. x: $spacer-x,
  35. y: $spacer-y,
  36. ),
  37. 2: (
  38. x: (
  39. $spacer-x * 1.5,
  40. ),
  41. y: (
  42. $spacer-y * 1.5,
  43. ),
  44. ),
  45. 3: (
  46. x: (
  47. $spacer-x * 3,
  48. ),
  49. y: (
  50. $spacer-y * 3,
  51. ),
  52. ),
  53. ) !default;
  54. $border-width: 1px !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. $enable-flex: true;
  81. // Typography
  82. // -------------------------
  83. $font-family-sans-serif: 'Roboto', Helvetica, Arial, sans-serif;
  84. $font-family-monospace: Menlo, Monaco, Consolas, 'Courier New', monospace;
  85. $font-family-base: $font-family-sans-serif !default;
  86. $font-size-root: 14px !default;
  87. $font-size-base: 13px !default;
  88. $font-size-lg: 18px !default;
  89. $font-size-md: 14px !default;
  90. $font-size-sm: 12px !default;
  91. $font-size-xs: 10px !default;
  92. $line-height-base: 1.5 !default;
  93. $font-weight-semi-bold: 500;
  94. $font-size-h1: 28px !default;
  95. $font-size-h2: 24px !default;
  96. $font-size-h3: 21px !default;
  97. $font-size-h4: 18px !default;
  98. $font-size-h5: 16px !default;
  99. $font-size-h6: 14px !default;
  100. $headings-font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  101. $headings-font-weight: 400 !default;
  102. $headings-line-height: 1.1 !default;
  103. $hr-border-width: $border-width !default;
  104. $dt-font-weight: bold !default;
  105. // Components
  106. //
  107. // Define common padding and border radius sizes and more.
  108. $line-height-lg: (4 / 3) !default;
  109. $line-height-sm: 1.5 !default;
  110. $border-radius: 3px !default;
  111. $border-radius-lg: 5px !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. // Tables
  121. //
  122. // Customizes the `.table` component with basic values, each used across all table variations.
  123. $table-cell-padding: 4px 10px !default;
  124. // Forms
  125. $input-padding-x: 10px !default;
  126. $input-padding-y: 8px !default;
  127. $input-line-height: 18px !default;
  128. $input-btn-border-width: 1px;
  129. $input-border-radius: 0 $border-radius $border-radius 0 !default;
  130. $input-border-radius-sm: 0 $border-radius-sm $border-radius-sm 0 !default;
  131. $label-border-radius: $border-radius 0 0 $border-radius !default;
  132. $label-border-radius-sm: $border-radius-sm 0 0 $border-radius-sm !default;
  133. $input-padding-y-sm: 4px !default;
  134. $input-padding-x-lg: 20px !default;
  135. $input-padding-y-lg: 10px !default;
  136. $input-height: 35px !default;
  137. $gf-form-input-height: 35px;
  138. $cursor-disabled: not-allowed !default;
  139. // Form validation icons
  140. $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;
  141. $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;
  142. $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;
  143. // Z-index master list
  144. // -------------------------
  145. // Used for a bird's eye view of components dependent on the z-axis
  146. // Try to avoid customizing these :)
  147. $zindex-dropdown: 1000;
  148. $zindex-navbar-fixed: 1020;
  149. $zindex-sidemenu: 1025;
  150. $zindex-tooltip: 1030;
  151. $zindex-modal-backdrop: 1040;
  152. $zindex-modal: 1050;
  153. $zindex-typeahead: 1060;
  154. // Buttons
  155. //
  156. $btn-padding-x: 14px !default;
  157. $btn-padding-y: 10px !default;
  158. $btn-line-height: 1 !default;
  159. $btn-font-weight: 500 !default;
  160. $btn-padding-x-sm: 7px !default;
  161. $btn-padding-y-sm: 4px !default;
  162. $btn-padding-x-lg: 21px !default;
  163. $btn-padding-y-lg: 11px !default;
  164. $btn-padding-x-xl: 21px !default;
  165. $btn-padding-y-xl: 11px !default;
  166. $btn-border-radius: 2px;
  167. $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
  168. // sidemenu
  169. $side-menu-width: 60px;
  170. // dashboard
  171. $dashboard-padding: 10px * 2;
  172. $panel-horizontal-padding: 10;
  173. $panel-vertical-padding: 5;
  174. $panel-padding: 0px $panel-horizontal-padding + 0px $panel-vertical-padding + 0px $panel-horizontal-padding + 0px;
  175. // tabs
  176. $tabs-padding: 10px 15px 9px;
  177. $external-services: (
  178. github: (
  179. bgColor: #464646,
  180. borderColor: #393939,
  181. icon: '',
  182. ),
  183. gitlab: (
  184. bgColor: #fc6d26,
  185. borderColor: #e24329,
  186. icon: '',
  187. ),
  188. google: (
  189. bgColor: #e84d3c,
  190. borderColor: #b83e31,
  191. icon: '',
  192. ),
  193. grafanacom: (
  194. bgColor: #262628,
  195. borderColor: #393939,
  196. icon: '',
  197. ),
  198. oauth: (
  199. bgColor: #262628,
  200. borderColor: #393939,
  201. icon: '',
  202. ),
  203. ) !default;
  204. :export {
  205. panelhorizontalpadding: $panel-horizontal-padding;
  206. panelverticalpadding: $panel-vertical-padding;
  207. }