2
/// @author Web Team at Canonical Ltd
3
/// @link http://ubuntudesign.github.io/maas-gui-vanilla-theme/docs/#mixin-maas-icons
12
@include icon-size(16px);
15
display: inline-block;
16
vertical-align: middle;
20
background: url('#{$asset-path}images/icons/add.svg') no-repeat;
21
background-size: 100% 100%;
25
background: url('#{$asset-path}images/icons/cross.svg') no-repeat;
26
background-size: 100% 100%;
29
&.icon--cross-orange {
30
background: url('#{$asset-path}images/icons/cross_orange.svg') no-repeat;
31
background-size: 100% 100%;
35
background: url('#{$asset-path}images/icons/debug.svg') no-repeat;
36
background-size: 100% 100%;
40
background: url('#{$asset-path}images/icons/delete.svg') no-repeat;
41
background-size: 100% 100%;
45
background: url('#{$asset-path}images/icons/edit.svg') no-repeat;
46
background-size: 100% 100%;
50
background: url('#{$asset-path}images/icons/error_colour_white.svg') no-repeat;
51
background-size: 100% 100%;
54
background: url('#{$asset-path}images/icons/error_colour_black.svg') no-repeat;
58
background: url('#{$asset-path}images/icons/error_colour_mono.svg') no-repeat;
63
background: url('#{$asset-path}images/icons/help_colour_white.svg') no-repeat;
64
background-size: 100% 100%;
67
background: url('#{$asset-path}images/icons/help_colour_black.svg') no-repeat;
71
background: url('#{$asset-path}images/icons/help_colour_mono.svg') no-repeat;
76
background: url('#{$asset-path}images/icons/information_colour_white.svg') no-repeat;
77
background-size: 100% 100%;
80
background: url('#{$asset-path}images/icons/information_colour_black.svg') no-repeat;
84
background: url('#{$asset-path}images/icons/information_colour_mono.svg') no-repeat;
89
background: url('#{$asset-path}images/icons/in_progress.png') no-repeat;
90
background-size: 100% 100%;
94
background: url('#{$asset-path}images/icons/add-partition.svg') no-repeat;
95
background-size: 100% 100%;
99
background: url('#{$asset-path}images/icons/power-error.svg') no-repeat;
100
background-size: 100% 100%;
104
background: url('#{$asset-path}images/icons/power-off.svg') no-repeat;
105
background-size: 100% 100%;
109
background: url('#{$asset-path}images/icons/power-on.svg') no-repeat;
110
background-size: 100% 100%;
114
background: url('#{$asset-path}images/icons/remove.svg') no-repeat;
115
background-size: 100% 100%;
119
background: url('#{$asset-path}images/icons/success_colour_white.svg') no-repeat;
120
background-size: 100% 100%;
123
background: url('#{$asset-path}images/icons/success_colour_black.svg') no-repeat;
127
background: url('#{$asset-path}images/icons/success_colour_mono.svg') no-repeat;
132
background: url('#{$asset-path}images/icons/tooltip.svg') no-repeat;
133
background-size: 100% 100%;
136
&.icon--logical-volume {
137
background: url('#{$asset-path}images/icons/add-logical-volume.svg') no-repeat;
138
background-size: 100% 100%;
142
background: url('#{$asset-path}images/icons/warning_colour_white.svg') no-repeat;
143
background-size: 100% 100%;
146
background: url('#{$asset-path}images/icons/warning_colour_black.svg') no-repeat;
150
background: url('#{$asset-path}images/icons/warning_colour_mono.svg') no-repeat;
155
/// Set a specific icon size
157
@include icon-size(14px);
161
@include icon-size(20px);
165
@include icon-size(23px);
169
@include icon-size(32px);
172
/// Icon alignment for headings / text
205
@mixin icon-size($size) {