Commit Graph

169 Commits

Author SHA1 Message Date
Greta Doci a1798d5bd7 Fix gallery sorting buttons and remove filelist ref # #16076
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-06-27 14:46:18 +02:00
Jonas Sulzer 2be1cc26cd
🐛 FIX: sharing confirm Button
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-06-26 18:30:25 +02:00
Julius Härtl 90711fc638
Remove sharing height limit, since it is overwriting the server defaults
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-30 21:49:31 +01:00
Daniel Calviño Sánchez 287741123a Rename "#app" to "#app-content"
The standard layout in the server uses "#app-navigation",
"#app-content" and "#app-sidebar" as children of "#content"; the
navigation and sidebar are not needed, so "#app" is simply renamed to
"#app-content".

Also note that "#controls" is already the first child of "#app-content",
so there is no need to prepend it. In a similar way there are standard
CSS rules defined in the server for "#controls" as a child of
"#app-content", so no special rules need to be defined here.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-11 00:22:34 +02:00
Michael Weimann 27a2d94e6c
Fixes the gallery app width
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-08-09 20:26:54 +02:00
Julius Härtl f53cbb8077
Cleanup template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 12:23:05 +02:00
Julius Härtl 91ce47c7ff
Move to new public page response
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 11:07:58 +02:00
Jan-Christoph Borchardt cb61a6bc17 Replace information icon with confirmation button in share input
The confirmation button right now is just an icon; its behaviour will be
added in the following commits.

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-04-03 23:45:32 +02:00
Morris Jobke 7a4a537a2a
Merge pull request #412 from nextcloud/fix-position-of-icons-in-share-with-input-field
Fix position of icons in "Share with" input field
2018-03-23 08:48:02 +01:00
John Molakvoæ (skjnldsv) e1686a12de
Fix gallery buttons positionning
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-03-22 09:44:22 +01:00
Daniel Calviño Sánchez 83bbc8a7b5 Fix position of icons in "Share with" input field
The "box-sizing" of "#app" descendants is set to "border-box" in the
server. Depending on where it is shown, the "Share with" input field can
be a descendant of "#app" or not, so its icons either use the
"border-box" or the "content-box" sizing depending on the case.
Therefore, the padding when using "border-box" sizing has to be set to
the content size ("min-width" and "min-height") plus the padding used in
"content-box" sizing.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-21 21:07:20 +01:00
John Molakvoæ (skjnldsv) 570e24a972
Fixed sharedwithlist selector
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-03-09 11:56:35 +01:00
Daniel Calviño Sánchez 1c12610292 Remove margin from server for "hascontrols" CSS class
The server adds a "margin-top" to the elements with the "hascontrols"
CSS class, like the element for the gallery. However, since the controls
were moved into the "#app" element that margin is no longer necessary;
the controls are a previous sibling of the gallery, and its sticky
position behaves like a relative position before getting stuck, so the
controls are positioned according to the normal flow of the document and
thus "push" the gallery down without the need of a margin.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-07 07:34:20 +01:00
Daniel Calviño Sánchez 73d7c3f428 Add controls to #app instead of before #content-wrapper
The "#content-wrapper" element is the scrolling container of the
gallery. As the "#controls" element was a sibling with a relative top
position it overlapped the "#content-wrapper"; the contents themselves
were not overlapped due to the "margin-top" CSS rule for "#content
.hascontrols" elements, but as the scroll bar belongs to the
"#content-wrapper" it was.

This could have been fixed by setting the top position of the
"#content-wrapper" element to visually move it below the "#controls".
However, conceptually the controls are part of the contents, and other
apps may expect that the gallery adds all its contents in the
"#content-wrapper" (like the JSXC app), so also for consistency with the
Files app this commit moves the "#controls" element into the "#app"
element instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-07 07:02:14 +01:00
Daniel Calviño Sánchez a4b0d2a9f7
Merge pull request #401 from nextcloud/fix-gallery-button-hidden-in-folders-without-create-permission
Fix gallery button hidden in folders without create permission
2018-03-01 02:44:10 +01:00
John Molakvoæ (skjnldsv) b34d361faf
Popover menu delete button padding fix on files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-02-24 10:09:48 +01:00
John Molakvoæ (skjnldsv) 82cbe23cb4
Removed old code already present thanks to the files app
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-02-24 00:27:02 +01:00
Daniel Calviño Sánchez df92586da6 Fix gallery button hidden in folders without create permission
In the "Files" app the actions that require the create permission (those
marked as "creatable") are hidden in folders that do not have that
permission. However, as there is only one ".actions" element inside
"#controls" and that ".actions" element also has the "creatable" CSS
class appending the gallery button to it meant that the gallery button
was hidden in folders without create permissions. Now the gallery button
is appended to the "#controls" element instead, and thus it is no longer
affected by the permissions of the folder.

As the button is now appended to the "#controls" element its top margin
was increased to align it with the rest of the buttons (as the
".actions" element uses a padding of 5px), and as the button appears in
the top right corner of the contents its right margin was set to the
same value as the top margin to "frame" the button.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-02-18 22:25:05 +01:00
Daniel Calviño Sánchez 14f48dea40 Fix social sharing menu position
The social sharing menu shown in the share drop down was off by a few
pixels both in the gallery and in the slideshow; to fix this, different
values had to be used in each case due to slight style differences in
the share drop down depending on its ancestors.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-02-11 13:52:15 +01:00
Daniel Calviño Sánchez dd89673234 Fix loading icon position in "shareWith" field
When searching or selecting a sharee in the "shareWith" field a loading
icon is shown. However, as the icon had a relative position and the
"shareWith" field uses the full width of the share dropdown the icon was
shown in a new line below the field. Moreover, due to its "right" CSS
property the icon was also shown outside the dropdown itself. Now,
during the search for or the selection of a sharee, the loading icon
replaces the information icon shown in the "shareWith" field, just like
done in the sharing section of the server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-22 03:58:59 +01:00
Roeland Jago Douma 8776be9790
Merge pull request #356 from nextcloud/unify-slideshow-share-button-with-the-rest-of-slideshow-buttons
Unify slideshow share button with the rest of slideshow buttons
2018-01-20 10:18:34 +01:00
Marin Treselj 9fc1341572 Fix containers heights
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2018-01-18 16:00:57 +01:00
Morris Jobke 372035e842
Merge pull request #349 from nextcloud/fix-date-picker-not-visible-in-slideshow-sharing-dialog
Fix date picker not visible in slideshow sharing dialog
2018-01-09 14:50:46 +01:00
Daniel Calviño Sánchez bb8f59082c Put progress filling behind pause icon
The progress filling for the pause icon is a next sibling of the pause
icon in the DOM. Both had the same z-index, so the progress filling
element appeared in front of the pause icon. Due to this, if the pointer
was hovering on the pause icon the hovered element could change from the
pause icon to the progress filling when its height was increased, which
in turn caused the highlight of the pause icon to disappear even if the
pointer was not moved. Now the z-index of the progress filling was
reduced to be shown behind the pause icon instead; visually it looks the
same, but this ensures that the pause icon is always the one being
hovered.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-08 02:13:39 +01:00
Daniel Calviño Sánchez c017f4e8e1 Unify slideshow share button with the rest of slideshow buttons
The share button is now an input element like the rest of the slideshow
buttons.

Besides getting a cleaner code it fixes the share button not being
hidden like the rest of the slideshow buttons when the pointer was not
moved for three seconds.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-07 21:14:42 +01:00
Daniel Calviño Sánchez 48f16e4439 Fix date picker not visible in slideshow sharing dialog
The z-index for the date picker is forced in the server CSS files to
"1111" through the use of "!important", so even if a higher value is
explicitly set in the "style" attribute of the element the value set in
the server CSS files is the one used. As the z-index of the slideshow is
"100000" and the date picker is added as a sibling of it and not as a
child the date picker appears behind the slideshow. In order to be
visible the date picker needs to override the z-index set in the server
CSS files to be higher than the one used for the slideshow and for the
share dialog shown in the slideshow.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-06 22:05:34 +01:00
Daniel Calviño Sánchez 56f3d9c9c6 Fix three dots menu toggle not hidden in gallery share dropdown
The CSS rule to hide the link text input and the three dots menu toggle
using the generic "#linkText" and "#linkTextMore" selectors is overriden
by rules for "#controls input[type=text]" and "#controls .button" in
server, so more specific selectors are needed to ensure that those
elements are hidden.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-04 14:42:11 +01:00
Daniel Calviño Sánchez c1812d79e4 Hide three dots menu toggle in share dropdown when not shown explicitly
The link text input is hidden when not shown explicitly through
"showLink"; the three dots menu toggle is shown inside that text input,
so it should be hidden too when the link text input is hidden.

This fixes the three dots menu toggle being visible when the share
dropdown is open and the link is not shared.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-04 14:32:59 +01:00
Morris Jobke 3639b627ec
Merge pull request #336 from nextcloud/gallery-button-insertion-fix
Fixed gallery button insertion script and design fix
2018-01-03 16:26:09 +01:00
Marin Treselj 301d8cf879 Fix inconsistent hover behaviour for the gallery button
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
2017-12-20 15:43:43 +01:00
Marin Treselj a82ba8f1a2 Fix a bug in the "ugly hack" when Home is the last breadcrumb
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
2017-12-20 15:32:26 +01:00
Marin Treselj c44d7f0a86 Fix public sharing view
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
2017-12-20 15:17:18 +01:00
Marin Treselj 55dd75045d Fix button and breadcrumb margins/paddings
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
2017-12-20 14:55:03 +01:00
Morris Jobke a418fadac9
Fix CSS to work around wrong gallery DOM structure
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-20 12:34:15 +01:00
Morris Jobke 38d5fb6ffb
Fix chess board background for transparent images in slide show
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-18 22:23:57 +01:00
John Molakvoæ (skjnldsv) 27f4c4e980
Fixed multiplde design flaws
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-13 13:42:45 +01:00
John Molakvoæ (skjnldsv) 1089b8c5aa
Fixed gallery button insertion script and design fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-13 11:53:19 +01:00
Morris Jobke 03ed18ba05
Merge pull request #318 from runitat/master
height fix for IE11
2017-12-08 15:17:10 +01:00
Marin Treselj 0eb02d8965 Update templates with new .icon-white and .icon-shadow classes; move toggle.svg to core, remove deprecated icons
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
2017-11-28 10:46:35 +01:00
Manuel Klemenz f29be8d0c7 heigt fix for IE11 2017-09-12 14:52:09 +02:00
Morris Jobke 8074f5c95f Adjust all buttons to the server style of Nextcloud 12
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-27 17:19:05 +02:00
John Molakvoæ (skjnldsv) 523d282033 Fix button element
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-07-27 16:38:59 +02:00
Felix A. Epp f63f91625d Remove obsolete/faulty css for the top right button
Signed-off-by: Felix A. Epp <work@felixepp.de>
2017-07-27 16:38:59 +02:00
Morris Jobke 5c9830242d Fix transparency of share icon and do not show social menu if no app enabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-16 13:23:12 -05:00
Morris Jobke 049fef833d Fix position of dropdown
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-16 13:08:41 -05:00
Jan-Christoph Borchardt 4a3fb19380
Fix social sharing layout
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-05-16 15:29:01 +02:00
Robin Appelman 2866cf5743 show share button in slideshow
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-05-03 22:43:06 +02:00
Robin Appelman 05db567a53 fix slideshow menu not being visible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-05-03 17:26:11 +02:00
Morris Jobke 3f96f21336 Merge pull request #255 from nextcloud/style
Adjust to Nextcloud style
2017-04-26 13:18:47 -03:00
Jan-Christoph Borchardt f96c7525de Fix Gallery share button not showing with Adblock
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-04-26 18:10:53 +02:00