From 373d8c697472f21b0bee41ef00f5d90ae26bd54d Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 2 May 2014 23:11:42 +0200 Subject: [PATCH] third part of syncing LCARStrek with Firefox 29 windows theme changes --- LCARStrek/browser/devtools/close@2x.png | Bin 0 -> 272 bytes .../browser/devtools/command-console@2x.png | Bin 0 -> 204 bytes .../browser/devtools/command-eyedropper.png | Bin 0 -> 237 bytes .../devtools/command-eyedropper@2x.png | Bin 0 -> 302 bytes .../devtools/command-paintflashing@2x.png | Bin 0 -> 260 bytes .../browser/devtools/command-pick@2x.png | Bin 0 -> 277 bytes .../devtools/command-responsivemode@2x.png | Bin 0 -> 229 bytes .../devtools/command-scratchpad@2x.png | Bin 0 -> 238 bytes .../browser/devtools/command-tilt@2x.png | Bin 0 -> 277 bytes LCARStrek/browser/devtools/dark-theme.css | 127 ++++++++---------- LCARStrek/browser/devtools/dock-bottom@2x.png | Bin 0 -> 180 bytes LCARStrek/browser/devtools/dock-side@2x.png | Bin 0 -> 178 bytes LCARStrek/browser/devtools/undock@2x.png | Bin 0 -> 207 bytes 13 files changed, 56 insertions(+), 71 deletions(-) create mode 100644 LCARStrek/browser/devtools/close@2x.png create mode 100644 LCARStrek/browser/devtools/command-console@2x.png create mode 100644 LCARStrek/browser/devtools/command-eyedropper.png create mode 100644 LCARStrek/browser/devtools/command-eyedropper@2x.png create mode 100644 LCARStrek/browser/devtools/command-paintflashing@2x.png create mode 100644 LCARStrek/browser/devtools/command-pick@2x.png create mode 100644 LCARStrek/browser/devtools/command-responsivemode@2x.png create mode 100644 LCARStrek/browser/devtools/command-scratchpad@2x.png create mode 100644 LCARStrek/browser/devtools/command-tilt@2x.png create mode 100644 LCARStrek/browser/devtools/dock-bottom@2x.png create mode 100644 LCARStrek/browser/devtools/dock-side@2x.png create mode 100644 LCARStrek/browser/devtools/undock@2x.png diff --git a/LCARStrek/browser/devtools/close@2x.png b/LCARStrek/browser/devtools/close@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..89423836b70a3abb04e27f174d4ef47702cf7e8a GIT binary patch literal 272 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR^nAEckyO$YE%hGG!Hz zVk`;r3ubV5b|VeMN%D4gVd!9$^#F1>3p^r=85p>QL70(Y)*K0-AbW|YuPggKRwiK! z)0?hezXF9CJY5_^G|umxu#xwG0uPJ*#EeUuS%OnqL@MU@ICa*Y`r#|Syl=L+dQAee z{Z&?xrwn{guQgUN{bsrKc7a4f-D`ydf)DP9?fA}6SM*F*=A6pLINy^uCDw;*UYGNP zC%}ix(@C*YWRgy+caCaj{)DJWCbqx-Mf|Fg((9csHYMzbyKTWf^FWEn2{(amVeoYI Kb6Mw<&;$T1^;)C= literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/command-console@2x.png b/LCARStrek/browser/devtools/command-console@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..6b1557498def93e9d4a17d046b9627d8871404ce GIT binary patch literal 204 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR^xv2vT;W^A5=(~!R=tPw?Wh?Su}z{l%s(&!-3T$fhi_{ oF>DT#M3e!K>I=T6Iz0(05pfe)78&qol`;+0HruFjsO4v literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/command-eyedropper.png b/LCARStrek/browser/devtools/command-eyedropper.png new file mode 100644 index 0000000000000000000000000000000000000000..6b95ad1c8df59772a529f97a45bf5844cb0d1c30 GIT binary patch literal 237 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et#0(_4@}`~wQk(%kA+81t3xLf3=NTlJSp|SB z#*!evUYh7ML)4{%m{zdt^*3FFVdQ&MBb@04jAt(*OVf literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/command-eyedropper@2x.png b/LCARStrek/browser/devtools/command-eyedropper@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..6cd4fdb980abb1c54a71a2adc96f71527a86fd79 GIT binary patch literal 302 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR^a(DuB%Y=NZxs%0B>E zj3q&S!3+-1Zlr-YN#5=*3>~bp9w6lf9+AZi4BWyX%*Zfnjs#GUy~NYkmHi$olZcK~ zWGQD2P-vc~i(`n!`Lz=bxttXRT*}3B);yMNTK>bgiuqk_-P~Xgt&dX})6JH6e$N$? zJ69~`y3WeXV5{Jh&Y4!v_O7$dKgxKGses*p=`Z8t1@0*ZmmVEEDa|fd%e+M0(N<8C zUHLRa3}enS*^Bc8PA=ZJZP8SBjTWwL25X+(T6{Etd(Xs3ZP&G@Lc8nBmp{6n=G5Ba pv|>U4ho}(O%0Eq)^nPFE-~PxlvGnR$TcArBJYD@<);T3K0RY^iWnKUP literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/command-paintflashing@2x.png b/LCARStrek/browser/devtools/command-paintflashing@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..9eee5caacbd8ea6afabf63f2e678bc0441ec57f4 GIT binary patch literal 260 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR_^O5`fJA=NW!=yO{%7 zj3q&S!3+-1Zlr-YN#5=*3>~bp9zYIffk$L90|U1(2s1Lwnj--eWH0gbb!ETD$|Ry> z_EpbA5GYjQ>EaloasKQ%L#_q`9*2t&FD~8nuHcfrBW>_~V&A+)DU;@0TJ|<=;n9=( zS>zO15>$$(S*{h0(YgF9zHws6uhK0a literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/command-pick@2x.png b/LCARStrek/browser/devtools/command-pick@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0afb2de8fe8423db070207d3c85974eee59076c4 GIT binary patch literal 277 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR>=_E&!ST&og{|!a5nq zVk`;r3ubV5b|VeMN%D4gVd!9$^#Ca^@Q5sCVBi)8VMc~ob0mO*>?NMQuI%?%nM7n{ zCBj$f0EJpTT^vI+&hNc=kn^ws59@{d4GW*lQ?+t+3pj8~eesMrJ$@eXswUF6r zp^zT8#gu}oHnER9J&|_hCuXF67TB}#TSL&#Pu~6iyd09J%l~`JT~z41gnPbqH#VsL4jjOSmQyaYXJrv3f>8fHYh7ML)50LT#kH}&M25w;xW@MN(M*=9wUgGKN%6^ZPNraa{ zqvPpQpirEri(`n!`MDQ1axoZkFkjG#{bM!#_x>|~Pn}-6+I6Rbh}?~=Mmxq;4Xq)6 zn`J`;&wGW69Z)`@%$nn_>&Lp~WA#U-zp}Tjxof5w>{RCY)yVBr7TE6|?$6q68TH~5 Y({BGR-sC^tAfGXKy85}Sb4q9e0N0X7VE_OC literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/command-tilt@2x.png b/LCARStrek/browser/devtools/command-tilt@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..79d2db2e4f90160be6f25ffac5e489158bea6a8d GIT binary patch literal 277 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR{Yf84L{n&oiu@oe~UW zF_r}R1v5B2yO9RsBze2LFm$lWdH^|`1s;*b3=G`DAk4@xYmNj^kiEpy*OmPqE0c(T z#-l(*km;?SE{-7@=l4#u6mn7IVDnClDS#?W{Rr%f)o2ct% zFRn$EvT9~WXMPjBAnJLFc_%}YORtn7uumZ5^3QHH^S z>3BlC0Ncm>32Y~JPW1`dnR22}RC>W8o(%EWRDU(+RQvy@zn}km!!Br7*zC_+yPSaz OV(@hJb6Mw<&;$V3U{_lJ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..4d04d91bd9dce7b71d0919533c58b43f4c4f9654 GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR=#l6#kzFau~R-KK}xw z7)yfuf*Bm1-ADs*lDyqr7&=&GJ%Aj}0*}aI1_o{+5N5n|x9$&6kiEpy*OmPqE0YK- z=gi*gomdKI;Vst06@Yk!TF0F#JCc~bp9zYIffk$L90|U1Z2s2)~TlWVj$X?><>&kwQl}UtE zvc>ASE>K9x)5S4F<9u?$0)7rwX12D_1czk|5j+|UV$zS8LOA%V7#O$~$1jw8o>UK1 O&EV_9-X; literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/undock@2x.png b/LCARStrek/browser/devtools/undock@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..2596b5e253fbd444daadc80d6cce3382c4556f7a GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR_CQF#JCcdsLB`s9x;TbtoKH?zz?Hzu+Qh)dwl36R1H)&t;ucLK6UG#xzL) literal 0 HcmV?d00001 -- 2.43.0