mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
33 lines
543 B
Plaintext
33 lines
543 B
Plaintext
.icon() {
|
|
font-family: 'Octicons Regular';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
display: inline-block;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.icon(@size) {
|
|
.icon;
|
|
font-size: @size;
|
|
width: @size;
|
|
height: @size;
|
|
}
|
|
|
|
.mini-icon(@name, @size: 16px) {
|
|
@import "mini-octicon-utf-codes.less";
|
|
&:before {
|
|
.icon(@size);
|
|
content: @@name
|
|
}
|
|
}
|
|
|
|
.mega-icon(@name, @size: 32px) {
|
|
@import "mega-octicon-utf-codes.less";
|
|
&:before {
|
|
.icon(@size);
|
|
content: @@name
|
|
}
|
|
}
|