Bug 712887 - Style Editor should always show the Save button on the currently edited style sheet; r=prouget
authorCedric Vivier <cedricv@neonux.com>
Thu, 22 Dec 2011 17:15:00 +0800
changeset 84715 5bbf02ceb38363f7620f84c52de4dba09a040065
parent 84714 4977e7769af83fdceaad9ccbf859392c4a1e80fd
child 84716 0453b1fd641112eb29031582bcdf2dc5b06a10b3
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersprouget
bugs712887
milestone12.0a1
Bug 712887 - Style Editor should always show the Save button on the currently edited style sheet; r=prouget
browser/devtools/styleeditor/styleeditor.css
--- a/browser/devtools/styleeditor/styleeditor.css
+++ b/browser/devtools/styleeditor/styleeditor.css
@@ -84,26 +84,28 @@ li.error > .stylesheet-info > .styleshee
   display: -moz-box;
 }
 
 .stylesheet-saveButton {
   display: none;
 }
 
 .stylesheet-rule-count,
-li:hover > hgroup > .stylesheet-more > h3 >  .stylesheet-saveButton {
+li.splitview-active > hgroup > .stylesheet-more > h3 > .stylesheet-saveButton,
+li:hover > hgroup > .stylesheet-more > h3 > .stylesheet-saveButton {
   display: -moz-box;
 }
 
 .stylesheet-more > spacer {
   -moz-box-flex: 1;
 }
 
 /* portrait mode */
 @media (max-aspect-ratio: 5/3) {
+  li.splitview-active > hgroup > .stylesheet-more > .stylesheet-rule-count,
   li:hover > hgroup > .stylesheet-more > .stylesheet-rule-count {
     display: none;
   }
 
   .stylesheet-more {
     -moz-box-flex: 1;
     -moz-box-direction: reverse;
   }