make tabbox widget and textbox widget work like they should, fixing tabbox crasher
authorrobert <robert>
Sat, 7 Jul 2001 17:47:26 +0000 (17:47 +0000)
committerrobert <robert>
Sat, 7 Jul 2001 17:47:26 +0000 (17:47 +0000)
LCARStrek/communicator/skin/prefpanels.css
LCARStrek/global/skin/tabbox.css [moved from LCARStrek/global/skin/tabcontrol.css with 66% similarity]
LCARStrek/global/skin/textbox.css

index f39a5d68c710496018933e6cbb05d00df4bee113..fafe6bc8ba9f32598da5acdf9a6fc4e847f0e8d1 100755 (executable)
@@ -1,15 +1,28 @@
-/********** Fonts ***************/\r
-\r
-#sizeVar, #sizeMono {\r
-       width: 4em;\r
-}\r
-\r
-#mouseWheelMode {\r
-      width: 9em;\r
-}\r
-\r
-/******* SmartBrowsing **********/\r
-\r
-#disabledDomains {\r
-       max-height: 13em;\r
-}\r
+/********** Fonts ***************/
+
+#sizeVar, #sizeMono {
+       width: 4em;
+}
+
+#mouseWheelMode {
+      width: 9em;
+}
+
+/******* SmartBrowsing **********/
+
+#disabledDomains {
+       max-height: 13em;
+}
+
+.smileface {                                                                             
+       list-style-image : url("chrome://messenger/skin/smile.gif");
+}
+
+#previewImageContainer {
+       overflow: hidden;
+       height: 92px;
+       max-width: 360px;
+       background-color: #000000;
+       padding: 2px;
+}
+
similarity index 66%
rename from LCARStrek/global/skin/tabcontrol.css
rename to LCARStrek/global/skin/tabbox.css
index 7a83c0bd762b678558316ce17eed9aff184254f0..26eaa2bb5c0f22cb1f2736824e58e1b1f9a9cefe 100755 (executable)
@@ -1,5 +1,9 @@
-tabbox {
-  margin: 1px 5px 2px 5px;
+@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); 
+
+/*============ tabpanels widget =============*/
+
+tabpanels {
+  padding: 5px;
 }
 
 /********** Tab widget *********/
 }
 
 /********** Tab widget *********/
@@ -8,6 +12,7 @@ tab {
   border: 1px solid #9C9CFF;
   color: #FF9F00; 
   padding: 3px 5px 3px 5px;
   border: 1px solid #9C9CFF;
   color: #FF9F00; 
   padding: 3px 5px 3px 5px;
+  -moz-user-focus: normal;
 }
 
 /* when a tab is selected this is how it should look */
 }
 
 /* when a tab is selected this is how it should look */
@@ -26,31 +31,32 @@ tab:hover:active {
   text-decoration: none;
 }
 
   text-decoration: none;
 }
 
-tabs {
-  padding: 0px 2px 0px 2px;
+tabs, tabs[orient="horizontal"] {
+  padding: 0px 4px 0px 4px;
+}
+
+tabs[orient="vertical"] {
+  padding: 4px 0px 4px 0px;
 }
 
     /* top tabs */
 }
 
     /* top tabs */
-tabbox[align="vertical"] tabs[align="horizontal"] tab { 
+tabbox[orient="vertical"] > tabs[orient="horizontal"] tab  { 
   border-bottom: none;
   -moz-border-radius: 8px 8px 0px 0px;
   padding-bottom: 1px;
   border-bottom: none;
   -moz-border-radius: 8px 8px 0px 0px;
   padding-bottom: 1px;
-  margin: 1px 2px 1px 2px;
+/*  margin: 1px 2px 1px 2px; */
 }
 
        /* bottom tabs */
 }
 
        /* bottom tabs */
-tabbox[align="vertical"] tabpanels + tabs[align="horizontal"] tab { 
+tabbox[orient="vertical"] > tabpanels + tabs[orient="horizontal"] > tab { 
   border-top: none;
   border-top: none;
-  border-bottom: 1px solid #9C9CFF;
-  border-left: 1px solid #9C9CFF;
-  border-right: 1px solid #9C9CFF;
   -moz-border-radius: 0px 0px 8px 8px;
   padding: 1px 5px 3px 5px;
   margin: 1px 2px 1px 2px;
 }
 
        /* left tabs */
   -moz-border-radius: 0px 0px 8px 8px;
   padding: 1px 5px 3px 5px;
   margin: 1px 2px 1px 2px;
 }
 
        /* left tabs */
-tabbox[align="horizontal"] tabs[align="vertical"] tab { 
+tabbox[orient="horizontal"] > tabs[orient="vertical"] tab  { 
   border-right: none;
   -moz-border-radius: 8px 0px 0px 8px;
   padding-right: 1px;
   border-right: none;
   -moz-border-radius: 8px 0px 0px 8px;
   padding-right: 1px;
@@ -58,11 +64,8 @@ tabbox[align="horizontal"] tabs[align="vertical"] tab {
 }
 
        /* right tabs */
 }
 
        /* right tabs */
-tabbox[align="horizontal"] tabpanels + tabs[align="vertical"] tab { 
-  border-top: 1px solid #9C9CFF;
-  border-bottom: 1px solid #9C9CFF;
+tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab { 
   border-left: none;
   border-left: none;
-  border-right: 1px solid #9C9CFF;
   -moz-border-radius: 0px 8px 8px 0px;
   padding: 3px 5px 1px 5px;
   margin: 2px 1px 2px 1px;
   -moz-border-radius: 0px 8px 8px 0px;
   padding: 3px 5px 1px 5px;
   margin: 2px 1px 2px 1px;
@@ -87,3 +90,5 @@ tabpanels {
 
 
 
 
 
 
+
+
index b740ff4c0299c41e89230d3824ae490e53e01f2c..8cc49e6321338c13c54eac90e725b025eb29f98d 100755 (executable)
@@ -1,5 +1,5 @@
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
-@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
 
 /** generic text fields (in dialogs)
  **/
 
 /** generic text fields (in dialogs)
  **/
@@ -50,7 +50,7 @@
     }
   
 /* internal text widget */
     }
   
 /* internal text widget */
-  .textbox-input, .textbox-textarea
+  html|*.textbox-input, html|*.textbox-textarea
     {
       border              : none !important;
       margin              : 0px;
     {
       border              : none !important;
       margin              : 0px;
@@ -84,7 +84,7 @@
     margin                : 0px !important;
   }
 
     margin                : 0px !important;
   }
 
-.textbox-inline-edit > .textbox-internal-box > .textbox-input 
+.textbox-inline-edit > .textbox-internal-box > html|*.textbox-input 
   {
     border                : none !important;
     padding               : 0px !important;
   {
     border                : none !important;
     padding               : 0px !important;
@@ -97,3 +97,4 @@
     padding               : 1px !important;
     margin                : 0px !important;
   }
     padding               : 1px !important;
     margin                : 0px !important;
   }
+