Commit Graph

167 Commits

Author SHA1 Message Date
miruka
db1cd13977 Glass.qpl: add .mention to styleSheet 2020-03-23 14:32:43 -04:00
miruka
3c64b33cb7 Color user mentions 2020-03-23 13:30:40 -04:00
miruka
5d513f84fa Add compact mode for sidepanes + setting 2020-03-22 12:50:51 -04:00
miruka
ee6ac18671 Show pages headers to go back to pane when needed 2020-03-19 20:33:46 -04:00
miruka
6ece4624ca Increase required width to show all events on left 2020-03-19 11:14:28 -04:00
miruka
e5c3afa219 Remove gray line at the bottom of tabs 2020-03-19 11:14:28 -04:00
miruka
743ff4df9f Upgrade Midnight theme with a real background 2020-03-19 02:35:50 -04:00
miruka
f52ec09d83 Midnight: make own messages color more distinct 2020-03-17 17:59:57 -04:00
miruka
51c266d2e4 Slight fix for message avatars size 2020-03-16 17:21:17 -04:00
miruka
977e75e95e Bundle default theme fonts 2020-03-15 19:08:12 -04:00
miruka
647d2e1f1f Fix (explicitely define) popup overlay 2020-03-15 19:08:12 -04:00
miruka
de729e42d9 Notice event line: respect UI zoom 2020-03-15 19:08:12 -04:00
miruka
64d67234ab Fix room settings background 2020-03-15 19:08:12 -04:00
miruka
ebab1e15c2 Add more control on radiuses from themes 2020-03-15 19:08:12 -04:00
miruka
1c23450805 Make events, checkbox, avatars respect radius 2020-03-15 19:08:12 -04:00
miruka
3922903d38 Reduce text colors intensity 2020-03-13 12:11:02 -04:00
miruka
3a2771d138 Change main pane top bar buttons and layout 2020-03-13 01:41:38 -04:00
miruka
5cee0f6c8a Improve overall theme and pane colors 2020-03-13 01:09:04 -04:00
miruka
05ebe955d0 Fix accentBackground/Element colors 2020-03-12 23:30:58 -04:00
miruka
02d09f405a Improve MainPane when reduced to minimumSize 2020-03-12 23:17:23 -04:00
miruka
ca53e18e24 Add main pane top bar, improve readability 2020-03-12 22:16:33 -04:00
miruka
1c9604c31a Add comment about file:// for theme image property 2020-03-10 12:28:22 -04:00
miruka
612c18ac28 Increase display names lightness 2020-03-10 10:04:30 -04:00
miruka
ecfdd8ff23 Glass.qpl: increase bgSaturation 2020-03-10 09:54:01 -04:00
miruka
264c2ab16b Rename themes 2020-03-10 09:48:51 -04:00
miruka
7c83041f6c Add new theme 2020-03-10 09:33:02 -04:00
miruka
baac01d1ad Revise default theme 2020-03-10 08:58:14 -04:00
miruka
77f851c319 Respect uiScale to decide how to align our msgs 2019-12-26 11:12:33 -04:00
miruka
5e26188dfe Fix & improve EventImage thumbnail sizes 2019-12-20 09:12:16 -04:00
miruka
535e380f40 Remove unused theme supported*PlusSpacing 2019-12-19 19:04:07 -04:00
miruka
b0cf708246 Differentiate invited members in room pane 2019-12-17 09:46:18 -04:00
miruka
88df501f13 Remove now unused pane properties in theme 2019-12-15 15:11:51 -04:00
miruka
4cd4386abe Improve HScrollableTextArea disabled handling
Don't hide text if no disabledText is explicitely set, set opacity
using theme.disableElementsOpacity
2019-12-13 06:24:58 -04:00
miruka
c4ee77ca15 Disable composer/upload button when no permission 2019-12-11 13:54:18 -04:00
miruka
888df282a8 Rename side pane stuff to main pane 2019-12-10 15:17:41 -04:00
miruka
3a3e0e9dbb Rename some chat components 2019-12-10 15:03:05 -04:00
miruka
66e3a07401 RoomSidePane header buttons background 2019-12-09 12:03:35 -04:00
miruka
06a6a4c08d Rewrite SidePane using QQC Drawer
Cleaner approach, gets rid of the HPage swipe view hack, better
performances, a lot less complex
2019-12-08 14:43:41 -04:00
miruka
956dc52174 Simplify box, tabs and popups size handling 2019-12-07 10:59:43 -04:00
miruka
7235611d54 Refactor SignIn, adjustments to HCheckBox & HBox 2019-12-07 09:38:36 -04:00
miruka
54df551b08 Rename theme "uploadsBar" to "fileTransfer" 2019-12-06 09:22:38 -04:00
miruka
97cf7b6dcd EventImage: respect uiScale 2019-12-05 10:51:57 -04:00
miruka
34e0ec7c7d Implement UI zooming 2019-12-04 09:08:38 -04:00
miruka
e4aa3b6572 Handle upload errors 2019-12-02 02:57:47 -04:00
miruka
2fd2806514 Support RoomMessageNotice events 2019-11-30 07:10:48 -04:00
miruka
a01de1f3d6 Add power icons for room members 2019-11-30 05:55:23 -04:00
miruka
dbdb7b9bb0 Make thumbnail min/max size configurable via theme 2019-11-11 05:43:17 -04:00
miruka
8742b7803c Tabs theme, even/odd color, no gaps between tabs 2019-11-08 10:17:23 -04:00
miruka
7bed1eca30 AddChat page 2019-11-08 10:17:23 -04:00
miruka
c6bb41573f Add uploadsBar section to theme 2019-11-06 16:14:48 -04:00
miruka
8eca875499 Use new HCircleProgressBar for HBusyIndicator 2019-11-06 14:30:31 -04:00
miruka
f9fd8055f2 Add HCircleProgressBar 2019-11-06 13:49:48 -04:00
miruka
a67d611958 Composer: add an upload button + file dialog
Upload not working yet
2019-10-27 15:12:57 -04:00
miruka
d20ab5a348 Refactor EventContent
Use proper layouts and get rid of multiple annoyances/bugs like
text-wrapping randomly happening in the middle of words, background
rectangles being too large, a certain binding loop, etc
2019-09-19 15:49:29 -04:00
miruka
4c4d747ecf Add AudioPlayer & EventAudio 2019-09-17 23:23:47 -04:00
miruka
f19d337817 Move hover preview height from settings to theme 2019-09-17 16:39:45 -04:00
miruka
692749e72f Support video events, new media player 2019-09-17 16:30:04 -04:00
miruka
ebf6d36c01 Transparent black for hovered avatar background
Also add theme property to change it.
2019-09-12 20:04:46 -04:00
miruka
1f58cfeae8 Add GIF pause overlay 2019-09-12 17:27:26 -04:00
miruka
15add6d91c Confirm account logout and propose exporting keys
Key export button callback not implemented yet.
2019-09-09 12:58:13 -04:00
miruka
2f7fbd2621 Profile: fix eliding, increase wide width needed 2019-09-09 11:35:46 -04:00
miruka
31e1daa046 Set placeholder text color for text field and area 2019-09-07 17:00:12 -04:00
miruka
c5bd5a1eb1 Add transparency to typing members bar 2019-09-07 16:55:07 -04:00
miruka
78119d1ef0 Wrap text in <pre> 2019-09-07 14:34:14 -04:00
miruka
6e40f29ebe Consider preview thumbnails to calculate msg width
Also move thumbnails width setting from settings.json to the theme
2019-09-06 23:36:37 -04:00
miruka
164f09c939 Add theme property to control hovered avatar size 2019-09-06 16:14:39 -04:00
miruka
812fc3aff7 Background color for HMenu instead of transparent 2019-09-06 16:11:25 -04:00
miruka
87ff343cc3 Reduce quotes brightness in room subtitles 2019-09-06 14:12:32 -04:00
miruka
9aff5450db Reduce icons brightness 2019-08-30 20:30:39 -04:00
miruka
92f6274458 Use QtGraphicalEffects.LinearGradient
Instead of using a Rectangle and its gradient prop, since there's no
need for the rotation/scale hack and it gives better quality.
2019-08-30 19:21:51 -04:00
miruka
927323909d Rename "greentext" to "quote" 2019-08-30 12:29:01 -04:00
miruka
3a6ecce4f7 Improve background gradient 2019-08-29 21:06:24 -04:00
miruka
665211a8d3 Increase inputs color saturation 2019-08-28 19:47:28 -04:00
miruka
73af3bd2c5 Reduce button hover/highlight overlay opacity 2019-08-28 19:44:52 -04:00
miruka
ff9f8127d7 UI gradient background, adjust some colors 2019-08-28 19:34:50 -04:00
miruka
e1da7be253 Gray out disabled button icons 2019-08-28 18:32:16 -04:00
miruka
6cda69ad67 Restore icon colors 2019-08-28 18:21:13 -04:00
miruka
4bee87ed5d Add positive/negativeBackground to theme 2019-08-28 16:41:58 -04:00
miruka
37e762d241 Remove hard-coded colors and cleanup SVG icons
Also remove old filled icons pack, and rename the "light-thin" pack to just
"thin".
2019-08-28 16:30:48 -04:00
miruka
18120f5216 Add HProgressBar component 2019-08-28 14:28:20 -04:00
miruka
399a35dacb Rename SendBox to Composer 2019-08-27 23:03:52 -04:00
miruka
77dbc3a502 Fix accent and input colors 2019-08-27 22:44:41 -04:00
miruka
ebfebbeae1 Improve import keys password popup 2019-08-27 22:43:57 -04:00
miruka
0a0e11e1f4 Rework the LoadingScreen and HBusyIndicator 2019-08-27 19:47:58 -04:00
miruka
0c0ede8b40 Disable buttons when they're loading 2019-08-27 14:21:10 -04:00
miruka
627a186700 Add tooltips to buttons and room invite button 2019-08-22 09:27:41 -04:00
miruka
3082c64666 Show user ID as member tile subtitle
Also move member styling in theme to the right place
2019-08-22 05:42:48 -04:00
miruka
437324bd64 Improve HMenu/HMenuItem style 2019-08-21 16:23:22 -04:00
miruka
ed96409645 Split HButton components, add HMenu/HMenuItem 2019-08-21 15:45:13 -04:00
miruka
206f5494c8 Use hsluv for display names & remove hsl funcs 2019-08-21 12:43:07 -04:00
miruka
9332eadbbf Use hsluv instead of hsla for avatar colors 2019-08-21 12:35:55 -04:00
miruka
6e3924ca4e Add ListView highlight color to theme 2019-08-21 04:58:53 -04:00
miruka
46e685847f Replace HInteractiveRectangle by HTiledelegate 2019-08-21 04:39:07 -04:00
miruka
4abf57c8d4 Make HCheckBox themable 2019-08-20 18:31:20 -04:00
miruka
ce128d5ab5 Refactor HButton 2019-08-20 17:41:24 -04:00
miruka
2865d86d19 Refactor SidePane ListView in a flat way
Also adjust some colors (accentBackground)

TODO: Repair Filter rooms field
2019-08-18 03:35:28 -04:00
miruka
1663b166c7 HInteractiveRectangle: add missing pressed effect 2019-08-17 17:05:52 -04:00
miruka
7319c8d7b4 Highlight currently select account/room delegate 2019-08-17 16:59:13 -04:00
miruka
5e63331f8b Increase h6 titles font size 2019-08-17 14:54:34 -04:00
miruka
c7adb5b02f Show error messages on login screen 2019-08-16 16:30:18 -04:00