]> git.donarmstrong.com Git - dactyl.git/blob - common/skin/dactyl.css
Import 1.0rc1 supporting Firefox up to 11.*
[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 .completion-items-container {
72     overflow: hidden;
73 }
74
75 .td-span {
76     display: inline-block;
77     overflow: visible;
78     width: 0px;
79     height: 1.5em;
80     line-height: 1.5em !important;
81 }
82 .td-strut {
83     display: inline-block;
84     vertical-align: middle;
85     height: 16px;
86     width: 0px;
87 }
88
89 .times-executed, .time-average { color: green; }
90 .time-total { color: red; }
91
92 }
93
94 @-moz-document
95     url-prefix(dactyl:),
96     url-prefix(resource://dactyl) {
97
98 *:-moz-any-link {
99     color: green;
100 }
101 *:-moz-any-link:hover {
102     text-decoration: underline;
103 }
104 }
105
106 /* Applied to completion buffer, MOW, browser window */
107 @-moz-document
108     url-prefix(chrome:),
109     url-prefix(dactyl:),
110     url-prefix(resource:) {
111
112 #TabsToolbar .tab-icon-image, .tab-throbber { -moz-box-ordinal-group: 10; }
113 [dactyl|highlight~=tab-number]              { -moz-box-ordinal-group: 20; }
114 .tab-text, .tab-label, .tab-close-button    { -moz-box-ordinal-group: 50; }
115
116 [dactyl|highlight~=Bell] {
117     -moz-appearance: none !important;
118 }
119 window[dactyl|highlight~=Bell] > * {
120     opacity: 0 !important;
121 }
122
123 [dactyl|highlight~=CmdLine] {
124     color: inherit !important;
125 }
126
127 .dactyl-status-field-url {
128     color: inherit !important;
129 }
130
131 [dactyl|highlight~=CmdLine],
132 [dactyl|highlight~=CmdLine] > [dactyl|highlight~=CmdLine] {
133     padding: 0px !important;
134 }
135
136 label[collapsed=true] {
137     height: 0px;
138     width: 0px;
139 }
140
141 .dactyl-container > * {
142     font-family: inherit;
143 }
144
145 .dactyl-completions {
146     -moz-user-focus: ignore;
147     border-width: 0px !important;
148     border-top: 1px solid black !important;
149 }
150
151 /* fixes the min-height: 22px from firefox */
152 statusbarpanel {
153     -moz-appearance: none !important;
154     border: 0 !important;
155         min-height: 18px !important;
156     background: transparent;
157     text-shadow: inherit !important;
158 }
159
160 /* no longer at the window's bottom right corner */
161 .statusbar-resizerpanel {
162     display: none;
163 }
164 #statusbar-display,
165 #statusbar-progresspanel,
166 #status-bar > #statusTextBox > #statusText {
167     display: none;
168     visibility: collapse;
169 }
170
171 .dactyl-commandline-prompt {
172     /* background-color: inherit; */
173     margin: 0px;
174     padding: 0px;
175 }
176 .dactyl-commandline-command {
177     /* background-color: inherit !important; */
178     color: inherit !important;
179     margin: 0px;
180 }
181 .dactyl-commandline-command html|*:focus {
182     outline-width: 0px !important
183 }
184 .dactyl-commandline-command .textbox-search-icons {
185     visibility: collapse !important;
186 }
187 #dactyl-message {
188     margin: 0px;
189 }
190
191 #sidebar {
192     max-width: 90% !important;
193     min-width: 10% !important;
194 }
195
196 /* MOW */
197
198 #dactyl-commandline-prompt *,
199 #dactyl-commandline-command {
200     font: inherit;
201 }
202
203 /* for Teledactyl's composer */
204 #content-frame, #appcontent {
205     border: 0px;
206 }
207
208 }
209
210 /* vim: set fdm=marker sw=4 ts=4 et: */