From: Robert Kaiser Date: Fri, 2 May 2014 21:11:42 +0000 (+0200) Subject: third part of syncing LCARStrek with Firefox 29 windows theme changes X-Git-Tag: LCARStrek-2.26~5 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=373d8c697472f21b0bee41ef00f5d90ae26bd54d;p=themes.git third part of syncing LCARStrek with Firefox 29 windows theme changes --- diff --git a/LCARStrek/browser/devtools/close@2x.png b/LCARStrek/browser/devtools/close@2x.png new file mode 100644 index 00000000..89423836 Binary files /dev/null and b/LCARStrek/browser/devtools/close@2x.png differ diff --git a/LCARStrek/browser/devtools/command-console@2x.png b/LCARStrek/browser/devtools/command-console@2x.png new file mode 100644 index 00000000..6b155749 Binary files /dev/null and b/LCARStrek/browser/devtools/command-console@2x.png differ diff --git a/LCARStrek/browser/devtools/command-eyedropper.png b/LCARStrek/browser/devtools/command-eyedropper.png new file mode 100644 index 00000000..6b95ad1c Binary files /dev/null and b/LCARStrek/browser/devtools/command-eyedropper.png differ diff --git a/LCARStrek/browser/devtools/command-eyedropper@2x.png b/LCARStrek/browser/devtools/command-eyedropper@2x.png new file mode 100644 index 00000000..6cd4fdb9 Binary files /dev/null and b/LCARStrek/browser/devtools/command-eyedropper@2x.png differ diff --git a/LCARStrek/browser/devtools/command-paintflashing@2x.png b/LCARStrek/browser/devtools/command-paintflashing@2x.png new file mode 100644 index 00000000..9eee5caa Binary files /dev/null and b/LCARStrek/browser/devtools/command-paintflashing@2x.png differ diff --git a/LCARStrek/browser/devtools/command-pick@2x.png b/LCARStrek/browser/devtools/command-pick@2x.png new file mode 100644 index 00000000..0afb2de8 Binary files /dev/null and b/LCARStrek/browser/devtools/command-pick@2x.png differ diff --git a/LCARStrek/browser/devtools/command-responsivemode@2x.png b/LCARStrek/browser/devtools/command-responsivemode@2x.png new file mode 100644 index 00000000..3821a699 Binary files /dev/null and b/LCARStrek/browser/devtools/command-responsivemode@2x.png differ diff --git a/LCARStrek/browser/devtools/command-scratchpad@2x.png b/LCARStrek/browser/devtools/command-scratchpad@2x.png new file mode 100644 index 00000000..f5df608c Binary files /dev/null and b/LCARStrek/browser/devtools/command-scratchpad@2x.png differ diff --git a/LCARStrek/browser/devtools/command-tilt@2x.png b/LCARStrek/browser/devtools/command-tilt@2x.png new file mode 100644 index 00000000..79d2db2e Binary files /dev/null and b/LCARStrek/browser/devtools/command-tilt@2x.png differ diff --git a/LCARStrek/browser/devtools/dark-theme.css b/LCARStrek/browser/devtools/dark-theme.css index 61e2b705..b485b7a1 100644 --- a/LCARStrek/browser/devtools/dark-theme.css +++ b/LCARStrek/browser/devtools/dark-theme.css @@ -422,18 +422,27 @@ devtools-menulist:-moz-focusring, /* Close button */ .devtools-closebutton { - list-style-image: url("chrome://global/skin/icons/close-button.gif"); min-width: 16px; width: 16px; } -.devtools-closebutton > .toolbarbutton-text { - display: none; +.devtools-closebutton > image { + width: 16px; + height: 16px; + -moz-appearance: none; + background-size: 32px 16px; + background-image: url("chrome://browser/skin/devtools/close@2x.png"); + background-position: 0 center; + background-repeat: no-repeat; } -.devtools-closebutton:hover, -.devtools-closebutton:hover:active { - list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); +.devtools-closebutton:hover > image, +.devtools-closebutton:hover:active > image { + background-position: -16px center; +} + +.devtools-closebutton > .toolbarbutton-text { + display: none; } /* In-tools sidebar */ @@ -526,31 +535,28 @@ devtools-menulist:-moz-focusring, /* padding: 1px 3px; */ } -#toolbox-dock-bottom { - list-style-image: url("chrome://browser/skin/devtools/dock-bottom.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); +#toolbox-dock-buttons > toolbarbutton > image { + width: 16px; + height: 16px; + background-size: 32px 16px; + background-position: 0 center; + background-repeat: no-repeat; } - -#toolbox-dock-bottom:hover { - -moz-image-region: rect(0px, 32px, 16px, 16px); + +#toolbox-dock-buttons > toolbarbutton:hover > image { + background-position: -16px center; } - -#toolbox-dock-side { - list-style-image: url("chrome://browser/skin/devtools/dock-side.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); + +#toolbox-dock-bottom > image { + background-image: url("chrome://browser/skin/devtools/dock-bottom@2x.png"); } - -#toolbox-dock-side:hover { - -moz-image-region: rect(0px, 32px, 16px, 16px); -} - -#toolbox-dock-window { - list-style-image: url("chrome://browser/skin/devtools/undock.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); + +#toolbox-dock-side > image { + background-image: url("chrome://browser/skin/devtools/dock-side@2x.png"); } -#toolbox-dock-window:hover { - -moz-image-region: rect(0px, 32px, 16px, 16px); +#toolbox-dock-window > image { + background-image: url("chrome://browser/skin/devtools/undock@2x.png"); } #toolbox-dock-window, @@ -579,67 +585,46 @@ devtools-menulist:-moz-focusring, .command-button:hover:active { } -#command-button-paintflashing { - list-style-image: url("chrome://browser/skin/devtools/command-paintflashing.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); -} - -#command-button-paintflashing:hover, -#command-button-paintflashing:hover:active, -#command-button-paintflashing[checked=true] { - -moz-image-region: rect(0px, 32px, 16px, 16px); -} - -#command-button-responsive { - list-style-image: url("chrome://browser/skin/devtools/command-responsivemode.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); -} - -#command-button-responsive:hover, -#command-button-responsive:hover:active, -#command-button-responsive[checked=true] { - -moz-image-region: rect(0px, 32px, 16px, 16px); +.command-button > image { + width: 16px; + height: 16px; + background-size: 32px 16px; + background-position: 0 center; + background-repeat: no-repeat; } -#command-button-tilt { - list-style-image: url("chrome://browser/skin/devtools/command-tilt.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); +.command-button:hover > image, +.command-button:hover:active > image, +.command-button[checked=true] > image { + background-position: -16px center; } -#command-button-tilt:hover, -#command-button-tilt:hover:active, -#command-button-tilt[checked=true] { - -moz-image-region: rect(0px, 32px, 16px, 16px); +#command-button-paintflashing > image { + background-image: url("chrome://browser/skin/devtools/command-paintflashing@2x.png"); } -#command-button-scratchpad { - list-style-image: url("chrome://browser/skin/devtools/command-scratchpad.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); +#command-button-responsive > image { + background-image: url("chrome://browser/skin/devtools/command-responsivemode@2x.png"); } -#command-button-scratchpad:hover, -#command-button-scratchpad:hover:active { - -moz-image-region: rect(0px, 32px, 16px, 16px); +#command-button-tilt > image { + background-image: url("chrome://browser/skin/devtools/command-tilt@2x.png"); } -#command-button-pick { - list-style-image: url("chrome://browser/skin/devtools/command-pick.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); +#command-button-scratchpad > image { + background-image: url("chrome://browser/skin/devtools/command-scratchpad@2x.png"); } -#command-button-pick:hover, -#command-button-pick:hover:active { - -moz-image-region: rect(0px, 32px, 16px, 16px); +#command-button-pick > image { + background-image: url("chrome://browser/skin/devtools/command-pick@2x.png"); } -#command-button-splitconsole { - list-style-image: url("chrome://browser/skin/devtools/command-console.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); +#command-button-splitconsole > image { + background-image: url("chrome://browser/skin/devtools/command-console@2x.png"); } -#command-button-splitconsole:hover, -#command-button-splitconsole:hover:active { - -moz-image-region: rect(0px, 32px, 16px, 16px); +#command-button-eyedropper > image { + background-image: url("chrome://browser/skin/devtools/command-eyedropper@2x.png"); } /* Tabs */ diff --git a/LCARStrek/browser/devtools/dock-bottom@2x.png b/LCARStrek/browser/devtools/dock-bottom@2x.png new file mode 100644 index 00000000..4d04d91b Binary files /dev/null and b/LCARStrek/browser/devtools/dock-bottom@2x.png differ diff --git a/LCARStrek/browser/devtools/dock-side@2x.png b/LCARStrek/browser/devtools/dock-side@2x.png new file mode 100644 index 00000000..f1c5c86f Binary files /dev/null and b/LCARStrek/browser/devtools/dock-side@2x.png differ diff --git a/LCARStrek/browser/devtools/undock@2x.png b/LCARStrek/browser/devtools/undock@2x.png new file mode 100644 index 00000000..2596b5e2 Binary files /dev/null and b/LCARStrek/browser/devtools/undock@2x.png differ