Latest topics
» [HELP] About Profile Cover Code
by MaHwOs Yesterday at 18:54

» bloquer un membre
by berlingo Fri 17 Nov 2017, 18:19

» IconSkouliki Graphics
by skouliki Fri 17 Nov 2017, 03:54

» [IN PROGRESS] Can this code work on pun version
by skouliki Thu 16 Nov 2017, 03:50

» Auto-suggest @mentions as You Type
by skouliki Wed 15 Nov 2017, 14:56

» [TUTORIAL] [ALL VERSIONS] Warning before posting
by demon99 Wed 15 Nov 2017, 08:12

» About Add Reply & New Topic button (popup form)
by omarpop23 Mon 13 Nov 2017, 20:31

» Hello everyone this is Adam from France
by Adam Mon 13 Nov 2017, 13:32

» Add a login popup for the toolbar
by Ape Sun 12 Nov 2017, 18:41

» Post a message automatically when locking a topic
by ThunderTB Sun 12 Nov 2017, 13:51

» Control pannel issue
by Ange Tuteur Sun 12 Nov 2017, 09:49

» BUG... forum members birthday's
by Ape Sat 11 Nov 2017, 11:44

» Display a Preview of Groups on Hover
by ThunderTB Fri 10 Nov 2017, 21:56

» Search box only visible on hover
by Ange Tuteur Mon 06 Nov 2017, 09:57

» [GAME] Animal Game
by SLGray Sun 05 Nov 2017, 15:04

Recent Tutorials
Who is online?
In total there are 7 users online :: 0 Registered, 0 Hidden and 7 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Smooth Toolbar Dropdown Transition

View previous topic View next topic Go down

avatar
Ace 1
Valued Member
Title :

Beta Tester
Gender : Unspecified
Age : 18
Posts : 2151
Points : 2950
Reputation : 88
Location : USA
Language : English ?
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://fmdesign.forumotion.com/u190

PostAce 1 on Tue 27 Dec 2016, 00:50

The right side of the toolbar has two dropdowns titled "Welcome Guest" and "Notifications" which display user information and recent notifications, respectively, when clicked.

To make these dropdowns smoothly appear, just go to Display > Colors > CSS Stylesheet and add this:

Code:
#fa_toolbar #fa_right a[id] + ul#fa_menulist, #fa_toolbar #fa_right a[id] + ul#notif_list {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s cubic-bezier(0, 1.05, 0, 1), border 0.5s ease;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    margin-top: 0 !important;
}

#fa_toolbar #fa_right[class*="welcome"] a[id] + ul#fa_menulist, #fa_toolbar #fa_right[class*="notif"] a[id] + ul#notif_list {
    max-height: 2500px;
    transition: max-height 1s ease-in, border 0.5s ease;
    border-top-width: 1px !important;
    border-bottom-width: 1px !important;
}

Just something I was fooling around with. Hope you guys enjoy it Rose
avatar
Guest
Guest
View all awards

PostGuest on Tue 27 Dec 2016, 10:42

@Ace 1: Yes, I enjoyed that, thank you, but looking at this request:

http://fmdesign.forumotion.com/t1180-edge-styling-fade-out-the-widget-menu-when-it-s-not-hovered-over#28152

do you think you could you come up with something similar JS for the FM toolbar in combination with the CSS you just gave us (and have it tested yourself first lol)? I think Ange's script will need just a few changes to make it work with the Notifications and Welcome Guest menus in the bar. Thanks Wink

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum