_icons.scss 6.4 KB

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