-#bookmarks-button
- {
- list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
- }
-
-#bookmarks-button[open="true"]
- {
- list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
- }
-
-/*
- * Images for the main buttons
- */
-#back-button
- {
- list-style-image : url("chrome://navigator/skin/back.gif");
- }
-
-#back-button[disabled="true"]
- {
- list-style-image : url("chrome://navigator/skin/back-disabled.gif") !important;
- }
-
-#back-button:hover,
-#back-button[buttonover="true"],
-#back-button[buttondown="true"],
-#back-button[open="true"]
- {
- list-style-image : url("chrome://navigator/skin/back-hover.gif");
- }
-#forward-button
- {
- list-style-image : url("chrome://navigator/skin/forward.gif");
- }
-
-#forward-button[disabled="true"]
- {
- list-style-image : url("chrome://navigator/skin/forward-disabled.gif") !important;
- }
-
-#forward-button:hover,
-#forward-button[buttonover="true"],
-#forward-button[buttondown="true"],
-#forward-button[open="true"]
- {
- list-style-image : url("chrome://navigator/skin/forward-hover.gif");
- }
-
-#reload-button
- {
- list-style-image : url("chrome://navigator/skin/reload.gif");
- }
-
-#reload-button:hover,
-#reload-button:hover:active
- {
- list-style-image : url("chrome://navigator/skin/reload-hover.gif");
- }
-
- {
- list-style-image : url("chrome://navigator/skin/reload-hover-active.gif");
- }
-
-#reload-button[disabled="true"]
- {
- list-style-image : url("chrome://navigator/skin/reload-disabled.gif") !important;
- }
-
-#stop-button
- {
- list-style-image : url("chrome://navigator/skin/stop.gif");
- }
-
-#stop-button[disabled="true"]
- {
- list-style-image : url("chrome://navigator/skin/stop-disabled.gif") !important;
- }
-
-#stop-button:hover,
-#stop-button:hover:active
- {
- list-style-image : url("chrome://navigator/skin/stop-hover.gif");
- }
-
-#print-button
- {
- list-style-image : url("chrome://global/skin/print.gif");
- }
-
-#print-button[disabled="true"] {
- list-style-image : url("chrome://global/skin/print-disabled.gif") !important;
- }
-
-#print-button:hover,
-#print-button[buttonover="true"],
-#print-button[buttondown="true"],
-#print-button[open="true"]
- {
- list-style-image : url("chrome://global/skin/print-hover.gif");
- }
-
-/* Hides text below the above buttons */
-.toolbarbutton-1 > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button > .toolbarbutton-box > .toolbarbutton-text,
-.toolbarbutton-1 > .toolbarbutton-box > .toolbarbutton-text {
+#back-button:not([disabled="true"]):hover,
+#back-button:not([disabled="true"]):hover:active,
+#back-button[open="true"] {
+ -moz-image-region: rect(42px 75px 63px 50px);
+}
+
+#forward-button {
+ list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
+ -moz-image-region: rect(63px 25px 84px 0px);
+}
+
+#forward-button[disabled="true"] {
+ -moz-image-region: rect(63px 50px 84px 25px);
+}
+
+#forward-button:not([disabled="true"]):hover,
+#forward-button:not([disabled="true"]):hover:active,
+#forward-button[open="true"] {
+ -moz-image-region: rect(63px 75px 84px 50px);
+}
+
+#reload-button {
+ list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png");
+ -moz-image-region: rect(0px 25px 21px 0px);
+}
+
+#reload-button[disabled="true"] {
+ -moz-image-region: rect(0px 50px 21px 25px);
+}
+
+#reload-button:not([disabled="true"]):hover,
+#reload-button:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(0px 75px 21px 50px);
+}
+
+#stop-button {
+ list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
+ -moz-image-region: rect(21px 25px 42px 0px);
+}
+
+#stop-button[disabled="true"] {
+ -moz-image-region: rect(21px 50px 42px 25px);
+}
+
+#stop-button:not([disabled="true"]):hover,
+#stop-button:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(21px 75px 42px 50px);
+}
+
+#home-button {
+ list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
+ -moz-image-region: rect(84px 25px 105px 0px);
+}
+
+#home-button[disabled="true"] {
+ -moz-image-region: rect(84px 50px 105px 25px);
+}
+
+#home-button:not([disabled="true"]):hover,
+#home-button:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(84px 75px 105px 50px);
+}
+
+#sync-button {
+ list-style-image: url("chrome://communicator/skin/sync/sync-32.png");
+}
+
+#sync-button[status=active] {
+ list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png");
+}
+
+#clear-button {
+ list-style-image: url("chrome://global/skin/icons/close-button.gif");
+}
+
+#clear-button:hover {
+ list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+}
+
+/* ::::: small primary toolbar buttons ::::: */
+
+toolbar[iconsize="small"] > #back-button {
+ list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
+ -moz-image-region: rect(32px 16px 48px 0);
+}
+
+toolbar[iconsize="small"] > #back-button[disabled="true"] {
+ -moz-image-region: rect(32px 32px 48px 16px) !important;
+}
+
+toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(32px 48px 48px 32px);
+}
+
+toolbar[iconsize="small"] > #forward-button {
+ list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
+ -moz-image-region: rect(48px 16px 64px 0);
+}
+
+toolbar[iconsize="small"] > #forward-button[disabled="true"] {
+ -moz-image-region: rect(48px 32px 64px 16px) !important;
+}
+
+toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(48px 48px 64px 32px);
+}
+
+toolbar[iconsize="small"] > #reload-button {
+ list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png");
+ -moz-image-region: rect(0 16px 16px 0);
+}
+
+toolbar[iconsize="small"] > #reload-button[disabled="true"] {
+ -moz-image-region: rect(0 32px 16px 16px) !important;
+}
+
+toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(0 48px 16px 32px);
+}
+
+toolbar[iconsize="small"] > #stop-button {
+ list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
+ -moz-image-region: rect(16px 16px 32px 0);
+}
+
+toolbar[iconsize="small"] > #stop-button[disabled="true"] {
+ -moz-image-region: rect(16px 32px 32px 16px) !important;
+}
+
+toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(16px 48px 32px 32px);
+}
+
+toolbar[iconsize="small"] > #home-button {
+ list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
+ -moz-image-region: rect(64px 16px 80px 0);
+}
+
+toolbar[iconsize="small"] > #home-button[disabled="true"] {
+ -moz-image-region: rect(64px 32px 80px 16px) !important;
+}
+
+toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(64px 48px 80px 32px);
+}
+
+toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button,
+toolbar[iconsize="small"] > #sync-button {
+ list-style-image: url("chrome://communicator/skin/sync/sync-16.png");
+}
+
+toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active],
+toolbar[iconsize="small"] > #sync-button[status=active] {
+ list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png");
+}
+
+#FindToolbar:-moz-lwtheme {
+/* -moz-border-top-colors: transparent;
+ -moz-border-bottom-colors: transparent; */
+}
+
+/* ::::: fullscreen window controls ::::: */
+
+#window-controls {
+ -moz-box-align: center;
+ padding: 0 1px;
+ border-left: 3px solid #000000;
+ -moz-margin-start: 2px;
+}
+
+#window-controls > toolbarbutton {
+ padding: 3px;
+ -moz-padding-start: 2px;
+ -moz-padding-end: 1px;
+}
+
+toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
+ display: -moz-box;
+}
+
+#minimize-button {
+ list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
+}
+
+#minimize-button:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
+}
+
+#restore-button {
+ list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
+}
+
+#restore-button:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
+}
+
+#close-button {
+ list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
+}
+
+#close-button:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
+}
+
+/* ::::: nav-bar-inner ::::: */
+
+.nav-bar-class {
+ -moz-padding-start: 1px;
+ -moz-padding-end: 1px;
+ min-width: 0px;
+ -moz-box-align: center;
+}
+
+#urlbar {
+ border-radius: 5px;
+ margin: 0;
+ -moz-margin-start: 3px;
+ /* make color as light as possible to deal with dark non-domain parts */
+ color: #FFBFFF;
+}
+
+.urlbar-security-level {
+ border-radius: 3px 0 0 3px;
+ padding: 2px;
+}
+
+.urlbar-security-level[level="high"] {
+ background-color: #FFCF00;
+ color: #000000;
+}
+
+#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > .button-toolbar,
+#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > #urlbar > .urlbar-icons {