friendica/view/theme/quattro/icons.less

52 lines
1.3 KiB
Text
Raw Normal View History

2011-09-16 12:50:15 +02:00
// Quattro Theme LESS file
2011-09-05 11:14:43 +02:00
/* icons */
.icons(@size: 22) {
&.notify { background-image: url("../../../images/icons/@{size}/notify_off.png"); }
&.gear { background-image: url("../../../images/icons/@{size}/gear.png"); }
&.add { background-image: url("../../../images/icons/@{size}/add.png"); }
&.delete { background-image: url("../../../images/icons/@{size}/delete.png"); }
&.edit { background-image: url("../../../images/icons/@{size}/edit.png"); }
2011-09-16 12:50:15 +02:00
&.star { background-image: url("../../../images/icons/@{size}/star.png"); }
&.menu { background-image: url("../../../images/icons/@{size}/menu.png"); }
&.link { background-image: url("../../../images/icons/@{size}/link.png"); }
&.lock { background-image: url("../../../images/icons/@{size}/lock.png"); }
&.unlock { background-image: url("../../../images/icons/@{size}/unlock.png"); }
2011-09-05 11:14:43 +02:00
}
.icon {
background-color: transparent ;
background-repeat: no-repeat;
background-position: center center;
display: block;
overflow: hidden;
text-indent: -9999px;
padding: 1px;
&.text {
text-indent: 0px;
}
2011-09-16 12:50:15 +02:00
&.s10 {
width:10px; height: 10px;
.icons(10);
}
2011-09-05 11:14:43 +02:00
&.s16 {
width:22px; height: 22px;
.icons(16);
}
&.s22 {
width:22px; height: 22px;
.icons(22);
}
2011-09-16 12:50:15 +02:00
&.s48 {
width:48px; height: 48px;
.icons(48);
2011-09-16 12:50:15 +02:00
}
2011-09-05 11:14:43 +02:00
}