Commit graph

1612 commits

Author SHA1 Message Date
John Molakvoæ (skjnldsv)
ef41a55dc8
Cleanup 2
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:33 +02:00
John Molakvoæ (skjnldsv)
b0f7ad1508
Finally force the menu to be a first-child of app-navigation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:33 +02:00
John Molakvoæ (skjnldsv)
4a3efdc6df
Add inline style padding
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:33 +02:00
John Molakvoæ (skjnldsv)
82986bab1b
Cleanup
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:33 +02:00
John Molakvoæ (skjnldsv)
d0013b1480
merge animation into same prop
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:33 +02:00
John Molakvoæ (skjnldsv)
76f055d7d3
Delete and edit animation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:32 +02:00
John Molakvoæ (skjnldsv)
da232d4ce7
Fix editable entry design and flex
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:32 +02:00
John Molakvoæ (skjnldsv)
04929640ac
Removed animation breaking things and open submenu which arent .collapsible by default
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:32 +02:00
John Molakvoæ (skjnldsv)
adffaff081
Fix typo
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:32 +02:00
John Molakvoæ (skjnldsv)
6978420010
Organize app-navigation menu types
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:32 +02:00
John Molakvoæ (skjnldsv)
4e245ae709
Animate hide/show collapsible menus
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:32 +02:00
John Molakvoæ (skjnldsv)
f5ae444330
Fixed collapsible and Folders
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:32 +02:00
John Molakvoæ (skjnldsv)
37d331014b
Fix app navigation positionning
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:32 +02:00
John Molakvoæ (skjnldsv)
fb968a3ea2
Fix counter inside link and highlight submenu as well
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:31 +02:00
John Molakvoæ (skjnldsv)
a93bbae2b6
Second menu padding and ellipsis fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:31 +02:00
John Molakvoæ (skjnldsv)
0a67e0e2a8
Navigation flex magic
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:31 +02:00
John Molakvoæ (skjnldsv)
d85781d5f4
Allow counter inside a to be clickable
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:31 +02:00
John Molakvoæ (skjnldsv)
4d2a7fe32e
Icon auto-padding fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:31 +02:00
John Molakvoæ (skjnldsv)
f11b36de93
Removed unused old vars and reorganize
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:31 +02:00
John Molakvoæ (skjnldsv)
d9770a1f56
Simplification and reorganisation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-21 14:00:30 +02:00
Thomas Citharel
33f0601862 [WIP] Added copy and move buttons
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2017-09-15 16:53:10 +02:00
John Molakvoæ (skjnldsv)
4e909115be
Fix loading icon size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-14 11:07:51 +02:00
John Molakvoæ (skjnldsv)
d50934fa54
Fix hovering on all popover types
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-09-08 16:33:39 +02:00
Morris Jobke
17d980cb9c Revert "Fix active entry highlight in certain apps" 2017-09-07 09:35:44 +02:00
Jan-Christoph Borchardt
55f67ff7e7 Fix active entry highlight in certain apps
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-09-07 02:45:12 +02:00
Morris Jobke
f5aea79bd7
Fix layout of alternative login buttons
* fixes #6367

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-09-06 10:21:11 +02:00
Julius Härtl
da5662c454
Use separate element color in theming
This way we can use a grey color when the primary color is to bright

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-09-04 14:30:46 +02:00
Morris Jobke
92a440a0b5
Fix font color
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-09-03 18:32:44 +02:00
Julius Härtl
99404fe5cd
Remove unnecessary files for jquery-ui-fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-09-03 15:34:04 +02:00
Julius Härtl
2fdc51ffdf
Use SCSS for jquery-ui-fixes
- Move to SCSS so we use theming color values
- Apply tab style from files sidebar to ui-tabs (e.g. in user_ldap)
- Move select style to the jquery-ui-fixes file and make those only apply to ui-autocomplete elements

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-09-02 15:50:51 +02:00
Morris Jobke
4edb261805 Merge pull request #6303 from nextcloud/background-image
Adjust background image to the one used on the website
2017-08-29 19:09:54 +02:00
Jan-Christoph Borchardt
2e6d1a3453 Set primary action button color to same as theming color
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-29 16:05:18 +02:00
Jan-Christoph Borchardt
badbab81ea Update background image to the one used on the website
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-29 16:04:11 +02:00
Morris Jobke
7d8b7d4e4e Merge pull request #4925 from nextcloud/error-styling
Improve design and wording of various error messages
2017-08-29 12:03:16 +02:00
Jan-Christoph Borchardt
cd1e384b14 Add standard border-radius to datepicker
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-25 14:08:29 +02:00
Jan-Christoph Borchardt
d35e54074b Increase contrast of dropdown menu text, fix accessibility & visibility issues
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-21 12:06:24 +02:00
Morris Jobke
995ddc61d1 Add buttom border for header
* allows to distinct the header from the rest of the UI for bright colors
* ref #5654

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-14 09:40:55 +02:00
Jan-Christoph Borchardt
9f67fb86c8 Improve design of various error messages
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-12 18:48:48 +02:00
Morris Jobke
d7645ee928 Merge pull request #5972 from nextcloud/replace-loading-icon-gif-with-pure-css-in-login-button
Replace loading icon GIF with pure CSS in login button
2017-08-08 14:40:35 +02:00
Daniel Calviño Sánchez
92d28fdc68 Ignore clicks on login button icon so they are received by the button
Visually, the icon positioned on the login button is part of the login
button, so clicking on the icon should be the same as clicking on the
button. As the icon is a different element this commit sets the icon to
ignore mouse events so they are received and handled by the login button
instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-08-07 14:28:04 +02:00
Daniel Calviño Sánchez
b237379fa1 Replace loading icon GIF with pure CSS loading icon
The pure CSS loading icon uses an ::after pseudo-element, and thus it
can only be used on container elements; the input element is not a
container element, so when the class "icon-loading-small" is set on an
input element it falls back to a loading icon GIF.

This commit modifies the markup of the login button to add a div element
that holds the confirm icon and the loading icon (depending on the
case). In order to position the icon in the same place as before the
input and the icon are both wrapped by another div making possible to
set the absolute position of the icon relative to the input.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-08-03 21:09:43 +02:00
Joas Schilling
9abbd6ab13 Revert "Proof of concept #5593 - inline SVG icon for icon-contacts" 2017-08-03 17:27:24 +02:00
Marin Treselj
ffcdc96a0b Proof of concept #5593 - inline SVG icon for icon-contacts
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-08-02 18:27:24 +02:00
Morris Jobke
6ca4b9eee9 Merge pull request #5920 from nextcloud/gallery-share-view-fix
Top bar buttons in share view are wrong positioned
2017-08-02 16:59:24 +02:00
Marin Treselj
717a44f161 Make sure this still works in other apps.
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-08-02 15:57:53 +02:00
Marin Treselj
086ce709f7 Fixes nextcloud/gallery#269
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-28 14:44:29 +02:00
Morris Jobke
2bc924af96 Add css class for toogle preview icon
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-27 17:13:12 +02:00
Marin Treselj
25d29f06bc
Fix font-weight for datepicker title.
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-23 14:06:06 +02:00
Marin Treselj
d138324eef
Make weekday names brighter, lighter month/year title.
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-23 14:06:06 +02:00
Marin Treselj
0ba8903aad
Make dates slightly larger and perfectly rounded.
SCSS cleanup, fix fringe cases, add margin between dates, un-bold title.

Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-23 14:06:05 +02:00
Marin Treselj
b26d133e28
Remove deprecation
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-23 14:06:05 +02:00
Marin Treselj
db6619fcf4
Add padding to popover
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-23 14:06:05 +02:00
Marin Treselj
82a52a8f17
Fixes issues mentioned in comments.
- [x] Highlight for selected date should be bold text.
- [x] Hover highlight for day should be the same as for the selected date.
- [x] Remove hover effect on the week.
- [x] Row for days of the week should indeed stay, but non-bold and at 50% opacity so it doesn't take away the focus.
- [x] Dates of previous and next months a bit lighter.
- [x] Remove marking the weekend blue.
- [x] The box centered below the date field, with triangle in the middle.

Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-23 14:06:05 +02:00
Marin Treselj
586eb3ed0a
Redesign jQuery UI datepicker
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-23 14:06:04 +02:00
Marin Treselj
d78b281a71 Long app names will have ellipsis in the app menu popover.
Fixes #5021

Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-14 13:23:07 +02:00
Maxence Lange
6d5f7fd456 warning is now selecteable
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
2017-07-08 21:29:10 +02:00
Marin Treselj
02dd7f5965
Revert background-size as requested, issue will be fixed separately
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
2017-07-02 14:15:09 +02:00
Marin Treselj
3470d0a44e
Simplified Nextcloud logo icon
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-02 14:14:49 +02:00
Jan-Christoph Borchardt
fd63577089 Improve wording of various error messages
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-06-21 14:51:59 -05:00
Marin Treselj
d3d0ce8df3
Add CSS class for icon-calendar
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-06-17 12:27:05 +02:00
Artem Anufrij
cf83729873 Fix height for horizontal scrollbar
Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
2017-06-08 19:27:32 +02:00
Morris Jobke
3636672fa5 Fixes visible sidebar even if hidden is applied
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-19 13:03:54 -05:00
Bjoern Schiessle
baa8490f44
add some spacing between the logo and the content of the page
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-05-18 20:49:06 +02:00
Lukas Reschke
7d818d91f6 Merge pull request #4924 from nextcloud/shadow-style
Unify box-shadow style, remove filter
2017-05-17 18:21:01 +02:00
Jan-Christoph Borchardt
35bd469aa0 Unify box-shadow style, remove filter
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-05-16 21:08:44 +02:00
Roeland Jago Douma
fd74428cdb Merge pull request #4865 from nextcloud/improve-two-factor-buttons
Improve layout of buttons for two factor auth
2017-05-16 13:11:55 +02:00
Jan-Christoph Borchardt
d23a7e2560 Fix contacts menu overflow for few entries, fix #4744
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-05-16 01:08:49 +02:00
Morris Jobke
30443ac177 Improve layout of buttons for two factor auth
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-15 11:45:15 -05:00
Lukas Reschke
8e7cff2eac Merge pull request #4805 from nextcloud/enforce-upgrade-for-big-instances
Allow to enforce update via web UI
2017-05-15 14:28:28 +02:00
Morris Jobke
ba57cf85a6 Bold link in footer on login page
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-14 22:26:10 -05:00
Morris Jobke
3fa604cc5e Allow to enforce update via web UI
* adds a disclaimer that an update via web UI is on own risk
* allows to skip the warning
* fixes #4353

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-11 10:22:44 -05:00
Joas Schilling
d84a6ec3f3 Merge pull request #4771 from nextcloud/error-page-logo-css
use the same logo css for the error page as the login page
2017-05-10 12:10:38 +02:00
Robin Appelman
694c9ad49c
use the same logo css for the error page as the login page
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-05-09 18:14:33 +02:00
Robin Appelman
02f3b74409
fix sizing of logo in header
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-05-08 15:08:30 +02:00
Lukas Reschke
fecf72fb70 Merge pull request #4632 from nextcloud/login-logo-ratio
show non landscape logos bigger on the login page
2017-05-08 12:11:15 +02:00
Christoph Wurst
fb3ac32915 Merge pull request #4694 from nextcloud/fix_4676
Load proper fonts in guest.css
2017-05-04 17:21:07 +02:00
Roeland Jago Douma
1a8befa447
Load proper fonts in guest.css
Fixes #4676

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-05-04 13:42:58 +02:00
Felix A. Epp
6f2cc42885 Add radio class to read/write sharing options and 1px left adjustment
Signed-off-by: Felix A. Epp <work@felixepp.de>
2017-05-04 01:34:29 +02:00
Robin Appelman
c50b7addc7
smaller max logo sizes and cleaner code
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-05-02 13:01:11 -03:00
Robin Appelman
fa52f906e3
show non landscape icons bigger on the login page
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-05-01 19:05:21 +02:00
Lukas Reschke
0329adbc61 Merge pull request #4599 from nextcloud/contactsmenu-mobile
Define max-width for Contacts menu for mobile
2017-05-01 18:05:52 +02:00
Morris Jobke
55da62a29c
Make tooltip intransparent
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-29 10:44:38 -03:00
Morris Jobke
9af26d1db5 Merge pull request #4597 from nextcloud/tooltips-invert
Invert tooltip color to white, fix #4563
2017-04-29 10:43:33 -03:00
Jan-Christoph Borchardt
bc36446455 Define max-width for Contacts menu for mobile
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-04-29 13:55:57 +02:00
Jan-Christoph Borchardt
41b67e3d17 Invert tooltip color to white, fix #4563
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-04-29 13:19:17 +02:00
Julius Härtl
d13e311aaf
Invert new header icons on bright theming colors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-04-28 15:53:33 -03:00
Morris Jobke
313c971bd5 Merge pull request #4529 from nextcloud/fix-filelist-checkboxes
Fix filelist and checkbox vertical align
2017-04-26 16:52:46 -03:00
Jan-Christoph Borchardt
d17258d4b9 Fix filelist and checkbox vertical align
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-04-26 16:47:04 +02:00
Georg Ehrke
399f08bd33
add contactsmenu popover to resharer infobox
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2017-04-26 09:28:14 +02:00
Georg Ehrke
60f9ed6241
add contactsmenu popover
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2017-04-26 09:26:53 +02:00
Jan-Christoph Borchardt
241e397326 Merge branch 'master' into contactsmenu
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-04-26 00:50:38 +02:00
Jan-Christoph Borchardt
4ae5340814 Fix spinner position of Contacts menu
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-04-25 20:47:18 +02:00
Christoph Wurst
d091793ceb Contacts menu
* load list of contacts from the server
* show last message of each contact

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-04-25 20:47:17 +02:00
Jan-Christoph Borchardt
61af3f41f0
Fix auth flow background color and redirect view layout
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-04-25 20:18:49 +02:00
Lukas Reschke
6a16df7288
Add new auth flow
This implements the basics for the new app-password based authentication flow for our clients.
The current implementation tries to keep it as simple as possible and works the following way:

1. Unauthenticated client opens `/index.php/login/flow`
2. User will be asked whether they want to grant access to the client
3. If accepted the user has the chance to do so using existing App Token or automatically generate an app password.

If the user chooses to use an existing app token then that one will simply be redirected to the `nc://` protocol handler.
While we can improve on that in the future, I think keeping this smaller at the moment has its advantages. Also, in the
near future we have to think about an automatic migration endpoint so there's that anyways :-)

If the user chooses to use the regular login the following happens:

1. A session state token is written to the session
2. User is redirected to the login page
3. If successfully authenticated they will be redirected to a page redirecting to the POST controller
4. The POST controller will check if the CSRF token as well as the state token is correct, if yes the user will be redirected to the `nc://` protocol handler.

This approach is quite simple but also allows to be extended in the future. One could for example allow external websites to consume this authentication endpoint as well.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-25 20:18:49 +02:00
Julius Härtl
27b19aaba1
Fix loading spinner for new app menu
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-04-25 17:31:25 +02:00
Julius Härtl
7548825743
Responsive app menu
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-04-25 17:31:24 +02:00
Morris Jobke
01c9d00e1d Merge pull request #4387 from nextcloud/fix-little-glitch
Fix font-weight of settings button
2017-04-19 14:45:48 -05:00
Morris Jobke
a55f5c0173 Merge pull request #4388 from nextcloud/remove-unused-stuff
Remove unused CSS styles
2017-04-19 14:45:32 -05:00
Morris Jobke
4be923e459
Improve menu CSS
* fix mess with menus and actions in the files app
* reduces amount of !important usages
* keeps the behaviour on mobile as well as on desktop

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-19 12:42:23 -05:00