feed detection and some other trunk work
[themes.git] / EarlyBlue / browser / browser.css
index ca12ea51ee9e3eb610942b4ebc5423ee888ad3e9..9d56a9d5c88164733045fcbc4353ed112f1eab1d 100644 (file)
@@ -22,6 +22,8 @@
  *   Joe Hewitt (hewitt@netscape.com)
  *   Jason Kersey (kerz@netscape.com)
  *   Pierre Chanial (chanial@noos.fr)
+ *   Dean Tessman (dean_tessman@hotmail.com)
+ *   Robert Kaiser (kairo@kairo.at)
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -52,11 +54,17 @@ toolbarbutton.bookmark-item {
   min-width: 0;
   max-width: 13em;
   min-height: 20px;
+  padding: 1px;
+}
+
+toolbarbutton.bookmark-item:hover:active,
+toolbarbutton.bookmark-item[open="true"] {
+  padding: 2px 0px 0px 2px;
 }
 
 .bookmark-item > .toolbarbutton-icon {
   width: 16px;
-  height: 16px; 
+  height: 16px;
 }
 
 /* Prevent [mode="icons"] from hiding the label */
@@ -71,7 +79,7 @@ toolbarbutton.bookmark-item {
 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
   width: 32px;
   height: 32px;
-  background: url("chrome://browser/skin/Bookmarks-folder.png") no-repeat;
+  background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
 }
 
 .bookmarks-toolbar-customize {
@@ -137,27 +145,19 @@ menuitem.bookmark-item {
   list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif");
 }
 
-.groupmark-item {
-  width: 16px;
-  height: 16px;
-  margin: 0px 2px;
-  padding: 1px 3px 1px 2px;
-  list-style-image: url("chrome://browser/skin/icons/bookmark-group.gif");
-}
-
 /* ::::: primary toolbar buttons ::::: */
 
-.toolbarbutton-1 {
+.toolbarbutton-1,
+.toolbarbutton-1 > .toolbarbutton-menubutton-button {
   -moz-box-orient: vertical;
   min-width: 0px;
-  list-style-image: url("chrome://browser/skin/Toolbar.png");
 }
 
 toolbarbutton:not([disabled="true"]):hover,
 menubutton:not([disabled="true"]):hover,
 toolbarbutton:not([disabled="true"]):hover:active,
 menubutton:not([disabled="true"]):hover:active {
-  color: ButtonText !important;
+  color: #000000 !important;
 }
 
 /*
@@ -235,25 +235,17 @@ toolbar[mode="text"] .toolbarbutton-text {
 }
 
 #new-tab-button {
-  -moz-image-region: rect(0px 320px 32px 288px);
-}
-#new-tab-button:hover,
-#new-tab-button[checked="true"] {
-  -moz-image-region: rect(32px 320px 64px 288px);
+  list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
 }
 #new-tab-button[disabled="true"] {
-  -moz-image-region: rect(64px 320px 96px 288px);
+  list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
 }
 
 #new-window-button {
-  -moz-image-region: rect(0px 352px 32px 320px);
-}
-#new-window-button:hover,
-#new-window-button[checked="true"] {
-  -moz-image-region: rect(32px 352px 64px 320px);
+  list-style-image: url("chrome://browser/skin/icons/new-window.gif");
 }
 #new-window-button[disabled="true"] {
-  -moz-image-region: rect(64px 352px 96px 320px);
+  list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
 }
 
 #downloads-button {
@@ -277,13 +269,30 @@ toolbar[mode="text"] .toolbarbutton-text {
   list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
 }
 
+#cut-button {
+  list-style-image: url("chrome://browser/skin/icons/cut.gif");
+}
+#cut-button[disabled="true"] {
+  list-style-image: url("chrome://browser/skin/icons/cut-disabled.gif");
+}
 
-/* ::::: small primary toolbar buttons ::::: */
+#copy-button {
+  list-style-image: url("chrome://browser/skin/icons/copy.gif");
+}
+#copy-button[disabled="true"] {
+  list-style-image: url("chrome://browser/skin/icons/copy-disabled.gif");
+}
 
-toolbar[iconsize="small"] .toolbarbutton-1 {
-  list-style-image: url("chrome://browser/skin/Toolbar-small.png");
+#paste-button {
+  list-style-image: url("chrome://browser/skin/icons/paste.gif");
+}
+#paste-button[disabled="true"] {
+  list-style-image: url("chrome://browser/skin/icons/paste-disabled.gif");
 }
 
+
+/* ::::: small primary toolbar buttons ::::: */
+
 toolbar[iconsize="small"] #back-button {
   list-style-image: url("chrome://browser/skin/icons/back-small.gif");
 }
@@ -334,25 +343,17 @@ toolbar[iconsize="small"] #downloads-button[disabled="true"] {
 }
 
 toolbar[iconsize="small"] #new-tab-button {
-  -moz-image-region: rect(0px 200px 20px 180px);
-}
-toolbar[iconsize="small"] #new-tab-button:hover,
-toolbar[iconsize="small"] #new-tab-button[checked="true"] {
-  -moz-image-region: rect(20px 200px 40px 180px);
+  list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
 }
 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
-  -moz-image-region: rect(40px 200px 60px 180px) !important;
+  list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
 }
 
 toolbar[iconsize="small"] #new-window-button {
-  -moz-image-region: rect(0px 220px 20px 200px);
-}
-toolbar[iconsize="small"] #new-window-button:hover,
-toolbar[iconsize="small"] #new-window-button[checked="true"] {
-  -moz-image-region: rect(20px 220px 40px 200px);
+  list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
 }
 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
-  -moz-image-region: rect(40px 220px 60px 200px) !important;
+  list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
 }
 
 toolbar[iconsize="small"] #bookmarks-button {
@@ -369,24 +370,76 @@ toolbar[iconsize="small"] #history-button[disabled="true"] {
   list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
 }
 
+toolbar[iconsize="small"] #cut-button {
+  list-style-image: url("chrome://browser/skin/icons/cut-small.gif");
+}
+toolbar[iconsize="small"] #cut-button[disabled="true"] {
+  list-style-image: url("chrome://browser/skin/icons/cut-small-disabled.gif");
+}
+
+toolbar[iconsize="small"] #copy-button {
+  list-style-image: url("chrome://browser/skin/icons/copy-small.gif");
+}
+toolbar[iconsize="small"] #copy-button[disabled="true"] {
+  list-style-image: url("chrome://browser/skin/icons/copy-small-disabled.gif");
+}
+
+toolbar[iconsize="small"] #paste-button {
+  list-style-image: url("chrome://browser/skin/icons/paste-small.gif");
+}
+toolbar[iconsize="small"] #paste-button[disabled="true"] {
+  list-style-image: url("chrome://browser/skin/icons/paste-small-disabled.gif");
+}
+
+
+/* Smaller padding on small toolbar buttons */
+
+toolbar[iconsize="small"] .toolbarbutton-1 {
+  padding: 2px;
+}
+
+toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
+toolbar[iconsize="small"] .toolbarbutton-1[open="true"] {
+  padding: 3px 1px 1px 3px;
+}
+
+toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"],
+toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover,
+toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active,
+toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] {
+  padding: 2px;
+}
+
+toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
+  padding: 3px 1px 1px 3px !important;
+}
+
+toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"],
+toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover,
+toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active,
+toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"],
+toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"],
+toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover,
+toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active {
+  padding: 0;
+}
 
 /* ::::: fullscreen window controls ::::: */
 
 #window-controls {
   -moz-box-align: center;
   padding: 0 2px 0 4px;
-  border-left: 2px solid;
-  -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
+  border-left: 2px groove #CCD0DD;
 }
 
 #minimize-button {
-  list-style-image: url("chrome://navigator/skin/icons/minimize.gif");
+  list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
 }
 #restore-button {
-  list-style-image: url("chrome://navigator/skin/icons/restore.gif");
+  list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
 }
 #close-button {
-  list-style-image: url("chrome://navigator/skin/icons/close.gif");
+  list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
 }
 
 /* ::::: nav-bar-inner ::::: */
@@ -418,12 +471,12 @@ toolbar[iconsize="small"] #history-button[disabled="true"] {
 }
 
 #page-proxy-button {
-  list-style-image: url("chrome://global/skin/icons/Folder-item.png") !important;
-  -moz-image-region: rect(0px, 16px, 16px, 0px);}
+  list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
+}
 
 #page-proxy-button[pageproxystate="invalid"] {
   cursor: default;
-  -moz-image-region: rect(32px, 16px, 48px, 0px); !important;
+  list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
 }
 
 
@@ -435,56 +488,46 @@ statusbarpanel#statusbar-display {
 
 #search-proxy-button {
   margin: 2px;
-  list-style-image: url("chrome://browser/skin/Search-bar.png");
+  list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
+}
+
+#miSearchModeFind {
+  list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
 }
 
 /* ::::: autocomplete ::::: */
 
-.autocomplete-treebody:-moz-tree-cell-text(treecolAutoCompleteComment) {
-  color: #555566;
+.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
+  color: #336699;
 }
 
 /* ::::: go button ::::: */
 
 #go-button,
 #go-container {
-  -moz-appearance: none;
   background-color: transparent;
+  border: none;
   margin: 0;
   padding: 0;
   min-width: 0;
-  list-style-image: url("chrome://browser/skin/Go.png");
-  -moz-image-region: rect(0px, 20px, 20px, 0px);
+  list-style-image: url("chrome://browser/skin/icons/go.gif");
 }
 
 #go-button {
-  -moz-appearance: toolbarbutton;
-  border-width: 1px !important;
-  -moz-border-top-colors: transparent;
-  -moz-border-right-colors: transparent;
-  -moz-border-bottom-colors: transparent;
-  -moz-border-left-colors: transparent;
-  -moz-appearance: toolbarbutton;
+  border: 1px solid transparent;
 }
 
 #go-button:hover {
-  -moz-border-top-colors: ThreeDHighlight;
-  -moz-border-right-colors: ThreeDShadow;
-  -moz-border-bottom-colors: ThreeDShadow;
-  -moz-border-left-colors: ThreeDHighlight;
-  -moz-image-region: rect(0px, 40px, 20px, 20px);
+  border: 1px outset #CCD0DD;
 }
 
 #go-button:hover:active {
-  -moz-border-top-colors: ThreeDShadow;
-  -moz-border-right-colors: ThreeDHighlight;
-  -moz-border-bottom-colors: ThreeDHighlight;
-  -moz-border-left-colors: ThreeDShadow;
+  border: 1px inset #CCD0DD;
 }
 
 #go-button[disabled="true"] {
-  -moz-image-region: rect(0px, 60px, 20px, 40px);
-  border-color: transparent;
+  list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
+  border: 1px solid transparent;
 }
 
 #go-button > .button-box > .button-text {
@@ -496,7 +539,7 @@ statusbarpanel#statusbar-display {
 }
 
 #sidebar {
-  background-color: Window;
+  background-color: #CCD0DD;
 }
 
 /* ::::: content area ::::: */
@@ -510,18 +553,18 @@ statusbarpanel#statusbar-display {
 }
 
 #security-button[level="high"] {
-  list-style-image: url("chrome://browser/skin/Secure.png");
+  list-style-image: url("chrome://browser/skin/icons/secure.gif");
   display: -moz-box;
 }
 
 #security-button[level="low"] {
-  list-style-image: url("chrome://browser/skin/Secure.png");
+  list-style-image: url("chrome://browser/skin/icons/secure.gif");
   display: -moz-box;
 }
 
 #security-button[level="broken"] {
-  list-style-image: url("chrome://browser/skin/Security-broken.png");
 display: -moz-box;
+  list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
+ display: -moz-box;
 }
 
 #page-report-button {
@@ -530,14 +573,23 @@ statusbarpanel#statusbar-display {
 
 #page-report-button[blocked] {
   display: -moz-box;
-  list-style-image: url("chrome://browser/skin/Info.png");
+  list-style-image: url("chrome://browser/skin/icons/info.gif");
+  padding: 0px 3px 0px 3px;
+}
+
+#page-theme-button {
+  display: none;
+}
+
+#page-theme-button[themes] {
+  display: -moz-box;
+  list-style-image: url("chrome://browser/skin/icons/page-themes.gif");
   padding: 0px 3px 0px 3px;
 }
 
 /* ::::: throbber ::::: */
 
 #navigator-throbber {
-  -moz-appearance: none;
   -moz-user-focus: ignore;
   margin: 0 !important;
   border: none !important;
@@ -565,13 +617,13 @@ toolbar[mode="text"] #navigator-throbber[busy="true"] {
 /*
 #content .tabs-closebutton {
   list-style-image: url("chrome://browser/skin/Close-tab.png");
-  -moz-image-region: rect(0px, 20px, 16px, 0px);
+  -moz-image-region: rect(0px, 18px, 14px, 0px);
 }
 
 #content .tabs-closebutton:hover {
-  -moz-image-region: rect(0px, 40px, 16px, 20px);
-} */
-
+  -moz-image-region: rect(0px, 36px, 14px, 18px);
+}
+*/
 toolbarbutton.chevron {
   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
 }
@@ -580,3 +632,15 @@ toolbarbutton.chevron {
 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
   display: none;
 }
+
+toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
+  display: -moz-box;
+}
+
+toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
+   display: none;
+}
+
+#sidebar-throbber[loading="true"] {
+  list-style-image: url(chrome://global/skin/icons/loading.gif);
+}