aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/quattro/icons.less
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-27 01:04:54 -0700
committerFriendika <info@friendika.com>2011-09-27 01:04:54 -0700
commit25ac93f44d92b839c5012ba8cbb7ecf221658eff (patch)
tree534884f33c8a51f3b00bb68b275ba1be3b0ddab2 /view/theme/quattro/icons.less
parent069a76bff4d635e65ccfd27dcf81bf3531fbfc61 (diff)
parente9638b69801cee3e74a97825f9af3749c9322c53 (diff)
downloadvolse-hubzilla-25ac93f44d92b839c5012ba8cbb7ecf221658eff.tar.gz
volse-hubzilla-25ac93f44d92b839c5012ba8cbb7ecf221658eff.tar.bz2
volse-hubzilla-25ac93f44d92b839c5012ba8cbb7ecf221658eff.zip
Merge pull request #3 from fabrixxm/master
Works on UI
Diffstat (limited to 'view/theme/quattro/icons.less')
-rw-r--r--view/theme/quattro/icons.less51
1 files changed, 51 insertions, 0 deletions
diff --git a/view/theme/quattro/icons.less b/view/theme/quattro/icons.less
new file mode 100644
index 000000000..c5dc1937b
--- /dev/null
+++ b/view/theme/quattro/icons.less
@@ -0,0 +1,51 @@
+// Quattro Theme LESS file
+/* 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"); }
+ &.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"); }
+
+}
+
+
+.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;
+ }
+
+ &.s10 {
+ width:10px; height: 10px;
+ .icons(10);
+ }
+ &.s16 {
+ width:22px; height: 22px;
+ .icons(16);
+ }
+ &.s22 {
+ width:22px; height: 22px;
+ .icons(22);
+ }
+ &.s48 {
+ width:48px; height: 48px;
+ .icons(22);
+ }
+
+
+}