Bug 720468 - Add an "*" at the beginning of a file name if the file needs to be saved. r=dao
authorPaul Rouget <paul@mozilla.com>
Fri, 27 Jan 2012 15:28:47 +0100
changeset 86960 832987101d50f5a535ca76fba8d0834f1b539786
parent 86959 3a02c994022dee5513a0dd68b032123e0725e70c
child 86961 39afbd62c96e7f81e3e4f1d825a3a61346390f80
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)
reviewersdao
bugs720468
milestone12.0a1
Bug 720468 - Add an "*" at the beginning of a file name if the file needs to be saved. r=dao
browser/devtools/styleeditor/styleeditor.css
--- a/browser/devtools/styleeditor/styleeditor.css
+++ b/browser/devtools/styleeditor/styleeditor.css
@@ -68,16 +68,24 @@ li.error > .stylesheet-info > .styleshee
   display: inline;
   cursor: pointer;
 }
 
 .splitview-nav > li > hgroup.stylesheet-info {
   -moz-box-pack: center;
 }
 
+.stylesheet-name {
+  white-space: nowrap;
+}
+
+li.unsaved > hgroup > h1 > .stylesheet-name:before {
+  content: "*";
+}
+
 .stylesheet-enabled {
   display: -moz-box;
 }
 
 .stylesheet-saveButton {
   display: none;
 }