aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts
Commit message (Collapse)AuthorAgeFilesLines
* Migrate client to eslintChocobozzz2021-08-181-1/+1
|
* small refactor + clipboard copy on anchor click in instance page (#3318)Kimsible2020-11-171-5/+2
| | | | | | | | | | | | | * Refacto scrollTo top and anchors * Add on click clipboard copy and notifier to anchors about/instance page * Fix margin top anchor middle title about page * Use viewportscroller for scrolltoanchor * Add to Link copied notification on instance page Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Add restore scroll position on user-dropdown anchors links and scroll to top ↵Kim2020-08-171-0/+10
| | | | | | | | | | | | | | | | | | | on active sub-menu links (#3066) * Add restore scroll position on router same url * Remove settings top anchor * Add scrollToTop on active links fixed sub-menu * Add restore scroll position on notification avatar links * Toggle menu and close pophover when click on active dropdown menu-left link * Add onSameUrlRestoreScrollPosition on user dropdown channels link * Same behavior scrollTop and scroll to anchor everywhere Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Refactor - improve offset content handling with fixed sub-menu and ↵kimsible2020-08-111-0/+4
| | | | broadcast-message
* Correctly fix sub menuChocobozzz2020-08-101-1/+1
|
* Add alert and hide upload view when no upload is possible (#2966)Kim2020-07-281-1/+9
| | | | | | | | | | | | | | | | | | | | | | * Add alert and hide upload view when no upload is possible * Add about instance link to alert * Hide videos and imports links when no upload is possible * Correct curly spacing lint * Put logic canUpload to User model + add isHidden param to to-menu-dropdown * Use canSeeVideoLinks from user model * Rename and change logic canUpload to isUploadDisabled * Use isDisplayed() method intead of isHidden value * Refactor client and check videos count using quota Co-authored-by: kimsible <kimsible@users.noreply.github.com> Co-authored-by: Chocobozzz <me@florianbigard.com>
* Improve navigation sub-menu and tabs effects (#2971)Kim2020-07-231-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve nav border and colors on active and non-active * Remove margin-top effect on active nav * Use opacity / bold instead of color change on nav * Remove dropdown items label in sub-menu and add a class active * Position sub-menu to fixed * Autoclose dropdown sub-menu only on outside click * Remove open dropdown on hover in sub-menu * Show reusable h1 for dropdown item in sub-menu * Put reusable sub-menu h1 styles to mixins * Add icons to sub-menu dropdown-item h1 * Make all the sub-menu accessible with focus Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* simplify navigation within most admin menusRigel Kent2020-07-021-0/+131