Created
March 18, 2011 18:28
-
-
Save anonymous/876584 to your computer and use it in GitHub Desktop.
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 Clean | |
@author Ziga Pavlin | |
@license MPL/LGPL/GPL | |
@email: ziga.pavle@gmail.com | |
@homepage https://gist.github.com/876584 | |
@note For Chrome or Strata40 theme for Firefox. | |
=/skin=*/ | |
@-moz-document url(chrome://browser/content/browser.xul) { | |
#ubiquity-panel { | |
-moz-appearance: none; | |
position: absolute; | |
left: -1px; | |
top: -1px; | |
background: -moz-linear-gradient(top, #e8e8e8, #cfcfcf); | |
width: auto; | |
height: auto; | |
border: solid; | |
border-width: 1px; | |
border-top-color: #dfdfdf; | |
border-right-color: #545454; | |
border-bottom-color: #545454; | |
border-left-color: #878787; | |
-moz-border-radius: 0 0 7px 0; /*pri oboku sem dodal 2px!*/ | |
} | |
#ubiquity-entry { | |
-moz-appearance: none; | |
background-color: #ffffff; | |
width: 450px; | |
height: 24px; | |
-moz-box-shadow: inset 0 0 2px #9d9fa2; | |
border: solid; | |
border-width: 1px; | |
border-color: #9ea0a4; | |
-moz-border-radius: 4px 4px 0 0; | |
font-style: normal; | |
font-size: 14px; | |
color: #020202; | |
font-family: Arial, Helvetica, sans-serif; | |
text-indent: 15px; | |
margin-top: 8px; | |
margin-bottom: 0px; | |
margin-left: 20px; | |
margin-right: 25px; | |
ime-mode: inactive; | |
} | |
#ubiquity-suggest { | |
-moz-appearance: none; | |
background-color: #ededee; | |
width: 450px; | |
height: auto; | |
-moz-box-shadow: inset 0 0 5px #b6b6b6; | |
border: solid; | |
border-width: 1px; | |
border-color: #bdbdbd; | |
-moz-border-radius: 0 0 7px 0; | |
margin-top: 0px; | |
margin-bottom: 0px; | |
margin-left: 20px; | |
margin-right: 25px; | |
padding: 0; | |
overflow: hidden; | |
} | |
#ubiquity-preview-container { | |
width: 450px; | |
height: auto; | |
padding-top: 20px; | |
padding-right: auto; | |
padding-left: 25px; | |
padding-bottom:: 40px; | |
} | |
#ubiquity-preview { | |
width: 100%; | |
min-height: 0px; | |
max-height: 600px; | |
padding: 0; | |
overflow: hidden; | |
} | |
#ubiquity-browser { /*tukaj lahko dolocis velikost tistega kar se vidi=) */ | |
width: 440px; | |
height: 500px; | |
} | |
#ubiquity-help { | |
margin-left: 40px; | |
margin-top: 40px; | |
font-style: normal; | |
font-size: 14px; | |
color: #686b72; | |
font-family: Arial, Helvetica, sans-serif; | |
} | |
} | |
@-moz-document url(chrome://ubiquity/content/suggest.html) { | |
#suggestions { | |
width: auto; | |
margin: 0; | |
font-family: Geneva, Tahoma, Verdana; | |
color: red; | |
} | |
.delimiter, .verb { /*command ie. HELP, MAP, ...)*/ | |
font-weight: bold; | |
font-size: 13px; | |
} | |
.suggested { | |
padding-top: 5px; | |
padding-bottom: 5px; | |
padding-left: 30px; /*velje za ves text!*/ | |
font-style: normal; | |
font-size: 12px; | |
color: #a4a4a4; | |
font-family: Arial, Helvetica, sans-serif; | |
background-color: transparent; | |
min-height: 20px; | |
overflow: hidden; | |
cursor: pointer; | |
} | |
.hilited { /*tist okvir pod izbrano vsebino*/ | |
background-color: #dfdfdf; | |
-moz-box-shadow: inset 0 0 5px #b6b6b6; | |
font-style: normal; | |
font-size: 12px; | |
color: #5c5c5c; | |
font-family: Arial, Helvetica, sans-serif; | |
padding-left: 35px; | |
} | |
.cmdicon { | |
display: inline-block; | |
width: 16px; | |
margin-right: 0.3em; | |
} | |
.cmdicon img { | |
vertical-align: middle; | |
width: 16px; | |
height: 16px; | |
} | |
.needarg { /*opomba pri command: kao from-to */ | |
font-style: oblique; | |
color: #AAA; | |
text-shadow: none; | |
font-size: 80%; | |
} | |
.needarg:before { | |
content: "("; | |
} | |
.needarg:after { | |
content: ")"; | |
} | |
.hilited .needarg { | |
font-style: oblique; | |
color: #555; | |
font-size: 80%; | |
} | |
/*.selection { | |
padding: 2px; | |
-moz-border-radius: 3px; | |
display: inline-block; | |
font-variant: small-caps; | |
background-color: #BBB; | |
color: #333; | |
position: relative; | |
top: -2px; | |
font-size: 8pt; | |
font-weight: normal; | |
border: 1px solid #777; | |
text-shadow: none; | |
}*/ | |
} | |
/* Formatting for the Preview box */ | |
@-moz-document url(resource://ubiquity/preview.html) { | |
body { | |
margin: 0; padding: 0 0 10px; | |
background: none; color: #4d4d4f; | |
font-size: 9.5pt; | |
word-wrap: normal; | |
} | |
table { font-size: inherit } | |
a { text-decoration: none } | |
a:link { color: #4d4d4f } | |
a:visited { color: #6d6e71 } | |
a:hover { color: #000000 } | |
a:active { color: #000000 } | |
pre { white-space: pre-wrap } | |
pre, code, samp { font-family: "Consolas",monospace } | |
} | |
.gresult { | |
margin-bottom: 10px; | |
} | |
.gresult a { | |
font-size: 14pt; | |
} | |
.gresult-url { | |
font-size: x-small; | |
color: #777; | |
} | |
.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