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