From 17b8126ad94ff1d98e40d92695da4545045863f5 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 21 Mar 2010 23:00:06 +0100 Subject: [PATCH] update both themes for toolkit winstripe trunk changes up to 2010-03-19 --- EarlyBlue/global/menulist.css | 2 +- EarlyBlue/global/textbox.css | 2 + EarlyBlue/help/helpFileLayout.css | 2 +- EarlyBlue/mozapps/update/updates.css | 131 +++++++++----------------- LCARStrek/global/menulist.css | 2 +- LCARStrek/global/textbox.css | 2 + LCARStrek/help/helpFileLayout.css | 2 +- LCARStrek/mozapps/update/updates.css | 132 +++++++++------------------ 8 files changed, 92 insertions(+), 183 deletions(-) diff --git a/EarlyBlue/global/menulist.css b/EarlyBlue/global/menulist.css index 6ab46893..ebb8641e 100644 --- a/EarlyBlue/global/menulist.css +++ b/EarlyBlue/global/menulist.css @@ -134,7 +134,7 @@ html|*.menulist-editable-input { .menulist-compact > .menulist-label-box > .menulist-label { margin: 0 3px !important; - text-align: right; + text-align: end; } .menulist-compact > .menulist-label-box > .menulist-icon { diff --git a/EarlyBlue/global/textbox.css b/EarlyBlue/global/textbox.css index e499f7b7..1258006a 100644 --- a/EarlyBlue/global/textbox.css +++ b/EarlyBlue/global/textbox.css @@ -55,9 +55,11 @@ textbox { min-height: 19px; } +/* this color should be on the -moz-placeholder textbox[isempty="true"] { color: #CCD0DD; } +*/ html|*.textbox-input, html|*.textbox-textarea { diff --git a/EarlyBlue/help/helpFileLayout.css b/EarlyBlue/help/helpFileLayout.css index 0853c0a1..9cf34358 100644 --- a/EarlyBlue/help/helpFileLayout.css +++ b/EarlyBlue/help/helpFileLayout.css @@ -139,7 +139,7 @@ td, th { th { background-color: #eee; /* light grey */ font-weight: bold; - text-align: left; + text-align: startt; } .noTableBorder, diff --git a/EarlyBlue/mozapps/update/updates.css b/EarlyBlue/mozapps/update/updates.css index d9adc0a5..0b54e023 100644 --- a/EarlyBlue/mozapps/update/updates.css +++ b/EarlyBlue/mozapps/update/updates.css @@ -1,96 +1,72 @@ -/** - * General - */ -.heed { - font-weight: bold; -} - -.wizard-button > .button-box { - -moz-padding-start: 15px !important; - -moz-padding-end: 15px !important; +/* General */ +/* Specify the size for the wizardpage so the billboard has a fixed size. 3rd + party themes should typically specify the same values. */ +wizardpage { + height: 360px; + width: 700px; } -link { - color: blue; - border: 1px solid transparent; - margin-top: 1px; - margin-bottom: 4px; - -moz-margin-start: 5px; - -moz-margin-end: 5px; - text-decoration: underline !important; -} - -link > label { - margin: 0px; - padding: 1px; - text-decoration: underline !important; -} - -link:focus { - border: 1px dotted #000000; +/* Remove margin and padding so the billboard will extend to the edge of the + window. 3rd party themes should typically specify the same values. */ +#updates, .wizard-page-box { + margin: 0; + padding: 0; } -remotecontent { - margin-top: 1px; - margin-bottom: 2px; - -moz-margin-start: 6px; - -moz-margin-end: 5px; - -moz-appearance: listbox; - padding-bottom: 1px; +.update-content { + padding: 10px; } -/** - * License Page - */ .loadingBox { padding: 3px 5px; } + .remoteLoadingThrobber { margin-top: 3px; } + .remoteLoadingThrobber[state="loading"] { list-style-image: url("chrome://global/skin/icons/loading.gif"); } + .remoteLoadingThrobber[state="error"] { list-style-image: url("chrome://global/skin/icons/notfound.png"); } -/** - * Update Found Page - */ -#moreDetails { - margin-top: 1px; - margin-bottom: 4px; - -moz-margin-start: 3px; - -moz-margin-end: 5px; +.wizard-buttons-separator { + margin-top: 0 !important; } -#updateForMoreInfo { - -moz-margin-start: 5px; +#updates[currentpageid="updatesfoundbasic"] .wizard-button[dlgtype="next"], +#updates[currentpageid="updatesfoundbillboard"] .wizard-button[dlgtype="next"], +#updates[currentpageid="finished"] .wizard-button[dlgtype="finish"], +#updates[currentpageid="finishedBackground"] .wizard-button[dlgtype="finish"] { + font-weight: bold; +} + +#licenseContent, #incompatibleListbox { + -moz-margin-start: 6px; + -moz-margin-end: 6px; } +/* Update Found Basic Page */ #updateName, #updateFinishedName { font-weight: bold; font-size: larger; } -#alertImage { - list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); - -moz-margin-end: 5px; +/* License Page */ +#licenseContent { +/* -moz-appearance: listbox; */ } -#incompatibleWarning { - background-color : #FFFFCC; - color: #000000; - border: 1px outset #CCD0DD; - padding: 3px; - margin: 1px 5px 4px; +/* Incompatible List Page */ +#incompatibleListbox { + margin-bottom: 6px; } -/** - * Downloading Page - */ -#downloadStatusTop, #downloadStatusLine { +/* Downloading Page */ +#downloadStatusLine { -moz-box-align: center; } @@ -98,29 +74,20 @@ remotecontent { height: 3em !important; } -#downloadThrobber { - -moz-margin-start: 5px; - list-style-image: url("chrome://global/skin/filepicker/blank.gif"); -} - -#downloadThrobber[state="loading"] { - list-style-image: url("chrome://global/skin/icons/loading.gif"); -} - #downloadStatusProgress { -moz-padding-end: 5px; } #pauseButton { - -moz-appearance: none; list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); -moz-image-region: rect(0px, 48px, 16px, 32px); + -moz-appearance: none; background-color: transparent; border: none; - padding: 0; - margin: 0; min-width: 0; min-height: 0; + margin: 0; + padding: 0; } /* !Important must be used otherwise this won't immediately take affect */ @@ -161,9 +128,7 @@ remotecontent { list-style-image: url("chrome://global/skin/icons/notfound.png"); } -/** - * Error Page - */ +/* Error Page */ #errorReason { margin-top: 1px; margin-bottom: 2px; @@ -172,9 +137,7 @@ remotecontent { font-weight: bold; } -/** - * Update History Window - */ +/* Update History Window */ update { border-bottom: 1px dotted #666699; } @@ -187,10 +150,6 @@ update { -moz-box-align: end; } -.update-details-link { - margin: 0px; -} - .update-type { font-weight: bold; color: #990000; @@ -204,9 +163,3 @@ update { #historyItems > scrollbox { margin-bottom: 1px; } - -.updatePrefsInfo { - font-size: smaller; - -moz-margin-start: 27px; - margin-bottom: 10px; -} diff --git a/LCARStrek/global/menulist.css b/LCARStrek/global/menulist.css index 519b2abb..c6d299ef 100644 --- a/LCARStrek/global/menulist.css +++ b/LCARStrek/global/menulist.css @@ -165,7 +165,7 @@ html|*.menulist-editable-input { .menulist-compact > .menulist-label-box > .menulist-label { margin: 0 3px !important; - text-align: right; + text-align: end; } .menulist-compact > .menulist-label-box > .menulist-icon { diff --git a/LCARStrek/global/textbox.css b/LCARStrek/global/textbox.css index 82271ad0..760cf756 100644 --- a/LCARStrek/global/textbox.css +++ b/LCARStrek/global/textbox.css @@ -57,9 +57,11 @@ textbox { min-height: 19px; } +/* this color should be on the -moz-placeholder textbox[isempty="true"] { color: #6000CF; } +*/ html|*.textbox-input, html|*.textbox-textarea { diff --git a/LCARStrek/help/helpFileLayout.css b/LCARStrek/help/helpFileLayout.css index 0853c0a1..ecb7fe27 100644 --- a/LCARStrek/help/helpFileLayout.css +++ b/LCARStrek/help/helpFileLayout.css @@ -139,7 +139,7 @@ td, th { th { background-color: #eee; /* light grey */ font-weight: bold; - text-align: left; + text-align: start; } .noTableBorder, diff --git a/LCARStrek/mozapps/update/updates.css b/LCARStrek/mozapps/update/updates.css index 4ce1e452..61697ba9 100644 --- a/LCARStrek/mozapps/update/updates.css +++ b/LCARStrek/mozapps/update/updates.css @@ -1,97 +1,72 @@ -/** - * General - */ -.heed { - font-weight: bold; -} - -.wizard-button > .button-box { - -moz-padding-start: 15px !important; - -moz-padding-end: 15px !important; +/* General */ +/* Specify the size for the wizardpage so the billboard has a fixed size. 3rd + party themes should typically specify the same values. */ +wizardpage { + height: 360px; + width: 700px; } -link { - color: blue; - border: 1px solid transparent; - margin-top: 1px; - margin-bottom: 4px; - -moz-margin-start: 5px; - -moz-margin-end: 5px; - text-decoration: underline !important; -} - -link > label { - margin: 0px; - padding: 1px; - text-decoration: underline !important; -} - -link:focus { - border: 1px dotted #000000; +/* Remove margin and padding so the billboard will extend to the edge of the + window. 3rd party themes should typically specify the same values. */ +#updates, .wizard-page-box { + margin: 0; + padding: 0; } -remotecontent { - margin-top: 1px; - margin-bottom: 2px; - -moz-margin-start: 6px; - -moz-margin-end: 5px; - -moz-appearance: listbox; - padding-bottom: 1px; +.update-content { + padding: 10px; } -/** - * License Page - */ .loadingBox { padding: 3px 5px; } + .remoteLoadingThrobber { margin-top: 3px; } + .remoteLoadingThrobber[state="loading"] { list-style-image: url("chrome://global/skin/icons/loading.gif"); } + .remoteLoadingThrobber[state="error"] { list-style-image: url("chrome://global/skin/icons/notfound.png"); } -/** - * Update Found Page - */ -#moreDetails { - margin-top: 1px; - margin-bottom: 4px; - -moz-margin-start: 3px; - -moz-margin-end: 5px; +.wizard-buttons-separator { + margin-top: 0 !important; } -#updateForMoreInfo { - -moz-margin-start: 5px; +#updates[currentpageid="updatesfoundbasic"] .wizard-button[dlgtype="next"], +#updates[currentpageid="updatesfoundbillboard"] .wizard-button[dlgtype="next"], +#updates[currentpageid="finished"] .wizard-button[dlgtype="finish"], +#updates[currentpageid="finishedBackground"] .wizard-button[dlgtype="finish"] { + font-weight: bold; +} + +#licenseContent, #incompatibleListbox { + -moz-margin-start: 6px; + -moz-margin-end: 6px; } +/* Update Found Basic Page */ #updateName, #updateFinishedName { font-weight: bold; font-size: larger; } -#alertImage { - list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); - -moz-margin-end: 5px; +/* License Page */ +#licenseContent { +/* -moz-appearance: listbox; */ } -#incompatibleWarning { - background-color : #FFCF00; - color: #000000; - -moz-border-radius: 5px; - border: 1px solid #9C9CFF; - padding: 3px; - margin: 1px 5px 4px; +/* Incompatible List Page */ +#incompatibleListbox { + margin-bottom: 6px; } -/** - * Downloading Page - */ -#downloadStatusTop, #downloadStatusLine { +/* Downloading Page */ +#downloadStatusLine { -moz-box-align: center; } @@ -99,29 +74,20 @@ remotecontent { height: 3em !important; } -#downloadThrobber { - -moz-margin-start: 5px; - list-style-image: url("chrome://global/skin/filepicker/blank.gif"); -} - -#downloadThrobber[state="loading"] { - list-style-image: url("chrome://global/skin/icons/loading.gif"); -} - #downloadStatusProgress { -moz-padding-end: 5px; } #pauseButton { - -moz-appearance: none; list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); -moz-image-region: rect(0px, 48px, 16px, 32px); + -moz-appearance: none; background-color: transparent; border: none; - padding: 0; - margin: 0; min-width: 0; min-height: 0; + margin: 0; + padding: 0; } /* !Important must be used otherwise this won't immediately take affect */ @@ -162,9 +128,7 @@ remotecontent { list-style-image: url("chrome://global/skin/icons/notfound.png"); } -/** - * Error Page - */ +/* Error Page */ #errorReason { margin-top: 1px; margin-bottom: 2px; @@ -173,9 +137,7 @@ remotecontent { font-weight: bold; } -/** - * Update History Window - */ +/* Update History Window */ update { border-bottom: 1px dotted #FF9F00; } @@ -188,10 +150,6 @@ update { -moz-box-align: end; } -.update-details-link { - margin: 0px; -} - .update-type { font-weight: bold; color: #FF0000; @@ -205,9 +163,3 @@ update { #historyItems > scrollbox { margin-bottom: 1px; } - -.updatePrefsInfo { - font-size: smaller; - -moz-margin-start: 27px; - margin-bottom: 10px; -} -- 2.35.3