Commit Graph

29 Commits

Author SHA1 Message Date
Tusooa Zhu 68110ce825
Make interact buttons accessible for anonymous users 2023-01-21 15:41:12 -05:00
tusooa 7dc2277453
Use stylelint 2023-01-09 13:02:16 -05:00
HJ 513b81a23b Merge branch 'from/develop/tusooa/remote-xact' into 'develop'
Remote interaction with posts: frontend part

See merge request pleroma/pleroma-fe!1419
2022-11-21 19:34:19 +00:00
Tusooa Zhu 11672bc490 Fix styling on Safari 2022-08-22 20:28:52 +00:00
Tusooa Zhu 97951fccfd Use :focus-visible instead of :focus for focus markers
In this way, after the user clicked with a pointer and moved that
pointer away, the focus marker will no longer show a focused style.

As Safari remains the only major browser engine that does not support
:focus-visible, a fallback to :focus is used if there is no browser
support for :focus-visible.

https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
2022-08-22 20:28:52 +00:00
Tusooa Zhu b2e4827741 Add badges to status interacting buttons
Now, the following badges will be added:
0: (+) sign to reply, favourite, repeat, react and extra buttons
1: (-) sign to unfavourite and unrepeat
2: (x) sign to close reply form, close react popover, and close extra buttons popover
3: Check mark to favourited and repeated statuses

https://git.pleroma.social/pleroma/pleroma-fe/-/issues/1092
2022-08-22 20:28:52 +00:00
Henry Jameson fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Tusooa Zhu 5cd18be47b
Enable anonymous users to interact with statuses remotely 2022-07-01 13:03:45 -04:00
Shpuld Shpuldson 276ef31145 fix alternative icons having wrong offsets 2020-11-26 23:01:16 +02:00
Shpuld Shpuldson bee77ffdb2 fix retweet event handler, fix text being selectable for status action counters 2020-11-26 18:23:53 +02:00
Shpuld Shpuldson 7b99d98c55 Replace all use of <a> + href='#' with proper buttons 2020-11-24 12:32:42 +02:00
Henry Jameson b6cf2bcefd improved the semantics for our icon scale, fixed preview, fixed navbar desktop 2020-10-28 21:31:16 +02:00
Henry Jameson 3814218277 Some initial work on replacing icons with FA5 2020-10-20 20:28:11 +03:00
Henry Jameson 979e170bd6 created mergedConfig getter to avoid obnoxious checks for undefined everywhere 2019-09-29 22:33:15 +03:00
Henry Jameson 8d6750d9c2 eslint --fix --ext .js,.vue src 2019-07-05 10:17:44 +03:00
Shpuld Shpludson 67c2a607aa Feature/bigger icons for mobile / #211 2018-12-18 18:26:14 +00:00
ValD c142f7b7b6 addressed PR comments 2018-12-04 00:45:31 +05:30
ValD c40bda7c2a added tooltip 2018-12-04 00:45:31 +05:30
scarlett bdcbd110e4 Add option for hiding post statistics (e.g. repeats, favs) 2018-09-04 00:41:52 +01:00
Henry Jameson 529643d35a indents 2018-04-07 19:30:27 +03:00
Henry Jameson acdb5e5c7a cleanup. added fallback mechanism for IE11 and unsupported browsers. 2018-04-07 16:36:35 +03:00
Henry Jameson aa0564406a getting rid of baseXX, some small fixes. Seems to be usable. 2018-04-07 16:34:11 +03:00
eal 664a55fc79 Show fav/RT counts even if not logged in. 2018-02-02 00:45:29 +02:00
shpuld f02229fed2 Add specifity to active classes to make them override theme colors. 2017-11-24 23:55:46 +02:00
shpuld 10be553910 Update icons to use base09 where appropriate, calculate base09 by averaging bg and text colors. 2017-11-22 01:00:25 +02:00
xj9 459fdaf10f add a spin animation to favorite and boost actions 2017-03-08 21:45:40 -07:00
Roger Braun fc7e13e7bb Add styling with base16.
Solarized-dark for now.
2017-01-15 15:44:56 +01:00
Jiayi Zheng 53fed694df Refactor css
Apply different styles to reply, retweet and favorite buttons
2016-11-13 17:52:20 +01:00
Roger Braun 8630f91a13 Add favorite-button. 2016-10-30 16:12:35 +01:00