Last active
October 22, 2018 20:40
-
-
Save Flashwalker/19c44f35acaa9cb4cc66cb12c597e529 to your computer and use it in GitHub Desktop.
Terminum: a skin for Ubiquity addon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
=skin= | |
@name Terminum | |
@author Flashwalker | |
@homepage https://flashwalker.bitbucket.io | |
@email flashwalker[at]freeside.ru | |
@license WTFPL2 http://wtfpl2.com/ | |
=/skin= | |
*/ | |
@-moz-document url(chrome://browser/content/browser.xul) { | |
#ubiquity-panel { | |
position: relative; | |
width: 810px; | |
padding: 0; | |
background-color: #2B2B2B; | |
} | |
#ubiquity-frame { | |
height: 555px; | |
background-color: #2B2B2B; | |
border: 1px solid #454545; | |
} | |
/* The parent of the box for entering text */ | |
#ubiquity-entry-container { | |
padding-top: 10px; | |
padding-bottom: 10px; | |
padding-left: 5px; | |
border: none; | |
background-color: transparent; | |
border-bottom: 1px solid #454545; | |
} | |
/* Where text is entered */ | |
#ubiquity-entry { | |
-moz-appearance: none; | |
background: transparent; | |
border: none; | |
font-size: 26px; | |
color: #EAEAEA; | |
width: 100%; | |
height: 32px; | |
font-family: Terminus, monospace; | |
font-weight: bold; | |
text-shadow: none; | |
} | |
::-moz-selection { | |
background: #555; | |
} | |
::selection { | |
background: #555; | |
} | |
#ubiquity-suggest-container { | |
position: absolute; | |
width: 280px; | |
height: 500px; | |
top: 56px; | |
left: 0px; | |
background-color: transparent; | |
overflow: visible; | |
border: 1px solid #454545; | |
border-top: none; | |
} | |
#ubiquity-suggest { | |
-moz-appearance: none; | |
border: none; | |
width: 300px; | |
height: 500px; | |
} | |
#ubiquity-preview-container { | |
position: absolute; | |
left: 300px; | |
top: 60px; | |
} | |
#ubiquity-preview { | |
max-height: 490px; | |
} | |
#ubiquity-browser { | |
width: 528px; | |
height: 500px; | |
/*border: 1px solid #ff0000;*/ | |
margin-left: -18px; | |
margin-top: -4px; | |
} | |
#ubiquity-help { | |
padding: 0.6em; | |
text-shadow: none; | |
font-size: 14pt; | |
color: #EAEAEA; | |
} | |
} | |
@-moz-document url(chrome://ubiquity/content/suggest.html) { | |
#suggestions { | |
width: 280px; | |
margin: 0; | |
font-family: Terminus, monospace; | |
text-shadow: none; | |
color: #EAEAEA; | |
overflow: hidden; | |
} | |
/* below are the only Parser 2 debug changes*/ | |
/* | |
.verb { | |
border-bottom: 2px blue solid; | |
} | |
.prefix { | |
border-bottom: 2px orange solid; | |
font-weight: bold; | |
} | |
.argument { | |
border-bottom: 2px orange solid; | |
} | |
.object { | |
border-bottom: 2px black solid; | |
} | |
.inactive { | |
color: #666; | |
}*/ | |
/* parser 2 update */ | |
.delimiter, .verb { | |
font-weight: bold; | |
} | |
/*end Parser 2 version additions*/ | |
.suggested { | |
padding: 0; | |
font-size: 11pt; | |
padding: 5px; | |
border: none; | |
font-family: Terminus, monospace; | |
text-shadow: none; | |
color: #EAEAEA; | |
background-color: transparent; | |
min-height: 22px; | |
overflow: hidden; | |
cursor: pointer; | |
} | |
.hilited { | |
border: none; | |
/*margin-right: -30px; | |
padding-right: 30px;*/ | |
z-index: 5000; | |
background-color: #555; | |
} | |
.cmdicon { | |
display: inline-block; | |
width: 16px; | |
margin-right: 0.3em; | |
} | |
.cmdicon img { | |
vertical-align: middle; | |
width: 16px; | |
height: 16px; | |
} | |
.needarg { | |
color: #AAA; | |
text-shadow: none; | |
font-size: 80%; | |
} | |
.needarg:before { | |
content: "("; | |
} | |
.needarg:after { | |
content: ")"; | |
} | |
.hilited .needarg { | |
color: #555; | |
font-size: 80%; | |
} | |
.selection { | |
padding: 2px; | |
border-radius: 3px; | |
display: inline-block; | |
font-variant: small-caps; | |
background-color: transparent; | |
color: #333; | |
position: relative; | |
top: -2px; | |
font-size: 8pt; | |
font-weight: normal; | |
border: none; | |
text-shadow: none; | |
} | |
} | |
/* Formatting for the Preview box */ | |
@-moz-document url(resource://ubiquity/preview.html) { | |
::-moz-selection { | |
background: #555; | |
} | |
::selection { | |
background: #555; | |
} | |
code, pre { | |
background: #1D1D1D; | |
color: #D7D7D7; | |
padding: 8px; | |
border: 1px solid #3C3C3C; | |
font: normal 12pt Terminus, monospace; | |
text-shadow: none; | |
} | |
body { | |
margin: 0; | |
padding: 5px 5px 0; | |
background-color: #2B2B2B; | |
color: #DDD; | |
font-family: Terminus, monospace; | |
text-shadow: none; | |
font-size: 11pt; | |
} | |
a { | |
color: #00AEF0; | |
text-decoration: underline; | |
cursor: pointer; | |
} | |
a:hover { | |
color: #F09700; | |
} | |
a:link { | |
color: #00AEF0; | |
} | |
a:visited { | |
color: #00AEF0; | |
} | |
a:active { | |
color: #F09700; | |
} | |
.gresult { | |
margin-bottom: 10px; | |
} | |
.gresult a { | |
font-size: 14pt; | |
} | |
.gresult-url { | |
font-size: x-small; | |
color: #00AEF0; | |
} | |
.gresult-content { | |
margin-right: 10px; | |
font-size: small; | |
} | |
.error { | |
color: #d44; | |
} | |
.default > .help:before { | |
content: "How to use:"; | |
display: block; | |
font-size: larger; | |
font-weight: bolder; | |
} | |
.search-command .list { | |
margin: 1ex 0; | |
} | |
.search-command kbd::before { | |
content: "["; | |
} | |
.search-command kbd::after { | |
content: "]"; | |
} | |
.search-command .title { | |
clear: both; | |
} | |
.search-command .thumbnail { | |
float: left; | |
margin: 5px 10px 0 0; | |
} | |
.search-command .preview { | |
margin: 0 0 0.5ex 2em; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment