_icons.scss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. .gicon {
  2. line-height: 1;
  3. display: inline-block;
  4. width: 1.1057142857em;
  5. height: 1.1057142857em;
  6. text-align: center;
  7. background-repeat: no-repeat;
  8. background-position: center;
  9. background-size: contain;
  10. display: inline-block;
  11. vertical-align: middle;
  12. }
  13. .gicon--has-hover {
  14. opacity: 0.7;
  15. &:hover {
  16. opacity: 1;
  17. }
  18. }
  19. .mini {
  20. width: 0.8em;
  21. height: 0.8em;
  22. }
  23. .gicon-add-annotation {
  24. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_annotation.svg');
  25. }
  26. .gicon-add-annotation-alt {
  27. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_annotation_alt.svg');
  28. }
  29. .gicon-add-datasources {
  30. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_data_sources.svg');
  31. }
  32. .gicon-add-user {
  33. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_user.svg');
  34. }
  35. .gicon-add-team {
  36. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_team.svg');
  37. }
  38. .gicon-add-panel {
  39. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_panel.svg');
  40. }
  41. .gicon-add-link {
  42. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_link.svg');
  43. }
  44. .gicon-add-variable {
  45. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_variable.svg');
  46. }
  47. .gicon-add-alert-notification-channel {
  48. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_notification_channel.svg');
  49. }
  50. .gicon-alert {
  51. background-image: url('../img/icons_#{$theme-name}_theme/icon_alert.svg');
  52. }
  53. .gicon-alert-alt {
  54. background-image: url('../img/icons_#{$theme-name}_theme/icon_alert_alt.svg');
  55. }
  56. .gicon-alert-rules {
  57. background-image: url('../img/icons_#{$theme-name}_theme/icon_alert_rules.svg');
  58. }
  59. .gicon-alert-notification-channel {
  60. background-image: url('../img/icons_#{$theme-name}_theme/icon_notification_channels.svg');
  61. }
  62. .gicon-annotation {
  63. background-image: url('../img/icons_#{$theme-name}_theme/icon_annotation.svg');
  64. }
  65. .gicon-annotation-alt {
  66. background-image: url('../img/icons_#{$theme-name}_theme/icon_annotation_alt.svg');
  67. }
  68. .gicon-apikeys {
  69. background-image: url('../img/icons_#{$theme-name}_theme/icon_apikeys.svg');
  70. }
  71. .gicon-branding {
  72. background-image: url('../img/grafana_icon.svg');
  73. }
  74. .gicon-cog {
  75. background-image: url('../img/icons_#{$theme-name}_theme/icon_cog.svg');
  76. }
  77. .gicon-dashboard {
  78. background-image: url('../img/icons_#{$theme-name}_theme/icon_dashboard.svg');
  79. }
  80. .gicon-dashboard-starred {
  81. background-image: url('../img/icons_#{$theme-name}_theme/icon_dashboard_fav.svg');
  82. }
  83. .gicon-dashboard-list {
  84. background-image: url('../img/icons_#{$theme-name}_theme/icon_dashboard_list.svg');
  85. }
  86. .gicon-dashboard-new {
  87. background-image: url('../img/icons_#{$theme-name}_theme/icon_new_dashboard.svg');
  88. }
  89. .gicon-dashboard-import {
  90. background-image: url('../img/icons_#{$theme-name}_theme/icon_import_dashboard.svg');
  91. }
  92. .gicon-datasources {
  93. background-image: url('../img/icons_#{$theme-name}_theme/icon_data_sources.svg');
  94. }
  95. .gicon-editor {
  96. background-image: url('../img/icons_#{$theme-name}_theme/icon_editor.svg');
  97. }
  98. .gicon-folder-new {
  99. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_folder.svg');
  100. }
  101. .gicon-home {
  102. background-image: url('../img/icons_#{$theme-name}_theme/icon_home.svg');
  103. }
  104. .gicon-json {
  105. background-image: url('../img/icons_#{$theme-name}_theme/icon_json.svg');
  106. }
  107. .gicon-link {
  108. background-image: url('../img/icons_#{$theme-name}_theme/icon_link.svg');
  109. }
  110. .gicon-manage {
  111. background-image: url('../img/icons_#{$theme-name}_theme/icon_sitemap.svg');
  112. }
  113. .gicon-org {
  114. background-image: url('../img/icons_#{$theme-name}_theme/icon_org.svg');
  115. }
  116. .gicon-playlists {
  117. background-image: url('../img/icons_#{$theme-name}_theme/icon_playlist.svg');
  118. }
  119. .gicon-plugins {
  120. background-image: url('../img/icons_#{$theme-name}_theme/icon_plugins.svg');
  121. }
  122. .gicon-preferences {
  123. background-image: url('../img/icons_#{$theme-name}_theme/icon_preferences.svg');
  124. }
  125. .gicon-question {
  126. background-image: url('../img/icons_#{$theme-name}_theme/icon_question.svg');
  127. }
  128. .gicon-shield {
  129. background-image: url('../img/icons_#{$theme-name}_theme/icon_shield.svg');
  130. }
  131. .gicon-snapshots {
  132. background-image: url('../img/icons_#{$theme-name}_theme/icon_snapshots.svg');
  133. }
  134. .gicon-team {
  135. background-image: url('../img/icons_#{$theme-name}_theme/icon_team.svg');
  136. }
  137. .gicon-user {
  138. background-image: url('../img/icons_#{$theme-name}_theme/icon_user.svg');
  139. }
  140. .gicon-variable {
  141. background-image: url('../img/icons_#{$theme-name}_theme/icon_variable.svg');
  142. }
  143. .gicon-viewer {
  144. background-image: url('../img/icons_#{$theme-name}_theme/icon_viewer.svg');
  145. }
  146. .gicon-zoom-out {
  147. background-image: url('../img/icons_#{$theme-name}_theme/icon_zoom_out.svg');
  148. }
  149. .gicon-explore {
  150. background-image: url('../img/icons_#{$theme-name}_theme/icon_explore.svg');
  151. }
  152. .sidemenu {
  153. .gicon-dashboard {
  154. background-image: url('../img/icons_dark_theme/icon_dashboard.svg');
  155. }
  156. .gicon-alert {
  157. background-image: url('../img/icons_dark_theme/icon_alert.svg');
  158. }
  159. .gicon-cog {
  160. background-image: url('../img/icons_dark_theme/icon_cog.svg');
  161. }
  162. .gicon-question {
  163. background-image: url('../img/icons_dark_theme/icon_question.svg');
  164. }
  165. .gicon-explore {
  166. background-image: url('../img/icons_dark_theme/icon_explore.svg');
  167. }
  168. .gicon-shield {
  169. background-image: url('../img/icons_dark_theme/icon_shield.svg');
  170. }
  171. }
  172. .fa--permissions-list {
  173. min-width: 20px;
  174. padding-right: 5px;
  175. }
  176. .panel-editor-tabs,
  177. .add-panel-widget__icon {
  178. .gicon-advanced-active {
  179. background-image: url('../img/icons_#{$theme-name}_theme/icon_advanced_active.svg');
  180. }
  181. .gicon-advanced {
  182. background-image: url('../img/icons_#{$theme-name}_theme/icon_advanced.svg');
  183. }
  184. .gicon-alert-active {
  185. background-image: url('../img/icons_#{$theme-name}_theme/icon_alerting_active.svg');
  186. }
  187. .gicon-alert {
  188. background-image: url('../img/icons_#{$theme-name}_theme/icon_alerting.svg');
  189. }
  190. .gicon-queries-active {
  191. background-image: url('../img/icons_#{$theme-name}_theme/icon_query_active.svg');
  192. }
  193. .gicon-queries {
  194. background-image: url('../img/icons_#{$theme-name}_theme/icon_query.svg');
  195. }
  196. .gicon-visualization-active {
  197. background-image: url('../img/icons_#{$theme-name}_theme/icon_visualize_active.svg');
  198. }
  199. .gicon-visualization {
  200. background-image: url('../img/icons_#{$theme-name}_theme/icon_visualize.svg');
  201. }
  202. }