2018-12-28 01:31:28 +01:00
|
|
|
$os-icons: 'icons/os-icons.png';
|
2013-10-11 22:17:32 +02:00
|
|
|
|
2013-10-14 21:52:40 +02:00
|
|
|
// TODO: Make these use a 16-base instead of 15.
|
2013-10-11 22:17:32 +02:00
|
|
|
%os-icons {
|
2013-10-14 21:52:40 +02:00
|
|
|
background: image-url($os-icons) 0 0 no-repeat;
|
2018-12-28 01:31:28 +01:00
|
|
|
background-size: auto sl-px-to-rem(15px);
|
2013-10-11 22:17:32 +02:00
|
|
|
display: inline-block;
|
2018-12-28 01:31:28 +01:00
|
|
|
width: sl-px-to-rem(15px);
|
|
|
|
height: sl-px-to-rem(15px);
|
2013-10-11 22:17:32 +02:00
|
|
|
}
|
2018-12-28 01:31:28 +01:00
|
|
|
|
2013-10-11 22:17:32 +02:00
|
|
|
.mac-icon {
|
|
|
|
@extend %os-icons;
|
2018-12-28 01:31:28 +01:00
|
|
|
background-position: -(sl-px-to-rem(35px)) 0;
|
2013-10-11 22:17:32 +02:00
|
|
|
}
|
2018-12-28 01:31:28 +01:00
|
|
|
|
2013-10-11 22:17:32 +02:00
|
|
|
.windows-icon {
|
|
|
|
@extend %os-icons;
|
|
|
|
}
|
2018-12-28 01:31:28 +01:00
|
|
|
|
2013-10-11 22:17:32 +02:00
|
|
|
.linux-icon {
|
|
|
|
@extend %os-icons;
|
2018-12-28 01:31:28 +01:00
|
|
|
background-position: -(sl-px-to-rem(65px)) 0;
|
2013-10-11 22:17:32 +02:00
|
|
|
}
|
2018-12-28 01:31:28 +01:00
|
|
|
|
2013-10-11 22:17:32 +02:00
|
|
|
.paid-icon {
|
|
|
|
@extend %os-icons;
|
2018-12-28 01:31:28 +01:00
|
|
|
background-position: -(sl-px-to-rem(100px)) 0;
|
2013-10-11 22:17:32 +02:00
|
|
|
}
|