Commit Graph

2261 Commits

Author SHA1 Message Date
Joas Schilling f733444234
Default to dark background in dark mode and better themed navbar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-07 08:53:49 +02:00
Daniel Calviño Sánchez 52706213d3 Fix cursor on click inputs and their descendants
The cursor in click inputs is shown as a pointer to convey that it can
be interacted with. However, in those click inputs that can have
descendants, like buttons, the descendants may not inherit the cursor
from it (for example, a "strong" element would, but a "span" element
would not), which causes a pointer cursor to be shown on some areas of
the button and a different one to be shown on other areas. To prevent
that now all the descendants of click inputs that can have descendants
use a pointer cursor.

On the other hand, if a click input is disabled it can not be interacted
with it, so now disabled click inputs as well as their descendants show
a default cursor instead of a pointer cursor in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-25 10:50:45 +01:00
Marco Ambrosini ce033072f4 Fix color-box-shadow variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-13 11:43:31 +01:00
Roeland Jago Douma 971e619c89
Merge pull request #19671 from nextcloud/fix-loading-icons-on-replaced-elements
Fix loading icons on replaced elements
2020-03-05 20:11:12 +01:00
Gary Kim ff6db60b8c
Fix non-centered no javascript message
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-02-29 10:43:42 +08:00
Daniel Calviño Sánchez 243feca786 Adjust list of replaced elements to the spec
"button, textarea, select, div[contenteditable='true']" were removed and
"audio, canvas, embed, iframe" were added.

Note that this is a coarse-grained list; according to the spec some of
the elements, like canvas or input, might be treated as a replaced
element in some cases and as ordinary elements in others:
https://html.spec.whatwg.org/multipage/rendering.html#replaced-elements

For now all the elements that might be replaced elements use the loading
image by default, so apps will need to override that when the elements
are treated as ordinary elements. Of course that can be flipped in the
future to instead make an element to use the "::after" approach by
default if it is found that the element requires the override often.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-02-27 10:35:54 +01:00
Daniel Calviño Sánchez 5f1713f9db Set loading image on replaced elements instead of on their descendants
Replaced elements do not have "::after" nor "::before" pseudo-elements,
so the regular loading icon needs to be shown using a background image
instead of the default "::after" pseudo-element approach. However, the
CSS rules were not applied on the replaced elements themselves, but on
their descendants. As the descendants might have support for
pseudo-elements the rules were fixed to be applied on the replaced
elements, and only on the replaced elements.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-02-27 10:25:58 +01:00
Marc Michalsky c97aa97814
Update guest.css 2020-01-31 17:38:39 +01:00
Marc Michalsky 9f473f777f
Center Buttons
Since Version 18.0.0 the Registration button of the [registration app](https://github.com/pellaeon/registration) is not centered anymore.
2020-01-31 14:56:20 +01:00
Julius Härtl 8c8fe4a5c0
New file menu needs to be above the filelist header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-24 11:49:37 +01:00
Daniel Calviño Sánchez 914172690c Fix cursor on disabled contenteditable divs
The cursor should be a default cursor, as the text cursor implies that
text can be introduced.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-16 18:28:36 +01:00
Marco Ambrosini dd8141b36b Add color background hover css variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-01-16 12:41:20 +01:00
Roeland Jago Douma 060dd35ef9
Merge pull request #18873 from nextcloud/design/install-page
Install page design fixes
2020-01-15 07:24:57 +01:00
Christoph Wurst a673ff3a63 Fix max width on 2FA pages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-14 19:37:54 +01:00
Jan-Christoph Borchardt 19397059d6
Add explanatory bit for recommended apps, fix #18631
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-01-14 14:18:16 +01:00
Marco Ambrosini 22e32501a5 Create hover color variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-01-13 20:03:47 +01:00
Roeland Jago Douma 106ea9fdaa
Merge pull request #18819 from nextcloud/bugfix/guest-container-size
Limit the size of the container on guest pages
2020-01-11 08:23:09 +01:00
Roeland Jago Douma 9eb16da35e
Merge pull request #18806 from nextcloud/bugfix/contactsmenu-fix-min
Set the contactsmenu height without min calculation
2020-01-11 08:19:33 +01:00
Julius Härtl 7e5956a906
Limit the size of the container on guest pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-10 17:09:40 +01:00
Julius Härtl 41134dafa0
Narrow error button styling scope
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-10 16:50:20 +01:00
Julius Härtl fdf5408b7d
Set the contactsmenu height without min calculation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-10 13:56:59 +01:00
Roeland Jago Douma 4b28da1dd9
Merge pull request #18752 from nextcloud/bugfix/contacts-menu-scroll
Fix contacts menu sizing
2020-01-10 08:05:42 +01:00
Roeland Jago Douma edd957140a
Merge pull request #18780 from nextcloud/bugfix/18779/safari_madness
Tell Safari to watch out for changes of filter
2020-01-09 20:01:33 +01:00
Georg Ehrke cfdf12d8d6
Tell Safari to watch out for changes of filter aka attempt no. 1 to fix #18779
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-09 14:42:32 +01:00
Julius Härtl f2e466905f
Fix contacts menu sizing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 15:22:44 +01:00
Roeland Jago Douma 86bccde9c7
Merge pull request #17861 from nextcloud/fix-tab-navigation-of-menu-in-public-share-pages
Fix tab navigation of menu in public share pages
2020-01-07 21:00:00 +01:00
Julius Härtl 99a450c9dd
Move scroll container to inner element
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-31 10:35:11 +01:00
Daniel Calviño Sánchez 883a71ce8e Split the menu entry for external shares in two
The external shares entry showed a "button" that, when pressed, replaced
the button with the input to set the remote share address. The "button"
was actually a label for the input, so when the label was focused it
transferred the focus to the input and thus pressing enter or space did
not show the input. Moreover, inputs inside links are not valid HTML,
and once shown there was no way to hide the input again.

Due to all this, and for consistency with the direct link input, the
external share input was moved to a different menu item that is shown
and hidden when the button, which nows is also a real button, is
clicked.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-30 10:29:36 +01:00
Daniel Calviño Sánchez e32766bd11 Change menu toggle element from span to button
This makes possible to navigate to the menu toggle using the keyboard,
as well as being semantically more correct.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-30 10:29:36 +01:00
Joas Schilling 59e9b3d1d0
Only round the real avatars
Before this all images were rounded, including the icons of contacts menu options

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-20 12:11:54 +01:00
Julius Härtl 46931c98a7
Add flow icon for app store category
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-19 15:18:09 +01:00
John Molakvoæ 2959487f71
Fix size of header menus (#16057)
Fix size of header menus
2019-12-07 09:48:10 +01:00
Roeland Jago Douma 2a2d0cd312
Merge pull request #18082 from nextcloud/design/style-update
Update style of log in page and header
2019-11-26 12:01:47 +01:00
John Molakvoæ fe6dc8082c
add var for theming images , advanced options (#16815)
add var for theming images , advanced options
2019-11-26 10:55:20 +01:00
John Molakvoæ (skjnldsv) 27d68b4f90
Improve tag icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-11-25 16:32:22 +01:00
Guillaume COMPAGNON ed399a31bd
add var for theming images , advanced options
Signed-off-by: Guillaume COMPAGNON <gcompagnon@outlook.com>
2019-11-24 21:51:43 +01:00
Jan-Christoph Borchardt 7edeac887b
Update style of log in page and header
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-11-23 19:16:59 +07:00
Jonas Sulzer 93dcc42631
🐛 FIX: horizontal scrolling on mobile due to tab accessibility navigation 'skip to content' positioned at a fixed position
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-11-07 15:28:31 +01:00
Gary Kim 0efa78d1e2
Prompt on destructive user actions
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-11-05 20:39:07 +08:00
Roeland Jago Douma ef6806a235
Merge pull request #17670 from nextcloud/fix/noid/collapsing-spaces-in-move-again
Fix spaces being collapsed in move dialog again
2019-10-31 16:17:31 +01:00
John Molakvoæ (skjnldsv) 1c13c52acf Systemtags and external actions update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:03 +01:00
Gary Kim ffead18518
Fix spaces being collapsed in move dialog again
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-25 09:52:31 +08:00
Julius Härtl 57a4a7d0e4
Increase contast between text and placeholder in input fields
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-10 15:54:10 +02:00
Gary Kim 11d01319c6
Show Delete Icon in Breadcrumb in Trashbin
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-07 19:35:23 +08:00
Julius Härtl bef426e3f4
Move to proper scroll container and add more space to height
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-04 20:56:10 +02:00
Jan-Christoph Borchardt d889019f00
Fix horizontal scrollbar in user menu
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-10-04 20:27:31 +02:00
Julius Härtl 6283b57310
Fix size of header menus
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-04 20:27:31 +02:00
Marco Ambrosini fe5d5312ca Bring the font size down to 14px
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-01 17:42:16 +02:00
John Molakvoæ a0d48c568d
Bring the default font size up to 15px (#17228)
Bring the default font size up to 15px
2019-09-28 17:17:35 +02:00
John Molakvoæ (skjnldsv) f737dc9a86 Remove input id on login form
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 08:15:03 +00:00