_icons.scss 6.8 KB

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