make new dev toolbox in FF 20+ look good as well
[themes.git] / LCARStrek / browser / devtools / styleeditor.css
1 /* vim:set ts=2 sw=2 sts=2 et: */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 window:not([windowtype]) {
7   /* This does not apply to the standalone window in FF 19 and lower,
8    * only to the dev toolbox in FF 20+. */
9   padding: 0;
10 }
11
12 #style-editor-chrome {
13   background-color: #000000;
14 }
15
16 .stylesheet-title,
17 .stylesheet-name {
18   text-decoration: none;
19   color: #9C9CFF;
20 }
21
22 .stylesheet-name {
23   font-size: 13px;
24 }
25
26 .stylesheet-rule-count,
27 .stylesheet-saveButton {
28   color: #FF9F00;
29 }
30
31 .stylesheet-saveButton {
32   text-decoration: underline;
33   cursor: pointer;
34 }
35
36 .splitview-active .stylesheet-title,
37 .splitview-active .stylesheet-name {
38   color: #FFCF00;
39 }
40
41 .splitview-active .stylesheet-rule-count,
42 .splitview-active .stylesheet-saveButton {
43   color: #E7ADE7;
44 }
45
46 .splitview-nav:focus {
47   outline: 0; /* focus ring is on the stylesheet name */
48 }
49
50 .splitview-nav > li.unsaved > hgroup .stylesheet-name {
51   font-style: italic;
52 }
53
54 .splitview-nav:-moz-locale-dir(ltr) > li.unsaved > hgroup .stylesheet-name:before,
55 .splitview-nav:-moz-locale-dir(rtl) > li.unsaved > hgroup .stylesheet-name:after {
56   font-style: italic;
57 }
58
59 .stylesheet-enabled {
60   padding: 8px 0;
61   margin: 0 8px;
62   background-image: url("itemToggle.png");
63   background-repeat: no-repeat;
64   background-clip: content-box;
65   background-position: 0 8px;
66   width: 24px;
67   height: 40px;
68 }
69
70 .disabled > .stylesheet-enabled {
71   background-position: -24px 8px;
72 }
73
74 .splitview-nav > li > .stylesheet-enabled:focus,
75 .splitview-nav > li:hover > .stylesheet-enabled {
76   outline: 0;
77 }
78
79 .stylesheet-error-message {
80   color: #FF0000;
81 }
82
83 .stylesheet-more > h3 {
84   font-size: 11px;
85   -moz-margin-end: 2px;
86 }
87
88 .devtools-searchinput {
89   max-width: 25ex;
90   font-size: 11px;
91 }
92
93 .placeholder {
94   color: white;
95 }
96
97 .placeholder a {
98   text-decoration: underline;
99 }
100
101 h1,
102 h2,
103 h3 {
104   font-size: inherit;
105   font-weight: normal;
106   margin: 0;
107   padding: 0;
108 }
109
110 /* portrait mode */
111 @media (max-width: 550px) {
112   .splitview-nav {
113     box-shadow: none;
114   }
115
116   .splitview-nav > li.splitview-active {
117     background-size: 0 0, 0 0, auto;
118   }
119
120   .stylesheet-enabled {
121     padding: 0;
122     background-position: 0 0;
123     height: 24px;
124   }
125
126   .disabled > .stylesheet-enabled {
127     background-position: -24px 0;
128   }
129
130   .splitview-nav > li > hgroup.stylesheet-info {
131     -moz-box-align: baseline;
132   }
133 }