CSS new style help

Next
 From:  Moi3dFan
11149.1 
Hi! I downloaded this mod and want to change it.

I can't find where the settings for this panel are changed in CSS and what it's called.
I'd like to lower this menu by 20px, then make it transparent, and blur it.

Give me a hint on how to do it.



  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11149.2 In reply to 11149.1 
Hi Moi3dFan,

re:
> I can't find where the settings for this panel are changed in CSS and what it's called.

There isn't any way for me to tell what the file for that flyout menu is named just by looking at a screenshot.

My guess is that it is probably named something similar to CirclesMenu.htm, look for something like that, or look inside SidePane.htm and see what the menu="" attribute is for the <moi:CommandMenuButton> element for the launching button.


> I'd like to lower this menu by 20px, then make it transparent, and blur it.

There isn't any way to make a menu window do these particular things. Maybe there is some kind of padding or line break in the menu that is adding some extra empty space at the bottom though, try removing any stuff like that.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Moi3dFan
11149.3 In reply to 11149.2 
I am generally interested in the name of this container that appears on the menu button to find its properties.
After that, I think that I can already modify it.

And I would like to understand the name of this rectangular area where the white arrow is located, in order to make it not on top of the button, but along the bottom edge



  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11149.4 In reply to 11149.3 
Hi Moi3dFan,

re:
> I am generally interested in the name of this container that appears on the menu button to find its properties.

The menu button should be a <moI:CommandMenuButtton> element with a menu="" attribute which would contain the name of the .htm file for the menu.


> And I would like to understand the name of this rectangular area where the white arrow is located, in order
> to make it not on top of the button, but along the bottom edge

That's called a menu launcher, it's a little window that is shown by a <moi:CommandMenuButton> when the mouse moves over the button.

There isn't currently any way to make it launch downwards except they will go downwards if they are inside a UIPanel where the UIPanel has dock="top".

But instead of using a <moi:CommandMenuButton> you could instead use your own custom made button that would show the menu by calling:

moi.ui.showMenu( Url, ParentElement LaunchSide, LaunchDir );

LaunchSide is 0 to 3, LaunchDir is 0 or 1.
LaunchSide 0 = use top connector, LaunchDir = 0 expand to right, LaunchDir = 1 expand to left.
LaunchSide 1 = use left connector, LaunchDir = 0 expand down, LaunchDir = 1 expand up.
LaunchSide 2 = use bottom connector, LaunchDir = 0 expand right, LaunchDir = 1 expand left.
LaunchSide 3 = use right connector, LaunchDir = 0 expand down, LaunchDir = 1 expand up.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Moi3dFan
11149.5 In reply to 11149.4 
re:
> moi.ui.showMenu( Url, ParentElement LaunchSide, LaunchDir );

What is ParentElement?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
11149.6 In reply to 11149.5 
Hi Moi3dFan,

re:
> What is ParentElement?

It's the HTML Element that was clicked on to launch the menu, the menu will position itself next to the element.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All