Commit Graph

693 Commits

Author SHA1 Message Date
Pavel Djundik
fd6bc3ecb6 Fix up css refactoring 2019-12-10 19:25:32 +02:00
Richard Lewis
c022377c49 Refactor some CSS selectors. 2019-12-10 14:19:31 +02:00
Richard Lewis
45d7b0531a Fix video element overflowing on chrome. 2019-12-07 14:11:16 +00:00
Richard Lewis
eb0094618e Show pen icon if channel has a pending message, unless it's the active channel 2019-11-26 22:29:35 +00:00
Pavel Djundik
fa68d74f9e Remove transition from context menu items 2019-11-26 16:39:56 +02:00
Pavel Djundik
c2ed3fae56 Improve link preview loading 2019-11-25 21:37:51 +02:00
Pavel Djundik
2a6c57abaa Fix context menu generation 2019-11-25 20:13:16 +02:00
Pavel Djundik
0ac9601a3a Remove some data attributes 2019-11-25 20:13:15 +02:00
Pavel Djundik
21bbe7d4c3 Make sense out of settings sync and force sync 2019-11-25 20:13:13 +02:00
Pavel Djundik
85907f54ba Improve context menus 2019-11-25 20:13:13 +02:00
Richard Lewis
a71472a427 Port contextmenus to Vue 2019-11-25 20:13:11 +02:00
Pavel Djundik
7584f47c7d Cleanup webpush code 2019-11-25 20:13:10 +02:00
Tim Miller-Williams
347802a4b6 Refactor Apple keyboard logic to be more explicit 2019-11-25 20:13:03 +02:00
Pavel Djundik
5c4b402341 Fancy image interactions in the image viewer
Desktop:
- Mousewheel to zoom in/out (hold ctrl to move up/down)
- If zoomed, drag around with mouse to move

Mobile:
- Move around with one finger
- Change zoom with two fingers
2019-11-25 20:12:47 +02:00
Richard Lewis
b95f89c4c2 Implement version checker in Vue. 2019-11-25 20:12:31 +02:00
Richard Lewis
5b17a2fbe4 Port session list to vue. 2019-11-25 20:12:27 +02:00
Pavel Djundik
09e12affe8 Begin moving windows to Vue 2019-11-25 20:12:21 +02:00
Raqbit
95cc9a47fb Add file size to link preview 2019-11-07 16:58:28 +01:00
Pavel Djundik
48713428b7 Import primer-tooltips css 2019-11-02 12:45:41 +02:00
Pavel Djundik
959ec5b598
Merge pull request #3471 from MiniDigger/feature/plugin-messages
Add message type for plugins
2019-11-01 16:41:41 +02:00
Pavel Djundik
5b3399f95a Use postcss to optimize css 2019-11-01 13:47:18 +02:00
Jay2k1
c89aea3c1e add bidi support to messages, actions, previews etc 2019-10-24 16:53:29 +02:00
MiniDigger
8f7bee8dd3 Add icon to message 2019-10-22 19:38:13 +02:00
Pavel Djundik
2273c913ac
Merge pull request #3451 from thelounge/xpaw/heading-contrast
Increase contrast of headers in windows
2019-10-21 11:01:47 +03:00
Pavel Djundik
4e17067a07 Update context and auto complete menu styles 2019-10-20 00:36:40 +03:00
Pavel Djundik
ba517bbac9 Increase contrast of headers in windows 2019-10-14 17:30:35 +03:00
Pavel Djundik
d09a35b129 Use default cursor for active channels 2019-09-16 11:30:30 +03:00
ollipa
e69e448396 add save button to edit topic input field 2019-08-11 17:34:01 +03:00
ollipa
49652fc40a make channel topic editable from user interface 2019-08-11 15:29:08 +03:00
Pavel Djundik
ba356ae34c
Merge pull request #1873 from thelounge/astorije/outlines
Add custom focus outlines for inputs and green buttons
2019-07-19 16:45:15 +03:00
Jérémie Astori
e246c06c32 Do not silence outline of all elements, and add custom outline where possible
- Tweak outlines
- Consolidate focus shadows between inputs and buttons, apply custom focus to whole page (i.e. on "Join a channel" form), cleanup
- Do not add custom outlines on checkboxes/radios as browsers are not doing this too well
- Apply hover effect on all inputs, not just in `#windows`
2019-07-19 16:12:15 +03:00
Alistair McKinlay
20816d509d Add check for outdated packages, and show on the help screen. 2019-07-19 13:33:09 +01:00
Pavel Djundik
e04bfe39bf Improve raw messages 2019-07-17 10:34:23 +03:00
Emerson Veenstra
ef6684b77b Only prepend text with 'Notice: ' if it's the nick it's from 2019-06-14 13:51:42 -04:00
Pavel Djundik
830fdda91a Implement invite list 2019-04-15 14:38:11 +03:00
Pavel Djundik
dde3465cfa
Merge pull request #3114 from thelounge/xpaw/sortable-fixes
Change styling when dragging channels.
2019-03-27 12:42:48 +02:00
Pavel Djundik
f9459ee1c3 Fix up sorting channel styling 2019-03-27 12:23:50 +02:00
Pavel Djundik
3153830005 Change condensed summary hover to an underline 2019-03-25 17:08:22 +02:00
Jérémie Astori
7e7ac8229b Style the upload progress bar 2019-03-18 10:28:18 +02:00
Pavel Djundik
f84e4199e9 Re-implement file uploads with old-school forms
Co-Authored-By: Richard Lewis <richrd@users.noreply.github.com>
2019-03-18 10:28:18 +02:00
Pavel Djundik
71332f59d9 Display current channel mode on /mode command
Fixes #885
2019-03-07 12:57:31 +02:00
Pavel Djundik
212f4be3c3
Fix (dis)connect icons in context menu being reverse of what they should be 2019-03-01 14:23:58 +02:00
Jérémie Astori
f8b5983f2c
Use Vue to show/hide insecure/disconnected icons instead of CSS 2019-02-27 02:25:44 -05:00
Pavel Djundik
6f70ce9e15
Merge pull request #3082 from thelounge/astorije/parted-channel
Display a broken link icon and red text color when not joined on a channel
2019-02-26 19:18:54 +02:00
Jérémie Astori
e173b84fdb
Show/Hide parted channel icon/styling using v-if instead of CSS display property 2019-02-26 01:26:45 -05:00
Jérémie Astori
f8a39a0ea8
Display a broken link icon and red text color when not joined on a channel 2019-02-25 00:21:40 -05:00
Pavel Djundik
a9eced888f Set scrollbar properties for Firefox 64+
Refs:
https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color
https://drafts.csswg.org/css-scrollbars-1/
2019-02-23 11:41:39 +02:00
Jérémie Astori
8dee92bd04
Reduce shadow on scroll-down button 2019-02-18 13:54:25 -05:00
Jérémie Astori
404de0ff5b
Use CSS variable for button color 2019-02-18 13:32:41 -05:00
Jérémie Astori
d8d1d3aee0
Improve scroll-down button UI 2019-02-18 01:13:32 -05:00
Jérémie Astori
2657332919
Fix loading page styling 2019-02-15 01:40:42 -05:00
Pavel Djundik
c8568b5429 Redirect pageup/pagedown without manually animating the scroll 2019-02-13 16:44:15 +02:00
Pavel Djundik
199df6b729 Fix hasRoleInChannel 2019-02-13 16:44:15 +02:00
Pavel Djundik
2b653a30d6 Tweak connection error spacing 2019-02-12 12:49:06 +02:00
Pavel Djundik
42717e3dec Enable preserveWhitespace: false, add spaces where needed, fix whitespace when copying text 2019-02-12 12:49:06 +02:00
Pavel Djundik
7ba14fe4e3 Explicitly place * on actions in DOM 2019-02-12 12:49:06 +02:00
Pavel Djundik
00b84d31f5 Fix whitespace in previews 2019-02-12 12:49:06 +02:00
Pavel Djundik
6d1d2e006a Remove extra .text span as its no longer needed 2019-02-12 12:49:06 +02:00
Pavel Djundik
4d400b6ace Hide scroll down button entirely with css to fix some issues 2019-02-12 12:49:06 +02:00
Pavel Djundik
f1994352bd Fix scroll button on iOS 2019-02-12 12:49:05 +02:00
Pavel Djundik
d1185da9eb Fade buttons when disabled 2019-02-12 12:49:05 +02:00
Pavel Djundik
26dc37033c Make connection-error a vue state 2019-02-12 12:49:04 +02:00
Pavel Djundik
ae56191b9f Fix scroll-down button position in non channels 2019-02-12 12:48:44 +02:00
Pavel Djundik
a10ac4e7da Make a single function to initialize channel variables 2019-02-12 12:48:44 +02:00
Pavel Djundik
ad0f638487 Add jump-to-bottom arrow when scrolled up 2019-02-12 12:48:44 +02:00
Pavel Djundik
bc69ef5f0b Actually change message output based on statusMessage setting 2019-02-12 12:48:44 +02:00
Pavel Djundik
8931570c02 Port join-channel completely to Vue 2019-02-12 12:48:43 +02:00
Pavel Djundik
ebda927bb1 Render toggle button after links 2019-02-12 12:48:43 +02:00
Pavel Djundik
30bdfe9d3f Hide 'show more history' button if there are no more messages 2019-02-12 12:48:42 +02:00
Pavel Djundik
0654a4373f Minor fix for previews 2019-02-12 12:48:42 +02:00
Pavel Djundik
db803a8548 Port channel list to Vue 2019-02-12 12:48:42 +02:00
Pavel Djundik
dee76adc0c Implement network collapsing in Vue 2019-02-12 12:48:41 +02:00
Pavel Djundik
a229138ca6 Add connected state 2019-02-12 12:48:41 +02:00
Pavel Djundik
d4a23ffc98 Fix loading disappearing too soon 2019-02-12 12:48:41 +02:00
Pavel Djundik
7e332b817d Channel list rendering with Vue
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-02-12 12:48:41 +02:00
Pavel Djundik
77dc3086a0 Fix copying text in Firefox
Fixes #3035
2019-02-12 10:52:07 +02:00
Pavel Djundik
d33021773c Fix up textarea growing to avoid rounding issues in Chrome 2019-02-05 23:24:30 +02:00
Pavel Djundik
d260ee05da Fix line-height to match height in input 2019-01-26 10:34:12 +02:00
Jérémie Astori
69788a6b9b
Make sure the changelog page is selectable, e.g. for copy-pasting commands 2019-01-19 01:37:26 -05:00
Pavel Djundik
17115fa74d Fix highlight styles not applying to notices and actions 2019-01-16 13:29:45 +02:00
Pavel Djundik
eb648195de Fix .active styles incorrectly applying to hovered users in userlist
Fixes #2969
2019-01-15 12:56:26 +02:00
Pavel Djundik
aceffed61f Remove underline from textcomplete dropdown 2018-10-01 17:12:37 +03:00
Pavel Djundik
ecc1fdd799
Fix extra padding in condensed messages on mobile
Fixes #2797
2018-09-24 10:25:20 +03:00
Pavel Djundik
c62665f47b Add hover underline on preview expand button 2018-09-21 11:05:56 +03:00
Pavel Djundik
45235ba7aa Enable underlines on links 2018-09-19 09:58:46 +03:00
Richard Lewis
e97c9ff265 Fix fullscreen mode for videos. I was unable to reproduce the border radius issue. 2018-09-13 20:04:19 +03:00
Pavel Djundik
ce212e001c Add file uploading support
Co-Authored-By: Max Leiter <hello@maxleiter.com>
Co-Authored-By: Jérémie Astori <astorije@users.noreply.github.com>
2018-09-03 10:30:05 +03:00
Pavel Djundik
b1dcbd3811
Merge pull request #2601 from thelounge/xpaw/fix-2572
Make menu state consistent on desktop and mobile; fix sliding on desktop
2018-08-17 09:25:43 +03:00
Ivan Kozik
2a74ace48f Keep timestamps aligned when using a font with variable-width numbers
This improves the layout of the timestamps when using the San Francisco font.
2018-07-29 15:22:54 +00:00
Jérémie Astori
8c09be9db3
Reuse muted color var for unhandled messages, and remove channel list color overrides 2018-07-24 01:16:39 -04:00
Jérémie Astori
fbe8a4151c
Reuse CSS variable on muted texts (timestamp, self messages, etc.) and improve constrast accessibility
#767676 is the lightest gray that passes AA level of WCAG contrast recommendations
2018-07-21 02:25:18 -04:00
Jérémie Astori
f69571847a
Make userlist section titles sticky on scroll 2018-07-21 02:25:17 -04:00
Pavel Djundik
ee4c8d78d3 Use monospace font on MOTDs and set an icon 2018-07-17 10:13:50 +03:00
Jérémie Astori
7f94a47a50
Merge pull request #2622 from thelounge/astorije/fix-highlight-mobile
Fix incorrect left padding for highlights on mobile
2018-07-08 15:03:10 -04:00
Jérémie Astori
f58e171a69
Fix incorrect left padding for highlights on mobile 2018-07-08 14:46:55 -04:00
Pavel Djundik
cdebd532ce Make menu state consistent on desktop and mobile; fix sliding on desktop
Fixes #2572
2018-07-06 12:27:26 +03:00
Pavel Djundik
d63f0ccc50 Make userlist state consistent on mobile and desktop 2018-07-04 10:26:07 +03:00
Jérémie Astori
7e8610bbac
Fix highlights when seconds are shown in timestamps 2018-06-23 14:58:17 -04:00
Jérémie Astori
1d6c6dd52b
Merge pull request #2526 from thelounge/astorije/higlight-border-and-bg
Replace current red-text highlight with a full background-color highlight
2018-06-23 14:20:44 -04:00
Jérémie Astori
c2ce56292c
Use a combination background + left border for highlight messages 2018-06-21 13:30:29 -04:00