browser/devtools/styleeditor/styleeditor.css

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* vim:set ts=2 sw=2 sts=2 et: */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 .stylesheet-error-message {
michael@0 7 display: none;
michael@0 8 }
michael@0 9
michael@0 10 li.error > .stylesheet-info > .stylesheet-more > .stylesheet-error-message {
michael@0 11 display: block;
michael@0 12 }
michael@0 13
michael@0 14 .splitview-nav > li,
michael@0 15 .stylesheet-info,
michael@0 16 .stylesheet-more {
michael@0 17 display: -moz-box;
michael@0 18 }
michael@0 19
michael@0 20 .splitview-nav > li {
michael@0 21 -moz-box-orient: horizontal;
michael@0 22 }
michael@0 23
michael@0 24 .splitview-nav > li > hgroup {
michael@0 25 display: -moz-box;
michael@0 26 -moz-box-orient: vertical;
michael@0 27 -moz-box-flex: 1;
michael@0 28 }
michael@0 29
michael@0 30 .stylesheet-info > h1 {
michael@0 31 -moz-box-flex: 1;
michael@0 32 }
michael@0 33
michael@0 34 .stylesheet-name > label {
michael@0 35 display: inline;
michael@0 36 cursor: pointer;
michael@0 37 }
michael@0 38
michael@0 39 .splitview-nav > li > hgroup.stylesheet-info {
michael@0 40 -moz-box-pack: center;
michael@0 41 }
michael@0 42
michael@0 43 .stylesheet-name {
michael@0 44 white-space: nowrap;
michael@0 45 }
michael@0 46
michael@0 47 li.unsaved > hgroup > h1 > .stylesheet-name:before {
michael@0 48 content: "*";
michael@0 49 }
michael@0 50
michael@0 51 li.linked-file-error .stylesheet-linked-file {
michael@0 52 text-decoration: line-through;
michael@0 53 }
michael@0 54
michael@0 55 li.linked-file-error .stylesheet-linked-file:after {
michael@0 56 content: " ✘";
michael@0 57 }
michael@0 58
michael@0 59 li.linked-file-error .stylesheet-rule-count {
michael@0 60 visibility: hidden;
michael@0 61 }
michael@0 62
michael@0 63 .stylesheet-linked-file:not(:empty):before {
michael@0 64 content: " ↳ ";
michael@0 65 }
michael@0 66
michael@0 67 .stylesheet-enabled {
michael@0 68 display: -moz-box;
michael@0 69 cursor: pointer;
michael@0 70 }
michael@0 71
michael@0 72 .stylesheet-saveButton {
michael@0 73 display: none;
michael@0 74 margin-top: 0px;
michael@0 75 margin-bottom: 0px;
michael@0 76 }
michael@0 77
michael@0 78 .stylesheet-rule-count,
michael@0 79 li.splitview-active > hgroup > .stylesheet-more > h3 > .stylesheet-saveButton,
michael@0 80 li:hover > hgroup > .stylesheet-more > h3 > .stylesheet-saveButton {
michael@0 81 display: -moz-box;
michael@0 82 }
michael@0 83
michael@0 84 .stylesheet-more > spacer {
michael@0 85 -moz-box-flex: 1;
michael@0 86 }
michael@0 87
michael@0 88 /* portrait mode */
michael@0 89 @media (max-width: 550px) {
michael@0 90 li.splitview-active > hgroup > .stylesheet-more > .stylesheet-rule-count,
michael@0 91 li:hover > hgroup > .stylesheet-more > .stylesheet-rule-count {
michael@0 92 display: none;
michael@0 93 }
michael@0 94
michael@0 95 .stylesheet-more {
michael@0 96 -moz-box-flex: 1;
michael@0 97 -moz-box-pack: end;
michael@0 98 }
michael@0 99
michael@0 100 .splitview-nav > li > hgroup.stylesheet-info {
michael@0 101 -moz-box-orient: horizontal;
michael@0 102 -moz-box-flex: 1;
michael@0 103 }
michael@0 104
michael@0 105 .stylesheet-more > spacer {
michael@0 106 -moz-box-flex: 0;
michael@0 107 }
michael@0 108 }

mercurial