mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1035541 - Convert Content pane dialogs to be in-content. r=MattN, mano
This commit is contained in:
parent
bb8c58a887
commit
ea7237931e
@ -17,15 +17,7 @@
|
||||
title="&fontsDialog.title;"
|
||||
dlgbuttons="accept,cancel,help"
|
||||
ondialoghelp="openPrefsHelp()"
|
||||
#ifdef XP_UNIX
|
||||
#ifdef XP_MACOSX
|
||||
style="width: &window.macWidth; !important;">
|
||||
#else
|
||||
style="width: &window.unixWidth; !important;">
|
||||
#endif
|
||||
#else
|
||||
style="width: &window.width; !important;">
|
||||
#endif
|
||||
style="">
|
||||
|
||||
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
||||
|
||||
|
@ -153,8 +153,7 @@ var gContentPane = {
|
||||
*/
|
||||
configureFonts: function ()
|
||||
{
|
||||
openDialog("chrome://browser/content/preferences/fonts.xul",
|
||||
"Browser:FontPreferences", null);
|
||||
gSubDialog.open("chrome://browser/content/preferences/fonts.xul");
|
||||
},
|
||||
|
||||
/**
|
||||
@ -182,8 +181,7 @@ var gContentPane = {
|
||||
*/
|
||||
showTranslationExceptions: function ()
|
||||
{
|
||||
openDialog("chrome://browser/content/preferences/translation.xul",
|
||||
"Browser:TranslationExceptions", null);
|
||||
gSubDialog.open("chrome://browser/content/preferences/translation.xul");
|
||||
},
|
||||
|
||||
openTranslationProviderAttribution: function ()
|
||||
|
@ -3,9 +3,6 @@
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<!ENTITY fontsDialog.title "Fonts">
|
||||
<!ENTITY window.width "39em">
|
||||
<!ENTITY window.macWidth "43em">
|
||||
<!ENTITY window.unixWidth "41em">
|
||||
|
||||
<!ENTITY language.label "Fonts for:">
|
||||
<!ENTITY language.accesskey "F">
|
||||
|
@ -126,6 +126,7 @@ tab[selected] {
|
||||
/* buttons and menulists */
|
||||
|
||||
button,
|
||||
colorpicker[type="button"],
|
||||
menulist {
|
||||
-moz-appearance: none;
|
||||
height: 30px;
|
||||
@ -142,20 +143,28 @@ menulist {
|
||||
}
|
||||
|
||||
button:not([disabled="true"]):hover,
|
||||
colorpicker[type="button"]:not([disabled="true"]):hover,
|
||||
menulist:not([disabled="true"]):hover {
|
||||
background-color: #EBEBEB;
|
||||
}
|
||||
|
||||
button:not([disabled="true"]):hover:active,
|
||||
colorpicker[type="button"]:not([disabled="true"]):hover:active,
|
||||
menulist[open="true"]:not([disabled="true"]) {
|
||||
background-color: #DADADA;
|
||||
}
|
||||
|
||||
button[disabled="true"],
|
||||
colorpicker[type="button"][disabled="true"],
|
||||
menulist[disabled="true"] {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
colorpicker[type="button"] {
|
||||
padding: 6px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
button > .button-box,
|
||||
menulist > .menulist-label-box {
|
||||
padding-right: 10px !important;
|
||||
@ -893,6 +902,11 @@ tree:not(#rejectsTree) {
|
||||
min-height: 15em;
|
||||
}
|
||||
|
||||
:-moz-any(dialog, window, prefwindow) groupbox {
|
||||
-moz-margin-start: 8px;
|
||||
-moz-margin-end: 8px;
|
||||
}
|
||||
|
||||
/**
|
||||
* End sub-dialog
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user