+ Made the dev menu less visually intrusive and more self descriptive
authorAza Raskin <aza@mozilla.com>
Thu, 13 May 2010 13:56:54 -0700
changeset 49874 07f99d8fe249813a6dc0ffa9d05edef0695c72ca
parent 49873 581defb289f7569e62dd5327cb1811a3e48cb254
child 49875 55b902647dee622f00d507edfe08c0d26ba5164b
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
+ Made the dev menu less visually intrusive and more self descriptive
browser/base/content/tabcandy/app/ui.js
--- a/browser/base/content/tabcandy/app/ui.js
+++ b/browser/base/content/tabcandy/app/ui.js
@@ -538,27 +538,27 @@ UIClass.prototype = {
 
     this.pageBounds = Items.getPageBounds();
   },
   
   // ----------
   addDevMenu: function() {
     var self = this;
     
-    var html = '<select style="position:absolute; top:5px;">'; 
+    var html = '<select style="position:absolute; bottom:5px; right:5px; opacity:.2;">'; 
     var $select = $(html)
       .appendTo('body')
       .change(function () {
         var index = $(this).val();
         commands[index].code();
         $(this).val(0);
       });
       
     var commands = [{
-      name: '*', 
+      name: 'dev menu', 
       code: function() {
       }
     }, {
       name: 'home', 
       code: function() {
         location.href = '../../index.html';
       }
     }, {