Bug 901454 - The deck added in bug 895543 causes the source editor to not scroll properly, r=fitzgen
authorVictor Porof <vporof@mozilla.com>
Tue, 06 Aug 2013 17:00:52 +0300
changeset 149526 b45873908380ed181e4e31df0949d9e408250dd7
parent 149525 90282bb1cb8f06e2d342d1e4c17cce153435b342
child 149527 a46b44af697fbfa9170ccc28bb8769f085fe2fde
push idunknown
push userunknown
push dateunknown
reviewersfitzgen
bugs901454, 895543
milestone26.0a1
Bug 901454 - The deck added in bug 895543 causes the source editor to not scroll properly, r=fitzgen
browser/themes/linux/devtools/debugger.css
browser/themes/osx/devtools/debugger.css
browser/themes/windows/devtools/debugger.css
--- a/browser/themes/linux/devtools/debugger.css
+++ b/browser/themes/linux/devtools/debugger.css
@@ -52,25 +52,27 @@
 
 .side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents > .dbg-breakpoint {
   display: none;
 }
 
 /* Black box message */
 
 #black-boxed-message {
-  padding: 100px 50px;
-  background-color: rgb(61, 69, 76);
+  /* Prevent the container deck from aquiring the height from this message. */
+  min-height: 1px;
+  background-color: rgb(61,69,76);
+  padding: 25vh 0;
   color: white;
 }
 
 #black-boxed-message-label,
 #black-boxed-message-button {
   text-align: center;
-  font-size: 150%;
+  font-size: 120%;
 }
 
 #black-boxed-message-button {
   margin-top: 1em;
   padding: .25em;
 }
 
 /* ListWidget items */
--- a/browser/themes/osx/devtools/debugger.css
+++ b/browser/themes/osx/devtools/debugger.css
@@ -54,25 +54,27 @@
 
 .side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents > .dbg-breakpoint {
   display: none;
 }
 
 /* Black box message */
 
 #black-boxed-message {
-  padding: 100px 50px;
-  background-color: rgb(61, 69, 76);
+  /* Prevent the container deck from aquiring the height from this message. */
+  min-height: 1px;
+  background-color: rgb(61,69,76);
+  padding: 25vh 0;
   color: white;
 }
 
 #black-boxed-message-label,
 #black-boxed-message-button {
   text-align: center;
-  font-size: 150%;
+  font-size: 120%;
 }
 
 #black-boxed-message-button {
   margin-top: 1em;
   padding: .25em;
 }
 
 /* ListWidget items */
--- a/browser/themes/windows/devtools/debugger.css
+++ b/browser/themes/windows/devtools/debugger.css
@@ -52,25 +52,27 @@
 
 .side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents > .dbg-breakpoint {
   display: none;
 }
 
 /* Black box message */
 
 #black-boxed-message {
-  padding: 100px 50px;
-  background-color: rgb(61, 69, 76);
+  /* Prevent the container deck from aquiring the height from this message. */
+  min-height: 1px;
+  background-color: rgb(61,69,76);
+  padding: 25vh 0;
   color: white;
 }
 
 #black-boxed-message-label,
 #black-boxed-message-button {
   text-align: center;
-  font-size: 150%;
+  font-size: 120%;
 }
 
 #black-boxed-message-button {
   margin-top: 1em;
   padding: .25em;
 }
 
 /* ListWidget items */