Commit Graph

149 Commits (d92bf388b1c553ecd6bfb2a7400b990dcafe9c54)

Author SHA1 Message Date
Ferdinand Thiessen e7c03aa9c0 chore: Build assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 21:01:37 +07:00
Ferdinand Thiessen 3d74ed85ff feat: Add new Vue FilePicker from @nextcloud/dialogs and use it by default.
Still providing the legacy one until the Vue FilePicker is out of beta.
Pin beta releases so we do not get version conflicts.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:55:51 +07:00
Christopher Ng 32f5e0bd96 fix(settings): Keyboard focus outline for app nav button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:24:55 +07:00
Christopher Ng 266789a4f4 fix(settings): Remove margin on app nav button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:24:55 +07:00
Christopher Ng 2505961fe7 fix(settings): Remove add group hover border
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:24:55 +07:00
julia.kirschenheuter 34bbb4ed48 Set double outline to buttons in focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-11 11:22:39 +07:00
Jérôme Herbinet fb945bc53c npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-06 10:04:48 +07:00
Simon L 56aa4c79e2 adjust active element visibility in the sidebar
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-25 18:19:24 +07:00
Ferdinand Thiessen 79239eaded chore: Build compiled assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 22:31:10 +07:00
Simon L 3974fece7a disable pull-down-to-refresh for mobile
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-15 20:09:52 +07:00
Simon L f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +07:00
John Molakvoæ 9ab7a19b09
fix(theming): remove unnecessary `color-primary-element-default-hover` variable
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:04:15 +07:00
Ferdinand Thiessen 0a0740a5a9 chore: Build css assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-03 19:50:26 +07:00
JL102 f0716abf96 Update autogenerated files
Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-04-28 14:02:18 +07:00
Christopher Ng 7dd2c72dea Show modified in filepicker grid
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-25 17:21:12 +07:00
Ferdinand Thiessen f8d558e24f fix(core): Ungroup `placeholder` css rules to prevent browsers from removing all rules
When rules are grouped using the comma operator and one selector is invalid / unknown then the whole group is invalidated[1].
In this case `::-ms-input-placeholder` is unknown to Firefox and Chrome, so the `::placeholder` rule is never applied.
[1]: https://www.w3.org/TR/selectors-3/#grouping

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 22:25:03 +07:00
Julius Härtl 389c6dc30b
fix: Fix filepicker breadcrumbs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-07 16:04:50 +07:00
Jérôme Herbinet a64c31148c Fix icons at 16px width and height
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Fix icon size

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run sass

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Rever + add exception

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run sass

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

16px fixed dimentions instead of auto

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-06 11:44:08 +07:00
julia.kirschenheuter dc0a95cce0 Adjust breadcrumb navigation structure to the navigation list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-04 12:16:45 +07:00
Julius Härtl 4724d1c030
fix: Avoid scrolling the #content wrapper container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-28 06:23:26 +07:00
Jérôme Herbinet da03a5e2e0 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-03-24 10:27:40 +07:00
Simon L 945bbcb1a4 fix white scrollbar corner in dark mode
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-08 13:30:04 +07:00
Simon L 2715f40e30 fix right-click img tags
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-02 08:58:49 +07:00
Christopher Ng 0a9ce1ff34 Add name for home breadcrumb in filepicker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-24 10:31:06 +07:00
Jonas c1a82070bd
Don't regard 1024px width viewport as mobile
Currently we treat 1024px as mobile in some places (e.g. `isMobile` in
nextcloud-vue) and as not mobile yet in others (e.g. in mobile.css).

This commit changes `mobile.scss` to treat viewports smaller than 1024px
as mobile.

This PR accompanies https://github.com/nextcloud/nextcloud-vue/pull/3768

Both are required to fix
https://github.com/nextcloud/nextcloud-vue/issues/3758.

Signed-off-by: Jonas <jonas@freesources.org>
2023-02-16 12:16:59 +07:00
Christopher Ng c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 +07:00
John Molakvoæ 9af7ee8d11
Revert "Add alt to the logo, adapt css for logo"
This reverts commit bba5ab0532.
2023-01-17 14:19:23 +07:00
Christopher Ng f6aa5224c4 Focus trap contacts menu with NcHeaderMenu port
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-13 23:19:28 +07:00
Christopher Ng 8700730204 Compress SASS output
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-11 17:46:32 +07:00
Joas Schilling a4fec95e57
Fix user status icon in avatar menu
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:13:06 +07:00
julia.kirschenheuter 443206965d
Change focused items behavior that neighbor elements (text and border) have no overlapping.
Add native tooltips to items.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-20 10:21:30 +07:00
Christopher Ng 9012e89431 Fix vue-select styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-10 01:35:14 +07:00
John Molakvoæ dcd0878458
Merge pull request #35665 from nextcloud/revert-35165-fix/vue-select-styles 2022-12-08 18:47:29 +07:00
Vincent Petry 26052bf32c
Merge pull request #35660 from nextcloud/enh/a11y-input-border
Increase default global input field border contrast
2022-12-08 17:37:45 +07:00
John Molakvoæ 2d5fe7ec23
Revert "Disable style override on vue-select elements" 2022-12-08 11:02:07 +07:00
julia.kirschenheuter bba5ab0532 Add alt to the logo, adapt css for logo
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-08 09:28:25 +07:00
Christopher Ng 20da75f5ab Increase default input field border contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-08 00:28:15 +07:00
Christopher Ng d3d5034ea4 Disable style override on vue-select elements
- Disable style override on NcActionButton with `:not(.action-button)`
  due to increased specificity over scoped Vue styles when only
  `:not([class^="vs__"])` is added

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-06 00:19:53 +07:00
dependabot[bot] 06b68e2300 Bump sass from 1.52.1 to 1.56.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.52.1 to 1.56.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.52.1...1.56.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-05 23:06:18 +07:00
Simon L 415e68f53b
Merge pull request #35484 from nextcloud/fix/34653/fix-popover-menu
fix the popovermenu
2022-11-30 12:20:47 +07:00
Simon L 366a0dc2cf
Merge pull request #35485 from nextcloud/chore/remove-bootstrap-version-comment
Remove Bootstrap version reference from tooltip.scss
2022-11-29 16:32:49 +07:00
Álvaro Brey 79c3970044 Remove Bootstrap version reference from tooltip.scss
We've had some reports that Nextcloud is using an outdated/deprecated Bootstrap version v3.3.5.

I believe this to be caused by the string "Bootstrap v3.3.5" in the changed line, which after bundling ends up in `core-common.js`, and trips up some security scanners.

It may also be worth investigating why the comments are not getting stripped when bundling the JS.

Signed-off-by: Álvaro Brey <alvaro.brv@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-29 14:21:45 +07:00
Simon L f889007ff2 try to fix the popovermenu
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-29 12:37:53 +07:00
John Molakvoæ 064fa10ecf
Extract colour from custom background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +07:00
John Molakvoæ cedae7c6d7
Allow to remove the background and select a custom colour
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:22:13 +07:00
John Molakvoæ 14e0299582
Fix user settings layout
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-23 10:47:38 +07:00
John Molakvoæ e6b7fa6cae
Fix logo invert
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-16 09:46:20 +07:00
John Molakvoæ 9cc2f25072
Update @nextcloud/dialogs@ and fix toasts styling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-02 16:31:52 +07:00
Christopher Ng 58abed2059 Invert header icons on bright preset backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-19 19:12:56 +07:00
John Molakvoæ d89da9b898
Simplify variable names
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:59:16 +07:00
John Molakvoæ ef760e0337
Add admin user customization kill switch
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:35 +07:00
John Molakvoæ 2d98cd1daf
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +07:00
Joas Schilling de6c6829bc
Fix avatar menu icons in darkmode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 10:11:09 +07:00
Julius Härtl 0c6c535f50
Fix positioning of the public page footer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-03 12:33:45 +07:00
nextcloud-command e7bd935d64 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-29 16:07:47 +07:00
John Molakvoæ (skjnldsv) 75bcf9bd2a Remove unwanted settings button background
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-28 21:52:21 +07:00
Christopher Ng 295d03869e Fix various theming bugs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-28 17:12:56 +07:00
nextcloud-command bcddb6fb94 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-15 16:59:51 +07:00
Vincent Petry 4f244e95aa
Merge pull request #34065 from nextcloud/bug/noid/main-scrollbar
Fix scrollbar apperance
2022-09-15 14:04:34 +07:00
dartcafe 63d51569fe
server.scss 2022-09-15 08:25:10 +07:00
nextcloud-command 4ae7704699 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-14 13:12:01 +07:00
nextcloud-command 335964dc15 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-13 13:19:54 +07:00
nextcloud-command 203d783c17 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-12 16:07:31 +07:00
Carl Schwan b155adbb51
Fix setting menu height
- Increase max height to match page height
- Move settings 8px from the right instead of 5px to match other top
  menus
- Handle overflow of the content correctly

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:36:19 +07:00
szaimen 7801550d33 fix files_external settings
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-09 08:44:08 +07:00
Carl Schwan af30e7ff5b
Port css to scss
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 18:24:38 +07:00
Jan C. Borchardt 43616a7b1f
Remove separation borders from contacts menu entries
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:29 +07:00
Jan C. Borchardt b0392f4a5c
Contacts menu height adjustment so it shows 4.5 entries
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:29 +07:00
Jan C. Borchardt 1ade91a551
Contacts menu mail addresses in maxcontrast
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:28 +07:00
Carl Schwan 58706dd5aa
Merge pull request #33937 from nextcloud/fix/menuitem-radius
Fix menuitem border radius
2022-09-08 14:02:37 +07:00
Carl Schwan ebd96490a5
Fix menuitem border radius
Fix #33909

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 10:25:20 +07:00
szaimen 6579b6c3c8 improve app settings design
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-06 17:27:32 +07:00
Carl Schwan daad19828c
Update header menu style
Make it consistent with nextcloud-vue

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-06 10:15:08 +07:00
Julius Härtl b6a6802857
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +07:00
Julius Härtl d6bd98d3c5
Bump bundled files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +07:00
nextcloud-command bff4c86154 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-31 08:34:06 +07:00
Carl Schwan f1ce2c2b93
Fix rebasing issues and improve profile settings page a bit more
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:51:10 +07:00
Carl Schwan 1d35a53991
More dark theme fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +07:00
Carl Schwan 2f30d3227f
Various fixes
- Fix user status dialog
  - Add label where missing
  - Move emoji picker inside input field (similar to talk)
  - Fix selecting an emoji
- Fix multiselect
- Fix button with confirmation action
- Fix some other unrelated dark theme issues
- Fix select2 focus
- Run npm lint:fix

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +07:00
Carl Schwan f630bd27f7
Adapt to new Nextcloud vue style
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +07:00
Carl Schwan 68ed1af3c0
Fix accessibility of input fields
Input fields require a 44x44 pixels target size, this makes all the
input fields and button use that size.

Bonus is that now the input fields and buttons now have the same size as
the new vue button and this looks less weird than the previous state
with controls of different sizes.

See https://www.w3.org/WAI/WCAG21/Understanding/target-size.html

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +07:00
Joas Schilling 80402f025d
Do not overwrite the focus-visible of vue apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-10 13:03:28 +07:00
Joas Schilling f41edf26bd
Fix "More" app icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-05 11:53:50 +07:00
Carl Schwan 253118298d Redesign guest pages for better accessibility
- Use white box and put content on it
- Improve focus indicator

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:21 +07:00
Vincent Petry 8e1240add8
Bump nextcloud-dialogs from 3.1.2 to 3.1.4
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 23:32:07 +07:00
Vincent Petry 255d22fa71 Remove obsolete notification container
The future is TOAST 🍞

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 13:54:24 +07:00
Vincent Petry bb2557c389
Replace files app ids to classes
Replaced ids to classes for the following:

- #filestable -> .files-filestable
- #fileList -> .files-fileList
- #controls -> .files-controls
- #emptycontent -> .emptyfilelist.emptycontent

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26 10:19:19 +07:00
Julius Härtl d98f512007
Make sure app menu text opacity matches the icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-25 08:49:46 +07:00
Julius Härtl e165564607
Add legacy popover focus outline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-20 08:43:03 +07:00
Julius Härtl 9e0d6f5608
Use hover css variable for primary buttons and add proper focus outline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-18 18:24:26 +07:00
Julius Härtl 87320cba99
Fix styling for single skip buttons globally
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-16 10:17:15 +07:00
Joas Schilling df74c7a337
Fix settings icon color
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-13 12:09:36 +07:00
Christopher Ng 0b0ef105c5 Use button for grid view toggle instead of hidden checkbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:09:57 +07:00
Christopher Ng fc56c0eb91 Fix focus styling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:06:53 +07:00
Christopher Ng c1054ea5eb Augment keyboard accessibility of contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-07 16:57:13 +07:00
Louis Chemineau dfd98fab12 Prevent button in notifications to be impacted by css rule
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-02 18:34:19 +07:00
Carl Schwan c1499519d4 Improve accessibility with more visible focus indication for non vue apps
- Add visible-focus effect on each header entry
- Show focus outline when using focus-visible (keyboard navigation)
- Add polyfy for focus-visible since it's only very recently available
  on webkit
- Change text for link to home button to describe the destination and
  not the current page
- Improve focus effect in app sidebar navigation

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 13:21:48 +07:00
John Molakvoæ 264adf0c3b
Fix profile and add gradient-primary-background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +07:00
John Molakvoæ 73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +07:00