+
+/* Feel the hacks. */
+progressmeter[mode="undetermined"] {
+ -moz-appearance: none;
+}
+
+[dir="ltr"] {
+ direction: ltr;
+}
+
+[dir="rtl"] {
+ direction: rtl;
+}
+
+#input-splitter {
+ margin: 4px 0 0 0;
+}
+
+#input-widgets {
+ margin: 4px 0;
+}
+
+#server-nick, #button-multiline-expand, #button-input, #button-multiline-contract {
+ margin: 0;
+}
+
+#input, #multiline-input {
+ margin: 0 4px;
+}
+
+/* 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="broken"]) {
+ display: none;
+}
+
+#security-button[level="high"] > 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;
+}
+
+#alert-status[alertstate="off"] {
+ list-style-image: url("chrome://chatzilla/skin/images/spbubble-off.png");
+}
+
+#alert-status[alertstate="on"] {
+ list-style-image: url("chrome://chatzilla/skin/images/spbubble-on.png");
+}
+
+#logging-status[loggingstate="off"] {
+ list-style-image: url("chrome://chatzilla/skin/images/logging-off.png");
+}
+
+#logging-status[loggingstate="on"] {
+ list-style-image: url("chrome://chatzilla/skin/images/logging-on.png");
+}
+
+#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"] {
+ outline: 2px solid #008484;
+}