_variables.generated.scss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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. $spacer: 1rem !default;
  20. $spacer-x: $spacer !default;
  21. $spacer-y: $spacer !default;
  22. $spacers: (
  23. 0: (
  24. x: 0,
  25. y: 0,
  26. ),
  27. 1: (
  28. x: $spacer-x,
  29. y: $spacer-y,
  30. ),
  31. 2: (
  32. x: (
  33. $spacer-x * 1.5,
  34. ),
  35. y: (
  36. $spacer-y * 1.5,
  37. ),
  38. ),
  39. 3: (
  40. x: (
  41. $spacer-x * 3,
  42. ),
  43. y: (
  44. $spacer-y * 3,
  45. ),
  46. ),
  47. ) !default;
  48. $border-width: 1px !default;
  49. // Grid breakpoints
  50. //
  51. // Define the minimum and maximum dimensions at which your layout will change,
  52. // adapting to different screen sizes, for use in media queries.
  53. $grid-breakpoints: (
  54. xs: 0,
  55. sm: 544px,
  56. md: 768px,
  57. lg: 992px,
  58. xl: 1200px,
  59. ) !default;
  60. // Grid containers
  61. //
  62. // Define the maximum width of `.container` for different screen sizes.
  63. $container-max-widths: (
  64. sm: 576px,
  65. md: 720px,
  66. lg: 940px,
  67. xl: 1080px,
  68. ) !default;
  69. // Grid columns
  70. //
  71. // Set the number of columns and specify the width of the gutters.
  72. $grid-columns: 12 !default;
  73. $grid-gutter-width: 30px !default;
  74. $enable-flex: true;
  75. // Typography
  76. // -------------------------
  77. $font-family-sans-serif: 'Roboto', Helvetica, Arial, sans-serif;
  78. $font-family-serif: Georgia, 'Times New Roman', Times, serif;
  79. $font-family-monospace: Menlo, Monaco, Consolas, 'Courier New', monospace;
  80. $font-family-base: $font-family-sans-serif !default;
  81. $font-size-root: 14px !default;
  82. $font-size-base: 13px !default;
  83. $font-size-lg: 18px !default;
  84. $font-size-md: 14px !default;
  85. $font-size-sm: 12px !default;
  86. $font-size-xs: 10px !default;
  87. $line-height-base: 1.5 !default;
  88. $font-weight-semi-bold: 500;
  89. $font-size-h1: 2rem !default;
  90. $font-size-h2: 1.75rem !default;
  91. $font-size-h3: 1.5rem !default;
  92. $font-size-h4: 1.3rem !default;
  93. $font-size-h5: 1.2rem !default;
  94. $font-size-h6: 1rem !default;
  95. $display1-size: 6rem !default;
  96. $display2-size: 5.5rem !default;
  97. $display3-size: 4.5rem !default;
  98. $display4-size: 3.5rem !default;
  99. $display1-weight: 400 !default;
  100. $display2-weight: 400 !default;
  101. $display3-weight: 400 !default;
  102. $display4-weight: 400 !default;
  103. $lead-font-size: 1.25rem !default;
  104. $lead-font-weight: 300 !default;
  105. $headings-margin-bottom: ($spacer / 2) !default;
  106. $headings-font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  107. $headings-font-weight: 400 !default;
  108. $headings-line-height: 1.1 !default;
  109. $hr-border-width: $border-width !default;
  110. $dt-font-weight: bold !default;
  111. // Components
  112. //
  113. // Define common padding and border radius sizes and more.
  114. $line-height-lg: (4 / 3) !default;
  115. $line-height-sm: 1.5 !default;
  116. $border-radius: 3px !default;
  117. $border-radius-lg: 5px !default;
  118. $border-radius-sm: 2px !default;
  119. // Page
  120. $page-sidebar-width: 11rem;
  121. $page-sidebar-margin: 4rem;
  122. // Links
  123. // -------------------------
  124. $link-decoration: none !default;
  125. $link-hover-decoration: none !default;
  126. // Tables
  127. //
  128. // Customizes the `.table` component with basic values, each used across all table variations.
  129. $table-cell-padding: 4px 10px !default;
  130. // Forms
  131. $input-padding-x: 10px !default;
  132. $input-padding-y: 8px !default;
  133. $input-line-height: 18px !default;
  134. $input-btn-border-width: 1px;
  135. $input-border-radius: 0 $border-radius $border-radius 0 !default;
  136. $input-border-radius-sm: 0 $border-radius-sm $border-radius-sm 0 !default;
  137. $label-border-radius: $border-radius 0 0 $border-radius !default;
  138. $label-border-radius-sm: $border-radius-sm 0 0 $border-radius-sm !default;
  139. $input-padding-y-sm: 4px !default;
  140. $input-padding-x-lg: 20px !default;
  141. $input-padding-y-lg: 10px !default;
  142. $input-height: 35px !default;
  143. $gf-form-margin: 0.2rem;
  144. $gf-form-input-height: 35px;
  145. $cursor-disabled: not-allowed !default;
  146. // Form validation icons
  147. $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;
  148. $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;
  149. $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;
  150. // Z-index master list
  151. // -------------------------
  152. // Used for a bird's eye view of components dependent on the z-axis
  153. // Try to avoid customizing these :)
  154. $zindex-dropdown: 1000;
  155. $zindex-navbar-fixed: 1020;
  156. $zindex-sidemenu: 1025;
  157. $zindex-tooltip: 1030;
  158. $zindex-modal-backdrop: 1040;
  159. $zindex-modal: 1050;
  160. $zindex-typeahead: 1060;
  161. // Buttons
  162. //
  163. $btn-padding-x: 1rem !default;
  164. $btn-padding-y: 0.7rem !default;
  165. $btn-line-height: 1 !default;
  166. $btn-font-weight: 500 !default;
  167. $btn-padding-x-sm: 0.5rem !default;
  168. $btn-padding-y-sm: 0.25rem !default;
  169. $btn-padding-x-lg: 21px !default;
  170. $btn-padding-y-lg: 11px !default;
  171. $btn-padding-x-xl: 21px !default;
  172. $btn-padding-y-xl: 11px !default;
  173. $btn-border-radius: 2px;
  174. $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
  175. // sidemenu
  176. $side-menu-width: 60px;
  177. // dashboard
  178. $panel-margin: 10px;
  179. $dashboard-padding: $panel-margin * 2;
  180. $panel-horizontal-padding: 10;
  181. $panel-vertical-padding: 5;
  182. $panel-padding: 0px $panel-horizontal-padding + 0px $panel-vertical-padding + 0px $panel-horizontal-padding + 0px;
  183. // tabs
  184. $tabs-padding: 10px 15px 9px;
  185. $external-services: (
  186. github: (
  187. bgColor: #464646,
  188. borderColor: #393939,
  189. icon: '',
  190. ),
  191. gitlab: (
  192. bgColor: #fc6d26,
  193. borderColor: #e24329,
  194. icon: '',
  195. ),
  196. google: (
  197. bgColor: #e84d3c,
  198. borderColor: #b83e31,
  199. icon: '',
  200. ),
  201. grafanacom: (
  202. bgColor: #262628,
  203. borderColor: #393939,
  204. icon: '',
  205. ),
  206. oauth: (
  207. bgColor: #262628,
  208. borderColor: #393939,
  209. icon: '',
  210. ),
  211. ) !default;
  212. :export {
  213. panelhorizontalpadding: $panel-horizontal-padding;
  214. panelverticalpadding: $panel-vertical-padding;
  215. }