This repository has been archived by the owner on Oct 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_icons.scss
159 lines (140 loc) · 5.45 KB
/
_icons.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/*===============================================
Icons - Co-op Front-end Toolkit
===============================================*/
@import "functions";
@import "mixins/icons";
.icon {
font-size: 1.5em;
}
.icon:before,
[data-icon]:before {
@extend %icon;
}
[data-icon]:before {
content: attr(data-icon);
}
// Modifiers
.icon-size-16:before {
@extend %icon-size-16;
}
.icon-size-24:before {
@extend %icon-size-24;
}
.icon-size-32:before {
@extend %icon-size-32;
}
.icon-size-64:before {
@extend %icon-size-64;
}
// Icon links
.link-icon-right {
margin-right: 1.5em;
.icon {
display: inline-block;
width: 1em;
margin-right: - 1.25em;
font-size: 1em;
}
}
.link-icon-left {
margin-left: 1.25em;
.icon {
display: inline-block;
width: 1em;
margin-left: - 1.25em;
font-size: 1em;
}
}
// Icons
.icon-information:before { @extend %icon-information; }
.icon-search:before { @extend %icon-search; }
.icon-location:before { @extend %icon-location; }
// This icon code needs to go back to its original.
.icon-location-alt:before { @extend %icon-location-alt; }
// This icon code needs to go back to its original.
.icon-filter:before { @extend %icon-filter; }
.icon-alert:before { @extend %icon-alert; }
.icon-error:before { @extend %icon-error; }
.icon-help:before { @extend %icon-help; }
.icon-forward-arrow:before { @extend %icon-forward-arrow; }
.icon-back-arrow:before { @extend %icon-back-arrow; }
.icon-up-arrow:before { @extend %icon-up-arrow; }
.icon-down-arrow:before { @extend %icon-down-arrow; }
.icon-tick:before { @extend %icon-tick; }
.icon-download:before { @extend %icon-download; }
.icon-print:before { @extend %icon-print; }
.icon-phone:before { @extend %icon-phone; }
.icon-normal-basket:before { @extend %icon-normal-basket; }
.icon-empty-basket:before { @extend %icon-empty-basket; }
.icon-padlock:before { @extend %icon-padlock; }
.icon-email:before { @extend %icon-email; }
.icon-delivery:before { @extend %icon-delivery; }
.icon-time:before { @extend %icon-time; }
.icon-award:before { @extend %icon-award; }
.icon-award-alt:before { @extend %icon-award-alt; }
.icon-write-to-us:before { @extend %icon-write-to-us; }
.icon-news:before { @extend %icon-news; }
.icon-menu:before { @extend %icon-menu; }
.icon-close:before { @extend %icon-close; }
.icon-edit:before { @extend %icon-edit; }
.icon-membership-card:before { @extend %icon-membership-card; }
.icon-view:before { @extend %icon-view; }
.icon-home:before { @extend %icon-home; }
.icon-folder:before { @extend %icon-folder; }
.icon-user:before { @extend %icon-user; }
.icon-logout:before { @extend %icon-logout; }
.icon-twitter:before { @extend %icon-twitter; }
.icon-facebook:before { @extend %icon-facebook; }
.icon-instagram:before { @extend %icon-instagram; }
.icon-youtube:before { @extend %icon-youtube; }
.icon-pinterest:before { @extend %icon-pinterest; }
.icon-linkedin:before { @extend %icon-linkedin; }
.icon-forward-arrow-button:before { @extend %icon-forward-arrow-button; }
.icon-back-arrow-button:before { @extend %icon-back-arrow-button; }
.icon-up-arrow-button:before { @extend %icon-up-arrow-button; }
.icon-down-arrow-button:before { @extend %icon-down-arrow-button; }
.icon-open-new-tab:before { @extend %icon-open-new-tab; }
.icon-tick-alt:before { @extend %icon-tick-alt; }
.icon-squircle-active:before { @extend %icon-squircle-active; }
.icon-empty-squircle:before { @extend %icon-empty-squircle; }
.icon-grid:before { @extend %icon-grid; }
.icon-article:before { @extend %icon-article; }
.icon-avatar-alt:before { @extend %icon-avatar-alt; }
.icon-avatar:before { @extend %icon-avatar; }
.icon-bespoke:before { @extend %icon-bespoke; }
.icon-comment-small:before { @extend %icon-comment-small; }
.icon-comment:before { @extend %icon-comment; }
.icon-cross-alt:before { @extend %icon-cross-alt; }
.icon-cross:before { @extend %icon-cross; }
.icon-event:before { @extend %icon-event; }
.icon-internet:before { @extend %icon-internet; }
.icon-tick-alt:before { @extend %icon-tick-alt; }
.icon-video:before { @extend %icon-video; }
.icon-list:before { @extend %icon-list; }
.icon-share:before { @extend %icon-share; }
.icon-award-fill:before { @extend %icon-award-fill; }
.icon-disabled-access:before { @extend %icon-disabled-access; }
.icon-logo:before { @extend %icon-logo; }
.icon-amazon:before { @extend %icon-amazon; }
.icon-atm:before { @extend %icon-atm; }
.icon-baby-changing-facilities:before { @extend %icon-baby-changing-facilities; }
.icon-bakery:before { @extend %icon-bakery; }
.icon-cafe:before { @extend %icon-cafe; }
.icon-costa:before { @extend %icon-costa; }
.icon-customer-toilets:before { @extend %icon-customer-toilets; }
.icon-dunkin-donuts:before { @extend %icon-dunkin-donuts; }
.icon-hermes:before { @extend %icon-hermes; }
.icon-my-location:before { @extend %icon-my-location; }
.icon-national-lottery:before { @extend %icon-national-lottery; }
.icon-parking:before { @extend %icon-parking; }
.icon-paypoint:before { @extend %icon-paypoint; }
.icon-petrol-station:before { @extend %icon-petrol-station; }
.icon-photobooth:before { @extend %icon-photobooth; }
.icon-post-office:before { @extend %icon-post-office; }
// COLOURS
// Some icons might have a special colour, for example, the Facebook icon will be in Facebook Blue.
// Remember to extend, we might not always want them this colour
// .icon-facebook-blue:before { color: #31588f; }
// .icon-twitter-blue:before { color: #35a9d0; }
// .icon-instagram-blue:before { color: #4191dd; }
// .icon-pinterest-red:before { color: #d20000; }