Closed LouCypher closed 10 years ago
or add-on icon (green puzzle piece), since this extension also works on Seamonkey, Palemoon, etc. It is possible, but it's better to use octicon, IMHO.
Nice idea(s) :-) we may could even make it configurable.
LouCypher, I don't like the use of innerHTML, so if you would like to change it i'll merge your PR, otherwise i could do it myself if you want.
I don't like the use of innerHTML, so if you would like to change it i'll merge your PR, otherwise i could do it myself if you want.
Done
Maybe add primary
class (see CSS styleguide) to the button to make it green like AMO's install button?
What do you think?
That looks nice.
Btw, i didn't merged your PR yet because there are merge conflicts and i'm busy atm working on something else, if you want to fix that yourself it'll be great :)
i like the simple firefox stylized icon. but its no big deal haha. i think the simple plain colored ff icon matches git style. i dont think it should match amo style cuz its not amo.
not using innerHTML is good because if we do AMO approvers reject it lol
I was wondering if the green button might lead to confusion, you know on AMO this is used for fully approved add-ons, so there might be someone thinking it's safe to install extensions straight from repos? I've just added it to the button in PRs in any case...
if you want to use proper color coding probably the unapproved color:
<a class="button caution prominent add" data-hash="sha256:c361e73d76a876b195127a4c0ab8804aa231d575e2379364c0dfd0684ed11091" href="https://addons.mozilla.org/firefox/downloads/file/243892/nthotkey-1.1-fx.xpi?src=dp-btn-primary">
<b></b>
<span>Add to Firefox</span>
</a>
i still prefer the simple stylized ff icon, it matches git style
That "unapproved" one is already being used when clicking the button. Although i think i can just change that by any standard style as provided by Lou.
Edit: Yeah, it looks more nice now 38865b5a1d42d8a5e8a1405e654e6b53caba92f9 :-)
Edit: Yeah, it looks more nice now 38865b5 :-)
Looking good!
Maybe changing the annoying alert messages in something more elegant would be great too...
Heh, well... that helped me during development since the generated XPI isn't removed from temp until it's closed, but yeah... i'll make that configurable.
Sorry for the late reply, and thanks for the commits.
I was wondering if the green button might lead to confusion, you know on AMO this is used for fully approved add-ons, so there might be someone thinking it's safe to install extensions straight from repos?
Good thinking.
38865b5 7afce70
Looks even better now :heart_eyes:
Cheers :beers:
No problem, thank you for the helpful resources and ideas :+1:
Preview:
Doesn't look much different but at least it matches with other buttons.
If you prefer other icon — beer, for example — see https://github.com/styleguide/css/7.0