Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
AgeCommit message (Collapse)Author
2020-01-09Dark theme fixes for vue-atJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-09Show avatars for candidate mentions in the autocompletion panelDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-09Show mentions to guests using a UserBubbleDaniel Calviño Sánchez
The UserBubble component currently does not provide a way to set an arbitrary letter on the avatar, only the first letter of the display name or an icon. Therefore, for the time being, a user icon is used for the avatar instead of the "?" character. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-09Show mentions to all using a UserBubbleDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-20Fix broken scss file breaking the icon-replyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-19Merge pull request #2604 from nextcloud/bugfix/noid/fix-sidebar-iconsDaniel Calviño Sánchez
Fix sidebar icons color
2019-12-19Fix sidebar icons colorMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-12-19Merge pull request #2597 from ↵Daniel Calviño Sánchez
nextcloud/unify-new-loadsidebarlistener-with-previous-templateloader Unify new LoadSidebarListener with previous TemplateLoader
2019-12-18Fix talk icons cssMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-12-18Remove imported legacy SCSS files from merged SCSS filesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-13Embed CSS style in CallViewDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-13Force icon to white explictly instead of with CSS tricksDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-13Import CSS for callsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-09Add dummy media controlsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-09Force white icons in the TopBar when in callJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-07Allow to toggle the lobbyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-06Layout adjustmentsMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-29Author avatar component with bots and guest supportJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-28Add the favorite icon to the conversation listJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-14Fix the conversations iconJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-09Add temporary message featureMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-09Create AdvancedInput componentMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-09Add MessageList component and DynamicScrollerMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-08Merge pull request #2281 from nextcloud/bugfix/noid/better-start-call-settingJoas Schilling
Better start call setting
2019-10-07Add lobby checkbox instead of radio buttons for enabling lobbyIvan Sein
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2019-10-07Increase the length of the input for other languagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26Add support for Talk sidebar in public share pagesDaniel Calviño Sánchez
When the public share page is loaded "publicshare.js" is initialized, which modifies the page to add a Talk sidebar. The default layout has the header, content and footer in a flex column; when the sidebar is added the layout id modified to still have the header and content in a flex column, but the content is now a flex row that includes "#app-content" and the sidebar, and the footer is moved inside "#app-content" so it does not affect the sidebar. The Talk sidebar includes a call container at the top, which is only shown during calls, and below it a call button and a chat view which are always shown. The CSS styles are a mix of the styles for the public share auth page and the Files app, as well as some rules copied from the main "style.scss" file. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Fix avatar container height during callsDaniel Calviño Sánchez
The absolute position causes the avatar container to have a different height when the contained div has a text (guest avatars) or not (user avatars, which use an image); now the flex property is propagated, which causes the container to always have the same size as the contained div. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Show volume indicator in greyscale when speaking while mutedDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-13Add lobby icon from "room service" Material Design iconDaniel Calviño Sánchez
Copied from "places/svg/production/ic_room_service_24px.svg" of "https://github.com/google/material-design-icons", tag 3.0.1. Material Desig icons 3.0.1 are licensed under the Apache 2 License. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-05Prevent chat from being compressed in narrow screensMarco Ambrosini
When the sidebar is shown the app content is compressed to make room for the sidebar. In narrow screens (and specially in very narrow screens) this broke the appearance of the app content (unreadable chat, unusable call view), so now the app content is forced to keep the full viewport width on narrow screens; this causes the sidebar to slide over the app content instead of compressing it. Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-08-28Add input to set the lobby timerDaniel Calviño Sánchez
Unfortunately the date picker component from Nextcloud only allows picking a date, but not a time; there is a date time picker for Vue, but integrating only that right now would require much effort. Therefore, for the time being, the start time needs to be introduced manually. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Add UI to set the lobby stateDaniel Calviño Sánchez
The lobby state can be set to no lobby or to lobby for non moderators from the room management menu; in this initial version no date can be set yet. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Replace "Copy link" tooltip with explicit labelDaniel Calviño Sánchez
Now that the management actions were moved to a menu there is enough room to show a label for the "Copy link" button. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Remove unneeded CSS rulesDaniel Calviño Sánchez
The rules just set the same values used by buttons by default. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Remove no longer needed parent element of "Copy link" buttonDaniel Calviño Sánchez
The "share-link-options" element acts as a spacer to move the room moderation menu button to the right. However, given that the call button width is limited to the 50% of its parent flex element and that element has the full width of the sidebar the same effect can be achieved by setting "margin-left: auto" on the room moderation button. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Reorder flex CSS rules for call buttonDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Move password from its own menu to the room moderation menuDaniel Calviño Sánchez
The password input is no longer the only element of the menu so pressing "Esc" does not close the menu. There is no longer a password button in the CallInfoView, so now the acceptance tests need to open the room moderation menu to know if the conversation is password protected or not. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Move checkbox to change between public and group room to a menuDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Fix avatars of participants with contacts menu not focusableDaniel Calviño Sánchez
The avatar is a div, so it is not focusable by default. However, if it were focused it could not be properly "highlighted" with a border; the whole avatar is dimmed for offline participants, so the border colour would be different when "highlighting" the avatar of online and offline participants. Due to this the avatar is now wrapped in another div which is the focusable one (provided the avatar has a contacts menu) and the one that gets the border. Finally, when the Enter or space keys are pressed on the wrapper a click is triggered in the avatar, which shows the contacts menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Fix pointer cursor not shown on participants with a contacts menuDaniel Calviño Sánchez
When the current user is an actual user and not a guest clicking on the avatar of a participant shows the contacts menu (unless the participant is the current user or a guest), so when hovering on the avatar the cursor should be a pointer to imply a possible interaction. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Fix participant items being focusableDaniel Calviño Sánchez
The participant items were link elements, so they were taken into account in keyboard navigation. However, although it is possible to interact with some of its children, it is not possible to interact with the participant item as a whole, so they should not be focusable. As the link in the participant items led nowhere they are now simple span elements instead of links. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Remove unused CSS ruleDaniel Calviño Sánchez
The first link child of items in the participants list is the participant information, which includes the avatar, name... However, there is no direct "img" child of that element (the avatar image is a child of the avatar element), so the rule has no effect. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Fix edit button in EditableTextLabel not focusableDaniel Calviño Sánchez
The edit button was not an actual button but a span, so it was ignored in keyboard navigation. Moreover, the opacity was applied to its parent element instead of to the button itself, so it was not highlighted when focused. Also, after the input is hidden now the focus is given back to the edit button. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Fix select2 containers not highlighted when focusedDaniel Calviño Sánchez
The select2 containers have the same size as the "oca-spreedme-add-XXX" wrappers that contain them, so the borders can be moved from those wrappers to the containers themselves. This makes possible to set a stronger border when the select2 container is active/focused. Besides that now the text is stronger too when the select2 container is focused to show that more clearly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-27Wait for the server response to rename the roomDaniel Calviño Sánchez
Until now the EditableTextLabel was not (visibly) updated until the server response was received, even if the model was updated as soon as the new value was submitted (although this updated the hidden label, which was shown again once the response was received). To provide feedback to the user that the value is being set now the confirm button is replaced by a working icon while waiting for the response. In a similar way the input is also disabled to prevent further requests while the previous one is ongoing. Besides that, renaming the room now waits for the server response before updating the model. This ensures that, in case of error, the label will still show the old value instead of the new one. An error message is now also shown to the user in that case. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-27Simplify CSS rules for confirm icon in editable text labelDaniel Calviño Sánchez
The input wrapper only contains the text input and the confirm button; as there will not be more than one confirm button there is no need to set its rules based on the text input. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-27Provide feedback while waiting for the server to set the passwordDaniel Calviño Sánchez
Due to its special nature the password is not stored in an attribute of the model. Nevertheless, a "changed:password" (always with an empty value) was triggered as soon as the password was submited. However, as there is no password attribute that event is not taken into account anywhere and the UI was not updated until the server response was received (with further updates once the rooms are fetched again). To provide feedback to the user that the password is being set now the confirm button is replaced by a working icon while waiting for the answer. In a similar way the input is also disabled to prevent further requests while the previous one is ongoing. Note that due to the aforementioned behaviour it is not really necessary to wait for the server response to update the model with the new password (as it will not be updated anyway), but it is done for consistency with other requests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-27Wait for the server response to set the room as public or privateDaniel Calviño Sánchez
Until now the model was updated as soon as the checkbox was modified, which triggered a change event that in turn caused the UI to be updated. However, if the room could not be successfully set as public or private nothing was done and the model as well as the UI were kept with the wrong state (at least, until the model is fetched again). To prevent this now the model waits for a successful server response to update the attributes; in case of failure only the checkbox needs to be restored, as it is the only UI element that changed due to the direct interaction of the user (in case of success the whole view will be rendered again due to the room type change, so no need to do anything explicitly in that case). As the model is not changed until the successful server response is received now the checkbox is replaced by a working icon while waiting for the answer. In a similar way the checkbox is also disabled to prevent further requests while the previous one is ongoing. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-19Add volume indicator for the local audioDaniel Calviño Sánchez
The volume is shown as a vertical bar next to the audio icon that grows and shrinks (with a fixed bottom position) depending on the volume level. The bar is coloured with a gradient from green to yellow to red for better clarity of the current volume. The previous way of indicating speech (a pulse animation in the audio icon) has not been modified; this is an additional visualization (only for the local audio) to provide a more noticeable feedback to the user. Both the existing button and the new bar had to be wrapped in a helper div to include the volume bar in the old layout. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>