Commit Graph

374 Commits

Author SHA1 Message Date
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
Jérémie Astori
d73c6d0440 Merge pull request #252 from thelounge/xpaw/setnick
Do not display incorrect nick when switching to a non connected network
2016-04-30 19:40:27 -04:00
Jérémie Astori
116dbc07be Merge pull request #167 from thelounge/irc-framework
Drop slate-irc, switch to irc-framework
2016-04-13 01:28:32 -04:00
Jérémie Astori
c70176d3a8 Merge pull request #228 from thelounge/xpaw/kill-printers
Remove print styles
2016-04-12 22:14:21 -04:00
Pavel Djundik
8f217ad3fb Do not display incorrect nick when switching to a non connected network 2016-04-10 12:08:31 +03:00
Pavel Djundik
16370d8fcc Add /ctcp command and handle ctcp responses 2016-04-07 16:08:31 -04:00
Pavel Djundik
3fc7036d32 Don't reset time in link expander and hide time with css 2016-04-07 16:07:40 -04:00
Pavel Djundik
e380319400 Handle parts, quits, topics and topic set by 2016-04-07 16:04:40 -04:00
Maxime Poulin
f1ecae8023 Display whitespace properly
Fixes alignment in many server's motd as well as in-channel ASCII art
2016-04-05 22:36:04 -04:00
Pavel Djundik
7a88fa9fc7 Remove print styles 2016-03-30 22:35:36 +03:00
Pavel Djundik
8bbb0ab92b Hide options will now remove the row completely 2016-03-30 22:26:23 +03:00
Pavel Djundik
2bb3951476 Fix message and topic text wrapping 2016-03-22 18:04:34 +02:00
Jérémie Astori
f8807df2dc Use a white-bg X for closing and smooth icons in context menu 2016-03-20 17:40:13 -04:00
Jérémie Astori
4f7f862a55 Add a specific item divider for the context menu, allowing some margin 2016-03-20 17:40:12 -04:00
Jérémie Astori
b8ee886d0b Blur shadow and add small radius of context menu box 2016-03-20 17:40:12 -04:00
Maxime Poulin
d3a8b2b217 Add a menu where the Leave button was 2016-03-20 22:33:55 +02:00
Pavel Djundik
5579f407e7 Change close button in sidebar behaviour 2016-03-20 22:33:42 +02:00
Pavel Djundik
73930688cc Remove dedicated close button next to user button 2016-03-20 22:33:42 +02:00
Jérémie Astori
65e8e01ef4 Make sure all close buttons in the sidebar have same weight 2016-03-14 00:35:24 -04:00
Jérémie Astori
5f84d1170a Use an icon for the Send button 2016-03-11 01:44:09 -05:00
Pavel Djundik
a61973a156 Make whois a client template 2016-03-07 17:10:46 +02:00
Jérémie Astori
c4d628db49 Merge pull request #28 from lpoujol/desktopNotificationSetting
Remove "badge" setting and rely on browser choice for desktop notifcations
2016-03-06 14:45:52 -05:00
Ludovic POUJOL
bf9e50083b Rename badge setting to desktopNotifications
Also checks the browser status and display a warning message if it
blocks desktop notifications
2016-03-06 19:03:51 +01:00
Max-P
718182c74a Merge pull request #151 from thelounge/astorije/topic-action-color
Mute color of the topic actions
2016-03-06 00:55:47 -05:00
Max-P
94bcb21faa Merge pull request #9 from xPaw/contextmenu
Add context menus
2016-03-06 00:27:24 -05:00
Jérémie Astori
ea3c79613e Mute color of the topic actions 2016-03-05 23:53:13 -05:00
Jérémie Astori
fba862a6f3 Add missing mode action to muted colors 2016-03-05 22:29:30 -05:00
Pavel Djundik
2ed9c5d522 Relax inline channel style 2016-03-06 00:20:45 +02:00
Jérémie Astori
46c2eabac2 Merge pull request #47 from xPaw/actions
Fix some of the actions coloring
2016-03-05 14:34:05 -05:00
Pavel Djundik
84ed021e0e Add context menus 2016-03-01 13:56:36 +02:00
Jérémie Astori
da7efcd8da Switch a power-off icon for logging out 2016-03-01 06:35:42 +00:00
Pavel Djundik
e33e6ca93e Mute join/kick/part/quit/nick actions in color 2016-02-28 09:43:10 +02:00
Max-P
1d8667ed4b Merge pull request #57 from diddledan/frontend-password-change
frontend password change functionality
2016-02-27 20:07:08 -05:00
Pavel Djundik
b53e5c407c Fix #111: Simplify message padding 2016-02-28 01:22:52 +02:00
Daniel Llewellyn
b79a918be8 frontend password change functionality
- refactor clientManager.js to allow configuration parsing as a serparate
  function.
  - refactor clientManager.js to add configuration writing function.
  - add server.js changes to allow for new password-change functionality
  - add password change ui to "settings" screen
  - refactor client.js to use new clientManager functionality for saving
    the configuration files
2016-02-26 18:38:15 +00:00
Jérémie Astori
1e8ca51d47 Merge pull request #75 from maxpoulin64/badge-fade
Fade long channel names in sidebar
2016-02-22 01:23:38 -05:00
Maxime Poulin
867917ff6e Fade long channel names in sidebar 2016-02-22 01:07:59 -05:00
Pavel Djundik
8151e07b78 Replace bootstrap tooltips with css tooltips from Primer 2016-02-21 21:47:09 +02:00
Pavel Djundik
ad6b4e8939 Update css files to confront stylelint rules 2016-02-20 19:32:23 +02:00
Jérémie Astori
36f2ee3617 Merge pull request #73 from xPaw/badge-opacity
Hide badge counter with opacity
2016-02-20 11:50:59 -05:00
Alistair McKinlay
761958e3ee Merge pull request #7 from xPaw/invites
Handle invite event
2016-02-19 21:58:22 +00:00
Pavel Djundik
0ade7a7438 Hide badge counter with opacity 2016-02-19 20:09:50 +02:00
Pavel Djundik
15a6efa605 Fix #41: Replace close button image 2016-02-18 12:13:15 +02:00
Pavel Djundik
533ec1071b Handle invite event 2016-02-15 19:23:10 +02:00
Max Leiter
3420e9b80b Rotate part/quit icon 2016-01-27 10:32:59 -08:00
Jérémie Astori
3b55229462 Merge pull request #574 from YaManicKill/user-button-span
Change user buttons to as. Allows highlighting on firefox.
2016-01-26 00:05:03 -05:00
Alistair McKinlay
e3e4cc9fb7 Fix styles for .user instead of button 2016-01-24 16:56:33 +00:00
Jérémie Astori
b4bcf8f5ee Merge pull request #570 from YaManicKill/fix-word-wrap
Fix word wrap on firefox.
2016-01-24 11:55:55 -05:00
Alistair McKinlay
4588079eb5 Fix word wrap on firefox. 2016-01-24 16:54:59 +00:00
Jérémie Astori
c669a16527 Merge pull request #593 from xPaw/scrollbars
Nicer scrollbar (webkit only)
2016-01-24 11:45:22 -05:00
Mattias Erming
6db15b3091 Merge pull request #610 from xPaw/gitattributes
Add gitattributes to normalize line endings
2016-01-24 16:03:42 +01:00
Pavel Djundik
bb98be475a Render user actions separately 2016-01-24 16:59:13 +02:00
Pavel Djundik
4b4dc060ca Add gitattributes to normalize line endings 2016-01-24 16:12:08 +02:00
Pavel Djundik
62744761c2 Limit max size of inline images 2016-01-20 18:16:27 +02:00
Pavel Djundik
8ddc4085a6 Nicer scrollbar (webkit only) 2016-01-18 19:49:23 +02:00
Finn Glöe
58d4a2fda1 made channel names in chat clickable; lets users join channels 2015-12-02 09:56:41 +00:00
Jérémie Astori
8b6167b227 Merge pull request #474 from astorije/astorije/user-list-icon
Replace menu icon with users icon for userlist toggle and smooth the 2 icons
2015-10-07 07:26:34 -04:00
Jérémie Astori
51cdf6dc88 Merge pull request #499 from floogulinc/local-fonts
Replace Google hosted fonts with local ones
2015-10-06 22:41:51 -04:00
Olli Mäntylä
4293336f3e Move escaping of topic and improve UI for long topics
- Data should be handled as is and only do the escaping on
the view/template or wherever it is used and escaping is necessary.
Keeps things simple and the focus of escaping values in the right place.
- Remove topic capitalization
- For long topics: hide overflow and add a title to topic span
- Also, simplify the code a tiny bit.
2015-10-03 17:04:05 +03:00
Paul Friederichsen
56871dd963 Replace Google hosted fonts with local ones 2015-09-30 01:34:39 -05:00
Jérémie Astori
a4d3911a3f Replace menu icon with users icon for userlist toggle and smooth the 2 icons 2015-09-23 21:18:26 +00:00
Mattias Erming
71846dbadc Revert fonts 2015-04-16 01:07:13 -07:00
aynik
5ac16653b5 increased font size 2015-04-15 19:42:47 +02:00
aynik
4adba8a71c adjusted general monospace chat font size 2015-04-15 11:59:44 +02:00
aynik
a5ee8e1cf4 switched Droid Sans Mono for Inconsolata-g, defined Leto under different weights 2015-04-15 11:54:03 +02:00
aynik
37ec35c3a9 created 2015-04-14 21:43:50 +02:00
Mattias Erming
928cf38dfe Merge pull request #336 from janza/expand-chat-window
expand main chat window when userlist is hidden
2015-01-11 23:41:38 +01:00
Josip Janžić
8397928529 expand main chat window when userlist is hidden 2015-01-11 20:17:26 +01:00
Josip Janžić
fb4159b409 removes vertical whitespace that some times apear
closes #327
2015-01-02 21:25:53 +01:00
Mattias Erming
67f6e526f2 Fetch max 1 link per message 2014-12-12 00:48:43 +01:00
Mattias Erming
4fcd21ccff Fix '/me' color 2014-12-12 00:20:52 +01:00
Graeme
2274f92833 Update styled items class names 2014-12-10 22:35:17 -05:00
Graeme
635646b0f3 🎊 full mirc colour+style compliance 2014-12-10 06:30:45 -05:00
Mattias Erming
b3b7d126be Detect web-app-capable 2014-11-18 22:50:55 +00:00
Mattias Erming
b380ab5793 Update color CSS
Thanks @spencerthayer!
2014-10-14 20:54:34 +02:00
XeonCore
20d1e1b212 Add thumbnail to toggles when sites have them
Displays a small thumbnail above each toggle that comes from either og:image or twitter:image meta tags.
2014-10-12 12:42:30 +11:00
Mattias Erming
d86005e84a Added text color 2014-10-11 01:12:03 +02:00
Mattias Erming
b3712842bf Always show right toggle 2014-10-10 21:21:40 +02:00
Mattias Erming
3a9065849c Minor changes 2014-10-10 19:39:57 +02:00
William Jackson
5cbbc7fbe7 Half-op section in user list is missing title 2014-10-06 11:31:32 -05:00
Mattias Erming
eae1e661b7 Split users by mode in the sidebar 2014-10-04 12:47:27 -07:00
Mattias Erming
e1e0b4f3cc Scrolling now works correctly when loading thumbnails 2014-09-30 14:44:29 -07:00
Mattias Erming
bf8939cf06 List users on server start 2014-09-30 13:23:14 -07:00
Mattias Erming
80b43c4eab Added colored nicknames (optional) 2014-09-30 11:00:23 -07:00
Mattias Erming
6aba36460d Fix 'Show More' button 2014-09-28 14:51:24 -07:00
Mattias Erming
e4b4e0e065 Fix log highlight 2014-09-27 17:14:52 -07:00
Mattias Erming
2e293ce785 Fix IE 2014-09-27 15:08:21 -07:00
Mattias Erming
e4f100a177 Break really long words 2014-09-27 15:01:44 -07:00
Mattias Erming
3a28afe408 Fetch page titles 2014-09-27 13:39:14 -07:00
Mattias Erming
2a00fb1bb6 Added link plugin 2014-09-27 12:17:13 -07:00
Mattias Erming
dd697c4918 Change colors 2014-09-26 17:21:14 -07:00
Mattias Erming
96fcfcfdcc Minor fix 2014-09-26 15:08:18 -07:00
Mattias Erming
7936dab6e3 Show current nick 2014-09-25 16:51:53 -07:00
Mattias Erming
36dd749820 Hide close button on mobile 2014-09-25 03:05:24 -07:00
Mattias Erming
d283c512d5 Sortable sidebar (experimental) 2014-09-23 16:05:48 -07:00
Mattias Erming
4f5465df82 Use <div> instead of <button> in sidebar 2014-09-22 11:54:38 -07:00
Mattias Erming
9edaf6a2e4 Added 'Close' button 2014-09-21 08:59:50 -07:00
Mattias Erming
0607516872 Added 'Send' button 2014-09-21 08:21:26 -07:00
Mattias Erming
a837ed270b Sort by z-index on close 2014-09-19 16:56:38 -07:00
Mattias Erming
e9a8f86819 Custom scrollbar in the sidebar 2014-09-19 16:12:17 -07:00
Mattias Erming
695fd35797 Added '/clear' command 2014-09-19 13:24:11 -07:00
Mattias Erming
78d36d6750 Added 'Remember' login option 2014-09-15 14:13:03 -07:00
Mattias Erming
9e1c33d658 Added print CSS style 2014-09-15 10:52:15 -07:00
Mattias Erming
95df0ccec7 Bring back Menlo font 2014-09-14 15:50:26 -07:00
Mattias Erming
66785be200 Fix bugs 2014-09-14 11:49:42 -07:00
Fredrik Pettersen
fabbb43e18 Added boolean flag if message was sent from "me"
Your own messages now have a different color, and the possibility of
changing colors etc in css of all things sent by yourself
2014-09-14 19:06:56 +02:00
Mattias Erming
41027adc69 Normalize line endings 2014-09-13 14:29:45 -07:00
YuviPanda
37cc5d20a8 Specify full stack of fonts for the chat input as well
Also removes Menlo from the stack, since it is not fixed-width
unlike the others in the stack, and Monaco already accounts
for OS X
2014-09-13 20:53:31 +01:00
Mattias Erming
6bcbe1b702 Fix line height 2014-09-12 18:16:29 -07:00
Mattias Erming
d01f4b37a1 Added server password to 'Connect' window 2014-09-12 18:03:26 -07:00
Mattias Erming
666f21cd66 Added MOTD messages 2014-09-11 10:24:32 -07:00