Commit Graph

2527 Commits (feat/database/query-result-fetch-associative-fetch-num)

Author SHA1 Message Date
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æ 61446933e0
Fix failed revert for #35071
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 14:21:11 +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
Julius Härtl d8ff113550
build(guests): update bundled css files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-22 10:48:41 +07:00
Julius Härtl 6ce89e1fac
style(guests): move plain css to scss
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-22 10:48:41 +07:00
Julius Härtl 6a82e6528c
style(guests): Rename guest.css to scss
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-22 10:48:21 +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 4a2bbc7af9 Rewrite admin theming in Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:18:47 +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
John Molakvoæ (skjnldsv) bd303388e3
Cleanup ie and old edge properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-19 10:02: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
Christopher Ng 7044191eb6 Use brand color for background only and keep accessible color as color primary
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-05 06:19:08 +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
szaimen 19fc735a53 fix public view - attempt 2
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-29 17:23:58 +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
Vincent Petry d358efc7f9 Fix install page
- Use normal labels instead of hiding them
- Fix position of the eye button (this is still very hacky)
- Define width on the box and not on the text fields

This really needs to be ported to vue

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-24 06:20:49 +07:00
Joas Schilling 205b0c4e24
Remove last occurance of "color-primary-element-lighter"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 16:33:55 +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
Rello 5b421e6de2
overview:hidden cutting menu
'overview: hidden' is cutting the app-navigation-entry-menu.
see https://user-images.githubusercontent.com/13385119/190428421-b6f08498-779e-4ee7-9518-7c6a68e890e4.png

Signed-off-by: Rello <Rello@users.noreply.github.com>
2022-09-15 17:03:03 +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
dartcafe 2fc1f4b954
scss and compile
Signed-off-by: dartcafe <github@dartcafe.de>
2022-09-15 08:16:44 +07:00
René Gieling 93d3ca32a1
Fix scrollbar apperance
fix #34064

Signed-off-by: René Gieling <github@dartcafe.de>
Signed-off-by: dartcafe <github@dartcafe.de>
2022-09-15 08:16:43 +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
szaimen 3ba89f43ff fix header menu appereance
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-14 14:56:05 +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
szaimen 10ad6e17f7 fix public view
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-13 15:00:25 +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
szaimen 7b66d5ddf7 fix strange-looking button
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 16:09:58 +07:00
Vincent Petry b9eef6f2ff
Merge pull request #33992 from nextcloud/setting-menu-fix-height
Fix setting menu height
2022-09-12 15:40:59 +07:00
Carl Schwan 91042226c6
Change default login background to cloud image
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 16:23:54 +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 36b2d3dc2a
Merge pull request #33781 from nextcloud/port/login-form/vue-password-components
Use new vue components in login form
2022-09-06 16:54:33 +07:00
Carl Schwan 43d1aa38df
More cleaning up of the login component
- Move css in scopped vue components
- Port to NcNoteCard all the warning messages

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-06 15:20:29 +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
Carl Schwan df40fc9172
Use new vue components in login form
- Improve accessibility
- Simply code

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-05 11:34:00 +07:00
Julius Härtl e514ad6b66
Bring back scrolling to guest body
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-02 08:34:51 +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
Julius Härtl 5d375647a5
Fix some styling issues with the new containers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +07:00
Julius Härtl b455b07390
Fix some minor styling issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +07:00
Julius Härtl 5c4ad4efe5
Give header menus a better maximum height for mobile
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +07:00
Julius Härtl 76033a12ce
Adjust server popover style
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +07:00
Julius Härtl d5c7a3aff4
Small top border radius on mobile
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +07:00
Julius Härtl e4113b1779
Adapt layout to new base css variables
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +07:00
Julius Härtl ff219a7cd8
Fix priority of mobile rules for files app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +07:00
Julius Härtl 0a1353f248
Fix indentation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +07:00
Julius Härtl aa847a7fce
Drop vue specific styles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:38 +07:00
Julius Härtl 0667890656
Use proper background image variable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:38 +07:00
Julius Härtl 68af318355
Temporary vue component styles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:38 +07:00
Julius Härtl 03b9047e95
More refactoring of app content areas
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:37 +07:00
Carl Schwan 2a4fd29c1a
Proof of concept: Redesign app-content
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-01 14:15:36 +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
Julius Härtl 5b4708c5be
Move app menu to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:03 +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
Julius Härtl 8b86a07a3f
Avoid side changes on web ui update
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-26 07:52:35 +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 3fa6ee3c60 Fix login flow
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 11:29:12 +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