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