Created
March 28, 2011 01:55
-
-
Save r-plus/889870 to your computer and use it in GitHub Desktop.
[Win]Firefox4の縦幅を節約するuserChrome
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
@charset "utf-8"; | |
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
/* ナビゲーター関連全体を上に押し上げる */ | |
#main-window[chromemargin]:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) { | |
margin-top: -26px !important; | |
} | |
/* Windowsの最小化最大化終了ボタンと被らないように寄せる+微調整 */ | |
#main-window[chromemargin]:not([inFullscreen="true"]) #nav-bar:not([customizing="true"]) { | |
margin-right: 110px !important; | |
margin-left: -2px !important; | |
} | |
/* Firefoxボタンの非表示 */ | |
#main-window[chromemargin]:not([inFullscreen="true"]) #appmenu-button{ | |
display: none !important; | |
} | |
/* Firefox 4 - Feeds Icon in location bar(from http://userstyles.org/styles/38569) */ | |
/* Remove button shape and place in the location bar */ | |
#urlbar-container + #feed-button, | |
#urlbar-container + #reload-button + #stop-button + #feed-button { | |
-moz-appearance: none !important; | |
border: 0 !important; | |
background: white !important; | |
box-shadow: white -10px 0 7px -2px !important; | |
padding: 0 0 0 0px !important; | |
margin: 4px 42px 4px -60px !important; | |
position: fixed !important; | |
z-index: 1 !important; | |
} | |
#urlbar-container + #reload-button + #stop-button + #feed-button { | |
margin: 4px 64px 4px -82px !important; | |
} | |
/* Hover effect */ | |
#urlbar-container + #feed-button:not(:hover) > image, | |
#urlbar-container + #reload-button + #stop-button + #feed-button:not(:hover) > image { | |
opacity: 0.5; | |
} | |
#urlbar-container + #feed-button:not([disabled="true"]):not(:active):hover > image, | |
#urlbar-container + #reload-button + #stop-button + #feed-button:not([disabled="true"]):not(:active):hover > image { | |
-moz-transition: opacity .3s ease-in; | |
} | |
/* Hide when no feeds */ | |
#urlbar-container + #feed-button[disabled="true"], | |
#urlbar-container + #reload-button + #stop-button + #feed-button[disabled="true"] { | |
display: none !important; | |
} | |
/* Hide when showing link preview */ | |
#urlbar { | |
position: relative !important; | |
z-index: 0 !important; | |
} | |
#urlbar[overlinkstate]:not([overlinkstate="fade-out"]) { | |
z-index: 2 !important; | |
} | |
/* end */ | |
/* コンテキストメニューを整理する */ | |
#context-back, /* 戻る */ | |
#context-forward, /* 進む */ | |
#context-reload, /* 更新 */ | |
#context-stop, /* 中止 */ | |
#context-sep-stop, /* 「中止」の真下にあるセパレーター */ | |
#context-bookmarkpage, /* このページをブックマーク */ | |
#context-savepage, /* 名前を付けてページを保存... */ | |
#context-sendpage, /* ページの URL をメールで送信... */ | |
#context-openlink, /* リンクを新しいウィンドウで開く */ | |
#context-openlinkintab, /* リンクを新しいタブで開く */ | |
#context-sep-open, /* 「リンクを新しいタブで開く」の真下のセパレーター */ | |
#context-bookmarklink, /* このリンクをブックマーク */ | |
#context-sendlink, /* リンクの URL をメールで送信... */ | |
#context-sendvideo, /* 動画の URL をメールで送信... */ | |
#context-sendaudio, /* オーディオの URL をメールで送信... */ | |
#context-sendimage, /* 画像の URL をメールで送信... */ | |
#context-setDesktopBackground, /* デスクトップの背景に設定... */ | |
#context-sep-viewbgimage, /* 「背景画像だけを表示」の真上のセパレーター */ | |
#context-viewbgimage[disabled="true"], /* 「背景画像だけを表示」が無効の時 */ | |
#context-selectall, /* すべて選択 */ | |
#context-searchselect, /* ***で 検索: "~" */ | |
#context-viewpartialsource-selection, /* 選択した部分のソースを表示 */ | |
#context-keywordfield, /* この検索にキーワードを設定... */ | |
#spell-separator, /* 「スペルチェックを行う」の真上のセパレーター */ | |
#spell-check-enabled, /* スペルチェックを行う */ | |
#context-printpage, /* 印刷... */ | |
#frame-sep, /* 「このフレーム」の真上のセパレーター */ | |
#context-openframe, /* フレームを新しいウィンドウで開く */ | |
#context-printframe, /* フレームを印刷... */ | |
#context-printframe + menuseparator, /* 「フレームを印刷...」の真下のセパレーター */ | |
#context-viewframesource, /* フレームのソースを表示 */ | |
#context-viewbgimage[disabled="true"] ~ #context-sep-viewsource, /* 「背景画像だけを表示」が無効の時の「ページのソースを表示」の真上のセパレーター */ | |
#context-viewsource, /* ページのソースを表示 */ | |
#context-viewinfo, /* ページの情報を表示 */ | |
#tombloo-menu-share, /* Tomblooの「Share - ***」 */ | |
#frame[hidden="true"] ~ #context-bidi-page-direction-toggle + menuseparator /* 「このフレーム」が非表示の時のFirebugの「要素を調査」の真上のセパレーター */ { | |
display: none !important; | |
} | |
/* end */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment