1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-25 00:22:26 +01:00
Files
pentadactyl-pm/common/skin/dactyl.css
2011-01-15 19:17:24 -05:00

226 lines
4.9 KiB
CSS

@namespace dactyl url("http://vimperator.org/namespaces/liberator");
@namespace html url("http://www.w3.org/1999/xhtml");
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Applied to all content */
[dactyl|activeframe] {
-moz-binding: url(resource://dactyl-content/bindings.xml#frame) !important;
}
[dactyl|highlight~=hints] {
-moz-binding: url(resource://dactyl-content/bindings.xml#hints) !important;
}
[dactyl|highlight~=HintImage],
[dactyl|highlight~=Hint] {
z-index: 50000;
position: absolute !important;
}
input[type=file][dactyl|highlight~=HintActive],
input[type=file][dactyl|highlight~=HintElem] {
opacity: 1 !important;
}
@-moz-document
url-prefix(dactyl:) {
[dactyl|highlight~=HelpDefault] {
-moz-binding: url(resource://dactyl-content/bindings.xml#compitem-td);
}
}
/* Applied only to completion buffer and MOW */
@-moz-document
url-prefix(dactyl:),
url-prefix(resource://dactyl) {
*:-moz-loading, *:-moz-broken { display: none !important; }
[dactyl|highlight~=Completions] {
width: 100%;
display: table;
}
[dactyl|highlight~=CompItem],
[dactyl|highlight~=CompTitle] {
display: table-row;
}
[dactyl|highlight~=Completions] > ul {
display: table-row;
}
[dactyl|highlight~=CompItem] > *,
[dactyl|highlight~=CompTitle] > * {
-moz-binding: url(resource://dactyl-content/bindings.xml#compitem-td);
display: table-cell;
vertical-align: middle;
}
[dactyl|highlight~=CompMsg] {
height: 1.5em;
line-height: 1.5em !important;
}
.td-span {
display: inline-block;
overflow: visible;
width: 0px;
height: 1.5em;
line-height: 1.5em !important;
}
.td-strut {
display: inline-block;
vertical-align: middle;
height: 16px;
width: 0px;
}
.times-executed, .time-average { color: green; }
.time-total { color: red; }
}
@-moz-document
url-prefix(dactyl:),
url-prefix(resource://dactyl) {
*:-moz-any-link:hover {
text-decoration: underline;
}
}
/* Applied to completion buffer, MOW, browser window */
@-moz-document
url-prefix(chrome:),
url-prefix(dactyl:),
url-prefix(resource:) {
#TabsToolbar .tab-icon-image, .tab-throbber { -moz-box-ordinal-group: 10; }
[dactyl|highlight~=tab-number] { -moz-box-ordinal-group: 20; }
.tab-text, .tab-label, .tab-close-button { -moz-box-ordinal-group: 50; }
[dactyl|highlight~=Bell] {
-moz-appearance: none !important;
}
window[dactyl|highlight~=Bell] > * {
opacity: 0 !important;
}
[dactyl|highlight~=CmdLine] {
/* background: inherit !important; */
color: inherit !important;
}
.dactyl-status-field-url {
/* background-color: inherit !important; */
color: inherit !important;
}
[dactyl|highlight~=CmdLine],
[dactyl|highlight~=CmdLine] > [dactyl|highlight~=CmdLine] {
padding: 0px !important;
}
label[collapsed=true] {
height: 0px;
width: 0px;
}
.dactyl-container > * {
font-family: inherit;
}
.dactyl-completions {
-moz-user-focus: ignore;
overflow: -moz-scrollbars-none !important; /* does not seem to work fully */
border-width: 0px !important;
border-top: 1px solid black !important;
/*-moz-appearance: none !important; /* prevent an ugly 3D border */
}
/* fixes the min-height: 22px from firefox */
statusbarpanel {
-moz-appearance: none !important;
border: 0 !important;
min-height: 18px !important;
background: transparent;
text-shadow: inherit !important;
}
/* no longer at the window's bottom right corner */
.statusbar-resizerpanel {
display: none;
}
#statusbar-display, #statusbar-progresspanel {
display: none;
}
.dactyl-commandline-prompt {
/* background-color: inherit; */
margin: 0px;
padding: 0px;
}
.dactyl-commandline-command {
/* background-color: inherit !important; */
color: inherit !important;
margin: 0px;
}
.dactyl-commandline-command html|*:focus {
outline-width: 0px !important
}
.dactyl-commandline-command .textbox-search-icons {
visibility: collapse !important;
}
#dactyl-message {
margin: 0px;
}
#sidebar {
max-width: 90% !important;
min-width: 10% !important;
}
/* MOW */
.dactyl-completions,
#dactyl-multiline-output,
#dactyl-multiline-input {
overflow: hidden;
background-color: white;
color: black;
}
.dactyl-completions-content,
#dactyl-multiline-output-content,
#dactyl-multiline-input {
white-space: pre;
font-family: -moz-fixed;
margin: 0px;
}
#dactyl-commandline-prompt *,
#dactyl-commandline-command {
font: inherit;
}
.dactyl-completions-content table,
#dactyl-multiline-output-content table {
white-space: inherit;
border-spacing: 0px;
}
.dactyl-completions-content td,
#dactyl-multiline-output-content td,
.dactyl-completions-content th,
#dactyl-multiline-output-content th {
padding: 0px 2px;
}
/* for Teledactyl's composer */
#content-frame, #appcontent {
border: 0px;
}
}
/* vim: set fdm=marker sw=4 ts=4 et: */