Commit Graph

584 Commits

Author SHA1 Message Date
Jérémie Astori
ffe8f2899b
Merge pull request #1787 from thelounge/xpaw/messages-bottom
Align message container to the bottom
2017-12-15 22:27:04 -05:00
Jérémie Astori
0a333ad84d
Merge pull request #1829 from thelounge/astorije/better-icons
Use better icons for channel/query list and context menu actions
2017-12-15 19:27:19 -05:00
Jérémie Astori
861d6b6642
Use better icons for channel/query list and context menu actions 2017-12-15 19:09:15 -05:00
Pavel Djundik
7dcab09516
Merge pull request #1806 from MaxLeiter/sound
Support audio file previews
2017-12-13 11:03:04 +02:00
Max Leiter
ad1114ccfe Support audio file previews 2017-12-12 11:29:13 -08:00
Pavel Djundik
ccd0a6559b Add styling for 16-98 colors 2017-12-12 20:14:05 +02:00
Erik Vosseberg
33d865501d
Add whois and conversation as action to user contextmenu
Add Op specific actions to contextMenu

Show context menu when left clicking user

Switch to using data attributes as selectors

remove ban as possible action

Move `isOpInChannel()` to utils.js

Capitalize strings

use CSS.escape for `ownNick`

use string interpolation

properly point to findCurrentNetworkChan

Move context menu item actions to command pattern

add icons for context menu actions

Make list in context menu always list.

remove empty lines in style.css

use info circle instead of question circle

change context menu labels.

change contextMenuActions.execute to more explicit method.
2017-12-11 23:04:29 -05:00
Jérémie Astori
ce2adb4b8d
Use hashtag icon for channel instead of the sad file icon :) 2017-12-11 01:20:28 -05:00
Jérémie Astori
9436ba9301
Make sure user icon matches in network list, window context menu, and nick context menu 2017-12-11 01:19:50 -05:00
Jérémie Astori
a8fb892873
Merge pull request #1816 from MaxLeiter/fix-network-context
Proper network icon in context menu
2017-12-09 18:17:38 -05:00
Pavel Djundik
de98c2b13a
Merge pull request #1802 from MaxLeiter/chanlist
Add 'Channel list' to network context menu
2017-12-10 01:09:35 +02:00
Max Leiter
6311176f00 Proper network icon in context menu 2017-12-09 15:03:15 -08:00
Max Leiter
fb5eb0664a Add 'Channel list' to network context menu 2017-12-09 14:34:33 -08:00
Logan Griswold
f07c1bef69
#1755 - implement monospace formatting with keybinding, tests, and help section 2017-12-03 15:10:46 -05:00
Logan Griswold
0643d3b4a3
#1754 - implement strikethrough formatting, client keybinding, tests, and help section 2017-12-03 15:10:34 -05:00
Pavel Djundik
11568d7405 Align message container to the bottom 2017-12-01 12:41:26 +02:00
Max Leiter
d9d4672d75 Fix text highlighting when clicking on condensed message toggles 2017-11-26 14:05:23 -08:00
Pavel Djundik
e3515d2ea1 Update stylelint rules 2017-11-26 14:28:33 +02:00
realies
5c4e1e55a6
fix gap between #sidebar and #footer 2017-11-08 18:01:35 +02:00
Pavel Djundik
8062609c86
Merge pull request #1602 from thelounge/xpaw/remove-inconsolata
Remove Inconsolata
2017-11-06 22:15:19 +02:00
Amos Ng
e83ba807f4
Fix hyphenated names overflowing (#1667) 2017-10-31 00:01:35 +08:00
Swapnull
449976b0f9 reduce padding around titles 2017-10-18 21:00:18 +01:00
Jérémie Astori
75bc45f354
Make sure channel list close button is really absent when channel is not selected 2017-10-10 02:05:54 -04:00
Jérémie Astori
54cffb4712
Fix some missing parts from recent font changes/resizing
- Separate messages by one more pixel: the recent font changes make multiline messages rather hard to differentite from one another. I believe adding 2px looked better, but I knew that would cause riots so I went for a middle ground 😅
- Make previews the same size than messages themselves, and adapt the thumbnail height accordingly
- Make the message input font size same as message size
2017-10-03 01:09:02 -04:00
Pavel Djundik
737c75638e Remove Inconsolata 2017-10-01 12:22:04 +03:00
Jérémie Astori
a93adcbdfa
Give chat timestamp a fix width to fix message alignment issues 2017-10-01 01:12:08 -04:00
Pavel Djundik
0b16026fe2 Merge pull request #1568 from Gilles123/patch-1
Fix nick change on Safari for Mac and iOS
2017-09-27 10:27:18 +03:00
Gilles123
04d9b52113
Fix nick change on Safari for Mac and iOS
It is currently impossible to edit the nick text after pressing the edit button on Safari for iOS and Mac because user-select is set to None on Safari by default. This fixes that issue. Tested that it is not editable when it shouldn't be and that it doesn't break anything on Chrome or Firefox.
2017-09-26 18:44:23 -04:00
Jérémie Astori
5728424c75
Use monospace font in custom CSS textarea 2017-09-26 11:21:42 -04:00
Pavel Djundik
d7e6db92b5 Implement session list 2017-09-26 10:56:08 +03:00
Jérémie Astori
46e8ec9ca9
Fix flickering on link hovering, and inconsistencies between chat links and UI links 2017-09-25 18:06:55 -04:00
Jérémie Astori
5e4a4d1d0b
Fix wrongly positioned menu when opening it and switching to landscape
This could be reproduced on tablet or large phone (as long as portrait mode shows a collapsible menu and landscape mode shows normal menu) or when resizing the browser on desktop.
2017-09-23 12:21:31 -04:00
Jérémie Astori
4dc3769b18
Make channel list links clickable on full width, simplify code
- Close button and badge are now positioned using the same method. Previously one was float and the other was absolutely positioned.
- Increase the close button size to match 2.4.0, as it was made smaller when moving to the native font stack.
- Removed link margins on left/right of the channel links, and the `1px` gap between links.
- Removed hack/fix for drag-and-drop now made unnecessary
2017-09-22 23:42:16 -04:00
Jérémie Astori
713d2c14e5
Reduce message size on mobile and increase a bit UI text 2017-09-22 21:59:45 -04:00
Jérémie Astori
3eaf12cc36
Increase font size on desktops and mobiles 2017-09-21 03:26:30 -04:00
Pavel Djundik
1c065ad1b6 Remove duplicate keybindings help 2017-09-20 10:57:43 +03:00
Jérémie Astori
637949ea55 Merge pull request #1471 from thelounge/xpaw/client-reconnection
Automatic client reconnection
2017-09-20 00:05:37 -04:00
Jérémie Astori
d97b844e29 Merge pull request #1520 from iamstratos/master
Add touch-action to Messages, Sidebar and User list
2017-09-19 23:53:27 -04:00
Pavel Djundik
05fc00d9be Display all the status changes in UI 2017-09-19 11:45:22 +03:00
Pavel Djundik
4e776f7a5f Remove Lato 2017-09-18 13:33:04 +03:00
Pavel Djundik
3ac15f97f1 Use native font stack 2017-09-18 13:32:52 +03:00
Jérémie Astori
90cb79ac91 Merge pull request #845 from MaxLeiter/MaxLeiter/away-notify
Use away-notify to show updates on users away state
2017-09-17 14:45:27 -04:00
Max Leiter
163cfaba3c Use away-notify to show user away status change 2017-09-17 11:16:48 -07:00
Al McKinlay
948f304bb9 Merge pull request #1511 from thelounge/xpaw/checkered-background
Checkered background for transparent images in image viewer
2017-09-16 20:53:13 +01:00
ssstratos
6708261368 Add touch-action to more elements
- Add touch-action: pan-y to .container, .networks, .sidebar, #form
#input
- Add touch-action: none to body
2017-09-14 01:04:03 +03:00
Jérémie Astori
6d08b8d087
Fix hovering condensed messages 2017-09-13 01:36:11 -04:00
ssstratos
32da456c84 Add touch-action to Messages, Sidebar and User list
This commit fixes #1035
2017-09-12 23:50:31 +03:00
Pavel Djundik
f2bc5adf7b Checkered background for transparent images in image viewer 2017-09-09 14:09:23 +03:00
Pavel Djundik
7ee808169d Format messages on copy
Fixes #1146
2017-09-03 11:27:53 +03:00
Pavel Djundik
f65fb6573b Merge pull request #1481 from MaxLeiter/emoji-title
Change vertical alignment of emoji in topics, fixes #1480
2017-09-01 11:23:39 +03:00
Jérémie Astori
ad8ec4b1e6
Remove the "Stay signed in" checkbox at login
This option is less and less the norm on modern webapps, it is fair to assume this is the default behavior. In fact, we were making it the default.

But more importantly, coming soon is the ability of remotely logging out of your other sessions, which is well handled through token deletion. That means we need to know about said tokens, which are not sent in no-"Stay signed in" version.
2017-08-31 23:07:43 -04:00
Max Leiter
05aa5da6e0 Change vertical alignment of emoji in topics, fixes #1480 2017-08-31 13:53:21 -07:00
Pavel Djundik
d814abd1cf Implement condensed messages option entirely with CSS
Fixes #1432
2017-08-30 15:43:31 +03:00
Pavel Djundik
c55c338c72 Merge pull request #1446 from thelounge/parse-emoji
Parse emoji to make them bigger
2017-08-26 20:34:40 +03:00
Pavel Djundik
5785af6738 Do not hide time from events in condensed block 2017-08-24 15:21:07 +03:00
Pavel Djundik
06741a1e1c Merge pull request #1153 from bews/bews/dev-8-font
Bigger font size
2017-08-24 11:56:30 +03:00
Mac Carrithers
f8663ed28b Parse emoji to make them bigger 2017-08-24 11:54:28 +03:00
Jérémie Astori
51bd46b871
Fix time placeholder showing on mobile format for condensed messages
As an extra, make sure time placeholder cannot be selected anymore, and do not do an extra call to `tz` helper when time is not relevant/displayed.

I tried to entirely remove `time`/`from` blocks, but because of flexbox layout, that broke message alignment...
2017-08-23 02:23:54 -04:00
Pavel Djundik
0ac3ba28e1 Web Push Notifications 2017-08-22 10:54:18 +03:00
Jérémie Astori
e5ee53fc1f
Use leading-zero notation to get closer to stylelint standard config 2017-08-21 02:22:40 -04:00
Jérémie Astori
5d77bcb7c8
Use double-colon on pseudo elements to get closer to stylelint standard config 2017-08-21 02:18:33 -04:00
Jérémie Astori
270fd8d4f9 Fix expanded status messages not taking up full line width 2017-08-15 20:06:18 -04:00
Jérémie Astori
853e646670
Move condense caret to the right, animate transition, add hover state (with transition), reuse thumbnail toggle style 2017-08-13 16:16:38 -04:00
Jérémie Astori
b508783101
Improve UI of expanded/condensed status message selection in client settings 2017-08-13 16:14:38 -04:00
Jérémie Astori
0cdc2a0a04
Replace status message abbr with a tooltipped icon 2017-08-13 16:14:37 -04:00
Alistair McKinlay
499dfdfe92
Condense Joins 2017-08-13 14:30:30 -04:00
Niko Bews
b02db5f1c6 Bigger font size 2017-07-29 23:39:34 +03:00
Jérémie Astori
5b60bb0b0c
Remove background blur filter/transition when opening the image viewer 2017-07-24 02:31:12 -04:00
Jérémie Astori
2a81af6949 Merge pull request #1365 from thelounge/astorije/image-viewer-previous-next
Add Previous/Next cycling buttons to the image viewer
2017-07-24 01:47:53 -04:00
Jérémie Astori
b9f17b77ab
Add Previous/Next cycling buttons to the image viewer 2017-07-23 13:14:27 -04:00
Pavel Djundik
52d85559aa Fix link previews not truncating correctly 2017-07-22 12:33:49 +03:00
Pavel Djundik
74ca130d51 Hide overflow on entire message row
Fixes #1360
2017-07-21 15:00:42 +03:00
Jérémie Astori
1c8ea0b75c
Fix preserved whitespace-related issues for previews by separating them from main text 2017-07-21 01:50:09 -04:00
Jan Visser
f0e6e397a4 Correctly handle multiple successive whitespace characters 2017-07-18 16:54:35 +02:00
Jérémie Astori
e5bace1794
Hide empty preview divs when there are no previews loaded 2017-07-18 00:37:45 -04:00
Jérémie Astori
511b173b6f
Add an image viewer for thumbnails and image previews 2017-07-16 19:25:48 -04:00
Jérémie Astori
a010973766
Fix some button styling 2017-07-15 12:27:39 -04:00
Jérémie Astori
1110097664
Remove "in" transition on autocomplete items to fix a visual glitch on value refresh 2017-07-14 20:43:47 -04:00
Pavel Djundik
199bc459b4 Merge pull request #1303 from thelounge/astorije/multiple-previews
Support multiple previews per message
2017-07-09 18:29:31 +03:00
Jérémie Astori
7fb527847e
Fix missing transitions 2017-07-08 21:17:03 -04:00
Jérémie Astori
28200830ed
Move preview toggle buttons next to their respective URLs and switch from ellipsis to caret 2017-07-08 04:36:26 -04:00
Pavel Djundik
c62bc2fa35 Do not truncate link previews if viewport can fit more text
Fixes #1084
2017-07-04 09:51:35 +03:00
Pavel Djundik
14b2ad7938 Refactor link previews 2017-07-03 00:41:18 +03:00
Pavel Djundik
c9f63fc699 Merge pull request #1217 from MaxLeiter/patch-3
Fix MOTD underline in Safari
2017-06-24 12:19:14 +03:00
Max Leiter
e76019b82c Fix MOTD underline in Safari
before: https://sr.ht/mdPx.png

after: https://sr.ht/h45R.png

Basically, safari's user agent CSS applies an underline to <abbr> tags, which bootstrap already does as well (but bootstrap doesn't use text-decoration so it's not overriden).
2017-06-23 14:30:08 -07:00
Pavel Djundik
25fefd5e54 Hide link time element on small devices 2017-06-23 20:51:36 +03:00
Jérémie Astori
358852cecb Merge pull request #1253 from thelounge/xpaw/nick-fade-pos
Fix nick fade positioning
2017-06-23 02:02:43 -04:00
Pavel Djundik
714580e94a Fix nick fade positioning 2017-06-22 22:05:13 +03:00
Pavel Djundik
138111b16e Use stylelint-config-standard 2017-06-22 11:23:50 +03:00
Jérémie Astori
ead4a7f791 Merge pull request #1233 from thelounge/xPaw/user-select
Make everything unselectable by default
2017-06-20 23:38:17 -04:00
Pavel Djundik
2091a5b41b Merge pull request #1120 from thelounge/xpaw/scroll-perf
Include trickery to reduce paints and improve performance
2017-06-20 13:18:06 +03:00
Pavel Djundik
04c67de1af Merge pull request #1158 from bews/bews/dev-10-usercut
Fade out for long usernames.
2017-06-20 13:15:43 +03:00
Pavel Djundik
ef5b0d9e16 Make everything unselectable by default 2017-06-16 18:59:06 +03:00
Niko Bews
fd983a7f6b Show seconds in timestamp 2017-06-10 14:53:15 +03:00
Pavel Djundik
518160a1fa
Include trickery to reduce paints and improve performance
Fixes #1083.
Fixes #1071.
2017-06-09 23:19:59 -04:00
Niko Bews
035d10005a Fade out for long usernames. 2017-05-11 03:37:11 +03:00
Jérémie Astori
0981605fae
Add autocomplete strategy for background colors 2017-05-01 02:49:35 +02:00
Pavel Djundik
a3810dea06 Fix chat layout on small devices when users list is hidden
Fixes #1092
2017-04-28 21:58:00 +03:00
Jérémie Astori
927c40739e Fix network layout displaying the scrollbar incorrectly
This was introduced by https://github.com/thelounge/lounge/pull/856/files#diff-97db1f70168fb5f12457b238ff6052b5R773 (and L794-798): a right position got introduced for all channel containers, but default position for other types of containers was absent before this script.
2017-04-26 23:30:51 +02:00
Pavel Djundik
586dde7761 Merge pull request #856 from thelounge/astorije/fuzzy-match-user-list
Implement fuzzy-matching for the user list
2017-04-26 12:57:06 +03:00
Pavel Djundik
dd5e50fc68 Merge pull request #1062 from thelounge/remove-cycle-nicks
Remove cycle nicks button
2017-04-26 11:41:51 +03:00
Jérémie Astori
e000ba45df
Improve details of emoji/chan/nick/command autocompletion
- Make dropdown items match context menu items
- Disable transparency on dropdown item links
- Clean up help page additions
- Better align help page autocompletion characters
- Use ES6 features (`const`, arrow functions, method definition shorthands)
- Use `Array#filter` instead of `$.map`
- Do not display `@` in nick completion *when* only one `@` is used (to be less confusing and more consistent)
2017-04-26 13:58:43 +05:30
Yash Srivastav
785842cde5
Add emoji/nick/commands/chan autocomplete 2017-04-26 13:58:36 +05:30
Pavel Djundik
c583d6edf9 Correctly update user list and search filtering on user updates 2017-04-23 18:18:56 -04:00
Pavel Djundik
b1e9a7ffda Use separate container for search results 2017-04-23 18:18:56 -04:00
Pavel Djundik
98e3bd0ca2 Merge pull request #1054 from thelounge/astorije/friendly-date-marker
Use moment on the client to display friendly dates
2017-04-23 10:24:21 +03:00
Alistair McKinlay
1e504f4383 Add support for banlist messages 2017-04-22 13:51:28 +01:00
Jérémie Astori
648cfd12db Use moment on the client to display friendly dates
Also, unread and date markers are now half-transparent based on their colors and not parent opacity. This is necessary to display a non-translucide tooltip.
2017-04-22 00:38:19 -04:00
Pavel Djundik
999e419636 Remove cycle nicks button
Reverts #708.
Fixes #869.
Fixes #1023.
2017-04-21 21:00:57 +03:00
Jérémie Astori
4de632ba3c Merge pull request #1018 from swordbeta/sort_channel_list
Improve channels list.
2017-04-20 01:40:14 -04:00
Michael van Tricht
764ac831d4 Improve channels list.
- Set fixed width to channel and users column.
- Sort by number of users in channel.
- Executing /list multiple times wont show multiple tables.
- Channel list is not stickied to the bottom.
- Limit channels to 500. Scrolling through 1k is very slow on my system.
2017-04-19 12:02:15 +02:00
Jérémie Astori
b7d353b620 Remove invalid CSS perspective properties
These are not valid without units per the CSS validator, which is confirmed in the Chrome dev tools. I could not trigger any consequences by removing these.
2017-04-13 02:30:36 -04:00
Jérémie Astori
5b721c1b99 Update Primer tooltips to latest v0.5.3
This:

- Makes tooltips appear after timer instead of instantly, necessary for timestamp tooltips (see https://github.com/thelounge/lounge/pull/824#pullrequestreview-13676231)
- Uses Primer default animation (not sure if .2s transition was ours or theirs but here it is)
- Goes closer to default tooltips which will help to bump future versions and/or to streamline this in build process
2017-04-13 01:55:27 -04:00
Pavel Djundik
5d36b29aa8 Only disable touch tooltips on certain buttons 2017-04-13 01:55:27 -04:00
Pavel Djundik
c0a7ae9d92 Use css tooltips on time elements 2017-04-13 01:55:27 -04:00
Jérémie Astori
dce42df050 Fix link preview title going underneath the user list
Also fix the preview description not respecting the ellipsis, and update the image size and margin to nicely align with text.
2017-04-04 02:31:44 -04:00
Jérémie Astori
d842517c4e Fix image preview talking full width
Bootstrap was taking over these declarations because they use `!important`.
2017-04-04 02:09:53 -04:00
Maxime Poulin
6a273d825a Improve inline previews for links and images 2017-04-04 01:40:51 -04:00
Jérémie Astori
fb672ab57f Improvements to the new flex layout for messages 2017-03-30 19:50:48 -04:00
Maxime Poulin
35b6b47de3 Remove table layout for chat messages (and fix layout issues yet again) 2017-03-30 19:50:48 -04:00
Jérémie Astori
da0a52e3cb Fix wrong font size in help center labels
This only concerns plain texts, not `<code>` or `<kbd>`.
2017-03-30 02:19:26 -04:00
Jérémie Astori
c1fc185643 Move "About The Lounge" section from Settings to Help window 2017-03-10 20:23:45 -05:00
Jérémie Astori
0f9b12f2b8 Add a help window within the app
This brings commands and keyboard shortcuts from the website, after a massive overhaul. It comes as part of the big documentation rewrite that I am currently doing.

`kbd` design inspiration from GitHub, `code` design inspiration from Bootstrap.

This help page is accessible from an icon in the sidebar, near the Settings icon.
2017-03-10 20:23:45 -05:00
Al McKinlay
166e43ec39 Fix body height
#821 fixed #793, but it appears since then, Chrome has changed the behaviour back to what it was befor ethe fix, so 2.2.0 on Chrome 56+ is even more broken.
2017-02-06 12:41:17 +00:00
Pavel Djundik
d0dee0c47a Remove margin on date marker on smallest screen size 2016-12-21 01:32:23 +02:00
Pavel Djundik
bf71c4b9bd Make html container take the entire screen estate 2016-12-19 15:12:29 +02:00
Jérémie Astori
c20813609b Style connection error message consistently with the rest of the app, above the message input 2016-12-13 01:58:05 -05:00
Pavel Djundik
a8926e2ced Stop refreshing the page on every socket.io error 2016-12-13 01:55:11 -05:00
stepie22
93f0f6942e Add a date seperator 2016-11-23 16:35:42 +02:00
Pavel Djundik
6023035838 Update depdencides to latest stable versions 2016-11-19 10:49:16 +02:00
Jérémie Astori
ddaf7ff300 Add a way to cycle through nicks on mobile
This was heavily inspired by https://github.com/maxpoulin64/lounge/commit/a877e46.
Clearly not a definitive solution but a good start to have and to improve upon.
2016-10-25 01:03:43 -04:00
Jérémie Astori
61a582f71f Merge pull request #702 from stepie22/dragndrop-fix
Fix channels behaving strangely while dragging
2016-10-23 10:34:02 -04:00
stepie22
1a4974b7df Fix channels drag'n'droping 2016-10-23 11:47:33 +02:00
Pavel Djundik
b93fa12494 Match window title border line to text color 2016-10-23 11:11:04 +03:00
Pavel Djundik
b28bba6dd4 Remove svg and ttf font formats 2016-10-09 15:21:04 -04:00
Pavel Djundik
94781c98d4 Merge pull request #653 from MaxLeiter/MaxLeiter/crypto-unhandled
Fix unhandled message color in Crypto theme
2016-10-07 19:40:05 +03:00
Max Leiter
565e37e873 Fix unhandled message color in Crypto theme 2016-10-03 10:20:06 -07:00
Jérémie Astori
4328946f80 Add tooltips to nick editor buttons 2016-10-01 16:51:35 -04:00
Jérémie Astori
12839af684 Make nick badge editable to set it in the UI 2016-10-01 16:51:34 -04:00
Jérémie Astori
f2c4d08801 Fix title icons for channels and channel lists
This bug slipped when adding `/list` support in #258.
2016-09-30 01:50:54 -04:00
Jérémie Astori
ad4a79cbca Merge pull request #400 from maxpoulin64/slide
Add touch slideout menu for mobile
2016-09-30 00:03:04 -04:00
Jérémie Astori
345aac1a27 Merge pull request #258 from maxpoulin64/channel-list
Implement /list
2016-09-29 02:47:34 -04:00
Pavel Djundik
98b7908c2b Merge pull request #618 from thelounge/astorije/disable-pull-to-refresh
Disable pull-to-refresh on mobile that conflicts with scrolling the message list
2016-09-25 08:28:54 +03:00
Jérémie Astori
7b15235489 Merge pull request #359 from thelounge/xpaw/simplify-base-theme
Move Shout theme borders to example theme
2016-09-25 01:21:56 -04:00
Pavel Djundik
bdb4d0de6a Remove -ms-transform and add missed -webkit-transform 2016-09-24 10:46:02 +03:00
Pavel Djundik
62ee13833b Move Shout theme borders to example theme 2016-09-24 00:16:00 +03:00
Pavel Djundik
2bb782fe81 Merge pull request #617 from thelounge/astorije/fix-sidebar-loading
Hide sidebar when app is loading in themes
2016-09-24 00:14:24 +03:00
Gilles Gauthier
8bd5d800d0 Fixing display: flex for iOS 8 2016-09-20 21:59:59 -07:00
Jérémie Astori
578328d208 Disable pull-to-refresh on mobile that conflicts with scrolling the message list
See http://stackoverflow.com/a/29313685/1935861
2016-09-18 19:28:27 -04:00
Jérémie Astori
701e333d78 Hide sidebar when app is loading in themes
This change was originally made in #420 then I broke it for themes in #615, sigh...
2016-09-17 20:43:29 -04:00
Jérémie Astori
8be62e4f55 Fix a left margin appearing on all non-default themes 2016-09-17 13:13:01 -04:00
Jérémie Astori
87dfe2cc22 Disable tooltips on mobile to prevent them to stay after clicking 2016-09-14 23:50:57 -04:00
Jérémie Astori
d5f234bdb5 Make all window form inputs white so selects match text inputs 2016-09-06 01:18:21 -04:00
Jérémie Astori
34036a4b7a Allow ourselves to have decent looking select elements in the settings 2016-09-06 01:11:31 -04:00
Maxime Poulin
7f6dfe1652 Merge pull request #572 from thelounge/astorije/fix-radiuses-again
Move border-radius from #main to .window elements to fix radius once and for all
2016-09-03 20:16:17 -04:00
Jérémie Astori
b66c538a45 Merge pull request #562 from thelounge/astorije/css-redundancy-fix-2
Remove font family redundancy, fix missed fonts, remove Open Sans
2016-09-02 22:37:45 -04:00
Jérémie Astori
66f6a623d8 Allow long URLs to break onto next line on Chrome
This fixes a bug that displays a horizontal scrollbar and messes up with the layout when URLs (or text) is too long.
Fix is Chrome-specific but so is the bug.
2016-08-20 00:23:56 -04:00
Jérémie Astori
f509e9fe5a Move border-radius from #main to .window elements to fix radius once and for all
https://github.com/thelounge/lounge/pull/537 only fixed it on chat windows,
but for some browser-specific display bug/reason not on settings, login, ...
2016-08-19 01:34:42 -04:00
Jérémie Astori
f2a0bc5d23 Remove font family redundancy, fix missed fonts, remove Open Sans 2016-08-14 17:28:47 -04:00
Jérémie Astori
83d1a99608 Set tooltip colors to be readable on both light and dark backgrounds 2016-08-03 01:11:50 -04:00
Jérémie Astori
e99bf9ac0a Make sure body fonts are used for tooltips 2016-08-03 01:11:10 -04:00
Jérémie Astori
2041c936b2 Add tooltips to user list and submit buttons 2016-08-03 01:10:22 -04:00
Jérémie Astori
c33ff6a378 Restore padding and height of message input pre-textarea era 2016-08-02 00:33:16 -04:00
Jérémie Astori
5c271cf7b1 Fix accidentally removed border-radius
This was removed by https://github.com/thelounge/lounge/pull/379/files#diff-97db1f70168fb5f12457b238ff6052b5L504.
2016-07-31 17:53:16 -04:00
Maxime Poulin
1d47290ada Implement /list
Thanks to @xPaw for the base of this code
2016-07-22 21:42:42 -04:00
Maxime Poulin
0eef5d9240 Add touch slideout menu for mobile 2016-07-22 21:30:45 -04:00
Jérémie Astori
e3d80d439a Centralize all icon definitions for better management 2016-07-22 01:04:44 -04:00
Jérémie Astori
5f558ab3a9 Add/fix/remove some CSS transitions
- Transition on the search icon was removed, because why was it even
  here?!
- A transition was added to the "Play sound" button
- Transition on the Send button is now consistent with the others
2016-07-22 01:00:05 -04:00
Jérémie Astori
a898f46c09 Define icon font only once and fix sizing
This commit applies the following across the whole style:

- `font` statement is now the same as official FontAwesome CSS
- Ensure icons are never italic or bold or that other variants can be
  applied
- Ensure font-size and line-height of icons are inherited from parent
- font-family and font-smoothing is now defined only once

A few (mostly positive) side effects from these and related changes:

- Header icons (main menu, context menu and user list) are now
  vertically centered!
- Same applies to the Send icon, but it's more subtle there
- Alignment of the footer icons are shifted a tiny bit
- Server window icons are a wee bit bit bigger to match the server name
  font-size
- The "Play sound" icon and text are now both 14px (was 14px / 16px)
2016-07-22 01:00:05 -04:00
Jérémie Astori
1f59dec834 Improve font icon rendering with font-smoothing
This makes all icons look sharper, and reproduces what is applied on the FontAwesome CSS:
https://github.com/FortAwesome/Font-Awesome/blob/4213679/css/font-awesome.css#L19-L20
2016-07-22 01:00:05 -04:00
Maxime Poulin
3f86dde979 Merge pull request #486 from thelounge/astorije/notification-menu
Add a red dot to the mobile menu icon when being notified
2016-07-17 18:50:02 -04:00
Jérémie Astori
27b33f49a8 Fix a bug breaking textarea on Android 2016-07-17 16:22:27 -04:00
Maxime Poulin
9ee1adbbb5 Merge pull request #478 from thelounge/astorije/fix-landscape-switch
Fix breaking layout when switching portrait/landscape modes
2016-07-11 01:47:46 +00:00
Jérémie Astori
0520c6a6ec Add a red dot to the mobile menu icon when being notified
On mobile, there is no favicon to toggle, so nothing shows up when a new notification arrives.
This commit changes this by adding a marker on the burger menu icon, visible on all channels
2016-07-10 16:42:15 -04:00
Jérémie Astori
8118d56e16 Fix breaking layout when switching portrait/landscape modes
This re-adds the table layout in CSS removed in 3cddbbce6e, https://github.com/thelounge/lounge/pull/332.
2016-07-09 20:03:41 -04:00
Jérémie Astori
8b87c54b1a Fix unread marker disappearing when opacity set to 1 2016-07-07 01:14:52 -04:00
Maxime Poulin
44c31ed15c
Fix themes on textarea 2016-07-06 03:21:51 -04:00
Maxime Poulin
37b5f28919
Fix window layout a bit 2016-07-06 00:18:40 -04:00
Maxime Poulin
18c615236d Merge pull request #332 from thelounge/xpaw/unread-marker
A proper unread marker
2016-07-06 04:06:14 +00:00
Jérémie Astori
b3d3582d2f Merge pull request #286 from thelounge/xpaw/unknown-command
Display unhandled numerics on the client
2016-07-05 23:23:15 -04:00
Jérémie Astori
3cddbbce6e Improve styling of the unread marker 2016-07-05 15:32:41 -04:00
Pavel Djundik
d37e94308d Unread marker MVP 2016-07-05 15:32:41 -04:00
Maxime Poulin
2d3464aa04
Use a textarea instead of an input for channel messages 2016-07-04 23:49:45 -04:00
Pavel Djundik
cada00ab6a Display unhandled numerics on the client 2016-07-03 11:47:53 +03:00
Pavel Djundik
8b8050d02a Remove javascript scrollbar library, use hover appearing scrollbar instead 2016-07-02 13:28:22 +03:00
Pavel Djundik
1438ba6f93 Change nicks from links to spans everywhere
Fixes #338
2016-06-22 22:34:10 +03:00
Pavel Djundik
c4ac0fd127 Remove navigator.standalone detection 2016-06-22 15:56:33 +03:00
Jérémie Astori
e5dddbac01 Make style of loading page similar to other pages
- Move markup around to make the loading page a window of its own
  instead of a sub-window of `#chat`
- Remove inline styling in loading page
- Use same styling than other non-messages windows for title and text
- Add a `z-index` to the loading page to hide the message input
- Vertically align the sign in page title with all other titles
- Make sure all `h1.title`s are bottom-margined consistently and remove
  negative margin on the Settings page title to align with the Connect
  page title (Reverting/Improving this should be done at the `h2` level
  instead)
2016-06-21 18:01:11 -04:00
Jérémie Astori
1f4e2b42fd Do not display the sidebar on loading and sign-in pages
Also:
- Remove burger menu icon on mobile version of sign-in page
- Add the .signed-out class to the initial body instead of only when
  sign-in has failed
- Remove hiding connect and logout button icons, which was buggy and is
  now useless anyway
2016-06-21 01:17:07 -04:00
Pavel Djundik
8ebe29fca5 Merge pull request #361 from thelounge/astorije/npm-font-awesome
Fetch Font Awesome from npm instead of embedded in repo
2016-06-05 10:53:43 +03:00
Pavel Djundik
3b8be7f888 Do not hide timestamps on small viewports 2016-06-03 23:10:32 +03:00
Jérémie Astori
c84cefe1d8 Fetch FontAwesome from npm instead of embedded in repo 2016-06-03 00:21:44 -04:00
Jérémie Astori
7157076aad Merge pull request #355 from MaxLeiter/update-fontawesome
Updates Font-Awesome to v4.6.3
2016-05-28 18:04:09 -04:00
Max Leiter
2dffc10102 Updates Font-Awesome to 4.6.3 2016-05-28 12:47:49 -07:00
Max-P
423151ad97 Merge pull request #334 from thelounge/xpaw/query-highlights
Fix notifications in query windows
2016-05-21 22:09:55 -04:00
Pavel Djundik
1c57363106 Fix notifications in queries, limit message highlights to channels 2016-05-16 22:46:54 +03:00
Jérémie Astori
1af00d30c5 Invert no-colors CSS class and rename option
This will reset users' preference regarding colored nicknames but it's to make
it more specific than just "colors".
2016-05-15 15:56:48 -04:00
Jérémie Astori
b3103e8c3f Add light colors for dark themes Morning and Zenburn
These colors have been generated by the randomColor package
2016-05-15 15:21:18 -04:00
Jérémie Astori
c87d82dc48 Replace color generation with CSS classes
These colors were built using the current generation function to have
similar style.
2016-05-15 15:21:18 -04:00
Jérémie Astori
aad757e50a Fix missing colors in action messages 2016-05-10 19:40:09 -04:00