make new chatzilla tab appearance actually look fitting with the two themes
[themes.git] / EarlyBlue / chatzilla / chatzilla.css
index 15a3d18a9dd4916618744612cbb15cbbfe09b9f1..2b61a499a58a6d15817bd6da5e9100077f9353a8 100644 (file)
@@ -13,10 +13,6 @@ window {
   display: none;
 }
 
-#tabpanels-contents-box {
-  margin: 3px 0;
-}
-
 #header-url:hover {
   text-decoration: underline;
 }
@@ -51,6 +47,11 @@ window {
   background: #336699 !important;
 }
 
+#user-list {
+  margin: 0;
+  border: 0px none;
+}
+
 #view-tabs {
   overflow: hidden;
 }
@@ -75,32 +76,70 @@ window {
 }
 
 .view-button {
-  /* do NOT set colour, at least not without background. :) */
+  /* Box model is 5px 5px 5px 6px in aggregate. Extra pixel on the left is for the separator. */
+  -moz-appearance: none;
+  margin: 5px 0 0;
+/*  border: none;
+  border-left: 1px solid ButtonShadow;*/
+  padding: 0 5px;
+/*
+  background: Button;
+  color: ButtonText;
+  font: message-box;
+*/
+  text-shadow: none;
   text-align: center;
   max-width: 30ex;
   -moz-box-flex: 1;
+  -moz-box-orient: vertical;
+  -moz-box-align: stretch;
 }
 
-.view-button[state="current"] {
-  font-weight: bold;
+.view-button:first-child {
 }
 
-.view-button[state="superfluous"] {
-  color: #666699;
+.view-button::before {
+  content: " ";
+  display: -moz-box;
+  margin: -5px -6px 0 -6px;
+  height: 5px;
+  border-left: 1px outset #CCD0DD;
+  border-right: 1px outset #CCD0DD;
 }
 
-.view-button[state="activity"] {
-  color: #336699;
+.view-button[state="superfluous"]::before {
+  background-color: #666699;
 }
 
-.view-button[state="attention"] {
-  color: red;
+.view-button[state="activity"]::before {
+  background-color: #336699;
 }
 
-.output-container {
-  border: 1px inset #CCD0DD;
-  border-left: none;
-  border-right: none;
+.view-button[state="attention"]::before {
+  background-color: red;
+}
+
+.view-button:hover,
+.view-button[state="current"] {
+  margin: 0 0 0;
+/*  border-left: none;
+  border-radius: 0 0 6px 6px;*/
+  padding: 5px 5px 0;
+/*
+  background: Window;
+  color: WindowText;
+*/
+}
+
+.view-button[state="current"] + .view-button,
+.view-button:hover + .view-button:not([state="current"]) {
+}
+
+.view-button[state="current"] {
+  position: relative; /* So it visually appears above the tabs either side. */
+/*  border: 2px solid ButtonShadow;*/
+  border-top: none;
+  padding: 5px 5px 3px 5px;
 }
 
 treecol { 
@@ -211,6 +250,22 @@ progressmeter[mode="undetermined"] {
   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;
@@ -224,7 +279,7 @@ progressmeter[mode="undetermined"] {
   min-width: 20px;
 }
 
-#security-button:not([level="high"]):not([level="low"]):not([level="broken"]) {
+#security-button:not([level="high"]):not([level="broken"]) {
   display: none;
 }
 
@@ -232,10 +287,6 @@ progressmeter[mode="undetermined"] {
   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");
 }
@@ -245,6 +296,22 @@ progressmeter[mode="undetermined"] {
   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");
 }
@@ -256,24 +323,5 @@ progressmeter[mode="undetermined"] {
 /* 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: #336699 !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;
+  outline: 2px solid #336699;
 }