sul_styles 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0ca1bfa4235798d7afef2ed084fde137a7c6fac
4
- data.tar.gz: d8bc89c81512b3092e628ffce05b941ac0e02328
3
+ metadata.gz: f04f5997b92879ac66d17ee0fe0bb5e243459e30
4
+ data.tar.gz: 195c8d82af3bc14c28466e03b93c160ce5f6345c
5
5
  SHA512:
6
- metadata.gz: 0e050ee343089df49ddb05c3847bf62938d577c89f85b8a6fec47c7415ae5d48070a42d6f393bbcdc110412b6422267157de87207b1315160a0b0fa979bb8cc2
7
- data.tar.gz: c48cf74dda558c82d3c1c16549c84bd74a6650aeb62ce9e693d865ae45fb8d15f960e5ba8ce59d08591187f4af3b32c5186df6a6788de03647fa728125e950fc
6
+ metadata.gz: e4203156e58681e7584028247c83795909a16e6d6936e4c410e3532dc3cc0e78c33a47a089ab98bae892b234b35061c4e0c41dee689189f7a46a5a1b6d6a88e8
7
+ data.tar.gz: 0a7fd5e738e29c9ef24fe9dd056913dcfc0dff185eb54b6a6bc509a06d3e824273b352311cdbb295dabd14afbaf012ef167cbfec30650d168e6e1b4b8d9742db
data/Rakefile CHANGED
@@ -27,5 +27,5 @@ task :build_dist do
27
27
  `bundle exec sass -C --sourcemap=none #{asset_dir + '/stylesheets/sul-icons/build.scss'} #{dist_dir + '/sul-icons.css'}`
28
28
 
29
29
  # Create a minified version of sul-icons.css
30
- `bundle exec sass -C --sourcemap=none --style=compressed #{asset_dir + '/stylesheets/_sul-icons.scss'} #{dist_dir + '/sul-icons.min.css'}`
30
+ `bundle exec sass -C --sourcemap=none --style=compressed #{asset_dir + '/stylesheets/sul-icons/build.scss'} #{dist_dir + '/sul-icons.min.css'}`
31
31
  end
@@ -13,3 +13,38 @@
13
13
  .sul-i-3x { font-size: 3em; }
14
14
  .sul-i-4x { font-size: 4em; }
15
15
  .sul-i-5x { font-size: 5em; }
16
+
17
+ @mixin sul-i-rotate($degrees, $rotation) {
18
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
19
+ -webkit-transform: rotate($degrees);
20
+ -ms-transform: rotate($degrees);
21
+ transform: rotate($degrees);
22
+ }
23
+
24
+ @mixin sul-i-flip($horiz, $vert, $rotation) {
25
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
26
+ -webkit-transform: scale($horiz, $vert);
27
+ -ms-transform: scale($horiz, $vert);
28
+ transform: scale($horiz, $vert);
29
+ }
30
+
31
+ // Rotated & Flipped Icons
32
+ // -------------------------
33
+
34
+ .sul-i-rotate-90 { @include sul-i-rotate(90deg, 1); }
35
+ .sul-i-rotate-180 { @include sul-i-rotate(180deg, 2); }
36
+ .sul-i-rotate-270 { @include sul-i-rotate(270deg, 3); }
37
+
38
+ .sul-i-flip-horizontal { @include sul-i-flip(-1, 1, 0); }
39
+ .sul-i-flip-vertical { @include sul-i-flip(1, -1, 2); }
40
+
41
+ // Hook for IE8-9
42
+ // -------------------------
43
+
44
+ :root .sul-i-rotate-90,
45
+ :root .sul-i-rotate-180,
46
+ :root .sul-i-rotate-270,
47
+ :root .sul-i-flip-horizontal,
48
+ :root .sul-i-flip-vertical {
49
+ filter: none;
50
+ }
@@ -0,0 +1,284 @@
1
+ /* makes the font 33% larger relative to the icon container */
2
+ .sul-i-lg {
3
+ font-size: 1.33333em;
4
+ line-height: 0.75em;
5
+ vertical-align: -15%; }
6
+
7
+ .sul-i-2x {
8
+ font-size: 2em; }
9
+
10
+ .sul-i-3x {
11
+ font-size: 3em; }
12
+
13
+ .sul-i-4x {
14
+ font-size: 4em; }
15
+
16
+ .sul-i-5x {
17
+ font-size: 5em; }
18
+
19
+ @font-face {
20
+ font-family: "sul-icons";
21
+ src: url("sul-icons.eot");
22
+ src: url("sul-icons.eot?#iefix") format("embedded-opentype"), url("sul-icons.woff") format("woff"), url("sul-icons.ttf") format("truetype"), url("sul-icons.svg#sul-icons") format("svg");
23
+ font-weight: normal;
24
+ font-style: normal; }
25
+ @media screen and (-webkit-min-device-pixel-ratio: 0) {
26
+ @font-face {
27
+ font-family: "sul-icons";
28
+ src: url("sul-icons.svg#sul-icons") format("svg"); } }
29
+ [data-icon]:before {
30
+ content: attr(data-icon); }
31
+
32
+ [data-icon]:before,
33
+ .sul-i-arrow-down-8:before,
34
+ .sul-i-arrow-left-3:before,
35
+ .sul-i-arrow-left-8:before,
36
+ .sul-i-arrow-right-3:before,
37
+ .sul-i-arrow-right-8:before,
38
+ .sul-i-arrow-up-8:before,
39
+ .sul-i-book-open-4:before,
40
+ .sul-i-bookmark-all-1:before,
41
+ .sul-i-books-library:before,
42
+ .sul-i-box-1:before,
43
+ .sul-i-bubble-chat-2:before,
44
+ .sul-i-camera-film-1:before,
45
+ .sul-i-check-box-1:before,
46
+ .sul-i-cube:before,
47
+ .sul-i-download-3:before,
48
+ .sul-i-email:before,
49
+ .sul-i-expand-1:before,
50
+ .sul-i-file-acrobat:before,
51
+ .sul-i-file-code-1:before,
52
+ .sul-i-file-excel:before,
53
+ .sul-i-file-music-1:before,
54
+ .sul-i-file-picture:before,
55
+ .sul-i-file-powerpoint:before,
56
+ .sul-i-file-text-document:before,
57
+ .sul-i-file-video-3:before,
58
+ .sul-i-file-words:before,
59
+ .sul-i-file-zipped:before,
60
+ .sul-i-graph-bar-2:before,
61
+ .sul-i-infomation-circle:before,
62
+ .sul-i-key-2:before,
63
+ .sul-i-layout-4:before,
64
+ .sul-i-layout-none:before,
65
+ .sul-i-link-3:before,
66
+ .sul-i-list-bullets-1:before,
67
+ .sul-i-map-pin-1:before,
68
+ .sul-i-microphone-3:before,
69
+ .sul-i-mobile-phone-2:before,
70
+ .sul-i-mouse:before,
71
+ .sul-i-navigation-drawer-1:before,
72
+ .sul-i-navigation-drawer-2:before,
73
+ .sul-i-navigation-left-2:before,
74
+ .sul-i-network-web:before,
75
+ .sul-i-news-article:before,
76
+ .sul-i-newspaper:before,
77
+ .sul-i-notebook:before,
78
+ .sul-i-person-1:before,
79
+ .sul-i-person-information-1:before,
80
+ .sul-i-picture-2:before,
81
+ .sul-i-plug-1:before,
82
+ .sul-i-print-text:before,
83
+ .sul-i-quote-1:before,
84
+ .sul-i-search:before,
85
+ .sul-i-share:before,
86
+ .sul-i-transfer-3:before,
87
+ .sul-i-turntable:before,
88
+ .sul-i-view-headline:before,
89
+ .sul-i-view-list:before,
90
+ .sul-i-view-module-1:before,
91
+ .sul-i-window-search:before,
92
+ .sul-i-zoom-in:before {
93
+ display: inline-block;
94
+ font-family: "sul-icons";
95
+ font-style: normal;
96
+ font-weight: normal;
97
+ font-variant: normal;
98
+ line-height: 1;
99
+ text-decoration: inherit;
100
+ text-rendering: optimizeLegibility;
101
+ text-transform: none;
102
+ -moz-osx-font-smoothing: grayscale;
103
+ -webkit-font-smoothing: antialiased;
104
+ font-smoothing: antialiased; }
105
+
106
+ .sul-i-arrow-down-8:before {
107
+ content: "\f13e"; }
108
+
109
+ .sul-i-arrow-left-3:before {
110
+ content: "\f108"; }
111
+
112
+ .sul-i-arrow-left-8:before {
113
+ content: "\f109"; }
114
+
115
+ .sul-i-arrow-right-3:before {
116
+ content: "\f10a"; }
117
+
118
+ .sul-i-arrow-right-8:before {
119
+ content: "\f10b"; }
120
+
121
+ .sul-i-arrow-up-8:before {
122
+ content: "\f13f"; }
123
+
124
+ .sul-i-book-open-4:before {
125
+ content: "\f10c"; }
126
+
127
+ .sul-i-bookmark-all-1:before {
128
+ content: "\f10d"; }
129
+
130
+ .sul-i-books-library:before {
131
+ content: "\f10e"; }
132
+
133
+ .sul-i-box-1:before {
134
+ content: "\f10f"; }
135
+
136
+ .sul-i-bubble-chat-2:before {
137
+ content: "\f110"; }
138
+
139
+ .sul-i-camera-film-1:before {
140
+ content: "\f111"; }
141
+
142
+ .sul-i-check-box-1:before {
143
+ content: "\f112"; }
144
+
145
+ .sul-i-cube:before {
146
+ content: "\f113"; }
147
+
148
+ .sul-i-download-3:before {
149
+ content: "\f106"; }
150
+
151
+ .sul-i-email:before {
152
+ content: "\f114"; }
153
+
154
+ .sul-i-expand-1:before {
155
+ content: "\f115"; }
156
+
157
+ .sul-i-file-acrobat:before {
158
+ content: "\f13a"; }
159
+
160
+ .sul-i-file-code-1:before {
161
+ content: "\f137"; }
162
+
163
+ .sul-i-file-excel:before {
164
+ content: "\f13b"; }
165
+
166
+ .sul-i-file-music-1:before {
167
+ content: "\f116"; }
168
+
169
+ .sul-i-file-picture:before {
170
+ content: "\f136"; }
171
+
172
+ .sul-i-file-powerpoint:before {
173
+ content: "\f13d"; }
174
+
175
+ .sul-i-file-text-document:before {
176
+ content: "\f139"; }
177
+
178
+ .sul-i-file-video-3:before {
179
+ content: "\f138"; }
180
+
181
+ .sul-i-file-words:before {
182
+ content: "\f13c"; }
183
+
184
+ .sul-i-file-zipped:before {
185
+ content: "\f134"; }
186
+
187
+ .sul-i-graph-bar-2:before {
188
+ content: "\f117"; }
189
+
190
+ .sul-i-infomation-circle:before {
191
+ content: "\f104"; }
192
+
193
+ .sul-i-key-2:before {
194
+ content: "\f118"; }
195
+
196
+ .sul-i-layout-4:before {
197
+ content: "\f119"; }
198
+
199
+ .sul-i-layout-none:before {
200
+ content: "\f11a"; }
201
+
202
+ .sul-i-link-3:before {
203
+ content: "\f107"; }
204
+
205
+ .sul-i-list-bullets-1:before {
206
+ content: "\f11b"; }
207
+
208
+ .sul-i-map-pin-1:before {
209
+ content: "\f11c"; }
210
+
211
+ .sul-i-microphone-3:before {
212
+ content: "\f11d"; }
213
+
214
+ .sul-i-mobile-phone-2:before {
215
+ content: "\f11e"; }
216
+
217
+ .sul-i-mouse:before {
218
+ content: "\f11f"; }
219
+
220
+ .sul-i-navigation-drawer-1:before {
221
+ content: "\f120"; }
222
+
223
+ .sul-i-navigation-drawer-2:before {
224
+ content: "\f121"; }
225
+
226
+ .sul-i-navigation-left-2:before {
227
+ content: "\f122"; }
228
+
229
+ .sul-i-network-web:before {
230
+ content: "\f123"; }
231
+
232
+ .sul-i-news-article:before {
233
+ content: "\f124"; }
234
+
235
+ .sul-i-newspaper:before {
236
+ content: "\f125"; }
237
+
238
+ .sul-i-notebook:before {
239
+ content: "\f126"; }
240
+
241
+ .sul-i-person-1:before {
242
+ content: "\f127"; }
243
+
244
+ .sul-i-person-information-1:before {
245
+ content: "\f128"; }
246
+
247
+ .sul-i-picture-2:before {
248
+ content: "\f129"; }
249
+
250
+ .sul-i-plug-1:before {
251
+ content: "\f12a"; }
252
+
253
+ .sul-i-print-text:before {
254
+ content: "\f12b"; }
255
+
256
+ .sul-i-quote-1:before {
257
+ content: "\f12c"; }
258
+
259
+ .sul-i-search:before {
260
+ content: "\f12d"; }
261
+
262
+ .sul-i-share:before {
263
+ content: "\f105"; }
264
+
265
+ .sul-i-transfer-3:before {
266
+ content: "\f12e"; }
267
+
268
+ .sul-i-turntable:before {
269
+ content: "\f12f"; }
270
+
271
+ .sul-i-view-headline:before {
272
+ content: "\f130"; }
273
+
274
+ .sul-i-view-list:before {
275
+ content: "\f131"; }
276
+
277
+ .sul-i-view-module-1:before {
278
+ content: "\f102"; }
279
+
280
+ .sul-i-window-search:before {
281
+ content: "\f132"; }
282
+
283
+ .sul-i-zoom-in:before {
284
+ content: "\f133"; }
Binary file
@@ -0,0 +1 @@
1
+ @font-face{font-family:"sul-icons";src:url("sul-icons.eot");src:url("sul-icons.eot?#iefix") format("embedded-opentype"),url("sul-icons.woff") format("woff"),url("sul-icons.ttf") format("truetype"),url("sul-icons.svg#sul-icons") format("svg");font-weight:normal;font-style:normal}@media screen and (-webkit-min-device-pixel-ratio: 0){@font-face{font-family:"sul-icons";src:url("sul-icons.svg#sul-icons") format("svg")}}[data-icon]:before{content:attr(data-icon)}[data-icon]:before,.sul-i-arrow-down-8:before,.sul-i-arrow-left-3:before,.sul-i-arrow-left-8:before,.sul-i-arrow-right-3:before,.sul-i-arrow-right-8:before,.sul-i-arrow-up-8:before,.sul-i-book-open-4:before,.sul-i-bookmark-all-1:before,.sul-i-books-library:before,.sul-i-box-1:before,.sul-i-bubble-chat-2:before,.sul-i-camera-film-1:before,.sul-i-check-box-1:before,.sul-i-cube:before,.sul-i-download-3:before,.sul-i-email:before,.sul-i-expand-1:before,.sul-i-file-acrobat:before,.sul-i-file-code-1:before,.sul-i-file-excel:before,.sul-i-file-music-1:before,.sul-i-file-picture:before,.sul-i-file-powerpoint:before,.sul-i-file-text-document:before,.sul-i-file-video-3:before,.sul-i-file-words:before,.sul-i-file-zipped:before,.sul-i-graph-bar-2:before,.sul-i-infomation-circle:before,.sul-i-key-2:before,.sul-i-layout-4:before,.sul-i-layout-none:before,.sul-i-link-3:before,.sul-i-list-bullets-1:before,.sul-i-map-pin-1:before,.sul-i-microphone-3:before,.sul-i-mobile-phone-2:before,.sul-i-mouse:before,.sul-i-navigation-drawer-1:before,.sul-i-navigation-drawer-2:before,.sul-i-navigation-left-2:before,.sul-i-network-web:before,.sul-i-news-article:before,.sul-i-newspaper:before,.sul-i-notebook:before,.sul-i-person-1:before,.sul-i-person-information-1:before,.sul-i-picture-2:before,.sul-i-plug-1:before,.sul-i-print-text:before,.sul-i-quote-1:before,.sul-i-search:before,.sul-i-share:before,.sul-i-transfer-3:before,.sul-i-turntable:before,.sul-i-view-headline:before,.sul-i-view-list:before,.sul-i-view-module-1:before,.sul-i-window-search:before,.sul-i-zoom-in:before{display:inline-block;font-family:"sul-icons";font-style:normal;font-weight:normal;font-variant:normal;line-height:1;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-smoothing:antialiased}.sul-i-arrow-down-8:before{content:"\f13e"}.sul-i-arrow-left-3:before{content:"\f108"}.sul-i-arrow-left-8:before{content:"\f109"}.sul-i-arrow-right-3:before{content:"\f10a"}.sul-i-arrow-right-8:before{content:"\f10b"}.sul-i-arrow-up-8:before{content:"\f13f"}.sul-i-book-open-4:before{content:"\f10c"}.sul-i-bookmark-all-1:before{content:"\f10d"}.sul-i-books-library:before{content:"\f10e"}.sul-i-box-1:before{content:"\f10f"}.sul-i-bubble-chat-2:before{content:"\f110"}.sul-i-camera-film-1:before{content:"\f111"}.sul-i-check-box-1:before{content:"\f112"}.sul-i-cube:before{content:"\f113"}.sul-i-download-3:before{content:"\f106"}.sul-i-email:before{content:"\f114"}.sul-i-expand-1:before{content:"\f115"}.sul-i-file-acrobat:before{content:"\f13a"}.sul-i-file-code-1:before{content:"\f137"}.sul-i-file-excel:before{content:"\f13b"}.sul-i-file-music-1:before{content:"\f116"}.sul-i-file-picture:before{content:"\f136"}.sul-i-file-powerpoint:before{content:"\f13d"}.sul-i-file-text-document:before{content:"\f139"}.sul-i-file-video-3:before{content:"\f138"}.sul-i-file-words:before{content:"\f13c"}.sul-i-file-zipped:before{content:"\f134"}.sul-i-graph-bar-2:before{content:"\f117"}.sul-i-infomation-circle:before{content:"\f104"}.sul-i-key-2:before{content:"\f118"}.sul-i-layout-4:before{content:"\f119"}.sul-i-layout-none:before{content:"\f11a"}.sul-i-link-3:before{content:"\f107"}.sul-i-list-bullets-1:before{content:"\f11b"}.sul-i-map-pin-1:before{content:"\f11c"}.sul-i-microphone-3:before{content:"\f11d"}.sul-i-mobile-phone-2:before{content:"\f11e"}.sul-i-mouse:before{content:"\f11f"}.sul-i-navigation-drawer-1:before{content:"\f120"}.sul-i-navigation-drawer-2:before{content:"\f121"}.sul-i-navigation-left-2:before{content:"\f122"}.sul-i-network-web:before{content:"\f123"}.sul-i-news-article:before{content:"\f124"}.sul-i-newspaper:before{content:"\f125"}.sul-i-notebook:before{content:"\f126"}.sul-i-person-1:before{content:"\f127"}.sul-i-person-information-1:before{content:"\f128"}.sul-i-picture-2:before{content:"\f129"}.sul-i-plug-1:before{content:"\f12a"}.sul-i-print-text:before{content:"\f12b"}.sul-i-quote-1:before{content:"\f12c"}.sul-i-search:before{content:"\f12d"}.sul-i-share:before{content:"\f105"}.sul-i-transfer-3:before{content:"\f12e"}.sul-i-turntable:before{content:"\f12f"}.sul-i-view-headline:before{content:"\f130"}.sul-i-view-list:before{content:"\f131"}.sul-i-view-module-1:before{content:"\f102"}.sul-i-window-search:before{content:"\f132"}.sul-i-zoom-in:before{content:"\f133"}