18 Commits

Author SHA1 Message Date
wukko
64680e162a
web/Switcher: add box-shadow to active item 2025-02-27 20:41:11 +06:00
wukko
ceee059ecf
web/Switcher: reduce padding 2025-02-25 13:35:57 +06:00
wukko
72c30a58aa
web/Switcher: fix rounded corners in RTL layout 2024-11-20 15:33:27 +06:00
wukko
e34b8dd89c
web/Switcher: add a gap between items 2024-10-12 19:07:05 +06:00
wukko
e541bdc6d7
web/Switcher: fix ghost hover effect on active button
it used to appear very briefly when you pressed a button and didn't move the cursor off the button
2024-07-20 19:09:44 +06:00
wukko
8193e8c14d
web/buttons: add hover state to active button 2024-07-20 18:54:12 +06:00
wukko
c013134b70
web/settings: move switcher description to correct component 2024-07-10 19:35:23 +06:00
wukko
a478993599
web: improve screen reader usability
- switchers now have audible states
- toggles are now interpreted as toggles
- fixed weird spacing introduced in last commit
2024-07-03 14:09:09 +06:00
wukko
5ced7b5388
web/save: move strings to i18n & translate to ru
also fixed line break in switcher for future lengthier translations (german, for example)
2024-07-03 13:52:27 +06:00
wukko
3527131cd7
web/settings: calculate item padding properly 2024-06-29 23:31:40 +06:00
wukko
a1913988d7
web/settings: adjust padding for switcher & toggle 2024-06-29 23:02:10 +06:00
wukko
ad6539e3bd
web/settings: replace checkbox with toggle
- equal font size & padding for all subtexts in settings
- equal padding & border radius for all settings components

it just looks way better now
2024-06-29 22:51:24 +06:00
wukko
c7befcb100
web/Switcher: new style & clean up 2024-06-29 21:19:35 +06:00
wukko
042d2e9cc8
web: settings ui & const for settings type options 2024-06-24 23:05:51 +06:00
wukko
00cdb2121d
web: data-driven switcher & save mode switcher
also:
- disabled ssr to enable localstorage
- removed the workaround for hover, as it looks bad
2024-06-19 23:04:09 +06:00
wukko
1325c3516c
web: move border radius into a variable 2024-06-16 19:51:02 +06:00
wukko
3a57c7165f
web/sidebar: scroll only in one direction on overflow 2024-06-16 19:50:42 +06:00
wukko
324729eb21
web: basic switcher component & mute mode button 2024-06-16 15:30:14 +06:00