]> git.donarmstrong.com Git - dactyl.git/blob - common/skin/dactyl.css
finalize changelog for 7904
[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 :-moz-any(#addon-bar, #dactyl-addon-bar) .toolbarbutton-1 > xul|dropmarker {
172     margin-left: 0 !important;
173     margin-right: 0 !important;
174 }
175
176 #dactyl-addon-bar .toolbarbutton-1 > xul|dropmarker::after {
177     content: "▾";
178     color: white;
179     font-size: 18px;
180     line-height: 18px;
181 }
182
183 #nav-bar {
184     padding-top: 0px !important;
185     padding-bottom: 0px !important;
186 }
187
188 .dactyl-commandline-prompt {
189     /* background-color: inherit; */
190     margin: 0px;
191     padding: 0px;
192 }
193 .dactyl-commandline-command {
194     /* background-color: inherit !important; */
195     color: inherit !important;
196     margin: 0px;
197 }
198 .dactyl-commandline-command html|*:focus {
199     outline-width: 0px !important
200 }
201 .dactyl-commandline-command .textbox-search-icons {
202     visibility: collapse !important;
203 }
204 #dactyl-message {
205     margin: 0px;
206 }
207
208 #sidebar {
209     max-width: 90% !important;
210     min-width: 10% !important;
211 }
212
213 /* MOW */
214
215 #dactyl-commandline-prompt *,
216 #dactyl-commandline-command {
217     font: inherit;
218 }
219
220 /* for Teledactyl's composer */
221 #content-frame, #appcontent {
222     border: 0px;
223 }
224
225 }
226
227 @-moz-document url(chrome://browser/content/browser.xul) {
228
229 /* Fix ginormous Australis tabs. */
230 [dactyl-australis=true] xul|tab.tabbrowser-tab .tab-background > * {
231     min-height: 24px !important;
232     max-height: 24px !important;
233 }
234
235 [dactyl-australis=true] xul|tab.tabbrowser-tab
236     .tab-background > :-moz-any(.tab-background-start, .tab-background-end)::after {
237     background-size: 30px 24px !important;
238     max-height: 24px !important;
239     min-height: 24px !important;
240 }
241
242 [dactyl-australis=true] .tabbrowser-tabs {
243     min-height: 0 !important;
244 }
245
246 /* Fix stupid line... */
247 [dactyl-australis=true] #navigator-toolbox::after {
248     height: 0 !important;
249 }
250
251 #nav-bar-customization-target > .toolbarbutton-1 {
252     margin-top: -5px !important;
253     margin-bottom: -5px !important;
254 }
255
256 /*
257 #PanelUI-button,
258 #PanelUI-menu-button,
259 #nav-bar-customization-target > .toolbarbutton-1,
260 #nav-bar-customization-target > .toolbarbutton-1 > xul|toolbarbutton {
261     padding: 0 !important;
262 }
263
264 #nav-bar-customization-target > xul|toolbaritem > .toolbarbutton-1 {
265     padding-top: 0 !important;
266     padding-bottom: 0 !important;
267 }
268
269 #nav-bar-customization-target > .toolbarbutton-1,
270 #nav-bar-customization-target > .toolbarbutton-1 > xul|dropmarker > xul|image {
271     margin-top: 0 !important;
272     margin-bottom: 0 !important;
273     max-height: 24px !important;
274 }
275
276 #nav-bar-customization-target #urlbar {
277     margin-bottom: 0 !important;
278 }
279 */
280
281 }
282
283 /* vim: set fdm=marker sw=4 ts=4 et: */