_icons.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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.5;
  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-folder-new {
  96. background-image: url('../img/icons_#{$theme-name}_theme/icon_add_folder.svg');
  97. }
  98. .gicon-home {
  99. background-image: url('../img/icons_#{$theme-name}_theme/icon_home.svg');
  100. }
  101. .gicon-json {
  102. background-image: url('../img/icons_#{$theme-name}_theme/icon_json.svg');
  103. }
  104. .gicon-link {
  105. background-image: url('../img/icons_#{$theme-name}_theme/icon_link.svg');
  106. }
  107. .gicon-manage {
  108. background-image: url('../img/icons_#{$theme-name}_theme/icon_sitemap.svg');
  109. }
  110. .gicon-org {
  111. background-image: url('../img/icons_#{$theme-name}_theme/icon_org.svg');
  112. }
  113. .gicon-playlists {
  114. background-image: url('../img/icons_#{$theme-name}_theme/icon_playlist.svg');
  115. }
  116. .gicon-plugins {
  117. background-image: url('../img/icons_#{$theme-name}_theme/icon_plugins.svg');
  118. }
  119. .gicon-preferences {
  120. background-image: url('../img/icons_#{$theme-name}_theme/icon_preferences.svg');
  121. }
  122. .gicon-question {
  123. background-image: url('../img/icons_#{$theme-name}_theme/icon_question.svg');
  124. }
  125. .gicon-shield {
  126. background-image: url('../img/icons_#{$theme-name}_theme/icon_shield.svg');
  127. }
  128. .gicon-snapshots {
  129. background-image: url('../img/icons_#{$theme-name}_theme/icon_snapshots.svg');
  130. }
  131. .gicon-team {
  132. background-image: url('../img/icons_#{$theme-name}_theme/icon_team.svg');
  133. }
  134. .gicon-user {
  135. background-image: url('../img/icons_#{$theme-name}_theme/icon_user.svg');
  136. }
  137. .gicon-variable {
  138. background-image: url('../img/icons_#{$theme-name}_theme/icon_variable.svg');
  139. }
  140. .gicon-zoom-out {
  141. background-image: url('../img/icons_#{$theme-name}_theme/icon_zoom_out.svg');
  142. }
  143. .sidemenu {
  144. .gicon-dashboard {
  145. background-image: url('../img/icons_dark_theme/icon_dashboard.svg');
  146. }
  147. .gicon-alert {
  148. background-image: url('../img/icons_dark_theme/icon_alert.svg');
  149. }
  150. .gicon-cog {
  151. background-image: url('../img/icons_dark_theme/icon_cog.svg');
  152. }
  153. .gicon-question {
  154. background-image: url('../img/icons_dark_theme/icon_question.svg');
  155. }
  156. }
  157. .fa--permissions-list {
  158. min-width: 20px;
  159. padding-right: 5px;
  160. }