From c8c6d6d4bb71e6265dbc25e65d4d75297b016455 Mon Sep 17 00:00:00 2001 From: Sven Donath Date: Fri, 9 Jul 2010 19:22:16 +0200 Subject: [PATCH] =?utf8?q?XUL=20-=20Menu=20f=C3=BCr=20Firefox/Prism:=20Sty?= =?utf8?q?lesheet=20ge=C3=A4ndert.=20Somit=20werden=20jetzt=20nur=20die=20?= =?utf8?q?Top-Men=C3=BC-Beschriftungen=20vom=20Stylesheet=20gesteuert.=20D?= =?utf8?q?as=20Aussehen=20der=20Men=C3=BC-Unterpunkte=20wird=20vom=20GUI-T?= =?utf8?q?hema=20des=20OS=20des=20Anwenders=20bestimmt.=20Gestestet=20unte?= =?utf8?q?r=20Ubuntu=209.10=20und=20Windows=20Vista=20Home.=20Nochmal=20?= =?utf8?q?=C3=84nderungen=20an=20toolbarbutton=20tooltips=20gemacht.=20Wer?= =?utf8?q?den=20trotzdem=20nicht=20angezeigt!=3F=20H=C3=B6henbeschr=C3=A4n?= =?utf8?q?kung=20der=20Suchbox=20aufgehoben,=20das=20Feld=20war=20zu=20nie?= =?utf8?q?drig=20unter=20Ubuntu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- xslt/style1.css | 48 +++++++++++++++++++----------------------------- xslt/xulmenu.xsl | 24 +++++++++++------------- 2 files changed, 30 insertions(+), 42 deletions(-) diff --git a/xslt/style1.css b/xslt/style1.css index 182fb6529..cddc7ba37 100644 --- a/xslt/style1.css +++ b/xslt/style1.css @@ -1,16 +1,8 @@ +/* toolbar style */ toolbar{ -moz-appearance:none !important; background: url('../image/fade.png'); border-bottom:1px solid black; - border-top:1px solid black -} -splitter{ - -moz-appearance:none !important; - background:white url('../image/fade.png') no-repeat !important; - border:0px -} -iframe{ - border-left:1px solid black !important } /* sidebar styles */ @@ -20,6 +12,7 @@ tree{ padding-top:2px; background: white url('../image/fade.png') repeat-x; } + #sidebar{ background-image: url('../image/fade.png'); max-width:450px; @@ -35,33 +28,30 @@ menubar{ background: url('../image/bg_titel.gif'); border:0px } + menu, menuitem{ font:12px Arial; } -menu menuitem, -menu menu{ - padding:2px -} -menubar menu, -menubar menuitem{ + +menubar menu{ -moz-appearance: none !important; - color:white + color:white; + background: url('../image/bg_titel.gif'); } -menubar menu:hover, -menubar menuitem:hover{ + +menubar menu:hover{ -moz-appearance:none !important; - background:lightblue; - color:red -} -menu menu, -menu menuitem{ - -moz-appearance: none !important; - color:black + background:#4466cc; + color:yellow; } -menu menu:hover, -menu menuitem:hover{ + +/* are splitter & iframe in use currently? */ +splitter{ -moz-appearance:none !important; - background:lightgrey; - color:red + background:white url('../image/fade.png') no-repeat !important; + border:0px; +} +iframe{ + border-left:1px solid black !important; } diff --git a/xslt/xulmenu.xsl b/xslt/xulmenu.xsl index cd3df0b35..0263d042e 100644 --- a/xslt/xulmenu.xsl +++ b/xslt/xulmenu.xsl @@ -253,17 +253,17 @@ document.getElementById("main_window").contentWindow.history.forward() - - - - - - - - + + + + + + @@ -273,10 +273,8 @@ The tooltips, like tooltip="Neues Fenster", do not appear in my Firefox/Prism br - - - + + -- 2.20.1