GithubHelp home page GithubHelp logo

Comments (2)

msxfm avatar msxfm commented on August 16, 2024

Comment by jsamuel
Thursday Dec 22, 2011 at 18:46 GMT


imported trac comment
created: 2011-02-20 16:00:42
author: eibwen

Actually, the "dropmarker" (the "arrow") should stay as it is generally used to indicate a submenu -- the button (the flag) nested in the toolbar button (includes both the flag and dropmarker) should be removed. Concur that the nested buttons is particularly confusing and unnecessary.

It really should be changed:
{{{
from type="menu-button" (menu toolbar button with nested button)
to type="menu" (menu toolbar button)
}}}

Note that while this should be trivial to implement, it appears that in addition to the type attribute change, there may be further XUL changes required, based on observations from changing the attribute using DOM Inspector on an existing window -- the dropmarker became vertically aligned with the flag on a horizontal toolbar, without resizing either element, thus extending the height of the whole toolbar.

from requestpolicy.

msxfm avatar msxfm commented on August 16, 2024

Comment by anubeon
Thursday Mar 15, 2012 at 12:16 GMT


I Have to say, I do rather despise dropmarkers on a purely aesthetic basis.

I of course realise that they are somewhat important for discoverability, and absolutely imperative for elements with both a button and a drop menu. However, for me they outlive their usefulness pretty quickly (except in the latter case) and I find myself compelled to rid my browser of them. Currently I achieve this with a simple stylish hack (see below), but I suspect that this will only work for menu-button elements (and not straight-up menu elements). If RequestPolicy does eventually move the toolbar button over to the straight-up menu element, will it be possible to hide the dropmarker ONLY with a similar stylish hack or will end users such as I need to replace the entire icon?

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

toolbarbutton:not([class*="tabs-alltabs-button"]) dropmarker {display: none !important;}
toolbarbutton:not([type="menu"]):hover dropmarker {display: none !important;}
toolbarbutton[type="menu"]:not([class*="bookmark-item"]) image {margin: 0px !important;}

Of course I'm sure this is a fringe concern, and I wouldn't want it to influence design/development decisions at all for that very reason. I'm just curious as to whether such a change (from menu-button to menu) would allow for removal of the dropmarker by those so inclined, and with a little nous and Stylish installed.

P.S.: Brilliant add-on. Thanks for putting the effort in! :-D

from requestpolicy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.