Skip to content

Instantly share code, notes, and snippets.

@satyr
Created March 17, 2009 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satyr/80593 to your computer and use it in GitHub Desktop.
Save satyr/80593 to your computer and use it in GitHub Desktop.
/*=skin=
@name elasty
@author satyr
@email murky.satyr@gmail.com
@homepage http://gist.github.com/80593
@h0mepage http://d.hatena.ne.jp/murky-satyr/20090319/elasty_ubiq_css
@license MIT
=/skin=*/
#fake-global-for-stylish {}
@-moz-document url(chrome://browser/content/browser.xul) {
#ubiquity-panel {
position: relative;
background-color: rgba(9%, 9%, 9%, 0.8);
width: 842px;
-moz-border-radius: 0 20px 20px 0;
}
#ubiquity-frame {}
#ubiquity-entry-container {}
#ubiquity-entry {
-moz-appearance: none; border: none;
background-color: transparent; color: #eee;
width: 97%; height: 21px;
font: bold 14px "Consolas",monospace;
margin: 1px 0 -3px 1px; padding: 0;
ime-mode: inactive;
}
#ubiquity-suggest-container {
float: left;
/* adjusting for text nodes */
padding-top: 3px;
margin-bottom: -2px;
}
#ubiquity-suggest {
-moz-appearance: none; border: none;
width: 220px; min-height: 16px; max-height: 691px;
margin-bottom: 0; padding: 0;
overflow: hidden;
}
#ubiquity-preview-container {
float: right;
}
#ubiquity-preview {
max-height: 691px !important;
overflow: hidden;
/* adjusting for text nodes */
padding-top: 3px;
margin-bottom: -2px;
}
#ubiquity-browser {
width: 620px; height: 691px;
}
#ubiquity-help {
color: #ddd;
}
#ubiquity-help > .default {
display: none;
}
#ubiquity-help > box {
display: inline;
}
}
@-moz-document url(chrome://ubiquity/content/suggest.html) {
#suggestions {
color: #eee;
font-size: 9.5pt;
margin: 0; padding: 0;
}
.suggested {
vertical-align: middle;
background-color: rgba(99%, 99%, 99%, 0.15);
min-height: 16px;
font-size: 12px; line-height: 14px;
padding-left: 17px;
cursor: pointer;
}
.suggested:hover {
background-color: rgba(99%, 99%, 99%, 0.25);
}
.suggested:first-child {
-moz-border-radius-topright: 7px;
}
.suggested:last-child {
-moz-border-radius-bottomright: 7px;
}
.suggested:not(.hilited) + .suggested:not(.hilited) {
border-top: 1px solid rgba(99%, 99%, 99%, 0.3);
}
.hilited {
background-color: rgba(99%, 99%, 99%, 0.3);
color: #fff;
}
.cmdicon {
position: absolute; left: 0;
width: 16px;
}
.cmdicon > img {
vertical-align: middle;
width: 16px; height: 16px;
}
.object, .argument {
font-weight: bold;
}
.argument {
color: #d8d8d8;
}
.needarg {
color: #ddd;
font-size: 11px;
}
.needarg:before {
content: "[";
}
.needarg:after {
content: "]";
}
.selection {
-moz-border-radius: 3px;
display: inline-block;
background-color: rgba(99%, 99%, 99%, 0.6); color: #000;
height: 14px;
font-size: 11px; font-weight: normal;
margin: 1px 0; padding: 0 1px;
}
}
@-moz-document url(chrome://ubiquity/content/preview.html) {
body {
display: inline-block;
width: 100%;
margin: 0; padding: 0;
background: none; color: #eee;
font-size: 9.5pt;
}
table { font-size: inherit }
a { text-decoration: none }
a:link { color: #cdf }
a:visited { color: #abd }
a:hover { color: #fdc }
a:active { color: #edf }
pre { white-space: pre-wrap }
pre, code, samp, kbd, button { font-family: "Consolas",monospace }
dd { margin-left: 1em }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment