]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/icons.less
bbcode: rearrange shared links - can only be made standard, when all themes support...
[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-audio{ background-image: url("../../../images/icons/@{size}/audio.png"); }
24         &.type-video{ background-image: url("../../../images/icons/@{size}/video.png"); }
25         &.type-image{ background-image: url("../../../images/icons/@{size}/image.png"); }
26         &.type-text     { background-image: url("../../../images/icons/@{size}/text.png"); }
27
28         &.language      { background-image: url("icons/language.png"); }
29
30
31         
32 }
33
34
35 .icon {
36         background-color: transparent ;
37         background-repeat: no-repeat;
38         background-position: left center;
39         display: block;
40         overflow: hidden;
41         text-indent: -9999px;
42         padding: 1px;
43
44         &.text {
45                 text-indent: 0px;
46         }
47
48     min-width:22px; height: 22px;
49     .icons(22);
50     &.text { padding: 10px 0px 0px 25px;  }
51
52         &.s10 {
53                 min-width:10px; height: 10px;
54                 .icons(10);
55                 &.text { padding: 2px 0px 0px 15px;  }
56         }
57         &.s16 {
58                 min-width:16px; height: 16px;
59                 .icons(16);
60                 &.text { padding: 4px 0px 0px 20px;  }
61         }
62         &.s22 {
63                 min-width:22px; height: 22px;
64                 .icons(22);
65                 &.text { padding: 10px 0px 0px 25px;  }
66         }
67         &.s48 {
68                 width:48px; height: 48px;
69                 .icons(48);
70         }
71         
72         &.on {
73             background-image: url("icons/addon_on.png");
74             min-width:16px;
75             height: 16px;
76             background-position: 0px 0px;
77         }
78         &.off {
79             background-image: url("icons/addon_off.png");
80             width: 16px;
81             height: 16px;
82             background-position: 0px 0px;
83         }
84         
85 }