finalize the 2.0 versions of the themes
[themes.git] / EarlyBlue / global / tabbox.css
index ee41d8fceabfbd100a7bb6e402505ae50b8abb05..9d5547e73148342bf3bf4b126e45d15818394dfc 100644 (file)
  *
  * ***** END LICENSE BLOCK ***** */
 
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
 /* ===== tabbox.css =================================================
   == Styles used by XUL tab-related elements.
   ======================================================================= */
 
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
 /* ::::: tabs ::::: */
 
 .tabs-left,
@@ -60,7 +60,6 @@ tabpanels {
   padding: 5px;
   background-color: #CCD0DD;
   color: #000000;
-  -moz-user-focus: normal;
 }
 
 /* ::::: tab ::::: */
@@ -69,7 +68,7 @@ tab {
   margin-top: 2px;
   border: 1px outset #CCD0DD;
   border-bottom: none;
-  padding: 1px 4px 2px 4px;
+  padding: 1px 4px 2px;
   background-color: #CCD0DD;
   color: #000000;
 }
@@ -78,7 +77,8 @@ tab {
   margin: 0 !important;
 }
 
-tab[selected="true"]  {
+tab[selected="true"] {
+  -moz-user-focus: normal;
   font-weight: bold;
   background-color: #EDF1FF;
 }
@@ -87,10 +87,15 @@ tab:hover {
   color: #336699;
 }
 
+tab:focus > .tab-middle {
+  /* Don't specify the outline-color, we should always use initial value. */
+  outline: 1px dotted;
+}
+
 /*
-tab[first-tab="true"][selected="true"] {
-  padding-right: 5px;
-  padding-left: 5px;
+tab:first-of-type[selected="true"] {
+  -moz-padding-end: 5px;
+  -moz-padding-start: 5px;
 }
 */
 
@@ -104,7 +109,7 @@ tab[first-tab="true"][selected="true"] {
   margin-bottom: 2px;
   border: 1px outset #CCD0DD;
   border-top: none;
-  padding: 2px 4px 1px 4px;
+  padding: 2px 4px 1px;
 }
 
 /* ::::: tabs-bottom ::::: */