1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/styleeditor/styleeditor.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,108 @@ 1.4 +/* vim:set ts=2 sw=2 sts=2 et: */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +.stylesheet-error-message { 1.10 + display: none; 1.11 +} 1.12 + 1.13 +li.error > .stylesheet-info > .stylesheet-more > .stylesheet-error-message { 1.14 + display: block; 1.15 +} 1.16 + 1.17 +.splitview-nav > li, 1.18 +.stylesheet-info, 1.19 +.stylesheet-more { 1.20 + display: -moz-box; 1.21 +} 1.22 + 1.23 +.splitview-nav > li { 1.24 + -moz-box-orient: horizontal; 1.25 +} 1.26 + 1.27 +.splitview-nav > li > hgroup { 1.28 + display: -moz-box; 1.29 + -moz-box-orient: vertical; 1.30 + -moz-box-flex: 1; 1.31 +} 1.32 + 1.33 +.stylesheet-info > h1 { 1.34 + -moz-box-flex: 1; 1.35 +} 1.36 + 1.37 +.stylesheet-name > label { 1.38 + display: inline; 1.39 + cursor: pointer; 1.40 +} 1.41 + 1.42 +.splitview-nav > li > hgroup.stylesheet-info { 1.43 + -moz-box-pack: center; 1.44 +} 1.45 + 1.46 +.stylesheet-name { 1.47 + white-space: nowrap; 1.48 +} 1.49 + 1.50 +li.unsaved > hgroup > h1 > .stylesheet-name:before { 1.51 + content: "*"; 1.52 +} 1.53 + 1.54 +li.linked-file-error .stylesheet-linked-file { 1.55 + text-decoration: line-through; 1.56 +} 1.57 + 1.58 +li.linked-file-error .stylesheet-linked-file:after { 1.59 + content: " ✘"; 1.60 +} 1.61 + 1.62 +li.linked-file-error .stylesheet-rule-count { 1.63 + visibility: hidden; 1.64 +} 1.65 + 1.66 +.stylesheet-linked-file:not(:empty):before { 1.67 + content: " ↳ "; 1.68 +} 1.69 + 1.70 +.stylesheet-enabled { 1.71 + display: -moz-box; 1.72 + cursor: pointer; 1.73 +} 1.74 + 1.75 +.stylesheet-saveButton { 1.76 + display: none; 1.77 + margin-top: 0px; 1.78 + margin-bottom: 0px; 1.79 +} 1.80 + 1.81 +.stylesheet-rule-count, 1.82 +li.splitview-active > hgroup > .stylesheet-more > h3 > .stylesheet-saveButton, 1.83 +li:hover > hgroup > .stylesheet-more > h3 > .stylesheet-saveButton { 1.84 + display: -moz-box; 1.85 +} 1.86 + 1.87 +.stylesheet-more > spacer { 1.88 + -moz-box-flex: 1; 1.89 +} 1.90 + 1.91 +/* portrait mode */ 1.92 +@media (max-width: 550px) { 1.93 + li.splitview-active > hgroup > .stylesheet-more > .stylesheet-rule-count, 1.94 + li:hover > hgroup > .stylesheet-more > .stylesheet-rule-count { 1.95 + display: none; 1.96 + } 1.97 + 1.98 + .stylesheet-more { 1.99 + -moz-box-flex: 1; 1.100 + -moz-box-pack: end; 1.101 + } 1.102 + 1.103 + .splitview-nav > li > hgroup.stylesheet-info { 1.104 + -moz-box-orient: horizontal; 1.105 + -moz-box-flex: 1; 1.106 + } 1.107 + 1.108 + .stylesheet-more > spacer { 1.109 + -moz-box-flex: 0; 1.110 + } 1.111 +}