aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/css
Commit message (Collapse)AuthorAgeFilesLines
* Reduce spread of css selector for a.actionJohn Molakvoæ (skjnldsv)2017-11-071-41/+44
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add variable for border-radiusJan-Christoph Borchardt2017-11-031-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Merge pull request #7049 from nextcloud/fix-actions-menuJan-Christoph Borchardt2017-11-032-6/+1
|\ | | | | Fix opening the file actions menu in mobile
| * Fix opening the file actions menu in mobileMorris Jobke2017-11-032-6/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7048 from nextcloud/flexbox-cssJan-Christoph Borchardt2017-11-031-4/+0
|\ \ | | | | | | Vendor prefix for flexbox not needed anymore
| * | Vendor prefix for flexbox not needed anymoreMorris Jobke2017-11-031-4/+0
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix test for tooltip and local share ownerJan-Christoph Borchardt2017-11-011-0/+4
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Fix CSS, better handling of recipientsMarin Treselj2017-10-311-2/+2
| | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* | Show avatar instead of username for shared filesJan-Christoph Borchardt2017-10-311-0/+4
|/ | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Merge pull request #6709 from ↵Morris Jobke2017-10-252-60/+44
|\ | | | | | | | | nextcloud/show-checkbox-where-the-favourite-icon-is-now Show checkbox where the favourite icon is now
| * Extend the clickable area of the file name to include the thumbnailDaniel Calviño Sánchez2017-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | Now that the checkbox was moved to its own column clicking on the thumbnail should behave like clicking on the file name. To achieve this the left position was replaced with a padding, so the element is kept at the same place while extending its clickable area to cover the thumbnail. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Move checkboxes to their own columnDaniel Calviño Sánchez2017-10-192-34/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The selection column is not only a visual column, but also a real column of the file list table. Unlike other columns whose width is reduced in space constrained screens the selection column must stay the same so the tapping area is large enough to be easily usable The selection column does not appear in the search results table, so its contents have to be explicitly aligned with those of the main table based on whether the main table has a selection column or not (using the "has-selection" CSS class in the same way as the "has-favorite" CSS class was being used when there was a column for favorite actions). In the tests the ":visible" selector can no longer be used. That selector matches elements with a width or height that is greater than zero, but the dimensions calculated in the unit tests are not reliable; the width of the link was zero before these changes, and now moving the checkbox to its own column causes the height of the link to become zero too, so it no longer matches the ":visible" selector even if it is not hidden. As hidding and showing the link is based on its "display" CSS property its value is the one checked now. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Move favorite mark to the top right corner of the thumbnailDaniel Calviño Sánchez2017-10-191-23/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The favorite icon was shown on its own "column" (not a real column in the table, but a visual column achieved through margins and left positions). Now the icon was moved to the top right corner of the file thumbnail, and the thumbnail and file name were moved to the left to fill the space left by the "column". To keep the markup in line with its visual representation (and to ease the placing through CSS), the favorite mark is no longer prepended to the row, but appended to the thumbnail instead. In the same way, the thumbnail is no longer appended to the checkbox label, but to the link with the name of the file instead (although the checkbox is still shown at the bottom right corner of the thumbnail, and clicking on the thumbnail still selects the file). In order to show the "busy" state on a file the "icon-loading-small" CSS class is set to the parent element of the thumbnail, so the thumbnail is also wrapped now by another div with the same size and position as the label. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Set background size for thumbnail in CSS instead of JavaScriptDaniel Calviño Sánchez2017-10-191-0/+1
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Show always the checkboxDaniel Calviño Sánchez2017-10-191-2/+2
| | | | | | | | | | | | | | | | The checkbox is not shown always with full opacity, though, in order to reduce the visual noise (specially later, once the checkbox is moved to its own column). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Replace inline favorite action with just a favorite iconDaniel Calviño Sánchez2017-10-191-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a preparatory step for a following commit in which the position of the favorite icon and the checkbox will be swapped; in that new design the favorite icon is no longer expected to be an action but just a simple mark on whether the file is favorited or not (the action is expected to be triggered then only from the file actions menu). The favorite icon is now fully shown or completely hidden depending on whether the file is favorited or not. As the icon is just informative but no longer an action now it does not change when hovered or focus. In the same way, the alternative text when the file is not favorited now it is not "Favorite" (an action) but "Not favorited" instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add "Favorite" action to the file actions menuDaniel Calviño Sánchez2017-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | The new FileAction for the menu is essentially the same as the old inline FileAction, except for the rendering; in this case the FileAction is shown in the menu in a standard way, so there is no need to provide a custom renderer (although the menu entry text and icon change depending on whether the file is currently a favorite or not, but that can be done just with displayName and iconClass functions). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #6916 from nextcloud/css-box-sizingJohn Molakvoæ2017-10-231-4/+0
|\ \ | | | | | | Box-sizing does not need vendor prefix anymore
| * | Box-sizing does not need vendor prefix anymoreMorris Jobke2017-10-231-4/+0
| |/ | | | | | | | | | | http://caniuse.com/#search=box-sizing Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Box-shadow does not need vendor prefix anymoreMorris Jobke2017-10-231-2/+0
|/ | | | | | | https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow http://caniuse.com/#search=box-shadow Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix upload progress color to primaryJohn Molakvoæ (skjnldsv)2017-09-281-15/+16
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix busy state loading animation in filesJohn Molakvoæ (skjnldsv)2017-09-231-1/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Removed unused filter for opacity, fix #6408John Molakvoæ (skjnldsv)2017-09-233-26/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Replaced colours by variablesJohn Molakvoæ (skjnldsv)2017-09-231-4/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Removed unneeded bgs and borders. Replaced hard coded colours byJohn Molakvoæ (skjnldsv)2017-09-231-15/+10
| | | | | | variables. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix quota orderJohn Molakvoæ (skjnldsv)2017-09-211-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Quota orderJohn Molakvoæ (skjnldsv)2017-09-211-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Unwanted css for trashbinJohn Molakvoæ (skjnldsv)2017-09-211-5/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Removed unwanted css and add quota iconJohn Molakvoæ (skjnldsv)2017-09-211-7/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Correctly ellipsize file names, fix #6498Jan-Christoph Borchardt2017-09-142-1/+5
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Ellipsize sharer name, ref #6498Jan-Christoph Borchardt2017-09-142-2/+12
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Allow to close sidebar for text filesMorris Jobke2017-09-141-0/+1
| | | | | | * the close button was overlapped by the text preview and you could not close the sidebar then Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix permanent display of favorite iconJan-Christoph Borchardt2017-08-251-0/+6
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Do not show icon for quota barMorris Jobke2017-06-131-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused elementJoas Schilling2017-06-131-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Put the quota bar to the bottomMorris Jobke2017-06-131-1/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove the colored cornersJoas Schilling2017-06-131-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Style quota entry in files viewJan-Christoph Borchardt2017-06-131-4/+18
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Add quota to the files viewJoas Schilling2017-06-131-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Increase width of clickable area in file row to open file/folderJan-Christoph Borchardt2017-05-161-0/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Improve menu CSSMorris Jobke2017-04-191-58/+22
| | | | | | | | * fix mess with menus and actions in the files app * reduces amount of !important usages * keeps the behaviour on mobile as well as on desktop Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused CSSMorris Jobke2017-04-181-51/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix pop over menu opacityMorris Jobke2017-03-261-3/+15
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge some CSS files using our SCSS compilerLukas Reschke2017-03-215-0/+4
| | | | | | This saves around 4 requests on the average page load. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Css fixJohn Molakvoæ (skjnldsv)2017-02-151-4/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix files mobile viewJohn Molakvoæ (skjnldsv)2017-02-011-1/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Popover newFolder input fixJohn Molakvoæ (skjnldsv)2017-01-221-4/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Popover positionning fixJohn Molakvoæ (skjnldsv)2017-01-221-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Popover positionning and classesJohn Molakvoæ (skjnldsv)2017-01-221-0/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fit newFileMenu to css guidelinesJohn Molakvoæ (skjnldsv)2017-01-221-30/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>