]> git.0d.be Git - panikweb-esperanzah.git/blob - espeweb/static/css/_type.scss
mutate into an addon module for panikweb
[panikweb-esperanzah.git] / espeweb / static / css / _type.scss
1 $barlow-font-path: '../fonts/Barlow' !default;
2
3 @mixin barlow-font($type, $weight, $style: normal) {
4     @font-face {
5         font-family: 'Barlow';
6         src: url('#{$barlow-font-path}/Barlow-#{$type}-webfont.woff') format('woff');
7         font-weight: $weight;
8         font-style: $style;
9     }
10 }
11
12 @mixin barlow-font-pair($type, $weight) {
13     @include barlow-font($type, $weight);
14     @include barlow-font(#{$type}Italic, $weight, italic);
15 }
16
17 @include barlow-font-pair('Regular', 400);
18 @include barlow-font-pair('Bold', 700);
19
20 [class^="icon-"],
21 [class*=" icon-"]{
22         /*font-size:1.3em;*/
23 }
24 .resymbol{
25         vertical-align: middle;
26         display: inline-block;
27         font-family: 'Symbols';
28 }
29 .resymbol.big, .icons.big{
30         font-size:2em;
31 }
32 .resymbol.huge, .icons.huge{
33         font-size:3em;
34 }
35 .info:before,.warning:before,.error:before{
36         font-family: FontAwesome;
37         display:inline-block;
38         margin-right:0.2em;
39 }
40 .info:before {
41         content: "\f05a";
42 }
43 .warning:before {
44         content: "\f071";
45 }
46 .error:before {
47         content: "\f056 ";
48 }
49 .checked:before {
50         content: "\f056 ";
51 }
52                         
53 .icon-communautaire:before {
54   content: "▲"; /* ▴ */
55 }                       
56 .icon-musique:before {
57   content: "△"; /* ▵ */
58 }               
59 .icon-creation:before {
60   content: "○"; /* ○ */
61 }                       
62 .icon-agenda-culturel:before {
63   content: "●"; /*  ● */
64 }
65 .icon-infodebats:before {
66   content: "■"; /*  ■ */
67   /*content: "□ ";   □ */
68 }
69