%include browser.css

/* ::::: Main Window Styling ::::: */
#navigator-toolbox:-moz-system-metric(windows-default-theme) > toolbar {
  -moz-appearance: none;
  border-style: none;
}

#print-preview-toolbar:not(:-moz-lwtheme) {
  -moz-appearance: -moz-win-browsertabbar-toolbox;
}

/* ::::: Location Bar AutoComplete Styling ::::: */

.ac-url-text:-moz-system-metric(windows-default-theme) {
  color: -moz-nativehyperlinktext;
}

/* ::::: Identity Indicator Styling ::::: */

#urlbar:-moz-locale-dir(ltr):-moz-system-metric(windows-default-theme) {
  -moz-margin-start: 9px;
}

#identity-box:-moz-locale-dir(ltr):-moz-system-metric(windows-default-theme) {
  -moz-margin-start: -7px;
}

#identity-box:-moz-locale-dir(ltr):-moz-system-metric(windows-default-theme) {
  -moz-border-radius: 11px 0 2px 11px / 15px 0 2px 15px;
}

/* Match #identity-box:-moz-locale-dir(ltr)'s -moz-margin-start */
#identity-popup:-moz-locale-dir(ltr):-moz-system-metric(windows-default-theme) {
  -moz-margin-start: 7px;
}

/* Bug 413060, comment 16: Vista Aero is a special case where we use a
   tooltip appearance for the address bar popup panels */
#identity-popup:-moz-system-metric(windows-default-theme),
#editBookmarkPanel:-moz-system-metric(windows-default-theme) {
  -moz-appearance: tooltip;
  color: InfoText;
}

/* Make the left and right paddings smaller, to compensate for the horizontal
   space added by the tooltip appearance, see bug 432529. */
#identity-popup-container:-moz-system-metric(windows-default-theme) {
  -moz-padding-start: 6px;
  -moz-padding-end: 6px;
}

#sidebar-splitter:-moz-system-metric(windows-default-theme) {
  border: 0;
  -moz-border-end: 1px solid;
  -moz-border-right-colors: #A9B7C9;
  -moz-border-left-colors: #A9B7C9;
  min-width: 0;
  width: 3px;
  background-color: transparent;
  -moz-margin-start: -3px;
  position: relative;
  z-index: 10;
}

#allTabs-panel:-moz-system-metric(windows-compositor),
#ctrlTab-panel:-moz-system-metric(windows-compositor) {
  background: transparent;
  -moz-appearance: -moz-win-glass;
  -moz-border-radius: 0;
  border: none;
  font: normal 1.2em "Segoe UI";
  color: black;
  text-shadow: white -1px -1px .5em, white -1px 1px .5em, white 1px 1px .5em, white 1px -1px .5em;
}

/* ::::: fullscreen window controls ::::: */

#window-controls {
  -moz-box-align: start;
}

#minimize-button,
#restore-button,
#close-button {
  -moz-appearance: none;
  border-style: none;
  margin: 0;
}
#close-button {
  -moz-image-region: rect(0, 49px, 16px, 32px);
}
#close-button:hover {
  -moz-image-region: rect(16px, 49px, 32px, 32px);
}
#close-button:hover:active {
  -moz-image-region: rect(32px, 49px, 48px, 32px);
}
