@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-.findbar-closebutton {
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
-}
-
findbar {
border-top: 1px solid #666699;
border-bottom: 1px solid transparent;
transition-timing-function: ease-in-out, ease-in-out, linear;
}
+findbar[position="top"] {
+ transition-property: margin-top, opacity, visibility;
+}
+
findbar[hidden] {
/* Override display:none to make the transition work. */
display: -moz-box;
transition-delay: 0s, 0s, 150ms;
}
-/* find-next button */
+findbar[position="top"][hidden] {
+ margin-bottom: auto;
+ margin-top: -1em;
+}
-.findbar-find-next {
- list-style-image: url("chrome://global/skin/icons/find.png");
- -moz-image-region: rect(0px 16px 16px 0px);
+.findbar-closebutton {
+ list-style-image: url("chrome://global/skin/icons/close.png");
}
-.findbar-find-next[disabled="true"] {
- -moz-image-region: rect(16px 16px 32px 0px);
+/* Search field */
+
+.findbar-textbox {
+ width: 14em;
+}
+
+.findbar-textbox[status="notfound"] {
+ background-color: #FFC0C0;
+ color: #000000;
+}
+
+.findbar-textbox[flash="true"] {
+ background-color: #FFFFC0;
+ color: #000000;
+}
+
+.findbar-textbox.minimal {
+}
+
+/* Buttons */
+
+.findbar-find-previous,
+.findbar-find-next {
+ list-style-image: url("chrome://global/skin/icons/find-arrows.png");
}
-/* find-previous button */
+.findbar-find-previous:not([disabled]):active,
+.findbar-find-next:not([disabled]):active {
+}
.findbar-find-previous {
- list-style-image: url("chrome://global/skin/icons/find.png");
- -moz-image-region: rect(0px 32px 16px 16px);
+ -moz-image-region: rect(0, 12px, 9px, 0);
}
-.findbar-find-previous[disabled="true"] {
- -moz-image-region: rect(16px 32px 32px 16px);
+.findbar-find-next {
+ -moz-image-region: rect(0, 24px, 9px, 12px);
}
-/* highlight button */
+.findbar-find-previous,
+.findbar-find-previous:not([disabled]):active {
+}
-.findbar-highlight {
- list-style-image: url("chrome://global/skin/icons/find.png");
- -moz-image-region: rect(0px 48px 16px 32px);
+.findbar-find-previous[disabled="true"] {
+ -moz-image-region: rect(9px, 12px, 18px, 0);
}
-.findbar-higlight[disabled="true"] {
- -moz-image-region: rect(16px 48px 32px 32px);
+.findbar-find-next[disabled="true"] {
+ -moz-image-region: rect(9px, 24px, 18px, 12px);
}
-.find-status-icon {
- list-style-image: none;
- margin-top: 0px;
- margin-bottom: 0px;
- -moz-margin-start: 12px;
- -moz-margin-end: 0px;
- width: 16px;
- height: 16px;
+.findbar-find-previous > .toolbarbutton-icon,
+.findbar-find-next > .toolbarbutton-icon {
}
-.findbar-find-status {
- margin: 0 !important;
- -moz-margin-start: 3px !important;
- padding: 2px !important;
+.findbar-find-previous > .toolbarbutton-text,
+.findbar-find-next > .toolbarbutton-text {
}
-.find-status-icon[status="notfound"] {
- list-style-image: url("chrome://global/skin/icons/information-16.png");
+.findbar-find-previous[disabled="true"] > .toolbarbutton-icon,
+.findbar-find-next[disabled="true"] > .toolbarbutton-icon {
}
-.findbar-textbox[status="notfound"] {
- box-shadow: 0 0 0 1em #FFC0C0 inset;
- color: #000000;
+.findbar-highlight,
+.findbar-case-sensitive {
+ -moz-margin-start: 5px;
}
-.findbar-textbox[flash="true"] {
- box-shadow: 0 0 0 1em #FFFFC0 inset;
- color: #000000;
+.findbar-highlight > .toolbarbutton-icon,
+.findbar-case-sensitive > .toolbarbutton-icon {
+ display: none;
}
-.find-status-icon[status="wrapped"] {
- list-style-image: url("chrome://global/skin/icons/wrap.png");
+.findbar-find-status {
+ color: #808080;
+ margin: 0 !important;
+ -moz-margin-start: 12px !important;
}
.find-status-icon[status="pending"] {
-moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
cursor: default;
background-color: #999999;
+ pointer-events: auto;
+}
+
+scrollbar[root="true"] {
+ position: relative;
+ z-index: 2147483647; /* largest positive value of a signed 32-bit integer */
+}
+
+@media all and (-moz-overlay-scrollbars) {
+ scrollbar:not([active="true"]),
+ scrollbar[disabled="true"] {
+ visibility: hidden;
+ }
}
/* ::::: slider ::::: */
}
.popup-notification-icon[popupid="webapps-install"] {
- list-style-image: url("chrome://browser/skin/webapps-64.png");
+ list-style-image: url("chrome://global/skin/icons/webapps-64.png");
}
.popup-notification-icon[popupid="mixed-content-blocked"] {
}
#webapps-notification-icon {
- list-style-image: url("chrome://browser/skin/webapps-16.png");
+ list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
}
#plugins-notification-icon {
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-.findbar-closebutton {
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
-}
-
-.findbar-closebutton:hover {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
-}
-
findbar {
border-top: 3px solid #000000;
border-bottom: none;
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[position="top"] {
+ border-top: none;
+ border-bottom: 3px solid #000000;
+ transition-property: margin-top, opacity, visibility;
}
findbar[hidden] {
transition-delay: 0s, 0s, 150ms;
}
-/* find-next button */
+findbar[position="top"][hidden] {
+ margin-bottom: auto;
+ margin-top: -1em;
+}
-.findbar-find-next {
- list-style-image: url("chrome://global/skin/icons/find.png");
- -moz-image-region: rect(0px 16px 16px 0px);
+.findbar-closebutton {
+ list-style-image: url("chrome://global/skin/icons/close.png");
+ -moz-image-region: rect(0, 16px, 16px, 0);
}
-.findbar-find-next[disabled="true"] {
- -moz-image-region: rect(16px 16px 32px 0px);
+.findbar-closebutton:hover {
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+/* Search field */
+
+.findbar-textbox {
+ width: 14em;
+}
+
+.findbar-textbox[status="notfound"] {
+ background-color: #FF0000;
+ color: #000000;
+}
+
+.findbar-textbox[flash="true"] {
+ background-color: #FFCF00;
+ color: #000000;
+}
+
+.findbar-textbox.minimal {
+}
+
+/* Buttons */
+
+.findbar-find-previous,
+.findbar-find-next {
+ list-style-image: url("chrome://global/skin/icons/find-arrows.png");
}
-/* find-previous button */
+.findbar-find-previous:not([disabled]):active,
+.findbar-find-next:not([disabled]):active {
+}
.findbar-find-previous {
- list-style-image: url("chrome://global/skin/icons/find.png");
- -moz-image-region: rect(0px 32px 16px 16px);
+ -moz-image-region: rect(0, 12px, 9px, 0);
+}
+
+.findbar-find-next {
+ -moz-image-region: rect(0, 24px, 9px, 12px);
+}
+
+.findbar-find-previous,
+.findbar-find-previous:not([disabled]):active {
}
.findbar-find-previous[disabled="true"] {
- -moz-image-region: rect(16px 32px 32px 16px);
+ -moz-image-region: rect(9px, 12px, 18px, 0);
}
-/* highlight button */
+.findbar-find-next[disabled="true"] {
+ -moz-image-region: rect(9px, 24px, 18px, 12px);
+}
-.findbar-highlight {
- list-style-image: url("chrome://global/skin/icons/find.png");
- -moz-image-region: rect(0px 48px 16px 32px);
+.findbar-find-previous:not([disabled]):hover,
+.findbar-find-previous:not([disabled]):active {
+ -moz-image-region: rect(18px, 12px, 27px, 0);
}
-.findbar-higlight[disabled="true"] {
- -moz-image-region: rect(16px 48px 32px 32px);
+.findbar-find-next:not([disabled]):hover,
+.findbar-find-next:not([disabled]):active {
+ -moz-image-region: rect(18px, 24px, 27px, 12px);
}
-.find-status-icon {
- list-style-image: none;
- margin-top: 0px;
- margin-bottom: 0px;
- -moz-margin-start: 12px;
- -moz-margin-end: 0px;
- width: 16px;
- height: 16px;
+.findbar-find-previous > .toolbarbutton-icon,
+.findbar-find-next > .toolbarbutton-icon {
}
-.findbar-find-status {
- margin: 0 !important;
- -moz-margin-start: 3px !important;
- padding: 2px !important;
+.findbar-find-previous > .toolbarbutton-text,
+.findbar-find-next > .toolbarbutton-text {
}
-.find-status-icon[status="notfound"] {
- list-style-image: url("chrome://global/skin/icons/information-16.png");
+.findbar-find-previous[disabled="true"] > .toolbarbutton-icon,
+.findbar-find-next[disabled="true"] > .toolbarbutton-icon {
}
-.findbar-textbox[status="notfound"] {
- box-shadow: 0 0 0 1em #FF0000 inset;
- color: #000000;
+.findbar-highlight,
+.findbar-case-sensitive {
+ -moz-margin-start: 5px;
}
-.findbar-textbox[flash="true"] {
- box-shadow: 0 0 0 1em #FFCF00 inset;
- color: #000000;
+.findbar-highlight > .toolbarbutton-icon,
+.findbar-case-sensitive > .toolbarbutton-icon {
+ display: none;
}
-.find-status-icon[status="wrapped"] {
- list-style-image: url("chrome://global/skin/icons/wrap.png");
+.findbar-find-status {
+ color: #A09090;
+ margin: 0 !important;
+ -moz-margin-start: 12px !important;
}
.find-status-icon[status="pending"] {
cursor: default;
background-color: #000000;
border-radius: 50%;
+ pointer-events: auto;
+}
+
+scrollbar[root="true"] {
+ position: relative;
+ z-index: 2147483647; /* largest positive value of a signed 32-bit integer */
+}
+
+@media all and (-moz-overlay-scrollbars) {
+ scrollbar:not([active="true"]),
+ scrollbar[disabled="true"] {
+ visibility: hidden;
+ }
}
/* ::::: slider ::::: */