]> git.donarmstrong.com Git - dactyl.git/blob - common/skin/dactyl.css
Import 1.0b7.1 supporting Firefox up to 8.*
[dactyl.git] / common / skin / dactyl.css
1 @namespace dactyl url("http://vimperator.org/namespaces/liberator");
2 @namespace html url("http://www.w3.org/1999/xhtml");
3 @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
4
5 /* Applied to all content */
6 [dactyl|activeframe] {
7     -moz-binding: url(resource://dactyl-content/bindings.xml#frame) !important;
8 }
9
10 [dactyl|modifiable][dactyl|modifiable] {
11     -moz-user-input: enabled !important;
12 }
13
14 [dactyl|highlight~=hints] {
15     -moz-binding: url(resource://dactyl-content/bindings.xml#hints) !important;
16     position: static !important;
17 }
18
19 [dactyl|highlight~=HintImage],
20 [dactyl|highlight~=Hint] {
21     z-index: 50000;
22     position: absolute !important;
23 }
24 input[type=file][dactyl|highlight~=HintActive],
25 input[type=file][dactyl|highlight~=HintElem] {
26     opacity: 1 !important;
27 }
28
29 @-moz-document
30     url-prefix(dactyl:) {
31
32 [dactyl|highlight~=HelpDefault] {
33     -moz-binding: url(resource://dactyl-content/bindings.xml#compitem-td);
34 }
35 [dactyl|highlight~=HelpDefault] > .td-span {
36     width: auto;
37 }
38
39 }
40
41 /* Applied only to completion buffer and MOW */
42 @-moz-document
43     url-prefix(dactyl:),
44     url-prefix(resource://dactyl) {
45
46 *:-moz-loading, *:-moz-broken { display: none !important; }
47
48 [dactyl|highlight~=Completions] {
49     width: 100%;
50     display: table;
51 }
52 [dactyl|highlight~=CompItem],
53 [dactyl|highlight~=CompTitle] {
54     display: table-row;
55 }
56 [dactyl|highlight~=Completions] > ul {
57     display: table-row;
58 }
59 [dactyl|highlight~=CompItem] > *,
60 [dactyl|highlight~=CompTitle] > * {
61     -moz-binding: url(resource://dactyl-content/bindings.xml#compitem-td);
62     display: table-cell;
63     vertical-align: middle;
64 }
65
66 [dactyl|highlight~=CompMsg] {
67     height: 1.5em;
68     line-height: 1.5em !important;
69 }
70
71 .td-span {
72     display: inline-block;
73     overflow: visible;
74     width: 0px;
75     height: 1.5em;
76     line-height: 1.5em !important;
77 }
78 .td-strut {
79     display: inline-block;
80     vertical-align: middle;
81     height: 16px;
82     width: 0px;
83 }
84
85 .times-executed, .time-average { color: green; }
86 .time-total { color: red; }
87
88 }
89
90 @-moz-document
91     url-prefix(dactyl:),
92     url-prefix(resource://dactyl) {
93
94 *:-moz-any-link {
95     color: green;
96 }
97 *:-moz-any-link:hover {
98     text-decoration: underline;
99 }
100 }
101
102 /* Applied to completion buffer, MOW, browser window */
103 @-moz-document
104     url-prefix(chrome:),
105     url-prefix(dactyl:),
106     url-prefix(resource:) {
107
108 #TabsToolbar .tab-icon-image, .tab-throbber { -moz-box-ordinal-group: 10; }
109 [dactyl|highlight~=tab-number]              { -moz-box-ordinal-group: 20; }
110 .tab-text, .tab-label, .tab-close-button    { -moz-box-ordinal-group: 50; }
111
112 [dactyl|highlight~=Bell] {
113     -moz-appearance: none !important;
114 }
115 window[dactyl|highlight~=Bell] > * {
116     opacity: 0 !important;
117 }
118
119 [dactyl|highlight~=CmdLine] {
120     color: inherit !important;
121 }
122
123 .dactyl-status-field-url {
124     color: inherit !important;
125 }
126
127 [dactyl|highlight~=CmdLine],
128 [dactyl|highlight~=CmdLine] > [dactyl|highlight~=CmdLine] {
129     padding: 0px !important;
130 }
131
132 label[collapsed=true] {
133     height: 0px;
134     width: 0px;
135 }
136
137 .dactyl-container > * {
138     font-family: inherit;
139 }
140
141 .dactyl-completions {
142     -moz-user-focus: ignore;
143     border-width: 0px !important;
144     border-top: 1px solid black !important;
145 }
146
147 /* fixes the min-height: 22px from firefox */
148 statusbarpanel {
149     -moz-appearance: none !important;
150     border: 0 !important;
151         min-height: 18px !important;
152     background: transparent;
153     text-shadow: inherit !important;
154 }
155
156 /* no longer at the window's bottom right corner */
157 .statusbar-resizerpanel {
158     display: none;
159 }
160 #statusbar-display,
161 #statusbar-progresspanel,
162 #status-bar > #statusTextBox > #statusText {
163     display: none;
164     visibility: collapse;
165 }
166
167 .dactyl-commandline-prompt {
168     /* background-color: inherit; */
169     margin: 0px;
170     padding: 0px;
171 }
172 .dactyl-commandline-command {
173     /* background-color: inherit !important; */
174     color: inherit !important;
175     margin: 0px;
176 }
177 .dactyl-commandline-command html|*:focus {
178     outline-width: 0px !important
179 }
180 .dactyl-commandline-command .textbox-search-icons {
181     visibility: collapse !important;
182 }
183 #dactyl-message {
184     margin: 0px;
185 }
186
187 #sidebar {
188     max-width: 90% !important;
189     min-width: 10% !important;
190 }
191
192 /* MOW */
193
194 .dactyl-completions,
195 #dactyl-multiline-output,
196 #dactyl-multiline-input {
197     background-color: white;
198     color: black;
199 }
200
201 .dactyl-completions-content,
202 #dactyl-multiline-output-content,
203 #dactyl-multiline-input {
204     white-space: pre;
205     font-family: -moz-fixed;
206     margin: 0px;
207 }
208
209 #dactyl-commandline-prompt *,
210 #dactyl-commandline-command {
211     font: inherit;
212 }
213
214 .dactyl-completions-content table,
215 #dactyl-multiline-output-content table {
216     white-space: inherit;
217     border-spacing: 0px;
218 }
219
220 .dactyl-completions-content td,
221 #dactyl-multiline-output-content td,
222 .dactyl-completions-content th,
223 #dactyl-multiline-output-content th {
224     padding: 0px 2px;
225 }
226
227 /* for Teledactyl's composer */
228 #content-frame, #appcontent {
229     border: 0px;
230 }
231
232 }
233
234 /* vim: set fdm=marker sw=4 ts=4 et: */