1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-25 19:22:26 +01:00
Files
pentadactyl-pm/common/skin/dactyl.css
2011-10-04 00:43:02 -04:00

211 lines
4.4 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|modifiable][dactyl|modifiable] {
-moz-user-input: enabled !important;
}
[dactyl|highlight~=hints] {
-moz-binding: url(resource://dactyl-content/bindings.xml#hints) !important;
position: static !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);
}
[dactyl|highlight~=HelpDefault] > .td-span {
width: auto;
}
}
/* 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;
}
.completion-items-container {
overflow: hidden;
}
.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 {
color: green;
}
*:-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] {
color: inherit !important;
}
.dactyl-status-field-url {
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;
border-width: 0px !important;
border-top: 1px solid black !important;
}
/* 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,
#status-bar > #statusTextBox > #statusText {
display: none;
visibility: collapse;
}
.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-commandline-prompt *,
#dactyl-commandline-command {
font: inherit;
}
/* for Teledactyl's composer */
#content-frame, #appcontent {
border: 0px;
}
}
/* vim: set fdm=marker sw=4 ts=4 et: */