]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/icons.less
f87327703fb9a1324bbafcc14cfe169f8df9402b
[friendica.git] / view / theme / vier / icons.less
1 // Quattro Theme LESS file
2 /* icons */
3
4 .icons(@size: 22) {
5         &.notify { background-image: url("../../../images/icons/@{size}/notify_off.png"); }
6         &.gear   { background-image: url("../../../images/icons/@{size}/gear.png"); }
7         
8         &.add           { background-image: url("../../../images/icons/@{size}/add.png"); }
9         &.delete        { background-image: url("../../../images/icons/@{size}/delete.png"); }
10         &.edit          { background-image: url("../../../images/icons/@{size}/edit.png"); }
11         &.star          { background-image: url("../../../images/icons/@{size}/star.png"); }
12         &.menu          { background-image: url("../../../images/icons/@{size}/menu.png"); }
13         &.link          { background-image: url("../../../images/icons/@{size}/link.png"); }
14         &.lock          { background-image: url("../../../images/icons/@{size}/lock.png"); }
15         &.unlock        { background-image: url("../../../images/icons/@{size}/unlock.png"); }
16         
17 }
18
19
20 .icon {
21         background-color: transparent ;
22         background-repeat: no-repeat;
23         background-position: left center;
24         display: block;
25         overflow: hidden;
26         text-indent: -9999px;
27         padding: 1px;
28
29         &.text {
30                 text-indent: 0px;
31         }
32
33         &.s10 {
34                 min-width:10px; height: 10px;
35                 .icons(10);
36                 &.text { padding: 2px 0px 0px 15px;  }
37         }
38         &.s16 {
39                 min-width:16px; height: 16px;
40                 .icons(16);
41                 &.text { padding: 4px 0px 0px 20px;  }
42         }
43         &.s22 {
44                 min-width:22px; height: 22px;
45                 .icons(22);
46                 &.text { padding: 10px 0px 0px 25px;  }
47         }
48         &.s48 {
49                 width:48px; height: 48px;
50                 .icons(48);
51         }
52         
53         
54 }