Created
April 11, 2011 13:41
-
-
Save Griever/913528 to your computer and use it in GitHub Desktop.
ページ内検索バーとアドオンバーを統合する.css
This file contains hidden or 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
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
@-moz-document url(chrome://browser/content/browser.xul) { | |
/* ページ内検索バーとアドオンバーが横に並ぶように */ | |
#browser-bottombox { | |
-moz-box-orient: horizontal !important; | |
} | |
#FindToolbar { | |
border: none !important; | |
padding: 0px !important; | |
} | |
#FindToolbar > [anonid="findbar-container"] > * { | |
margin-top: 0px !important; | |
margin-bottom: 0px !important; | |
padding-top: 0px !important; | |
padding-bottom: 0px !important; | |
} | |
#FindToolbar toolbarbutton { | |
-moz-appearance: none !important; | |
} | |
#addon-bar { | |
-moz-box-flex: 1 !important; | |
} | |
#addonbar-closebutton, | |
[anonid="find-closebutton"] | |
{ display: none !important; } | |
/* ページ内検索バーが表示されたらアドオンバーも強引に表示 */ | |
#FindToolbar:not([hidden="true"]) ~ #addon-bar { | |
visibility: visible !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment