From: Robert Kaiser Date: Sun, 4 Jul 2010 19:45:23 +0000 (+0200) Subject: add disabled state for findbar buttons X-Git-Tag: LCARStrek-2.1a2~1 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=0c8ed02756358926ad17b3e1dafc297c157b2e85;p=themes.git add disabled state for findbar buttons --- diff --git a/EarlyBlue/global/findBar.css b/EarlyBlue/global/findBar.css index 4090c12e..e5a4b249 100644 --- a/EarlyBlue/global/findBar.css +++ b/EarlyBlue/global/findBar.css @@ -17,6 +17,10 @@ findbar { -moz-image-region: rect(0px 16px 16px 0px); } +.findbar-find-next[disabled="true"] { + -moz-image-region: rect(16px 16px 32px 0px); +} + /* find-previous button */ .findbar-find-previous { @@ -24,6 +28,10 @@ findbar { -moz-image-region: rect(0px 32px 16px 16px); } +.findbar-find-previous[disabled="true"] { + -moz-image-region: rect(16px 32px 32px 16px); +} + /* highlight button */ .findbar-highlight { @@ -31,6 +39,10 @@ findbar { -moz-image-region: rect(0px 48px 16px 32px); } +.findbar-higlight[disabled="true"] { + -moz-image-region: rect(16px 48px 32px 32px); +} + .find-status-icon { list-style-image: none; margin-top: 0px; diff --git a/EarlyBlue/global/icons/find.png b/EarlyBlue/global/icons/find.png index 3cc1e572..272124a6 100644 Binary files a/EarlyBlue/global/icons/find.png and b/EarlyBlue/global/icons/find.png differ diff --git a/LCARStrek/global/findBar.css b/LCARStrek/global/findBar.css index 72174e9b..08fd3049 100644 --- a/LCARStrek/global/findBar.css +++ b/LCARStrek/global/findBar.css @@ -17,6 +17,10 @@ findbar { -moz-image-region: rect(0px 16px 16px 0px); } +.findbar-find-next[disabled="true"] { + -moz-image-region: rect(16px 16px 32px 0px); +} + /* find-previous button */ .findbar-find-previous { @@ -24,6 +28,10 @@ findbar { -moz-image-region: rect(0px 32px 16px 16px); } +.findbar-find-previous[disabled="true"] { + -moz-image-region: rect(16px 32px 32px 16px); +} + /* highlight button */ .findbar-highlight { @@ -31,6 +39,10 @@ findbar { -moz-image-region: rect(0px 48px 16px 32px); } +.findbar-higlight[disabled="true"] { + -moz-image-region: rect(16px 48px 32px 32px); +} + .find-status-icon { list-style-image: none; margin-top: 0px; diff --git a/LCARStrek/global/icons/find.png b/LCARStrek/global/icons/find.png index f0c7bed7..a0788b13 100644 Binary files a/LCARStrek/global/icons/find.png and b/LCARStrek/global/icons/find.png differ