aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/css/comments.scss
Commit message (Collapse)AuthorAgeFilesLines
* Move comments to webpackRoeland Jago Douma2019-02-261-261/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix linear-gradient for long comments on dark-themeJoas Schilling2019-01-241-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #11258 from nextcloud/fix-contacts-menu-on-mentionsblizzz2018-09-181-0/+5
|\ | | | | Fix contacts menu on mentions
| * Fix position of contacts menu shown on mentionsDaniel Calviño Sánchez2018-09-151-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | There are no default CSS rules for the contacts menu, as its position depends on the element on which it is shown. Note, however, that if no explicit rules are provided the contacts menu on mentions is affected by the rules for the contacts menu on shares from the sharing tab. The contacts menu is now positioned to show the tip of the arrow horizontally aligned with the center of the avatar, and with the top of the menu slightly below the bottom border of the mention. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Prevent comment being composed from overlapping the submit buttonDaniel Calviño Sánchez2018-09-061-0/+3
|/ | | | | | | | | The submit button is placed in the text area using absolute positioning, so it is not taken into account when calculating the text layout. Due to this it is necessary to add an explicit padding to the right of the text area to prevent the text from overlapping the submit button. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add new line at the end of fileDaniel Calviño Sánchez2018-09-051-1/+1
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Ensure that the avatar and the user name will be kept togetherDaniel Calviño Sánchez2018-09-051-0/+4
| | | | | | | Otherwise a line break could be added between the avatar and the user name when the wrapper is close to the right border of the message. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Remove unneeded CSS rule for mentionsDaniel Calviño Sánchez2018-09-051-1/+5
| | | | | | | | Most of the properties of the rule are not needed for mentions, so the rule is no longer applied to them; the only needed property was moved to the main rule for mentions. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix pointer cursor not shown on avatarsDaniel Calviño Sánchez2018-09-051-1/+3
| | | | | | | | | | When the cursor is on an avatar wrapper the cursor is shown as a pointer to inform the user that it can be clicked (which will either show the contacts menu or insert a mention, depending on the case); the cursor must be explicitly defined for the "img" element that shows the avatar too, or otherwise the default cursor would be shown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Highlight mentions to the current userDaniel Calviño Sánchez2018-09-051-0/+4
| | | | | | | Like done in Talk, mentions to the current user are now shown with the primary colors to make them more prominent. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Ensure that the user name is shown in bold in mentionsDaniel Calviño Sánchez2018-09-051-0/+5
| | | | | | | | | Different browsers use different font weights for strong elements (Chromium uses "bold", but Firefox uses "bolder", which is relative to the font weight of the parent), so now the user name in mentions is explicitly shown with a bold weight. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix contactsmenu for mentioned users in commentsJulius Härtl2018-08-251-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed comments designJohn Molakvoæ (skjnldsv)2018-07-241-24/+22
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #10286 from nextcloud/bugfix/noid/comments-layoutMorris Jobke2018-07-191-0/+1
|\ | | | | Fix comment input overlay on empty discussion
| * Fix comment input overlay on empty discussionJulius Härtl2018-07-181-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix inline avatar display for mentions in commentsJulius Härtl2018-07-181-2/+21
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Various apps scssJohn Molakvoæ (skjnldsv)2018-06-201-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixes issue with the large cursor on Safari in the comment section.Abijeet2018-04-141-3/+6
| | | | | | This was being caused due to the `display: inline-block` on the contenteditable div. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Disabled comment changes opacity only for message text.Abijeet2018-03-271-1/+1
| | | | Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Added ellipsis for longer usernames.Abijeet2018-03-271-1/+6
| | | | | | Towards #7281 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Moves the edit and delete options into a dropdown menu.Abijeet2018-03-271-10/+2
| | | | | | | | | Fixes #7281 - Added a new View to render the dropdown. - Modified the existing code. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Converts the css file to scss file, and adds border-top to comments.Abijeet2018-03-271-0/+217
Signed-off-by: Abijeet <abijeetpatro@gmail.com>