Граф коммитов

26 Коммитов

Автор SHA1 Сообщение Дата
Ivan Sein 43951d98e9 Set opened lock icon when no password is set.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-02-02 14:43:21 +01:00
Ivan Sein a8de18eeb8 Add a button to show/hide password input.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-26 15:14:34 +01:00
Ivan Sein 4ad7bf9d3f
Fix screensharing position for guests.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-26 12:20:49 +01:00
Ivan Sein 30f003f495
Keep light style icons when screensharing is active.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-26 12:20:49 +01:00
Joas Schilling bf738393c0
Do not use relative paths to images on the server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-26 12:20:47 +01:00
Joas Schilling 350d108b8b
Merge pull request #568 from nextcloud/tab-headers
Improve tab header styles, center headings, flexbox
2018-01-10 12:53:22 +01:00
Jan-Christoph Borchardt ca8622c2bf Fix tab headers being too small in Chrome
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 12:46:35 +01:00
Jan-Christoph Borchardt 93e0a82f2e Improve tab header styles, center headings, flexbox
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 11:41:00 +01:00
Daniel Calviño Sánchez 3c0587f31c Improve automatic scrolling behaviour when new messages arrive
When the chat messages are shown from newest to oldest and a new message
arrives the list is automatically scrolled to keep the current visible
messages at the same place, except if the list was at the top, in which
case no scrolling is made and the new message appears.

When the chat messages are shown from oldest to newest and a new message
arrives the list is automatically scrolled to show the new message,
except if the list was not at the bottom in which case no scrolling is
made and the current visible messages are kept at the same place.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 11:15:13 +01:00
Daniel Calviño Sánchez d6dddb0c2d Fix chat height in the main view of public pages
The header element contains the header div; as the header div uses a
fixed position the header element has no height, so an explicit height
was set for it to prevent "#app-content-wrapper" from overlapping with
the header element. However, as "#app-content-wrapper" has a 100% height
that caused the "#app-content-wrapper" to be moved 45px to the bottom,
and thus the chat view was partially cropped at the bottom.

When the chat view messages are shown from newest to oldest this causes
the first messages to be out of view, but when they are shown from
oldest to newest with the new message input at the bottom then the input
is partially out of view.

Now instead of giving the header an explicit height a "padding-top" is
set for the "#app-content-wrapper"; this prevents the contents from
being cropped while also preventing them from overlapping the header.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 08:51:31 +01:00
Daniel Calviño Sánchez 8951066a66 Stretch tab contents to available space also when there is extra space
When the tab contents were larger than the available space they were
limited to that space. Now, if the available space is larger than the
needed height the tab contents is also increased to fill it.

This ensures that the chat view will always stretch to the available
space, which in turn ensures that the "New message" input will be always
shown at the bottom of the sidebar like done in the main view (which was
not the case before when there were no messages or only a few).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 08:51:31 +01:00
Daniel Calviño Sánchez 57a65b24f5 Reverse chat layout
Before chat messages were shown from newest to oldest, with the new
message input above the list of messages. Now the layout can be chosen,
either the previous one or the reversed one, from oldest to newest with
the new message input below the list of messages.

The new reversed layout is the default one, and probably the old one
will not be used anywhere in the future... but for the time being I kept
the old one too just in case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 08:50:44 +01:00
Ivan Sein 290b00bf68
Merge pull request #550 from nextcloud/limit-scroll-bar-in-sidebar-to-chatview
Limit scroll bar in sidebar to chat view
2018-01-10 01:03:50 +01:00
Daniel Calviño Sánchez bccc62c0ed Show scroll bar for the list of participants in the sidebar
Limiting the scroll bar in the sidebar to the list of chat messages
causes the scroll bar to be removed from the whole sidebar in other tabs
too. Therefore, the scroll bars must be explicitly enabled in the other
tab contents that need them.

The list of participants grows dynamically, so a vertical scroll bar
should be enabled on it to be able to view all the participants in a
long list.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 00:39:43 +01:00
Daniel Calviño Sánchez 91ba9cf308 Move message list scroll bar to the sidebar right edge
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 00:39:43 +01:00
Daniel Calviño Sánchez 6ed8be360f Limit scroll bar in sidebar to the message list of the chat view
Except when almost empty, the message list of the chat view is taller
than its available vertical space in the sidebar. Due to this a scroll
bar was shown for the whole sidebar, and everything was moved when
scrolling to see overflown messages. Now the scroll bar is shown only
for the message list, so it can be scrolled without moving the other
elements in the sidebar.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 00:39:43 +01:00
Jan-Christoph Borchardt c3e7f09de2 Still use white icons outside of calls when local video shows
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 00:37:28 +01:00
Jan-Christoph Borchardt e6dfd58cf8 Fix icons not actually turning white
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 00:17:35 +01:00
Jan-Christoph Borchardt 6af4f0285a Combine fullscreen handling rules, ensure white background if 1 participant fullscreen
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:34:16 +01:00
Jan-Christoph Borchardt dda6de7602 Always show app-sidebar-trigger on top, fullscreen icon below
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:25:28 +01:00
Jan-Christoph Borchardt 33eaa27c90 Proper default display and hover effect for dark fullscreen and menu icons
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:12:24 +01:00
Jan-Christoph Borchardt a10587095c Use dark icons when not in a call (= white background)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:08:25 +01:00
Jan-Christoph Borchardt 43881c49a2 Add some whitespace to guest name, prevent jumping on edit
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Jan-Christoph Borchardt 83e1a06258 Reduce whitespace between room info and tabs
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Jan-Christoph Borchardt 2e146cee31 Use variable for text color
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Jan-Christoph Borchardt 9ad16ca7be Move style.css to SCSS
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00