diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-06-25 21:42:33 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-06-25 21:42:33 -0400 |
commit | e5ceaeaadf2622f345c29d7d819fb0e81dae22b5 (patch) | |
tree | 427922b718d5bf7b4b8fd88332c3c55141e5c25a | |
parent | 53dda6f122e03e1cce654027ea7f7348c39dd2a9 (diff) | |
download | iceweasel-uxp-e5ceaeaadf2622f345c29d7d819fb0e81dae22b5.tar.gz |
move findBar.css from toolkit to local application
-rw-r--r-- | themes/linux/findBar.css | 88 | ||||
-rw-r--r-- | themes/linux/jar.mn | 2 |
2 files changed, 90 insertions, 0 deletions
diff --git a/themes/linux/findBar.css b/themes/linux/findBar.css new file mode 100644 index 0000000..e3e2ad0 --- /dev/null +++ b/themes/linux/findBar.css @@ -0,0 +1,88 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +findbar { + border-top: 2px solid; + -moz-border-top-colors: ThreeDShadow ThreeDHighlight; + padding-bottom: 1px; + min-width: 1px; + transition-property: margin-bottom, opacity, visibility; + transition-duration: 150ms, 150ms, 0s; + transition-timing-function: ease-in-out, ease-in-out, linear; +} + +findbar[hidden] { + /* Override display:none to make the transition work. */ + display: -moz-box; + visibility: collapse; + margin-bottom: -1em; + opacity: 0; + transition-delay: 0s, 0s, 150ms; +} + +/* find-next button */ + +.findbar-find-next > .toolbarbutton-icon { + -moz-appearance: button-arrow-next; +} + +/* find-previous button */ + +.findbar-find-previous > .toolbarbutton-icon { + -moz-appearance: button-arrow-previous; +} + +/* highlight button */ + +.findbar-highlight { + list-style-image: url("chrome://global/skin/icons/find.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +.findbar-highlight[disabled="true"] { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +.find-status-icon { + list-style-image: none; + margin-top: 2px; + margin-bottom: 0; + -moz-margin-start: 12px; + -moz-margin-end: 0; + width: 16px; + height: 16px; +} + +.findbar-find-status, +.findbar-matches { + margin-top: 0 !important; + margin-bottom: 0 !important; + -moz-margin-start: 3px !important; + -moz-margin-end: 0 !important; + padding: 2px !important; +} + +.find-status-icon[status="notfound"] { + list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu"); +} + +.find-status-icon[status="pending"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +.findbar-textbox[status="notfound"] { + box-shadow: 0 0 0 1em #f66 inset; + color: white; +} + +.findbar-textbox[flash="true"] { + box-shadow: 0 0 0 1em yellow inset; + color: black; +} + +.find-status-icon[status="wrapped"] { + list-style-image: url("chrome://global/skin/icons/wrap.png"); +} diff --git a/themes/linux/jar.mn b/themes/linux/jar.mn index 4cbacf6..45894f4 100644 --- a/themes/linux/jar.mn +++ b/themes/linux/jar.mn @@ -6,8 +6,10 @@ browser.jar: % skin browser classic/1.0 %skin/classic/browser/ % override chrome://global/skin/icons/warning-16.png moz-icon://stock/gtk-dialog-warning?size=menu % override chrome://global/skin/global.css chrome://browser/skin/global.css +% override chrome://global/skin/findBar.css chrome://browser/skin/findBar.css #include ../shared/jar.inc.mn * skin/classic/browser/global.css +* skin/classic/browser/findBar.css skin/classic/browser/sanitizeDialog.css skin/classic/browser/aboutSessionRestore-window-icon.png skin/classic/browser/aboutSyncTabs.css |