Skip to content

Commit 5c100c0

Browse files
committed
Payment sprite icons.
Summary: Adds some icons for taking money. Test Plan: UIExamples Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5753
1 parent 6c5d98b commit 5c100c0

File tree

16 files changed

+196
-2
lines changed

16 files changed

+196
-2
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"version" : 1,
3+
"sprites" : {
4+
"payments-americanexpress" : {
5+
"name" : "payments-americanexpress",
6+
"rule" : ".payments-americanexpress",
7+
"hash" : "ace986273a0bae308c4018e02cdd60f2"
8+
},
9+
"payments-discover" : {
10+
"name" : "payments-discover",
11+
"rule" : ".payments-discover",
12+
"hash" : "0b60e5e4c25e0d3bf2c3cb780d7eaf00"
13+
},
14+
"payments-googlecheckout" : {
15+
"name" : "payments-googlecheckout",
16+
"rule" : ".payments-googlecheckout",
17+
"hash" : "1f00e015545898e059ca09fa49b239e7"
18+
},
19+
"payments-mastercard" : {
20+
"name" : "payments-mastercard",
21+
"rule" : ".payments-mastercard",
22+
"hash" : "49a742b837610f7b37b565ba4899c95c"
23+
},
24+
"payments-paypal" : {
25+
"name" : "payments-paypal",
26+
"rule" : ".payments-paypal",
27+
"hash" : "5664cf7acd9fe65d60e1449a33f56ce2"
28+
},
29+
"payments-visa" : {
30+
"name" : "payments-visa",
31+
"rule" : ".payments-visa",
32+
"hash" : "ff2ffac55927dbe7a1bf02fdfac561ea"
33+
},
34+
"payments-worldpay" : {
35+
"name" : "payments-worldpay",
36+
"rule" : ".payments-worldpay",
37+
"hash" : "acc037ffa26f6caccf290006e39ba1fc"
38+
}
39+
},
40+
"scales" : [
41+
1
42+
],
43+
"header" : "\/**\n * @provides sprite-payments-css\n * @generated\n *\/\n\n.sprite-payments {\n background-image: url(\/rsrc\/image\/sprite-payments.png);\n background-repeat: no-repeat;\n}\n\n@media\nonly screen and (min-device-pixel-ratio: 1.5),\nonly screen and (-webkit-min-device-pixel-ratio: 1.5) {\n .sprite-payments {\n background-image: url(\/rsrc\/image\/sprite-payments-X2.png);\n background-size: {X}px {Y}px;\n }\n}\n",
44+
"type" : "standard"
45+
}
3.23 KB
Loading
2.5 KB
Loading
2.81 KB
Loading
2.55 KB
Loading
1.84 KB
Loading

resources/sprite/payments_2x/visa.png

2.08 KB
Loading
1.61 KB
Loading

scripts/celerity/generate_sprites.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
'minicons' => $generator->buildMiniconsSheet(),
3535
'conpherence' => $generator->buildConpherenceSheet(),
3636
'apps-large' => $generator->buildAppsLargeSheet(),
37+
'payments' => $generator->buildPaymentsSheet(),
3738
'tokens' => $generator->buildTokenSheet(),
3839
'docs' => $generator->buildDocsSheet(),
3940
'gradient' => $generator->buildGradientSheet(),

src/__celerity_resource_map__.php

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,20 @@
637637
'disk' => '/rsrc/image/sprite-minicons.png',
638638
'type' => 'png',
639639
),
640+
'/rsrc/image/sprite-payments-X2.png' =>
641+
array(
642+
'hash' => 'a896e11842db04bde8c3dc18d6efacd3',
643+
'uri' => '/res/a896e118/rsrc/image/sprite-payments-X2.png',
644+
'disk' => '/rsrc/image/sprite-payments-X2.png',
645+
'type' => 'png',
646+
),
647+
'/rsrc/image/sprite-payments.png' =>
648+
array(
649+
'hash' => '5ac5b872d19a862eabc508c8bf97a53b',
650+
'uri' => '/res/5ac5b872/rsrc/image/sprite-payments.png',
651+
'disk' => '/rsrc/image/sprite-payments.png',
652+
'type' => 'png',
653+
),
640654
'/rsrc/image/sprite-tokens.png' =>
641655
array(
642656
'hash' => '67c46fd75c885b76ecbfe46e71a476cc',
@@ -3609,7 +3623,7 @@
36093623
),
36103624
'phui-icon-view-css' =>
36113625
array(
3612-
'uri' => '/res/4d0588b4/rsrc/css/phui/phui-icon.css',
3626+
'uri' => '/res/9d05b3f3/rsrc/css/phui/phui-icon.css',
36133627
'type' => 'css',
36143628
'requires' =>
36153629
array(
@@ -3886,6 +3900,15 @@
38863900
),
38873901
'disk' => '/rsrc/css/sprite-minicons.css',
38883902
),
3903+
'sprite-payments-css' =>
3904+
array(
3905+
'uri' => '/res/dcb6e856/rsrc/css/sprite-payments.css',
3906+
'type' => 'css',
3907+
'requires' =>
3908+
array(
3909+
),
3910+
'disk' => '/rsrc/css/sprite-payments.css',
3911+
),
38893912
'sprite-tokens-css' =>
38903913
array(
38913914
'uri' => '/res/edb4e341/rsrc/css/sprite-tokens.css',

0 commit comments

Comments
 (0)