Skip to content

Commit 0cf534f

Browse files
committed
Merge pull request #37 from DefactoSoftware/frits/styling
add icon-fonts
2 parents 0a2d71e + cd9327b commit 0cf534f

13 files changed

Lines changed: 1283 additions & 5 deletions

File tree

app/assets/fonts/icons/icons.eot

10.5 KB
Binary file not shown.

app/assets/fonts/icons/icons.svg

Lines changed: 50 additions & 0 deletions
Loading

app/assets/fonts/icons/icons.ttf

10.3 KB
Binary file not shown.

app/assets/fonts/icons/icons.woff

10.4 KB
Binary file not shown.

app/assets/fonts/icons/icons.woff2

4.24 KB
Binary file not shown.

app/assets/fonts/icons/selection.json

Lines changed: 1036 additions & 0 deletions
Large diffs are not rendered by default.

app/assets/stylesheets/application.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// MISC STYLING ////////////////////////////////
1818

1919
body {
20-
padding: 20px;
20+
padding: 1em;
2121

2222
@include media ($medium-screen-up) {
2323
padding: 40px;
@@ -76,6 +76,7 @@ body {
7676
right: 0;
7777
top: 0;
7878
width: 100px;
79+
z-index: 10;
7980

8081
@include media ($medium-screen-up) {
8182
width: auto;

app/assets/stylesheets/base/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
@import "lists";
1414
@import "tables";
1515
@import "typography";
16+
@import "icons";
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
@include font-face(icons, 'icons/icons', normal, true);
2+
3+
[class^='icon-'],
4+
[class*=' icon-'] {
5+
font-family: 'icons' !important;
6+
font-style: normal;
7+
font-variant: normal;
8+
font-weight: normal;
9+
line-height: 1;
10+
speak: none;
11+
text-transform: none;
12+
13+
-webkit-font-smoothing: antialiased;
14+
-moz-osx-font-smoothing: grayscale;
15+
}
16+
17+
18+
.icon-link::before {
19+
content: '\e005';
20+
}
21+
22+
.icon-bell::before {
23+
content: '\e006';
24+
}
25+
26+
.icon-lock::before {
27+
content: '\e007';
28+
}
29+
30+
.icon-unlock::before {
31+
content: '\e008';
32+
}
33+
34+
.icon-image::before {
35+
content: '\e010';
36+
}
37+
38+
.icon-clock::before {
39+
content: '\e014';
40+
}
41+
42+
.icon-watch::before {
43+
content: '\e015';
44+
}
45+
46+
.icon-cog::before {
47+
content: '\e023';
48+
}
49+
50+
.icon-heart::before {
51+
content: '\e024';
52+
}
53+
54+
.icon-reply::before {
55+
content: '\e039';
56+
}
57+
58+
.icon-circle-plus::before {
59+
content: '\e040';
60+
}
61+
62+
.icon-circle-minus::before {
63+
content: '\e041';
64+
}
65+
66+
.icon-square-plus::before {
67+
content: '\e044';
68+
}
69+
70+
.icon-square-minus::before {
71+
content: '\e045';
72+
}
73+
74+
.icon-square-check::before {
75+
content: '\e046';
76+
}
77+
78+
.icon-square-cross::before {
79+
content: '\e047';
80+
}
81+
82+
.icon-skip-back::before {
83+
content: '\e050';
84+
}
85+
86+
.icon-rewind::before {
87+
content: '\e051';
88+
}
89+
90+
.icon-fast-forward::before {
91+
content: '\e055';
92+
}
93+
94+
.icon-skip-forward::before {
95+
content: '\e056';
96+
}
97+
98+
.icon-repeat::before {
99+
content: '\e058';
100+
}
101+
102+
.icon-umbrella::before {
103+
content: '\e060';
104+
}
105+
106+
.icon-moon::before {
107+
content: '\e061';
108+
}
109+
110+
.icon-thermometer::before {
111+
content: '\e062';
112+
}
113+
114+
.icon-drop::before {
115+
content: '\e063';
116+
}
117+
118+
.icon-sun::before {
119+
content: '\e064';
120+
}
121+
122+
.icon-cloud::before {
123+
content: '\e065';
124+
}
125+
126+
.icon-location::before {
127+
content: '\e070';
128+
}
129+
130+
.icon-location-2::before {
131+
content: '\e071';
132+
}
133+
134+
.icon-map::before {
135+
content: '\e072';
136+
}
137+
138+
.icon-head::before {
139+
content: '\e074';
140+
}
141+
142+
.icon-reload::before {
143+
content: '\e080';
144+
}
145+
146+
.icon-share::before {
147+
content: '\e081';
148+
}
149+
150+
.icon-star::before {
151+
content: '\e093';
152+
}
153+
154+
.icon-arrow-left::before {
155+
content: '\e094';
156+
}
157+
158+
.icon-arrow-right::before {
159+
content: '\e095';
160+
}
161+
162+
.icon-arrow-up::before {
163+
content: '\e096';
164+
}
165+
166+
.icon-arrow-down::before {
167+
content: '\e097';
168+
}
169+
170+
.icon-trash::before {
171+
content: '\e109';
172+
}
173+
174+
.icon-ellipsis::before {
175+
content: '\e129';
176+
}

app/assets/stylesheets/components/_cloud.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.cloud {
2-
$shadow-x: -0.08em;
3-
$shadow-y: 0.15em;
2+
$shadow-x: -0.1em;
3+
$shadow-y: 0.3em;
44

55
background: $white;
66
box-shadow: $shadow-x $shadow-y 0 $gray-dark;
@@ -19,7 +19,7 @@
1919
display: block;
2020
height: 30vw * 1.2827586207;
2121
left: 60%;
22-
mask: url('cloud-arrow.svg') no-repeat top;
22+
mask: image-url('cloud-arrow.svg') no-repeat top;
2323
mask-size: cover;
2424
max-height: 186px;
2525
max-width: 145px;

0 commit comments

Comments
 (0)