mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
Quota in statusbar: Text shadow caused statusbar height to change, so remove.
Bug 360591, patch=tuukka.tolvanen + me, r=bienvenu, sr+a=mscott
This commit is contained in:
parent
d4a5017c65
commit
0f89c31418
@ -503,7 +503,6 @@ function UpdateStatusQuota(folder)
|
||||
gQuotaUICache.meter = document.getElementById("quotaMeter");
|
||||
gQuotaUICache.panel = document.getElementById("quotaPanel");
|
||||
gQuotaUICache.label = document.getElementById("quotaLabel");
|
||||
gQuotaUICache.labelShadow = document.getElementById("quotaLabelShadow");
|
||||
const kBranch = "mail.quota.mainwindow_threshold.";
|
||||
gQuotaUICache.showTreshold = gPrefBranch.getIntPref(kBranch + "show");
|
||||
gQuotaUICache.warningTreshold = gPrefBranch.getIntPref(kBranch + "warning");
|
||||
@ -534,7 +533,6 @@ function UpdateStatusQuota(folder)
|
||||
var tooltip = gMessengerBundle.getFormattedString("quotaTooltip",
|
||||
[used.value, max.value]);
|
||||
gQuotaUICache.label.value = label;
|
||||
gQuotaUICache.labelShadow.value = label;
|
||||
gQuotaUICache.label.tooltipText = tooltip;
|
||||
if (percent < gQuotaUICache.warningTreshold)
|
||||
gQuotaUICache.panel.removeAttribute("alert");
|
||||
|
@ -2222,7 +2222,6 @@
|
||||
id="quotaMeter"
|
||||
mode="normal"
|
||||
value="0" />
|
||||
<label id="quotaLabelShadow" />
|
||||
<label id="quotaLabel"
|
||||
onclick="MsgFolderProperties('QuotaTab');" />
|
||||
</stack>
|
||||
|
@ -418,13 +418,5 @@ splitter {
|
||||
-moz-appearance: none;
|
||||
}
|
||||
#quotaLabel {
|
||||
padding-right: 1px;
|
||||
padding-bottom: 1px;
|
||||
text-align: center;
|
||||
}
|
||||
#quotaLabelShadow {
|
||||
padding-left: 1px;
|
||||
padding-top: 1px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
|
@ -340,16 +340,8 @@ treechildren::-moz-tree-image(subjectCol, imapdeleted) {
|
||||
-moz-appearance: none;
|
||||
}
|
||||
#quotaLabel {
|
||||
padding-right: 1px;
|
||||
padding-bottom: 1px;
|
||||
text-align: center;
|
||||
}
|
||||
#quotaLabelShadow {
|
||||
padding-left: 1px;
|
||||
padding-top: 1px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* ..... update notifications ..... */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user