Skip to content

Instantly share code, notes, and snippets.

@yuuan
Created February 21, 2020 05:41
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 yuuan/74c30d4da6a453f1d7214d9f8e6f6c96 to your computer and use it in GitHub Desktop.
Save yuuan/74c30d4da6a453f1d7214d9f8e6f6c96 to your computer and use it in GitHub Desktop.
@charset "utf-8";
/*
* このファイルを編集して、profile-directory/chrome/userChrome.css
* としてコピーしてください。
*/
/*
* このファイルは、Mozilla のユーザインタフェース(UI) の外観をカスタマイズ
* するのに使用することができます。
* デフォルト設定の無効化宣言 !important を使用する事を忘れないでください。
*/
/*
* @namespace 行は削除しないでください - 正しく機能するために必要です。
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
/*
* 操作性を向上させる有効な例:
*/
/*
* デフォルトフォントサイズをすべて 20 ポイントにする:
*
* * {
* font-size: 20pt !important
* }
*/
/*
* デフォルトサイズの代わりに特に、メニュー項目を 15 ポイントにする:
*
* menupopup > * {
* font-size: 15pt !important
* }
*/
/*
* ロケーション (URL) バーに固定幅フォントの使用を強制する:
*
* #urlbar {
* font-family: monospace !important;
* }
*/
/*
* Throbber と不快で迷惑な動作を無効にする:
*
* #throbber-box {
* display: none !important;
* }
*/
/*
* さらに多くの事例は、 http://www.mozilla.org/unix/customizing.html
* を参照してください。
*/
/*
* サイドバーを右側に表示
*/
/*
#browser {
-moz-box-direction: reverse;
}
*/
/*
* 「リンクの URL をメールで送信」を非表示
*/
#context-sendlink {
visibility: collapse;
}
/*
* 「画像の URL をメールで送信」を非表示
*/
#context-sendimage {
visibility: collapse;
}
/*
* 「動画の URL をメールで送信」を非表示
*/
#context-sendvideo {
visibility: collapse;
}
/*
* 「オーディオの URL をメールで送信」を非表示
*/
#context-sendaudio {
visibility: collapse;
}
/*
* Cyberfoxの「ページの URL をメールで送信...」を非表示
*/
#context-sendLink {
visibility: collapse;
}
/*
* ページ内検索のテキストボックスの幅を広くする
*/
.findbar-textbox {
width: 60em !important;
}
/* タブ非表示 */
/*
.tabbrowser-tab[fadein] {
display: none !important;
}
*/
/* 新しいタブを開くボタンの非表示 (33px) */
#tabs-newtab-button {
display: none !important;
}
/*
* タイトルバーにページタイトルを表示
*/
.tabbrowser-tab[fadein]:not([selected]) {
display: none !important;
}
.tabbrowser-tab,
.tabbrowser-tab * {
pointer-events: none !important;
}
.tabbrowser-tab[fadein][selected] {
position: absolute !important;
/* left: calc(40px + 33px) !important; */
left: calc(40px) !important;
min-height: var(--tab-min-height) !important;
max-width: none !important;
width: 0 !important;
}
window[sizemode="maximized"] .tabbrowser-tab[fadein][selected] {
/* left: 33px !important; */
left: 0 !important;
}
.tab-background[fadein][selected] {
display: none !important;
}
.tab-label-container[selected] {
overflow: visible !important;
mask-image: none !important;
}
.tab-icon-image[pinned] {
margin-inline-end: 6px !important;
}
.tab-text[fadein][selected] {
max-width: calc(100% - 200px - 30%) !important;
/* color: var(--titlebar-text-color) !important; */
color: hsl(240,9%,98%) !important;
}
.tab-close-button[fadein][selected] {
display: none;
}
.tab-icon-sound[selected] {
display: none;
}
/*
* ブックマークツールバーの縦幅を広くする
*/
#PlacesToolbarItems .bookmark-item {
padding: 5px 5px 6px !important;
}
/* サイドバーヘッダの余白を狭くする */
#sidebar-header {
padding: 2px 8px !important;
}
/*
* メニュー項目のフォントをメイリオにする
*/
/*
menu, menuitem {
font-family: 'メイリオ' !important;
}
*/
/*
* ポップアップメニューの幅を広くする
*/
menupopup menu,
menupopup menuitem {
height: 26px;
}
/*
* 未読タブのタイトル文字色を変更する
*/
/*
.tabbrowser-tab[unread="true"] {
color: #6666CC !important;
}
*/
/*
* タブ復元時にまだ読み込まれていないタブを半透明化する
*/
/*
.tabbrowser-tab[pending] {
color: #666666 !important;
}
*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment