XPInstall API Reference

@namespace url(http://www.mozilla.org/keymaster/gat...re.is.only.xul);

/* ----------Make toolbars Look ok on Classic---------- */

  1. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox {
 -moz-appearance: toolbox !important;
 background-color: -moz-Dialog !important;
 border-top: 2px solid !important;
 -moz-border-top-colors: ThreeDShadow ThreeDHighlight !important;

}

  1. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox toolbar {
 -moz-appearance: toolbar !important;
 border-top: 2px solid !important;
 -moz-border-top-colors: ThreeDShadow ThreeDHighlight !important;

}

  1. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox #toolbar-menubar {
 border: none !important;

}

  1. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox #toolbar-menubar,
  2. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox #PersonalToolbar {
 -moz-opacity: 1 !important;

}

  1. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox #toolbar-menubar,
  2. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox #toolbar-menubar menubar,
  3. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox #nav-bar {
 -moz-appearance: toolbar !important;

}

  1. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox #toolbar-menubar {
  background: none !important;

}

  1. main-window:not(:-moz-system-metric(windows-default-theme)) #navigator-toolbox {
  background-color: -moz-Dialog !important;

}

/* ----------Fix Address Bar---------- */

  1. urlbar {
 padding-left: 1px !important;

}

/* code from kliu0x52 */

  1. urlbar:not(:-moz-system-metric(windows-default-theme)) {
  -moz-appearance: TextField ! important;

}

  1. urlbar[chromedir="ltr"]:not(:-moz-system-metric(windows-default-theme)) {
  -moz-margin-start: 4px ! important;

}

  1. urlbar[chromedir="ltr"]:not(:-moz-system-metric(windows-default-theme)) > #identity-box {
  -moz-margin-start: 0px ! important;

}

  1. urlbar[chromedir="ltr"]:not(:-moz-system-metric(windows-default-theme)) > #identity-box > hbox {
  border-left-style: none ! important;
  padding-left: 2px ! important;
  -moz-border-radius: 0px ! important;

}

.searchbar-textbox:not(:-moz-system-metric(windows-default-theme)) {

  -moz-appearance: TextField ! important;

} /* end of code from kliu0x52 */

/* ----------Remove withe background from menubar---------- */

  1. toolbar-menubar {
 background: none !important;

}

  1. main-window[sizemode="maximized"] #file-menu,
  2. main-window[sizemode="maximized"] #edit-menu,
  3. main-window[sizemode="maximized"] #view-menu,
  4. main-window[sizemode="maximized"] #history-menu,
  5. main-window[sizemode="maximized"] #bookmarksMenu,
  6. main-window[sizemode="maximized"] #tools-menu,
  7. main-window[sizemode="maximized"] #helpMenu {
 color: #ffffff !important;

}

/* ----------Make bookmarks toolbar blue---------- */

  1. PersonalToolbar:-moz-system-metric(windows-default-theme) {
 -moz-appearance: communications-toolbox !important;
 padding: 2px 2px 3px 2px !important;

}

  1. PersonalToolbar .toolbarbutton-text:-moz-system-metric(windows-default-theme) {

color: #fff !important; margin-bottom: 1px !important; }

toolbarbutton.bookmark-item:-moz-system-metric(windows-default-theme) { padding: 2px 6px !important;

Etiquetas y colaboradores del documento

 Última actualización por: Eddomita,