Migrate away from jQuery and Snap.js for the navigation.
This is required to finally drop both dependencies.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
- replace renamed `word-wrap` with new name `overflow-wrap` (CSS3)
- use extensions for `@use`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
The `security_password` was last used in the personal setting security
section, but already migrated to vue.
So it can be safely removed.
The styles can also be removed by moving the required ones directly to
the Vue component.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1. Remove unused legacy parts (no code match in the whole github
organization).
2. Consolidate `OC.Settings` in `core/src/OC` for consistency.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Even if the rule is `background-color` in reality it is the color of the
icon thus needs the text color.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
- global color functions are now deprecated - use color namespace
- `@import` is deprecated and will be removed (will be native CSS import
in future)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Fix other background-positions
Minor fix in link button icon position
Update header left and right to start and end
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* Replace popover menu with `NcActions`
* Deduplicate user actions code between `UserRow` and `UserRowSimple`
* Fix user action to cover whole row heigh to prevent dropdown from shining through the actions
* Fix user action popover to be overlayed by current edited row actions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
The inputs of the sharing settings are generated in a template in the
server, but the listeners to react to changes in the elements and save
the values in the server are loaded in the client once the DOM finishes
loading. If the DOM takes long to load the user can start to interact
with the settings before the listeners were set up and, therefore, the
changes would not be saved in the server. However, as the inputs are
modified the user would think that the changes were already saved.
To address that now when the sharing settings are open a loading spinner
is shown instead of the contents of the sharing settings, and only once
the listeners to save the changes were set up the spinner is removed and
the contents shown.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
And refactor how the grid works (now it's automatically using the
correct size instead of harcoding it)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
- Make it possible to add the new property whiout chaning foundamentally
how the layout work each time
- Use only one grid instead of multiple nested grid
- Better mobile reponsiveness
Signed-off-by: Carl Schwan <carl@carlschwan.eu>