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