/* vim:set ts=2 sw=2 sts=2 et: */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Style Editor code.
- *
- * The Initial Developer of the Original Code is Mozilla Foundation.
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Cedric Vivier <cedricv@neonux.com> (original author)
- * Paul Rouget <paul@mozilla.com>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+window:not([windowtype]) {
+ /* This does not apply to the standalone window in FF 19 and lower,
+ * only to the dev toolbox in FF 20+. */
+ padding: 0;
+}
#style-editor-chrome {
background-color: #000000;
.stylesheet-title,
.stylesheet-name {
text-decoration: none;
- color: #9C9CFF;
+ color: var(--theme-highlight-blue);
}
.stylesheet-name {
}
.stylesheet-rule-count,
+.stylesheet-linked-file,
.stylesheet-saveButton {
- color: #FF9F00;
+ color: var(--theme-body-color);
}
.stylesheet-saveButton {
.splitview-active .stylesheet-title,
.splitview-active .stylesheet-name {
- color: #FFCF00;
+ color: var(--theme-highlight-lightorange);
}
.splitview-active .stylesheet-rule-count,
+.splitview-active .stylesheet-linked-file,
.splitview-active .stylesheet-saveButton {
- color: #E7ADE7;
+ color: var(--theme-highlight-pink);
}
.splitview-nav:focus {
font-style: italic;
}
+.splitview-nav.empty > p {
+ padding: 0 10px;
+}
+
+.stylesheet-sidebar {
+ max-width: 400px;
+ min-width: 100px;
+
+ border-color: #9C9CFF; /* Splitters */
+}
+
+.media-rule-label {
+ border-bottom: 1px solid #A09090; /* Grey */
+}
+
+.media-rule-label {
+ padding: 4px;
+ cursor: pointer;
+}
+
+.media-rule-line {
+ -moz-padding-start: 4px;
+}
+
+.media-condition-unmatched {
+ color: #8050B0;
+}
+
.stylesheet-enabled {
padding: 8px 0;
margin: 0 8px;
background-repeat: no-repeat;
background-clip: content-box;
background-position: 0 8px;
+ background-size: 48px 24px;
width: 24px;
height: 40px;
}
+@media (min-resolution: 2dppx) {
+ .stylesheet-enabled {
+ background-image: url("itemToggle@2x.png");
+ }
+}
+
.disabled > .stylesheet-enabled {
background-position: -24px 8px;
}
outline: 0;
}
-.stylesheet-error-message {
- color: #FF0000;
+.stylesheet-linked-file:not(:empty){
+ -moz-margin-end: 0.4em;
+}
+
+.stylesheet-linked-file:not(:empty):before {
+ -moz-margin-start: 0.4em;
+}
+
+li.linked-file-error .stylesheet-linked-file:after {
+ font-size: 110%;
}
.stylesheet-more > h3 {
font-size: 11px;
}
-.placeholder {
- color: white;
-}
-
.placeholder a {
text-decoration: underline;
}
padding: 0;
}
+@media (max-width: 700px) {
+ .stylesheet-sidebar {
+ width: 150px;
+ }
+}
+
/* portrait mode */
@media (max-width: 550px) {
.splitview-nav {
.splitview-nav > li > hgroup.stylesheet-info {
-moz-box-align: baseline;
}
+
+ .stylesheet-sidebar {
+ width: 180px;
+ }
+}
+
+.csscoverage-report {
+ background-color: var(--theme-contrastsidebar-background);
+}
+
+.csscoverage-report-container {
+ height: 100vh;
+ padding: 10px;
+}
+
+.csscoverage-report-content {
+ margin: 20px auto;
+ -moz-column-width: 300px;
+ font-size: 13px;
+}
+
+.csscoverage-report h1 {
+ font-size: 120%;
+}
+
+.csscoverage-report h2 {
+ font-size: 110%;
+}
+
+.csscoverage-report h1,
+.csscoverage-report h2,
+.csscoverage-report h3 {
+ font-weight: bold;
+ margin: 10px 0;
+}
+
+.csscoverage-list:after {
+ content: ', ';
+}
+
+.csscoverage-list:last-child:after {
+ display: none;
+}
+
+.csscoverage-report textarea {
+ width: 100%;
+ height: 100px;
+}
+
+.csscoverage-report a {
+ cursor: pointer;
+ text-decoration: underline;
+}
+
+.csscoverage-report > .csscoverage-toolbar {
+ border: none;
+ margin: 0;
+ padding: 0;
+}
+
+.csscoverage-report > .csscoverage-toolbarbutton {
+ min-width: 4em;
+ min-height: 100vh;
+ margin: 0;
+ padding: 0;
+ border-radius: 0;
+ border-top: none;
+ border-bottom: none;
+ -moz-border-start: none;
+}
+
+.chart-colored-blob[name="Used Preload"] {
+ fill: var(--theme-highlight-pink);
+ background: var(--theme-highlight-pink);;
+}
+
+.chart-colored-blob[name=Used] {
+ fill: var(--theme-highlight-green);
+ background: var(--theme-highlight-green);
+}
+
+.chart-colored-blob[name=Unused] {
+ fill: var(--theme-highlight-lightorange);
+ background: var(--theme-highlight-lightorange);
+}
+
+/* Undo 'largest' customization */
+.pie-chart-slice[largest] {
+ stroke-width: 1px;
+ stroke: rgba(0,0,0,0.2);
+}
+
+.csscoverage-report .pie-chart-slice {
+ cursor: default;
+}
+
+.csscoverage-report-chart {
+ margin: 0 50px;
}