]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/icons.less
Merge branch 'master' of git://github.com/friendica/friendica
[friendica.git] / view / theme / quattro / 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         &.plugin        { background-image: url("../../../images/icons/@{size}/plugin.png"); }
17         &.type-unkn     { background-image: url("../../../images/icons/@{size}/zip.png"); }
18         &.type-audio{ background-image: url("../../../images/icons/@{size}/audio.png"); }
19         &.type-video{ background-image: url("../../../images/icons/@{size}/video.png"); }
20         &.type-image{ background-image: url("../../../images/icons/@{size}/image.png"); }
21         &.type-text     { background-image: url("../../../images/icons/@{size}/text.png"); }
22
23         &.language      { background-image: url("icons/language.png"); }
24
25
26         
27 }
28
29
30 .icon {
31         background-color: transparent ;
32         background-repeat: no-repeat;
33         background-position: left center;
34         display: block;
35         overflow: hidden;
36         text-indent: -9999px;
37         padding: 1px;
38
39         &.text {
40                 text-indent: 0px;
41         }
42
43         &.s10 {
44                 min-width:10px; height: 10px;
45                 .icons(10);
46                 &.text { padding: 2px 0px 0px 15px;  }
47         }
48         &.s16 {
49                 min-width:16px; height: 16px;
50                 .icons(16);
51                 &.text { padding: 4px 0px 0px 20px;  }
52         }
53         &.s22 {
54                 min-width:22px; height: 22px;
55                 .icons(22);
56                 &.text { padding: 10px 0px 0px 25px;  }
57         }
58         &.s48 {
59                 width:48px; height: 48px;
60                 .icons(48);
61         }
62         
63         &.on {
64             background-image: url("icons/addon_on.png");
65             min-width:16px;
66             height: 16px;
67             background-position: 0px 0px;
68         }
69         &.off {
70             background-image: url("icons/addon_off.png");
71             width: 16px;
72             height: 16px;
73             background-position: 0px 0px;
74         }
75         
76 }