зеркало из https://github.com/mozilla/pjs.git
#46613 - classic skin polish. fixed disabled buttons and menubuttons looking enabled during :hover and :active
This commit is contained in:
Родитель
107f41767a
Коммит
d55b49e671
|
@ -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
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче