Browse code

Status ikonka je z iconfontu

Cinan Rakosnik authored on 06/03/2013 at 22:58:29
Showing 8 changed files
... ...
@@ -146,8 +146,8 @@
146 146
   position: relative;
147 147
   top: 2px;
148 148
 
149
-  &::before {
150
-    content: '\26AB'
149
+  &.online, &.away, &.dnd, &.offline {
150
+    font-size: 11px;
151 151
   }
152 152
 
153 153
   &.online {
... ...
@@ -10,7 +10,7 @@
10 10
         %h1 Cinan Rakosnik
11 11
         %h2 frontend developer
12 12
         %h3
13
-          %span.status.online
13
+          %span.status.online.icon-record
14 14
           %a{ href: "#"}
15 15
             available
16 16
             %span.icon-arrow-down.drop-down
... ...
@@ -22,7 +22,7 @@
22 22
               %img{src: 'assets/avatar.png', alt: t("chat.avatar_alt")}
23 23
             %h1
24 24
               Adam Wolsky
25
-              %span.status.online
25
+              %span.status.online.icon-record
26 26
             %h2 co-founder
27 27
             %span.action{ style: "float: right; margin-top: -31px; width: 62px; color: #7e8b90"}
28 28
               %span.icon-x-full{ style: "width: 21px; overflow: hidden; display: block; float: right;padding-right: 10px; padding-top: 1px;"}
... ...
@@ -32,7 +32,7 @@
32 32
               %img{src: 'assets/avatar.png', alt: t("chat.avatar_alt")}
33 33
             %h1
34 34
               John Savage
35
-              %span.status.away
35
+              %span.status.away.icon-record
36 36
             %h2 web & ui designer
37 37
             %span.action{ style: "float: right; margin-top: -31px; width: 62px; color: #7e8b90"}
38 38
               %span.icon-x-full{ style: "width: 21px; overflow: hidden; display: block; float: right;padding-right: 10px; padding-top: 1px;"}
... ...
@@ -46,7 +46,7 @@
46 46
               %img{src: 'assets/avatar.png', alt: t("chat.avatar_alt")}
47 47
             %h1
48 48
               Ashley Bond
49
-              %span.status.offline
49
+              %span.status.offline.icon-record
50 50
             %h2 sexretary
51 51
             %span.action{ style: "float: right; margin-top: -31px; width: 62px; color: #7e8b90"}
52 52
               -#%span.icon-bubble{ style: "width: 21px; overflow: hidden; display: block; float: right;padding-right: 10px; padding-top: 1px;"}
... ...
@@ -58,7 +58,7 @@
58 58
               %img{src: 'assets/avatar.png', alt: t("chat.avatar_alt")}
59 59
             %h1
60 60
               Bob Awesome
61
-              %span.status.dnd
61
+              %span.status.dnd.icon-record
62 62
             %h2 sales manager
63 63
             %span.action{ style: "float: right; margin-top: -31px; width: 62px; color: #7e8b90"}
64 64
               %span.icon-x-full{ style: "width: 21px; overflow: hidden; display: block; float: right;padding-right: 10px; padding-top: 1px;"}
... ...
@@ -68,7 +68,7 @@
68 68
               %img{src: 'assets/avatar.png', alt: t("chat.avatar_alt")}
69 69
             %h1
70 70
               Bob Awesome
71
-              %span.status.dnd
71
+              %span.status.dnd.icon-record
72 72
             %h2 sales manager
73 73
             %span.action{ style: "float: right; margin-top: -31px; width: 62px; color: #7e8b90"}
74 74
               %span.icon-bubble{ style: "width: 21px; overflow: hidden; display: block; float: right;padding-right: 10px; padding-top: 1px;"}
... ...
@@ -24,6 +24,7 @@ This is a custom SVG font generated by IcoMoon.
24 24
 <glyph unicode="&#x271a;" d="M 512.00,288.00L 320.00,288.00L 320.00,480.00L 192.00,480.00L 192.00,288.00L0.00,288.00L0.00,160.00L 192.00,160.00L 192.00-32.00L 320.00-32.00L 320.00,160.00L 512.00,160.00 	z" data-tags="plus, add" />
25 25
 <glyph unicode="&#x25be;" d="M 373.76,326.374L 138.24,326.40L 256.00,121.60 z" data-tags="arrow-down, triangle, down, bottom" />
26 26
 <glyph unicode="&#x25b4;" d="M 138.24,121.60L 373.76,121.60L 255.974,326.40 z" data-tags="arrow-up, triangle, up, top" />
27
+<glyph unicode="&#x25cf;" d="M 256.00,403.20c-98.97,0.00-179.20-80.23-179.20-179.20c0.00-98.97, 80.23-179.20, 179.20-179.20c 98.944,0.00, 179.20,80.23, 179.20,179.20C 435.20,322.97, 354.944,403.20, 256.00,403.20z" data-tags="record, circle, media control" />
27 28
 <glyph unicode="&#x20;" horiz-adv-x="256" />
28 29
 <glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
29 30
 </font></defs></svg>
30 31
\ No newline at end of file
31 32
Binary files a/vendor/assets/stylesheets/fonts/icomoon.eot and b/vendor/assets/stylesheets/fonts/icomoon.eot differ
... ...
@@ -24,6 +24,7 @@ This is a custom SVG font generated by IcoMoon.
24 24
 <glyph unicode="&#x271a;" d="M 512.00,288.00L 320.00,288.00L 320.00,480.00L 192.00,480.00L 192.00,288.00L0.00,288.00L0.00,160.00L 192.00,160.00L 192.00-32.00L 320.00-32.00L 320.00,160.00L 512.00,160.00 	z"  />
25 25
 <glyph unicode="&#x25be;" d="M 373.76,326.374L 138.24,326.40L 256.00,121.60 z"  />
26 26
 <glyph unicode="&#x25b4;" d="M 138.24,121.60L 373.76,121.60L 255.974,326.40 z"  />
27
+<glyph unicode="&#x25cf;" d="M 256.00,403.20c-98.97,0.00-179.20-80.23-179.20-179.20c0.00-98.97, 80.23-179.20, 179.20-179.20c 98.944,0.00, 179.20,80.23, 179.20,179.20C 435.20,322.97, 354.944,403.20, 256.00,403.20z"  />
27 28
 <glyph unicode="&#x20;" horiz-adv-x="256" />
28 29
 <glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
29 30
 </font></defs></svg>
30 31
\ No newline at end of file
31 32
Binary files a/vendor/assets/stylesheets/fonts/icomoon.ttf and b/vendor/assets/stylesheets/fonts/icomoon.ttf differ
32 33
Binary files a/vendor/assets/stylesheets/fonts/icomoon.woff and b/vendor/assets/stylesheets/fonts/icomoon.woff differ
... ...
@@ -15,7 +15,7 @@ Instead of a list of all class selectors,
15 15
 you can use the generic selector below, but it's slower:
16 16
 [class*="icon-"]:before {
17 17
 */
18
-.icon-x:before, .icon-cog:before, .icon-x-full:before, .icon-bubbles:before, .icon-bubble:before, .icon-plus:before, .icon-arrow-down:before, .icon-arrow-up:before {
18
+.icon-x:before, .icon-cog:before, .icon-x-full:before, .icon-bubbles:before, .icon-bubble:before, .icon-plus:before, .icon-arrow-down:before, .icon-arrow-up:before, .icon-record:before {
19 19
 	font-family: 'icomoon';
20 20
 	speak: none;
21 21
 	font-style: normal;
... ...
@@ -49,4 +49,7 @@ you can use the generic selector below, but it's slower:
49 49
 }
50 50
 .icon-arrow-up:before {
51 51
 	content: "\25b4";
52
+}
53
+.icon-record:before {
54
+    content: "\25cf";
52 55
 }
53 56
\ No newline at end of file