Added some user-focus styles following saari's focus checkins, r=saari. Fixed 17947, 17780, 16483, 16601 which were related to focus issues. Some New Skin adjustments (menu color and 15219), r=german

This commit is contained in:
hangas%netscape.com 1999-11-16 01:21:22 +00:00
Родитель aef9c79358
Коммит 344df71cb3
6 изменённых файлов: 16 добавлений и 6 удалений

Просмотреть файл

@ -45,6 +45,7 @@ box#CardViewBox {
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
background-color: #EEEEEE; background-color: #EEEEEE;
user-focus: ignore;
} }
box.cardviewgroup { box.cardviewgroup {

Просмотреть файл

@ -500,10 +500,7 @@ Rights Reserved.
<titledbutton id="button_forward" class="button28" align="top" value="&forwardButton.label;" onclick="MsgForwardMessage(event)"/> <titledbutton id="button_forward" class="button28" align="top" value="&forwardButton.label;" onclick="MsgForwardMessage(event)"/>
<toolbarseparator/> <toolbarseparator/>
<titledbutton id="button_next" class="other28" align="top" value="&nextButton.label;" onclick="MsgNextUnreadMessage()"/> <titledbutton id="button_next" class="other28" align="top" value="&nextButton.label;" onclick="MsgNextUnreadMessage()"/>
<!-- XXX need to change back to after focus starts working again. Workaround for Bug 18088 <titledbutton id="button_delete" class="other28" disabled="true" align="top" value="&deleteButton.label;" onclick="goDoCommand('button_delete')"/>
<titledbutton id="button_delete" class="other28" disabled="true" align="top" value="&deleteButton.label;" onclick="goDoCommand('button_delete')"/>
-->
<titledbutton id="button_delete" class="other28" disabled="true" align="top" value="&deleteButton.label;" onclick="MsgDeleteMessage(true)"/>
<titledbutton id="button_print" class="other28" align="top" value="&printButton.label;" onclick="Print()"/> <titledbutton id="button_print" class="other28" align="top" value="&printButton.label;" onclick="Print()"/>
<titledbutton id="button_stop" class="other28" align="top" value="&stopButton.label;" onclick="MsgStop();"/> <titledbutton id="button_stop" class="other28" align="top" value="&stopButton.label;" onclick="MsgStop();"/>
<spring flex="100%"/> <spring flex="100%"/>

Просмотреть файл

@ -37,7 +37,6 @@ titledbutton#reload-button {
margin: 0px; margin: 0px;
font: inherit; font: inherit;
border: none; border: none;
user-focus: normal;
} }
box#url-bar-box { box#url-bar-box {

Просмотреть файл

@ -380,6 +380,7 @@ titledbutton.toolbar[disabled="true"]:active {
box#status-bar { box#status-bar {
min-width: 1em; min-width: 1em;
background-color: #CCCCCC; background-color: #CCCCCC;
user-focus: ignore;
} }
titledbutton.status-bar { titledbutton.status-bar {
@ -430,6 +431,7 @@ grippy{
padding: 0px; padding: 0px;
background-color: #6699CC; background-color: #6699CC;
list-style-image: none; list-style-image: none;
cursor: pointer;
} }
grippy:hover{ grippy:hover{
@ -521,6 +523,10 @@ progressmeter {
/********* XP Menus ***********/ /********* XP Menus ***********/
menubar {
background-color: #EEEEEE;
}
menu { menu {
color: black; color: black;
} }
@ -539,7 +545,7 @@ menuitem[disabled="true"] {
/* XXX menupopups have to have a color explicitly specified. this is a bug */ /* XXX menupopups have to have a color explicitly specified. this is a bug */
menupopup, popup { menupopup, popup {
background-color: white; background-color: #EEEEEE;
border: 1px white outset; border: 1px white outset;
} }
@ -720,6 +726,10 @@ menu > .menu-right {
list-style-image: url("chrome://global/skin/menu-arrow.gif"); list-style-image: url("chrome://global/skin/menu-arrow.gif");
} }
menu[disabled="true"] > .menu-right {
list-style-image: url("chrome://global/skin/menu-arrow-disabled.gif");
}
menu[menuactive="true"] > .menu-right { menu[menuactive="true"] > .menu-right {
list-style-image: url("chrome://global/skin/menu-arrow-hover.gif"); list-style-image: url("chrome://global/skin/menu-arrow-hover.gif");
} }
@ -1337,6 +1347,7 @@ window html|input[type=password] {
window html|input { window html|input {
background-color: transparent; background-color: transparent;
color: black; color: black;
user-focus: normal;
} }
window html|input[type=radio] { window html|input[type=radio] {

Просмотреть файл

@ -24,6 +24,7 @@ toolbar#taskbar {
margin-top: 2px; margin-top: 2px;
min-height: 1em; min-height: 1em;
font-size: smaller; font-size: smaller;
user-focus: ignore;
} }
toolbar#taskbar titledbutton { toolbar#taskbar titledbutton {

Просмотреть файл

@ -71,6 +71,7 @@ toolbox {
toolbar, menubar { toolbar, menubar {
display:block; display:block;
user-focus: ignore;
} }
toolbar[collapsed="true"] { toolbar[collapsed="true"] {