grafana/public/sass/base/_icons.scss
Jacky 1ff69db5cb
Make name unique to fix issue #22426 (#22458)
* make name unique

* delete mini class instead rename

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-04-10 17:02:18 +02:00

280 lines
6.8 KiB
SCSS

.gicon {
line-height: 1;
display: inline-block;
width: 1.1057142857em;
height: 1.1057142857em;
text-align: center;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
display: inline-block;
vertical-align: middle;
}
.icon--has-hover {
opacity: 0.7;
&:hover {
opacity: 1;
}
}
.gicon-add-annotation {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_annotation.svg');
}
// not used
.gicon-add-annotation-alt {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_annotation_alt.svg');
}
.gicon-add-datasources {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_data_sources.svg');
}
// not used
.gicon-add-user {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_user.svg');
}
.gicon-add-team {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_team.svg');
}
.gicon-add-panel {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_panel.svg');
}
.gicon-add-link {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_link.svg');
}
.gicon-add-variable {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_variable.svg');
}
.gicon-add-alert-notification-channel {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_notification_channel.svg');
}
.gicon-alert {
background-image: url('../img/icons_#{$theme-name}_theme/icon_alert.svg');
}
.gicon-remove {
background-image: url('../img/icons_#{$theme-name}_theme/icon_remove.svg');
}
.gicon-arrow-left {
background-image: url('../img/icons_#{$theme-name}_theme/icon_arrow_left.svg');
}
.gicon-arrow-left-circle {
background-image: url('../img/icons_#{$theme-name}_theme/icon_arrow_left_circle.svg');
}
//not used
.gicon-alert-alt {
background-image: url('../img/icons_#{$theme-name}_theme/icon_alert_alt.svg');
}
.gicon-alert-rules {
background-image: url('../img/icons_#{$theme-name}_theme/icon_alert_rules.svg');
}
.gicon-alert-notification-channel {
background-image: url('../img/icons_#{$theme-name}_theme/icon_notification_channels.svg');
}
.gicon-annotation {
background-image: url('../img/icons_#{$theme-name}_theme/icon_annotation.svg');
}
//not used
.gicon-annotation-alt {
background-image: url('../img/icons_#{$theme-name}_theme/icon_annotation_alt.svg');
}
.gicon-apikeys {
background-image: url('../img/icons_#{$theme-name}_theme/icon_apikeys.svg');
}
.gicon-branding {
background-image: url('../img/grafana_icon.svg');
}
.gicon-cog {
background-image: url('../img/icons_#{$theme-name}_theme/icon_cog.svg');
}
.gicon-dashboard {
background-image: url('../img/icons_#{$theme-name}_theme/icon_dashboard.svg');
}
//not used
.gicon-dashboard-starred {
background-image: url('../img/icons_#{$theme-name}_theme/icon_dashboard_fav.svg');
}
.gicon-dashboard-list {
background-image: url('../img/icons_#{$theme-name}_theme/icon_dashboard_list.svg');
}
.gicon-dashboard-new {
background-image: url('../img/icons_#{$theme-name}_theme/icon_new_dashboard.svg');
}
.gicon-dashboard-import {
background-image: url('../img/icons_#{$theme-name}_theme/icon_import_dashboard.svg');
}
.gicon-datasources {
background-image: url('../img/icons_#{$theme-name}_theme/icon_data_sources.svg');
}
.gicon-editor {
background-image: url('../img/icons_#{$theme-name}_theme/icon_editor.svg');
}
.gicon-folder-new {
background-image: url('../img/icons_#{$theme-name}_theme/icon_add_folder.svg');
}
.gicon-home {
background-image: url('../img/icons_#{$theme-name}_theme/icon_home.svg');
}
.gicon-json {
background-image: url('../img/icons_#{$theme-name}_theme/icon_json.svg');
}
.gicon-link {
background-image: url('../img/icons_#{$theme-name}_theme/icon_link.svg');
}
.gicon-manage {
background-image: url('../img/icons_#{$theme-name}_theme/icon_sitemap.svg');
}
.gicon-org {
background-image: url('../img/icons_#{$theme-name}_theme/icon_org.svg');
}
.gicon-playlists {
background-image: url('../img/icons_#{$theme-name}_theme/icon_playlist.svg');
}
.gicon-plugins {
background-image: url('../img/icons_#{$theme-name}_theme/icon_plugins.svg');
}
.gicon-preferences {
background-image: url('../img/icons_#{$theme-name}_theme/icon_preferences.svg');
}
.gicon-question {
background-image: url('../img/icons_#{$theme-name}_theme/icon_question.svg');
}
.gicon-shield {
background-image: url('../img/icons_#{$theme-name}_theme/icon_shield.svg');
}
.gicon-snapshots {
background-image: url('../img/icons_#{$theme-name}_theme/icon_snapshots.svg');
}
.gicon-team {
background-image: url('../img/icons_#{$theme-name}_theme/icon_team.svg');
}
.gicon-user {
background-image: url('../img/icons_#{$theme-name}_theme/icon_user.svg');
}
.gicon-variable {
background-image: url('../img/icons_#{$theme-name}_theme/icon_variable.svg');
}
.gicon-viewer {
background-image: url('../img/icons_#{$theme-name}_theme/icon_viewer.svg');
}
//not used
.gicon-zoom-out {
background-image: url('../img/icons_#{$theme-name}_theme/icon_zoom_out.svg');
}
.gicon-explore {
background-image: url('../img/icons_#{$theme-name}_theme/icon_explore.svg');
}
.gicon-reports {
background-image: url('../img/icons_#{$theme-name}_theme/icon_reports.svg');
}
.sidemenu {
.gicon-dashboard {
background-image: url('../img/icons_dark_theme/icon_dashboard.svg');
}
.gicon-alert {
background-image: url('../img/icons_dark_theme/icon_alert.svg');
}
.gicon-cog {
background-image: url('../img/icons_dark_theme/icon_cog.svg');
}
.gicon-question {
background-image: url('../img/icons_dark_theme/icon_question.svg');
}
.gicon-explore {
background-image: url('../img/icons_dark_theme/icon_explore.svg');
}
.gicon-shield {
background-image: url('../img/icons_dark_theme/icon_shield.svg');
}
.gicon-reports {
background-image: url('../img/icons_dark_theme/icon_reports.svg');
}
}
// not used
.fa--permissions-list {
min-width: 20px;
padding-right: 5px;
}
.panel-editor-tabs,
.add-panel-widget__icon {
.gicon-advanced-active {
background-image: url('../img/icons_#{$theme-name}_theme/icon_advanced_active.svg');
}
.gicon-advanced {
background-image: url('../img/icons_#{$theme-name}_theme/icon_advanced.svg');
}
.gicon-alert-active {
background-image: url('../img/icons_#{$theme-name}_theme/icon_alerting_active.svg');
}
.gicon-alert {
background-image: url('../img/icons_#{$theme-name}_theme/icon_alerting.svg');
}
.gicon-queries-active {
background-image: url('../img/icons_#{$theme-name}_theme/icon_query_active.svg');
}
.gicon-queries {
background-image: url('../img/icons_#{$theme-name}_theme/icon_query.svg');
}
.gicon-visualization-active {
background-image: url('../img/icons_#{$theme-name}_theme/icon_visualize_active.svg');
}
.gicon-visualization {
background-image: url('../img/icons_#{$theme-name}_theme/icon_visualize.svg');
}
}