diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-05 11:14:43 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-05 11:14:43 +0200 |
commit | ab5bda526e9fffcfeecd384332372531c18c49dc (patch) | |
tree | 0ee3af0ed572db7a45b4fb0b3056e8bdf539f654 /view/theme/quattro/icons.less | |
parent | c308ac49afa43131cb09558c9c1ebdb581167a46 (diff) | |
download | volse-hubzilla-ab5bda526e9fffcfeecd384332372531c18c49dc.tar.gz volse-hubzilla-ab5bda526e9fffcfeecd384332372531c18c49dc.tar.bz2 volse-hubzilla-ab5bda526e9fffcfeecd384332372531c18c49dc.zip |
move icons style in new file
Diffstat (limited to 'view/theme/quattro/icons.less')
-rw-r--r-- | view/theme/quattro/icons.less | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/view/theme/quattro/icons.less b/view/theme/quattro/icons.less new file mode 100644 index 000000000..8f7111aff --- /dev/null +++ b/view/theme/quattro/icons.less @@ -0,0 +1,37 @@ +/* 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"); } + &.start { background-image: url("../../../images/icons/@{size}/star.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; + } + + &.s16 { + width:22px; height: 22px; + .icons(16); + } + &.s22 { + width:22px; height: 22px; + .icons(22); + } + + +} |