mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
#46613 - classic skin polish. fixed disabled buttons and menubuttons looking enabled during :hover and :active
This commit is contained in:
parent
ba38155bb1
commit
4c99aed8c0
@ -39,6 +39,12 @@
|
||||
color : graytext;
|
||||
}
|
||||
|
||||
.button-toolbar-1[disabled="true"]:hover:active > .button-internal-box,
|
||||
.button-toolbar-2[disabled="true"]:hover:active > .button-internal-box
|
||||
{
|
||||
color : graytext;
|
||||
}
|
||||
|
||||
.button-toolbar-1:hover > .button-internal-box,
|
||||
.button-toolbar-2:hover > .button-internal-box
|
||||
{
|
||||
|
@ -71,6 +71,12 @@
|
||||
border : 1px solid transparent;
|
||||
}
|
||||
|
||||
.menubutton-dual.toolbar[disabled="true"]:hover > .menubutton-dual-ex-button,
|
||||
.menubutton-dual.toolbar[disabled="true"][buttonover="true"] > .menubutton-dual-ex-button
|
||||
{
|
||||
border : 1px solid transparent;
|
||||
}
|
||||
|
||||
/* 3) dropmarker gets outset border */
|
||||
.menubutton-dual.toolbar[buttonover="true"] > .menubutton-dual-dropmarker-box
|
||||
{
|
||||
@ -116,6 +122,7 @@
|
||||
.menubutton-dual.toolbar[buttondown="true"][disabled="true"] > .menubutton-dual-dropmarker-box
|
||||
{
|
||||
border : 1px solid transparent;
|
||||
padding : 0px
|
||||
}
|
||||
|
||||
/* ACTION: mouse over the menu */
|
||||
@ -140,11 +147,6 @@
|
||||
border-bottom : 1px solid threedshadow;
|
||||
}
|
||||
|
||||
.menubutton-dual.toolbar[disabled="true"]:hover > .menubutton-dual-ex-button
|
||||
{
|
||||
border : 1px solid transparent;
|
||||
}
|
||||
|
||||
/* 3). dropmarker gets outset border */
|
||||
.menubutton-dual.toolbar:hover > .menubutton-dual-dropmarker-box
|
||||
{
|
||||
@ -186,8 +188,6 @@
|
||||
padding : 2px 0px 0px 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
.menubutton-dual.toolbar.top
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user