Skip to content

Instantly share code, notes, and snippets.

@code404
Created April 12, 2011 20:41
Show Gist options
  • Save code404/916354 to your computer and use it in GitHub Desktop.
Save code404/916354 to your computer and use it in GitHub Desktop.
userChrome.css: UI - UI Fix
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* ロケーションバーにフォーカス時IMEをオフにする */
#urlbar *|input {
ime-mode: inactive !important;
}
/* 検索バーの右側に履歴を出すボタンを表示
#searchbar .autocomplete-history-dropmarker {
display: -moz-box;
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
}
*/
/* 虫眼鏡アイコン非表示 */
#searchbar .search-go-button-stack,
#searchbar .search-go-button {
display: none !important;
}
/* ナビゲーションツールバーを常時表示する */
#nav-bar {
visibility:visible !important;
}
#main-window[disablechrome] #navigator-toolbox::after {
visibility: visible !important;
}
/* タブを上下縮小 */
.tabbrowser-tab {
border-radius: 10px 10px 0 0 !important;
max-height: 26px !important;
}
.tabbrowser-tab hbox {
margin-top: -2px !important;
margin-bottom: -2px !important;
}
/* タブにポインタを合わせた時、視認性を向上 */
.tabbrowser-tab:hover,
.tabbrowser-tab:hover * {
text-decoration: underline;
cursor: pointer !important;
}
/* プレースホルダー */
*|input:-moz-placeholder {
font-style: normal !important;
color: #ccc !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment