X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fcommunicator%2Fcommunicator.css;h=5c8a3a22a8be36d6a1c0e7baf2defb1f9b247db0;hp=5883621961c4e0fc4addbaa7ddb25ebe34630264;hb=676f00918ee7482a23e0237d4ad6847be134b979;hpb=a12570b9df613c628ada41eac0bf14f642ecf578 diff --git a/LCARStrek/communicator/communicator.css b/LCARStrek/communicator/communicator.css index 58836219..5c8a3a22 100644 --- a/LCARStrek/communicator/communicator.css +++ b/LCARStrek/communicator/communicator.css @@ -39,7 +39,6 @@ @import url("chrome://communicator/content/communicator.css"); @import url("chrome://communicator/skin/brand.css"); @import url("chrome://communicator/skin/button.css"); -/* the line below is only LCARStrek */ @import url("chrome://communicator/skin/toolbar.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ @@ -48,10 +47,35 @@ == Styles shared everywhere throughout the Communicator suite. ========================================================================== */ +toolbar { + -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar"); +} + +menubar, +toolbar[type="menubar"] { + -moz-binding: url("chrome://global/skin/globalBindings.xml#grippymenubar"); +} + .toolbar-primary { - -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary"); + -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar-primary"); +} + +toolbar[xpfe="false"] { + -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); +} + +menubar[xpfe="false"] { + -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); } +/* ::::: autocomplete ::::: */ + +.autocomplete-history-popup { + max-height: 25em; +} + +/* ::::: online/offline icons ::::: */ + #offline-status[offline="true"] { list-style-image: url("chrome://communicator/skin/icons/offline.gif"); } @@ -91,25 +115,64 @@ margin: 0px !important; } -/* ::::: download manager ::::: */ +/* ::::: iconic menus and menuitems ::::: */ -#downloadView > treechildren::-moz-tree-image(Name) { - margin-right: 2px; +menu.menu-iconic > .menu-iconic-left, +menuitem.menuitem-iconic > .menu-iconic-left { + display: -moz-box; } -/* :::::: autoscroll popup ::::: */ +/* ::::: sync notification ::::: */ -#autoscroller { - height: 28px; - width: 28px; - border: 0px; - margin: -14px; - padding: 0px; - background-image: url("chrome://communicator/skin/icons/autoscroll.gif"); +#sync-notifications > notification { + margin-top: 3px; } -#autoscroller[scrolldir="NS"] { - background-image: url("chrome://communicator/skin/icons/autoscroll-ns.gif"); + +#sync-notifications > notification > .notification-inner > hbox > button { + margin: 0; } -#autoscroller[scrolldir="EW"] { - background-image: url("chrome://communicator/skin/icons/autoscroll-ew.gif"); + +/******* lightweight themes *******/ + +toolbar button:-moz-lwtheme, +toolbar menulist:-moz-lwtheme:not([open="true"]), +toolbar textbox:-moz-lwtheme:not([focused="true"]) { + opacity: .8; +} + +treecols:-moz-lwtheme { + text-shadow: none; + color: #000000; + background-color: #9C9CFF; +} + +/* ::::: toolbar print button ::::: */ +#print-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); + -moz-image-region: rect(0px 25px 21px 0px); +} + +#print-button[disabled="true"] { + -moz-image-region: rect(0px 50px 21px 25px); +} + +#print-button:not([disabled="true"]):hover, +#print-button:not([disabled="true"]):hover:active, +#print-button[open="true"] { + -moz-image-region: rect(0px 75px 21px 50px); +} + +toolbar[iconsize="small"] > toolbarpaletteitem > #print-button, +toolbar[iconsize="small"] > #print-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); + -moz-image-region: rect(0 16px 16px 0); +} + +toolbar[iconsize="small"] > #print-button[disabled="true"] { + -moz-image-region: rect(0 32px 16px 16px) !important; +} + +toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active { + -moz-image-region: rect(0 48px 16px 32px); }