From 143c54092080b8d12a2921b77de796d90323b298 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 1 May 2011 23:59:14 +0200 Subject: [PATCH] more work to make LCARStrek work nice on Firefox 4 --- LCARStrek/browser/Go-arrow.png | Bin 0 -> 273 bytes LCARStrek/browser/Toolbar.png | Bin 1786 -> 1887 bytes LCARStrek/browser/appmenu-icons.png | Bin 0 -> 597 bytes LCARStrek/browser/browser.css | 176 ++++++++++++++++++++++++++++ 4 files changed, 176 insertions(+) create mode 100644 LCARStrek/browser/Go-arrow.png create mode 100644 LCARStrek/browser/appmenu-icons.png diff --git a/LCARStrek/browser/Go-arrow.png b/LCARStrek/browser/Go-arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..13673a063fb41c7ecefe1df3e96eb1983c6ef35e GIT binary patch literal 273 zcmeAS@N?(olHy`uVBq!ia0vp^0zhoQ#0(@;4TX*XDaPU;cPEB*=VV?2IXnSAA+D*q z=|E;fz=r?l8H^ZaZvrVQ3GxeOaCmkj4a7AHYo7023)E5_^4Agg30ZH!fyjE z_roGRM;O$8{Lc1x^HA0P?^;6{e<=&=8*(R^Gkes&cwTM|i+DEEeE&w32HU2mljcka z;&Ph95}VPQI`8Ixdv_xXu891TqARcIO!2%1R{C3R?>z0S5^Q3 literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/Toolbar.png b/LCARStrek/browser/Toolbar.png index 6021cedf19da7ade7ec201fc3b788b22ec098524..effd72616a88f3da086ce2f032c05305f49ad47c 100644 GIT binary patch delta 1805 zcmV+o2lDv(4c`usF(eyMOjJcd000000Dw@iaCUqDp8)^Q0RPW^|Ns9$C|KHaVW*K& zIe!HK6*UKEedhBwHC6y+MGy zK#^{PK6!cWq^@>>3G7aUSfwmd{P>?6ZMW+_kK-du<3W$99E(xbTn-<_9XL79 zUK-faTLG@{MDL9a>$JI=7|+n>uK|v~=YO3inTsDdhH1tutPB*acaSFuA-+EX&zh)>+{>U90Pc%T=uBSd229P=D9g zH)It~c>xF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9J}Vi2haG?7dxe^#7?7fW}K)kU7ENO+A>QP706| zS6+(fkX2jz4d<;>7mLL)G(K`vt0K!n7lWs8it>qXT)uFxFGfx#*z!#%|9qwfXx=X;M1 rjAt+~`7K&E>k>FeSA4Y=qn`HEOmbNiN3(^!XXNZ~+5VC3^_2etdJ9xL diff --git a/LCARStrek/browser/appmenu-icons.png b/LCARStrek/browser/appmenu-icons.png new file mode 100644 index 0000000000000000000000000000000000000000..95461d0dfe1f0364b3ec3616ab49739d9296073f GIT binary patch literal 597 zcmeAS@N?(olHy`uVBq!ia0vp^0YGfP#0(^VcZ;R~DaPU;cPEB*=VV?2IXnSAA+D*q z=|E;fz=r?l8H^ZaZvrVQ3GxeOaCmkj4a7?NF_k$WhJzG6p978nD=T7j=I&2`&I{&Ri6X%ZBviMzEk*vFP zLt3leJCw>#4E?C-6Xv>Hpd|W3D9=r?E0xNYiU9|kFV4=dlX&pwk!nt()-2Aa)DNF)%?}EhcPTuI(SXXrX^RO zl+1EcocMM3x|Pe0EPJS$_lme*UAH(;yiA{_2-xBkyo4n*}Y?TdGgJ z(0H@h{?P+|3AxQbRU#+#-P(1hB<1PELkgNlwW;vwjtTq+ta2Zp+8Qu#%d9zm!5S)?eqJ%XI^~9Gb9j-ZhuXsCbMBwx cS3Uj97#njkR7keT5E!Qnp00i_>zopr09Dxk<^TWy literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 78e49362..51d7fe4b 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -241,25 +241,70 @@ menubar { -moz-image-region: rect(0 16px 16px 0); } +#appmenu-cut:hover:not([disabled="true"]), +#appmenu-editmenu-cut:hover:not([disabled="true"]) { + -moz-image-region: rect(16px 16px 32px 0); +} + +#appmenu-cut[disabled="true"], +#appmenu-editmenu-cut[disabled="true"] { + -moz-image-region: rect(32px 16px 48px 0); +} + #appmenu-copy, #appmenu-editmenu-copy { -moz-image-region: rect(0 32px 16px 16px); } +#appmenu-copy:hover:not([disabled="true"]), +#appmenu-editmenu-copy:hover:not([disabled="true"]) { + -moz-image-region: rect(16px 32px 32px 16px); +} + +#appmenu-copy[disabled="true"], +#appmenu-editmenu-copy[disabled="true"] { + -moz-image-region: rect(32px 32px 48px 16px); +} + #appmenu-paste, #appmenu-editmenu-paste { -moz-image-region: rect(0 48px 16px 32px); } +#appmenu-paste:hover:not([disabled="true"]), +#appmenu-editmenu-paste:hover:not([disabled="true"]) { + -moz-image-region: rect(16px 48px 32px 32px); +} + +#appmenu-paste[disabled="true"], +#appmenu-editmenu-paste[disabled="true"] { + -moz-image-region: rect(32px 48px 48px 32px); +} + #appmenu_print, #appmenu_print_popup { -moz-image-region: rect(0 64px 16px 48px); } +#appmenu_print:hover:not([disabled="true"]), +#appmenu_print[open="true"], +#appmenu_print_popup:hover:not([disabled="true"]) { + -moz-image-region: rect(16px 64px 32px 48px); +} + +#appmenu-print[disabled="true"], +#appmenu_print_popup[disabled="true"] { + -moz-image-region: rect(32px 64px 48px 48px); +} + #appmenu-quit { -moz-image-region: rect(0 80px 16px 64px); } +#appmenu-quit:hover { + -moz-image-region: rect(16px 80px 32px 64px); +} + #appmenu-edit-label { -moz-appearance: none; background: transparent; @@ -667,12 +712,28 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-image-region: rect(0, 54px, 18px, 36px); } +#stop-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 54px, 36px, 36px); +} + +#stop-button[disabled="true"] { + -moz-image-region: rect(36px, 54px, 54px, 36px); +} + /* reload button */ #reload-button { -moz-image-region: rect(0, 72px, 18px, 54px); } +#reload-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 72px, 36px, 54px); +} + +#reload-button[disabled="true"] { + -moz-image-region: rect(36px, 72px, 54px, 54px); +} + /* home button */ #home-button.bookmark-item { @@ -682,6 +743,14 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-image-region: rect(0, 90px, 18px, 72px); } +#home-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 90px, 36px, 72px); +} + +#home-button[disabled="true"] { + -moz-image-region: rect(36px, 90px, 54px, 72px); +} + /* tabview button */ #tabview-button, @@ -735,12 +804,28 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-image-region: rect(0, 108px, 18px, 90px); } +#downloads-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 108px, 36px, 90px); +} + +#downloads-button[disabled="true"] { + -moz-image-region: rect(36px, 108px, 54px, 90px); +} + /* history sidebar button */ #history-button { -moz-image-region: rect(0, 126px, 18px, 108px); } +#history-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 126px, 36px, 108px); +} + +#history-button[disabled="true"] { + -moz-image-region: rect(36px, 126px, 54px, 108px); +} + /* bookmark sidebar & menu buttons */ #bookmarks-button, @@ -756,48 +841,115 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-box-orient: horizontal; } +#bookmarks-button:not([disabled="true"]):hover, +#bookmarks-menu-button[open="true"], +#bookmarks-menu-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 144px, 36px, 126px); +} + +#bookmarks-button[disabled="true"], +#bookmarks-menu-button[disabled="true"] { + -moz-image-region: rect(36px, 144px, 54px, 126px); +} + /* print button */ #print-button { -moz-image-region: rect(0, 162px, 18px, 144px); } +#print-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 162px, 36px, 144px); +} + +#print-button[disabled="true"] { + -moz-image-region: rect(36px, 162px, 54px, 144px); +} + /* toolbar new tab button */ #new-tab-button { -moz-image-region: rect(0, 180px, 18px, 162px); } +#print-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 162px, 36px, 144px); +} + +#print-button[disabled="true"] { + -moz-image-region: rect(36px, 162px, 54px, 144px); +} + /* new window button */ #new-window-button { -moz-image-region: rect(0, 198px, 18px, 180px); } +#new-window-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 198px, 36px, 180px); +} + +#new-window-button[disabled="true"] { + -moz-image-region: rect(36px, 198px, 54px, 180px); +} + /* cut button */ #cut-button { -moz-image-region: rect(0, 216px, 18px, 198px); } +#cut-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 216px, 36px, 198px); +} + +#cut-button[disabled="true"] { + -moz-image-region: rect(36px, 216px, 54px, 198px); +} + /* copy button */ #copy-button { -moz-image-region: rect(0, 234px, 18px, 216px); } +#copy-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 234px, 36px, 216px); +} + +#copy-button[disabled="true"] { + -moz-image-region: rect(36px, 234px, 54px, 216px); +} + /* paste button */ #paste-button { -moz-image-region: rect(0, 252px, 18px, 234px); } +#paste-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 252px, 36px, 234px); +} + +#paste-button[disabled="true"] { + -moz-image-region: rect(36px, 252px, 54px, 234px); +} + /* fullscreen button */ #fullscreen-button { -moz-image-region: rect(0, 270px, 18px, 252px); } +#fullscreen-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 270px, 36px, 252px); +} + +#fullscreen-button[disabled="true"] { + -moz-image-region: rect(36px, 270px, 54px, 252px); +} + /* zoom controls */ #zoom-out-button { @@ -830,6 +982,22 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { border-bottom-left-radius: 0; } +#zoom-out-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 288px, 36px, 270px); +} + +#zoom-out-button[disabled="true"] { + -moz-image-region: rect(36px, 288px, 54px, 270px); +} + +#zoom-in-button:not([disabled="true"]):hover { + -moz-image-region: rect(18px, 306px, 36px, 288px); +} + +#zoom-in-button[disabled="true"] { + -moz-image-region: rect(36px, 306px, 54px, 288px); +} + /* sync button */ #sync-button { @@ -841,12 +1009,20 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-image-region: rect(0, 18px, 18px, 0); } +#sync-button[disabled="true"] { + -moz-image-region: rect(36px, 324px, 54px, 306px); +} + /* feed button */ #feed-button { -moz-image-region: rect(0, 342px, 18px, 324px); } +#feed-button[disabled="true"] { + -moz-image-region: rect(36px, 342px, 54px, 324px); +} + /* ::::: fullscreen window controls ::::: */ #TabsToolbar > #window-controls { -- 2.43.0