From: robert Date: Sat, 7 Jul 2001 17:47:26 +0000 (+0000) Subject: make tabbox widget and textbox widget work like they should, fixing tabbox crasher X-Git-Tag: LCARStrek05~4 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=7f414a22f141e64ac9ee07ea261fad8e73ae0157;p=themes.git make tabbox widget and textbox widget work like they should, fixing tabbox crasher --- diff --git a/LCARStrek/communicator/skin/prefpanels.css b/LCARStrek/communicator/skin/prefpanels.css index f39a5d68..fafe6bc8 100755 --- a/LCARStrek/communicator/skin/prefpanels.css +++ b/LCARStrek/communicator/skin/prefpanels.css @@ -1,15 +1,28 @@ -/********** Fonts ***************/ - -#sizeVar, #sizeMono { - width: 4em; -} - -#mouseWheelMode { - width: 9em; -} - -/******* SmartBrowsing **********/ - -#disabledDomains { - max-height: 13em; -} +/********** 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; +} + diff --git a/LCARStrek/global/skin/tabcontrol.css b/LCARStrek/global/skin/tabbox.css similarity index 66% rename from LCARStrek/global/skin/tabcontrol.css rename to LCARStrek/global/skin/tabbox.css index 7a83c0bd..26eaa2bb 100755 --- a/LCARStrek/global/skin/tabcontrol.css +++ b/LCARStrek/global/skin/tabbox.css @@ -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 *********/ @@ -8,6 +12,7 @@ tab { 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 */ @@ -26,31 +31,32 @@ tab:hover:active { 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 */ -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; - margin: 1px 2px 1px 2px; +/* margin: 1px 2px 1px 2px; */ } /* bottom tabs */ -tabbox[align="vertical"] tabpanels + tabs[align="horizontal"] tab { +tabbox[orient="vertical"] > tabpanels + tabs[orient="horizontal"] > tab { 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 */ -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; @@ -58,11 +64,8 @@ tabbox[align="horizontal"] tabs[align="vertical"] tab { } /* 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-right: 1px solid #9C9CFF; -moz-border-radius: 0px 8px 8px 0px; padding: 3px 5px 1px 5px; margin: 2px 1px 2px 1px; @@ -87,3 +90,5 @@ tabpanels { + + diff --git a/LCARStrek/global/skin/textbox.css b/LCARStrek/global/skin/textbox.css index b740ff4c..8cc49e63 100755 --- a/LCARStrek/global/skin/textbox.css +++ b/LCARStrek/global/skin/textbox.css @@ -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) **/ @@ -50,7 +50,7 @@ } /* internal text widget */ - .textbox-input, .textbox-textarea + html|*.textbox-input, html|*.textbox-textarea { border : none !important; margin : 0px; @@ -84,7 +84,7 @@ 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; @@ -97,3 +97,4 @@ padding : 1px !important; margin : 0px !important; } +