Skip to content

Commit 74609d9

Browse files
committed
Action Icons
Summary: First pass at 'action icons' for headers and other items. Ties into future diff. Test Plan: photoshop, read the css. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin, AnhNhan Differential Revision: https://secure.phabricator.com/D5565
1 parent 406ee10 commit 74609d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+588
-41
lines changed
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
5.06 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
11.9 KB
986 Bytes
1002 Bytes
964 Bytes
976 Bytes
978 Bytes
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
{
2+
"version" : 1,
3+
"sprites" : {
4+
"action-icon-flag-dark" : {
5+
"name" : "action-icon-flag-dark",
6+
"rule" : ".action-icon-flag-dark",
7+
"hash" : "4ae54fc28dd2d6cfa6e57dde7bd640cf"
8+
},
9+
"action-icon-flag-grey" : {
10+
"name" : "action-icon-flag-grey",
11+
"rule" : ".action-icon-flag-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-flag",
12+
"hash" : "50e739ca2d6a5527ce2bb8aafd4eb93f"
13+
},
14+
"action-icon-flag-white" : {
15+
"name" : "action-icon-flag-white",
16+
"rule" : ".action-icon-flag-white",
17+
"hash" : "d29ba4e3f88d5b2f3b0ea14754f7b89a"
18+
},
19+
"action-icon-heart-dark" : {
20+
"name" : "action-icon-heart-dark",
21+
"rule" : ".action-icon-heart-dark",
22+
"hash" : "90b437a281724a4961e33272eafd616b"
23+
},
24+
"action-icon-heart-grey" : {
25+
"name" : "action-icon-heart-grey",
26+
"rule" : ".action-icon-heart-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-heart",
27+
"hash" : "cd521a7267b321516223462860373f09"
28+
},
29+
"action-icon-heart-white" : {
30+
"name" : "action-icon-heart-white",
31+
"rule" : ".action-icon-heart-white",
32+
"hash" : "505ebd7324f9c39fa2366a85996d1194"
33+
},
34+
"action-icon-move-dark" : {
35+
"name" : "action-icon-move-dark",
36+
"rule" : ".action-icon-move-dark",
37+
"hash" : "38f5b9168bf04d1a904b09805e589cd7"
38+
},
39+
"action-icon-move-grey" : {
40+
"name" : "action-icon-move-grey",
41+
"rule" : ".action-icon-move-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-move",
42+
"hash" : "35dcc45f04a81cbf9e5ecdf0fcd5bebc"
43+
},
44+
"action-icon-move-white" : {
45+
"name" : "action-icon-move-white",
46+
"rule" : ".action-icon-move-white",
47+
"hash" : "2b1b790a494a079d288d5a3a47c6bd62"
48+
},
49+
"action-icon-new-dark" : {
50+
"name" : "action-icon-new-dark",
51+
"rule" : ".action-icon-new-dark",
52+
"hash" : "52c45b76d0dbd51e6eb65f0597d5098a"
53+
},
54+
"action-icon-new-grey" : {
55+
"name" : "action-icon-new-grey",
56+
"rule" : ".action-icon-new-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-new",
57+
"hash" : "c51315bd83a20806625ca3a887f86215"
58+
},
59+
"action-icon-new-white" : {
60+
"name" : "action-icon-new-white",
61+
"rule" : ".action-icon-new-white",
62+
"hash" : "5a344c62e037d672516dae0e3a8dd589"
63+
},
64+
"action-icon-search-dark" : {
65+
"name" : "action-icon-search-dark",
66+
"rule" : ".action-icon-search-dark",
67+
"hash" : "6ff124bc9423bf98be5a53e22508cd26"
68+
},
69+
"action-icon-search-grey" : {
70+
"name" : "action-icon-search-grey",
71+
"rule" : ".action-icon-search-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-search",
72+
"hash" : "57b5c47c0676da7f97d3b2f7eefbbea4"
73+
},
74+
"action-icon-search-white" : {
75+
"name" : "action-icon-search-white",
76+
"rule" : ".action-icon-search-white",
77+
"hash" : "17f1bf9820b0c44f4641e0256840b138"
78+
},
79+
"action-icon-settings-dark" : {
80+
"name" : "action-icon-settings-dark",
81+
"rule" : ".action-icon-settings-dark",
82+
"hash" : "5ecb08643250a052e5d090ef4660faf5"
83+
},
84+
"action-icon-settings-grey" : {
85+
"name" : "action-icon-settings-grey",
86+
"rule" : ".action-icon-settings-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-settings",
87+
"hash" : "5aeb35f1019c51a2f9140dc8765c9dca"
88+
},
89+
"action-icon-settings-white" : {
90+
"name" : "action-icon-settings-white",
91+
"rule" : ".action-icon-settings-white",
92+
"hash" : "8cdd154946f1a8d8d307b72eddd5d755"
93+
},
94+
"action-icon-star-dark" : {
95+
"name" : "action-icon-star-dark",
96+
"rule" : ".action-icon-star-dark",
97+
"hash" : "45567d03f8e34811eca0621e93b5e050"
98+
},
99+
"action-icon-star-grey" : {
100+
"name" : "action-icon-star-grey",
101+
"rule" : ".action-icon-star-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-star",
102+
"hash" : "1c7909e987b64b26b728506695457770"
103+
},
104+
"action-icon-star-white" : {
105+
"name" : "action-icon-star-white",
106+
"rule" : ".action-icon-star-white",
107+
"hash" : "e7c949542a54a347879ceb96f42a3c02"
108+
},
109+
"action-icon-tag-dark" : {
110+
"name" : "action-icon-tag-dark",
111+
"rule" : ".action-icon-tag-dark",
112+
"hash" : "24d97fa7524d0bf1bac17d9e07a63f48"
113+
},
114+
"action-icon-tag-grey" : {
115+
"name" : "action-icon-tag-grey",
116+
"rule" : ".action-icon-tag-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-tag",
117+
"hash" : "f04a5b38209c0f8e9ad2a3a964d5d505"
118+
},
119+
"action-icon-tag-white" : {
120+
"name" : "action-icon-tag-white",
121+
"rule" : ".action-icon-tag-white",
122+
"hash" : "fdfc5d20f6a0d90b6d329159823d2cb0"
123+
},
124+
"action-icon-wrench-dark" : {
125+
"name" : "action-icon-wrench-dark",
126+
"rule" : ".action-icon-wrench-dark",
127+
"hash" : "3a5cfa463c3c89194d3bbce3952a6e80"
128+
},
129+
"action-icon-wrench-grey" : {
130+
"name" : "action-icon-wrench-grey",
131+
"rule" : ".action-icon-wrench-grey, .device-desktop .phabricator-action-icon-view:hover .action-icon-wrench",
132+
"hash" : "40d8a77d6272589c69f65e9b5e5587e1"
133+
},
134+
"action-icon-wrench-white" : {
135+
"name" : "action-icon-wrench-white",
136+
"rule" : ".action-icon-wrench-white",
137+
"hash" : "20ee83ae6a5d0dc6918727b6ccacec67"
138+
}
139+
},
140+
"scales" : [
141+
1,
142+
2
143+
],
144+
"header" : "\/**\n * @provides sprite-action-icon-css\n * @generated\n *\/\n\n.sprite-action-icon {\n background-image: url(\/rsrc\/image\/sprite-action-icon.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-action-icon {\n background-image: url(\/rsrc\/image\/sprite-action-icon-X2.png);\n background-size: {X}px {Y}px;\n }\n}\n",
145+
"type" : "standard"
146+
}

resources/sprite/manifest/gradient.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
"rule" : ".gradient-blue-dark, button, a.button, a.button:visited, input.inputsubmit",
1717
"hash" : "f467612edcdbf984672287c6086492c4"
1818
},
19+
"gradient-blue-header" : {
20+
"name" : "gradient-blue-header",
21+
"rule" : ".gradient-blue-header",
22+
"hash" : "dd82b6d737f9f683c0d6e70eff59e872"
23+
},
1924
"gradient-blue-light" : {
2025
"name" : "gradient-blue-light",
2126
"rule" : ".gradient-blue-light, button:active, a.button:active",
@@ -36,6 +41,11 @@
3641
"rule" : ".gradient-green-dark, button.green, a.green, a.green:visited",
3742
"hash" : "a6719fe55b2b0e527ed32985691eab34"
3843
},
44+
"gradient-green-header" : {
45+
"name" : "gradient-green-header",
46+
"rule" : ".gradient-green-header",
47+
"hash" : "d61297d23aa31fa1de51e2b9b5974554"
48+
},
3949
"gradient-green-light" : {
4050
"name" : "gradient-green-light",
4151
"rule" : ".gradient-green-light, button.green:active, a.green:active",
@@ -46,6 +56,11 @@
4656
"rule" : ".gradient-grey-dark, button.grey, input.inputaux, a.grey, a.grey:visited, a.button.disabled, button[disabled], button.disabled",
4757
"hash" : "fac28a773098fc62bf571e12b843f71a"
4858
},
59+
"gradient-grey-header" : {
60+
"name" : "gradient-grey-header",
61+
"rule" : ".gradient-grey-header",
62+
"hash" : "f1453896068a8dd0d7885457c8e371bc"
63+
},
4964
"gradient-grey-light" : {
5065
"name" : "gradient-grey-light",
5166
"rule" : ".gradient-grey-light, button.grey:active, a.grey:active, button.grey_active, a.dropdown-open",
@@ -65,6 +80,16 @@
6580
"name" : "gradient-menu-selected",
6681
"rule" : ".gradient-menu-selected, .phabricator-side-menu .phabricator-menu-item-selected, .device-desktop .phabricator-side-menu a.phabricator-menu-item-selected:hover, .phabricator-nav-local a.phabricator-active-nav-focus",
6782
"hash" : "9b4b039fba177b90bc26f0e6eece339d"
83+
},
84+
"gradient-red-header" : {
85+
"name" : "gradient-red-header",
86+
"rule" : ".gradient-red-header",
87+
"hash" : "27a76645065953a8440d0c3d2b192c82"
88+
},
89+
"gradient-yellow-header" : {
90+
"name" : "gradient-yellow-header",
91+
"rule" : ".gradient-yellow-header",
92+
"hash" : "181e68e61f29071c3ec3810694c2ef08"
6893
}
6994
},
7095
"scales" : [
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"version" : 1,
3+
"sprites" : {
4+
"minicons-company-white" : {
5+
"name" : "minicons-company-white",
6+
"rule" : ".minicons-company-white",
7+
"hash" : "181289eba2fcb851858ab5b99fd19818"
8+
},
9+
"minicons-move-white" : {
10+
"name" : "minicons-move-white",
11+
"rule" : ".minicons-move-white",
12+
"hash" : "620e464c0e50830b90eaed3b5a2b9f56"
13+
},
14+
"minicons-public-white" : {
15+
"name" : "minicons-public-white",
16+
"rule" : ".minicons-public-white",
17+
"hash" : "c075363aeba4c52dbcc328a24d8f4298"
18+
},
19+
"minicons-restricted-white" : {
20+
"name" : "minicons-restricted-white",
21+
"rule" : ".minicons-restricted-white",
22+
"hash" : "af00df15815b83d410073859dacf7a75"
23+
}
24+
},
25+
"scales" : [
26+
1,
27+
2
28+
],
29+
"header" : "\/**\n * @provides sprite-minicons-css\n * @generated\n *\/\n\n.sprite-minicons {\n background-image: url(\/rsrc\/image\/sprite-minicons.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-minicons {\n background-image: url(\/rsrc\/image\/sprite-minicons-X2.png);\n background-size: {X}px {Y}px;\n }\n}\n",
30+
"type" : "standard"
31+
}
3.8 KB
3.8 KB
3.8 KB
6.83 KB
6.83 KB
6.83 KB

scripts/celerity/generate_sprites.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
'icon' => $generator->buildIconSheet(),
3131
'menu' => $generator->buildMenuSheet(),
3232
'apps' => $generator->buildAppsSheet(),
33+
'actions' => $generator->buildActionsSheet(),
34+
'minicons' => $generator->buildMiniconsSheet(),
3335
'conpherence' => $generator->buildConpherenceSheet(),
3436
'apps-large' => $generator->buildAppsLargeSheet(),
3537
'tokens' => $generator->buildTokenSheet(),

0 commit comments

Comments
 (0)