another round of slight improvements for LCARStrek 2.0a1
[themes.git] / LCARStrek / global / listbox.css
index 76650a3a42bcd981bdba425f6abb8367e557f6aa..e0f27f6147b1c39224e0368eaa140f8cd9beb36c 100644 (file)
  *
  * Contributor(s):
  *   Joe Hewitt (hewitt@netscape.com)
+ *   Dean Tessman (dean_tessman@hotmail.com)
  *   Robert Kaiser <KaiRo@KaiRo.at>
  */
 
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
 /* ===== listbox.css =======================================================
   == Styles used by XUL listbox-related elements.
   ======================================================================= */
 
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
 /* ::::: listbox ::::: */
 
 listbox {
@@ -39,13 +40,22 @@ listbox {
   color: #FF9F00;
 }
 
+listbox[disabled="true"] {
+  border: 1px solid #8050B0;
+  color: #8050B0;
+}
+
 /* ::::: listitem ::::: */
 
 listitem {
   border: 1px solid transparent;
 }
 
-listbox:focus > listitem[selected="true"][current="true"] {
+listbox:focus > listitem[current="true"] {
+  border: 1px dotted #FF9F00;
+}
+
+listbox:focus > listitem[current="true"][selected="true"] {
   border: 1px dotted #FF9F00;
 }
 
@@ -61,7 +71,7 @@ listbox:focus > listitem[selected="true"] {
 
 /* ::::: listheader ::::: */
 
-listheader { 
+listheader {
   -moz-box-align: center;
   border: 1px solid #FFCF00;
   background-color: #9C9CFF;
@@ -71,7 +81,10 @@ listheader {
 
 listheader[sortable="true"]:hover:active {
   border: 1px solid #FFCF00;
-  padding: 1px 4px 0 5px;
+  padding-top: 1px;
+  padding-bottom: 0px;
+  -moz-padding-start: 5px;
+  -moz-padding-end: 4px;
 }
 
 .listheader-icon {
@@ -100,19 +113,22 @@ listheader[sortable="true"]:hover:active {
 
 .listcell-label {
   margin: 0px !important;
-  padding: 0px 0px 1px 4px;
+  padding-top: 0px;
+  padding-bottom: 1px;
+  -moz-padding-start: 4px;
+  -moz-padding-end: 0px;
   white-space: nowrap;
 }
 
 .listcell-icon {
-  margin-right: 2px;
+  -moz-margin-end: 2px;
 }
 
 .listcell-label[disabled="true"] {
   color: #8050B0;
 }
 
-/* ::::: listcell checkbox ::::: */                                             
+/* ::::: listcell checkbox ::::: */
 
 .listcell-check {
   -moz-box-align: center;