+
+/* Feel the hacks. */
+progressmeter[mode="undetermined"] {
+ -moz-appearance: none;
+}
+
+[dir="ltr"] {
+ direction: ltr;
+}
+
+[dir="rtl"] {
+ direction: rtl;
+}
+
+/* Hack; Stop the status-bar from distorting without a security icon */
+#status-text {
+ min-height: 17px;
+}
+
+#status-text[notice="true"] {
+ font-weight: bold;
+}
+
+#security-button {
+ min-width: 20px;
+}
+
+#security-button:not([level="high"]):not([level="low"]):not([level="broken"]) {
+ display: none;
+}
+
+#security-button[level="high"] > image {
+ list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
+}
+
+#security-button[level="low"] > image {
+ list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
+}
+
+#security-button[level="broken"] > image {
+ list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
+}
+
+/* prevent margins of a value-less label from shifting the image */
+#security-button > label:not([value]) {
+ display: none;
+}
+
+#offline-status[offlinestate="offline"] {
+ list-style-image: url("chrome://communicator/skin/icons/offline.gif");
+}
+
+#offline-status[offlinestate="online"] {
+ list-style-image: url("chrome://communicator/skin/icons/online.gif");
+}
+
+/* Focus styling for a11y reasons */
+#user-list-box[focusobvious="true"], #browser-box[focusobvious="true"],
+#multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] {
+ border-color: highlight !important;
+}
+
+/* Not setting a right border so the scrollbar remains on the window edge. */
+#browser-box:last-child, #user-list-box:last-child {
+ border-left: 2px solid transparent;
+ border-top: 2px solid transparent;
+ border-bottom: 2px solid transparent;
+}
+
+#user-list-box:first-child, #browser-box:first-child {
+ border-right: 2px solid transparent;
+ border-top: 2px solid transparent;
+ border-bottom: 2px solid transparent;
+}
+
+#singleline-hug-box, #multiline-hug-box {
+ border-right: 2px solid transparent;
+ border-left: 2px solid transparent;
+ border-top: 2px solid transparent;
+}