Customize background in Firefox Responsive Design View -


is there way customize screen background in firefox "responsive design view"? insert image (for instance blank iphone template) , use screen recording software simulate mobile demo. far tell there no way change background, either via css or other addons.

i looked @ firefox os simulator, doesn't cover needs (and can't use addons firebug or agent spoofer).

change black background....

without knowing have tried, have guess @ need answer question. need know selectors are? need informed how apply css? trying make add-on makes such modifications?

without more information, here general information css used style this:

responsive mode styled css in chrome://browser/content/browser.css , chrome://browser/skin/browser.css. both of these located within omni.ja (zip archive filename extension changed .ja) file in browser directory. within archive above files chrome/browser/content/browser/browser.css, chrome/browser/skin/classic/browser/browser.css, , chrome/browser/skin/classic/aero/browser/browser.css.

the background appears <vbox> , have class="browsercontainer" attribute: responsivemode="true".

as of firefox 36.0.4 relevant css (from chrome://browser/skin/browser.css):

.browsercontainer[responsivemode] {   background-color: #222;   padding: 0 20px 20px 20px; } 

there multiple ways go making changes this. 1 way extract contents of omni.ja file, make modifications appropriate browser.css file put files archive named omni.ja , put archive in browser directory in place of original file. method create add-on overrides chrome://browser/skin/browser.css file (this can done using override instruction in add-on's chrome.manifest file. yet method add-on directly apply new style in 1 of multiple different ways.

however, easiest create [profile directtory]/chrome/userchrome.css file css desire use (you have create chrome directory in profile directory). example, following result in red background responsive design view:

/*  * edit file , copy userchrome.css  * profile-directory/chrome/  */ /*  * file can used customize of mozilla's user interface  * should consider using !important on rules want  * override default settings.  */ /*  * not remove @namespace line -- it's required correct functioning  */ /* set default namespace xul */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");   .browsercontainer[responsivemode], vbox[anonid=browsercontainer][responsivemode]{     background-color:red !important; } 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -