From 565f36fa8b40d8ef80b4e8040642b62819f9e353 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sat, 9 Aug 2014 03:57:43 -0700 Subject: [PATCH] third part of syncing LCARStrek with Firefox 31 windows theme changes --- LCARStrek/browser/devtools/canvasdebugger.css | 401 ++++++++++++++++++ .../browser/devtools/debugger-play@2x.png | Bin 0 -> 239 bytes .../browser/devtools/debugger-step-in@2x.png | Bin 0 -> 267 bytes .../browser/devtools/debugger-step-out@2x.png | Bin 0 -> 279 bytes .../devtools/debugger-step-over@2x.png | Bin 0 -> 297 bytes .../devtools/editor-debug-location@2x.png | Bin 0 -> 219 bytes 6 files changed, 401 insertions(+) create mode 100644 LCARStrek/browser/devtools/canvasdebugger.css create mode 100644 LCARStrek/browser/devtools/debugger-play@2x.png create mode 100644 LCARStrek/browser/devtools/debugger-step-in@2x.png create mode 100644 LCARStrek/browser/devtools/debugger-step-out@2x.png create mode 100644 LCARStrek/browser/devtools/debugger-step-over@2x.png create mode 100644 LCARStrek/browser/devtools/editor-debug-location@2x.png diff --git a/LCARStrek/browser/devtools/canvasdebugger.css b/LCARStrek/browser/devtools/canvasdebugger.css new file mode 100644 index 00000000..c1d69b38 --- /dev/null +++ b/LCARStrek/browser/devtools/canvasdebugger.css @@ -0,0 +1,401 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* Reload and waiting notices */ + +.notice-container { + margin-top: -50vh; + font-size: 120%; + + background-color: #000000; /* Toolbars */ + color: #FF9F00; /* Light foreground text */ +} + +#empty-notice > button { + min-width: 30px; + min-height: 28px; + margin: 0; + list-style-image: url("profiler-stopwatch.svg"); +} + +#empty-notice > button .button-text { + display: none; +} + +#import-notice { + font-size: 250%; + color: #FFCF00; +} + +/* Snapshots pane */ + +#snapshots-pane > tabs { + -moz-border-end: 1px solid; +} + +#snapshots-pane .devtools-toolbar { + -moz-border-end: 1px solid; + + -moz-border-end-color: #9C9CFF; /* Match the splitter color. */ +} + +#record-snapshot { + list-style-image: url("chrome://browser/skin/devtools/profiler-stopwatch.svg"); +} + +#record-snapshot[checked] { + list-style-image: url("chrome://browser/skin/devtools/profiler-stopwatch-checked.svg"); +} + +/* Snapshots items */ + +.snapshot-item-thumbnail { + image-rendering: -moz-crisp-edges; + background-image: linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848), linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848); + background-size: 12px 12px, 12px 12px; + background-position: 0px 0px, 6px 6px; + background-repeat: repeat, repeat; +} + +.snapshot-item-thumbnail[flipped=true] { + transform: scaleY(-1); +} + +.snapshot-item-thumbnail { + background-color: #000000; +} + +.snapshot-item-details { + -moz-padding-start: 6px; +} + +.snapshot-item-calls { + padding-top: 4px; + font-size: 80%; +} + +.snapshot-item-save { + padding-bottom: 2px; + font-size: 90%; +} + +.snapshot-item-calls, +.snapshot-item-save { + color: #A09090; /* Foreground (Text) - Grey */ +} + +.snapshot-item-save { + text-decoration: underline; + cursor: pointer; +} + +.snapshot-item-save[disabled=true] { + text-decoration: none; + pointer-events: none; +} + +.snapshot-item-footer[saving]::before { + display: inline-block; + content: ""; + background: url("chrome://global/skin/icons/loading.gif") center no-repeat; + width: 16px; + height: 16px; + margin-top: -2px; + -moz-margin-end: 4px; +} + +#snapshots-list .selected label { + /* Text inside a selected item should not be custom colored. */ + color: inherit !important; +} + +/* Debugging pane controls */ + +#debugging-controls .devtools-toolbarbutton > .toolbarbutton-icon { + width: 16px; + height: 16px; +} + +#resume { + list-style-image: url("debugger-play.png"); + -moz-image-region: rect(0px,32px,16px,16px); +} + +#step-over { + list-style-image: url("debugger-step-over.png"); +} + +#step-in { + list-style-image: url("debugger-step-in.png"); +} + +#step-out { + list-style-image: url("debugger-step-out.png"); +} + +@media (min-resolution: 2dppx) { + #resume { + list-style-image: url(debugger-play@2x.png); + -moz-image-region: rect(0px,64px,32px,32px); + } + + #step-over { + list-style-image: url(debugger-step-over@2x.png); + } + + #step-in { + list-style-image: url(debugger-step-in@2x.png); + } + + #step-out { + list-style-image: url(debugger-step-out@2x.png); + } +} + +#debugging-controls > toolbarbutton { + transition: opacity 0.15s ease-in-out; +} + +#debugging-controls > toolbarbutton[disabled=true] { + opacity: 0.5; +} + +#calls-slider { + -moz-padding-end: 24px; +} + +#calls-slider .scale-slider { + margin: 0; +} + +#debugging-toolbar-sizer-button { + /* This button's only purpose in life is to make the + container .devtools-toolbar have the right height. */ + visibility: hidden; + min-width: 1px; +} + +/* Calls list pane */ + +#calls-list .side-menu-widget-container { + background: transparent; +} + +#calls-list .side-menu-widget-item { + padding: 0; +} + +/* Calls list items */ + +#calls-list .side-menu-widget-item { + border-color: #504848; + border-bottom-color: transparent; +} + +.call-item-view:hover { + background-color: #402800; +} + +.call-item-view[draw-call] { + background-color: #403800; +} + +.call-item-view[interesting-call] { + background-color: #272740; +} + +.call-item-gutter { + width: calc(3em + 22px); + -moz-padding-start: 22px; + -moz-padding-end: 4px; + padding-top: 2px; + padding-bottom: 2px; + -moz-border-end: 1px solid; + -moz-margin-end: 6px; +} + +.selected .call-item-gutter { + background-image: url("editor-debug-location.png"); + background-repeat: no-repeat; + background-position: 6px center; + background-size: 12px; +} + +@media (min-resolution: 2dppx) { + .selected .call-item-gutter { + background-image: url("editor-debug-location@2x.png"); + } +} + +.call-item-gutter { + background-color: #A09090; + color: #000000; + border-color: #000; +} + +.call-item-index { + text-align: end; +} + +.call-item-context { + color: #FFCF00; /* Highlight Orange */ +} + +.call-item-name { + color: #9C9CFF; /* Highlight Blue */ +} + +.call-item-location { + -moz-padding-start: 2px; + -moz-padding-end: 6px; + text-align: end; + cursor: pointer; +} + +.call-item-location:hover { + color: #FFCF00; /* Highlight Blue */ +} + +.call-item-view:hover .call-item-location, +.call-item-view[expanded] .call-item-location { + text-decoration: underline; +} + +.call-item-location { + border-color: #A09090; + color: #9C9CFF; /* Highlight Blue-Grey */ +} + +.call-item-stack { + -moz-padding-start: calc(3em + 22px); + padding-bottom: 10px; +} + +.call-item-stack { + background: #403800; +} + +.call-item-stack-fn { + padding-top: 2px; + padding-bottom: 2px; +} + +.call-item-stack-fn-location { + -moz-padding-start: 2px; + -moz-padding-end: 6px; + text-align: end; + cursor: pointer; + text-decoration: underline; +} + +.call-item-stack-fn-name { + color: #A09090; /* Content (Text) - Light */ +} + +.theme-dark .call-item-stack-fn-location { + color: #FF9F00; /* Highlight Blue-Grey */ +} + +.theme-dark .call-item-stack-fn-location:hover { + color: #9C9CFF; /* Highlight Blue */ +} + +#calls-list .selected .call-item-contents > label:not(.call-item-gutter) { + /* Text inside a selected item should not be custom colored. */ + color: inherit !important; +} + +/* Rendering preview */ + +#screenshot-container { + background-image: linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848), linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848); + background-size: 30px 30px, 30px 30px; + background-position: 0px 0px, 15px 15px; + background-repeat: repeat, repeat; +} + +#screenshot-container { + background-color: #000000; +} + +@media (min-width: 701px) { + #screenshot-container { + width: 30vw; + max-width: 50vw; + min-width: 100px; + } +} + +@media (max-width: 700px) { + #screenshot-container { + height: 40vh; + max-height: 70vh; + min-height: 100px; + } +} + +#screenshot-image { + background-image: -moz-element(#screenshot-rendering); + background-size: contain; + background-position: center, center; + background-repeat: no-repeat; +} + +#screenshot-image[flipped=true] { + transform: scaleY(-1); +} + +#screenshot-dimensions { + padding-top: 4px; + padding-bottom: 4px; + text-align: center; +} + +#screenshot-dimensions { + background-color: #402800; +} + +/* Snapshot filmstrip */ + +#snapshot-filmstrip { + overflow: hidden; +} + +#snapshot-filmstrip { + border-top: 1px solid #000; + color: #FF9F00; /* Light foreground text */ +} + +.filmstrip-thumbnail { + image-rendering: -moz-crisp-edges; + background-image: linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848), linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848); + background-size: 12px 12px, 12px 12px; + background-position: 0px -1px, 6px 5px; + background-repeat: repeat, repeat; + background-origin: content-box; + cursor: pointer; + padding-top: 1px; + padding-bottom: 1px; + transition: opacity 0.1s ease-in-out; +} + +.filmstrip-thumbnail[flipped=true] { + transform: scaleY(-1); +} + +.filmstrip-thumbnail { + background-color: #000000; +} + +.filmstrip-thumbnail { + -moz-border-end: 1px solid #000; +} + +#snapshot-filmstrip > .filmstrip-thumbnail:hover, +#snapshot-filmstrip:not(:hover) > .filmstrip-thumbnail[highlighted] { + border: 1px solid #9C9CFF; /* Highlight Blue */ + margin: 0 0 0 -1px; + padding: 0; + opacity: 0.66; +} diff --git a/LCARStrek/browser/devtools/debugger-play@2x.png b/LCARStrek/browser/devtools/debugger-play@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..59bbcd5fe8903204bc2bce628c0699b47beedbb3 GIT binary patch literal 239 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR{}NQ~;U(&oiVhVB-L? z7)yfuf*Bm1-ADs*lDyqr7&=&GJwVC}JR*x37`TN&n2}-D90{Nxdx@v7EBieTPA&xl z@gS!hpisQ0i(`n!`Mno5@*XhYU~%Z5CaCe}cZG;ox2CY>e@(firo5LplM{NJH_p&M zm^QB|i8CZf$C0C}fnQ9KWwrrpKIegL{3?npt_SqDsNdUCJKJtX|Ga&3*5BuwQg?{C akU8SB;aB_Q`*lF87(8A5T-G@yGywqhAVkIh literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/debugger-step-in@2x.png b/LCARStrek/browser/devtools/debugger-step-in@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..802d7cb5fdf505e089c67de63086eb3afb8804e4 GIT binary patch literal 267 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR|eBDuB%Y=NZ~bp9w6lf9+AZi4BWyX%*Zfnjs#GUy~NYkmHi$ECzp!) zhqp}YfkM@uE{-7@=l7o9$a_G6hsA-tQ>}Jd0+*Xd-kqFh8mmC`o<)t3l<`uk~kAT^3}0S;hF;EZ+Tw z|GxP_&R;jN^xj#0EGxxEH%u{xc^l7$2~bp9w6lf9+AZi4BWyX%*Zfnjs#GUy~NYkmHi$ECzmSs zZM}G2pisM~i(`n!`Mu{iavm|@VGR&9lzExoIs1_EjuZFQ7w<5sKNY-2-{Yatk=_r? zp7Ck^d;4Ea+b}=S+xJD&Gy@iQrp3z_sFgT&>svk(pJ8jyUiH`N0TWk2yW$MpH-;j< z&XvcaLe?&AQfv;qIPv1j#}kfQ&N#rLwn22l+`69SSsLLNL}whh_TkiTW~s0CdQ%>i R=K!6=;OXk;vd$@?2>=3PUBLhV literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/debugger-step-over@2x.png b/LCARStrek/browser/devtools/debugger-step-over@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..f005e9f41d5e8cb7e329922301b486fa6a95d3ef GIT binary patch literal 297 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q<8{+LR^ivYyvVF85#edXXr0| zUJc@u1o;IsI6S+N2I3@nySp%Su*!M>Ih+L^k;M!Q+`=Ht$S`Y;1W=H@#M9T6{T>G= zm#X#O@A(UXLeo55978nDADw8($E+y8{JljZD0bE#WqXTx4u!wt=N)05V7Beys^D8K z$1a^P+nw-j{bqL$`FFxDF3WdSFI8iRGGmD3Yx=fL+_6%t(I=g0rq_Werqel|IV?AB zSU4v0I~aZmxnb&ceve|jg6@GkcGDj3kvY6bmMQLv;RAlAAJ0Ezu3OZ!_3eZ-`~3~k kPuO}6zivHszV0P+u|(v{WBap$fi7h5boFyt=akR{0Bfmexc~qF literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/editor-debug-location@2x.png b/LCARStrek/browser/devtools/editor-debug-location@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..55b116f6c43463c2f259178453c526daae828607 GIT binary patch literal 219 zcmeAS@N?(olHy`uVBq!ia0vp^G9b*v3?%uJ&DntzXMj(L>uQDyhL)B&bN)+gH}3%o zGL{7S1v5B2yO9RsBze2LFm$lWdVrJ{ctjR6FmMZlFeAgPITAoY_7YEDSN3}xoLqWl z37bw`2MT$6x;Tb#TyH(Mk(WV%gT-Nb4YykXm-|9PMITKrksCkGnzsDEHgAQilc{)v zVQkX&Zf@SU54;l7#fAFZSC$|7+J9}{8(Zt5@OOVwm}jWly-o7mYy>ox!PC{xWt~$( F697iAKb`;p literal 0 HcmV?d00001 -- 2.35.3